/*----------------------------
	Fonts, Titles, Text
------------------------------*/
    
@import url(//fonts.googleapis.com/css?family=Lato:400,700|Open+Sans+Condensed:300,700);

/* Currently, this is used on their site and grid+ uses the normal style.css file - duplicate styles for both? */

:root {
    --gap: 50px;
    --light-blue: #91AACE;
    --dark-blue: #243D7F;
    --radius: 0;
    --gray: #DADDE0;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    --scrollbarWidth: 13px;
}

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

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


/* font assignments */

body,
#gcal .fc-header-title h2 {
    font-family: "Lato", arial, sans;
}

.title,
.sp-title,
.nav a,
.fb-title,
.news-title a,
#head input[type=submit] {
    /* font-family: "Open Sans Condensed", "Trebuchet MS", arial, sans; */
    letter-spacing: 1px;
}

#head #login input[type=submit] {
    font-weight: 500;
}

.title,
.sp-title {
    border-bottom: 3px solid #D3A30E;
    margin-bottom: 15px;
    margin-top: 15px;
}

/* alignment */

.txt-c {
    text-align: center;
}

.txt-l {
    text-align: left;
}

.txt-r {
    text-align: right;
}

/* H1 - H6*/

h1,
h2,
h3 {
    margin: 0px;
    padding: 0px;
}

h1.title {
    font-size: 48px;
}

h2.title {
    font-weight: bold;
}

/* links */

a {
    color: blue;
    color: #002B9E;
}

a.black {
    color: #000000;
}

a.white {
    color: #ffffff;
}

a.white:hover {
    color: #cecece;
}

abbr {
    border-bottom: 0px !important;
}

    
.button-link {
    color: white;
    border: none;
    text-transform: capitalize;
    font-weight: 500;
    padding: .75em 2ch;
    display: block;
    width: fit-content;
    margin: 1.25em 0;
    transition: .125s background-color ease-in-out;
    line-height: 1;
    text-decoration: none;
    background-color: var(--light-blue);
    border-radius: var(--radius);
    white-space: nowrap;
}

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

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

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


/* Objects */

.full-width {
    /* Make an element span the width of the viewport */
    position: relative;
    left: var(--side-margin);
    right: var(--side-margin); 
    width: calc(100vw + var(--scrollbarWidth));
}

main:is(#homepage-main, #subpage-main) .full-width>.column {
    padding-left: 0;
    padding-right: 0;
}

#gm-canvas .full-width,
#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); */
    left: 0; /* side bar issue */
    right: 0;
    display: block;
    background: var(--gray);
}

#subpage-main: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;
}

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


/*----------------------------
	Inputs/input groups
-----------------------------*/
    
.search-button {
    background-image: url('../images/svg.php?i=search&s=20&c=ffffff');
    background-repeat: no-repeat;
    background-position: center;
    width: 32px;
}

form[id^=searchbox_],
#login form {
    margin-left: 15px;
    margin-bottom: 0px;
}

#head #login a {
    display: inline-block;
    margin-left: 20px;
    font-size: 16px;
    padding: 6px 10px;
    background-color: #354F7D;
    color: #ffffff;
    border: 0px;
}

#head #login a:is(:hover, :focus) {
    text-decoration: none;
    background-color: hsl(from #354F7D h s calc(l* .85));
}

/*----------------------------
	Images
-----------------------------*/
    
.logo {
    width: 225px;
    height: auto;
}

img {
    border: 0px;
}

svg {
    vertical-align: middle;
}

/*---------------------------------------------
		oh .
---------------------------------------------*/
    
form[name=member_update] input[name^=phone_] {

}

/*----------------------------
	Areas
-----------------------------*/
    
body {
    font-size: 14px !important;
    /* sets font size for page so em's work */
    background-color: #ffffff;
}

@media (max-width: 767px) {
    /*We're going to do his users a favor by making sure they can read the site on their phones*/
    body {
        font-size: 16px !important;
    }
    p {
        font-size: 16px;
    }
}

/* header */

#head {
    margin: 15px auto;
    font-family: "Lato", arial, sans;
}

#head table {
    width: 100%;
}

#head table td {
    width: 59%;
}

#head table td:first-of-type {
    width: 20%;
}

#head table td:last-of-type {
    width: 20%;
}

.login>div {
    text-align: center;
}

.login form {
    display: inline-block;
    margin-bottom: 0px;
}

#head input[type=text],
#head input[type=password],
#mobile-login input[type=text],
#mobile-login input[type=password] {
    background-color: #CED4DF;
    margin-right: 10px;
    border: 0px;
    color: #354F7D;
    font-size: 20px;
}

#head input[type=submit],
#mobile-login input[type=submit] {
    background-color: #354F7D;
    color: #ffffff;
    border: 0px;
}



#head input[type=submit]:is(:hover, :focus) {
    background-color: hsl(from #354F7D h s calc(l* .85));
}

#head .li-table {
    max-width: 60%;
    margin: 0px auto;
}

#head .li-table td {
    text-align: left;
    width: auto !important;
}

#head .search-box-table tbody {
    display: flex;
    align-items: center;
    gap: 10px;
}

#head .search-box-table tr:first-of-type {
    color: #354F7D;
    font-weight: 600;
    font-size: 16px;
}

#head .search-box-table td {
    width: auto !important;
}

#mobile-login input {
    display: block;
    width: 100%;
    padding-left: 10px;
    margin-right: auto !important;
    margin: 0px auto 5px;
}

#mobile-login form {
    display: block;
    text-align: center;
}

#head input[type=text],
#head input[type=password],
#head input[type=submit] {
    font-size: 16px;
    padding: 6px 10px;
}

#search .input-group-addon {
    border-radius: 0px;
    padding: 0px;
    background-color: #354F7D;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

#search #q {
    max-width: 200px;
    float: right;
}

.sp-title {
    font-weight: bold;
}


/* Index/Main Body*/
    

/* Index/Main Body - rows */

#main {
    padding-top: 20px;
}

#main>.col-md-8>.row:not(#foot.row, #last.row) {
    position: relative;
    padding-block: var(--gap);
}

#main:is(#subpage-main, #mms-main)>.col-md-8>.row:not(#foot.row, #last.row) {
    padding-block: calc(var(--gap) / 2);
}

#main:is(#subpage-main, #mms-main)>.col-md-8>.row:not(#foot.row, #last.row):first-child {
    padding-top: var(--gap);
}

#main:is(#subpage-main, #mms-main)>.col-md-8>.row:not(#foot.row, #last.row):last-child {
    padding-bottom: var(--gap);
}

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

/* Index/Main Body - columns */

@media (max-width: 990px) {
    main:is(#homepage-main, #subpage-main) > .row:not(#foot.row, #last.row) > .column:not(:first-child) {
        margin-top: var(--gap);
    }
}

/* Index/Main Body - other */

#main h2.title {
    font-size: 22px;
}


/* side-bar */

#sidebar .content-area {
    margin: 40px 0px;
}

#sidebar .content-area:first-of-type {
    margin-top: 0px;
}

#sidebar .content-area img {
    max-width: 100%;
    height: unset;
}

#sidebar h2.title,
.sp-title {
    font-size: 22px;
}

#sidebar a.all-events {
    width: 80%;
    margin: 0px auto;
    display: block;
    background-color: #49618A;
    color: #ffffff;
    text-align: center;
    padding: 10px 0px;
    border: 1px solid #ffffff;
}

#sidebar .carousel-control {
    display: none;
}

.carousel-indicators li,
.carousel-indicators li.active {
    margin: 10px;
}

#sb-slideshow .carousel-indicators {

}

#site-map {
    margin-left: 10px;
}

#site-map>div>a {
    font-size: 18px;
    font-weight: bold;
    display: block;
    border-bottom: 1px solid #C5A126;
    margin-top: 20px;
}

#site-map .sm-sub-menu {
    margin-left: 10px;
}

#site-map .sm-sub-item {

}

/* Foot */

#foot {
    background-color: #395380;
    padding: 15px;
    margin-top: 43px;
}

#foot a {
    color: #ffffff;
    display: inline-block;
    margin: 0px 20px;
    text-align: center;
}

#foot a,
#foot a svg {
    transition: .2s;
}

#foot a svg {
    max-width: 40px;
    margin-bottom: 10px;
}

#foot a:hover {
    color: #D3A30E;
}

#foot a:hover svg * {
    fill: #D3A30E;
}

#last {
    margin-top: 5px;
    margin-bottom: 40px;
}

#last>.col-md-6:last-of-type {
    text-align: right;
}

/* News */

.news-item {
    margin: 10px 0px;
    width: 100%;
}

.news-item .col-md-11 {
    background-color: #E6E9EF;
    padding-top: 10px;
    padding-bottom: 10px;
}

.news-more-info-link {
    color: #000000;
    font-weight: bold;
}

.news-title a {
    color: #000000;
    font-size: 16px;
    font-weight: bold;
}

.news-item .blue-bar {
    background-color: #354F7D;
    transition: background-color .3s;
    max-width: 30px;
    width: 30px;
}

.news-item:hover .blue-bar {
    background-color: #D3A30E;
}

/*----------------------------
	Slideshows
-----------------------------*/
    
#main-slide.content-wrapper {
    margin-top: 23px;
}

#main-slide .carousel-control {
    display: none;
}

#main-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

#main-slide .carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    #main-slide .carousel-indicators {
        display: none;
    }
}

#fb-slide .fb-item {
    background-color: #395380;
    display: block;
    transition: background-color .3s;
    text-decoration: none;
}

#fb-slide .fb-item:hover {
    background-color: #21324F;
}

#fb-slide .fb-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

#fb-slide .fb-text {
    display: block;
    width: 100%;
    background-color: #E6E9EF;
    padding: 10px;
    color: #000000;
}

#fb-slide .fb-title {
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    color: #ffffff;
}

#sb-slideshow ol.carousel-indicators {
    opacity: 0;
    transition: opacity .2s;
}

#sb-slideshow:hover ol.carousel-indicators {
    opacity: 1;
}

#sb-slideshow ol.carousel-indicators li {
    border: 1px solid #49618A;
}

#sb-slideshow ol.carousel-indicators .active {
    background-color: #D3A30E;
}

/*----------------------------
	Utility
-----------------------------*/

.p-0,
.p-0x {
    padding: 0px;
}

.pr-0 {
    padding-right: 0px;
}

.pl-0 {
    padding-left: 0px;
}

.pl-b {
    padding-left: px;
}

.pr-b {
    padding-right: px;
}

.m-0 {
    margin: 0px;
}

.bump {
    height: 5px;
}

.p-b {

}

.mb {
    margin-bottom: 10px;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.o-no {
    overflow: auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.cb {
    clear: both;
}

/* z-indices */

.z-150 {
    position: relative;
    z-index: 150;
}

.z-100 {
    position: relative;
    z-index: 100;
}

.z-50 {
    position: relative;
    z-index: 50;
}