/* HEADER STYLING */

header:not(.no-banner):not(.scrolled-head) ul.child-nav li a{
    color: #000 !important; /* YOU COLOR HERE FOR THE DROP DOWN MENU LINKS */
  }
  
  @media (min-width:1024px) {
    header:not(.scrolled-head):not(.no-banner) {
        background: linear-gradient(  to bottom,  rgba(0, 0, 0, 0.7) 0%,  rgba(0, 0, 0, 0.3) 60%,  rgba(0, 0, 0, 0.1) 85%,  transparent 100%);
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0) !important; /* To remove the box shadow */
    }
  
  
    body:not(.module-page) .header-space {
        display: none !important; /* Conditionally Removes the header space */
    }
  
    header:not(.no-banner):not(.scrolled-head) ul:not(.child-nav) li a,
    header:not(.no-banner):not(.scrolled-head) span {
        color: #fff !important;  /* YOUR MAIN MENU COLOR HERE WHEN MENU IS TRANSPARENT*/
    }
  }
  
  
  @media screen and (min-width: 1025px) and (hover: hover) {
      .master-layout-1 {
          height: 100px;
      }
  
      .master-layout-1 .container-fluid {
          height: 100px;
          width: 1600px;
          max-width: 100%;
      }
  
      .master-layout-1~.header-space {
          height: 100px !important;
      }
  
      .master-layout-1 #divMainMenu nav #main-menu {
          text-transform: uppercase;
      }
  
      .master-layout-1 #divMainMenu nav #main-menu ul a {
          color: #2a2a2a !important;
      }
  
      .master-layout-1 #divMainMenu nav #main-menu>li>a {
          color: #2a2a2a;
          line-height: 100px;
      }
  
      .child-nav > li, .child-nav > li > a {
          height: unset;
          line-height: normal;
      }
  
      .master-layout-1 .logo {
          height: 100px;
          padding: 10px 0;
      }
  
      .master-layout-1 .MyProfile_Member {
          height: 100px;
      }
  
      .wgt-header:not(.scrolled-head):not(.no-banner) .MyProfile_Member {
          height: 50px !important;
          z-index: 3;
          background-color: transparent;
          font-size: 1rem;
          color: #fff;
      }
  
      .wgt-header.scrolled-head .MyProfile_Member, .wgt-header.no-banner .MyProfile_Member {
          background-color: #0157a8;
          font-size: 1rem;
          color: #fff;
          height: 50px !important;
          transform: translatey(15px);
      }
  
      .master-layout-1 .MyProfile_Member .MyProfile_SignedIn .MyProfile_Name, .master-layout-1 .MyProfile_Member .MyProfile_SignedOut .MyProfile_Name {
          color: #fff;
          text-transform: uppercase;
      }
  
      header.master-layout-1:not(.scrolled-head):not(.no-banner) .MyProfile_Member {
          transform: translateY(25px) !important;
      }
  }

  /* Global */

:is(p,h1,h2,h3,h4,h5,h6):empty,
.contact-card-widget .contact-card-title:empty {
    display: none;
}

h1, h2, h3, h4 {
    text-transform: uppercase;
    font-weight: 600;
}

.theme1 :is(.basic-block-wrapper, .basic-text-area) :is(h1, h2, h3, h4, h5, h6) {
    color: #0157a8;
}

.theme3 :is(.basic-block-wrapper, .basic-text-area) :is(h1, h2, h3, h4, h5, h6) {
    color: #0157a8;
}

section .inner-wrap .container, section .theme-secondary:not(.inner-wrap) > div {
    width: 1600px;
    max-width: 100%;
    margin: auto;
    float: none;
}

section[id*="TextArea"] .e3-table-wrap > *:not(img), section[id*="TitleAndSummary"] .text-block-wrapper > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-balance p {
    text-align: justify;
    text-wrap: balance;
}

/* Intro Text */

body:not(.EditMode) .intro-text {
    /* width: 1200px; */
    max-width: 100%;
    line-height: 2rem;
    margin: 60px auto !important;
    float: unset;
}

.intro-text.theme1 .theme-secondary {
    background: url(/getmedia/9f7cca0e-ff88-4b20-8af5-8500b06ee370/eg-pattern1.aspx);
}

@media (min-width: 768px) {
    .intro-text.basic-block .basic-block-wrapper {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        background: white;
        padding: 90px 0;
    }
}

@media (min-width: 1024px) {
    section[id*="TitleAndSummary"].intro-text.basic-block .theme-secondary {
        padding: 90px 0 0 !important;
    }
}

@media (min-width: 1200px) {
    .intro-text .inner-wrap {
        padding: 100px 0 0px 0 !important;
    }

    .intro-text.basic-block .basic-block-wrapper .text-block {
        padding: 10px 20px 17px;
        width: 1200px;
    }
}

.basic-block .basic-block-wrapper .text-block {
    padding: 60px 20px;
}

/* Banners */

.cho-hero-textwidget .cho-hero-textwidget-content {
    display: none;
}

.video-banner-new {
    max-height: 100vh;
    overflow: hidden;
}

.video-widget .scroll-chevron {
    bottom: 30px;
    display: none;
}


/* Title Summary */

section[id*="TitleAndSummary"].basic-block.background-image .inner-wrap {
    text-shadow: none;
}

@media (min-width: 768px) {
    .basic-block .basic-block-wrapper .img-block {
        min-height: 580px;
        height: 100%;
    }
}

@media (min-width: 1024px) {
    section[id*="TitleAndSummary"].basic-block .theme-secondary {
        padding: 90px 0 !important;
    }
}

/* Full Title Summary */

/*
section[id*="TitleAndSummary"].basic-block.background-image .text-block-wrapper {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 30px;
}
*/

@media (min-width: 1200px) {
    .basic-block.background-image .inner-wrap {
        height: 70vh;
    }
}

section[id*="TitleAndSummary"].basic-block.background-image .text-block-wrapper {
    background: rgba(255, 255, 255, 0.8) !important;
    padding: 60px 30px;
    color: #2a2a2a;
}

/* Full-width Quicklinks */

.fullwidth-nohover .quicklink-flex-item {
    pointer-events: none !important;
}

.full-width-quicklinks h3.normal-font,
.theme1.full-width-quicklinks .quicklink-flex-item:hover .large-bkgd h3, .theme1.full-width-quicklinks .quicklink-flex-item:hover .large-bkgd p, .theme1.full-width-quicklinks .quicklink-flex-item:focus .large-bkgd h3, .theme1.full-width-quicklinks .quicklink-flex-item:focus .large-bkgd p {
    margin-bottom: 0;
}

.quicklink-flex-item:hover .large-bkgd h3, .quicklink-flex-item:hover .large-bkgd p, .quicklink-flex-item:focus .large-bkgd h3, .quicklink-flex-item:focus .large-bkgd p {
    animation: none;
    transition: none;
}

.full-width-quicklinks .full-width-quicklink-wrapper,
.full-width-quicklinks .quicklink-flex-item {
    height: 460px;
}

.full-width-quicklinks .full-width-quicklink-wrapper.large-bkgd {
    padding: unset;
}

.full-width-quicklinks .full-width-quicklink-wrapper {
    background: rgba(42, 42, 42, .3);
    color: #fafafa;
}

.full-width-quicklinks.text-center .quicklink-flex-item:hover .full-width-quicklink-wrapper .full-width-quicklink-content h3:before, .full-width-quicklinks.text-center .quicklink-flex-item:hover .full-width-quicklink-wrapper .full-width-quicklink-content h3:after {
    display: block;
    width: 70px;
}

.full-width-quicklinks.text-center .quicklink-flex-item .full-width-quicklink-wrapper .full-width-quicklink-content h3:before {
    border-bottom: 2px solid #d3c666;
}

.full-width-quicklinks.text-center .quicklink-flex-item .full-width-quicklink-wrapper .full-width-quicklink-content h3:before, .full-width-quicklinks.text-center .quicklink-flex-item .full-width-quicklink-wrapper .full-width-quicklink-content h3:after {
    content: "";
    display: block;
    padding-top: 6px;
    width: 0px;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
}

.full-width-quicklinks.text-center .quicklink-flex-item:hover .full-width-quicklink-wrapper .full-width-quicklink-content h3:before, .full-width-quicklinks.text-center .quicklink-flex-item:hover .full-width-quicklink-wrapper .full-width-quicklink-content h3:after {
    display: block;
    width: 70px;
}

.full-width-quicklinks.text-center .quicklink-flex-item .full-width-quicklink-wrapper .full-width-quicklink-content h3:after {
    border-top: 2px solid #d3c666;
}

.full-width-quicklinks.text-center .quicklink-flex-item .full-width-quicklink-wrapper .full-width-quicklink-content h3:before, .full-width-quicklinks.text-center .quicklink-flex-item .full-width-quicklink-wrapper .full-width-quicklink-content h3:after {
    content: "";
    display: block;
    padding-top: 6px;
    width: 0px;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
}

@media (min-width: 1024px) {
    .full-width-quicklinks .full-width-quicklink-container {
        margin: 0 auto;
        column-gap: 10px;
        row-gap: 10px;
    }
}

/* Expandable Content */

.expandable-content-widget .expandable-content-heading {
    border-bottom: 4px solid #fff;
    font-family: Playfair Display;
    font-size: 1.6em;
}

.theme1.expandable-content-widget .expandable-content-heading {
    border-bottom: 2px solid #0157a8;
}

/* Reciprocal Club Page */

.reciprocal-table tr td:first-child {
    width: 240px;
}

/* Contact Cards */

.contact-card-widget.card-view .contact-card-wrapper .card-details-inner h4 {
    font-size: 1.25rem;
}

.contact-card-widget.card-view .contact-card-wrapper .card-photo {
    background-position: top;
    background-repeat: no-repeat;
}

.contact-card-widget.card-view .contact-card-wrapper .card-photo[style*="eg-logo3.aspx"] {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 767px) {
    .div-add-to-contact {
        display: inline-block;
        background-color: #0157a8 !important;
        color: #fafafa !important;
        border-color: #014a8f !important;
        border-radius: 1.45em !important;
    }
}

/* Quick Links */

.content-quicklink-menu .col-xs-12 {
    padding: 0;
}

.content-quicklink-menu .content-quicklink-header {
    padding: 15px 30px;
    background: #0157a8;
    color: #fff;
}

.content-quicklink-menu .content-quicklink-header h2 {
    font-size: 2.125rem;
    margin-bottom: 0;
}

.content-quicklink-menu .content-quicklink-menu-list {
    background: #f3f3f3;
}

.content-quicklink-menu .content-quicklink-menu-a:hover {
    background: #e0e0e0;
}

.content-quicklink-menu .content-quicklink-menu-a {
    border-bottom: 1px solid #d8d3ca;
}

.content-quicklink-menu .content-quicklink-menu-a:hover {
    border-bottom: 1px solid #e0e0e0;
}

.content-quicklink-menu .content-quicklink-menu-a:after {
    content: "\f054";
    position: relative;
    top: 20px;
    color: #d8d3ca;
    font-family: FontAwesome;
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    margin-right: 10px;
}

/* Upcoming Events */

.upcoming-event-widget .CalAtGlance .title-row, 
.upcoming-event-widget .CalAtGlance .AGTitle {
    padding-bottom:10px;
}

.upcoming-event-widget .CalAtGlance .slick-track .upcoming-event-wrapper .teaser-img-div {
    height: 100%;
    width: 100%;
    min-height: 300px;
    position: relative;
}

.page-content .upcoming-event-widget .CalAtGlance .upcoming-event-wrapper {
    padding: 0;
    margin: 10px;
    border: 0px solid #0157a8;
    border-radius: 5px;
    background: #f3f3f3;
}

.page-content .upcoming-event-widget .CalAtGlance .upcoming-event-wrapper .teaser-img-div{
    width: 100%;
}

.upcoming-event-widget .CalAtGlance .upcoming-event-wrapper .teaser-img-div img {
    width: 100%;
    object-fit: cover;
    min-width: 100%;
    min-height: 100% !important;
    height: 100%;
    margin: auto;
    border-radius: 5px 5px 0 0;
}

.upcoming-event-widget .CalAtGlance .upcoming-event-wrapper .teaser-img-div img[src*="lakes_logo"] {
    object-fit: contain;
    padding: 20px;
}

.upcoming-event-widget .CalAtGlance .upcoming-event-wrapper {
    justify-content: center;
    border: 1px solid #0157a8;
    box-shadow: none;
}

.upcoming-event-widget .CalAtGlance .upcoming-event-wrapper .text-wrapper {
    padding: 0 16px 16px 16px;
    width: 100%;
}

.upcoming-event-widget .CalAtGlance .upcoming-event-wrapper .text-wrapper .Link2 {
    margin: 10px 0;
}

.upcoming-event-widget .CalAtGlance .upcoming-event-wrapper .text-wrapper .Link2 a {
    color: #0157a8;
    text-decoration: none;
    font-weight: 600;
    font-family: Frank Ruhl Libre,sans-serif;
    font-size: 1.125rem;
}

.upcoming-event-widget .CalAtGlance .upcoming-event-wrapper .text-wrapper .Link2 a:hover {
    text-decoration: underline;
}

.upcoming-event-widget .CalAtGlance .upcoming-event-wrapper .latest-news-datetime {
    font-size: 1em;
    padding: 0 0 .32em 0;
}

.upcoming-event-widget .CalAtGlance .mini-title-row {
    width: fit-content;
    margin-left: 10px;
}

@media (min-width: 1200px) {
    .upcoming-event-widget .CalAtGlance .upcoming-event-wrapper {
        padding-left: 0;
        padding-right: 0;
        flex: auto;
    }
}

@media(min-width: 768px) {
    .col-70-left .upcoming-event-widget .CalAtGlance .upcoming-event-wrapper, 
    .col-70-right .upcoming-event-widget .CalAtGlance .upcoming-event-wrapper {
        flex: 0 1 30%;
    }
}

@media(max-width: 767px) {
    .upcoming-event-widget .CalAtGlance .upcoming-event-wrapper {
        flex-direction: column-reverse;
    }
   
    .upcoming-event-widget .CalAtGlance .upcoming-event-wrapper {
        max-width: calc(50% - 20px);
        margin: 10px;
    }
}



/* CHO Bizform Styling */

.widget-bizform .inner-wrap {
    background: url(/getmedia/9f7cca0e-ff88-4b20-8af5-8500b06ee370/eg-pattern1.aspx);
}

.widget-bizform.theme1 .theme-secondary .container {
    background: #f3f3f3;
    padding: 60px;
}

.widget-bizform .container {
    width: 1000px !important;
    max-width: 100%;
}

@media (min-width: 768px) {
    .widget-bizform .background-image {
        background-attachment: fixed;
        padding: 100px 0 !important;
        display: flex;
    }
}

.widget-bizform .background-image .container {
    background: rgba(255, 255, 255, 0.9);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget-bizform {

    .EditingFormTable {
        display: block;
    }
    tr {
        display: flex;
        flex-direction: column;
    }
    .FormPanel .FieldLabel, .FormPanel .EditingFormLabel {
        text-align: left;
    }
    .radio {
        input {
            margin-bottom: 10px;
            margin-right: 3px;
            margin-left: 10px;
        }
        label {
            flex-grow: 1;
            min-width: max-content;
        }
    }
    tbody {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact .FieldLabel {
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 2rem;
        margin-top: 30px;
    }

    .title {
        font-size: 2rem;
    }

    .full {
        width: 100%;
        .form-control {
            max-width: 100% !important;
        }
        @media (max-width: 1024px) {
            width: 100% !important;
        }
    }
    .half {
        width: 50%;
        .form-control {
            max-width: 100% !important;
        }
        @media (max-width: 1024px) {
            width: 100% !important;
        }
    }

    .comments {
        width: 100%;

        .form-control {
            max-width: 100% !important;
            height: 8rem;
        }
        @media (max-width: 1024px) {
            width: 100% !important;
        }
    }
    .third {
        width: 33% !important;
        .form-control {
            max-width: 100% !important;
        }
        @media (max-width: 1024px) {
            width: 100%;
        }
    }
    tr:last-child {
        width: 100% !important;
    }
}

.widget-bizform .FieldLabel {
    font-size:0.9rem;
}

.widget-bizform tbody tr:last-of-type {
    text-align: center;
}

@media (min-width: 1200px) {
    .widget-bizform .container {
        width: 1000px !important;
        max-width: inherit;
    }
}


.widget-bizform h2 {
    margin-bottom: 50px;
}

.FormPanel .input-width-15 {
    width: 16% !important;
}

.FormPanel .input-width-20 {
    width: 55% !important;
    margin-right: 0 !important;
}