body {
    color: white;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 12px;
    background: white;
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
    font-smooth: always;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

button:focus,
select:focus,
input:focus {
    outline: none;
}

#background-image {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    display: block;
    filter: blur(20px);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    z-index: 1;
    height: 100vh;
    transform: scale(1.1);
}

#background-image.loaded {
    filter: none;
    transform: scale(1.0);
}

.content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 70px;
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#80000000', GradientType=1);
    overflow: hidden;
}

#location,
#flight,
#hotel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

#hotel {
    min-height: 150px;
}

h1,
h2,
h3,
p,
a {
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);
}

#city {
    font-size: 84px;
    font-weight: bold;
    margin: 0;
    display: inline;
}

#cityicons {
    display: inline-flex;
    flex-direction: column;
    position: absolute;
    margin-top: 30px;
}

#searchparameters {
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
    margin: 0;
}

.time,
.alternativebutton,
.pricebutton,
.flightcities {
    margin: 0;
    font-size: 16px;
    line-height: 27px;
}

.flightcities,
.hotelcities {
    font-size: 24px;
    margin: 0 10px 0 0;
    font-weight: bold;
    display: inline;
}

#reloadCity,
#searchCity {
    cursor: pointer;
    color: white;
    background-color: transparent;
    padding: 0;
    margin: 0;
    border: none;
}

.tab {
    cursor: pointer;
    background-color: transparent;
    border: none;
    font-size: 1em;
    padding: 0;
    font-family: "Montserrat";
}

button:disabled,
input:disabled,
select:disabled,
ul>li>span.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.selected {
    font-weight: bold;
    text-decoration: underline;
    color: white;
    display: inline;
}

.time,
#expandSearch {
    margin-bottom: 10px;
    font-size: 13px;
}

.buttonscontainer {
    display: block;
    padding-top: 5px;
}

.pricebutton {
    display: inline-block;
    background-color: white;
    color: black !important;
    background-color: transparent;
    color: white !important;
    box-shadow: 0px 0px 0px 2px white inset;
    text-decoration: none;
    padding: 7px 10px;
    text-shadow: none;
    border-radius: 100px;
}

.alternativebutton {
    cursor: pointer;
    padding: 10px 20px;
    font-size: 13px;
    text-decoration: underline;
    text-align: center;
}

#hostelprice {
    display: none;
}

.material-icons {
    vertical-align: sub;
    font-size: 28px;
    padding-left: 5px;
}

.material-icons.right {
    transform: rotate(45deg);
    align-self: end;
}

.material-icons.left {
    transform: rotate(225deg);
    align-self: center;
}

#departureicon,
#returnicon,
#hotelicon {
    position: absolute;
    padding: 0;
}

#departureicon {
    padding-right: 6px;
}

#returnicon {
    margin-left: -2px;
    padding-left: 3px;
}

#hotelicon {
    margin-left: 2px;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-ellipsis div {
    position: absolute;
    top: 27px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 6px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 6px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 26px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 45px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(19px, 0);
    }
}

#townsLoadingContainer {
    /* border-top: 1px solid rgb(0, 0, 0, 0.15); */
    display: flex;
    justify-content: center;
}

#destinationsLoadingContainer {
    text-align: center;
    margin-top: 20px;
}

#townsLoading.lds-ellipsis {
    height: 38px;
}

#townsLoading.lds-ellipsis div {
    background: rgb(196, 196, 196);
    top: 14px;
}

#flightLoading h3 {
    margin: 0;
    font-weight: normal;
}

.hidden {
    display: none !important;
}

select {
    background-color: transparent;
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

option {
    color: black;
}

select:focus {
    box-shadow: none;
    outline: none;
}

select::-ms-expand {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    margin: 25px auto;
    padding: 20px;
    max-width: 400px;
    color: black;
}

#destinationsmodal {
    max-width: 650px;
}

.close {
    color: black;
    cursor: pointer;
    float: right;
    font-size: 36px;
    line-height: 28px;
}

.searchResults .singleTown {
    background-color: white;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    padding: 10px 0 10px 5px;
    border-radius: 0;
    font-family: "Montserrat";
    font-size: 1.1em;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.searchResults .singleTown:hover {
    background-color: rgb(0, 0, 0, 0.03);
}

.searchResults .singleDestination {
    flex: 1 0 160px;
    height: 120px;
    margin: 5px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
}

.searchResults .singleDestination:last-child {
    margin-bottom: 20px;
}

.searchResults .singleDestination .readableText {
    background-color: black;
    opacity: 0.2;
    z-index: 5;
}

#dropdownResults {
    margin: 15px -20px -20px;
    padding: 20px; 
    max-height: calc(100vh - 180px);
    overflow: scroll;
    display: flex;
    flex-flow: row wrap;
}

#dropdownResults .searchResults {
    display: flex;
    flex-wrap: wrap;
    overflow: scroll;
    margin-bottom: 20px;
}

.townname {
    font-weight: bold;
}

.towncountry {
    font-size: 12px;
    color: rgb(0, 0, 0, 0.4);
}

.destinationname {
    font-weight: bold;
    font-size: 1.75em;
}

.destinationcountry {
    font-weight: bold;
}

.modal-content p,
.modal-content h3,
.modal-content a {
    text-shadow: none;
}

.modal-content h3 {
    color: black;
    margin-top: 0;
    font-size: 2em;
    font-weight: 400;
}

#townInput,
#searchCityInput {
    font-family: "Montserrat";
    font-size: 1.25em;
    border: none;
    width: 80%;
    height: 28px;
}

#townInput::-webkit-input-placeholder,
#searchCityInput::-webkit-input-placeholder {
    color: rgb(196, 196, 196);
}

.modal-content i {
    padding-left: 0;
    vertical-align: bottom;
    font-size: 24px;
    padding-top: 2px;
    float: right;
}

.searchinputContainer {
    border: 1px solid rgb(224, 224, 224);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    text-align: left;
}

.searchinputContainer .paddingContainer {
    padding: 9px 12px;
}

#placeicon {
    padding: 0;
    color: rgb(0, 0, 0, 0.3);
    font-size: 17px;
    float: none;
}

#searchicon {
    color: rgb(178, 178, 178);
    font-size: 26px;
}

.powered {
    font-weight: 400;
}

.googleBlue {
    color: rgb(70, 136, 241);
}

.googleRed {
    color: rgb(232, 69, 60);
}

.googleYellow {
    color: rgb(249, 187, 45);
}

.googleGreen {
    color: rgb(58, 167, 87);
}

.copyright {
    text-align: right;
    font-weight: 400;
    color: rgb(0, 0, 0, 0.5);
}

#errorMaps {
    cursor: default !important;
    padding: 10px 12px !important;
    /* border-top: 1px solid rgb(0, 0, 0, 0.15); */
}

#helperSelectRadius,
#helperSelectStopover,
#helperSelectAdults,
#helperSelectDaysFrom,
#helperSelectDaysTo {
    visibility: hidden;
    position: absolute;
    top: -1500;
    left: -1500;
}

#flightsContainer {
    margin: 0 -20px -20px;
    max-height: calc(100vh - 135px);
    overflow: scroll;
}

.flightContainer {
    display: flex;
    padding: 10px 20px;
    border-top: 1px solid #efeeed;
    font-size: 13px;
    cursor: pointer;
}

.flightContainer:hover {
    background-color: #f0f0f0;
}

.flightContainer div span {
    color: #bdbdc4;
    font-size: 11px;
}

.flightContainer div:nth-child(1) {
    width: 150px;
}

.flightContainer div:nth-child(2) {
    width: 250px;
}

.flightContainer div:nth-child(3) {
    align-self: center;
    font-size: 14px;
    line-height: 1em;
    font-weight: bold;
    text-align: right;
}


ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: inline-block;
}

li span {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer
}

li ul {
    display: none;
    background-color: white;
    color: black;
    cursor: pointer;
    z-index: 1
}

li ul li {
    padding: 1px 15px;
    line-height: 18px;
    font-size: 13px;
}

li ul li:hover {
    background-color: #e0e0e0;
}

.expanded {
    display: block;
    position: absolute;
}

.selectedOption::before {
    content: "\E876";
    font-family: 'Material Icons';
    margin: 0 1px 0 -14px;
    vertical-align: bottom;
}

@media (max-width: 575px) {
    .content {
        padding: 0 20px;
    }

    #city {
        font-size: 35px;
    }

    #cityicons {
        margin-top: 8px;
        flex-direction: row;
    }

    .hidesmall {
        display: none;
    }
}

@media (min-width: 575px) {
    .hidelarge {
        display: none;
    }
}