/*MOBILE STYLING*/
.background-surface-dark{
    background-color: rgb(var(--color-surface-dark));
}

/* BANNER START */
.top-banner {
    width: 100%;
}


.banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 0;
    margin: 35px auto;
}

.banner-title {
    background-color: rgb(var(--color-new-blue));
    min-height: 215px;

    font-family: "avenir-next-lt-pro", sans-serif;
    font-weight: 400;
    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;/* Center content vertically */
    align-items: center;/* Center content horizontally */

    padding: 15px;
}

.banner-title p {
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 4px;
    text-align: center;
    text-transform: uppercase;

    padding: 0 10px 10px 10px;

    border-right: none;
    border-bottom: solid 3px #fff;
}

.banner-title h1 {
    font-family: "avenir-next-lt-pro", sans-serif;
    font-size: 24px;
    font-weight: 400;
    margin-top: 0px;
    text-align: center;
    letter-spacing: 1px;
}

.banner-img {
    display: none;
}
/* BANNER END */

/* CALL TO ACTION BUTTONS START */
.action-panel {
    display: grid;
    grid-template-columns: 100%;
    margin: auto;

    padding: 25px 0 25px 0;
}

.action-panel a {
    min-width: 300px;
    margin: 5px auto;
    padding: 7px 20px 7px 20px;
    text-align: center;
    text-decoration: none;

    border: solid 2px rgb(var(--color-new-blue));
    border-radius: 5px;

    font-size: 16px;
}

.action-panel .btn-view {
    background-color: rgb(var(--color-new-blue));
    color: #fff;
    transition: all 0.2s ease, transform 0.2s ease;
    justify-self: right;
}

.action-panel .btn-view:hover {
    background-color: rgb(var(--color-new-darkblue));
    border: solid 2px rgb(var(--color-new-darkblue));
    transition: all 0.2s ease, transform 0.2s ease;
}

.action-panel .btn-download {
    background-color: #fff;
    color: rgb(var(--color-new-blue));
    transition: all 0.2s ease, transform 0.2s ease;
    justify-self: left;
}

.action-panel .btn-download:hover {
    background-color: #eee;
    border: solid 2px rgb(var(--color-new-darkblue));
    transition: all 0.2s ease, transform 0.2s ease;
}
/* CALL TO ACTION BUTTONS END */

/* NEXT STEPS PANEL START */
.steps-panel h2 {
    font-size: 20px;
    text-align: center;
}

.steps-panel .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin: 35px auto;
    row-gap: 10px;
    column-gap: 0px;
}

.steps-panel .steps-grid .steps-grid-item {
    font-size: 16px;
    line-height: 20px;

    display: flex;
    flex-direction: row;
    justify-content: left;/* Center content vertically */
    align-items: center;/* Center content horizontally */
    
    min-height: 75px;
}

.steps-panel .steps-grid .steps-grid-item img {
    width: 65px;
    height: 65px;

    /* not sure why this is needed, width changes without it */
    min-width: 65px;
    min-height: 65px;
    max-width: 65px;
    max-height: 65px;

    margin: 0 10px 0 10px;
}

.steps-panel .steps-grid .steps-grid-item p {
    margin: 0;
}
/* NEXT STEPS PANEL END */

/* CHAPTER GRID START */
.chapter-section {
    margin: 75px 0;
}

.chapter-section .chapter-tag {
    display: initial;
    position: absolute;
    padding: 2px;
    width: 150px;

    font-size: 16px;
    color: #fff;
    font-weight: 600;
    text-align: center;

    background-color: rgb(var(--color-new-blue));

    z-index: 2;
}

    /* INTRO PANEL START */
.chapter-section .intro-panel {
    background-color: rgb(var(--color-surface-dark));
    margin-bottom: 50px;
}

.chapter-section .intro-panel .intro-flex {
    display: flex;
    flex-direction: row;
    justify-content: left; /* Center content vertically */
    align-items: top; /* Center content horizontally */
    padding-left: 35px;
}

.chapter-section .intro-panel .intro-flex .intro-content {
    font-size: 16px;

    width: 100%;
    min-height: 150px;
    margin-right: 25px;
    margin-top: 15px;
    padding-bottom: 75px;
    position: relative;
}

.chapter-section .intro-panel .intro-flex .intro-content h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.chapter-section .intro-panel .intro-flex .intro-content a {
    background-color: rgb(var(--color-new-red));
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;

    font-size: 16px;
    color: #fff;
    font-weight: 600;
    padding: 7px 50px;
    margin: 0 0 0 0;
    transition: all 0.2s ease, transform 0.2s ease;

    position: absolute;
    bottom: 25px;  /* adjust spacing */
    left: 0px;
}

.chapter-section .intro-panel .intro-flex .intro-content a:hover {
    background-color: rgb(var(--color-new-darkred));
    transition: all 0.2s ease, transform 0.2s ease;
}

.chapter-section .intro-panel .intro-flex .intro-img {
    display: none;
}
    /* INTRO PANEL END */

.chapter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.chapter-grid .chapter-grid-item {
    border: solid 1px rgba(var(--color-new-blue), 0.5);
    border-radius: 3px;
    position: relative;

    background-color: #fff;
    transition: all 0.4s ease, transform 0.2s ease;

    color: inherit;
    text-decoration: none;

    min-height: 150px;
}

.chapter-grid .chapter-grid-item .chapter-tag {
    border-top-left-radius: 2px;
}

.chapter-grid .chapter-grid-item:hover {
    background-color: rgb(var(--color-surface-dark));
    transition: all 0.4s ease, transform 0.2s ease;
}

.chapter-grid .chapter-grid-item h2 {
    font-size: 22px;
    height: 100%;
    max-width: 300px;
    margin: auto;
    display: flex;
    align-items: center;
}

.chapter-grid .chapter-grid-item .chapter-icon {
    color: rgb(var(--color-new-blue));
    font-size: 28px;
    margin-left: 300px;

    position: absolute;
    bottom: -8px;  /* adjust spacing */
    right: 15px;
    transition: all 0.4s ease, transform 0.2s ease;
}

.chapter-grid .chapter-grid-item:hover .chapter-icon {
    transform: translateX(7.5px);
    transition: all 0.4s ease, transform 0.2s ease;
}

.chapter-section .chapter-toc {
    color: rgb(var(--color-new-blue));
    margin-top: 30px;
    width: 205px;
    text-align: right;

    margin: 25px 0 0 auto;
}
/* CHAPTER GRID END */

/* DOCUMENTS SECTION START */
.docGrid {
    border-top: solid 5px rgb(var(--color-new-blue));
    margin: 0 auto 75px auto;
    width: 100%;
}

.docGrid div {
    padding: 0;
}

.docGrid table {
    margin-top: 35px;
    box-shadow:  0 3px 5px 2px rgba(0, 0, 0, 0.06);

    width: 100%;
    height: 100%;

    font-size: 20px;
}

.docGrid table thead {
    background-color: rgb(var(--color-new-blue));
    color: whitesmoke;
    white-space: nowrap;
}

.docGrid table tbody {
    color: rgb(var(--color-new-blue));
    background-color: whitesmoke;
}

.docGrid table tr {
    border-bottom: solid 1px lightgrey;
}

.docGrid table tr td:last-child {
    border-left: solid 1px lightgrey;
}

.docGrid table tr:last-child {
    border-bottom: none;
}

.docGrid table thead tr {
    border-color: rgb(var(--color-new-blue));
}

.docGrid table td, .docGrid table th {
    font-size: 16px;
    padding: 5px;
    max-width: 225px;
}
.docGrid i {
    display: none;
}

.relatedDocs {
    padding-left: 0;
}
/* DOCUMENTS SECTION START */

/*SMALL TABLET/MOBILE STYLING*/
@media screen and (min-width: 550px) {
    .banner-title {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        column-gap: 15px;
    }

    .banner-title p {
        text-align: right;

        padding: 15px;

        border-right: solid 3px #fff;
        border-bottom: none;
    }

    .banner-title h1 {
        font-size: 28px;
        margin-top: 5px;
        text-align: left;
    }

    .steps-panel h2 {
        font-size: 24px;
    }

    .steps-panel .steps-grid .steps-grid-item {
        font-size: 18px;
        line-height: 26px;

        width: 500px;
        margin: auto;
    }

    .steps-panel .steps-grid .steps-grid-item img {
        margin: 0 15px 0 10px;
    }

    .chapter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .chapter-grid .chapter-grid-item h2 {
        font-size: 20px;
        padding: 0 15px;
    }
    .docGrid table td, .docGrid table th {
        font-size: 18px;
        padding: 15px;
        max-width: none;
    }
    .docGrid i {
        display: initial;
    }
}

/*TABLET/MOBILE STYLING*/
@media screen and (min-width: 768px) {
    .banner-grid {
        grid-template-columns: 45% 55%;
        column-gap: 20px;
    }

    .banner-title {
        min-height: 300px;
        padding-left: 40px;

        display: flex;
        flex-direction: column;
        justify-content: center;/* Center content vertically */
        align-items: start;/* Center content horizontally */
    }

    .banner-title p {
        text-align: left;
        padding: 0;
        border: none;
    }

    .banner-title h1 {
        font-size: 20px;
    }

    .banner-img {
        display: initial;
        max-width: calc(100% - 20px); /* 100% - grid gap, overflows if not added */
        background-image: url("./../img/home-banner.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom;
        background-position-x: right;
        background-position-y: bottom -75px;
        background-size: 180%;
    }

    .action-panel {
        grid-template-columns: 50% 50%;
    }

    .action-panel a {
        margin: 15px;
    }

    .action-panel .btn-view {
        justify-self: right;
    }

    .action-panel .btn-download {
        justify-self: left;
    }

    .steps-panel .steps-grid {
        grid-template-columns: 1fr 1fr;
        margin: 35px auto;
        row-gap: 10px;
        column-gap: 15px;
    }

    .steps-panel .steps-grid .steps-grid-item {
        width: auto;
    }

    .chapter-section .intro-panel .intro-flex .intro-content {
        width: 55%;
        margin-top: 30px;
        font-size: 17px;
        padding-bottom: 90px;
    }

    .chapter-section .intro-panel .intro-flex .intro-content h2 {
        font-size: 32px;
    }

    .chapter-section .intro-panel .intro-flex .intro-img {
        display: initial;
        background-image: url("./../../report-rapport/intro/section-blue-banner.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-position-x: center;

        margin: 0;
        min-height: 250px;
        width: 45%;
    }
    
    .chapter-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/*DESKTOP STYLING*/
@media screen and (min-width: 992px) {
    .banner-grid {
        grid-template-columns: 45% 55%;
    }

    .banner-title {
        min-height: 375px;
        padding-left: 50px;
    }

    .banner-title p {
        font-size: 48px;
        line-height: 50px;
        letter-spacing: 4px;
    }

    .banner-title h1 {
        font-size: 26px;
        margin-top: 15px;
    }

    .banner-img {
        background-size: 150%;
    }
    
    .steps-panel .steps-grid .steps-grid-item {
        margin-left: 0;
    }

    .chapter-grid .chapter-grid-item {
        min-height: 150px;
    }

    .chapter-grid .chapter-grid-item h2 {
        font-size: 22px;
        max-width: 300px;
    }

    .chapter-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .docGrid .relatedDocs {
        padding-left: 40px;
    }
}

/*DESKTOP STYLING*/
@media screen and (min-width: 1200px) {
    .banner-grid {
        grid-template-columns: 35% 65%;
    }

    .banner-title {
        padding-left: 40px;
    }

    .banner-img {
        background-position-y: bottom -100px;
        background-size: 115%;
    }
    
    .steps-panel .steps-grid .steps-grid-item {
        margin-top: 5px;
    }
}