/*--------------------------------------------------------
	FONT ASSIGNMENTS
--------------------------------------------------------*/

:root {
    overflow-x: clip;
    --header-height: 221px;
    --footer-height: 101px;
    --page-width: 100vw;
    --side-margin: calc(((100vw - var(--page-width)) / -2) - 15px);
    --gray: #F4F4F4;
}

@media (min-width: 768px) {
    :root {
        --page-width: 750px;
    }
}

@media (min-width: 992px) {
    :root {
        --page-width: 970px;
    }
}

@media (min-width: 1201px) {
    :root {
        --page-width: 1170px;
    }
}

body {
    color: #333333;
    font-size: 16px;
    line-height: 26px;
    font-family: 'Roboto', sans-serif;
}

p {
    color: #333333;
    font-size: 16px;
    line-height: 26px;
    margin: 10px 0 25px;
    font-family: 'Roboto', sans-serif;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

/* .container {} */


/*--------------------------------------------------------
	H1 - H6
--------------------------------------------------------*/

h1,
h2,
h3,
h4 {
    margin: 0px;
    padding: 0px;
    font-family: 'Roboto', sans-serif;
}

h1 {
    color: #213F9A;
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0 30px;
}

h2 {
    color: #213F9A;
    font-size: 28px;
    font-weight: bold;
    margin: 20px 0 30px;
}

h3 {
    color: #ED1F24;
    font-size: 20px;
    font-weight: bold;
}

h4 {
    font-size: 18px;
}

/* h1.title {} */


/*--------------------------------------------------------
	LINKS
--------------------------------------------------------*/

a {
    /*color: #ED1F24;*/
    /*text-decoration: underline;*/
}

a:hover,
a:focus {
    /*color: #ED1F24;*/
    text-decoration: underline;
}

a:is(:hover, :focus) {
    outline: 0px;
}

a:focus-visible {
    outline: 2px solid #213f9a; /*hex color can be replaced here with org color or link color*/
}

/*--------------------------------------------------------
	IMAGES, Objects
--------------------------------------------------------*/

img {
    border: 0px;
    max-width: 100%;
}


.button-link {
    color: white;
    border: none;
    text-transform: capitalize;
    font-weight: 700;
    padding: .75em 2ch;
    display: block;
    width: fit-content;
    margin: 1.25em auto;
    transition: .125s background-color ease-in-out, .125s color ease-in-out;
    line-height: 1;
    text-decoration: none;
    background-color:#213F9A;
    border-radius: .3rem;
    white-space: nowrap;
}

.button-link:first-child {
    margin-top: 0;
}

.button-link:last-child {
    margin-bottom: 0;
}

.button-link:is(:hover, :focus) {
    background-color: #ED1F24;
    color: white;
    text-decoration: none;
}

#gm-canvas .background-row {
    left: unset;
    right: unset;
    width: unset;
}

.background-row {
    position: relative;
}

.background-row:not(#mycanvas .background-row)::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--side-margin);
    right: var(--side-margin);
    display: block;
    background: var(--gray);
}

.background-row:not(#mycanvas .background-row)>.column {
    background: transparent !important;
    font-size: 16px;
    /* color: white; */
    /* text-align: center;
    font-weight: bold; */
    max-width: 1200px;
    margin: auto;
    line-height: 1.3;
}

.background-row:not(#mycanvas .background-row)>.column:not(.column:has(+.column)) {
    /* Since element is extended past where the scrollbar is, extra padding is added to make sure it's content is not hidden under the scrollbar */
    padding-right: calc(15px + var(--scrollbarWidth));
}

#main-container-page:has(.background-row:last-child) {
    /* If .background-row is the last row, don't include a gap between main and footer */
    margin-bottom: 0;
    padding-bottom: 0;
}

#main-container-page>.background-row:last-child {
    /* If .background-row is the last row, don't include a gap between main and footer */
    margin-bottom: 0;
}

/* rows and columns margin inside grid+ */
#gm-canvas .row, #gm-canvas .column {
    margin-top: 1em;
    margin-bottom: 1em;
}

.embed-wrapper { display: contents; }

@media (max-width: 767px) {
    .background-row:not(#mycanvas .background-row)>.column {
        font-size: 16px;
    }
}


/*--------------------------------------------------------
    MODAL LOGIN
--------------------------------------------------------*/

.modal-content {
    width: 280px;
    border-radius: 0;
    margin-top: 50px;
}

.modal-header {
    color: #ffffff;
    background-color: #213F9A;
}

.modal-header span#close {
    color: #ffffff;
}

.modal-dialog {
    width: 280px;
    margin: auto;
    display: block;
    text-align: center;
}

.modal-body {
    padding: 20px;
}

.modal-title {
    text-align: center;
}

.modal-body #login input[type="text"],
.modal-body #login input[type="password"] {
    margin: 5px 0;
    text-indent: 5px;
    padding: 5px 10px;
    border: 1px solid rgba(51, 51, 51, 0.44);
}

.modal-body #login a {
    font-size: 14px;
}

.modal-body #login input[type="submit"] {
    border-radius: 0;
    padding: 3px 18px;
}


/*--------------------------------------------------------
	HEADER
--------------------------------------------------------*/

header {
    padding: 20px 0;
}

header .row {
    display: flex;
    gap: 1rem 30px;
    align-items: center;
    justify-content: space-between;
}

header :is(.col-md-3, .col-md-9) {
    width: unset;
    padding: unset;
}

#header-right {
    /* float: right; */
    margin: 20px 0;
    display: flex;
    align-items: center;
    align-items: flex-start;
    gap: 15px;
    justify-content: flex-end;
}

#social-media {
    /* float: left; */
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

#social-media img {
    display: inline-block;
    height: auto;
}

#social-media p {
    /* float: left; */
    color: #3B5999;
    font-size: 20px;
    font-weight: 600;
    /* margin: 5px 10px; */
    margin: 0;
}

@media (max-width: 990px) {
    #social-media>li:first-child {
        display: none;
    }
}

#search-wrap {
    width: 234px;
    max-width: 100%;
    float: right;
    padding: 3px 9px 2px 8px;
    /* background-color: #213F9A; */
    border: 2px solid #213F9A;
}

#search-wrap form.searchbox {
    width: 100%;
    float: left;
    background-color: #fff;
}

#search-wrap .input-group .form-control {
    height: 39px;
    border: 0;
}

#search-wrap #search-wrap:has(.form-control:is(:focus, :hover, :focus-visible)) {
    outline: 2px solid #333;
}

#search-wrap .input-group .form-control:is(:focus, :hover, :focus-visible) {
    outline: 0;
    box-shadow: none;
}

#search-wrap .input-group-addon {
    background-color: transparent;
    border: 0;
}

#search-wrap p {
    display: none;
}

#search-wrap input.q {
    width: 82%;
    float: left;
    border: none;
    text-indent: 5px;
    background: transparent;
}

#search-wrap input.search-button {
    width: 19px;
    float: right;
    height: 19px;
    border: none;
    margin: 3px 2px 4px 9px;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: url(../images/search-icon.png);
    font-size: 0;
}

#search-wrap input:focus-visible {
    border: 0;
    outline: 0;
}

#search-wrap p {
    /* float: right; */
    margin: 0px;
    color: #ffffff;
}

#mobile-menu #search-wrap {
    margin-top: 40px;
}

#mobile-menu li.search-wrap input.search-button {
    width: 19px;
    float: right;
    height: 19px;
    border: none;
    margin: 4px 15px 0 0;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: url(../images/search-icon.png);
}


/*--------------------------------------------------------
	Desktop Navigation
--------------------------------------------------------*/

#nav-wrap {
    float: right;
    margin: 20px 0;
    padding-right: 0;
}


/*#nav_menu {
    float: right;
    text-align: right;
    width: initial !important;
}*/


/*.NP {
	float: right;
    text-align: right;
    width: initial !important;
}*/

.nav-tabs>li>a {
    text-decoration: none;
}

#nav_menu>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2ch;
    float: unset;
}

#nav_menu>ul::before,
#nav_menu>ul::after {
    content: none;
}

.NP .navbar-nav>li a {
    color: #333333;
    font-size: 16px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

#nav_menu>ul>li>a {
    border-bottom: 3px solid transparent;
    transition: .125s border ease-in-out;
    padding: 2px 5px;
}

#nav_menu>ul>li>a:is(:hover, :focus) {
    border-bottom: 3px solid #213F9A;
}

.NP .navbar-nav>li>.dropdown-menu {
    margin-top: 10px;
    border-radius: 0;
}

.NP .nav>li>a:hover,
.NP .nav>li>a:focus {
    background-color: transparent;
}

.NP .nav .open>a,
.NP .nav .open>a:focus,
.NP .nav .open>a:hover {
    border-color: transparent;
    background-color: transparent;
    border-bottom: 3px solid #213F9A;
}

.NP .dropdown-menu>li>a {
    padding: 5px 20px;
}

.NP .dropdown-menu>li>a:focus,
.NP .dropdown-menu>li>a:hover {
    background-color: #E0E0E0;
    border-bottom: none !important;
}

svg#burger {
    width: 35px;
    height: 35px;
    cursor: pointer;
}


/* #mobile-toggle {
    width: 100%;
    float: right;
    margin-top: 15px;
    text-align: right;
} */


/*--------------------------------------------------------
	INDEX / MAIN BODY
--------------------------------------------------------*/

/* Main */

main {
    --gap: 50px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

main>.row {
    position: relative;
    padding-block: var(--gap);
}

main:is(#main-container-page)>.row {
    padding-block: calc(var(--gap) / 2);
}

main:is(#main-container-page)>.row:first-child {
    padding-top: var(--gap);
}

main:is(#main-container-page)>.row:last-child {
    padding-bottom: var(--gap);
}

@media (max-width: 990px) {
    main:is(#main-container-page, #gpe-id)>.row>.column:not(:first-child) {
        margin-top: var(--gap);
    }
}

@media (max-width: 767px) {
    main {
        --gap: 45px;
    }
}

@media (max-width: 550px) {
    main {
        --gap: 40px;
    }
}



/*----------------Slideshow----------*/

#slide-row {
    margin-bottom: 10px;
}

.slide-container .carousel-inner>.item>img {
    width: 100%;
}

.carousel-control.left,
.carousel-control.right,
.carousel-control:hover {
    background-image: none;
    /* font-size: ;
    font-weight: ; */
    z-index: 101;
}

/* .carousel-control {
    top: ;
    width: ;
} */

.carousel-caption {
    top: 0;
    right: 0;
    bottom: 0;
    width: 43%;
    left: 120px;
    z-index: 100;
    text-align: left;
    text-shadow: none;
    position: absolute;
    padding: 75px 35px;
    background-color: #002857;
    background: rgba(33, 63, 154, 0.8);
}

@media (max-width: 600px) {
    .carousel-caption {
        padding: 0px 10px;
    }
}

.carousel-caption p:first-of-type {
    color: white;
    display: block;
    font-size: 26px;
    font-weight: 300;
    line-height: 40px;
    margin-bottom: 10px;
}

.carousel-caption p:last-of-type {}

.carousel-control,
.carousel-caption a,
.carousel-indicators {
    display: none;
}


/*----------------End Slideshow------*/


/*---------- news_feed_pages function ----*/

div#news-button-container {
    margin: 10px 0px 0px 0px;
    text-align: right;
}

div#news-button-verbiage {
    margin-right: 10px;
    display: inline-block;
    color: #5DB2D7;
}

div#news-button-container:active {
    margin: 9px 0px 0px -1px;
    /* keeps buttons from jumping around when pressed*/
}

div.news-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #5DB2D7;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    margin: 0px;
}

div.nb-number:hover {
    opacity: 0.7;
    /*buttons move toward backgound color when hovered over*/
    cursor: pointer;
}

div.nb-number:active {
    /* make buttons look like they are being pressed when clicked*/
    opacity: 0.6;
    border-width: 2px 0px 0px 2px;
}

div.nb-selected {
    /* style the selected button */
    opacity: 0.5;
}

div#nb-ellipsis-left,
div#nb-ellipsis-right {
    background-color: transparent;
    color: #5DB2D7;
    border: 0px;
    margin: 0px;
    padding: 5px;
    font-weight: bold;
}


/*---------- END: news_feed_pages ----*/

#gpe-id {
    padding-top: 30px;
    padding-bottom: 30px;
}

#quick-links ul {
    padding-left: 25px;
}

#quick-links ul li {
    color: #213F9A;
    list-style-type: square;
}

#quick-links ul li a {
    color: #ED1F24;
    font-weight: 500;
    line-height: 28px;
    text-decoration: underline;
}

.event-item {
    padding: 0;
    margin-top: 10px;
}

a.ev-title-link {
    color: #ED1F24;
    text-decoration: underline;
}

.event-date {
    font-size: 14px;
    font-style: italic;
}

.event-blurb {
    margin: 15px 0;
    font-weight: 500;
    line-height: 22px;
}

a.view-all-events {
    float: left;
    color: #ED1F24;
    font-weight: 500;
    margin: 25px 0 10px;
    text-decoration: underline;
}

#quick-links ul li a:hover,
a.ev-title-link:hover,
a.view-all-events:hover {
    text-decoration: none;
}


/*--------------------------------------------------------
	CSS STYLE FOR INNER PAGES
--------------------------------------------------------*/


/*--------------------------------------------------------
	FOOTER
--------------------------------------------------------*/

footer {
    padding: 25px 0 15px;
}

footer p {
    text-align: right;
}

footer a {
    color: #333333;
}


/*--------------------------------------------------------
    MEDIA QUERY
--------------------------------------------------------*/

@media (min-width: 990px) and (max-width: 1199px) {
    /* .container {}
    #header-right {
        width: 51%;
    } */
    /* #nav-wrap {
        display: none;
    } */
    /*#mobile-menu */
    li.search-wrap {
        display: none;
    }
    .carousel-caption {
        left: 0;
        width: 100%;
        position: relative;
        padding: 25px 35px;
    }
    #quick-links {
        width: 30%;
    }
    #welcome-wrap {
        width: 70%;
    }
    .event-item {
        width: 50%;
        padding-right: 15px;
    }
    footer p {
        padding: 0 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {}
    #mobile-menu li.search-wrap {
        display: none;
    }
    .carousel-caption {
        left: 0;
        width: 100%;
        position: relative;
        padding: 20px 35px;
    }
    .carousel-caption p:first-of-type {
        font-size: 22px;
        line-height: 34px;
    }
    #quick-links ul {
        float: left;
        padding-left: 20px;
    }
    #quick-links ul li {
        width: 32%;
        float: left;
        margin: 0 50px 0 0;
    }
    footer p {
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .container {}
    #social-media {
        float: right;
    }
    .carousel-caption {
        left: 0;
        width: 100%;
        position: relative;
        padding: 15px 35px;
    }
    .carousel-caption p:first-of-type {
        font-size: 20px;
        line-height: 30px;
    }
    #quick-links ul {
        float: left;
        padding-left: 20px;
    }
    #quick-links ul li {
        width: 50%;
        float: left;
        margin: 0 50px 0 0;
    }
    footer p {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {}
    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 24px;
        margin: 10px 0 20px;
    }
    #header-right {
        margin: 5px 0 10px;
    }
    #social-media {
        float: right;
        text-align: right;
    }
    #social-media p {
        margin: 0;
        width: 100%;
        text-align: right;
    }
    #social-media a>img {
        float: right;
        padding-left: 5px;
    }
    .carousel-caption {
        left: 0;
        width: 100%;
        position: relative;
        padding: 10px 35px;
    }
    .carousel-caption p:first-of-type {
        font-size: 18px;
        line-height: 28px;
    }
    #quick-links ul {
        float: left;
        padding-left: 25px;
    }
    #quick-links ul li {
        width: 100%;
        float: left;
    }
    footer p {
        padding: 0 15px;
        text-align: center;
    }
}