/****
    Regole di stile custom prima di eseguire qualsiasi modifica eseguire un backup
***/

/****CUSTOM RULES*****/

:root {
    --std-font-size: 20px;
    --std-line-height: 24px;
    --std-container-width: 950px;
    --std-blue-color: #476FD6;
    --std-grey-color: #d7e3e9;
    --std-mt: 70px;
    --std-black: #000;
}

#bottom-sidebar, 
#kopa-page-footer {
    position: relative;
    z-index: 999999;
}

.custom_container {
    width: var(--std-container-width);
    height: auto;
    margin: 30px auto 50px auto;
}

a.custom_button {
    display: inline-block;
    padding: 10px;
    background-color: var(--std-blue-color);
    color: #fff;
    text-decoration: none;
    border: 2px solid var(--std-blue-color);
    border-radius: 8px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 20px;
    font-size: 21px;
    line-height: 23px;
    font-weight: 500 !important;
}

a.custom_button:hover {
    color: var(--std-blue-color);
    background-color: #fff;
}

.custom_container h1 {
    color: var(--std-blue-color);
}

.custom_container h2 {
    font-size: 30px;
    color: #4d4d4d;
    margin: 20px 0;
}

.custom_container h2 span b {
    font-weight: 800;
}

.custom_container p.paragraph {
    font-size: var(--std-font-size);
    line-height: var(--std-line-height);
    color: var(--std-black);
    font-weight: 500;
}

.custom_container .card-layout-item iframe {
    height: 534px;
    margin: 50px 0 0 0;  
    padding: 0 !important;
    width: 100%;
}

/*HOME PAGE*/

#sede_section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;  
  justify-content: space-around;
  margin-top: var(--std-mt);
}

#sede_section div:first-of-type {
    flex: 0 35%;
    display: inherit;
}

#sede_section img {
    flex: 0 100%;
    height: 600px;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
}

#sede_section_text {
    flex: 0 50%;
    display: inherit;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

#sede_section_text h3 {
    margin-bottom: 0;
    font-size: 50px;
    color: var(--std-blue-color);
}

#sede_section_text p:first-of-type {
    margin: 25px 0;
}

#sede_section_text p:nth-of-type(2) {
    font-size: 16px;
}

#sede_section_text p {
    font-size: var(--std-font-size);
    line-height: var(--std-line-height);
}

#info_section {
    margin-top: var(--std-mt);
}

#info_section h2 {
    text-transform: uppercase;
    text-align: center;   
    color: var(--std-blue-color);
    font-weight: 600;
}

#info_section ul {
    columns: 2;
    -webkit-columns: 2;
    padding: 0;
}

#info_section ul li p {
    color: var(--std-blue-color);
    font-size: 23px;
    line-height: 26px;
    font-weight: 500;
}

#info_section ul li {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
}
  
#info_section ul li::before {
    content: "";
    width: 3rem;
    height: 3rem;
    border-radius: 5px;
    background: var(--std-grey-color);
    opacity: 0.7;
    margin-right: 0.9rem;
}

#section_iscrizioni {
    margin: var(--std-mt) 0;
}

#section_iscrizioni h2 {
    color: var(--std-blue-color);
    text-transform: capitalize;
    font-size: 45px;
}

#section_iscrizioni h4 span b {
    color: #7C0A02;
}

#section_iscrizioni p:last-child {
    text-align: center;
}

#section_iscrizioni a.custom_button:first-of-type {
    margin-right: 20px;
}

#section_docenti {
    margin-top: var(--std-mt);
}

#section_docenti h2 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--std-blue-color);
}

#docenti_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.docente_item {
    flex: 0 30%;
    text-align: center;
}

.docente_img {
    width: 100%;
    height: calc(100%*1/3);
    border-radius: 50%;
    overflow: hidden;
}

.docente_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

p.docente_nome {
    color: var(--std-blue-color);
    margin: 20px 0 10px 0;
    font-size: 28px;
    line-height: 31px;
    font-weight: 600;
}

p.docente_professione {
    font-size: 22px;
    line-height: 25px;
    font-weight: 600;
}

#section_docenti p:last-of-type {
    text-align: center;
}

#section_contatti {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--std-mt);
    margin-bottom: 50px;
}

#section_contatti h2 {
    flex: 0 100%;
    color: var(--std-blue-color);
}

#section_contatti .box_contatti {
    flex: 0 45%;
    display: inherit;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--std-grey-color);
    margin-bottom: 20px;    
    border-radius: 10px;
    padding: 20px;
}

#section_contatti p.header_box_contatti {
    color: var(--std-blue-color);
    text-transform: capitalize;
    font-size: 25px;
    line-height: 28px;
    font-weight: 400;
}

#section_contatti p.info_box_contatti {
    font-size: var(--std-font-size);
    line-height: var(--std-line-height);
    font-weight: 400;
    color: var(--std-black);
}

/*SEDE*/

#sede_first_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 30px;
}

#sede_first_section #first_section_text {
    flex: 0 45%;
    text-align: left;
}

#sede_first_section #first_section_text h1 {
    color: var(--std-black);
    font-weight: 700;
    font-size: 65px;
    line-height: 70px;
}

#sede_first_section #first_section_text h2 {
    color: var(--std-blue-color);
    font-weight: 800;
    font-size: 20px;
    line-height: 23px;
    margin-bottom: 10px;
}

#sede_first_section #first_section_text p {
    line-height: 26px;
}

#sede_first_section #first_section_photo {
    flex: 0 48%;
}

#sede_first_section #first_section_photo img {
    width: 100%;
    border-radius: 10px;
}

#sede_first_section #first_section_photo a.custom_button {
    margin-top: 0;
}

#sede_servizi_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: var(--std-mt);
}

#sede_servizi_section h2 {
    flex: 0 100%;
    color: var(--std-black);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 40px;
}

#sede_servizi_section .box_servizi {
    flex: 0 22%;
}

#sede_servizi_section .box_servizi .box_servizi_img {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
}

#sede_servizi_section .box_servizi .box_servizi_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
}

#sede_servizi_section .box_servizi .box_servizi_title p {
    font-size: 25px;
    line-height: 48px;
    font-weight: 700;
    color: var(--std-black);
}

#sede_servizi_section .box_servizi .box_servizi_description p {
    font-size: 20px;
    line-height: 25px;
}

#section_utils_info {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: var(--std-mt);
}

#section_utils_info h2 {
    flex: 0 100%;
    font-weight: 800;
    font-size: 40px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

#section_utils_info .box_utils_info {
    flex: 0 49%;
    padding: 20px 10px;
    background-color: #dadbf1ff;
    border-radius: 15px;
    margin-bottom: 20px;
}

#section_utils_info .box_utils_info:first-of-type {
    padding-bottom: 20%;
}

#section_utils_info .box_utils_info img:first-of-type {
    mix-blend-mode: multiply;
}

#section_utils_info .box_utils_info img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

#section_utils_info .box_utils_info h3 {
    font-size: 22px;
    font-weight: bold;
}

#section_utils_info .box_utils_info h3 span {
    font-weight: bold;
}

#section_utils_info .box_utils_info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--std-black);
    margin: 20px 0;
}

#section_utils_info .box_utils_info:first-of-type .layout-item p:first-of-type,  
#section_utils_info .box_utils_info:first-of-type .layout-item p:nth-of-type(2) {
    margin: 0 0 40px 0;
}

#section_utils_info .box_utils_info:nth-of-type(3) {
    padding-bottom: 5%;
}

#gallery_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: var(--std-mt);
}

#gallery_section h2 {
    flex: 0 100%;
    text-align: center;
    font-weight: 800;
    font-size: 50px;
    color: var(--std-black);
    margin-bottom: 30px;
}

#gallery_section img {
    flex: 0 32%;
    height: 210px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2%;
    object-fit: cover;
}

#gallery_section p:last-of-type {
    flex: 0 100%;
    text-align: center;
    display: inherit;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

#gallery_section p a.custom_button {
    display: block;
    margin: 0 auto;
}

#map_section {
    width: 100%;
    margin-top: var(--std-mt);
}

#map_section h2 {
    font-size: 45px;
    font-weight: 700;
}

#map_section iframe {
    width: 100%;
    height: 400px;
    margin-top: 20px;
}

/**ISCRIZIONI**/

#first_section_iscrizioni {
    margin-top: 30px;
}

#first_section_iscrizioni h1 {
    color: var(--std-black);
    font-weight: 700;
}

#first_section_iscrizioni h2 {
    font-size: 22px;
    line-height: 30px;
    color: #7C0A02;
}

#first_section_iscrizioni p:last-of-type {
    text-align: center;
}

#warning_section {
    background-color:rgb(252, 242, 181);
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 5px;
    margin-top: 25px;
}

#warning_section img {
    height: 30px;
    width: 30px;
    object-fit: contain;
    mix-blend-mode: multiply;
    margin-right: 10px;
}

#warning_section p {
    color: var(--std-black);
    display: inline-block;
    font-size: 22px;
    font-weight: 500;
}

#requisiti_section {
    margin-top: var(--std-mt);
    width: 100%;
}

.requisito_box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 35px;
}

.requisito_number {
    flex: 0 5%;
    height: 45px;
    border-radius: 10px;
    background-color: #dadbf1ff;
    text-align: center;
    display: inherit;
    align-items: center;
    justify-content: center;
    color: var(--std-black);
    font-weight: 700;
    font-size: 30px;
    margin-right: 20px;
}

.requisito_title {
    flex: 0 90%;
}

.requisito_title p {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--std-black);
    font-size: 30px;
}

.requisito_description {
    flex: 0 90%;
    margin-left: calc(5% + 20px);
}

.requisito_description p {
    color: var(--std-black);
    font-size: 20px;
    font-weight: 400;
    line-height: 27px;
}

#obiettivi_section {
    margin-top: var(--std-mt);
}

#obiettivi_section h2 {
    text-align: center;
    font-weight: 700;
    font-size: 45px;
    color: var(--std-black);
}

#obiettivi_section p {
    font-size: 20px;
    line-height: 25px;
    font-weight: 500;
}

#obiettivi_section p:first-of-type {
    margin-top: 30px;
}

#obiettivi_section .founder {
    margin: 30px auto 0 auto;
    text-align: center;
}

#obiettivi_section .founder_picture {
    width: 280px;
    height: 280px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto;

}

#obiettivi_section .founder_picture img.alignnone {
    margin: 0;
    width: 100%;
    height: 100%;
    object-position: center center;
    object-fit: cover;
}

#obiettivi_section .founder_name p {
    font-size: 25px;
    margin: 20px 0;
    font-weight: bold;
    color: var(--std-black);
}

#obiettivi_section .founder_role p {
    margin: 0;
    font-weight: 700;
    color: var(--std-black);
}

/**PIANO DIDATTICO**/

#piano_didattico_first_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#piano_didattico_first_section .photo_section {
    flex: 0 30%;
    border-radius: 10px;
    overflow: hidden;
}

#piano_didattico_first_section .photo_section img {
    height: 350px;
    width: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center center;
}

#piano_didattico_first_section .text_section {
    flex: 0 60%;
}

#piano_didattico_first_section .text_section p {
    font-size: 25px;
    line-height: 36px;
    color: var(--std-black);
    font-weight: 600;
}

#calendario_section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: var(--std-mt);
}

#calendario_section h2 {
    font-size: 50px;
    color: var(--std-blue-color);
}

#calendario_section {
    text-align: center;
}

#calendario_section p {
    font-size: 23px;
    font-weight: 500;
    color: var(--std-black);
}

#calendario_section #image_calendar {
    width: 100%;
    margin: 20px 0;
}

#calendario_section #image_calendar img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#calendario_section img {
    height: 80px;
    width: auto;
    object-fit: cover;
}

#calendario_section a.custom_button {
    display: block;
}

#pratica_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--std-mt);
}

#pratica_section .photo_section {
    flex: 0 30%;
    border-radius: 10px;
    overflow: hidden;
}

#pratica_section .photo_section img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
}

#pratica_section .text_section {
    flex: 0 60%;
}

#pratica_section .text_section h2 {
    color: var(--std-blue-color);
    font-size: 45px;
    line-height: 48px;
    text-transform: uppercase;
    font-weight: 500;
}

#pratica_section .text_section p {
    color: var(--std-black);
    font-size: 20px;
    line-height: 25px;
    font-weight: 500;
}

#tirocinio_section {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin-top: var(--std-mt);
}

#tirocinio_section h2 {
    flex: 0 100%;
    text-align: center;
    color: var(--std-blue-color);
    font-size: 50px;
    margin-bottom: 50px;
}

#tirocinio_section .box_tirocinio {
    flex: 0 35%;
    text-align: center;
}

#tirocinio_section .box_tirocinio:first-of-type {
    margin-right: 50px;
}

#tirocinio_section .box_tirocinio .tirocinio_image {
    width: 100%;
    height: 330px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 20px;
}

#tirocinio_section .box_tirocinio .tirocinio_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
}

#tirocinio_section .box_tirocinio .tirocinio_nome p {
    font-size: 30px;
    color: var(--std-blue-color);
    font-weight: 500;
}

#tirocinio_section .box_tirocinio .tirocinio_ruolo {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--std-black);
}

#tirocinio_section .box_tirocinio .tirocinio_giorni {
    margin-top: 5px;
    font-size: 18px;
    font-weight: 500;
    color: var(--std-black);
}

/**MEMBRI**/

#cont_membri {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
} 

#cont_membri .docente_item {
    display: inherit;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

#cont_membri .docente_item .docente_img {
    flex: 0 10%;
}
 
#cont_membri .docente_item .docente_info {
    flex: 0 85%;
    display: inherit;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

#cont_membri .docente_item .docente_info p.docente_nome {
    color: var(--std-blue-color);
    margin: 20px 0 0 0;
    font-size: 28px;
    line-height: 31px;
    font-weight: 600;
}


#cont_membri .docente_item .docente_info p {
    color: var(--std-black);
    font-size: 18px;
}

/**FAQ**/

.faq_title h2 {
    color: var(--std-blue-color);
    margin: 20px 0 0 0;
    font-size: 28px;
    line-height: 31px;
    font-weight: 600;
}

.faq_description p {
    color: var(--std-black);
    font-size: 18px; 
}

@media screen and (max-width: 1024px) {
    :root {
        --std-container-width: calc(100% - 100px);
    }
}

@media screen and (max-width: 912px) {
    #sede_section div:first-of-type {
        display: none;
    }

    #sede_section_text {
        flex: 0 100%;
    }

    /**SEDE**/

    #sede_first_section #first_section_text, #sede_first_section #first_section_photo {
        flex: 0 100%;
    }

    #sede_first_section #first_section_photo {
        margin-top: 20px;
    }

    #sede_first_section #first_section_photo img {
        height: calc(100vw*1/3);
        object-fit: cover;
    }

    #sede_servizi_section .box_servizi {
        flex: 0 45%;
        margin-bottom: 20px;
    }

    #section_utils_info .box_utils_info {
        flex: 0 100%;
    }

    #section_utils_info .box_utils_info:first-of-type,
    #section_utils_info .box_utils_info:nth-of-type(3) {
        padding-bottom: unset;
    }

    /**PIANO DIDATTICO**/

    #tirocinio_section .box_tirocinio .tirocinio_image {
        height: 280px;
    }

    #calendario_section h2 {
        font-size: 40px;
    }

    #calendario_section p {
        font-size: 20px;
    }

    #calendario_section img {
        height: 60px;
    }
}

@media screen and (max-width: 768px) {
    .custom_container h2 {
        line-height: 40px;
    }

    .custom_container .card-layout-item iframe {
        height: 300px;
    }

    #logo_sitri img {
        width: 150px;
    }

    #info_section {
        margin-top: 40px;
    }

    #info_section ul {
        columns: 1;
        -webkit-columns: 1;
    }

    #section_iscrizioni a.custom_button:first-of-type {
        margin-right: 0;
    }

    #section_iscrizioni {
        margin: 40px 0;
    }

    #section_iscrizioni a.custom_button {
        display: block;
    }

    #section_docenti,
    #section_contatti {
        margin-top: 40px;
    }

    #section_contatti .box_contatti {
        flex: 0 100%;
    }

    /**SEDE**/

    #gallery_section {
        flex: 0 48%;
        margin-bottom: 2%;
    }

    /**ISCRIZIONI**/

    .requisito_number {
        flex: 0 8%;
        height: 35px;
        font-size: 22px;
    }    

    .requisito_title {
        flex: 0 87%;
    }

    .requisito_title p {
        font-size: 20px;
    }

    .requisito_description {
        flex: 0 87%;
        margin-left: calc(8% + 20px);    
    }

    .requisito_description p {
        font-size: 18px;
        line-height: 24px;
    }

    #obiettivi_section h2 {
        font-size: 30px;
    }

    #obiettivi_section p {
        font-size: 18px;
        line-height: 23px;
    }

    /**PIANO DIDATTICO**/

    #piano_didattico_first_section .photo_section {
        display: none;
    }

    #piano_didattico_first_section .text_section {
        flex: 0 100%;
    }
    
    #pratica_section .photo_section {
        flex: 0 100%;
        height: calc(100vw*2/3);
        order: 1; 
        -webkit-order: 1;
        margin-bottom: 25px;
    }

    #pratica_section .text_section {
        flex: 0 100%;
        order: 2;
        -webkit-order: 2;
    }

    #tirocinio_section {
        justify-content: space-between;
    }

    #tirocinio_section .box_tirocinio {
        flex: 0 45%;
    }

    #tirocinio_section .box_tirocinio:first-of-type {
        margin-right: 0;
        margin-bottom: 40px;
    }

    #tirocinio_section .box_tirocinio .tirocinio_image {
        height: calc(40vw*2/2);
    }

    /**MEMBRI**/

    #cont_membri .docente_item .docente_img {
        flex: 0 15%;
    }

    #cont_membri .docente_item .docente_info {
        flex: 0 95%;
    }

}

@media screen and (max-width: 600px) {
    :root {
        --std-container-width: calc(100% - 50px);
        --std-mt: 50px;
    }

    a.custom_button {
        font-size: 19px;
    }

    /**HOME**/

    #info_section ul li p {
        font-size: 18px;
        line-height: 23px;
    }

    #section_iscrizioni h2 {
        font-size: 30px;
    }

    #section_iscrizioni h4 {
        font-size: 22px;
        line-height: 28px;
    }

    #docenti_container {
        align-items: flex-start;
        justify-content: flex-start;
    }

    #docenti_container .docente_item {
        flex: 0 45%;
    }

    #docenti_container .docente_item:nth-of-type(odd) {
        margin-right: 4%;
    }

    /**SEDE**/

    #sede_first_section #first_section_text h1 {
        font-size: 45px;
        line-height: 45px;
    }

    #section_utils_info h2 {
        font-size: 30px;
    }

    #sede_servizi_section .box_servizi {
        flex: 0 100%;
    }

    #sede_servizi_section .box_servizi:last-of-type {
        margin-bottom: 0;
    }

    #gallery_section h2 {
        font-size: 30px;
    }

    #gallery_section p br {
        display: none;
    }

    #gallery_section img {
        flex: 0 48%;
        height: 150px;
    }

    #map_section h2 {
        font-size: 30px;
    }

    /**PIANO DIDATTICO**/

    #calendario_section h2 {
        font-size: 30px;
    }

    #tirocinio_section {
        justify-content: center;
    }

    #tirocinio_section .box_tirocinio {
        flex: 0 55%;
    }

    #tirocinio_section .box_tirocinio .tirocinio_image {
        height: calc(50vw*2/2);
    }

    #tirocinio_section h2 {
        font-size: 40px;
        margin-bottom: 40px;
    }

    /**ISCRIZIONI**/

    #warning_section p {
        font-size: 17px;
        line-height: 20px;
    }

    .requisito_title {
        flex: 0 85%;
    }

}