/* //////////////////////////////////////////////////////////////////////// */
/* /////////////////////// CUSTOM ACCORDION /////////////////////////////// */
/* //////////////////////////////////////////////////////////////////////// */
.sec-history-element {
}
.sec-history-element .grid-container {
}
.sec-history-element .grid-container .history-element-inner {
    position: relative;
}

.sec-history-element .grid-container .history-element-inner .cell {
}

.sec-history-element .grid-container .history-element-inner .cell {
    position: relative;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-header {
    padding-top: 13px;
    margin: 40px 0 100px;
    position: relative;
    z-index: 1;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-header h1 {
    margin-bottom: 13px;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-header h1.capital {
    text-transform: uppercase;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-header .subhdr {
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 31px 0;
    position: relative;
    z-index: 1;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .custom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 0;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap:last-child {
    margin-bottom: 40px;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap::after {
    content: '';
    display: block;
    width: 2px;
    height: calc(100% + 100px);
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: -1px;
    top: 50%;
    background-image: radial-gradient(circle, #b4935d 1px, transparent 1px);
    background-repeat: repeat-y;
    background-size: 2px 6px;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .span-2 {
    grid-column: span 2 / span 2;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap.background-block::before {
    content: '';
    position: absolute;
    inset: initial;
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
    z-index: 0;
    background-color: #f7f7f7a6;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap.background-block.center::before {
    inset: initial;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap.background-block.centertop::before {
    inset: initial;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap.background-block.centerbottom::before {
    inset: initial;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap.background-block.lefttop::before {
    inset: initial;
    top: 0;
    left: 0;
    transform: translateX(0);
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap.background-block.leftbottom::before {
    inset: initial;
    left: 0;
    bottom: 0;
    transform: translateX(0);
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap.background-block.righttop::before {
    inset: initial;
    top: 0;
    right: 0;
    transform: translateX(0);
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap.background-block.rightbottom::before {
    inset: initial;
    right: 0;
    bottom: 0;
    transform: translateX(0);
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap:not(:last-child) {
    margin-bottom: 85px;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
    position: relative;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .history-element-content{
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .history-element-content .header{
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .history-element-content .description{
    margin: 0;
    font-weight: 300;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .history-element-content ul{
    margin: 22px 0;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .history-element-content ul li{
    font-size: 16px;
    font-weight: 300;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .history-element-content ul li::before{
    top: 40%;
    transform: translateY(-50%);
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:nth-child(odd) {
    padding-right: 13%;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:nth-child(even) {
    padding-left: 13%;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background-color: #0a0a0a;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:nth-child(odd):after {
    left: initial;
    right: 4px;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:nth-child(even):after {
    left: 4px;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:has(img)::before {
    display: none;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:has(img)::after {
    display: none;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap{
    display: flex;
    flex-direction: column;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap.overlap img:first-child{
    max-width: 85%;
    max-height: 100%;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap.overlap img:last-child{
    max-width: 50%;
    margin: -40px 0 0 auto;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Full-size{
    max-width: 100%;
    max-height: 100%;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Small{
    max-width: 300px;
    max-height: 200px;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Verticle{
    max-width: 600px;
    max-height: 800px;
    min-height: 800px;
}
.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Square{
    max-width: 400px;
    max-height: 400px;
    min-height: 400px;
}

.sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap ~ .history-element-content{
    margin-top: 22px;
}





@media only screen and (max-width: 1400px){

    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .history-element-content .description{
        font-size: 16px;
    }
}
@media only screen and (max-width: 1200px){

    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Verticle{
        max-width: 100%;
    }
}
@media only screen and (max-width: 992px){
}
@media only screen and (max-width: 768px){

    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:after{
        display: none;
    } 

    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .custom-row {
        grid-template-columns: 1fr;
    }
    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .custom-row .history-element-item{
        order: 1;
    }
    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .custom-row .history-element-item:has(img){
        order: -1;
    }

    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap::after{
        display: none;
    }
    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:nth-child(odd){
        padding: 0;
    }
    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item:nth-child(even){
        padding: 0;
    }

    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap {
        width: 100%;
    }

    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img{
        max-width: 100%;
        max-height: 100%;
        max-height: 520px;
    }
    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Small{
        max-width: 300px;
        max-height: 300px;
    }
    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Verticle{
    }
    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Square{
        max-width: 100%;
        max-height: 100%;
        max-height: 520px;
    }
    .sec-history-element .grid-container .history-element-inner .cell .history-element-header {
        margin: 0 0 40px;
    }
}
@media only screen and (max-width: 568px){

    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Verticle{
        min-height: 600px;
        max-height: 600px;
    }
}
@media only screen and (max-width: 468px){

    .sec-history-element .grid-container .history-element-inner .cell .history-element-wrap .history-element-item .img-wrap img.Verticle{
        min-height: 520px;
        max-height: 520px;
    }
}