.content {
    min-height: calc(100vh - 643px);
}

body .content h2:first-child,
body .content h3:first-child,
body .content h4:first-child,
body .content ul:first-child,
body .content ol:first-child {
	margin-top: 0;
}

body .content h2:last-child,
body .content h3:last-child,
body .content h4:last-child,
body .content p:last-child,
body .content ul:last-child,
body .content ol:last-child {
	margin-bottom: 0;
}

/***************************/
/***** Banner Template *****/
/***************************/


.banner {
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* .banner .image {
    padding-top: 31.5%;
    min-height: 360px;
    overflow: hidden;
    position: relative;
} */

.banner:not(.no-img) .image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.banner img {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner .image::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    mix-blend-mode: multiply;
    background-color: #878686;
    min-height: 600px;
}

.banner:not(.no-img) .container {
    color: var(--white);
    /* position: absolute;
    left: 50%;
    bottom: 34%;
    transform: translate(-50%, 50%); */
    position: relative;
    padding-top: 230px;
    padding-bottom: 125px;
    min-height: 448px;
    max-height: 448px;
    max-width: 840px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.banner .container{
    max-width: 1040px;
}

.banner .container ul {
    padding: 0;
    list-style: none;
    display: inline-flex;
}

.banner .container ul li {
    transition: var(--transition);
    opacity: 1;
    
}

.banner .container ul li+li::before {
    content: "/";
    font-size: 0.625rem;
    opacity: 1;
    color: #a5a4a4; 
    padding-left: 0.2em;
    padding-right: 0.2em;  
}

.banner .container ul li a {
    font-size: 0.813rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color:  #a5a4a4;
}

.banner .container ul li:hover a {
    color: var(--white);
    opacity: 0.7;
}

.banner.no-img {
    padding-top: 0;
    margin-top: 195px;
    background-color: #f7f7f7;
}

.banner.no-img .container ul li a {
    color: #9d9d9d;
}

.banner.no-img .container ul li a:hover {
    color: var(--black);
}

.banner .container h1 {
    font-size: 5rem;
    margin-top: 1.7rem;
    margin-bottom: 2.5rem;
    font-weight: 900;
    font-stretch: normal;
    font-style: normal;
    line-height: 0.88;
    letter-spacing: -2px;
    text-align: center;
    color: #132448;
}

.banner .container h1::before {
    content: "";
    bottom: -37px;
    left: 0;
    right: 0;
    margin:auto;
    position:absolute;
    border-radius: 3px;
    width: 100px;
    height: 6px;
    background-color: #beddef;
}


.banner .container h1 + span a {
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--primary);
}

@media(max-width: 768px) {

    .banner:not(.no-img) .container {
        padding-top: 173px;
        padding-bottom: 50px;
        min-height: unset;
        min-height:300px;
        max-height:300px;
    }

    .banner.no-img {
        padding-top: 0;
        margin-top: 170px;
    }

    .banner .container ul li a {
        font-size: 12px;
    }
    .banner .container h1 + span a {
        font-size: 1.125rem;
    }
}

/***************************/
/*******  Template *********/
/***************************/

.template {
    margin-top: 100px;
    /* width: 100%; */
    margin-inline: auto;
}

.template:first-of-type {
    margin-top: 85px;
}

.template ul, 
.template ol,
.template p {
    font-size: 1.5rem;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    color: #1c1c1c;
    margin: 1.5em 0;
}

.template .container {
    max-width: 1040px;
    padding: 0 30px;
    margin-inline: auto;
}

.template h2,
.template .h2,
.template h3,
.template .h3,
.template h4,
.template .h4 {
    font-weight: 500;
}

.template h2,
.template .h2 {
    font-size: 2.813rem;
    letter-spacing: -0.75px;
    font-weight: 900;
    line-height: 1.13;
    color: var(--primary);
  
}

.template h3,
.template .h3 {
    font-size: 1.875rem;
    line-height: 1.23;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.75px;
    color: #2680bb;
}

.template h4,
.template .h4 {
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.45;
    margin: 1em 0;
}

.template b,
.template strong {
    font-weight: 600;
    color: var(--primary);
}

.template .template-module ul a,
.template .template-module p a,
.template .template-module p a strong,
.template .template-module ul a strong {
    display: inline-flex;
    font-weight: 600;
    transition: var(--transition);
    color: var(--secondary);
    position: relative;
}

.template .template-module ul a:hover,
.template .template-module p a:hover {
    opacity: 0.6;
}

p small {
    font-size: 1rem;
    font-weight: normal;
    display: inline-block;
    color: var(--black);
    line-height: 1;
}

p small strong,
p strong small {
    font-size:1rem;
    font-weight: 600;
    line-height: 1;
    display: flex;
}

.template .template-module p:has( small){
    margin: 0;
    line-height: 1.5;
}


.template blockquote p,
.template p big {
    position: relative;
    display: block;
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.37;
    text-align: left;
    padding: 0 0 0 50px;
    letter-spacing: normal;
}
.template p big {
    background-color: var(--transparent);
    font-size: 1.625rem;
    font-weight: 500;
}

.template p big, 
.template blockquote {
    position: relative;
    padding-block: 30px;
    display: block;
    position: relative;
    z-index: 1;
}
.template blockquote {
    margin: 0;
}

big::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 85px;
    height: 85px;
    -moz-border-radius: 85px;
    -webkit-border-radius: 85px;
    background-color: #deeef7;
    z-index: -1;
}

blockquote::before {
    content: ' ';
    -webkit-mask-image: url(/assets/img/general/template/aspas.svg);
    mask-image: url(/assets/img/general/template/aspas.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: 37px;
    height: 29px;
    display: block;
    position: absolute;
    left: 0;
    top: initial;
    background-color: #deeef7;
}

.template blockquote p {
    padding-top: 0;
    margin: 0;
}

.template blockquote small {
    color: var(--secondary);
    font-weight: 600;
}

.listing.module20 .image-item>div ul,
.listing.module20 .image-item>div ol
.template ul, .template ol {
    list-style-type: none;
    margin: 0;
    padding-block: 0px;
    margin-block: 30px;
    counter-reset: item;
    padding-left: 2em;
}

.listing.module20 .image-item>div ul li::before,
.template-module ul li::before {
    content: "";
    display: inline-block;
    height: 16px;
    width: 1.25rem;
    margin-left: -1.7em;
    margin-right: 1.25rem;
    -webkit-mask-image: url(/assets/img/general/template/list-mark.svg);
    mask-image: url(/assets/img/general/template/list-mark.svg);
    transform: rotate(-45deg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--secondary);
}

.listing.module20 .image-item>div ol li::before,
.template-module ol li::before {
    
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: var(--secondary);
    counter-increment: item;
    content: counter(item) ".";
    display: inline-block;
    width: 1.8em;
    margin-left: -1.8em;
}

.template-module table thead,
.listing .accordion table thead {
    background-color: var(--secondary);
}

.template-module table img {
    display: inline;
}

.template-module table,
.template-module table td,
.template-module table tr,
.template-module table th {
    font-size: 1.25rem;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    padding:20px;
    position: relative;
    border: solid 0.5px #e9e8e8;
}

.template-module table thead,
.template-module table thead tr,
.template-module table thead tr th,
.listing .accordion table thead,
.listing .accordion table thead tr,
.listing .accordion table thead tr th {
    border: none;
}

.template-module table th,
.listing .accordion table th {
    color: white;
    font-weight: normal;

}

.template-module table td  {
    font-weight: normal;
    color: #7e7e7e;
    border-bottom: 1px solid #e9e8e8;
}

.template-module table td b {
    font-weight: normal;
    text-align: left;
}


.template .listing .file .link {
    
    font-size: 0.875rem;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.7px;
    color: var(--primary);
    text-transform: uppercase;
    padding-right: 30px;
}

.template .listing .file .link::after {
    width: 21px;
    height: 15px;
    content: '';
    display: inline-block;
    /* -webkit-mask-image: url(/assets/img/elements/svg/normal-arrow.svg);
    mask-image: url(/assets/img/elements/svg/normal-arrow.svg); */
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--primary);
    position: relative;
    right: -15px;
    transition: var(--transition);
    top: 2px;
}

.template .listing .file .link:hover::after {
    right: -25px;
}

@media(max-width: 768px) {
    .template {
        margin-top: 40px;
    }

    .template:last-of-type {
        margin-bottom: 90px;
    }

    .template .container {
        width: 100%;
        max-width: calc(100% - 40px);
        padding: 0;
    }

    .banner .container ul li+li::before,
    .banner .container ul {
        font-size: 0.875rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner .container h1 {
        font-size: 42px;
        font-weight: 900;
        font-stretch: normal;
        font-style: normal;
        line-height: 0.95;
        letter-spacing: -1.05px;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 25px;
        color: #132448;
    }

    .banner .container h1::before {
       bottom: -25px;
    }

    .banner .image {
        min-height: 264px;
    }

    .template h2, .template .h2 {
        font-size: 30px;
    }

    .template ul,
    .template ol,
    .template p {
        font-size: 20px;
        line-height: 1.3;
    }

    .template h4, .template .h4 {
        line-height: 1.36;
        font-size: 22px;
        font-weight: 600;
    }

    .template h3, .template .h3 {
        font-size: 26px;
        font-weight: 900;
        line-height: 1.23;
    }

    .template p small {
        font-size: 12px;
    }
    
    .template blockquote p, .template p big {
        padding: 30px 0 30px 30px;
        font-size: 22px;
        font-weight: 500;
        line-height: 1.36;
    }

    big::before {
        width:65px;
        height:65px;
    }

    .template blockquote p {
        padding: 0 0 0 30px;
    }

    .template-module table, .template-module table td, .template-module table tr, .template-module table th {
        font-size: 1rem;
    }

    blockquote::before {
        top: 29px;
        left: -5px;
        width: 27px;
        height: 21px;
    }

    .template-module ul li::before {
        height: 13px;
        width: 16px;
        margin-right: 16px;
    }

    .template-module ol li::before {
        font-size: 18px;
    }
}


.template-module .table-wrapper .swipeIcon,
.listing .table-wrapper .swipeIcon{
    display: none;
}

.template-module .table-wrapper.swipe,
.listing .table-wrapper.swipe {
    overflow: auto;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-bottom: 20px;
}

.template-module .table-wrapper.swipe .swipeIcon,
.listing .table-wrapper.swipe .swipeIcon {
    /* display: flex; */
    display: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: #1f3839;
    margin-bottom: 24px;
    width: 100%;
    justify-content: left;
    align-items: center;
    gap: 13px;
}

.template-module .table-wrapper.swipe .swipeIcon::before,
.listing .table-wrapper.swipe .swipeIcon::before {
    position: relative;
    display: inline-flex;
    width: 25px;
    height: 27px;
    content: "";
    -webkit-mask-image: url("/assets/img/general/template/swipe.svg");
    mask-image: url("/assets/img/general/template/swipe.svg");
    background-color: var(--secondary);
}

.listing .accordion .table-wrapper.swipe table,
.template-module .table-wrapper.swipe th,
.template-module .table-wrapper.swipe td,
.listing .table-wrapper.swipe th,
.listing .table-wrapper.swipe td {
    width: auto !important;
}


.listing .accordion table tr > th:first-of-type,
.listing .accordion table t > td:first-of-type{width: auto !important;}

@media(max-width:700px){
    .template-module table tbody tr td:last-of-type, 
    .template-module table th:last-of-type, 
    .listing .accordion table tbody tr td:last-of-type, 
    .listing .accordion table th:last-of-type{
        padding-inline: 10px !important;
        text-align: center !important;
    }
}

