
.flights-to-match {
    box-sizing: border-box;
}

.flights-to-match h2 {
    display: none;
}

.flights-to-match label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    line-height: 14px;
}

.flights-to-match .input {
    display: block;
    width: 100%;
    margin-top: 5px;
}

.flights-to-match-mobile .flights-to-match {
    padding: 10px;
}

.flights-to-match li + li {
    margin-top: 10px;
}

.flights-to-match .autocomplete-container {
    position: relative;
}

.flights-to-match .autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
}

.flights-to-match .autocomplete-description {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #e5f0ff url(../images/gradient-light-blue-large.png) repeat-x bottom;
    border: 3px solid #88b9ba;
    padding: 5px;
}

@media (min-width: 751px) {
    .flights-to-match {
        margin-bottom: 10px;
        padding: 20px;
        border: 1px solid #4c92c7;
        background-color: #ebf4fb;
        box-shadow: inset 2px 2px 0 0 rgba(255, 255, 255, 0.16);
    }

    .flights-to-match h2 {
        display: block;
        margin-bottom: 10px;
        color: #4c92c7;
        font-family: Arial;
        font-size: 16px;
        line-height: 18px;
    }

    .flights-to-match h2 .best-price {
        color: #666666;
        font-family: Arial;
        font-size: 16px;
        line-height: 18px;
        font-weight: normal;
    }

    .flights-to-match ul {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        flex-wrap: wrap;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .flights-to-match li {
        box-sizing: border-box;
        display: inline-block;
    }

    .flights-to-match li + li {
        padding-left: 10px;
        margin-top: 0;
    }

    .flights-to-match .departing-from {
        width: calc(37% - 50px);
        -width: 37%;
        flex-shrink: 0;
    }

    .flights-to-match .departing-from .input {
        padding-right: 35px;
        background: #fff url(../img/icons/flight-takeoff.svg) no-repeat calc(100% - 10px) center / 18px;
    }

    .flights-to-match .leaving-on,
    .flights-to-match .returning-on {
        width: calc(19% - 25px);
        -width: 19%;
        flex-shrink: 1;
    }

    .flights-to-match .leaving-on .input,
    .flights-to-match .returning-on .input {
        padding-right: 35px;
        background: #fff url(../img/icons/calendar.svg) no-repeat calc(100% - 10px) center / 18px;
    }

    .flights-to-match .adults {
        width: calc(25% - 10px);
        -width: 25%;
        flex-shrink: 0;
    }

    .flights-to-match .adults .input {
        padding-right: 35px;
        background: #fff url(../img/icons/face.svg) no-repeat calc(100% - 10px) center / 18px;
        white-space: nowrap;
    }

    .flights-to-match .controls {
        -width: 100%;
        padding-left: 10px;
        margin-top: 10px;
    }

    .flights-to-match .controls .button {
        width: 100px;
    }

    .flights-to-match .search-results {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .flights-to-match .search-results .result {
        width: 25%;
        color: #666666;
        font-family: Arial;
        font-size: 12px;
        font-weight: bold;
        line-height: 14px;
    }

    .flights-to-match .search-results .result + .result,
    .flights-to-match .search-results .result + .view-all-flights {
        margin-left: 10px;
    }

    .flights-to-match .search-results .price-and-book {
        box-sizing: border-box;
        display: inline-flex;
        justify-content: flex-start;
        align-items: stretch;
        width: 100%;
        height: 40px;
        margin-top: 5px;
        padding: 10px;
        border: 1px solid #9d9d9d;
        border-radius: 3px;
        background-color: #ffffff;
        font-size: 18px;
        font-weight: bold;
        line-height: 21px;
    }

    .flights-to-match .search-results .price-and-book .loading {
        overflow: hidden;
        height: 38px;
        width: calc(100% - 100px);
        margin-top: -10px;
        text-align: center;
    }

    .flights-to-match .search-results .price-and-book .loading img {
        width: 40px;
        height: 37px;
    }

    .flights-to-match .search-results .price-and-book a {
        box-sizing: border-box;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        width: 100px;
        border: 1px solid #961b20;
        margin: -11px -11px -11px auto;
        border-radius: 3px;
        background: linear-gradient(180deg, #bc2525 0%, #a41515 100%);
        box-shadow: inset 2px 2px 0 0 rgba(255, 255, 255, 0.16);
        color: #ffffff;
        font-family: Arial;
        font-size: 14px;
        font-weight: bold;
        line-height: 16px;
        text-align: center;
        text-decoration: none;
    }

    .flights-to-match .search-results .price-and-book a.disabled {
        border: 1px solid #666666;
        background: linear-gradient(180deg, #666666 0%, #363636 100%);
        color: rgba(255, 255, 255, 0.5);
        cursor: default;
    }

    .flights-to-match .search-results .view-all-flights {
        align-self: flex-end;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        padding: 0px 25px;
        border: 1px solid #9d9d9d;
        border-radius: 3px;
        background-color: #ffffff;
        box-shadow: inset 2px 2px 0 0 rgba(255, 255, 255, 0.16);
        color: #0771ed;
        font-family: Arial;
        font-size: 12px;
        font-weight: bold;
        line-height: 14px;
        white-space: nowrap;
    }
}

@media (max-width: 750px) {
    .flights-to-match ul {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        flex-wrap: wrap;
    }
    .flights-to-match li {
        width: 100%;
    }
    .flights-to-match .leaving-on,
    .flights-to-match .returning-on {
        width: calc(50% - 5px);
    }
    .flights-to-match .returning-on {
        margin-left: 10px;
    }
}


@media (max-width: 750px) {
    .flights-to-match-overlay {
        z-index: 10 !important;
    }
   

    .room-types-overlay .media-overlay-header,
    .flights-to-match-overlay .media-overlay-header,
    .cruise-ship-details-overlay .media-overlay-header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 45px;
    }
    .room-types-overlay .media-overlay-header h2,
    .flights-to-match-overlay .media-overlay-header h2,
    .cruise-ship-details-overlay .media-overlay-header h2 {
        color: #ffffff;
        font-family: Arial;
        font-size: 16px;
        line-height: 18px;
    }
    .room-types-overlay .media-overlay-container .media-overlay-content,
    .flights-to-match-overlay .media-overlay-container .media-overlay-content,
    .cruise-ship-details-overlay .media-overlay-container .media-overlay-content {
        padding-top: 45px;
    }
}



.ui-datepicker-inline {
    padding: 10px;
}

#occText {
    cursor: pointer;
    line-height: 40px;
    font-weight: normal;
    overflow: hidden;
}
.childclose {
    background: url("//media.tripcentral.ca/style/responsive/img/package-finder/bg-children-close.png") no-repeat top;
    width: 12px;
    height: 12px;
    display: block;
    text-indent: -9999px;
    float: right;
    margin: 7px 0 0 7px;
}

.occupancy-overlay .children .select-style {
    display: inline-block;
    width: 95px;
    height: 35px;
    margin-left: auto;
    margin-right: 10px;
    border-radius: 2px;
    color: #535353;
    font-family: Arial;
    font-size: 14px;
    line-height: 35px;
}

#add-child {
    font-weight: normal;
}



 .input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    display: inline-block;
    height: 40px;
    padding: 0px 15px;
    border: 1px solid #748496;
    border-radius: 3px;
    background-color: #ffffff;
    box-shadow: 1px 1px 3px 0 rgb(0 0 0 / 15%);
    color: #666666;
    font-family: Arial;
    font-size: 14px;
    line-height: 16px;
}

button, input {
    overflow: visible;
}


.cruise-details-desktop .padded {
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1024px) {
    .cruise-details-desktop .padded {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (min-width: 1400px) {
    .cruise-details-desktop .padded {
        padding-left: calc((100% - 1300px) / 2);
        padding-right: calc((100% - 1300px) / 2);
    }
}

.cruise-details .button {
    display: inline-block;
    height: 40px;
    padding: 0px 25px;
    border: 1px solid #305d7f;
    border-radius: 3px;
    background: linear-gradient(180deg, #4c92c7 0%, #3f7ba9 100%);
    box-shadow: inset 2px 2px 0 0 rgb(255 255 255 / 16%);
    color: #ffffff;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    cursor: pointer;
}
