:root {
    --header-height: 145px;
    --footer-height: 186px;
}

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

body {
    font-family: "Roboto", arial, sans;
    font-size: 16px;
    max-width: 100vw;
    overflow-x: hidden;
}

p {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    font-family: 'Roboto', sans-serif;
}

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


/*--------------------------------------------------------
    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: #191617;
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0 20px 0;
    font-family: 'Roboto', sans-serif;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 10px 0;
    font-family: 'Roboto', sans-serif;
}


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

a {
    color: #990000;
}

a:hover {
    color: #EF373B;
}

a.black {
    color: #000000;
}

a.white {
    color: #ffffff;
}

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


/*--------------------------------------------------------
    IMAGES
--------------------------------------------------------*/

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


/*--------------------------------------------------------
    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;
}

.modal-body #login a {
    color: #990000;
    text-transform: none;
    font-weight: normal;
    margin: 0 0 5px;
}


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

#header-top {
    background-color: #070657;
    padding: 10px 0 5px;
}

#header-bottom {
    min-height: 40px;
    background-color: #4169E1;
}

#login a {
    border: 2px solid #fff;
    font-weight: bold;
    text-decoration: none;
    margin: 15px 0 5px;
    color: #fff;
    padding: 5px 55px;
    float: left;
    text-transform: uppercase;
    font-size: 16px;
    font-family: "Roboto", arial, sans;
}


#header-top .searchbox {
    float: left;
    width: 100%;
    border: 2px solid #fff;
    margin: 15px 0 5px;
    position: relative;
}
#header-top .searchbox input.search-input {
    height: 32.8px;
    width: 80%;
}


#header-top input#q {
    float: left;
    color: #fff;
    border: none;
    padding: 7px 20px 7px 15px;
    background: transparent;
    text-transform: Uppercase;
}

#header-top input.search-button {
    background-image: url('../images/search-icon.png');
    border: none;
    width: 25px;
    background-color: transparent;
    height: 25px;
    margin: 5px 10px 4px 0px;
    /* float: right; */
    position: absolute;
    top: 0;
    right: 0;
}


/*--------------------------------------------------------
    MOBILE MENU
--------------------------------------------------------*/

#mobileMenuWrapper {
    position: fixed;
    top: -1px;
    bottom: 0px;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    left: -120%;
    width: 270px;
    max-width: 100%;
    height: 600px;
    background-color: #070657;
    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;
}

#mobileMenuWrapper ul.mDropdown {
    margin: 0 15px;
    display: none;
}

#mobileMenuWrapper .mDropdown.open {
    display: block;
}

#mobile-menu a {}

#mobile-toggle {
    border: none;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

#mobile-menu-col {
    top: 3px;
    right: 10px;
    float: right;
    position: relative;
}

#mobile-logo {
    width: 40%;
    float: left;
    margin-top: 27px;
    margin-bottom: 20px;
}

#mobile-logo a {
    margin: 0 !important;
}

#mobile-logo svg#logo {
    width: 250px;
    max-width: 250px;
}

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

#mobile-menu .searchbox {
    float: left;
    width: 95%;
    border: 2px solid #fff;
    margin: 16px 0 5px;
}
#mobile-menu .searchbox input.search-input {
    height: 32.8px;
    width: 80%;
}

#mobile-menu input#q {
    float: left;
    color: #fff;
    border: none;
    width: 75%;
    padding: 7px 0 7px 10px;
    background: transparent;
    text-transform: Uppercase;
}

#mobile-menu input.search-button {
    background-image: url('../images/search-icon.png');
    border: none;
    width: 25px;
    background-color: transparent;
    height: 25px;
    margin: 5px 7px 4px 0px;
    float: right;
}


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

#main-container-page {
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

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

.carousel-control {
    background: transparent !important;
}

.slideshow-caption {
    background-color: rgba(65, 105, 225, 0.70);
    position: relative;
    height: 52px;
    top: -52px;
    padding-top: 5px;
}

@media (max-width: 767px) {
    .slideshow-caption {
        height: 45px;
        top: -45px;
    }
}

@media (max-width: 600px) {
    .slideshow-caption {
        height: 40px;
        top: -40px;
    }
}

@media (max-width: 500px) {
    .slideshow-caption {
        height: 35px;
        top: -35px;
    }
}

@media (max-width: 350px) {
    .slideshow-caption {
        height: 30px;
        top: -30px;
    }
}

.slideshow-caption img {
    margin: 0px auto;
}

.carousel-caption {
    display: none;
}

.carousel-caption li {
    list-style-type: none;
    display: inline;
    margin: 0 20px;
    color: #fff;
    font-family: "Lithos Pro";
    font-size: 40px;
    font-weight: bold;
    line-height: 56px;
}

.carousel-caption a {
    display: none;
}

#main-top {
    padding: 20px 0;
}

#main-top img {
    border: 3px solid #F13A43;
    margin: 10px 0;
    padding: 9px;
    float: left;
}

#main-top a {
    background-color: #4169E1;
    color: #fff;
    padding: 5px 0;
    float: left;
    font-size: 18px;
    width: 100%;
    text-align: center;
}

div#membership,
div#racing,
div#cruising,
div#events,
div#sail {
    float: left;
    width: 20%;
}

#main-mid {
    padding: 20px 0;
}

#main-bottom {
    padding: 50px 0 70px;
}

#updates {
    background-color: #4169E1;
    height: 90px;
    margin: 20px 0;
}

#updates img {
    position: relative;
    top: -65px;
    left: 45px;
}

#updates h1 {
    position: relative;
    float: right;
    color: #fff;
    font-size: 38px;
    font-weight: 400;
    top: 17px;
    right: 70px;
}

#updates a {
    position: relative;
    float: right;
    color: #070657;
    font-size: 24px;
    font-weight: 500;
    top: 95px;
    left: 260px;
    text-transform: uppercase;
}

#weather span {
    width: initial !important;
}

#weather img {
    width: 100%;
}


/*.fb-page, .fb-page iframe[style], .fb-page span {
    width: 100% !important;
}*/

#fb-root {
    display: none;
}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget span iframe[style] {
    width: 100% !important;
}


/*------------------------------------------------
    Upcoming Events
------------------------------------------------*/


/*#events-col h3 {
    border-bottom: 5px solid #2D6299;
    margin-bottom: 5px;
    color: #333;
    padding-bottom: 3px;
}*/

#events-col .event-wrapper {
    display: block;
    padding-right: 0px;
    padding-left: 0px;
    margin-bottom: 20px;
}

#events-col .date-wrapper {
    display: table-cell;
    padding-right: 10px;
}

#events-col .event-date {
    border: 1px solid #717f8f;
    width: 35px;
    height: 40px;
    text-align: center;
    padding-bottom: 2px;
    margin-top: 10px;
}

#events-col .event-month {
    background-color: #4169E1;
    color: #fff;
    text-align: center;
    max-width: 100%;
    font-size: 12px;
    /*font-weight: 600;*/
}

#events-col .event-day {
    font-size: 20px;
    color: #717f8f;
    position: relative;
    bottom: 4px;
    letter-spacing: -1px;
}

#events-col .event-content {
    display: table-cell;
    vertical-align: top;
}

#events-col h4.side {
    border: none;
    margin-top: 10px;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

#events-col h4.side a {
    color: #065AB0;
}

#events-col p.description {
    font-size: 14px;
    line-height: 18px;
    color: #333;
    /*margin-bottom: 0px;*/
}

#events-col p.read-more {
    display: none;
}

.ev-more-info-link {
    display: block;
}


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

#page {
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

#page p {
    font-weight: 400;
}

#page img {
    display: block;
    max-width: 100%;
    height: auto !important;
}


/*------------------------Nivo Sliders-------------------*/

#slider-container-FD3,
#slider_FD3,
#slider_FD3 img {
    max-width: 100% !important;
    height: auto !important;
}

#slider-container-FD4,
#slider_FD4,
#slider_FD4 img {
    max-width: 100% !important;
    height: auto !important;
}

#slider-container-FD5,
#slider_FD5,
#slider_FD5 img {
    max-width: 100% !important;
    height: auto !important;
}

#slider-container-FD6,
#slider_FD6,
#slider_FD6 img {
    max-width: 100% !important;
    height: auto !important;
}


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

#footer-container {
    margin-top: 20px;
}

#footer-top {
    background-color: #070657;
    padding: 15px 0 10px;
}

#footer-bottom {
    background-color: #1D1D23;
    padding: 15px 0 10px;
}

#footer-top p {
    font-size: 16px;
    color: #fff;
    margin: 30px 0 0;
}

#footer-bottom p {
    text-align: center;
    color: #fff;
    font-size: 16px;
}

#footer-bottom a {
    color: #fff;
    font-weight: bold;
}

#social img {
    margin: 10px 0;
}

#social a {
    display: inline-block;
}

#social a+a {
    margin-left: 15px;
}

@media (max-width: 450px) {}


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

@media (min-width: 1000px) {
    .container {}
}

@media (min-width: 990px) and (max-width: 1199px) {
    .container {}
    #login a {
        padding: 5px 40px;
    }
    #header-top input#q {
        width: 80%;
        padding: 7px 0px 7px 8px;
    }
    #header-top input.search-button {
        margin: 5px 8px 4px 0px;
    }
    #main-menu {
        display: none;
    }
    #main-top img {
        width: 175px;
        margin: 10px 0;
    }
    #main-top a {
        width: 100%;
    }
    #updates h1 {
        right: 20px;
    }
    #updates a {
        left: -225px;
        top: -125px;
    }
    #address {
        width: 70%;
    }
    #social {
        width: 20%;
    }
    #footer-top p {
        text-align: center;
        margin: 5px 0 0;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    .container {}
    #header-top #login {
        display: none;
    }
    #header-top .searchbox {
        float: right;
        width: 38%;
    }
    .carousel-caption li {
        font-size: 34px;
    }
    #main-top img {
        width: 135px;
    }
    #main-top a {
        width: 100%;
        font-size: 16px;
    }
    #main-bottom {
        padding: 72px 0 22px;
    }
    #updates {
        height: 50px;
        margin: 0 0 45px;
    }
    #updates img {
        left: 25px;
        width: 190px;
    }
    #updates h1 {
        font-size: 28px;
        top: 10px;
        margin: 0;
        right: 20px;
    }
    #updates a {
        left: -130px;
        top: -110px;
    }
    #address {
        width: 60%;
    }
    #social {
        width: 23%;
    }
    #social img {
        margin: 10px 5px;
    }
    #footer-top p {
        text-align: center;
        margin: 5px 0 0;
    }
}

@media (max-width: 767px) {
    .container {}
    #membership,
    #racing,
    #cruising,
    #events,
    #sail {
        width: 30%;
    }
    #main-top img {
        width: 200px;
        margin: 10px 0px;
    }
    #main-top a {
        width: 100%;
        font-size: 16px;
    }
    .carousel-caption {
        position: relative;
        top: -10px;
        background-color: rgb(65, 105, 225);
    }
    .carousel-caption li {
        font-size: 24px;
    }
    #main-bottom {
        padding: 72px 0 22px;
    }
    #updates {
        height: auto;
        float: left;
        margin: 0;
        background: transparent;
    }
    #updates img {
        left: 0;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    #updates h1 {
        color: #fff;
        text-align: center;
        position: relative;
        top: 0;
        padding: 10px 0;
        right: 0;
        margin: 0;
        width: 100%;
        font-size: 28px;
        background-color: #4169E1;
    }
    #updates a {
        left: 0;
        text-align: center;
        top: 0;
        width: 100%;
        margin: 10px 0 0;
    }
    #weather img {
        width: 160px;
    }
    #weather span {
        width: inherit;
    }
    #weather,
    #fb-feed,
    #ad-space {
        padding-bottom: 20px;
        width: 100%;
    }
    .carousel-inner img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget span iframe[style] {
        width: initial !important;
        position: inherit !important;
    }
    /*.fb-page, .fb-page iframe[style], .fb-page span {
        width: initial !important;
        position: inherit !important;
    }*/
}

@media (max-width: 480px) {
    .container {}
    .carousel-caption {
        position: relative;
        top: -10px;
        background-color: rgb(65, 105, 225);
    }
    .carousel-caption li {
        font-size: 20px;
        line-height: 40px;
    }
    #membership,
    #racing,
    #cruising,
    #events,
    #sail {
        width: 100%;
    }
    #main-top img {
        width: 100%;
    }
    #main-top a {
        font-size: 16px;
    }
    #updates {
        height: auto;
        float: left;
        margin: 0;
        background: transparent;
    }
    #updates img {
        left: 0;
        position: relative;
    }
    #updates h1 {
        color: #fff;
        text-align: center;
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        font-size: 28px;
    }
    #updates a {
        left: 0;
        text-align: center;
        top: 0;
        width: 100%;
        margin: 10px 0 0;
    }
    #weather img {
        width: 160px;
    }
    #weather,
    #fb-feed,
    #ad-space {
        padding-bottom: 20px;
        width: 100%;
    }
    .carousel-inner img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget span iframe[style] {
        width: initial !important;
        position: inherit !important;
    }
    /*.fb-page, .fb-page iframe[style], .fb-page span {
        width: initial !important;
        position: inherit !important;
    }*/
}

/* MMS Styling */

#admin_menu_wrap_5 .nav>li>a:focus, #admin_menu_wrap_5 .nav>li>a:hover {
    background-color: rgba(255,255,255,.1);
}

#admin_menu_wrap_5 .nav .open>a, #admin_menu_wrap_5 .nav .open>a:focus, #admin_menu_wrap_5 .nav .open>a:hover {
    background-color: rgba(255,255,255,.1);
}