﻿
.materials h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 2rem;
    color: #2d3e50;
    text-align: left;
}


.materials .tabs-label {
    overflow: hidden;
    -moz-border-radius: 4px;
    clear: both;
    background-color: #F9FAFB;
    padding-top: 0rem;
    padding-left: .3rem;
    border: none;
}

.materials ul.nav-tabs {
    border-bottom: none;
}

.materials a.nav-link,
.materials a.nav-link:link,
.materials a.nav-link:visited {
    /*margin-top: 1rem;*/
}

.materials .nav-tabs .nav-link {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #D9D9D9;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    overflow: hidden;
    margin-right: .5rem;
    margin-bottom: .4rem;
    padding: .4rem .6rem;
}

    .materials .nav-tabs .nav-link.active, .materials .nav-tabs .nav-item.show .nav-link {
        background-color: #474e55;
        color: #fff;
        border-color: unset;
    }

.materials a.nav-link:hover:not(.nav-link.active) {
    color: #ec1c24;
    border-color: #474e55;
}


.materials .tab-pane {
    padding: 0;
}

    .materials .tab-pane h5:first-child {
        margin-top: 0rem;
    }


.materials .tab-content .card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    padding: 10px 25px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    margin-left: -20px;
    margin-right: -20px;
}

    .materials .tab-content .card-body h3:not(:first-child) {
        margin-top: 1rem !important;
    }


    .materials h7 a{
        margin-top:3rem;
    }

.materials .tab-content .card-body h4,
.materials .tab-content .card-body h5,
.materials .tab-content .card-body h6,
.materials .tab-content .card-body h7 {
    font-size: medium;
    margin-left: .8rem;
    margin-top: 2.2rem;
    color: #333;
}

.materials .login-alert {
    font-weight: 500;
    border-radius: 3px;
    transition: all 0.2s ease;
    font-style: normal !important;
    font-size: 13.5px !important;
}

    .materials .login-alert:hover {
        color: #cc0010 !important;
        text-decoration: underline;
    }

.materials .access-alert {
    color: #5a5a5aad !important;
    font-weight: 500;
    border-radius: 3px;
    transition: all 0.2s ease;
    font-style: normal !important;
    font-size: 13.5px !important;
}

    .materials .access-alert:hover {
        color: #721c24 !important;
        text-decoration: underline;
    }

.materials .tab-content .card-body h7 a:hover{
    text-decoration:none;
}
.materials .tab-content .card-body .previous {
    font-size: .9rem;
    font-weight: 400;
    color: #8684F3;
}

.materials .tab-content .card-body h4,
.materials .tab-content .card-body h5 {
    border-bottom-color: #ddd;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}


.materials .tab-content h5 span {
    font-family: 'Lucida Sans', Geneva, Verdana;
    color: #e3e3e3;
    font-size: 1.2rem;
    margin-top: 3rem;
}

.materials .nav-tabs {
    display: none;
}

.materials .tab-pane ul:not(.file-list) {
    list-style-type: square;
}

.materials .file-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

    .materials .file-list li {
        margin-left: 20px;
    }

    .materials .file-list a {
        text-decoration: none;
        color: #3170d4;
        transition: all 0.2s ease;
        position: relative;
        padding-left: 28px;
        display: inline-block;
    }

        .materials .file-list a:hover {
            color: #ec1c24;
        }

        /* PDF icon */
        .materials .file-list a[href$=".pdf"]:before, .materials .file-list a[href$=".PDF"]:before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            background-image: url('/images/commercial/pdf-ico.svg');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        /* ZIP icon */
        .materials .file-list a[href$=".zip"]:before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            background-image: url('/images/commercial/folder-zip.svg');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            filter: invert(42%) sepia(14%) saturate(455%) hue-rotate(176deg) brightness(94%) contrast(87%); /* Gray color */
        }

        .materials .file-list a[href$=".zip"]:hover:before {
            filter: invert(29%) sepia(93%) saturate(1719%) hue-rotate(206deg) brightness(98%) contrast(96%); /* Blue */
        }

.materials .small {
    font-size: 0.875em;
    color: #6b7280;
    margin-left: 8px;
    position: relative;
    padding-left: 20px;
}

   .materials .small:before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        background-image: url('/images/commercial/lock-ico.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        filter: invert(42%) sepia(14%) saturate(455%) hue-rotate(176deg) brightness(94%) contrast(87%); /* Same gray as text */
    }


.materials .tab-pane li::marker {
    width: 15px;
    height: 14px;
    color: #F68787;
}

.materials .tab-content .card-body li {
    font-size: .95rem;
}


.materials ul:not(.nav-tabs) li {
    margin-top: 1rem;
}

    .materials ul:not(.nav-tabs) li:first-child {
        margin-top: 1.5rem;
    }

.materials .tab-content {
    border: 1px solid #474e55;
    overflow: hidden;
    -moz-border-radius: 4px;
    clear: both;
}

    .materials .tab-content .card-body {
        padding-top: 0rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 1rem;
    }


.materials .tab-pane > a:hover {
    text-decoration: none;
}

.filters-link-container {
    text-align: right;
    float: right;
}

.filters-link {
    padding: 1rem;
    background-color: #27368a;
    color: #fff;
}

    .filters-link:hover {
        text-decoration: none;
        background-color: #333;
        color: #fff;
    }

/* thumbs */
.thumb-wrapper {
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.thumb-btn {
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

    .thumb-btn a {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        width: auto;
        height: auto;
        max-width: 250px;
        margin: 0;
        background: #87878714;
        padding: 1.2rem;
        border: .5px solid #87878714;
        font-size: 1rem;
    }


    .thumb-btn .caption {
        padding: 1rem 0 0 0;
        margin: 0;
        z-index: 1;
        text-align: center;
        font-size: 0.7rem;
        color: #8684F3;
        word-wrap: break-word;
        text-transform: uppercase;
        text-decoration: none;
    }

    .thumb-btn a:hover,
    .thumb-btn a:hover p.caption {
        text-decoration: none;
        color: #db1919;
    }

.materials .card-header .arrow-icon {
    position: absolute;
    right: 5px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
}

.materials .card-header {
    padding: 8px 13px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0px;
}

.materials .arrow-icon {
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
    padding: 8px;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
    color: #ffff;
}

.previous .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    margin-right: 8px;
    margin-left: 8px;
}

.previous[aria-expanded="true"] .arrow {
    transform: rotate(90deg);
}

@media (min-width: 576px) {

    .thumb-wrapper {
        flex-direction: row;
    }

    .thumb-btn {
        margin-right: 2.5rem;
    }

        .thumb-btn:last-child {
            margin-right: 0;
        }
}

@media (min-width: 768px) {

    .materials .tabs-label {
        margin-top: 1rem;
        padding-top: .4rem;
        border: 1px solid #474e55;
        border-bottom: none;
    }

    .materials .nav-tabs {
        display: flex;
    }

    .materials .card {
        border: none;
    }

        .materials .card .card-header {
            display: none;
        }

        .materials .card.tab-pane > .collapse {
            display: block;
        }
}

@media (max-width: 767px) {
    .materials .tab-content > .tab-pane {
        display: block !important;
        opacity: 1;
        border-radius: 0px;
    }

    .materials .card-header h5 {
        font-size: 0.9rem;
        color: #ffff;
    }

    .materials .card-header {
        background-color: #474e55;
    }

    .materials .tab-content {
        margin-bottom: 1rem;
    }

        .materials .tab-content .card-body li {
            font-size: .85rem;
        }

        .materials .tab-content .card-body a {
            font-size: 14px;
        }

    .materials .login-alert,
    .materials .access-alert {
        font-size: 12px !important;
        padding: 1px 4px;
        border-radius: 2px;
    }

    .materials .small {
        font-size: 0.8em;
        margin-left: 4px;
        padding-left: 16px;
        display: block;
        margin-top: 4px;
    }

        .materials .small:before {
            width: 12px;
            height: 12px;
        }

    .thumb-wrapper {
        flex-direction: row;
        justify-content: space-around;
    }

    .thumb-btn {
        width: 100%;
    }

        .thumb-btn a:not(:first-child) {
            margin-top: .6rem;
            margin-bottom: .6rem;
        }

    .materials .tab-content #tab-images {
        text-align: center;
    }

        .materials .tab-content #tab-images .thumb-btn a {
            max-width: 100%;
        }
}
