html {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

body {
    font-size: 1rem;
}

.top-tool-bar {
    background: #E6EACB;
    min-height: 48px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    line-height: 48px;
    white-space: nowrap;
}

.content-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.content-section .notices {
    flex: 2;
}

.content-section .notices .tabs {
    display: flex;
    margin-bottom: 1rem;
}

.content-section .notices .tabs button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: #eaeaea;
    font-weight: bold;
}

.content-section .notices .tabs button.active {
    background: #007757;
    color: white;
}

.content-section .notices .notice-list {
    list-style: none;
    padding: 0;
}

.content-section .notices .notice-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.content-section .other-links {
    flex: 1;
}

.content-section .other-links h3 {
    margin-bottom: 1rem;
    color: #007757;
}

.content-section .other-links ul {
    list-style: none;
    padding: 0;
}

.content-section .other-links ul li {
    margin-bottom: 0.5rem;
}

.content-section .other-links ul li a {
    color: #00458b;
    text-decoration: none;
}

.content-section .other-links ul li a:hover {
    text-decoration: underline;
}


footer {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0 .5rem;
    background: #007757;
    color: white;
    flex-wrap: wrap;
}

footer .footer-left,
footer .footer-center,
footer .footer-right {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

footer .footer-logo {
    max-width: 100px;
    margin-bottom: 0.5rem;
}

footer img {
    max-width: 120px;
    margin-right: 0.5rem;
}

footer a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

footer a:hover {
    color: #f3f3f3;
}

.footer-center {
    border-left: 1px solid #fff;
    padding-left: 3rem;
}

.hero-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
}


.building-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-section {
    flex: 1;
    background-color: #12795f;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.text-section hr {
    border: none;
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
}

.text-section p {
    font-size: 18px;
    line-height: 1.6;
}

.links-manuals-section {
    background-color: #F7F7F7;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.links-container {
    flex: 3;
    min-width: 300px;
    padding-bottom: 20px;
}

.pt15 {
    padding-top: 15px;
}

.pb15 {
    padding-bottom: 15px;
}

.links-container h2 {
    font-family: 'Rozha One', serif;
    color: #12795f;
    font-size: 2.5rem;
    margin-bottom: 10px;
    padding-top: 30px;
}

.manuals-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.manuals-grid ul {
    list-style: none;
    margin: 0;
    padding: 0 20px 0 0;
}

.manuals-grid li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    font-size: 16px;
}

.manuals-grid li a {
    color: #000;
    text-decoration: none;
}

.manuals-grid li a:hover {
    color: #12795f;
}

.manuals-grid li::before {
    content: " ";
    position: absolute;
    left: 0;
    top: 12px;
    color: #12795f;
    font-size: 14px;
    background-image: url('../images/arrow.svg');
    background-position: center;
    height: 15px;
    width: 15px;
}

.navbar-light .navbar-toggler {
    border-color: #144d3e;
    background: #144d3e;
    color: white;
    box-shadow: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.99%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.app-download {
    flex: 1;
    background-color: #E6EACB;
    padding: 25px 25px 20px;
    text-align: left;
}

.logo-app-download {
    display: flex;
    align-items: center;
}

.app-download a:last-child {
    margin-left: 10px;
}

.rightSpace {
    margin-right: 15px;
}

.app-download:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background-color: #E6EACB;
    z-index: -1;

}

.app-download h3 {
    color: #12795f;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
}

.app-download p {
    font-size: 18px;
    margin-bottom: 15px;
}

.store-btn {
    width: 140px;
    margin-top: 10px;
}

.tabs-section {
    flex: 2;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E5E5;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #ddd;
    background: #F4F4F4;
    font-size: 1.5rem;
    font-family: 'Rozha One', serif;
}

.tab-header div {
    flex: 1;
    padding: 15px 15px 0 15px;
    text-align: center;
    font-weight: bold;
}

.tab-header .active {
    color: #1a725c;
    position: relative;
    border-width: 100px;

}

.tab-header span {
    line-height: 30px;
    cursor: pointer;
}

.tab-header .active span {
    border-bottom: 6px solid #1a725c;
    line-height: 30px;
    display: inline-block;
    padding-bottom: 10px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.tab-header .active span::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #1a725c;
}

.tab-content {
    padding: 20px;
    /*max-height: 490px;*/
    overflow-y: auto;
    /*transition: max-height 0.5s ease-in-out;*/
}

.tab-content ol {
    padding-left: 20px;
    counter-reset: ol-counter;
    list-style: none;
}

.tab-content li {
    position: relative;
}

.tab-content ol li::before {
    counter-increment: ol-counter; /* Increment counter */
    content: counter(ol-counter) "."; /* Display number with a dot (e.g., "1.") */
    position: absolute;
    left: 0;
    top: 0;
    color: #000;
    height: 15px;
    width: 15px;
}

.tab-content li a {
    color: #000;
    text-decoration: none;
}

.tab-content li a:hover {
    color: #1a725c;
}

.tab-content li {
    margin-bottom: 1.5rem;
    line-height: 1.5;
    border-bottom: 1px solid #CBCBCB;
    padding-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    padding-left: 20px;
}

.tab-content li:last-child {
    border-bottom: none;
}

.containerTabs {
    padding: 3rem 0;
}

.new-tag {
    background-image: linear-gradient(90deg, rgba(242, 18, 18, 1.00) 0%, rgba(255, 133, 41, 1.00) 100%);
    background-position: center center;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.sidebar {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E5E5E5;
    overflow: hidden;
}

.sidebar h3 {
    background: #11694d;
    font-family: 'Rozha One', serif;
    color: white;
    padding: 15px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-bottom: 0;
}

.sidebar ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar li {
    padding: 1rem 3rem;
    margin: 0;
}

.sidebar li:nth-of-type(odd) {
    background-color: #F6F6F6;
}

.sidebar a {
    color: #1848E6;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
}

.sidebar a:before {
    content: '•';
    padding-left: 1rem;
    position: absolute;
    left: -30px;
    top: -7px;
    font-size: 1.5rem;
    color: #1848E6;
}

.sidebar a:hover {
    text-decoration: underline;
}

.banner {
    width: 100%;
    position: relative;
    z-index: 1;
    background-color: #12795f;
}

.banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/high-court.jpg');
    background-size: 70%;
    background-repeat: repeat-x;
    background-position: right center;
    transform: translateX(-35%);
}

.notificationaLine {
    margin-top: -1px;
    max-width: 400px;
    margin-right: auto;
    margin-left: auto
}

.banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 100%;
}

.banner-left {
    flex: 1;
    min-width: 70%;
}

.banner-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.banner-right {
    flex: 1;
    min-width: 30%;
    background-color: #12795f;
    color: white;
    padding: 20px 0 15px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.banner-right::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateX(-40%);
    left: -8px;
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-right: 18px solid #1a725c;
}

.banner-right h1 {
    font-family: 'Rozha One', serif;
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 10px;
}

.banner-right hr {
    border: none;
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
}

.banner-right p {
    font-size: 18px;
    line-height: 1.6;
}

.itemALign {
    display: flex;
    align-items: center;
    justify-content: left;
}

.itemALign img {
    margin-right: 10px;
}

.lh-16 {
    line-height: 16px;
}

.lh-48 {
    line-height: 48px;
}

.text-right {
    text-align: right;
}

.link-black {
    text-decoration: none;
    color: black;
}

.pointer {
    cursor: pointer;
}

.sec-hero {
    height: 656px;
    max-height: 100vh;
    background: black;
    background-size: cover;
    background-image: url('../images/hero.jpg');
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 1;
    margin-top: 48px;
}

.sec-hero-middle {
    max-height: 100vh;
    background-size: contain;
    background-image: url('../images/court-building.jpg');
    background-repeat: repeat-x;
    background-position: center;
    margin-top: 48px;
}

.links {
    background-color: #054D3E;
    color: white;
    border: none;
    padding: 5px 20px;
    border-radius: 15px;
    text-align: center;
    line-height: 24px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;
    display: block;
    float: right;
}

.links:hover {
    color: #ddd;
}

.hero-emblem {
    margin-top: 164px;
}

.hero-emblemNotification {
    margin-top: 164px;
    width: 180px;
}

.hero-large-text-innerNotification {
    color: #000000;
    font-size: 60%;
    text-align: center !important;
    margin: auto
}

.hero-large-text {
    font-family: 'Rozha One', serif;
    font-size: 60px;
    color: white;
    line-height: 72px;
}

.hero-small-text {
    font-family: Poppins;
    font-size: 30px;
    color: #D9DDC3;
    font-weight: 300;
}

.hero-large-text-inner {
    width: fit-content;
}

.footer-str.hero-large-text {
    font-size: 25px;
    line-height: 26px;
    padding-top: 10px;
}

.footer-str.hero-small-text {
    margin-top: 5px;
    font-size: 12px;
    line-height: 18px;
}

.hline {
    height: 1px;
    width: 100%;
    background: #FFF;
    background: linear-gradient(to right, #17A2B8, #fff);
    margin-top: 10px;
    margin-bottom: 10px;
}

.top-nav {
    background: #117A65;
    height: 70px;
    border-radius: 15px;
    position: relative;
}

.sec-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    z-index: 10;
}

.btn-contact {
    background-color: #054D3E;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    height: 70px;
    text-align: center;
    line-height: 50px;
    font-size: 1.313rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    position: absolute;
    right: 0;
    top: 0;
}

.btn-contact a img {
    margin-right: .7rem;
}

.btn-contact a {
    text-decoration: none;
    color: white;
}

.btn-contact:hover {
    background-color: #023e30;
}

.nav-item {
    font-family: poppins, sans-serif;
    font-weight: 300;
    color: white;
    line-height: 45px;
    padding-left: 20px;
    padding-right: 20px;
    white-space: nowrap;
}

.contactLink {
    white-space: nowrap;
}

.nav-item {
    position: relative;
}

.nav-item a:hover::after, .nav-item a.active::after {
    content: '';
    display: inline-block;
    width: 100%;
    background-color: #D9DDC3;
    left: 0;
    right: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 6px;
    bottom: -5px;
    position: absolute;
}


.nav-item:hover {
    font-weight: 300;
    line-height: 40px;
    transition: 500ms ease;
}

.green {
    color: #1a725c;
}

.margin-tb-70 {
    margin-top: 70px;
    margin-bottom: 70px;
}


.alt-bg-home-chs > div > * > div:first-child {
    background-color: white;
    border-radius: 15px;
    border: 1px solid #D8D8D8;
    transition: box-shadow 0.25s ease-in-out;
}

.alt-bg-home-chs > div > * > div:first-child:hover {
    box-shadow: 1px 1px 4px 0px gray;
}


.pill-img {
    height: 51px;
    width: auto;
}

.p-140rem {
    padding: 1.4rem;
}

.fs-110rem {
    font-size: 1.1rem;
}

.pill-content {
    line-height: 1.1;
    text-decoration: none;
    color: black;
    text-underline: none;
}

a.no-underline {
    text-decoration: none;
}

a.plain, a.plain:visited, a.plain:hover, a.plain:active {
    color: black;
}

.navbar-nav {
    padding-left: 20px;
}

.navbar-expand-sm .navbar-nav .nav-link {
    padding-left: 0;
    padding-right: 0;
}

/* Large screens */
@media (max-width: 1920px) {
    .manuals-grid ul {
        width: 28%;
    }
}

/* Large screens */
@media (max-width: 1440px) {
    .manuals-grid ul ul {
        width: 50%;
    }

    .banner::before {
        transform: translateX(-29%);
    }
}


/* Large screens */
@media (max-width: 1200px) {
    .manuals-grid ul ul {
        width: 50%;
    }

    .banner::before {
        transform: translateX(-30%);
    }
}


/* Large screens */
@media (max-width: 1140px) {
    .manuals-grid ul {
        width: 45%;
    }

    .banner::before {
        transform: translateX(-29%);
        background-size: 76%;
    }

    .pill-img {
        height: 40px;
    }
}

/* Laptops/desktops */
@media (max-width: 992px) {
    .manuals-grid ul {
        width: 45%;
    }

}


/* Tablets (landscape) and small laptops */
@media (max-width: 768px) {
    .top-tool-bar {
        line-height: 20px;
    }
}


@media (max-width: 576px) {
    .banner-right::after {
        display: none;
    }

    .banner-right {
        padding-top: 0;
        padding-left: 0;
    }

    .notificationaLine {
        max-width: 70%;
        margin-right: auto;
        margin-left: auto
    }
    .tab-header{
        font-size: 1rem;
    }
    .row-cols-xs-3 > * {
        flex: 0 0 calc(100% / 3);
        max-width: calc(100% / 3);
        min-height: 100%;
    }

    .itemALign {
        display: block;
        align-items: center;
        justify-content: center;
    }

    .itemALign img {
        margin: auto auto 10px;
    }

    .links-manuals-section .col-8, .links-manuals-section .col-4 {
        width: 100%;
    }

    .app-download:before, .banner::before {
        display: none;
    }

    .content-section {
        display: block;
    }

    .banner-inner {
        display: block;
    }

    .itemALign {
        justify-content: center;
    }

    .manuals-grid ul {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .manuals-grid {
        gap: 0;
    }

    .hero-large-text {
        font-size: 32px;
        line-height: 40px;
    }

    .hero-small-text {
        font-size: 14px;
        line-height: 24px;
    }

    .top-nav {
        background-color: transparent;
    }

    .btn-contact {
        right: 0px;
        padding: 5px 15px;
        height: 36px;
        line-height: 24px;
        font-size: 1rem;
        border-radius: 6px;
        top: 26px;
    }

    footer .col-8, footer .col-4 {
        width: 100%;
    }

    .footer-center {
        border: none;
        padding: 0;
    }

    .navbar {
        padding-top: 27px;
        margin-top: -25px;
    }

    .navbar-collapse.show {
        background-color: #144d3e;
        border-radius: 15px;
        margin-top: 10px;
    }

    .pill-content {
        text-align: center;
    }

    .nav-item a:hover::after, .nav-item a.active::after {
        display: none;
    }

    .p-140rem {
        padding: 10px 5px !important;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sec-hero {
        height: 420px;
        /*background-size: 150%;*/
        background-image: url('../images/banner-m.svg');
    }

    .hero-emblem {
        margin-top: 100px;
    }

    .margin-tb-70 {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    .hero-emblem {
        height: 150px;
    }

    .banner-left {
        height: 300px;
        background-image: url("../images/court-building.jpg");
        background-size: 100%;
        background-repeat: repeat-x;
        background-position: center center;
    }

    .sidebar {
        margin-top: 30px;
    }

    footer .footer-left, footer .footer-center, footer .footer-right {
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .fs-110rem {
        font-size: 0.9rem !important;
    }

    .hero-large-text-innerNotification {
        font-size: 80%;
    }
}

/* Small tablets (portrait) */
@media (max-width: 600px) {

}


@media (min-width: 769px) {
    .alt-bg-home-chs > div:nth-child(2) > * > div:first-child,
    .alt-bg-home-chs > div:nth-child(4) > * > div:first-child,
    .alt-bg-home-chs > div:nth-child(7) > * > div:first-child,
    .alt-bg-home-chs > div:nth-child(9) > * > div:first-child,
    .alt-bg-home-chs > div:nth-child(12) > * > div:first-child,
    .alt-bg-home-chs > div:nth-child(14) > * > div:first-child {
        background-color: #f5f5f5;
        border: none;
    }
}

@media (max-width: 768px) {
    .alt-bg-home-chs > div:nth-child(2) > * > div:first-child,
    .alt-bg-home-chs > div:nth-child(5) > * > div:first-child,
    .alt-bg-home-chs > div:nth-child(8) > * > div:first-child,
    .alt-bg-home-chs > div:nth-child(11) > * > div:first-child,
    .alt-bg-home-chs > div:nth-child(14) > * > div:first-child {
        background-color: #f5f5f5;
        border: none;
    }
}
