/* ARTWORK NOTES
--------------------------------------------

--------------------------------------------
*/
html body.site-home {
    --section-above-bg: var(--secondary-color);
}

html body {
    --side-menu-bg: var(--primary-color);
    --side-menu-bg-hover: var(--secondary-color);
    --side-menu-font-size-desktop: min(1.25vw, 1.25rem);
    --side-menu-font-family: var(--body-font-family);
    --side-menu-font-weight: 400;
}

html body #g-navigation {
    --main-menu-text-color: var(--default-white);
    --main-menu-text-color-hover: var(--default-white);
	--main-menu-bg: var(--secondary-color);

    --navigation-floating-social-padding: min(1vw, 1rem);
}

.g-array-item-text {
    margin: 0!important;
    padding: 0!important;
}

/* NAVIGATION */
@media only screen and (min-width: 50.99rem) {
    #g-navigation {
        display: none!important;
    }

    #g-navigation > .g-container > .g-grid:has(.g-main-nav) {
        position: relative;
    }
    #g-navigation > .g-container > .g-grid:has(.g-main-nav):before {
        content: '';
        background: var(--secondary-color);
        height: 100%;
        width: 3000%;
        margin-left: -500%;
        margin-right: -500%;
        position: absolute;
    }
}

@media only screen and (min-width: 50.99rem) {
    #g-navigation .g-main-nav .g-sublevel>li>.g-menu-item-container {
        color: var(--default-white);
    }
    #g-navigation .g-main-nav .g-sublevel>li>.g-menu-item-container:hover {
        background: var(--secondary-color);
        color: var(--default-white)!important;
    }
}

/*SIDEBAR*/
@media only screen and (min-width: 50.99rem) {
    #g-sidebar .platform-content {
        padding: 0!important;
    }

    .moduletable .nav.menu li {
        border: none;
    }
    .moduletable .nav.menu li a {
        display: flex;
        flex-direction: row;
        gap: min(.5vw, .5rem);
        align-items: center;
        justify-content: flex-start;
        border: none;
        padding: 5px;
        margin: 0;
        color: #32404b;
        transition: .2s all ease-in-out;
    }
    .moduletable .nav.menu li.active a {
        background: none!important;
    }
    .moduletable .nav.menu li a:hover {
        background: none!important;
        border: none;
        box-shadow: none;
        margin: 0;
    }
    .moduletable .nav.menu li.active a:before {
        color: var(--default-white);
        content: '\f35a';
    }
    .moduletable .nav.menu li:hover a:before {
        color: var(--default-white);
        content: '\f35a';
    }
    .moduletable .nav.menu li a:before {
        content: '\f138';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: #32404b;
        font-size: min(1vw, 1rem);
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
        transition: .2s all ease-in-out;
    }

    .box1.moduletable {
        background: var(--primary-color);
        color: var(--default-white);
    }

    .box2.moduletable {
        background: #32404B;
    }

    .box3.moduletable {
        background: none;
        box-shadow: none;
    }

    .box3.moduletable h3 {
        color: #32404b;
        font-size: min(1vw, 1rem);
        font-weight: 700;
        text-transform: uppercase;
        border: none;
    }
    .box3.moduletable :is(.readon, .button) {
        background: #027CE7;
        font-size: min(.9vw, .9rem);
        border-radius: .15rem;
        font-weight: 700;
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-sidebar .platform-content {
        padding: 0!important;
    }

    .moduletable .nav.menu li {
        border: none;
    }
    .moduletable .nav.menu li a {
        display: flex;
        flex-direction: row;
        gap: .5rem;
        align-items: center;
        justify-content: flex-start;
        border: none;
        padding: 5px;
        margin: 0;
        color: #32404b;
        transition: .2s all ease-in-out;
    }
    .moduletable .nav.menu li.active a {
        background: none!important;
    }
    .moduletable .nav.menu li a:hover {
        background: none!important;
        border: none;
        box-shadow: none;
        margin: 0;
    }
    .moduletable .nav.menu li.active a:before {
        color: var(--default-white);
        content: '\f35a';
    }
    .moduletable .nav.menu li:hover a:before {
        color: var(--default-white);
        content: '\f35a';
    }
    .moduletable .nav.menu li a:before {
        content: '\f138';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: #32404b;
        font-size: 3.5vw;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
        transition: .2s all ease-in-out;
    }

    .box1.moduletable {
        background: var(--primary-color);
        color: var(--default-white);
    }

    .box2.moduletable {
        background: #32404B;
    }

    .box3.moduletable {
        background: none;
        box-shadow: none;
    }

    .box3.moduletable h3 {
        color: #32404b;
        font-size: 3.5vw;
        font-weight: 700;
        text-transform: uppercase;
        border: none;
    }
    .box3.moduletable :is(.readon, .button) {
        background: #027CE7;
        font-size: 3vw;
        border-radius: .15rem;
        font-weight: 700;
    }

    .moduletable[class*="box"], .widget[class*="box"] {
        margin: 0!important;
    }
}

/*MAINBAR*/
#g-mainbar {
    background: url('/content/images/spineback.jpg') 50% 10% no-repeat;
    background-size: contain;
}

@media only screen and (max-width: 50.99rem) {
    #g-mainbar {
        background: url('/content/images/spineback.jpg') 0 120px no-repeat;
    }
}

table {
    border: unset;
}

td {
    border: unset;
}

@media only screen and (min-width: 50.99rem) {
    #g-container-main > .g-container {
        padding: min(3vw, 3rem) min(2.5vw, 2.5rem)!important;
    }
    #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: min(5vw, 5rem);
    }
    #g-container-main > .g-container > .g-grid > .g-block:has(#g-sidebar) {
        flex: 26;
        width: unset;
        max-width: unset;
    }
    #g-container-main > .g-container > .g-grid > .g-block:has(#g-mainbar) {
        flex: 74;
        width: unset;
        max-width: unset;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site.withmaxwidth #g-container-main > .g-container {
        padding: 2rem 0!important;
    }

    .site-sub.site.withmaxwidth:not(#site-grid) #g-container-main > .g-container {
        padding: 2rem 0!important;
    }
    #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    #g-container-main > .g-container > .g-grid > .g-block:has(#g-sidebar) {
        flex: 26;
        width: 100%;
        max-width: 100%;
        order: 2;
    }
    #g-container-main > .g-container > .g-grid > .g-block:has(#g-mainbar) {
        flex: 74;
        width: 100%;
        max-width: 100%;
        order: 1;
    }

    .header-logo {
        margin: 0 auto;
    }
    .header-logo img {
        width: 100%;
        max-width: 65%;
    }

    #g-mainbar {
        padding: 0 1rem!important;
    }
    #g-mainbar .moduletable {
        margin: 0!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .customfp-content-top-02 {
        display: flex;
        flex-direction: row;
        gap: min(2vw, 2rem);
        justify-content: space-between;
    }
    .customfp-content-top-02 .g-antry-width-33 {
        flex: unset;
        width: unset;
        max-width: unset;
    }
    .customfp-content-top-02 h4 {
        color: #6e6e6e;
        line-height: 1.2;
        font-size: min(1.25vw, 1.25rem);
        font-weight: 600;
        text-transform: uppercase;
    }
    .customfp-content-top-02 p {
        line-height: 1.6;
        font-size: min(1vw, 1rem);
    }
    .customfp-content-top-02 > div.clear {
        display: none!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .customfp-content-top-02 {
        display: flex;
        flex-direction: column;
    }
    .customfp-content-top-02 .g-antry-width-33 {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    .customfp-content-top-02 h4 {
        color: #6e6e6e;
        line-height: 1.2;
        font-size: 4vw;
        font-weight: 600;
        text-transform: uppercase;
    }
    .customfp-content-top-02 p {
        line-height: 1.6;
        font-size: 3.5vw;
    }
    .customfp-content-top-02 > div.clear {
        display: none!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .baf img {
        width: 100%;
        height: auto;
    }
}

/*BOTTOM*/
@media only screen and (min-width: 50.99rem) {
    #g-bottom {
        position: relative;
        z-index: 10;
    }
    #g-bottom > .g-container {
        padding: 2rem 0!important;
    }
    #g-bottom .admod td {
        padding-top: 0!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-bottom {
        position: relative;
        z-index: 10;
    }
    .site.withmaxwidth #g-bottom > .g-container {
        padding: 2rem 0!important;
    }
    #g-bottom .admod td {
        padding-top: .5rem!important;
    }
}

.search-page #searchForm .btn {
    background: var(--primary-color);
}

.grid-articles .g-array-item-text a:not(a.button) {
    color: var(--primary-color);
}
.grid-articles .g-array-item-text a {
    color: var(--primary-color);
}

@media only screen and (max-width: 50.99rem) {
    .admod.adside tbody {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: .5rem .5rem;
    }
}

@media only screen and (max-width: 50.99rem) {
    body#site-grid.newslayout #g-container-main > .g-container {
        padding: 2rem 1rem!important;
    }
    body#site-grid.newslayout #g-container-main #g-mainbar {
        margin: 0!important;
        padding: 0!important;
    }

    #site-grid.newslayout .grid-mobile-stacked .g-item-title {
        --grid-title-font-size: 3vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    body .side-menu-particle .g-blockcontent-subcontent-title-text {
        --side-menu-font-size-desktop: 4vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .grid-img-box-shadow-50 .g-array-item-image {
        box-shadow: none!important;
    }
    .grid-mobile-stacked .g-array-item-image img {
        box-shadow: none!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .bulletin-page .koowa_media {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .bulletin-page .koowa_media__item {
        flex: 1;
        min-width: calc(50% - .5rem);
        max-width: calc(50% - .5rem);
    }
}