/* @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: #B197FC;
    --secondary-color: #8d6af5;
}

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.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    height: 50vh;
    min-height: 300px;
    padding: 0;
    padding-top: 15vh;

    position: relative;
}

#sommario-centrale {
    max-width: 80%; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    text-align: center;
}

#sommario-centrale h2 {
    font-size: 40px;
}

.processo-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1000px;
    margin: 25px auto;
}

.fase {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-right: 20px;
}

.contenuto-fase {
    background-color: #f3f0ff;
    border-radius: 15px;
    padding: 20px;
    flex-basis: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 180px;
    min-width: 200px;
    border: 3px solid #8c86e6;
}

.numero-fase {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-top: 0;
}

.contenuto-fase p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.4;
}

.freccia {
    width: 30px;
    height: 10px;
    background-color: #8c86e6;
    position: relative;
    margin: 0 10px;
}

.freccia::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #8c86e6;
}

.fase.finale {
    padding-right: 0;
    flex-grow: 0;
}

.fase.finale .contenuto-fase {
    margin-right: 0;
}

.fase.finale .freccia {
    display: none;
}

.lista-attivita {
    max-width: 2500px;
    display: flex;
    margin: 30px auto;
    margin-left: auto;
    margin-right: 150px;
    border-radius: 15px;
    overflow: hidden;
}

.colonna {
    background-color: #f3f0ff;
    padding: 35px;
    flex-basis: 100%;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    min-height: 250px;
    min-width: 400px;
    border: 5px solid #8c86e6;
}

.colonna.inclusa {
    border-right: none;
}

.lista-attivita ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-attivita li {
    position: relative;
    padding: 12px 0 12px 40px;
    line-height: 1.5;
    font-size: 19px;
    color: #333;
}

#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;
    }
}

@media (max-width: 768px) {
    .processo-container {
        flex-direction: column;
        align-items: center;
    }

    .fase {
        width: 90%;
        margin-bottom: 20px;
        flex-direction: column;
        align-items: center;
        padding-right: 0;
    }

    .contenuto-fase {
        margin-bottom: 10px;
        width: 100%;
        margin-left: auto;
    }

.freccia {
    width: 5px;
    height: 50px;
    margin: 20px auto 20px auto;
    position: relative;
    background-color: #8c86e6; 
    margin-left: auto;
}

.freccia::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%); 
    top: 100%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #8c86e6;
    border-bottom: none; 
}

.fase.finale .freccia {
    display: none;
}

.lista-attivita {
    flex-direction: column; 
    width: 100%;
    height: 100%;
    align-items: center;
}

}

.btnRound {
    border-radius: 20px;
    min-width: 125px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: rgb(255, 255, 255) !important;
}

.btnRound2 {
    --main-color: rgb(140, 134, 230) !important;
    --secondary-color: rgb(141, 106, 245) !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: #ffffff !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;
    }
}

@media (max-width: 800px) and (orientation: landscape) {
  .processo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }

  .fase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 400px;
    margin-bottom: 20px;
    padding-right: 0;
    text-align: center;
    box-sizing: border-box;
  }

  .contenuto-fase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    width: 100%;
  }

  .freccia {
    width: 5px;
    height: 50px;
    background-color: #8c86e6;
    position: relative;
    margin: 20px auto;
  }

  .freccia::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #8c86e6;
    border-bottom: none;
  }

  .fase.finale .freccia {
    display: none;
  }
  
}

@media only screen and (min-width: 1200px) {
    .processo-container {
      display: flex;
      flex-direction: row; 
      align-items: center;
      width: 100%;
      margin-left: -120px;
    }

    .fase {
        width: calc((100% / 3) - 1px);
        margin: 0;
        padding: 20px; 
        display: block; 
        box-sizing: border-box;
        position: relative; 
        height: auto; 
    }
    
    .fase:not(:last-child) {
        margin-right: 100px; 
    }

    .contenuto-fase {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .freccia {
        display: none !important;
    }

    .fase:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -100px; 
        top: 50%;
        transform: translateY(-50%);
        width: 70px; 
        height: 4px; 
        background-color: #8c86e6; 
        z-index: 10;
    }

    .fase:not(:last-child)::before {
        content: '';
        position: absolute;
        right: -100px; 
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 8px solid transparent; 
        border-bottom: 8px solid transparent;
        border-left: 8px solid #8c86e6; 
        border-right: none;
        z-index: 11;
    }

    .fase.finale .freccia {
        display: none;
    }

    .home-cta-text {
        display: inline-block;
    }

    

}

.mobile-text {
        display: none;
    }

@media (max-width: 600px) {

    .default-text {
        display: none;
    }
    .mobile-text {
        display: inline-block;
    }
}


/**************************************************************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;
}