
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Titillium Web', sans-serif;
  font-size: 13px;
}

input[type="text"]::-ms-clear, input[type="number"]::-ms-clear {
 display: none;
}

/* custom range styles */

input[type=range] {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  background: #eb613f;
}
input[type=range]::-webkit-slider-thumb {
  border: 1px solid #adadad;
  height: 36px;
  width: 16px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -14px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #eb613f;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  background: #eb613f;
}
input[type=range]::-moz-range-thumb {
  border: 1px solid #adadad;
  border-radius: 0;
  height: 36px;
  width: 16px;
  background: #ffffff;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #eb613f;
}
input[type=range]::-ms-fill-upper {
  background: #eb613f;
}
input[type=range]::-ms-thumb {
  border: 1px solid #adadad;
  height: 36px;
  width: 16px;
  border-radius: 0;
  background: #ffffff;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #eb613f;
}
input[type=range]:focus::-ms-fill-upper {
  background: #eb613f;
}

/* custom range styles end here */

.app-header span {
  position: fixed;
  width: 100%;
  background-color: #eb613f;
  height: 3rem;
  color: #ffffff;
  padding: 0.4rem 0 0.4rem 37px;
  font-size: 1.7rem;
}

#line-menu {
  position: fixed;
  color: #ffffff;
  z-index: 1;
  font-size: 1.4rem;
  top: 0.7rem;
  left: 5%;
  cursor: pointer;
  display: none;
  z-index: 1;
}

.left-panel {
  width: 30%;
  padding: 37px;
  box-sizing: border-box;
  height: 100vh;
  border-right: 1px solid #adadad;
  background-color: rgba(255,255,255,0.86);
  position: fixed;
  left: 0;
  top: 3.8rem;
  transition: all 0.6s ease;
  overflow-y: auto;
}

#group-1 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.flight-type-button {
  text-align: center;
  width: 50%;
  background-color: #adadad;
  color: #ffffff;
  cursor: pointer;
  padding: 7px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  float: left;
}

.flight-type-button.selected {
  background-color: #eb613f;
}

#group-2 {
  margin-top: 10px;
}

#passengers {
  position: relative;
  height: 33px;
  margin-top: 10px;
}

#passengers input {
  -moz-appearance:textfield;
  position: absolute;
  width: 100%;
  text-align: center;
  padding: 7px 0;
}

#passengers input::-webkit-outer-spin-button,
#passengers input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.number-changer {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 32px;
  height: 32px;
  background-color: #eb613f;
  color: #ffffff;
  font-size: 1.2rem;
}

#count-plus {
  right: 0;
}

#count-minus {
  left: 0;
}

#departure-date, #return-date {
  border: 1px solid #adadad;
  padding: 7px 17px;
  width: 100%;
}

#return-date {
  margin-top: 10px;
}

#range-group {
  margin-top: 20px;
}

#current-range-value {
  margin-top: 10px;
  text-align: center;
  font-size: 1rem;
}

#search-button {
  margin-top: 10px;
  padding: 7px 17px;
  background-color: #eb613f;
  text-align: center;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.right-panel {
  width: 70%;
  float: right;
  height: calc(100vh - 3.8rem);
  margin-top: 3.8rem; 
}

.content-header {
  padding: 29px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255,255,255,0.8);
}

.content-header .flight-path {
  font-weight: 600;
  font-size: 1.7rem;
}

.flight-dates {
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
}

.flight-dates span {
  display: block;
}

.panel-content {
  max-width: 600px;
  margin: 0 auto;
}

.flight-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.flight-item {
  padding: 37px 37px;
  margin-bottom: 37px;
  border: 1px solid #adadad;
}

.item-col-1 span, .item-col-2 span {
  display: block;
}

.flight-price {
  font-weight: 600;
  font-size: 1.5rem;
}

.flight-item .flight-path, .depart-time, .arrive-time {
  font-weight: 600;
  font-size: 1rem;
}

.flight-logos {
  overflow: hidden;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
}

.logo-item {
  width: 40px;
  height: 40px;
  overflow: hidden;
  float: left;
  margin: 0 2px 0 2px;
}

.logo-item img {
  width: 100%;
}

.book-flight-button {
  background-color: #eb613f;
  opacity: 1;
  color: #ffffff;
  text-align: center;
  border-radius: 0px;
  padding: 7px 17px;
  display: flex;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

@media only screen and (max-width: 950px) {
  .left-panel {
    left: -30%;
  }  

  .right-panel {
    width: 90%;
    float: left;
    margin-left: 5%;
  }

  .content-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .flight-dates {
    text-align: left;
  }

  #line-menu {
    display: block;
  }

  .app-header span {
    padding: 0.4rem 0 0.4rem 13%;
  }
}

@media only screen and (max-width: 500px) {
  .flight-info {
    align-items: flex-start;
    flex-direction: column;
  }
  .flight-logos {
    justify-content: flex-start;
  }
  .item-col-1, .item-col-2, .flight-price {
    margin-bottom: 15px;
  }
}

