/*
  Font

  1em = 16px
*/
@font-face {
  font-family: 'BebasNeueRegular';
  src: url('/fonts/bebas-neue/BebasNeue-webfont.eot');
  src: url('/fonts/bebas-neue/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/bebas-neue/BebasNeue-webfont.woff') format('woff'), url('/fonts/bebas-neue/BebasNeue-webfont.ttf') format('truetype'), url('/fonts/bebas-neue/BebasNeue-webfont.svg#BebasNeueRegular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-size: 62.5%
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  font-size: 16px;
}

.clear {
  clear: both;
}

header {
  background-color: #006B83;
  color: white;
  display: block;
  height: 3.75em;
  width: 100%;
}


a, a:visited {
  text-decoration: none;
  color: inherit;
}

a.input-submit {
  color: #ffffff;
  height: 1.25em;
  height: inherit;
  width: inherit;
}

.content, .inner-content {
  height: inherit;
  margin: 0 auto;
  max-width: 900px;
  width: 95%;
  padding-left: 0.625em;
}


h1 {
  font-weight: 300;
  font-size: 2.625em;
}

h1 strong {
  font-weight: 600;
}

h2 {
  font-size: 1.8em;
  font-weight: 300;
}

.flights-search-form {
  width: 100%;
}

.selector {
  background: url(/images/icon-select-arrow.png) no-repeat 97% 1.3em;
  border: 1px solid #CCCCCC;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
  font-weight: normal;
  overflow: hidden;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;

  padding: 10px;
  padding-left: 15px;
  font-size: 16px;
  margin-right: 5px;
  margin-top: 10px;
  appearance: none;
}

.selector.focus, .selector:hover {
  border: 1px solid #FF9A00;
}

.selector span {
  background: url(/images/icon-select-arrow.png) no-repeat right center;
  display: block;
  height: 2em;
  line-height: 2em;
  width: 100%;
}

.selector select {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  height: 50px;
  left: 9px;
  opacity: 0;
  position: absolute;
  top: 2px;
  width: 100%;
}

.selector select:focus {
  outline: 0;
}

.styled-select, .input-date {
  display: block;
  margin-right: 1.1%;
  width: 35.5%;
  float: left;
}

.styled-select-passengers {
  display: block;
  float: left;
  width: 22.2%;
}

.airports, .islands,
.passengers {
  width: 100%;
  height: 54px;
  font-size: 1em;
}

.datepicker {
  background: url(/images/icon-calendar.png) no-repeat 97% 0.375em white;
  cursor: pointer;
  font-weight: normal;
}

.input-date, .input-submit, .input-text {
  display: block;
  width: 35.6%;
  border: 1px solid #CCCCCC;
  padding: 0.7em 1em 0.625em 1em;
  font-size: 1em;
  margin: 0.625em 1.1% 0 0;
  height: 3.125em;
  box-sizing: border-box;
}

.input-text {
  width: 100%;
}

.input-date {
  background: url(/images/icon-calendar.png) no-repeat 97% 0.8em #f8f8f8;
}

input[type="text"]:hover {
  cursor: pointer;
  border: 1px solid #FF9A00;
}

.input-submit {
  display: block;
  float: left;
  width: 22.2%;
  background-color: #FF9A00;
  border: 1px solid #C17400;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
}

.input-submit.signin, .recover, .cancel {
  width: auto;
}

.sign-notes {
  display: block;
  padding-top: 1em;
}

.login-with-email {
  width: 50%;
}

.recover-email {
  width: 41.5%;
}

.input-submit:hover {
  background-color: #E98C00;
}

.empty-leg-submit {
  white-space: nowrap;
}

table.empty-leg {
  width: 100%;
}

table.empty-leg th,
table.empty-leg td {
  width: 12.5%;
  font-size: 1em;
}

.images-wrap {
  width: 100%;
}

.images-wrap img {
  width: 100%;
}

#itinerary_sort_form .styled-select {
  width: auto;
  margin-right: 1%;
}

#itinerary_sort_form .styled-select input {
  width: 48.5%;
}

.itineraries-search-footer {
  width: 100%;
  float: left;
  margin-bottom: 2em;
}

.itineraries-search-footer span {
  padding-top: 1.5em;
  margin-right: 1.5em;
  float: left;
}

@media (max-width: 907px) {
  header {
    height: 3.8em;
  }

  body {
    font-size: 0.875em;
  }
}

@media (max-width: 700px) {
  header {
    height: 3.4em;
  }

  body {
    font-size: 0.9em;
  }

  table.empty-leg th,
  table.empty-leg td {
    font-size: 0.7em;
  }

  .input-date {
    background: url('../../../images/mobile-calendar.ico') no-repeat 98% center;
  }
}

@media (max-width: 675px) {
  header {
    height: 3.4em;
  }

  body {
    font-size: 0.7em;
  }

  h1 {
    font-size: 1.8em
  }


  .input-submit {
    width: auto;
  }

  .styled-select, .styled-select-passengers,
  .input-date {
    width: 100%;
  }

  .input-date, .input-submit {
    height: 3.6em;
    width: 100%;
  }

  .input-text {
    width: 180%;
    padding: 0.2em;
    height: 2.5em;
    font-size: 0.9em;
  }

  .input-text.recover-email {
    width: 100%;
  }

  .empty-leg-submit {
    width: 59%;
    text-align: center;
  }

  table.empty-leg th,
  table.empty-leg td {
    font-size: 0.5em;
  }
}

@media (max-width: 500px) {
  header {
    height: 2.9em;
  }

  body {
    font-size: 0.7em;
  }

  h1 {
    font-size: 1.6em
  }

  .signin, .recover, .cancel {
    font-size: 0.7em;
  }
}

.amenity-list {
  list-style: none;
  padding: 0;
}

.amenity-list li {
  display: block;
  float: left;
  margin-right: 10px;
  width: 20%;
}

.amenity-list li:before {
  content: "• ";
  color: #56AFB0;
}

.checkin-time, .checkout-time {
  color: #56AFB0;
  font-weight: bold;
  padding-right: 5px;
}

.checkout-time {
  margin-left: 40px;
}

.deal {
  cursor: pointer;
}

.error {
  background: #FCFACF;
  border: 2px solid #faa61a;
  padding: 10px;
  font-size: 20px;
  margin-top: 5px;
}


form table td {
  padding-right: 20px;
}

.grey-wrapper {
  background-color: #f8f8f8;
  padding-top: 5px;
  padding-bottom: 40px;
  margin-top: 5px;
}

.grid {
  background-color: #ffffff;
}

.grid .grid-cell {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  padding-bottom: 10px;
  position: relative;
}

.grid .grid-cell img {
  width: 285px;
  height: 190px;
}

.grid-label {
  background-color: #006B83;
  margin-top: 2px;
}

.grid-label-inner {
  padding: 10px;
}

.grid-label-inner:hover {
  background-color: rgba(255,255,255,0.3);
}

.grid-label-title {
  color: #ffffff;
  text-transform: uppercase;
}

.grid-label-sub-title {
  color: #ffffff;
  padding-top: 5px;
}

hgroup.deal, hgroup.no-deal {
  background: #EAF7F8;
  border-top: 1px solid #D1EAED;
  border-bottom: 1px solid #D1EAED;
  display: block;
  float: left;
  margin: 20px 0 20px 0;
  padding: 10px;
  width: 100%;
}

hgroup.deal h3, hgroup.no-deal h3 {
  bottom: 0;
  color: #5AAFAF;
  display: block;
  float: left;
  margin: 0 15px 0 0;
  padding: 0;
  cursor: pointer;
}

hgroup.deal h4, hgroup.no-deal h4 {
  bottom: -4px;
  display: block;
  float: left;
  font-size: 19px;
  position: relative;
  cursor: pointer;
}

.highlight, a.highlight, a.highlight:visited {
  color: #006B83;
  font-weight: 400;
}

.hotel-images {
  margin-bottom: 15px;
  float: left;
  margin-right: 20px;
  position: relative;
  width: 460px;
}

.hotel-social-plugins {
  float: right;
}

.hotel-facepile {
  border: 1px solid #56AEAF;
  margin-top: 10px;
  padding: 10px;
}

hr.no-line {
  border: none;
  height: 20px;
}

.inner-content {
  background-color: #ffffff;
  padding-top: 10px;
  padding-bottom: 20px;
  margin-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
}

input.input_field_error, .input_field_error div {
  border: 2px solid #faa61a;
}

.price {
  background: #FF9A00;
  border: 2px solid #FFF;
  border-top: none;
  border-right: none;
  color: #FFF;
  font-size: 20px;
  height: 45px;
  line-height: 100%;
  padding: 5px 0 0 6px;
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
}

.price span {
  display: block;
  font-size: 14px;
  margin-bottom: -3px;
}

.pull-right {
  float: right;
}

.ratings {
  border: 1px solid #56AEAF;
  overflow: hidden;
  height: 325px;
  width: 240px;
}

.slider-large .price {
  background: #FF9A00;
  border: 3px solid #FFF;
  border-top: none;
  border-right: none;
  color: #FFF;
  font-family: "bebas", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 22px;
  height: 55px;
  line-height: 100%;
  padding: 7px 9px;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  z-index: 1;
}

.slider-large .price span {
  display: block;
  font-size: 16px;
  margin-bottom: -3px;
}

.slider-large .image-wrap {
  height: 306px;
  overflow: hidden;
  width: 460px;
}

.slider-large img {
  height: auto;
  width: 100%;
}

.slider {
  float: left;
  height: 100px;
}

.slider .viewport {
  float: left;
  height: 300px;
  margin: 0 3px;
  overflow: hidden;
  width: 210px;
}

.slider ul {
  list-style: none;
  padding: 0;
  position: relative;
}

.slider li {
  background: #222;
  border: 1px solid #56AEAF;
  cursor: pointer;
  display: block;
  float: left;
  height: 96px;
  margin: 0px 5px 5px 0px;
  overflow: hidden;
  width: 100px;
}

.slider li:hover {
  border: 1px solid #666;
}

.slider li:hover img {
    opacity: 1;
}

.slider li img {
  height: 100%;
  max-width: 500%;
  opacity: .7;
  -webkit-transition: all .1s ease-in;
  -moz-transition: all .1s ease-in;
  -o-transition: all .1s ease-in;
  transition: all .1s ease-in;
}

.slider li img.active {
  opacity: 1;
}

.slider span {
  background: url(/images/icon-slider-arrows.png) no-repeat 0 center #56afb0;
  border: 1px solid #3A7C7E;
  cursor: pointer;
  display: block;
  float: left;
  height: 60px;
  width: 17px;
  -webkit-transition: all .1s ease-in;
  -moz-transition: all .1s ease-in;
  -o-transition: all .1s ease-in;
  transition: all .1s ease-in;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.slider span:hover {
  background-color: #479494;
}

.slider span.next {
  background-position: -35px center;
}

.slider span.disable {
  cursor: auto;
  position: relative;
  opacity: .3;
  z-index: -1;
}

.slider span.disable:after {
  content: "";
  display: block;
  height: 60px;
  left: 0;
  position: absolute;
  top: 0;
  width: 15px;
}

.sort-itineraries {
  width: 200px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.table {
  margin-top: 20px;
}

.table th {
  padding: 10px;
  background: #006B83;
  border-top: 1px solid #CDECED;
  border-bottom: 1px solid #FFF;
  color: #fff;
  font-family: arial, sans-serif;
  text-align: left;
  padding-left: 8px;
  font-weight: normal;
}

.table td {
  padding: 8px;
  border-top: 1px solid #CDECED;
  border-right: 1px solid #CDECED;
  font-size: 14px;
  font-weight: 300;
}

.table tr:nth-child(even) {
  background: #EAF7F8;
}

.table tr:hover {
  background: #FF9A00;
  color: #fff;
}

.ui-datepicker {
  background: #fff;
  color: #529F9F;
  text-transform: uppercase;
  -webkit-box-shadow: 0 0 7px 0 #aaaaaa;
  -moz-box-shadow: 0 0 7px 0 #aaaaaa;
  box-shadow: 0 0 7px 0 #aaaaaa;
}

.ui-datepicker-title {
  border: 1px solid #C9EAED;
  border-bottom: none;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 0;
  text-align: center;
}

.ui-datepicker-prev, .ui-datepicker-next {
  background: url(/images/icon-calendar-arrows.png) no-repeat -2px -4px;
  cursor: pointer;
  display: block;
  float: left;
  height: 13px;
  margin: 10px 0 0 5px;
  text-indent: -999em;
  width: 11px;
}

.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
  left: -1px;
  position: relative;
}

.ui-datepicker-next {
  background-position: -18px -4px;
  float: right;
  margin: 10px 5px 0 0;
}

.ui-datepicker-next:hover {
  left: 1px;
}

.ui-datepicker-calendar {
  text-align: center;
}

.ui-datepicker-calendar th {
  border: 1px solid #C9EAED;
  color: #99CDCD;
  font-size: 11px;
  padding: 2px 6px;
}

.ui-datepicker-calendar td {
  border: 1px solid #C9EAED;
  cursor: pointer;
  padding: 3px 7px;
}

.ui-datepicker-calendar td:hover {
  background: #55ADAE;
}

.ui-datepicker-calendar td:hover a {
  color: #fff;
}

.ui-datepicker-calendar td.ui-datepicker-unselectable {
  color: #ccc;
}

.ui-datepicker-calendar td.ui-datepicker-unselectable:hover {
  background: #fff;
  cursor: auto;
}

.ui-datepicker-calendar td.ui-datepicker-unselectable a {
  display: none;
}

.ui-datepicker-calendar td a {
  color: #529F9F;
  font-size: 12px;
  font-weight: bold;
}

.ui-datepicker-calendar td a.ui-priority-secondary {
  color: #CCCCCC;
  font-size: 12px;
  font-weight: normal;
}

.warn {
  background: #FCFACF;
  border: none;
  border-bottom: 1px solid #f8f8f8;
  display: block;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 15px;
}

.warn span {
  font-weight: bold;
  text-transform: uppercase;
}

.advertising_wrap {
  width: 960px;
  margin: 0 auto;
}

.advertising_wrap ul {
  list-style: none;
  padding-left: 0;
}

.advertising_wrap label {
  display: inline-block;
  width: 100px;
}

.advertising_wrap input {
  display: inline-block;
  width: 350px;
  height: 2em;
}

.advertising_wrap input:hover,
.advertising_wrap .actions input.hover {
  border: 1px solid #e2e2e2;
}

.advertising_wrap .actions input {
  width: 100px;
}

.advertising_wrap td {
  text-align: center;
}

#bmot-wrap {
  width: 800px;
  margin: 0 auto;
  padding-left: 125px;
}

/*flashes for device*/

.alert-error, .alert-alert,
.alert-success, .alert-notice {
  border-radius: .5em;
  text-align: left;
  padding: .05em 1em;
  margin-bottom: 1em;
}

.alert-error, .alert-alert {
    background-color: #f2dede;
    border-color: #eed3d7;
    color: #b94a48;
 }

.alert-success, .alert-notice {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #468847;
 }
