/*
 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
*/
@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
body { font-family: 'Inria Sans', Helvetica, Arial, sans-serif; font-size: 18px; line-height: normal; color: #717171; }
a { transition: all .3s;}
.skip-link { padding: 5px 10px; background-color: #205689; color: #ffffff; }
.skip-link:hover { padding: 5px 10px; background-color: #205689; color: #f6f6f6; }
#preloader { background-color: #205689 !important; }
.spinner-border { color: #ffffff !important; border: solid #ffffff !important; border-right-color: transparent !important;}
#header { position: relative; --bs-gutter-x: 0; background-color: #205689; }
.header-logo { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); text-align: center; width: 300px; z-index: 10; }
.header-img img { width: 100%; }
.header-claim {  position: absolute; top: 80%; left: 50%; transform: translate(-50%,-50%); width: 100%; text-align: center; z-index: 10; color: #ffffff; font-size: 3em; }
.titoli-h2 { font-size: 2.5em; line-height: normal; color: #205689; margin-bottom: 25px; }
.titoli-h2-white  { font-size: 2em; line-height: normal; color: #ffffff; margin-bottom: 25px; }
#chi-siamo, #vision, #mission, #valori, #competenze { padding-top: 60px;}
.chi-siamo-logo img { width: 70%; }
.vision-img { margin-top: 25px; }
.vision-img img, .valori-img img { width: 100%; }
.valori, .valori1 { background-color: #205689; padding: 20px; }
#valori .sx { padding-right: 0; padding-left: 0; }
#valori1 { max-height: 425px; }
.sx1 { display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: row; }
.valori p, .valori1 p { color: #ffffff; }
.competenze-ico { text-align: center; margin-bottom: 20px; }
.competenze-title { width: 90%; margin: auto; font-size: 1.35rem; text-align: center; }
#footer { margin-top: 60px; background-color: #205689; padding: 40px 20px; }
.contatti { display: flex; justify-content: flex-start; align-items: flex-start; }
.footer-logo { width: 120px; margin-right: 30px; }
.footer-contact { padding: 0 0 0 30px; color: #ffffff; font-size: .9em; line-height: 1.4em; font-weight: 300; }
.footer-contact a, .legal div p a { color: #ffffff; text-decoration: none; }
.footer-contact a:hover, .legal div p a:hover { opacity: .8;  text-decoration: underline; }
.titolo-footer-h2 { font-size: 1.2em; color: #ffffff; margin-bottom: 15px; }
.legal div { width: 80%; margin: 0 auto; }
.certificazioni div { width: 60%; margin: 0 auto; }
.legal div p { font-size: .9em; font-weight: 300; margin-bottom: 5px; }
.footer-copy { margin-top: 20px; padding: 20px; text-align: center; color: #ffffff; font-size: .8em; }
.top-button { background-color: #ffffff; border-radius: 0; color: #205689; border: 1px solid #205689; }
.top-button:hover { background-color: #205689; color: #fff; border: 1px solid #ffffff; }
.top-button.focus, .top-button:focus-visible { outline-color: #f6f6f6; outline-offset: 2px; outline-style: solid; outline-width: 1px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #000;
    color: #fff;
    padding: 0.5em 1em;
    z-index: 1000;
}
.testo-acc { line-height: 1.8em; }
.testo-acc h1 { font-size: 2.5em; line-height: normal; color: #205689; margin-bottom: 25px; }
.testo-acc h2 { color: #205689; margin-bottom: 25px; margin-top: 25px; }
.testo-acc h3 { color: #205689; margin-top: 20px; }
.testo-acc p { margin-bottom: 0; }
.testo-acc a { color: #205689; }
.testo-acc a:focus, .testo-acc a:focus-visible { outline-color: #205689; }
.error-404 { margin-top: 40px;}
.page-404 h1 { text-align: center}
.page-404 .back { text-align: center; margin-top: 50px; }
.page-404 .btn { display: unset; }
.btn-cosmeta { background: #205689;
    color: #ffffff;
    font-size: 1.3em;
    border: 1px solid #205689;
    border-radius: 0;
    padding: 10px 20px;
    --bs-btn-active-shadow: none;
    --bs-btn-box-shadow: none;
    width: 250px;
    transition: all .3s;
}
.btn-cosmeta:hover, .btn-cosmeta:active { color: #205689; background: #ffffff; border: 1px solid #205689; --bs-btn-active-color: #205689; --bs-btn-active-bg: #ffffff; --bs-btn-border-color: #205689; --bs-btn-disabled-border-color:  #205689; }
.btn-check:checked+.btn, :not(.btn-check)+.btn:active, .btn:first-child:active, .btn.active, .btn.show { border-color: #205689; }
.btn-cosmeta:focus, .btn-cosmeta:focus-visible, .btn:focus-visible { outline-color: #205689; outline-offset: 3px; outline-style: solid; outline-width: 1px; }
.btn:focus-visible { color: #205689; background-color: #ffffff; border-color: #205689; box-shadow: none;}
.text-404 { margin-top: 30px; margin-bottom: 30px; text-align: center; }




@media screen and (min-width: 1200px) and (max-width: 1400px) {
    .valori p { margin-bottom: 10px; }
}

@media screen and (max-width: 1085px) {
    .header-logo { width: 250px; }
}

@media screen and (min-width: 993px) and (max-width: 1199px) {
    .valori p { margin-bottom: 13px; }
}

@media screen and (max-width: 992px) {
    .chi-siamo-logo { text-align: center; margin-bottom: 50px; }
    .chi-siamo-logo img { width: 50%; }
}
@media screen and (max-width: 991px) {
    .header-logo { display: none; }
    .header-claim { top: 50%;}
    .legal div, .certificazioni div { width: 100%; margin-top: 60px; margin-bottom: 5px; }
}

@media screen and (max-width: 767px) {
    #header { min-height: 300px;
        background: url('https://cosmeta.it/wp-content/uploads/header.webp');
        background-repeat: no-repeat;
        background-size: cover;
    }
    .header-img { display: none; }
    .header-claim {font-size: 2em;}
    .chi-siamo-logo { text-align: center; margin-bottom: 50px; }
    .chi-siamo-logo img { width: 50%; }
    .competenze div { margin-bottom: 30px; }
    .legal div, .certificazioni div { width: 100%; margin-top: 40px; margin-bottom: 5px; }
}

@media (min-width: 576px) {
    /*.container, .container-sm { max-width: 90%; }*/
}

