/*--------------------------------------------------------
    FONT ASSIGNMENTS
--------------------------------------------------------*/
html {
    overflow-x: hidden;
}
body {
    /*overflow-x: hidden;
    background-color: #f6f7f2;*/
	font-family: 'Lato', sans-serif;
}
p {
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    font-family: 'Lato', sans-serif;
}   
/*--------------------------------------------------------
    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 {
	color: #64a0d4;
	font-size: 24px;
	font-weight: normal;
	margin: 10px 0 20px 0;
	font-family: 'Questrial', sans-serif;

}
h2 {
	color: #ffffff;
	font-size: 24px;
	font-weight: bold;
	margin: 10px 0 10px 0;
	font-family: 'Open Sans', sans-serif;	
}

/*--------------------------------------------------------
    LINKS
--------------------------------------------------------*/
a 				{ color: #64a0d4; }
a:hover			{ color: #64a0d4; text-decoration: underline; }
/*a.black			{ color: #000000; }
a.white 		{ color: #ffffff; }
a.white:hover 	{ color: #cecece; }*/

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

a:focus-visible {
    outline: 2px solid #000;
}


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

/*--------------------------------------------------------
    VIDEO
--------------------------------------------------------*/
.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
    top: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    border: 0;
}


/*--------------------------------------------------------
    MODAL LOGIN
--------------------------------------------------------*/
.modal-content {
    width: 280px;
    border-radius: 0;
}
.modal-dialog {
    display: block;
    width: 19%;
    text-align: center;
}
.modal-body {
    padding: 10px 20px 20px;
}
.modal-title {
    text-align: center;
}
input[type="text"], input[type="password"] {
    margin: 5px 0 5px;
    border: 1px solid #737373;
    padding: 5px 0;
    text-indent: 5px;
}

/*--------------------------------------------------------
    HEADER
--------------------------------------------------------*/
#header-wrap {
    padding: 10px 0 15px;
    font-family: 'Lato', sans-serif;
}
#left-wrap {
    padding-top: 30px;
    display: flex;
    gap: 10px 0;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}
#social-media {
    float: right;
    /* margin-right: 10px; */
    display: flex;
    gap: 10px 0;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}
#social-media img {
    width: 34px;
    height: 34px;
}
#social-media a img {
    margin-left: 5px;
}


#search-wrap {
    float: right;
}
.searchbox {
    position: relative;
    width: 250px;
    height: 35px;
    border: 1px solid #2DACE3;
    max-width: 100%;
    overflow: hidden;
}

    @media (max-width: 767px) {
        .searchbox {
            width: 200px;
        }
    }

    @media (max-width: 480px) {
        .searchbox {
            width: 180px;
        }
    }

.searchbox:focus-within {
    border-color: #5b5582;
    transition: border-color .125s ease-in-out;
}
.search-input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: none;
    padding: 0 1ch;
}
.search-input:focus {
    outline: none;
}
.search-button {
    background-color: #2DACE3;
    background-image: url(../images/search-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1.75rem;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 3.5rem;
    border: none;
    color: transparent;
}

/*--------------------------------------------------------
    MOBILE MENU
--------------------------------------------------------*/
#mobileMenuWrapper {
    position: fixed;
    top: -1px;
    bottom: 0px;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    left: -120%;
    max-width: 100%;
    height: 100%;
    background-color: #5B5582;
    transition: all 300ms cubic-bezier(1, 0.01, 0, 1) 0s;
}
#mobileMenuWrapper.open {
    left: 0px;
    bottom: 0px;
}
#mobileMenuWrapper #mobile-menu {
    overflow: auto;
    padding: 0px 20px 10px;
}
#mobileMenuWrapper ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
#mobile-menu > li#triggerClose {
    color: #fff;
    float: right;
    display: inline;
    font-size: 22px;
    cursor: pointer;
    transform: rotate(45deg);
}
#mobileMenuWrapper #mobile-menu a {
    width: 100%;
    color: #ffffff;
    display: inline-block;
    margin: 10px 0 0 0;
    font-size: 16px;
    background: transparent;
    padding: 0;
    font-weight: normal; 
}
#mobileMenuWrapper .mDropdown.open {
    display: block;
}
#mobileMenuWrapper ul.mDropdown {
    margin: 0 15px;
    display: none;
}
#mobile-menu-col {
    /* top: -18px; */
    right: -15px;
    float: right;
    position: relative;
}
svg#burger {
    width: 35px;
    height: 35px;
}
.caret {
    border-top-color: #2a6496;
    border-bottom-color: #2a6496;
}

/*--------------------------------------------------------
    INDEX / MAIN BODY
--------------------------------------------------------*/
#index-container {
    padding-top: 20px;
    padding-bottom: 120px;
}
#main-wrap {
    margin: 30px 0;
    background-color: #fff;
    border-top: 56px solid #98b73e;
}
.carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 5px;
    padding-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.5);
}
.carousel-caption h1 {
    color: #98B73E;
    font-size: 36px;
    text-align: left;
    margin-left: 30px;
    margin-bottom: 0;
    margin-top: 0;
    text-shadow: none;
}
.carousel-caption p {
    color: #fff;
    text-align: left;
    margin: 0 30px;
    line-height: 18px;
}
.carousel-caption a {
    background-color: #2DACE3;
    border-bottom: 3px solid #1C8FB7;
    padding: 8px 20px;
    text-transform: uppercase;
    text-shadow: none;
    font-size: 16px;
    float: right;
    margin-right: 40px;
    margin-top: 0;
    color: white;
}
.carousel-control.left, .carousel-control.right {
    background: transparent;
}

#quick-link-wrap h1,
#events-wrap h1,
#fb-wrap h1 {
    padding-bottom: 3px;
    /*text-transform: lowercase;*/
    border-bottom: 4px solid #98b73e;
}
#quick-link-wrap ul {
    padding: 0;
    list-style-type: none;
}
#quick-link-wrap ul li {
    font-size: 16px;
    padding: 14px 25px;
    background-color: #64a0d4;
}
#quick-link-wrap ul li:nth-child(even) {
    background-color: #98b73e;
}
#quick-link-wrap ul li a {
    font-family: 'Questrial', sans-serif;
    color: white;
}
#events {
    padding-bottom: 40px;
}
.event-wrapper {
    background-color: #5B5582;
}
.full-event-wrapper{
    background-color: #64A0D4;
    margin-left: 0px;
    margin-right: 0px;
}
.full-event-wrapper:nth-of-type(even){
    background-color: #98b73e;
}
.full-event-wrapper img{
    padding: 10px;
}
#event-date{
    color: #ffffff;
    padding: 10px 20px;
    text-align: center;
    font-size: 22px;
    line-height: 24px;
    font-family: 'Roboto Slab', sans-serif;
}
#event-content {
    color: #ffffff;
    padding: 10px 5px;
    font-size: 14px;
    font-family: 'Questrial';
}
#event-content h2{
    margin-top: 0px;
}
.full-event-wrapper #event-content .ev-title-link {
    font-family: 'Roboto Slab', sans-serif;
    font-size: 22px;
}
#event-content a {
    font-size: 16px;
    line-height: 18px;
    color: #ffffff;
    font-weight: normal;
}
#event-content .ev-title-link {
    font-family: 'Roboto Slab', sans-serif;
    font-size: 18px;
}

#calendar-events tr:nth-child(even) {
    background-color: #98b73e;
}
#events-area a#full-calendar {
    background-color: #64a0d4;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    text-align: right;
    float: right;
    padding: 5px;
    width: 100%;
    margin-bottom: 25px;
}
.content-area-top{
    margin-bottom: 30px;
}
.content-area-bottom{
    margin-top: 30px;
}
/*--------------------------------------------------------
    CSS STYLE FOR INNER PAGES
--------------------------------------------------------*/
#main-container-page {
    padding-bottom: 20px;
}
#page {
    padding-top: 20px;
    padding-bottom: 20px;
}
#page>.inner-row{
    margin: 30px 0;
    background-color: #fff;
    padding-bottom: 30px;
}
#page h1 {
    padding-bottom: 3px;
    /*text-transform: lowercase;*/
    border-bottom: 4px solid #98b73e;
}
#page h1.title{
    color: #64a0d4;
    font-size: 24px;
    font-weight: normal;
    margin: 10px 0 20px 0;
    font-family: 'Questrial', sans-serif;
    text-transform: none;
    border: none;
}
/*--------------------------------------------------------
    FOOTER
--------------------------------------------------------*/
#footer-container {
    padding: 20px 0 10px;
    background-color: #5b5582;
    border-bottom: 28px solid #4a4772;
}
#footer-wrap p {
    color: #fff;
    font-size: 16px;
    line-height: 34px;
}

/*--------------------------------------------------------
    MEDIA QUERY
--------------------------------------------------------*/
@media (min-width: 1000px) {
    .container {}
    
}

@media (min-width: 990px) and (max-width: 1199px) { 
    /* .container {}
    #social-media {
        margin: 0 10px 0 0;
    } */
    .carousel-caption {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .carousel-caption a {
        margin-top: 5px;
        margin-right: 20px;
        padding: 5px 17px;
        font-size: 14px;
    }
    .carousel-caption h1 {
        font-size: 30px;
        margin-left: 15px;
    }
    .carousel-caption p {
        margin: 0 15px;
    }
    #index-container {
        padding-bottom: 20px;
    }
    #main-wrap {
        margin: 0 0 30px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    /* .container {}
    #social-media {
        margin: 0 10px 0 0;
    } */
    .carousel-caption {
        padding-top: 10px;
        height: 190px;
        padding-bottom: 10px;
        position: relative;
    }
    .carousel-caption a {
        margin-top: 5px;
    }
    #index-container {
        padding-bottom: 20px;
    }
    #main-wrap {
        margin: 0 0 30px;
    }
}

@media (max-width: 767px) {
    .container {}
    #header-wrap {
        padding: 10px 15px;
    }
    #left-wrap {
        padding-top: 0;
        float: right;
    }
    #logo-wrap {
        float: left;
    }
    #social-media {
        float: right;
        /* margin: 0 10px; */
    }
    /* #mobile-menu-col {
        top: -45px;
        right: 2px;
    } */
    .carousel-caption {
        padding-top: 10px;
        height: 215px;
        padding-bottom: 10px;
        position: relative;
        padding-top: 15px;
    }
    .carousel-caption h1 {
        font-size: 28px;
        margin-left: 20px;
    }
    .carousel-caption p {
        margin: 0 20px;
    }
    .carousel-caption a {
        margin-top: 15px;
        margin-right: 20px;
    }
    #index-container {
        padding-bottom: 20px;
    }
    #main-wrap {
        margin: 0 0 30px;
    }
}

@media (max-width: 480px) { 
    .container {} 
    .carousel-caption {
        padding-top: 10px;
        height: 290px;
        padding-bottom: 10px;
        position: relative;
    }
    .carousel-caption h1 {
        font-size: 28px;
        margin-left: 20px;
    }
    .carousel-caption p {
        margin: 0 20px;
    }
    .carousel-caption a {
        margin-top: 15px;
        margin-right: 20px;
    }
    #index-container {
        padding-bottom: 20px;
    }
    #main-wrap {
        margin: 0 0 30px;
    }
}
/*Nivo Slideshow Modifications Ticket #56544*/
.nivo-nextNav {
    right: 5px !important;
}
.nivo-prevNav {
    left: 5px !important;
}
.nivo-prevNav {
    left: 5px !important;
    height: 32px;
    width: 32px;
    background-image: url(../images/slide-backward.png);
}
.nivo-nextNav {
    right: 5px !important;
    height: 32px;
    width: 32px;
    background-image: url(../images/slide-forward.png);
}


/* MMS Styling */

/* version 6 members menu */
#member_menu_wrap_5 .dropdown-menu>li>a:hover, #member_menu_wrap_5 .dropdown-menu>li>a:focus {
    background-color: #2DACE3;
}

/* admin menu */
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
    background-color: #2DACE3;
}

/* custom members area */

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background: #2DACE3;
}




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

.embed-wrapper { display: contents; }