body {
  padding-bottom: 20px;
}

a:hover, a:focus {
  text-decoration: none;
}

a.row.well {
  color:black;
  display: block;
}

a.well:hover {
  background-color: rgb(224, 224, 224);
}

.seven-cols .col-sm-1 {
  width: 14.285714285714285714285714285714%;
  *width: 14.285714285714285714285714285714%;
}

.clearfix:before,
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  overflow: hidden;
}
.clearfix:after {clear: both;}
.clearfix {zoom: 1;}

ul {
  list-style: none;
  padding: 0;
}

#calendar .head {
  margin-bottom: 10px;
  font-weight: bold;
}

/* Cells */
#calendar .cell {
  border: 1px solid rgb(226,226,226);
  height: 120px;
  cursor: pointer;
  position: relative;
  display: block;
}

#calendar .cell:hover,
#calendar .cell.active {
  background-color: #ededed;
}

#calendar .cell.active {
  border: 1px solid rgb(111, 111, 111);
  border-bottom: none;
  position: relative;
  top: 1px;
}

#calendar .cell img {
  width: 30px;
  border-radius: 5px;
}

#calendar ul {
  position: absolute;
  bottom: 3px;
  margin-bottom: 0;
}

#calendar li {
  float: left;
  margin-right: 5px;
  margin-bottom: 5px;
}

#calendar li:first-child {
  margin-left: 0px;
}

#calendar .row.head > div {
  border: none;
  height: initial;
}

#calendar .number {
  font-size: 1.2em;
  font-weight: normal;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  margin-top: 15px;
  margin-right: 15px;
  float: right;
}

#month {
  padding-bottom: 20px;
}

#logo {
  position: absolute;
  top: 220px;
  width: 170px;
  left: 30px;
}

#logout .dropdown {
  position: relative;
}

#profil-pic {
  position: absolute;
  width: 42px;
  border-radius: 5px;
  top: 4px;
  left: -40px;
}

.profil-pic {padding: 0;padding-left: 10px;}

#comments .panel-body { padding:0px; }
#comments .list-group { margin-bottom: 0; }
#comments .panel-title { display:inline }
#comments .label-info { float: right; }
#comments li.list-group-item {border-radius: 0;border: 0;border-top: 1px solid #ddd;}
#comments li.list-group-item:hover { background-color: rgba(86,61,124,.1); }
#comments .mic-info { color: #666666;font-size: 11px; }
#comments .action { margin-top:5px; }
#comments .btn-block { border-top-left-radius:0px;border-top-right-radius:0px; }
#comments textarea {height: 70px;}

.table .icon {
  width: 45px;
  text-align: center;
}

.depart.panel-title {
  float: left;
  padding: 8px 0px;
  margin-right: 10px;
}

.mobile {
  display: none;
}

#introduction {
  max-width: 800px;
  margin: auto;
  padding: 0 10px;
  display: none;
}

#facebook-share {
  position: absolute;
  left: 72px;
  top: 72px;
}

#calendar .cell.today {
  background-color: #D2ECF9;
}

#calendar .cell.deactivate {
  background-color: rgba(128, 128, 128, 0.3);
}

.well {
  margin: 10px 0px;
}

.border-right {
  border-right: 1px solid rgb(111,111,111);
  padding-bottom: 500em!important;
  margin-bottom: -500em!important;
}

#ride-page h1 {
  font-size: 30px;
}

#ride-page h2 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 30px;
}

#month .next {
  display: none;
  font-size: 16px;
  margin-left: 20px;
}

#month .prev {
  display: none;
  font-size: 16px;
  margin-right: 20px;
}

#from-wrapper {
  pointer-events: none;
}

#from-wrapper.active {
  pointer-events: all;
  opacity: 1;
}

.blue-wrapper {
  opacity: 0;
  background-color: #428BCA;
  color: white;
  -webkit-transition: opacity linear 0.4s;
  -moz-transition: opacity linear 0.4s;
  -o-transition: opacity linear 0.4s;
  transition: opacity linear 0.4s;
}

.has-error {
  background-color: rgba(169, 68, 66, 0.25);
}

#depart-time-wrapper.active {
  opacity: 1;
}

#aeroport-info-wrapper {
  display: none;
}

#aeroport-info-wrapper.active {
  display: block;
}

.form-group {
  padding: 10px;
  padding-top: 4px;
}

.rides .row.even {
  background-color: #ccc;
}

.rides .row .col-sm-6 {
  padding-left: 25px;
  padding-right: 25px;
}

.col-centered {
  float: none;
  margin: 0 auto;
}

/* Ride card */

.ride-card {
  display: block;
  margin: 3px 0;
  padding: 15px 20px;
}

.ride-card.trashed {
  background-color: #a94442;
}

.ride-card .comment-text {
  line-height: 30px;
  color: black;
}

.ride-card img {
  width: 30px;
  border-radius: 5px;
  float: left;
  margin-right: 10px;
}

.ride-card .message {
  display: none;
}

.ride-card .direction {
  font-weight: bold;
  color: black;
  margin-bottom: 10px;
}

.ride-popup {
  position: fixed;
  top: 100%;
  width: 100%;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  height: 100%;
  -webkit-transition: top linear 0.2s;
  -moz-transition: top linear 0.2s;
  -o-transition: top linear 0.2s;
  transition: top linear 0.2s;
}

.ride-popup.active {
  top: 0;
}

.ride-popup.active.appear {
  opacity: 1;
}

.ride-popup .content {
  width: 380px;
  background-color: white;
  padding: 20px 30px;
  border-radius: 10px;
  max-height: 95%;
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
  transform: translate(-50%,-50%);
  position: absolute;
  top: 50%;
  left: 50%;
}

.rides {
  display: none;
}

.ride-popup .rides {
  display: block;
}

.ride-popup .rides h3 {
  padding-bottom: 10px;
}

.ride-popup .rides .message {
  display: none;
}

.ride-popup .rides .comment-text p {
  margin-bottom: 0;
}

.ride-popup .rides .date {
  font-weight: bold;
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
}

.ride-popup .btn {
  display: block;
  margin-bottom: 10px;
}

#month-selector, #city-selector {
  -webkit-appearance: menulist-button;
  height: 40px;
  background-color: transparent;
  cursor: pointer;
  display: block;
  margin: auto;
  border: 1px solid;
}

#month-selector:focus, #city-selector:focus {
  outline: 0;
}

#city-selector {
  margin-top: 15px;
}

.my-rides {
  width: 400px;
  margin: auto;
  max-width: 100%;
}

.my-rides .ride {
  margin-top: 20px;
}

#my-rides-page h1 {
  font-size: 26px;
}

#ikea {
  display: block;
  position: absolute;
  right: 25px;
  width: 215px;
  top: 80px;
}

#ikea img {
  max-width: 100%;
}

#ikea div {
  margin-bottom: 3px;
}

#komida {
  background-color: #2268ac;
  display: block;
  text-decoration: none;
  color: white;
  padding-bottom: 10px;
  position: relative;
}
#komida .moving-logo {
  width: 130px;
  position: absolute;
  top: 0px;
  left: -200%;
  transition: left 0.5s ease-in-out;
  right: 0;
  margin: auto;
  bottom: 0;
}
#komida .text {
  text-align: center;
  font-weight: bold;
  font-size: 42px;
  position: relative;
}
#komida .slogan {
  opacity: 1;
}
#komida .app-name {
  font-style: italic;
  position: absolute;
  top: 0px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-out 0.5s;
}
#komida .btn {
  color: white;
  background-color: transparent;
  border: 1px solid white;
  border-radius: 10px;
  padding: 10px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  width: 190px;
  margin: auto;
  font-size: 15px;
  display: block;
}
#komida .btn:hover {
  background-color: white;
  color: #2268ac;
}
#komida.active .moving-logo {
  left: -368px;
}
#komida.active .slogan {
  opacity: 0;
}
#komida.active .app-name {
  opacity: 1;
}
#komida.active .static-logo {
  opacity: 1;
}

/* Mobile */

@media only screen and (max-width: 780px) {

  .seven-cols .col-sm-1 {
    width: 100%;
    *width: 100%;
  }

  #month {
    margin-top: 5px;
  }

  #month a {
    display: block;
    margin: 15px;
  }

  #calendar .head {
    display: none;
  }

  #calendar .cell.deactivate {
    display: none;
  }

  #logo {
    position: static;
    margin: auto;
    display: block;
    width: 85px;
  }

  .mobile {
    display: initial;
  }

  .profil-pic {
    padding: 0;
    padding-left: 10px;
    float: left;
    margin-right: 10px;
  }

  #calendar .cell.mobile-hide {
    display: none;
  }

  #facebook-share {
    display: none;
  }

  .navbar {
    margin-bottom: 5px;
  }

  .no-mobile {
    display: none;
  }

  #calendar .cell {
    height: 80px;
  }

  .ride-card {
    padding: 15px 10px;
  }

  .ride-popup .content {
    height: 100%;
    width: 316px;
    padding: 14px 8px;
    max-height: 100%;
    width: 100%;
    border-radius: 0;
    padding-top: 65px;
  }

  #month-selector, #city-selector {
    width: 100%;
    font-size: 20px;
  }

  .close-popup .btn {
    position: absolute;
    top: 18px;
    width: 100px;
    z-index: 100;
    left: 0;
    right: 0;
    margin: auto;
  }

  #ride-page h1 i {
    display: block;
  }

  #ride-page h1 i:before {
    content: "\f063";
  }

  #ride-page h1 {
    font-size: 23px;
    margin-top: 10px;
  }

  #ride-page h2 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #428bca;
  }

  #ride-page h2 a, #ride-page h4 a {
    display: block;
    margin-top: 8px;
  }

  .breadcrumb {
    display: none;
  }

  #ikea {
    display: block;
    position: static;
    width: 150px;
    margin: auto;
    margin-bottom: 20px;
  }

  #komida {
    padding-top: 4px;
  }

  #komida .text {
    font-size: 20px;
  }

  #komida .btn {
    width: 115px;
    font-size: 10px;
    padding: 7px;
    margin-top: 5px;
  }

  #komida .moving-logo {
    width: 85px;
  }

  #komida.active .moving-logo {
    left: -225px;
  }

}
