/*!
Theme Name: Nook
Theme URI: https://preview.naapothemes.net/nook/
Author: Naapo
Author URI: https://naapothemes.net/
Description: Nook is a WordPress theme bundled with premium plugins to build a modern and functional website.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: nook
Text Domain: nook-child
*/


.vc_btn3-color-turquoise,
.vc_btn3.vc_btn3-color-turquoise.vc_btn3-style-flat {
    background-color: #0091b3;
}
.vc_tta-title-text {
    font-family: 'Raleway', 'sans-serif' !important;
    color: #0091b3 !important;
}
#big_footer {
    background: linear-gradient(to top, #0191b3, #54bac9);
}
.search_trigger {
    display: none !important;
}
.textwidget {
	margin-left: 3rem;
    margin-top: 10px;
}
.padding-sx {
    padding-left: 200px !important;
}
@media (max-width: 768px) {
	.textwidget {
		margin-left: 0;
	}
    .padding-sx {
        padding-left: 0px !important;
    }
}
html .testimonials-style2 .img-container {
    width: 150px;
    height: 150px;
}
.wpcf7-form-control-wrap {
    color: #999;
    font-weight: 400;
    font-family: Raleway;
}
.testimonials.style1 .testimonial-nav li a,
.testimonials-style2 .img-container {
    background: #fff;
}

/* Stato attivo */
.navbar-collapse ul.navbar-nav > li.active > a,
.navbar-collapse > .header_style2_menu > ul > li.active > a,
div.nav-style-6 > ul > .menu_items_wrapper > li.active > a,
.nook-header-button a.active,
.navbar-collapse ul.navbar-nav > li.current-menu-item > a,
.navbar-collapse > .header_style2_menu > ul > li.current-menu-item > a,
div.nav-style-6 > ul > .menu_items_wrapper > li.current-menu-item > a {
    color: #0091b3 !important;
}

/* Hover e focus */
.navbar-collapse ul.navbar-nav > li > a:hover,
.navbar-collapse > .header_style2_menu > ul > li > a:hover,
div.nav-style-6 > ul > .menu_items_wrapper > li > a:hover,
.nook-header-button a:hover,
.navbar-collapse ul.navbar-nav > li > a:focus,
.navbar-collapse > .header_style2_menu > ul > li > a:focus,
div.nav-style-6 > ul > .menu_items_wrapper > li > a:focus,
.nook-header-button a:focus {
    color: #0091b3 !important;
}

/* Riduci l'altezza dei box quando sono chiusi */
.vc_tta-panel-heading {
    height: 70px;
}
.vc_tta-title-text {
    line-height: 45px !important font-weight:900 !important;
}
.vc_tta-controls-icon {
    margin-top: -15px !important;
}
.btn-margin-top {
    margin-top: 40px;
}
.wpb_wrapper .p1 strong {
    color: #0091b3;
}
#primary_footer hr,
.footer_sidebar ul li:not(.social-icons-fa li):not(.slick-dots li),
#big_footer .forms input,
#big_footer .recent_posts_widget_2 .recentcomments_listing li {
    border-top: 1px solid #fff !important;
}
.footer_sidebar ul li:not(.social-icons-fa li):not(.slick-dots li):first-child {
    border-top: none !important;
}
.widget_nav_menu li:not(.nook-push-sidebar-content li):last-child,
.footer_sidebar ul li:not(.social-icons-fa li):not(.slick-dots li):last-child,
.widget.widget_archive li:last-child,
.widget.widget_categories li:last-child {
    border-bottom: 1px solid #fff !important;
}
html .testimonials-style2 .t-author {
    margin-top: 10px;
    position: relative;
    display: inline-block;
    font-size: 20px !important;
    font-weight: 500 !important;
    text-transform: unset;
    font-weight: 800;
    color: #0091b3;
    letter-spacing: 0;
}
@media (max-width: 768px) {
    .vc_row {
        display: flex;
        flex-direction: column;
    }
    /* Immagine prima */
    .vc_row .wpb_column.vc_col-sm-6:first-child {
        order: 2;
        /* immagine */
    }
    /* Testo dopo + padding superiore */
    .vc_row .wpb_column.vc_col-sm-6:last-child {
        order: 1;
        /* testo */
        padding-top: 30px;
    }
    /* Riduci l'altezza dei box quando sono chiusi */
    .vc_tta-panel-heading {
        height: 65px;
    }
    .vc_tta-title-text {
        font-size: 15px !important;
    }
    .vc_tta-controls-icon {
        margin-top: -15px !important;
    }
    .wpb_wrapper .p1 strong {
        color: #0091b3;
    }
}

/* Contenitori con testo e immagini che si alternano su desktop */
@media (min-width: 992px) {
	.k-alternate .ult-content-box {
		display: flex;
		flex-direction: row;
	}
    .k-alternate .ult-content-box-container:nth-child(even) .ult-content-box {
        flex-direction: row-reverse;
    }
	.k-alternate .ult-content-box > div {
		width: 50%;
	}
	.k-alternate .ult-content-box .wpb_text_column {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 3rem;
	}
	.k-alternate .ult-content-box figure,
	.k-alternate .ult-content-box .vc_single_image-wrapper {
		width: 100%;
		height: 100%;
	}
	.k-alternate .ult-content-box .wpb_single_image img {
		margin-bottom: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

/* Contenuto centrato */
@media (min-width: 992px) {
	.k-center .vc_column-inner > .wpb_wrapper {
		display: flex;
		gap: 10rem;
		justify-content: center;
	}
}

/* Accordion */
.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel-title>a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-title>a i.vc_tta-controls-icon {
    margin-top: 0 !important;
}
.vc_tta-panel-heading {
    height: auto !important;
}
