﻿/* -------------------------------------------------- */
/* Member listing
/* -------------------------------------------------- */
.grid-item-member {
    text-align: center;
    padding: 12px;
}

    .grid-item-member a {
        display: block;
        text-decoration: none;
    }

div.member-div {
    text-align: center;
}

    div.member-div:hover, div.member-div img:hover {
        background-color: #efefef;
    }

.member-pic img {
    height: 250px;
    width: auto;
    border-radius: 10px;
}

a.member-name {
    color: #122D51;
    text-decoration: none;
}

    a.member-name:hover {
        color: #183C6B;
    }

    a.member-name:visited {
        color: #122D51;
    }

.member-district {
    color: #7D7F82;
    font-size: 13px;
}

.member-btns {
    display: flex;
    justify-content: center;
    padding-top: 9px;
}

    .member-btns a {
        line-height: 0;
        text-align: center;
        padding: 8px;
        margin: 0 3px;
        border: 1px solid rgba(32,174,224,.25);
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
        border-bottom-right-radius: 50%;
        border-bottom-left-radius: 50%;
    }

    .member-btns svg {
        fill: #2093E0;
        width: 16px;
        height: 16px;
    }

    .member-btns a:hover {
        border-color: rgba(36,164,250,.5);
    }

        .member-btns a:hover svg {
            fill: #24A4FA;
        }

.show-more {
    padding-top: 36px;
}

    .show-more button {
        padding: 18px;
        font-size: 16px;
        line-height: 1em;
        color: #C01B33;
        text-align: center;
        border: 1px solid #C01B33;
        width: 100%;
    }

@media screen and (max-width: 900px) {
    .side-col-aside {
        display: none;
    }
}
/* -------------------------------------------------- */
/* Offices Sidebar Style
/* -------------------------------------------------- */

.offices-style .location-bg {
    background: #EFEFEF;
    height: 100%;
    position: relative;
}

.offices-style .locations {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: -6px;
    /*    padding: 24px 0 96px 0;*/
    box-sizing: border-box;
}

    .offices-style .locations .location {
        /*        padding: 6px;*/
        width: 100%;
        box-sizing: border-box;
    }

.offices-style .txt {
    padding: 24px;
}

    .offices-style .txt h3 {
        font-size: 20px;
    }

.offices-style .container h2 {
    display: none;
}

.offices-style svg {
    display: none;
}


.error-component {
    border: 2px solid rgb(220, 40, 30);
    padding: 25px;
    background: bisque;
    word-wrap: break-word;
    text-align: center;
}

    .error-component .error-developer {
        text-align: left;
    }

.error-page {
    padding: 25px;
    background: bisque;
    word-wrap: break-word;
}
/*#map {
    width: 100%;  Make the map take up 100% of the width of its container 
    height: 400px;  Set a fixed height, you can adjust this value 
    position: relative;  Ensure the map stays in position 
    box-sizing: border-box;  Prevent any overflow beyond the set size 
}

@media (max-width: 768px) {
    #map {
        height: 300px;  Adjust map height for smaller screens 
    }
}*/
.responsive-map {
    width: 100%;
    height: 400px; /* Adjust this value as needed */
}

.site-search .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 1000;
}

    .site-search .search-results li {
        padding: 12px 16px;
        font-size: 14px;
        color: #222e64;
        cursor: pointer;
        transition: background 0.2s ease-in-out;
    }

        .site-search .search-results li:hover {
            background: #f1f2f6;
        }

.site-search input {
    transition: width 0.3s ease-in-out;
    width: 200px;
}

    .site-search input:focus,
    .site-search.expanded input {
        width: 400px;
    }

.site-search .search-results .see-more {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-top: 1px solid #ccc;
}

    .site-search .search-results .see-more a {
        color: #2093E0;
        text-decoration: none;
    }

        .site-search .search-results .see-more a:hover {
            color: #24A4FA;
            text-decoration: underline;
        }

table.center,
table[align="center"] {
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------- */
/* Modals
/* -------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 500;
}

    .modal a:hover {
        text-decoration: underline;
    }

    .modal .mbr-position {
        padding: 0;
        line-height: inherit;
    }

    .modal .mbr-h {
        font-size: 24px;
    }

.modal-window {
    position: relative;
    background-color: #FFFFFF;
    width: 98%;
    max-width: 600px;
    margin: 20% auto;
    padding: 12px;
    box-shadow: 0 0 18px rgba(0,0,0,.2);
}

.hero-og-container .glide__slide {
    background: no-repeat center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    height: auto;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-og-container .overlay {
    background-color: rgba(0, 0, 0, .3);
}

.hero-og-container iframe, .hero-og-container .overlay {
    height: 100%;
    width: 177.77777778vh;
    min-width: 100%;
    min-height: 56.25vw;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}




.hero-og-container img {
    width: 100%;
    max-width: 472px;
    height: auto;
    margin-right: 48px;
    position: relative;
    z-index: 50;
}

.hero-og-container .copy {
    position: relative;
    margin-top: -24px;
    z-index: 50;
}

.hero-og-container .video {
    width: 100%;
    position: relative;
    padding-bottom: 37.687%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    margin-bottom: -1px;
}

.hero-og-container .glide__bullets button {
    margin: 6px 0;
}

/*@media screen and (max-width: 600px) {
    .desktop {
        display: none;
    }

    .hero-og-text-mobile {
        display: block;
    }

    .hero .hero-og-text-mobile {
        width: 100%;
        background-color: #efefef;
        color: black;
    }

        .hero .hero-og-text-mobile h2,
        .hero .hero-og-text-mobile p {
            word-wrap: break-word;
            white-space: break-spaces;
            text-align: center;
        }

        .hero .hero-og-text-mobile h2 {
            font-size: 20px;
            padding: 10px;
        }

        .hero .hero-og-text-mobile p {
            font-size: 14px;
            padding: 0 10px 10px;
        }

        .hero .hero-og-text-mobile .btn {
            width: 100%;
            text-align: center;
        }

    .hero .container {
        padding: 0;
    }

        .hero .container img {
            width: 100%;
            max-width: unset;
            margin: 0;
        }

    .hero .overlay {
        display: none;
    }

    
}*/

.hero-og-container .container, .hero-og-container .container-min {
    display: flex;
    align-items: center;
    padding: 48px 48px 48px 24px;
}

.hero-og-container .image {
    position: relative;
    padding-bottom: 37.687%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    margin-bottom: -1px;
}

.hero-og-text-mobile {
    display: none;
}


@media screen and (max-width: 1365px) {
    .hero-og-container .glide__bullets {
        position: absolute;
        right: 24px;
        z-index: 20;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 16px;
        display: unset;
    }

        .hero-og-container .glide__bullets button {
            margin: 6px 0;
        }
}

@media screen and (min-width: 1200px) {
    .hero-og-container .glide__slide .slide-bottom-right {
        bottom: 15px;
        position: absolute;
        right: 15px;
        width: 40%;
    }

    .hero-og-container iframe, .hero-og-container .overlay {
        width: 177.77777778vh;
        min-height: 56.25vw;
    }
}

@media screen and (max-width: 1200px) {
    .glide__slide.video {
        padding-bottom: 61% !important;
        min-height: unset;
    }

        .glide__slide.video iframe {
            min-height: unset;
        }

        .glide__slide.video .slide-bottom-right {
            position: absolute;
            bottom: 0;
        }
}

@media screen and (max-width: 1079px) {
    .hero-og-container .container {
        flex-wrap: wrap;
    }

    .hero-og-container img {
        max-width: 200px;
        margin: 0 0 42px 0;
    }

    .glide__slide.video {
        padding-bottom: 61% !important;
        min-height: unset;
    }

        .glide__slide.video iframe {
            min-height: unset;
        }

        .glide__slide.video .slide-bottom-right {
            position: absolute;
            bottom: 0;
        }
}

@media screen and (max-width: 767px) {
    .hero-og-container .glide__slide {
        min-height: 80vh;
    }

    .glide__slide.video {
        padding-bottom: 61% !important;
        min-height: unset;
    }

        .glide__slide.video iframe {
            min-height: unset;
        }

        .glide__slide.video .slide-bottom-right {
            position: absolute;
            bottom: 0;
        }

            .glide__slide.video .slide-bottom-right h2 {
                font-size: 2em !important;
            }
}

@media screen and (max-width: 600px) {
    .desktop {
        display: none;
    }

    .hero-og-text-mobile {
        display: block;
    }

    .hero .hero-og-text-mobile {
        width: 100%;
        background-color: #efefef;
        color: black;
    }

        .hero .hero-og-text-mobile h2,
        .hero .hero-og-text-mobile p {
            word-wrap: break-word;
            white-space: break-spaces;
            text-align: center;
        }

        .hero .hero-og-text-mobile h2 {
            font-size: 20px;
            padding: 10px;
        }

        .hero .hero-og-text-mobile p {
            font-size: 14px;
            padding: 0 10px 10px;
        }

        .hero .hero-og-text-mobile .btn {
            width: 100%;
            text-align: center;
        }

    .hero .container {
        padding: 0;
    }

        .hero .container img {
            width: 100%;
            max-width: unset;
            margin: 0;
        }

    .hero .overlay {
        display: none;
    }

    .hero-og-container .glide__slide {
        min-height: 80vh;
    }

    .hero-og-container iframe, .hero-og-container .overlay {
        min-height: 80vh;
    }

    .glide__slide.video {
        padding-bottom: 61% !important;
        min-height: unset;
    }

        .glide__slide.video iframe {
            min-height: unset;
        }

    .featured-articles .glide__slides {
        align-items: unset !important;
    }
}
.flag-table tbody tr td {
    padding-bottom: 5px;
    align-content: center;
}
