/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

p {
    line-height: 1.4;
    font-weight: 500;
}

a:hover {
text-decoration: underline;
}

/* centra la finestra privacy policy*/
.cky-box-bottom-left {
	bottom: 50%!important;
    left: 50%!important;
    transform: translateX(-50%);
}

/* MENU HEADER */
/* pagina attiva sottolineata */
.menu-light .menu-smart > li.active > a, .menu-light .menu-smart > li a.active, .menu-light .menu-smart > li.current-menu-ancestor > a, .menu-light .menu-smart > li.current-menu-item:not(.menu-item-type-custom) > a, .menu-light .menu-smart > li.current-menu-parent > a {
    text-decoration: underline;
}

#masthead .menu-smart .menu-item a {
    font-size: clamp(14px, 1vw, 21px);
}

/* carattere lightbox*/
.tmb .t-entry p.t-entry-meta span {
    display: block;
    font-weight: 500;
    font-size: 24px;
}

.lg-sub-html h6:not([class*="fontsize-"]), .lg-sub-html .h6:not([class*="fontsize-"]) {
    font-size: 20px;
}

.lg-sub-html p {
    font-size: 20px;
}

/* traduttore cta menu */
body.hmenu-position-center .main-menu-container .navbar-cta.navbar-nav-last {
    min-width: max-content;
}
ul#menu-call-to-action{
    margin: 0!important;
    padding: 0!important;
    width: max-content;
}
.gt_selector.notranslate {
    padding: 0;
    margin: 0 auto;
	font-weight:500;
    font-size: 5.5vw;
	text-align: center;
	min-width: max-content;
	width: max-content;
	text-align: -webkit-center;
	text-align-last: center;
}




/* FOOTER */
#footer-view {
	overflow: hidden;
}
#footer-container-flex {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
    flex-wrap: wrap; 
    row-gap: 20px;
	margin-right: -2px;
}
.footer-class *, .footer-class>ul>li>a, .footer-class>ul>li>a:hover {
	font-size: 12px;
	font-weight: 500;
	color: white!important;
	white-space: nowrap;
}
#footer-logo {
	min-width: 90px;
    margin-right: 50px;
    padding-top: 15px;
}
#footer-menu-grid, #footer-social-container, #footer-cookie-grid{
	padding-right: 20px;

}
#footer-menu-grid {
    flex: 1 1 530px;
}
#footer-cookie-grid {
    flex: 1 1 360px;
}
#footer-social-container {
    flex: 1 1 220px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    min-width: 190px;
}
#footer-copyright {
    flex: 1 1 220px;
	margin-right: auto;
	display:grid;
}
#footer-menu-grid>ul, #footer-cookie-grid>ul, #footer-social-grid>ul {
	display: grid;
	column-gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
	margin-top: 0px!important;
}
#footer-cookie-grid>ul {
    grid-template-columns: 1fr 1fr;
}
#footer-social-grid {
    flex: 1 1 140px;
}
#footer-social-grid>ul {
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
    gap: 8px;
}
#footer-social-grid img {
    max-width: 18px;
}





/* GALLERY FIX */
.uncode-single-media-wrapper {
	margin-top: 10px;
}


/* MEDIA QUERIES */
@media screen and (max-width: 380px) {
	 #footer-cookie-grid>ul{
         grid-template-columns: 1fr;
     }
}

@media screen and (min-width: 570px) {
     #footer-cookie-grid>ul{
         grid-template-columns: 1fr 1fr;
     }
	 .footer-class *, .footer-class>ul>li>a, .footer-class>ul>li>a:hover {
        font-size: 14px;
    }
}

@media screen and (min-width: 960px) {
	body.hmenu-position-center .logo-container {
        min-width: 102px;
    }
	.menu-smart > li > a{
        padding: 0px 5px 0px 5px;
    }
	.gt_selector.notranslate {
		font-size: clamp(16px, 1vw, 23px);
		text-align: right;
	}
	
    #footer-menu-grid>ul{
    	grid-template-columns: repeat(5, 1fr);
    }
	#footer-menu-grid {
		margin-left: auto;
		max-width: 700px;
	}
	#footer-social-container {
		min-width:293px;
		max-width: 410px;
	}
	#footer-cookie-grid {
		max-width: 530px;
	}
	#footer-copyright {
		max-width: 460px;
	}

	#testo-scroll {
		position: fixed;
		/*top: 114px; */
		height: calc(100% - 60px);
		overflow: scroll;
		padding-bottom: 130px;
		margin-left: 50%;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
	#testo-scroll::-webkit-scrollbar {
		display: none;
	}
    #galleria-scroll {
        position: fixed;
        /* top: 104px;
        height: calc(100% - 104px); */
		height: 100%;
        overflow: scroll;
        padding-bottom: 130px;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    #galleria-scroll::-webkit-scrollbar {
		display: none;
	}
}

@media screen and (min-width: 1060px) {
	#footer-menu-grid, #footer-social-container, #footer-cookie-grid, #footer-copyright {
		padding: 0 25px;
		border-right: 1px solid white;
		height: 50px;
	}
	#footer-copyright {
		border-right: 0;
	}
}

@media screen and (min-width: 1350px) {
    .menu-smart > li > a{
        padding: 0px 14px 0px 14px;
    }
}

@media screen and (min-width: 1800px) {
	#footer-menu-grid, #footer-social-container, #footer-cookie-grid, #footer-copyright {
		padding: 0 50px;
	}
}



/* FOOTER NO-MENU */
#footer-view-2 {
	overflow: hidden;
}
#footer-container-grid-2 {
	display: grid;
	margin-right: -2px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas: "logo logo social social social cookie cookie cookie cookie copyright copyright copyright";
}
#footer-menu-grid-2, #footer-social-container-2, #footer-cookie-grid-2{
	padding: 0 20px;
   /* border-right: 1px solid white; */
}
/* text style */
.footer-class-2 *, .footer-class-2>ul>li>a, .footer-class-2>ul>li>a:hover {
	font-size: 14px;
	font-weight: 500;
	color: white!important;
	white-space: nowrap;
}
/* logo */
#footer-logo-2 {
	min-width: 90px;
    grid-area: logo;
    padding-right: 20px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
   /* border-right: 1px solid white; */
}
#footer-logo-2>img{
    max-width: 85px;
}
/* social */
#footer-social-container-2 {
    grid-area: social;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}
#footer-social-grid-2 {
    flex: 1;
    max-width: 300px;
}
#social-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18px, 1fr));
    gap: 8px;
    margin-top: 0px!important;
}
#footer-social-grid-2 img {
    max-width: 22px;
}
/* cookie */
#footer-cookie-grid-2 {
    grid-area: cookie;
    display: flex;
    justify-content: center;
    align-items: center;
}
#cookie-display {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0px!important;
}
/* copyright */
#footer-copyright-2 {
    grid-area: copyright;
	display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
}
#copyright-display {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 0px!important;
}


@media screen and (max-width: 960px) {
    #footer-container-grid-2{
        row-gap: 20px;
        grid-template-columns: repeat(8, 1fr);
        grid-template-areas: 
                "logo logo logo social social social social social"
                "cookie cookie cookie cookie copyright copyright copyright copyright";
    }
}

@media screen and (max-width: 570px) {
    #footer-container-grid-2{
        row-gap: 15px;
        grid-template-columns: 1fr;
        grid-template-areas: 
                "logo"
                "social"
                "cookie"
                "copyright";
    }
    #footer-menu-grid-2, #footer-social-container-2, #footer-cookie-grid-2, #footer-copyright-2{
        padding: 0;
        border-right: 0px;
        justify-content: left;
    }
    .footer-class-2 *, .footer-class-2>ul>li>a, .footer-class-2>ul>li>a:hover{
        font-size: 12px;
    }
}