/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

html
{
	width:100vw;
	overflow-x:hidden;

}


body{
	height: auto !important;
}

h2
{
	color: #10208f;
}

.logoMain
{

	
	color: #FFF;
}

.onda
{
	position: absolute;
	width: 100%;
	left:0;
	bottom:0;
}

#masthead
{
    background-color: rgba(0, 0, 0, 0.5) !important;
    width: 100%;
}

#nav-main
{
	background: transparent !important;
	padding-bottom: 0;
    padding-top: 0;	
}





.nav-link
{
	text-transform: uppercase;
	color:#FFF;
}

.page-template-home-page-image #content
{
	margin-top: -120px;
}


 .navbar {
  min-height: 120px;
}


.aspect-square {
  aspect-ratio: 1 / 1;
}


.certificazioni-testo
{
	color: #FFF;
	font-size:1.5rem;
}


#certificazione-blocco
{
  box-shadow: 
    inset 0 30px 30px -20px rgba(0, 0, 0, 0.6),   /* sotto */
    inset 0 -30px 30px -20px rgba(0, 0, 0, 0.6);  /* sopra */
}

.certificazioni-fondo-blu
{
	background: rgba(16,32,143,0.7);
	margin-top:80px;
	margin-bottom:40px;
	padding:40px 80px 40px 80px;
	max-width: 1300px;
}



.home-page-title
{
	margin: 0;
}

.page-title
{
	margin-top:40px;
	margin-bottom:20px;
	color:#0F208F;
}


.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color:#FFF;
    background:#0F208F;

}

.enfatizzato p,
.enfatizzato 
{

	font-family: "Libre Baskerville", courier, sans-serif !important;
	color:#0F208F;
	font-size:1.6rem !important;
	margin-top:60px;
}


.polaroid {
    display: inline-block; /* Per contenere l'immagine */
    padding: 20px; /* Spazio per il bordo bianco */
    background: white; /* Colore del bordo */

    transform: rotate(0.5deg); /* Leggera inclinazione per realismo */
    transition: all 0.3s ease; /* Effetto fluido al passaggio del mouse */
}

.polaroid.leftpolaroid {
    transform: rotate(-0.5deg); /* Leggera inclinazione per realismo */
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.02); /* Leggero zoom al hover */

}

.polaroid img {
    display: block; /* Rimuove spazio sotto l'immagine */
    max-width: 100%; /* Adattamento responsive */
    height: auto;
    border: 1px solid #f0f0f0; /* Bordo interno sottile (opzionale) */
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.25), 
        0 8px 15px rgba(0, 0, 0, 0.15);    
}

.didascalia
{
	font-family: verdana;
    font-size: 1rem;	
    text-align: center;
    width: 100%;
}

.page-main-content,
.page-main-content p
{
	font-family: verdana;
    font-size: 1.2rem;	
}

.page-main-content b,
.page-main-content p b,
.page-main-content strong,
.page-main-content p strong
{
	color:#0F208F;
}


#certificazioni-centrato {
    max-width: 1500px; /* Opzionale: limita la larghezza massima */
    margin: 0 auto; /* Backup per il centraggio */
}

.certificazioni-img
{
	height:60px;
	display: inline-block;
	padding:8px 8px 8px 0;
}


.certificazioni-loghi {
    display: flex;
    flex-wrap: wrap;
    gap: 0rem;
    justify-content: left; /* Centra i loghi orizzontalmente */
}

.home-page-title
{
	font-size: 2rem;
	line-height: 2.5rem;
	color: #10208f;
	font-weight: 300 !important;	
}

.blocco
{
	width:16.666%;
	padding:2px;
}

.blocco-immagine
{
	position: relative;
}

.triangolo-su {

    width: 30px;
    height: 30px;
    background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='50,0 0,86.6 100,86.6' fill='%2310208f'/></svg>") no-repeat center center;
    background-size: contain;
    background-color: transparent;
    position: absolute;
    bottom: -6px;  
}

.triangolo-giu {
    	width: 30px;
    	height: 30px;
  		background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='0,13.4 100,13.4 50,100' fill='%2310208f'/></svg>") no-repeat center center;
	  background-size: contain;
	  background-color: transparent;
    position: absolute;
    top: -6px;  	  
}


.blocco-blu-txt
{
	background: #FFFFFF;
	color:#10208f;
	aspect-ratio: 1 / 1;
	border: 2px solid #10208f;
}

.blocco-blu-txt
{
	color:#10208f !important;
}

.blocchetti
{
	font-size: 1.8rem;
	line-height: 2.3rem;
	color: #FFF;
	font-weight: 300;	
}


.btn-custom {
  background-color: #10208f;
  color: #fff;
  border: none;
}

.btn-custom:hover {
  background-color: #3142ba; 
  color: #fff;
}


#link-blocco
{
	padding-bottom:300px;
}

#link-blocco p
{
	font-family: verdana;
	font-size: 1.2rem;
}


.loghetto
{
	width:20%;
	max-width:140px;
	float:left;
	margin-right:40px;
	margin-left:10px;
}


#masthead {
    transition: transform 0.3s ease-in-out;
    position: fixed;
    width: 100%;
    max-width: 100vw;
    top: 0;
    left: 0;
    z-index: 1030; 
}

.header-hidden {
    transform: translateY(-100%);
}




@media only screen and (max-width: 991px) {



	.blocchetti
	{
		font-size: 1.2rem;
		line-height: 1.5rem;
		aspect-ratio: 1 / 0.5;
	}

}


.bootscore-footer-info
{
	color:#FFF !important;
	font-family: verdana;
	font-size: 12px;
}

footer .bg-body-tertiary
{
	background: #10208f !important;
	color: #FFF;
}


footer .bg-body-tertiary a
{
	color: #FFF;
}


.logosotto
{
	max-width: 150px !important;
}

.header-actions .account-toggler,
.header-actions .cart-toggler
{
	display: none !important;
}

.header-actions button
{
	color: #FFF !important;
	border-color: #FFF !important;
}

.blocco
{

	transition: scale 0.6s;
}

.blocco:hover
{
	scale: 0.96;
}	


.header-product-category
{
	height: 50vh !important;
}

.wc-breadcrumb,
.woocommerce-result-count,
.woocommerce-ordering
{
	display: none;
}

.woocommerce img, .woocommerce-page img {
    
        border-radius: unset;
}

.card 
{
    position: relative;
    display: inline-block;
}

.product
{
	cursor: pointer;
}

/*
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(16, 32, 143, 0) 0%,
        rgba(16, 32, 143, 0.05) 100%
    );
  
}
*/


.card h2 {

    
    color:#FFF !important;
    line-height: 2rem;
    
}

.card {

    background: #10208f !important;
    color:#FFF;
	border: 0 !important;
    border-radius: unset;

}

#modalDesc
{
    display:none;
}

#modalImgBox
{
}

.offcanvas-title
{
	font-family: verdana;
}

nav .page-link
{
	font-family: verdana;
}


.blog .card {
	background: #FFF !important;
	color: #3242BA;
    border: 0 !important;
    border-radius: unset;
}

.blog .card h2 {
	
	color: #3242BA !important;
}

.blog .card p {
	font-family: verdana;
}

#contenutoEspandibile .card.card-body
{
	background: #FFF !important;
	color: #3242BA;
}

.category-badge
{
	display: none;
}

.blue-title,
.read-more
{
	color: #3242BA !important;
}

.footer_widget
{
	font-family: verdana;
}


#menu-product-footer-menu-eng-1  li a,
#menu-footer-menu-eng-1 li a,
#menu-product-footer-menu-eng  li a,
#menu-footer-menu-eng li a,
#menu-product-footer-menu  li a,
#menu-footer-menu li a
{
	text-decoration: none;
	font-family: verdana;
	font-size: 20px;
}

#menu-product-footer-menu-eng-1  li a:before,
#menu-footer-menu-eng-1 li a:before,
#menu-product-footer-menu-eng  li a:before,
#menu-footer-menu-eng li a:before,
#menu-product-footer-menu  li a:before,
#menu-footer-menu li a:before
{
	content:"• ";
}

.posted-on .time-updated-separator,
.posted-on .updated,
span.byline
{
	display: none;
}


.perForm
{
	max-width:90vw !important;
}


aside #secondary
{
	display: none;
}

.perForm input,
.perForm textarea,
.perForm label
{
	max-width:100%;
}

.entry-footer nav,
.entry-footer h2.h4
{
	display: none;
}

.related-posts
{
	padding-top:40px;
}

.woocommerce .related.products::before {
	content: "";
	display: block;
	height: 1px;
	background: #0F208F;
	margin: 40px 0 30px;
}

@media only screen and (max-width: 600px) {

	.navbar {
	    min-height: 90px;
	}




	#nav-main .offcanvas.offcanvas-end.show {
	    height: 100vh;
	}


    #offcanvas-navbar a.nav-link {
        padding-left:10px;
    }

    #offcanvas-navbar a.nav-link.active {
        color: #FFF !important;
    }

	#modalDesc
	{
	    color: #10208f;
	    font-family: verdana;
	    font-size: 1.2rem;
	    padding:30px;
	    display: block;
	    text-align: center;
	}

	.product-overlay
	{
		display: none !important;
	}


	.polaroid {
	    padding: 5px; /* Spazio per il bordo bianco */
	}



	
	.container
	{
		margin-left:4% !important;
		margin-right:4% !important;
		width: 92%;
	}

	.certificazioni-testo
	{
		font-size: 1.2rem;
	}

	.enfatizzato p, .enfatizzato {
	    font-size: 1.4rem !important;

	}	

	#offcanvas-navbar a
	{
		color: #10208f !important;
	}

	#offcanvas-navbar .offcanvas-title
	{
		color: #10208f !important;
	}

	.digradante h2
	{
		margin-bottom: -6px;
	}


	.home-page-title {
	  font-size: 1.5rem;
	  line-height: 2.0rem;
	  margin-bottom: -40px;
	}	

	.home-page-title p {
	  font-size: 1.5rem;
	  line-height: 2.0rem;
	}	


	.navbar-brand
	{
		max-width: 66% !important;
	}
	.navbar-brand img
	{
		max-width: 100% !important;
	}


	.loghetto
	{
		display: none;
	}


	.home-page-title
	{
		padding-left:16px;	
		padding-right:16px;	
	}	


	.blocco
	{
		width:100%;
	}

	.blocchetti
	{
		font-size: 2rem;
		line-height: 2.5rem;
		color: #FFF;
		font-weight: 300 !important;	
	}	

	

	.certificazioni-fondo-blu
	{
		padding:40px;
		max-width: 90%;
	}	


	.carousel-control-prev,
	.carousel-control-next
	{
		margin-top:50px;
		font-weight: 900 !important;
	}


	.triangolo-su {

	    width: 60px;
	    height: 60px;
	    background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='50,0 0,86.6 100,86.6' fill='%2310208f'/></svg>") no-repeat center center;
	    background-size: contain;
	    background-color: transparent;
	    position: absolute;
	    top: auto !important;
	    bottom: -12px !important;  
	}

	.triangolo-giu {
	    width: 60px;
	    height: 60px;
	    background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='50,0 0,86.6 100,86.6' fill='%2310208f'/></svg>") no-repeat center center;
	    background-size: contain;
	    background-color: transparent;
	    position: absolute;
	    top: auto !important;
	    bottom: -12px !important;  
	}

}

#blogImage
{
	width:100%;
	height:calc(100% / 1.6);
	overflow:hidden;
	position:relative;
}

#blogImage img
{
	width:100%;
	height:calc(100% / 1.6);
	position:absolute;
	bottom:0;
	left:0;
}


.nav-link:hover, .nav-link:focus {
    color: #FFF !important;
    text-decoration: underline;
}

#iubendaBTNA
{
	border-top: 1px solid #FFF !important;
	padding-top: 16px !important;

}

#iubendaBTNA,
#iubendaBTNB
{
	background: transparent !important;
	color:#FFF !important;
	font-size:18px !important;
	margin-left: -6px !important;
	font-family: verdana !important;
	font-weight: 400 !important;
	border: 0px #0F208F transparent !important;

}


#iubendaBTNA:before,
#iubendaBTNB:before
{
	content:"• ";
}

.simpleText p
{
    color: #10208f;
    font-family: verdana;
    font-size: 1.3rem;
    margin-bottom:10px;
    font-size: 18px;
}

.wpcf7 form
{
    color: #10208f;
    font-family: verdana;
    font-size: 1.3rem;
}


.wpcf7 form label
{
    margin-bottom:10px;
    font-size: 14px;
}

.wpcf7-form-control-wrap
{
    width: 100%;
    display: block;
}



.woocommerce ul.products li.product a img {
    cursor: pointer !important;
}

/* Container per l'immagine del prodotto */
.woocommerce ul.products li.product a img {
    position: relative;
    transition: all 0.3s ease;
}

/* Overlay che appare al hover */
.card .product-overlay {

    position: absolute;
    top: 0% !important;
    left: 0;
    width: 100%;
    height: 75% !important;
    background: rgba(255,255,255,0.8);

	background: linear-gradient(
	    to bottom,
	    rgba(255, 255, 255, 1) 0%,
	    rgba(255, 255, 255, 0.0) 100%
	);    
    
    color: #10208f;
    font-family: verdana;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    /*pointer-events: none;*/

    cursor:pointer !important;
}

.card .product-overlay.product-overlay-image {

	background: transparent;
	padding: 0 0 0 0 !important;
	margin: 0 !important;
	height: auto !important;
	cursor: pointer !important;

}

.card .product-overlay.product-overlay-image .overlay-content,
.card .product-overlay.product-overlay-image .overlay-content img
{
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer !important;
}

.category_link
{
    background: #10208f !important;
    color:#FFF;
	border: 0 !important;
    border-radius: unset;
    padding:20px;
    color:#FFF;
    text-align: center;
    font-size: 1.3rem !important;

}

/* Mostra l'overlay al hover */
.card:hover .product-overlay {
    opacity: 1;
}

/* Posizionamento relativo per il container */
.woocommerce ul.products li.product a {
    position: relative;
    display: block;
}

.modal-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-image-content {
    position: relative;
    background: #fff;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 10px #000;
}

.modal-image-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}
