/* @import url('https://fonts.googleapis.com/css2?family=PT+Sans&display=swap'); */
@import url("https://fonts.googleapis.com/css?family=Raleway:300,700");


*{
    /* font-family: 'PT Sans', sans-serif; */
    font-family: "Raleway", Helvetica, Arial, sans-serif;
}

:root{
    --color-white: #eee;
    --footer-background-color: #3C3C3C;
    --footer-color: #eee;

    --main-color: #5c0a0a;
    --secondary-color: #3a0707;
}

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: white;
}

#intro{
    background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3)), url('/assets/img/img_background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    height: 50vh;
    min-height: 300px;
    padding: 0;
    padding-top: 15vh;

    position: relative;
}

#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;
}

@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: rgb(255, 255, 255) !important;
}

.btnRound2 {
    --main-color: rgb(255, 255, 255) !important;
    --secondary-color: rgb(168, 168, 168) !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: #5c0a0a !important;
    font-weight: bold;
}

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;
    }
}

/**************************************************************SCROLLBAR*****************************************************/

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #ffd698;
}

/* 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: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
    box-shadow: none;
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    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: #ffffff;
}
.boldH2-B{
    font-weight: bold;
    color: #000000;
}

.highlightText{
    color: var(--main-color);
}

#fixedHeader{
    display: none;
    position: fixed;
    top: 0;
    z-index: 99;
    background: rgba(147, 147, 147, 0.9);
    color: white;
    text-align: center;
}

#fixedHeader h1{
    margin: 2px;
}