/*
Theme Name:Togo Child
Theme URI: https://togo.uxper.co/
Author: Uxper
Author URI: http://uxper.co/
Description: This is a child theme of Togo
Template: togo
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.4
License URI: https://choosealicense.com/licenses/gpl-2.0/
Text Domain: togo-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

:root {
  --bw-primary-color: #00759C ;
  --bw-secondary-color: #E7AC1433 ;
  --bw-accent-color: #E7AC14 ;
  --bw-text-color: #01516A ;
  --bw-text-dark: #111111;
}

/* NAVBAR language switcher */

.polylang-switcher-list {
    list-style: none;
    padding: 7px 13px;
    margin: 0;
    display: flex;
    align-items: center;
    overflow: hidden !important;
    border: 1px solid var(--bw-text-dark);
    border-radius: 50px;
    width: fit-content ;
    background-color: #00759C;
    color: white !important;
}

.polylang-switcher-list .lang-item a {
    color: white !important;
}



.polylang-switcher-list .lang-item.lang-item-en {
    order: 1
}
.polylang-switcher-list .lang-item.lang-item-it {
    order: 2
}
.polylang-switcher-list .lang-item.lang-item-de {
    order: 3
}
.polylang-switcher-list .lang-item.lang-item-it:before {
    display: inline;
    content: ' / ';
    margin-left: 4px;

}
.polylang-switcher-list .lang-item.lang-item-it:after {
    display: inline;
    content: ' / ';
    margin-right: 4px;
}

@media (min-width: 1200px) {
    
     #header.header-float:not(.bw-header-sticky) .polylang-switcher-list {
        border-color: white !important;
    }

    #header.header-float:not(.bw-header-sticky) .polylang-switcher-list .lang-item {
        color: white;
    }

    #header.header-float:not(.bw-header-sticky) .polylang-switcher-list .lang-item a {
        color: white;
    }
}

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal {
    padding: 0 !important;
    border-radius: 50px;
    overflow: hidden !important;
    border: 1px solid var(--bw-text-dark);
    width: fit-content;
}

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul .wpml-ls-first-item .wpml-ls-link {
    padding-left: 14px !important;
    padding-right: 4px !important;
}


.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul .wpml-ls-last-item .wpml-ls-link {
    padding-right: 14px !important;
    padding-left: 4px !important;
}

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul .wpml-ls-item-de .wpml-ls-link {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul .wpml-ls-item-de .wpml-ls-link:before {
    display: inline;
    content: '/';
}

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul .wpml-ls-item-de .wpml-ls-link:after {
    display: inline;
    content: '/';
    margin-left: 4px;
}

.wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul .wpml-ls-item .wpml-ls-native:hover {
    text-decoration: underline;
}


#header:not(.bw-header-sticky) .wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul .wpml-ls-item {
    background-color: #D2E8EE !important;
}
@media (min-width: 1200px) {
    #header.header-float:not(.bw-header-sticky) .wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal {
        border: 1px solid white !important;
        background-color: transparent;
    }
    #header.header-float:not(.bw-header-sticky) .wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-list-horizontal ul .wpml-ls-item .wpml-ls-link{
        background-color: transparent !important;
        color: white;
    }
    #header.header-float:not(.bw-header-sticky) .elementor-widget-wpml-language-switcher .elementor-widget-container{
        border-color: white !important;
    }
}

/* CONTACT US form  */

.form-field.field-submit .togo-button.full-filled {
    background-color: var(--bw-primary-color);
    border-color: var(--bw-primary-color);
}

.form-field.field-submit .togo-button.full-filled:hover {
    background-color: var(--bw-text-color);
    border-color: var(--bw-text-color);
}

/* TRIP CARDS AND SINGLE */

.trip-inner .trip-thumbnail,
.trip-inner .trip-video  {
    position: relative;
    padding-bottom: 66%;
}

.trip-inner .trip-thumbnail a, 
.trip-inner .trip-video .trip-video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.trip-inner .trip-thumbnail a img{
    height: 100%;
}

.trip-inner .trip-review svg path, 
.togo-st-mini-review .togo-svg-icon svg path{
    fill: var(--bw-accent-color);
    stroke: var(--bw-accent-color);
}

.togo-st-overview .togo-svg-icon::before {
    background-color: var(--bw-secondary-color);
}

.togo-st-highlights .togo-svg-icon svg path {
    stroke: var(--bw-accent-color);
}

.booking-tabs .guest-box .text ,
.booking-tabs .guest-box .text .number,
.booking-tabs .guest-box input[type=number] {
    color: #111111 !important;
}

.togo-st-form-booking__main .form-submit .togo-button.full-filled {
    background-color: var(--bw-primary-color);
    border-color: var(--bw-primary-color);
}

.togo-st-form-booking__main .form-submit .togo-button.full-filled:hover {
    background-color: var(--bw-text-color);
    border-color: var(--bw-text-color);
}

.trip-inner .trip-wishlist {
    display: none;
}

.togo-st-wishlist {
    display: none;
}

/* EXPERIENCE search and filter */

.range-preview .min-price span:first-child, .range-preview .max-price span:first-child {
    color: #111111 !important;
}

.trip-search-form .field-icon .togo-svg-icon svg path {
    stroke: var(--bw-accent-color);
}

.trip-search-form .near-me .togo-svg-icon svg path {
    stroke: var(--bw-accent-color);
}

.trip-search-form .form-field label, .trip-search-form .near-me__text{
    color: var(--bw-accent-color);
}

.trip-search-form .field-location__button[type=submit] {
    background-color: var(--bw-accent-color);
}

.togo-trip-filter .range-slider .incl-range {
    background-color: var(--bw-accent-color);
}

.bw-togo-button.togo-button.full-filled {
    background-color: var(--bw-primary-color);
    border-color: var(--bw-primary-color);
}
.bw-togo-button.togo-button.full-filled:hover {
    background-color: var(--bw-text-color);
    border-color: var(--bw-text-color);
}

/* NAVBAR */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#bw-header-left, #bw-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
@media (min-width: 1200px) {
    #bw-header-left .menu-item:last-child {
        display: none !important;
    }

    #bw-header-right .menu-item:not(:last-child) {
        display: none !important;
    }
}
/* HEADER */

#header.site-header.header-float:not(.bw-header-sticky) .container-fluid{
    background-color: #D2E8EE !important;
}

#header.site-header:not(.header-float) {
    position: sticky;
    top: 0;
    left: 0;
}

#header.header-float {
   height: 0;
}

@media (min-width: 800px) {
     #header.site-header .site-logo img {
        width: 168px !important;
        max-width: 168px !important;
    }
}
@media (min-width: 1200px) {
    #header.header-float:not(.bw-header-sticky) .menu-item .menu-item-title{
        color: black !important;
    }

}

#header.bw-header-sticky {
    position: sticky;
    top: 0 !important;
    left: 0;
}

#header.bw-header-sticky  > .container-fluid {
    background-color: white !important;
}

#header.header-float.bw-header-sticky .site-dark-logo{
    display: none !important;
}

#header.header-float.bw-header-stickyt .site-main-logo{
    display: block !important;
}

#header.header-float:not(.bw-header-sticky) .site-dark-logo{
    display: block !important;
}

#header.header-float:not(.bw-header-sticky) .site-main-logo{
    display: none !important;
}

#header.header-float:not(.bw-header-sticky) .canvas-menu-wrapper .canvas-menu-icon .togo-svg-icon {
    color: black;
}
@media (min-width: 1200px) {
    #header .canvas-menu-wrapper{
        display: none;
    }
}

/* TEAM CARD */
.bw-team-card {
    width: 100%;
}

.bw-team-card .elementor-image-box-img{
    position: relative;
    width: 100%;
    padding-bottom: 100%;
        overflow: hidden;
    border-radius: 38%;
}

.bw-team-card .elementor-image-box-img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
}

.bw-rounded-image {
    border-radius: 1rem;
    overflow: hidden;
}
@media (max-width: 1025px) {
    .bw-footer-menu .menu {
        flex-direction: column;
        gap: 12px;
    }
}



.post-type-archive-togo_trip .site-content {
    max-width: 1169px;
    margin: auto;
    padding: 40px 0;
    background-color: white;
}

/* COPYRIGHT */

.bw-copyright-text {
    background-color: #000000;
    padding: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* GENERAL */
@media (max-width: 1200px){
    .bw-hidden-tablet {
        display: none;
    }
}

/* ARCHIVE */
@media (min-width: 1200px){
    body.archive .page-title {
        height: 350px;
        display: flex;
        align-items: end;
    }
    body.archive .page-title .container-fluid{
        width: 100%;
        max-width: 1169px;
    }
}

.trip-list-header {
    display: none !important;
}

.togo-st-gallery {
    max-height: 500px;
}

.elementor-element[data-widget_type="togo-st-gallery.default"] .swiper-wrapper{
    max-height: 400px;
}

.bw-hidden-tablet {
	flex-shrink: 0;
}

@media (min-width: 1024px){
	.bw-footer-menu .menu-item{
		max-width: 170px;    	
	}
  
  	.bw-footer-menu ul.menu{
      	align-items: start !important;
	}
}

@media (max-width: 1024px) {
    .site-footer .iubenda-embed:not(.iubenda-nostyle)  {
        display: block !important;
        margin: 0 auto !important;
        max-width: fit-content !important;
    }
}

.mobile-menu-bottom {
	margin-bottom: 42px;
}