/*
 * Theme Name:  BA Tours Child
 * Theme URI: https://ba-booking.com/
 * Author: Booking Algorithms
 * Author URI: https://ba-booking.com/
 * Template: ba-tours
 * Description: Child Theme for the BA Tours.
 * Version: 1.2.9
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: ba-tours-child
 */


.header-with-texts .header-top-row {
    margin-top: 20px;
    padding-left: 0;
}


.header-with-texts .navbar-brand {
    flex-grow: unset;
    flex-basis: 340px;
}

.navbar-brand .site-description {
    white-space: normal;
}


.header-contacts-all{
    padding-bottom: 14px;
}

.header-contacts-login {
    align-self: center;
    z-index: 1050;
}

.navbar .babe_currency_switcher{
    align-self: center;
    padding: 0 5px;
}

.header-with-texts .header-contacts-row {
    flex-grow: 3;
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
}

.header-contacts-phone {
    padding: 0;
    display: block;
}

.header-contacts-address-times {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 0;
    flex-grow: unset;
}

.header-contacts-address-times > * {
    padding: 0 20px 0 0;
}

@media screen and (max-width: 991px) {

    #site-navigation .navbar-collapse-primary {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .header-with-texts .header-top-row {
        flex-wrap: wrap;
    }

    .header-with-texts .navbar-brand {
        flex-basis: 100%;
    }

    .header-contacts-all{
        padding-bottom: 2px;
        padding-top: 10px;
    }
}

@media screen and (max-width: 767px) {

    .header-with-texts .navbar-brand {
        flex-basis: 200px;
    }

    .header-with-texts .header-top-row {
        margin-bottom: 10px;
        margin-top: 0;
        padding: 0 5px;
    }

    .nav-myaccount-link{
        white-space: nowrap;
    }
}

/* ========================= */

@media only screen and (max-width: 1110px) {
    #search_form{
        width: 90%;
    }
}
@media only screen and (max-width: 991px) {
    form#search_form .add_input_field .add_ids_list {
        left: auto;
        margin-top: 18px;
        margin-left: auto;
        margin-left: -15px;
    }

    form#search_form .search_advanced_select_wrapper {
        margin-top: 0;
        margin-left: auto;
    }

    #search-box.babe-search-box .search-date .date_container .pseudo_time{
        top: 38px;
        font-size: initial;
    }
    #search-box.babe-search-box #search_form.babe-search-form .input-group{
        flex-wrap: wrap;
    }

    div#search-box.babe-search-box .babe-search-form.small div.input-group .add_input_field,
    div#search-box.babe-search-box .babe-search-form.small div.input-group .search-keyword-block,
    div#search-box.babe-search-box .babe-search-form.small div.input-group .search_guests_field,
    div#search-box.babe-search-box .babe-search-form.small div.input-group .search_advanced_field,
    div#search-box.babe-search-box .babe-search-form.small div.input-group .search-date,
    div#search-box.babe-search-box .babe-search-form.small div.input-group .submit{
        height: 50px;
    }

    #search_form .input-group{
        flex-direction: row wrap;
    }
    div#search-box.babe-search-box .babe-search-form div.input-group .add_input_field,
    div#search-box.babe-search-box .babe-search-form div.input-group .search-keyword-block,
    div#search-box.babe-search-box .babe-search-form div.input-group .add_input_field.have_location_icon_list{
        border-left: none;
        height: 50px;
        flex: 1 100%;
        order: 1;
        margin-bottom: 0;
        padding-top: 0.5rem;
    }
    div#search-box.babe-search-box .babe-search-form div.input-group .search-date{
        border-left: none;
        border-top: 1px solid #D7DCE3;
        height: 50px;
        flex: 1 45%;
        order: 2;
        padding-top: 15px;
    }
    div#search-box.babe-search-box .babe-search-form div.input-group .submit{
        margin: 0 auto;
        padding-top: 0;
    }
    div#search-box.babe-search-box .babe-search-form div.input-group .search_guests_field,
    div#search-box.babe-search-box .babe-search-form div.input-group .search_advanced_field,
    #search-box.babe-search-box .babe-search-form div.input-group .submit{
        border-left: none;
        border-top: 1px solid #D7DCE3;
        height: 50px;
        order: 3;
        flex: 1 29%;
        transition: none;
        padding-top: 0.5rem;
    }
    #search-box.babe-search-box .babe-search-form div.input-group .submit .btn-search{
        width: auto;
        height: auto;
        padding: 0px 80px;
        margin: 6px;
        transition: none;
    }
    #search_form{
        width: 90%;
    }

    .search_advanced_field .search_advanced_title {
        height: 50px;
    }

}

@media only screen and (max-width: 700px) {
    form#search_form .add_input_field .add_ids_list {
        left: auto;
        margin-top: 18px;
        margin-left: auto;
        margin-left: -15px;
    }
    div#search-box.babe-search-box .babe-search-form div.input-group .search_guests_field,
    div#search-box.babe-search-box .babe-search-form div.input-group .search_advanced_field{
        flex: 1 50%;
    }
    div#search-box.babe-search-box .babe-search-form div.input-group .submit .btn-search{
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
    }
    div#search-box.babe-search-box .babe-search-form div.input-group .submit{
        padding: 5px;
        height: 60px;
        order: 3;
        flex: 1 60%;
    }

    #search_form{
        width: 90%;
    }

    div#search-box.babe-search-box .babe-search-form div.input-group .search_guests_field{
        flex: 1 50%;
    }
    div#search-box.babe-search-box .babe-search-form div.input-group .search-date.search_date_wrapper_date_from{
        padding-top: 0.5rem;
        flex: 1 51%;
    }
    div#search-box.babe-search-box .babe-search-form div.input-group .search-date.search_date_wrapper_date_to{
        padding-top: 0.5rem;
        flex: 1 49%;
    }
}


/*   SECTION TAXONOMY SHORTCODE */
.section-taxonomy-carousel .btc_section_taxonomy_item {
    text-align: left;
    box-sizing: border-box;
    max-width: none;
    padding: 10px 7px 25px 7px;
    margin: 0;
}

.section-taxonomy-carousel .btc_section_taxonomy_item_inner{
    padding: 10px;
}

.section-taxonomy-carousel .item_img .image{
    opacity: 1;
    width: 100%;
}

.section-taxonomy-carousel .item_title, .section-taxonomy-carousel .item_text span{
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    line-height: 1;
}

.section-taxonomy-carousel .item_title{
    font-weight: bold;
    font-size: 1.78em;
    margin-bottom: 10px;
}

.section-taxonomy-carousel .item_text {
    position: absolute;
    z-index: 2;
    margin: 10px;
}
.section-taxonomy-carousel .item_text .item_description{
    color: #ffffff;
}
.section-taxonomy-carousel .item_text .item_title span{
    color: #838383;
    font-size: x-small;
    margin-left: 1em;
    text-shadow: none;
}
.section-taxonomy-carousel .btc_section_taxonomy_item_inner img{
    border-radius: 5px;
}

.section-taxonomy-carousel .item_img{
    position: relative;
}

.section-taxonomy-carousel .hover_overlay{
    position: absolute;
    padding: 10px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0,0,0);
    background: linear-gradient(167deg, rgba(0,0,0,0.4) 0%, rgba(45,94,253,0) 100%);
    border-radius: 5px;
}

/*  END OF SECTION TAXONOMY SHORTCODE */

/* SEARCH BOX*/

#search_form{
    width: 90%;
}

#search_form_tabs{
    margin-top: 5rem;
}

#search-box #search_form{
    max-width: 1110px;
    margin: 0 auto 4rem auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}
#search-box #search_form .input-group{
    border-radius: 5px;
}
#search-box #search_form {
    box-shadow: 01px 1px 3px rgba(0,0,0,.2);
    -moz-box-shadow: 0px 1px 3px rgba(0,0,0,.2);
    -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.2);
}

#search-box.babe-search-box .babe-search-form .input-group {
    justify-content: space-between;
    background: white;
    flex-wrap: nowrap;
}
#search_form_tabs .search_form_tab, #search_form_tabs .search_form_tab:hover {
    background-color: #d9d9d9;
    color: #787878;
    border-color: #2785CE;
    border-bottom: 1px solid #D7DCE3;
}
#search_form_tabs .search_form_tab {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px 4px 0 0;
    padding: 7px 25px;
    margin-right: 4px;
    line-height: 1.4em;
    background-color: #c3c3c3;
}

#search-box.babe-search-box .search-date.search_date_wrapper_date_from, #search-box.babe-search-box .search_guests_field, #search-box.babe-search-box .search-keyword-block, #search-box.babe-search-box .search_advanced_field, #search-box.babe-search-box .add_input_field, #search-box.babe-search-box .earch-keyword-block {
    border-left: 1px solid #D7DCE3;
}

.btn-primary.btn-search i {
    padding: 10px 26px;
}

form#search_form div.input-group > div {
    margin: 10px 0;
    padding-left: 10px;
}

#search_form .input-group > div.submit {
    padding: 0;
    background-color: transparent;
    border: none;
    margin: 3px 6px;
}

#search_form_tabs .search_form_tab.is-active {
    display: inline-block;
    border: 1px solid #ccc;
    border-bottom: 0px;
    border-radius: 4px 4px 0 0;
    padding: 7px 25px;
    margin-right: 4px;
    line-height: 1.4em;
    background-color: #fff;
    border-bottom: 1px solid white;
    color: #787878;
}

#search_form input[type="checkbox"]:not(:disabled):not(:checked) {
    height: 1em;
}
#search_form .input-group input[type="checkbox"] {
    margin-right: 5px;
}
#search_form input[type="checkbox"] {
    height: 1em;
    border: 1px solid #b3d7ff;
    border-top-color: rgb(223, 223, 223);
    border-right-color: rgb(223, 223, 223);
    border-bottom-color: rgb(223, 223, 223);
    border-left-color: rgb(223, 223, 223);
}

#search_form .search_advanced_select_wrapper,
#search_form .add_input_field .add_ids_list,
#search_form .search_guests_select_wrapper {
    margin-top: 15px;
}

#search_form .add_input_field .add_ids_list {
    left: auto;
    margin-top: 15px;
    margin-left: auto;
}

#search_form .search_advanced_select_wrapper{
    position: absolute;
    text-align: left;
    min-width: 380px;
    text-align: left;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    border: 1px solid #d8dce1;
    padding: 20px;
    z-index: 7;
    display: none;
    right: auto;
    margin-left: -183px;
}

#search_form .search_advanced_select_wrapper h4{
    color: #333333;
    font-weight: 700;
}

.irs--round .irs-handle {
    border: 4px solid #2785CE;
}

.irs--round .irs-from::before, .irs--round .irs-to::before, .irs--round .irs-single::before {
    border-top-color: #2785CE;
}

.irs--round .irs-from, .irs--round .irs-to, .irs--round .irs-single {
    background-color: #2785CE;
}

.irs--round .irs-bar {
    background-color: #2785CE;
}
#search_form .button{
    background: #2785CE;
}
#search_form .button:hover{
    background: #3f8fcf;
}


/* END OF SEARCH BOX*/

.ur-frontend-form .form-row{
    display: block;
}

.header-background .modal h1, .header-background .modal h2, .header-background .modal h3, .header-background .modal span, .header-background .modal div, .header-background .modal ul, .header-background .modal a, .header-background .modal a:hover, .header-background .modal a:active, .header-background .modal a:focus, .header-background .modal p{
    color: #404040;
}

.header-background .modal .modal-title{
    width: 100%;
}

.menu-button-create-account, .menu-button-sign-in{
    padding: 5px 10px;
    border: 1px solid #666;
    border-radius: 2px;
    border-color: rgba(255,255,255,0.4);
    background-color: rgba(255,255,255,0.2);
}

.menu-button-create-account:hover, .menu-button-sign-in:hover{
    cursor: pointer;
    background-color: rgba(255,255,255,0.1);
}

.single-to_book .babe_post_content_title {
    padding-top: 20px;
}

#booking_form_block .booking_meeting_point_line label {
    margin-left: 0;
}

#booking_form_block .booking-form-block > div.booking_meeting_point_line {
    flex-wrap: nowrap;
}

.booking-form-block #list_services .list_service_title h4 {
    padding: 0;
}

#booking_form_block .select_guests_block .currency_amount {
    padding-left: 4px;
}

.submit_group{
    background-color: #fff;
    border-radius: 5px;
    padding: 10px 5px 5px 5px;
}
.submit_group .submit_group_ul{
    width: 100%;
}
.submit_group .submit_group_ul li{

}
.submit_group .booking_form_payment_desc{

}

/* ============ Ribbon =============== */

.front_top_bg_inner{
    position: relative;
}

.block_search_res .search_res_img {
    position: relative;
}

.v-ribbon .ribbon-content {
    z-index: 1;
    font-size: 14px;
    line-height: 1.4em;
    text-align: left;
    position: absolute;
    color: #FFFFFF;
    max-width: 95%;
    padding: 4px 5px;
    background-color: #E52822;
    font-weight: 400;
    top: 20px;
    left: -6px;
    -moz-box-shadow: 3px 3px 1px -3px #4E4E4E;
    -webkit-box-shadow: 3px 3px 1px -3px #4E4E4E;
    box-shadow: 3px 3px 1px -3px #4E4E4E;
}

.babe_search_results_inner_grid .v-ribbon .ribbon-content {
    left: -10px;
}

.tour_page_slideshow .v-ribbon .ribbon-content {
    top: 30px;
    left: -10px;
    font-size: 18px;
    padding: 8px 20px;
}

@media only screen and (max-width: 767px){
    .v-ribbon .ribbon-content.normalContent {
        padding: 6px 10px;
    }
}

.v-ribbon .ribbon-content:before, .v-ribbon .ribbon-content:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-color: transparent;
    bottom: -10px;
}

.v-ribbon .ribbon-content:before {
    border-width: 0 10px 10px 0;
    left: 0;
    border-right-color: #9C0000;
}

.limit-length {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    display: block;
}

ul.post_destination_services{
    margin: 0 0 10px 0;
    padding: 0;
    color: #2785CE;
}

.post_destination_services li:before{
    content: '\2022';
    padding-right: 5px;
}

.post_destination_services li{
    display: inline-block;
    padding-right: 10px;
}

/* ================================== */

.next_dep{

}

.next_dep .next_dep_title{
    padding-left: 0;
    padding-bottom: 0;
}

.next_dep .next_dep_line{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #3EC6FF;
}

.next_dep .next_dep_date{

}

.next_dep .next_dep_date_val{
    padding-left: 3px;
}

.next_dep .next_dep_space{
    border-bottom: 1px dotted #3EC6FF;
    flex-grow: 2;
    height: 1px;
    align-self: flex-end;
    margin: 0 5px 4px 5px;
}

.next_dep .next_dep_av_guests{

}

/* ======================== */

#widget-babe-booking-form{
    padding: 0;
}

.input_select_field.booking_destination_select .input_select_wrapper {
    flex-basis: unset;
    flex-grow: 2;
    flex-shrink: 1;
}

#list_services_local .list_service_title h4, #list_fees_optional .list_service_title h4 {
    margin: 0;
    padding: 0;
    display: inline-block;
    font-size: 1rem;
}

#booking_form_block .booking-form-block > div.booking_destination_select {
    background-color: transparent;
}
.input_select_field.booking_destination_select .input_select_title_value {
    color: #fff;
}

/* ======================== */

.tour_info_terms{
    margin-top: 25px;
}

.tour_fact_terms{
    margin-top: 20px;
}

.btc_facts_block{
    border: 1px solid #e6e7ee;
    border-radius: 3px;
    padding: 10px 20px;
    text-align: left;
}

.btc_facts_block .btc_facts_block_title{
    padding: 5px 0;
    margin: 0;
}

.btc_facts_block .btc_facts_block_inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.btc_facts_block .btc_facts_term{
    padding: 10px;
}

.btc_facts_block .btc_facts_term_tax_title{
    color: #969799;
    font-size: 13px;
    display: -ms-grid;
    display: table-caption;
}

.btc_facts_block .btc_term_icon {

}

.btc_facts_block .btc_term_icon i{
    height: 40px;
    display: block;
    color: cornflowerblue;
    font-size: 32px;
}

.btc_facts_block .btc_term_img{

}

.btc_facts_block .btc_term_img img{
    width: auto;
    height: 32px;
    margin-bottom: 8px;
    max-width: unset;
}

.btc_facts_block .btc_facts_term_name{
    font-size: 15px;
}

#batours-tour-info-inner .tour_info_group_title .post-total-rating{
    display: block;
}

#batours-tour-info-inner .tour_info_group_review .post-total-rating{
    display: none;
}

.tour_info_group_review .post-total-rating-value{
    display: block;
    min-width: 130px;
}

.single-to_book .tour_info_book_now {
    min-width: 120px;
}

@media (max-width: 991px) {

    #batours-tour-info-inner .tour_info_group_title .post-total-rating{
        display: none;
    }

    #batours-tour-info-inner .tour_info_group_review .post-total-rating{
        display: block;
    }

    .tour_info_group {
        flex-direction: column;
    }
}

/* =================================== */

@media (min-width: 992px) {
    .single-to_book .tour_info_book_now {
        display: none;
    }
}

/* ===========Support hotline banner===================== */

.tour_hotline_banner{
    padding: 8px 10px;
    border-radius: 20px;
}

.tour_hotline_banner .tour_hotline_banner_inner{
    display: flex;
    align-items: center;
}

.tour_hotline_banner .tour_hotline_banner_img img{
    max-height: 60px;
    width: auto;
}

.tour_hotline_banner .tour_hotline_banner_text_phone{
    padding: 0 5px;
}

.tour_hotline_banner .tour_hotline_banner_text{
    font-size: 14px;
}

.tour_hotline_banner .tour_hotline_banner_phone{
    font-size: 22px;
    font-weight: 700;
}

/* =================Footer widgets====================== */

.footer-widgets ol{
    margin: 0;
    padding-left: 20px;
}

.site-footer .widget ol li, .widget-area .widget ol li {
    line-height: 1.4;
    padding-bottom: 0.6em;
}

.footer-widgets .ciw_contact_address {
    margin-left: 0;
}

.footer-widgets .widget h3, .footer-widgets .widget h4 {
    font-size: 1.375rem;
    font-weight: 700;
    text-transform: none;
    margin: 0 0 0.5em 0;
    padding: 0.58em 0;
    color: #fff;
}

.footer-widgets .widget *{
    color: #fff;
}

.wp-block-tnp-minimal{
    padding: 0 !important;
}

.wp-block-tnp-minimal > p{
    font-size: 1.375rem;
    font-weight: 700;
    text-transform: none;
    margin: 0 0 0.5em 0;
    padding: 0.58em 0;
    color: #fff;
}

.single-to_book .tour_info_price {
    display: inline-block;
    align-self: auto;
}

.tour_info_price .tour_info_price_new{
    display: block;
}

.tour_info_price .tour_info_price_discount {
    display: none;
}

#checkout_form .amount_group{
    flex-direction: column;
}

.btc_destination_type_label{
    color: #fff;
}

.btc_destination_type_inbound_wrapper{
    margin-right: 40px;
}

/* ================= block_top_tours ====================== */

.block_top_tours .block_top_tours_inner .block_top_tours_price_group > * {
    flex-basis: 50%;
    flex-grow: 2;
}

.block_top_tours_price_group .tour_info_price{
    padding: 0;
}

.block_top_tours_price_group .post-total-rating-value{
    display: block;
}

/* ========= checkout ================= */

#checkout_form .payment_method_fields img {
    max-height: 300px;
}
