/*
Theme Name: Amaie Child - Amministrazione Trasparente
Description: Child Theme del tema Amaie
Author: presscommtech srl
Author URI: https://www.presscommtech.com/
Template: amaie
Version: 0.1
*/

@import url("../amaie/style.css");

*{
    font-family: Inter, "sans-serif";
}

.pageContent{
    margin-top: 90px;
}

.page-template-ammtrasp h1{
    padding: 90px 190px 60px;
}

.page-template-ammtrasp p{
    color: var(--BLACK);
    text-align: justify;
    font-family: Inter, "sans-serif";
    font-size: var(--M);
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-template-ammtrasp .standardContent{
    padding-bottom: 90px;
}

.at-accordion{
    max-width: unset;
}

.at-accordion-btn, .trasparenza-body .at-accordion-btn{
    padding: 30px 60px;
    border-bottom: 1px solid var(--LIGHT-GRAY);
    background: var(--WHITE);

    color: var(--BLACK);
    /* H4 */
    font-family: Inter, "sans-serif";
    font-size: var(--XL);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: all ease-in-out .3s;
}

.at-accordion-btn span{
    transition: all ease-in-out .3s;
}

.at-accordion-container{
    padding: 0;
}

.at-category .openCircle, .trasparenza-body .at-category .openCircle{
    border-radius: 90px;
    width: 90px;
    height: 90px;
    border: 1px solid var(--LIGHT-GRAY);
}

.at-category .openCircle .cross{
    height: 31px;
    width: 31px;
    aspect-ratio: 1;
}

.at-category .openCircle .cross .crossVert{
    width: 1px;
    height: 31px;
}

.at-category .openCircle .cross .crossOriz{
    width: 31px;
    height: 1px;
}

.at-category .openCircle.open{
    background: var(--BLUE);
    border-color: var(--BLUE);
}

.at-category .openCircle.open .cross .crossVert, .at-category .openCircle.open .cross .crossOriz {
    background-color: var(--WHITE) !important;
}

.at-accordion-btn:hover, .at-accordion-btn.open{
    color: var(--BLUE);
}

.at-accordion-btn:hover span, .at-accordion-btn.open span, .trasparenza-body .at-accordion-btn:hover span, .trasparenza-body .at-accordion-btn.open span{
    transform: translateX(30px);
}

.at-accordion-btn.open, .trasparenza-body .at-accordion-btn.open{
    background: var(--LIGHT-GRAY);
    border-bottom: none;
}

.at-accordion-container{
    background: var(--LIGHT-GRAY);
}

.at-panel ul{
    padding: 0;
    margin: 30px 60px;
}

.at-panel li a{
    color: var(--BLACK);
    /* Details 2 */
    font-family: Inter, "sans-serif";
    font-size: var(--M);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.at-panel li{
    border-bottom: 0;
}

.at-scopriButton{
    border-radius: 50px;
    border: 1px solid var(--LIGHT-GRAY-2);
    color: var(--BLACK);
    text-align: center;

    font-family: Inter, "sans-serif";
    font-size: var(--S);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}


.at-category:has(.at-accordion-btn.open){
    border-left: 15px solid var(--BLUE);
}

.at-panel ul{
    margin: 60px 60px 30px 90px;
}

.at-panel li{
    border-bottom: 1px solid var(--LIGHT-GRAY-2);
}

.at-scopriButton::before{
    display: none;
}

.at-scopriButton{
    border-radius: 50px;
    padding: 15px 20px;
    border: 2px solid var(--LIGHT-GRAY-2);
    display: flex;
    gap: 10px;
    align-items: center;
    transition: background-color .3s ease-in-out;
}

.at-scopriButton:hover{
    background-color: var(--LIGHT-GRAY-2);
}

.at-scopriButton:after{
    content: "";
    background: url("../amaie/img/icons/arrow_black.svg") no-repeat;
    width: 21px;
    height: 15px;
    margin-left: auto;
}

/* Single Amministrazione Trasparente */
.trasparenza-header{
    background: var(--BLUE);
    gap: 90px;
    position: relative;
    padding: 90px 0 0;
}

.trasparenza-header .trasparenza-header-title{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trasparenza-header h1{
    color: var(--WHITE);
    font-size: var(--XL2);
    font-style: normal;
    line-height: normal;
    text-transform: none;
    letter-spacing: unset;
}

.trasparenza-header a{
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    text-transform: none;
    color: var(--WHITE);
    text-align: center;
    font-size: var(--M);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    opacity: .5;
    text-decoration: none;
}

.trasparenza-header .footer-header{
    /*position: absolute;*/
    /*bottom: 0;*/
    /*left: 0;*/
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), var(--BLUE);

}

.trasparenza-header .footer-header .lastEdit{
    display: flex;
    padding: 15px 60px;
    justify-content: center;
    align-items: center;
    gap: 15px;
    align-self: stretch;
    font-size: var(--M);
    font-weight: 500;
}

.trasparenza-header .footer-header .lastEdit span{
    font-weight: 700;
}

.trasparenza-header .footer-header .lastEdit .lastEditDivider{
    width: 5px;
    height: 5px;
    aspect-ratio: 1/1;
    background: var(--WHITE);
    opacity: .5;
    border-radius: 5px;
}

.trasparenza-body{
    padding: 0;
}

.trasparenza-body .contentPage{
    max-width: unset;
    margin: 60px 120px;
}

.trasparenza-body .at-accordion{
    max-width: unset;
    margin: 0;
}

.trasparenza-body .at-category{
    margin: 0;
}

.trasparenza-body .at-accordion-btn{
    padding: 30px 60px;
    border-bottom: 1px solid var(--LIGHT-GRAY);
}

.trasparenza-body .at-panel{
    background: var(--LIGHT-GRAY);
}

.trasparenza-body .at-panel ul {
    padding: 30px 60px 30px 90px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
}

.trasparenza-body .at-panel li{
    max-width: 430px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid var(--LIGHT-GRAY-2);
    background: var(--LIGHT-GRAY);
    padding: 30px;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.trasparenza-body .at-panel li a {
    padding: 0;
}

.trasparenza-body .at-panel li a span{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trasparenza-body .downloadButton{
    border: none;
}

.trasparenza-body .at-panel p{
    padding-left: 90px;
    padding-right: 90px;
}

.trasparenza-body .at-panel li, .trasparenza-body .at-panel li a, .trasparenza-body .at-panel li a span{
    transition: all .3s ease-in-out;
}

.trasparenza-body .at-panel li:hover{
    box-shadow: 0 3px 15px 0 rgba(16, 29, 54, 0.10);
}

.trasparenza-body .at-panel li:hover span{
    color: var(--BLUE);
    text-decoration: underline;
}

.trasparenza-body .at-panel li .downloadButton{
    background: url("../amaie/img/icons/download.svg") no-repeat;
    background-position: center;
    transition: all .3s ease-in-out;
}

.trasparenza-body .at-panel li:hover .downloadButton{
    background: url("../amaie/img/icons/download_active.svg") no-repeat;
    background-position: center;
}

.trasparenza-body .at-panel.open{
    max-height: unset !important;
}

.trasparenza-header .trasparenza-header-title{
    padding-left: 30px;
    padding-right: 30px;
}
