/* @import url('https://fonts.googleapis.com/css2?family=PT+Sans&display=swap'); */
/* @import url("https://fonts.googleapis.com/css?family=Raleway:300,700"); */
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");



*{
    /* font-family: 'PT Sans', sans-serif; */
    font-family: "Nunito Sans", Helvetica, Arial, sans-serif;
}

:root{
    --color-white: #eee ;
    --footer-background-color: #3f3f3f;
    --footer-color: #eee;

    --main-color: #07b1d4 ;
    --secondary-color: #16414d;
}

html, body{
    height: 100% !important;
}

nav a{
    color: #343A40 !important;
    text-decoration: underline;
}

ul{
    list-style-type: none;
}

a{
    color: inherit;
}

a:hover{
    color: #a5a5a5;
}


/****************************************************/
#container-master{
    background-color: #ffffff;
    color: black ;
}

#intro {
    background-image: url('/assets/img/tutoraggio-guidonia-postscuola-metodo-di-studio-liberamente.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 50vh;
    min-height: 300px;
    padding: 0;
    padding-top: 15vh;
    position: relative;
}

/* Per schermi piccoli (telefoni) */
@media (max-width: 576px) {
    #intro {
        background-size: cover;
        padding-top: 20vh; /* Aumenta il padding per telefoni */
    }
}

/* Per schermi medi (tablet) */
@media (min-width: 577px) and (max-width: 768px) {
    #intro {
        background-size: cover;
        padding-top: 18vh; /* Regola il padding per tablet */
    }
}

/* Per schermi grandi (desktop) */
@media (min-width: 769px) {
    #intro {
        background-size: cover;
        padding-top: 15vh; /* Impostazione predefinita per desktop */
    }
}

#titleDiv{
    background-color: rgb(0 0 0 / 45%);
    color: var(--color-white);
    text-align: center;
    padding: 5px 10px;
}
#titleDiv>h1{
    font-size: 3em;
    font-weight: 600;
}

#cta{
    position: absolute;
    bottom: -58px;
    left: 50%;
    transform: translate(-50%, -50%);
}
#cta>a{
    font-size: 1.6em;
    padding: 4px 14px;
    width: 225px;
}

@media only screen and (min-width: 600px){
    #intro {
        background-attachment: fixed;
    }
}

.btnRound {
    border-radius: 20px;
    min-width: 125px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: black 
}

.btnRound2 {
    --main-color: rgb(32, 32, 32) !important;
    --secondary-color: rgb(59, 59, 59) !important;
    border-radius: 20px !important;
    width: fit-content !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    color: white !important;
}

input, select, textarea {
    border-radius: 8px !important;
}

#servizi{
    padding-top: 4em !important;
}

#servizi img{
    width: 60%;
    max-width: 150px;
    margin: 0 auto;
}

summary{
    width: 100%;
    margin: 10px 0px 0px 0px;
}

summary::after{
    content: '\002B';
    color: #111;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
details[open] summary:after {
    content: "\2212";
}

summary:hover::after{
    color: #eee;
}

details>p{
    background-color: #ddd;
    border-radius: 0 0 5px 5px;
    padding: 10px;
}


footer{
    background-color: var(--footer-background-color);
    color: var(--footer-color);
}

footer img{
    max-width: 100%;
    max-height: 125px
}

.form-floating>label{
    padding-left:1.5em;
}

#recaptcha > div{
    margin: 0 auto;
}

@media screen and (max-width: 575px){
    .g-recaptcha {
        transform:scale(0.77);
        -webkit-transform:scale(0.77);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
    }
}

.custom-container {
    max-width: 1600px !important;
}

/**************************************************************SCROLLBAR*****************************************************/

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
/* ::-webkit-scrollbar-track {
    background: #ffffff;
} */

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--main-color);
    /* border-radius: 5px; */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}


/*******************************************************************BOOTSTRAP OVERRIDE ***************************************/
.btn-primary, .btn-primary:active, .btn-check:focus+.btn-primary, .btn-primary:focus  {
    color: #ffffff;
    background-color:#216477;
    border-color:#216477;
    box-shadow: none;
}

.btn-primary2 {
    color: #ffffff !important;
    background-color: #216477;
    border-color: #216477;
    box-shadow: none;

}

.btn-success-pulse {
    animation: success-pulse-animate 2s linear infinite;
}
.btn-success-pulse:hover {
    animation: success-pulse-animate 1s linear infinite;
}
 
@keyframes success-pulse-animate {
    0% {
        box-shadow: 0 0 0 0 rgb(92, 104, 92, 0.7), 0 0 0 0 rgb(92, 104, 92, 0.7)
    }
 
    40% {
        box-shadow: 0 0 0 20px rgb(92, 104, 92, 0), 0 0 0 0 rgb(92, 104, 92, 0.7)
    }
 
    80% {
        box-shadow: 0 0 0 20px rgb(92, 104, 92, 0), 0 0 0 10px rgb(92, 104, 92, 0)
    }
 
    100% {
        box-shadow: 0 0 0 0 rgb(92, 104, 92, 0), 0 0 0 10px rgb(92, 104, 92, 0)
    }
}
 
.btn-primary-pulse {
    animation: primary-pulse-animate 2s linear infinite;
}
.btn-primary-pulse:hover {
    animation: primary-pulse-animate 1s linear infinite;
}
 
@keyframes primary-pulse-animate {
    0% {
        box-shadow: 0 0 0 0 #16414d, 0 0 0 0 #16414d
    }
 
    40% {
        box-shadow: 0 0 0 20px rgb(51, 122, 183, 0), 0 0 0 0 #16414d
    }
 
    80% {
        box-shadow: 0 0 0 20px rgb(51, 122, 183, 0), 0 0 0 10px rgb(51, 122, 183, 0)
    }
 
    100% {
        box-shadow: 0 0 0 0 rgb(51, 122, 183, 0), 0 0 0 10px rgb(51, 122, 183, 0)
    }
}
 
 
    .ak-ricerca-img{
        max-height:40px; display:inline !important;
    }
pre{
    margin: 0!important;
}
 
.btn-pulse {    
  box-shadow: 0 0 0 0 rgba(232, 76, 61, 0.7) !important;
  -webkit-animation: pulse 1s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 1s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 1s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 1s infinite cubic-bezier(0.66, 0, 0, 1);
}
.btn-pulse:hover
{
  -webkit-animation: pulse 0.3s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 0.3s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 0.3s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 0.3s infinite cubic-bezier(0.66, 0, 0, 1);
}
@-webkit-keyframes pulse {to {box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);}}
@-moz-keyframes pulse {to {box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);}}
@-ms-keyframes pulse {to {box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);}}
@keyframes pulse {to {box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);}}

.btn-primary:hover {
    color: #fff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: none;
}
.btn-primary2:hover {
    color: #fff;
    background-color: #12323b;
    border-color:#12323b;
    box-shadow: none;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    outline: 0;
    /* box-shadow: 0 0 0 0.25rem rgb(36 187 9 / 25%); */
    box-shadow: none;
}

.form-check-input:checked{
    background-color: var(--main-color);
    border-color: var(--secondary-color);
}

#telefonoScopriBtn, #telefonoScopertoBtn{
    width: 175px;
}

.boldH2{
    font-weight: bold;
    color:black;
}

.highlightText{
    color: var(--main-color);
}

#fixedHeader{
    display: none;
    position: fixed;
    top: 0;
    z-index: 99;
    background: rgb(34 34 34 / 90%);
    color: white;
    text-align: center;
}

#fixedHeader h1{
    margin: 2px;
}