:root {
    --reservio-color: #3082b5;
    --reservio-color-dark: #205779;
    --reservio-color-light: #d7e9f4;
    --reservio-box-shadow: 0 2px 1px #cfdde2;
}

.widget .widget-ui-tooltip__pop {
    background: #efa52d;
    color: #ffffff;
}

/* Search Widget */
#reservioSearch .widget {
    background-color: transparent;
    padding: 0;
}

#reservioSearch .widget-dates__caption_disabled,
#reservioSearch .widget__routeTypeSwitch_toCR {
    color: #0482b4;
}

#reservioSearch .widget__startButton.btn-primary {
    background: #eea330;
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

#reservioSearch .widget__startButton.btn-primary:hover {
    background: #eea330 !important;
    opacity: 0.9;
}

@media only screen and (max-width: 650px) {
    #reservioSearch .widget-airports__swap {
        display: block;
        left: auto;
        top: -28px;
        right: 15%;
        border-top-right-radius: 50%;
        border-bottom-right-radius: 50%;
        border-top-left-radius: 50%;
        border-bottom-left-radius: 50%;
    }

    #reservioSearch .widget-dates {
        flex-direction: column;
    }

    #reservioSearch .widget-dates {
        display: block;
    }

    #reservioSearch .widget-dates__col {
        float: left;
        width: 50%;
        padding-bottom: 0 !important;
    }

    #reservioSearch .widget-footer__col:last-of-type {
        margin-top: 0;
    }

    #reservioSearch .widget-additionalOptions {
        padding-top: 0.85rem;
    }
    .widget-additionalOptions__checkboxes {
        margin-bottom: 0;
    }
    #reservioSearch .widget .widget-ui-datepicker__footer,
    #reservioSearch .widget .widget-passengers__footer {
      bottom: 75px;
    }
}

@media only screen and (min-width: 651px) {
    #reservioSearch .widget-footer__col:last-of-type {
        margin-top: 0;
    }
}

@media only screen and (min-width:1101px) {
    #reservioSearch .widget-airports__col:last-of-type .widget-airports__select__wrapper {
        padding-left: 0;
    }

    #reservioSearch .widget:after {
        background: transparent;
    }

    #reservioSearch .widget-additionalOptions__checkboxes {
        margin-right: 0;
        position: absolute;
        margin-top: 190px;
        padding-right: 8px;
        display: block;
        z-index: 1;
    }
}

@media only screen and (max-width: 650px) {
    #reservioSearch .widget-airports {
        display: flex;
    }

    #reservioSearch .widget-airports .widget-airports__select__wrapper {
        height: 100%;
    }

    #reservioSearch .widget-airports .widget-airports__col:first-child {
        padding-bottom: 0;
    }

    #reservioSearch .widget-airports .widget-airports__col:first-child .widget-airports__select__wrapper {
        margin-right: 6px;
    }

    #reservioSearch .widget-airports .widget-airports__col:last-child .widget-airports__select__wrapper {
        margin-left: 6px;
    }

    #reservioSearch .widget-airports .widget-airports__select:not(.is-focused) .Select-control {
        background: none;
        border-radius: 0;
        height: 100%;
        display: inline-flex;
    }

    #reservioSearch .widget-airports .widget-airports__select:not(.is-focused) .Select-control .Select-multi-value-wrapper {
        display: flex;
        height: 40px;
        align-self: flex-end;
        position: relative;
    }

    #reservioSearch .widget-airports__select:not(.is-focused) .widget-airports__select__value__comma {
        display: none;
    }

    #reservioSearch .widget-airports__select__wrapper {
        display: flex;
        flex-direction: column-reverse;
        background: #fff;
        padding: 6px 0 8px 0px;
        box-shadow: var(--reservio-box-shadow);
        border-radius: 4px;
        justify-content: center;
    }

    #reservioSearch .widget-airports__select__wrapper>div:first-child {
        height: 126px;
        display: flex;
        width: 100%;
        justify-content: center;
    }

    #reservioSearch .widget-airports__col .widget-airports__airportCode {
        position: absolute;
        width: 100%;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        text-align: center;
        display: block;
        color: #000;
        font-size: 26px;
        font-weight: normal;
        height: 36px;
        line-height: 36px;
    }

    #reservioSearch .widget-airports__col .widget-airports__airportCode:before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        content: "\f072";
        position: absolute;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 20px;
        color: var(--reservio-color-dark);
        left: 50%;
        margin-left: -15px;
        top: -40px;
        transform: rotate(-45deg);
    }

    #reservioSearch .widget-airports__col .widget-airports__select__value {
        width: 100%;
        padding: 0px 10px;
        display: flex;
        justify-content: center;
        text-transform: uppercase;
        flex-direction: column;
    }

    #reservioSearch .Select-placeholder {
        text-align: center;
    }

    #reservioSearch .widget-airports__swap {
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        padding: 0;
        top: 50%;
        left: 0;
        margin-left: -26px;
        margin-top: -20px;
        background: #f9fafb;
        transform: none;
        box-shadow: 0px 0px 10px -3px rgba(45, 74, 93, 0.60);
    }

    #reservioSearch .widget-airports__select__value__airportName {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 100%;
        line-height: 20px;
        height: 20px;
    }

    #reservioSearch .widget-airports__select__value__countryName {
        line-height: 20px;
        height: 20px;
    }

    #reservioSearch .widget-dates .widget-dates__col:first-child:not(:last-child) {
        padding-right: 6px !important;
    }

    #reservioSearch .widget-dates .widget-dates__col:last-child:not(:first-child) {
        padding-left: 6px !important;
    }

    #reservioSearch .widget-dates .react-datepicker__input-container .form-control {
        height: 50px;
        line-height: 50px;
    }

    #reservioSearch .widget-dates .react-datepicker__input-container .widget-ui-input {
        box-shadow: var(--reservio-box-shadow);
    }

    #reservioSearch .widget-dates__caption {
        line-height: 50px;
        font-size: 14px;
    }

    #reservioSearch .widget-dates__col .widget-ui-input_disabled {
        background-color: #fff !important;
    }

    #reservioSearch .widget-passengers__trigger__title {
        line-height: 50px !important;
        height: 50px;
    }

    #reservioSearch .widget-passengers__trigger.widget-ui-input__wrapper {
        box-shadow: var(--reservio-box-shadow);
    }

    #reservioSearch .widget__routeTypeSwitch {
        line-height: 35px;
        height: 35px;
        background-color: var(--reservio-color-light);
        border-radius: 4px;
        text-align: center;
        color: var(--reservio-color-dark);
        text-transform: uppercase;
        font-size: 11px;
        background-image: none;
    }

    #reservioSearch .widget__routeTypeSwitch span {
        font-weight: 800;
        padding-left: 0px;
    }

    #reservioSearch .widget__startButton.btn-primary {
        height: 50px;
        line-height: 50px;
        box-shadow: 0 2px 1px #cb8010;
        font-size: 0;
        width: auto;
        padding: 0px;
        min-width: 60px;
    }

    #reservioSearch .widget__startButton.btn-primary:before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        content: "\f002";
        font-size: 30px;
        line-height: 50px;
    }

    #reservioSearch .widget__addSegment {
        line-height: 50px;
        height: 50px;
        background-color: var(--reservio-color-light);
        border-radius: 4px;
        text-align: center;
        color: var(--reservio-color-dark);
        text-transform: uppercase;
        font-size: 11px;
        font-weight: 800;
        margin-top: 4px;
    }

    #reservioSearch .widget-passengers__content {
        z-index: 999;
    }
}

@media(min-width: 650px) {
    #reservioSearch .widget-airports__swap {
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        padding: 0;
        top: 50%;
        left: 0;
        margin-left: -50px;
        margin-top: -20px;
        background: #f9fafb;
        transform: none;
        border-radius: 4px;
        box-shadow: var(--reservio-box-shadow);
    }

    #reservioSearch .widget-airports {
        margin-right: 10px;
    }

    #reservioSearch .widget-airports .widget-airports__col:first-child .widget-airports__select__wrapper {
        margin-right: 6px;
    }

    #reservioSearch .widget-airports .widget-airports__col:last-child .widget-airports__select__wrapper {
        margin-left: 6px;
    }

    #reservioSearch .widget-segments:not(.widget-segments_CR) .widget-airports .widget-airports__col:last-child:not(:first-child) {
        margin-left: 50px;
    }

    #reservioSearch .widget-airports .widget-airports__select .Select-control {
        box-shadow: var(--reservio-box-shadow);
    }

    #reservioSearch .widget-dates {
        margin-right: 10px !important;
    }

    #reservioSearch .widget-dates .widget-dates__col:first-child:not(:last-child) {
        margin-right: 5px;
        box-shadow: var(--reservio-box-shadow);
    }

    #reservioSearch .widget-dates .widget-dates__col:last-child:not(:first-child) {
        margin-left: 5px;
        border: 0;
        background: #fff;
        border-radius: 4px;
        box-shadow: var(--reservio-box-shadow);
    }

    #reservioSearch .widget .widget-dates__col:first-child .widget-ui-input {
        border-radius: 4px;
    }

    #reservioSearch .widget .widget-dates__col:nth-child(2) .widget-ui-input {
        border-radius: 4px;
    }

    #reservioSearch .widget__startButton.btn-primary {
        box-shadow: 0 2px 1px #cb8010;
        margin-left: 0;
    }

    #reservioSearch .widget-passengers .widget-ui-dropdown {
        box-shadow: var(--reservio-box-shadow);
    }

    #reservioSearch .widget__routeTypeSwitch {
        line-height: 42px;
        height: 42px;
        background-color: var(--reservio-color-light);
        border-radius: 4px;
        text-align: center;
        color: var(--reservio-color-dark);
        text-transform: uppercase;
        font-size: 11px;
        background-position-x: 15px;
        position: absolute;
        left: 0;
        top: 0;
        width: 160px;
    }

    #reservioSearch .widget__routeTypeSwitch.widget__routeTypeSwitch_toOW {
        bottom: 0;
        top: auto;
        width: 190px;
    }

    #reservioSearch .widget__routeTypeSwitch span {
        font-weight: 800;
        padding: 0px 20px 0px 45px;
        display: block;
    }

    #reservioSearch .widget-additionalOptions {
        padding-left: 0;
        height: auto;
        margin: 0 !important;
        position: relative;
    }

    #reservioSearch .widget__addSegment {
        color: var(--reservio-color-dark);
        background: var(--reservio-color-light);
        font-weight: 800;
        font-size: 11px;
        text-transform: uppercase;
        border-radius: 4px;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 1100px) and (min-width: 650px) {
    #reservioSearch .widget-airports__col:last-of-type {
        padding-left: 0;
    }

    #reservioSearch .widget-footer__col:first-of-type {
        padding-right: 10px;
    }

    #reservioSearch .widget-footer__col {
        padding-left: 0px;
    }

    #reservioSearch .widget__routeTypeSwitch {
        margin: 0px !important;
    }

    #reservioSearch .widget__startButton.btn-primary {
        display: inline-block;
        margin-right: 10px;
    }

    #reservioSearch .widget-additionalOptions__checkboxes {
        display: block;
        padding-right: 10px;
    }
}

@media only screen and (max-width: 1100px) {
    #reservioSearch .widget-additionalOptions .widget-ui-select {
        padding-bottom: 10px;
    }
    #reservioSearch .widget-airports,
    #reservioSearch .widget-dates {
        padding-bottom: .85rem;
    }
}

@media only screen and (min-width: 1100px) {

    #reservioSearch .widget__startButton.btn-primary {
        margin-left: 10px;
    }

    #reservioSearch .widget-additionalOptions {
        position: initial;
    }

    #reservioSearch .widget__routeTypeSwitch {
        margin: 75px 0px 0px 0px !important;
    }

    #reservioSearch .widget__routeTypeSwitch.widget__routeTypeSwitch_toOW {
        margin: 0px 0px -55px 0px !important;
    }

    #reservioSearch .widget-airports__select .Select-control,
    #reservioSearch .widget .widget-dates__col:first-child .widget-ui-input,
    #reservioSearch .widget .widget-dates__col:nth-child(2) .widget-ui-input,
    #reservioSearch .widget__startButton.btn-primary {
        height: 50px;
    }

    #reservioSearch .widget__startButton.btn-primary {
        box-shadow: 0 2px 1px #cb8010;
        font-size: 0;
        width: auto;
        padding: 0px;
        min-width: 75px;
    }

    #reservioSearch .widget__startButton.btn-primary:before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        content: "\f002";
        font-size: 25px;
    }

    #reservioSearch .widget-airports__select .Select-placeholder,
    #reservioSearch .widget-dates__caption_departure,
    #reservioSearch .widget-dates__caption_filled,
    #reservioSearch .widget-dates__caption_disabled,
    #reservioSearch .widget-passengers__trigger__title,
    #reservioSearch .widget__startButton.btn-primary,
    #reservioSearch .widget__startButton.btn-primary:before {
        line-height: 50px;
    }

    #reservioSearch .widget-passengers__trigger__title {
        line-height: 50px !important;
    }
}


#reservioSearch .widget-additionalOptions__checkboxes .widget-ui-dropdown__trigger {
    display: none;
}

#reservioSearch .widget-additionalOptions__checkboxes .widget .widget-ui-dropdown__content_hidden {
    display: block;
}

#reservioSearch .widget-additionalOptions .widget-ui-select__dropdown {
    position: relative;
    margin-top: 28px;
}

#reservioSearch .widget-additionalOptions__checkboxes {
    display: flex !important;
}

#reservioSearch .widget .widget-ui-checkbox__caption {
    color: #666;
}

#reservioSearch .widget .widget-ui-checkbox__input:checked+label .widget-ui-checkbox__caption {
    color: #1b75bc;
}

#reservioSearch .widget .widget-ui-checkbox label:before {
    content: "";
    width: 40px;
    height: 20px;
    -webkit-transition: background .2s;
    transition: background .2s;
    background: #b3b3b3;
    position: absolute;
    display: block;
    border-radius: 20px;
}

#reservioSearch .widget .widget-ui-checkbox__input:checked+label:before {
    background: #1b75bc;
}

#reservioSearch .widget .widget-ui-checkbox__caption:before {
    content: "";
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #b3b3b3;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    top: 0;
    left: 0;
    -webkit-transition: -webkit-transform .2s ease-out;
    transition: -webkit-transform .2s ease-out;
    transition: transform .2s ease-out;
    transition: transform .2s ease-out, -webkit-transform .2s ease-out;
    position: absolute;
    line-height: 25px;
    text-align: center;
}

#reservioSearch .widget .widget-ui-checkbox__input:checked+label .widget-ui-checkbox__caption:before {
    border-color: #1b75bc;
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
}

#reservioSearch .widget .widget-ui-checkbox__caption:after {
    display: none;
}

#reservioSearch .widget .widget-ui-checkbox__caption {
    position: relative;
    display: inline-block;
    color: #666;
    font-size: 13px;
    height: 20px;
    padding-left: 45px;
    line-height: 19px;
    vertical-align: top;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

#reservioSearch .widget-additionalOptions .widget-ui-checkbox {
    margin-right: 15px;
}