:root {
    --gutter: 20px;
    --cc-primary: #003a4e;
    --cc-primary-accent: rgb(129, 189, 65);
    --overflow-limit:4;
}

html {
    font-size: 14px;
}

    html * {
        /*font-family: 'DM Sans', sans-serif;*/
        scroll-margin: 6rem;
    }

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    font-family: 'DM Sans', sans-serif;
    /*scroll-margin: 6rem;*/
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.bg-cc-primary {
    background-color: var(--cc-primary);
}

.bg-cc-primary-accent-hover:hover {
    background-color: var(--cc-primary-accent);
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.object-fit-contain {
    object-fit: contain !important;
}

.object-fit-cover {
    object-fit: cover !important;
}

.object-position-top {
    object-position: top;
}

.navbar-toggler {
    border-color: transparent !important;
}

.font-crimson {
    font-family: 'Crimson Pro', serif;
}

#navDiv {
    width: 98%;
}

.dropdown-menu {
    border: unset;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

/* Begin Custom CSS ================================= */
/* Navbar dropdown */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
    }

/* Custom white background for icons */
.circle-icon-w {
    background: white;
    border-radius: 50%;
    height: 5rem;
    width: 5rem;
    display: inline-flex;
    justify-content:center;
    align-items:center;
}

.circle-icon {
    border-radius: 50%;
    height: 5rem;
    width: 5rem;
    display: inline-flex;
    justify-content:center;
    align-items:center;
}

.bg-blur {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-blur.blur-dark {
    background-color: rgba(0,0,0,0.2);
}

.btn:not(.bg-blur, .ignoreBtnEffects):is(:active, :focus, :focus-within,  :hover) {
    background: var(--cc-primary);
    filter: brightness(.90);
}

.btn.bg-blur {
    transition: transform .05s ease-in
}

    .btn.bg-blur:active,
    .btn.bg-blur:focus,
    .btn.bg-blur:focus-within {
        outline: transparent !important;
        border-color: transparent !important;
    }

    .btn.bg-blur:active {
        transform: scale(.985);
    }

    .btn.bg-blur:hover {
        background-color: rgba(255,255,255,.1)
    }

@media only screen and (max-width: 576px) {
    .basicCardBody {
        height: 35%;
        overflow: hidden;
        padding: 1rem;
    }
        .basicCardBody .card-body:first-of-type {
            height: 50% !important;
            padding: unset;
        }
            .basicCardBody .card-body:first-of-type > h5 {
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                margin: unset;
            }

        .basicCardBody .card-body:last-of-type {
            height: 50% !important;
            padding: unset;
        }

    .basicCardText {
        display: none;
    }
    
    .basicCardImage {
        height: 65%;
    }
}

/* Customizes list-group from bootstrap */
div.list-group-transparent > .list-group-item {
    background: transparent;
    border-color: rgba(var(--bs-secondary-color-rgb), .2); /* default color with changed opacity */
    color: white;
}

div.list-group-transparent > a.list-group-item:hover {
    background: rgba(255,255,255,0.35)
}

/* Adds the background on scroll */
.background-on-scroll.scrolled {
    background-color: #fff !important;
    transition: background-color 200ms linear;
}

a.default-color {
    color: inherit;
}

/* custom padding - used for containers to adjust for navbar*/
.pt-7 {
    padding-top: 5rem;
}

@media (min-width: 768px) {
    .pt-md-7 {
        padding-top: 5rem;
    }
}

@media (min-width: 992px) {
    .pt-lg-7 {
        padding-top: 5rem !important;
    }
}

@media (min-width: 1260px) {
    .pb-xl-9 {
        padding-bottom: 7rem !important;
    }
}

.pb-7 {
    padding-bottom: 5rem !important;
}

.py-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* added parallax backgroud to footer */
.footer-image {
    /* The image used */
    background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .3) 100%),
        url(https://images.unsplash.com/photo-1458543809112-8e6a1c5d5a80?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80);
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    z-index: 1;
}

/* Adding translucent effect */
.card {
    border-radius: 10px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-color: rgba(255, 255, 255, 0.2);
}

.add-hover {
    transition: all 0.3s;
}

    .add-hover:hover {
        transform: translate(-0.5rem, -0.5rem);
        box-shadow: 12px 12px 2px 1px var(--cc-primary);
    }

    .add-hover.show-shadow {
        box-shadow: 12px 12px 2px 1px var(--cc-primary);
    }

        .add-hover.show-shadow:hover {
            transform: translate(-0.5rem, -0.5rem);
            box-shadow: 20px 20px 0px 4px var(--cc-primary);
        }

.cursor-pointer {
    cursor:pointer;
}

.rounded-20px {
    border-radius: 20px;
}

.rounded-10px {
    border-radius: 10px;
}

.add-transition {
    transition: all 0.3s;
}

.transform-down-5rem {
    transform: translate(0,5rem );
}

.row-gap-1rem {
    row-gap: 1rem;
}

.column-gap-1rem {
    column-gap: 1rem;
}

.aspect-ratio-16x9 {
    aspect-ratio: 16/9;
    -webkit-aspect-ratio: 3/2;
}

.fi-16px {
    height: 16px;
    width: 16px;
}

.position-absolute-center {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0 auto;
}

.quoteIcon-center {
    position: absolute;
    left: 2.5rem;
    top: -1rem;
    color: lightgray;
    font-size: 8rem;
    font-style: italic;
    z-index: -1;
}

.bookmarks {
    gap: 20px /* horizontal gap */
}

    .bookmarks > .d-flex {
        width: 100%;
        gap: 20px /* vertical gap */
    }

    .bookmarks .d-flex > .card {
        height: 10rem;
    }

@media (max-width: 480px) {
    .bookmarks .d-flex > .card {
        height: unset;
    }
}

@media only screen and (max-width: 992px) {
    .transform-down-5rem {
        transform: unset;
    }
}

/* Used to put text over image in a container position-relative */
.over-image-text {
    /* This way the icon is behind the content */
    position: absolute;
    z-index: 1;
}

.over-image {
    /* Allows the icon to free flow in the div */
    position: absolute;
    width: 50%;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.text-overflow-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: var(--overflow-limit);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-lg-clamp {
    -webkit-line-clamp: 4;
}

@media (min-width: 1200px) {
    .line-lg-clamp {
        -webkit-line-clamp: 10;
    }
}

/* Search Related CSS */

#xs_searchText.addClosingText::before {
    content: "\2716 \00A0 Close "
}
.searchBtn {
    color: white;
    cursor: pointer;
}

.closeSearchBtn {
    color: white;
    cursor: pointer;
    mix-blend-mode: difference;
}


.mix-blend-mode-difference {
    mix-blend-mode: difference;
}

#searchDiv {
    width: 100%;
    transform: translate(-.7em, 3rem);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

    #searchDiv.expand,
    td.gssb_e {
        /*td.gssb_e = completion container*/
        visibility: visible;
        opacity: 1;
        transform: translate(-.7em, 5rem);
    }

    div.gsc-results-wrapper-overlay {
        /* the results container */
        height: 50vh;
        width: 100%;
        left: 0;
        top: 5.5rem;
    }

.gsc-search-button-v2 {
    border-radius: 20px !important;
    background-color: black !important;
    font-size: unset !important;
    border: unset !important;
    transition: background-color .1s ease-in;
}

    .gsc-search-button-v2:hover {
        border-color: unset !important;
        background-color: rgba(0,0,0,75%) !important;
    }

#gsc-iw-id1 {
    border: none;
}

td.gsc-input {
    padding-right: unset !important;
    width: 100%;
}


/* Translate related css */
#pageBody {
    top: 0 !important;
}
.skiptranslate > iframe { 
    /* Remove Translate topbar */
    display: none;
    height: 0 !important;
    visibility: hidden;
}
.goog-te-gadget select {
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    mix-blend-mode: difference;
    padding: .25rem;
}

    .goog-te-gadget select > option {
        color: black;
        font-size: 14pt;
    }

@media (min-width: 577px) {
    .goog-te-gadget {
        position: fixed;
        bottom: 0;
        left: -11.1rem;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        background-color: rgba(255, 255, 255, 0.2);
        padding: 1em;
        color: white !important;
        transition: .1s ease;
        font-family: unset;
    }
        
        .goog-te-gadget:hover {
            left: 0rem;
        }

        .goog-te-gadget::after {
            content: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-globe"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>');
            position: absolute;
            padding-left: 2rem ;
            right: -55px;
            top: .75rem;
            text-align: end;
            font-size: 2rem;
        }

        .goog-te-gadget select {
            color:black;
        }
}

@media only screen and (max-width: 576px) {
    .skiptranslate.goog-te-gadget {
        display: flex;
        column-gap: 1rem;
        align-items: center;
        padding: 0 5px;
        background: var(--bs-dark);
    }
}

@media only screen and (min-width: 768px) {
    .h-md-100 {
        height: 100% !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 768px) {
    .goog-te-gadget {
        left: -12.65rem !important;
    }
}

@media only screen and (min-width: 576px) {
    .h-sm-100 {
        height: 100% !important;
    }
}