/*
 Theme Name:     H2O Dark
 Theme URI:      http://www.h2oswimclub.com
 Description:    Divi H2O Child Theme
 Author:         Ruairi Teer
 Author URI:     http://www.edgeintegratedsolutions.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

.et_pb_scroll_top:after {
    content: "BACK TO TOP";/*button text*/
    font-family: "Avenir",Arial,sans-serif;/*text font*/
    font-size:12px;
	  letter-spacing:1.5pt;/*text size*/
} 
.et_pb_scroll_top:before {
    content: "\21";/*select icon*/
    font-family: ETmodules !important;
    font-size:12px;/*icon size*/
    margin-right: 5px;
} 
.et_pb_scroll_top.et-pb-icon {
    padding: 0px 20px 17px;
    right: 5.5%;
    bottom: 85px;
    border-radius: 3px;
    background: #41b6e6;/*button color*/
    box-shadow: 0 10px 20px #37798940;
    transition: all .1s ease-in-out;
}
.et_pb_scroll_top.et-pb-icon:hover {
    background: #00ceff;/*button color on hover*/
    transition: all .1s ease-in-out; /*add transition*/
}









.et_pb_scroll_intl:after {
    content: "BACK TO TOP";/*button text*/
    font-family: "Avenir",Arial,sans-serif;/*text font*/
    font-size:16px;
	  letter-spacing:1.5pt;/*text size*/
} 
.et_pb_scroll_intl:before {
    content: "\21";/*select icon*/
    font-family: ETmodules !important;
    font-size:12px;/*icon size*/
    margin-right: 5px;
} 
.et_pb_scroll_intl.et-pb-icon {
    padding: 0px 20px 17px;
    right: 5.5%;
    bottom: 85px;
    border-radius: 3px;
    background: #41b6e6;/*button color*/
    box-shadow: 0 10px 20px #37798940;
    transition: all .1s ease-in-out;
}
.et_pb_scroll_intl.et-pb-icon:hover {
    background: #00ceff;/*button color on hover*/
    transition: all .1s ease-in-out; /*add transition*/
}



#footer-bottom .container, #main-footer .container{
margin-right: 5.5%; 
margin-left: 5.5%; 
width:89%!important;
max-width: 89%;
}


#top-header .container{
margin-right: 3%; 
margin-left: 3%; 
width:94%!important;
max-width: 94%;
}

#main-header .container{
margin-right: 5.4%; 
margin-left: 5.4%; 
width:89.2%!important;
max-width: 89.2%;
}

#main-footer .fwidget.et_pb_widget {
width: 100%!important;
max-width: 100%!important;
}



.et_fixed_nav #top-header {border-bottom: 2px solid #000000;}

.et_fixed_nav #main-header {border-bottom: 2px solid #000000;}

/* -------------------------------------------- 
 ------ Blurbs as Tabs Custom Styling ------
 -------------------------------------------- */

/* Style the Blurbs Tabs */
#blurb-tabs .et_pb_column {
 display:flex;
 align-items:center;
 justify-content:center;
 flex-wrap:wrap;
}
#blurb-tabs .tab-title {
 width:25%;
}

/* Hover Styles for Blurb Tabs - Titles */
#blurb-tabs .tab-title {
 transition:all .3s ease-in-out;
}
#blurb-tabs .tab-title:hover {
 cursor:pointer; 
 background:#41b6e6; /* Tab hover background color */
}
#blurb-tabs .tab-title.active-tab {
 background:#D9DFE2; /* Active tab background color */
}
#blurb-tabs .tab-title.active-tab .et_pb_blurb_container h4 a {
 color:#000; /* Active tab title color */
}
#blurb-tabs .tab-title.active-tab .et-pb-icon {
 color:#666!important; /* Active tab icon color */
}

/* Tab Titles Mobile Styles */
@media (max-width: 767px ) {
 #blurb-tabs .tab-title {
 width:50%;
 }
 #blurb-tabs .tab-title .et_pb_main_blurb_image {
 margin-bottom:10px; /* Reduce icon bottom margin */
 }
}

@media (max-width: 479px ) {
 #blurb-tabs .tab-title {
 width:100%;
 }
 #blurb-tabs .tab-title .et_pb_blurb_content { /* This moves icon to the right */
 display:flex;
 align-items:center;
 justify-content:flex-start;
 }
 #blurb-tabs .tab-title .et_pb_main_blurb_image { /* Fix icon margins on mobile */
 margin-bottom:0;
 margin-right:30px;
 }
}

/* Hide the tabs content/sections */
.tab-content {
 display:none;
}




#label.ssflabel {
    color: #eee;
    cursor: pointer;
    display: block;
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 0;
}

.et_pb_map_fullwidth_extended_0 .dwd-marker-listing-thead {
    color: #41b6e6!important;
    letter-spacing: 2px;
    text-align: center;
    visibility: hidden;
}

.dwd-map-marker-filter-wrapper {
    text-align: right;
    visibility: hidden;
    margin-top: -70px;
}

/*--------Header Drop Shadow-----*/
 #main-header {
 -webkit-box-shadow: 0px 9px 70px 2px rgba(0,0,0,0.84);
 -moz-box-shadow: 0px 9px 70px 2px rgba(0,0,0,0.84);
 box-shadow: 0px 9px 70px 2px rgba(0,0,0,0.84);
 }


.et_pb_toggle_title:before {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -.5em;
    color: #000;
    font-size: 25px;
    content: "3";
    font-family: -webkit-body;
}

.et_pb_toggle_open .et_pb_toggle_title:before {
    content: "2";
}

.mec-events-toggle .mec-toggle-item-inner i {
    position: absolute;
    font-size: 10px;
    color: black;
    right: 25px;
    top: 50%;
    transform: translate(0,-50%);
    cursor: pointer;
}

::-webkit-scrollbar {
width: 6px;
background-color: black;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3);
border-radius: 5px;
background-color: black;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
background-color: #41b6e6;
}


.gform_wrapper.gf_browser_chrome select {
    padding: 11px 9px 11px;
    background-color: #eee;
    border-color: #eee;
}


/*** REMOVE LABEL ON FIELDS USING PLACEHOLDER ***/
.gform_wrapper .top_label .gfield_label,
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
 display: none;
}
/*** FIELD STYLING ***/
input[type=text],
textarea {
 background: #eee;
 border: none;
 border-radius: 0;
 color: #999 !important;
 padding: 15px !important;
}
/*** BUTTON STYLING ***/
.gform_wrapper .gform_footer input.button {
 float: right;
 background: transparent;
 border: 1px solid #000000;
 font-size: 14px;
 color: #000000;
 padding: 12px 23px;
 border-radius: 0px;
 letter-spacing: 2px;
 cursor: pointer;
}
/*** BUTTON HOVER STYLING ***/
#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 70%;
 background: #41b6e6; /*** COLOR OF THE LINE ***/
 height: 2px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.4s;
 transition-duration: 0.4s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu li a:hover {
 opacity: 1 !important;
}
#top-menu li a:hover:before {
 right: 0;
}
#top-menu li li a:before {
 bottom: 10%;
}





.gform_wrapper .gform_footer input.button:hover {
 background: rgba(0, 0, 0, 0.05);
 border: 2px solid transparent;
}





#et_pb_text_2.et_pb_text a {
    color: #fff;
}


/* remove margin-left from button two on small screens */
@media all and (max-width: 579px) {
   .dvcs_fullwidth_header_effect .et_pb_fullwidth_header_container .et_pb_button_two {
        margin-left: 0px;
    }
}

/* css for scroll down icon */
.dvcs_fullwidth_header_effect .scroll-down {
  -webkit-animation: Jump 3s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
          animation: Jump 3s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@-webkit-keyframes Jump {
  0% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  11% {
    -webkit-transform: translate(0, -25px) scaleX(0.8);
            transform: translate(0, -25px) scaleX(0.8);
    -webkit-animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
            animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
  }
  20% {
    -webkit-transform: translate(0, 0px) scaleY(0.8);
            transform: translate(0, 0px) scaleY(0.8);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  28% {
    -webkit-transform: translate(0, -10px);
            transform: translate(0, -10px);
    -webkit-animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
            animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
  }
  36% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  100% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
}
@keyframes Jump {
  0% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  11% {
    -webkit-transform: translate(0, -25px) scaleX(0.8);
            transform: translate(0, -25px) scaleX(0.8);
    -webkit-animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
            animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
  }
  20% {
    -webkit-transform: translate(0, 0px) scaleY(0.8);
            transform: translate(0, 0px) scaleY(0.8);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  28% {
    -webkit-transform: translate(0, -10px);
            transform: translate(0, -10px);
    -webkit-animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
            animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
  }
  36% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  100% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
}
/* END css for scroll down icon */
/* END Fullwidth Header Section with Shade Effect on Scroll */ .et_fixed_nav #top-header {border-bottom: 3px solid #000000;}

#label.ssflabel {
    color: #eee;
    cursor: pointer;
    display: block;
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 0;
}



/*--------Header Drop Shadow-----*/
 #main-header {
 -webkit-box-shadow: 0px 9px 70px 2px rgba(0,0,0,0.84);
 -moz-box-shadow: 0px 9px 70px 2px rgba(0,0,0,0.84);
 box-shadow: 0px 9px 70px 2px rgba(0,0,0,0.84);
 }


.et_pb_toggle_title:before {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -.5em;
    color: #000;
    font-size: 16px;
    content: "3";
    font-family: -webkit-body;
}

.et_pb_toggle_open .et_pb_toggle_title:before {
    content: "2";
}

.mec-events-toggle .mec-toggle-item-inner i {
    position: absolute;
    font-size: 10px;
    color: black;
    right: 25px;
    top: 50%;
    transform: translate(0,-50%);
    cursor: pointer;
}

::-webkit-scrollbar {
width: 6px;
background-color: black;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3);
border-radius: 5px;
background-color: black;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
background-color: #41b6e6;
}



/*** REMOVE LABEL ON FIELDS USING PLACEHOLDER ***/
.gform_wrapper .top_label .gfield_label,
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
 display: none;
}
/*** FIELD STYLING ***/
input[type=text],
textarea {
 background: #eee;
 border: none;
 border-radius: 0;
 color: #999 !important;
 padding: 15px !important;
}
/*** BUTTON STYLING ***/
.gform_wrapper .gform_footer input.button {
 float: right;
 background: transparent;
 border: 1px solid #000000;
 font-size: 14px;
 color: #000000;
 padding: 12px 23px;
 border-radius: 0px;
 letter-spacing: 2px;
 cursor: pointer;
}
/*** BUTTON HOVER STYLING ***/
#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 70%;
 background: #41b6e6; /*** COLOR OF THE LINE ***/
 height: 2px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.4s;
 transition-duration: 0.4s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu li a:hover {
 opacity: 1 !important;
}
#top-menu li a:hover:before {
 right: 0;
}
#top-menu li li a:before {
 bottom: 10%;
}





.gform_wrapper .gform_footer input.button:hover {
 background: rgba(0, 0, 0, 0.05);
 border: 2px solid transparent;
}



#et_pb_text_2.et_pb_text a {
    color: #fff;
}


/* remove margin-left from button two on small screens */
@media all and (max-width: 579px) {
   .dvcs_fullwidth_header_effect .et_pb_fullwidth_header_container .et_pb_button_two {
        margin-left: 0px;
    }
}

/* css for scroll down icon */
.dvcs_fullwidth_header_effect .scroll-down {
  -webkit-animation: Jump 3s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
          animation: Jump 3s infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@-webkit-keyframes Jump {
  0% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  11% {
    -webkit-transform: translate(0, -25px) scaleX(0.8);
            transform: translate(0, -25px) scaleX(0.8);
    -webkit-animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
            animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
  }
  20% {
    -webkit-transform: translate(0, 0px) scaleY(0.8);
            transform: translate(0, 0px) scaleY(0.8);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  28% {
    -webkit-transform: translate(0, -10px);
            transform: translate(0, -10px);
    -webkit-animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
            animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
  }
  36% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  100% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
}
@keyframes Jump {
  0% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  11% {
    -webkit-transform: translate(0, -25px) scaleX(0.8);
            transform: translate(0, -25px) scaleX(0.8);
    -webkit-animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
            animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
  }
  20% {
    -webkit-transform: translate(0, 0px) scaleY(0.8);
            transform: translate(0, 0px) scaleY(0.8);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  28% {
    -webkit-transform: translate(0, -10px);
            transform: translate(0, -10px);
    -webkit-animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
            animation-timing-function: cubic-bezier(0.57, 0.01, 0.84, 0.5);
  }
  36% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
  100% {
    -webkit-transform: translate(0, 0px);
            transform: translate(0, 0px);
    -webkit-animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
            animation-timing-function: cubic-bezier(0.19, 0.28, 0.27, 1);
  }
}
/* END css for scroll down icon */
/* END Fullwidth Header Section with Shade Effect on Scroll */

.dwd-map-direction-wrapper {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background-color: #444;
    -webkit-box-shadow: rgba(0,0,0,.3) 0 1px 4px -1px;
    box-shadow: 0 1px 4px -1px rgba(0,0,0,.3);
    border-radius: 2px;
    display: inline-block;
}

.mec-wrap, .mec-wrap div {
    letter-spacing: 1pt;
}

.mec-wrap .mec-event-countdown-style3 .mec-event-countdown-part1 .mec-event-upcoming {
    letter-spacing: 1px;
}


.mec-event-countdown-style3 .mec-event-countdown-part-details .mec-event-title {
    font-size: 17px;
    color: #fff;
    line-height: 1.4;
    padding-right: 20px;
    font-family: inherit;
}

.entry-content .mec-wrap h1, .entry-content .mec-wrap h2, .entry-content .mec-wrap h3, .entry-content .mec-wrap h4, .entry-content .mec-wrap h5, .entry-content .mec-wrap h6, .mec-wrap h1, .mec-wrap h2, .mec-wrap h3, .mec-wrap h4, .mec-wrap h5, .mec-wrap h6 {
    font-family: inherit;
}





/* -------------------------------------------- 
 ------ Blurbs as Tabs Custom Styling ------
 -------------------------------------------- */

/* Style the Blurbs Tabs */
#flurb-tabs .et_pb_column {
 display:flex;
 align-items:center;
 justify-content:center;
 flex-wrap:wrap;
}
#flurb-tabs .fab-title {
 width:14%;
}

/* Hover Styles for Blurb Tabs - Titles */
#flurb-tabs .fab-title {
 transition:all .3s ease-in-out;
}
#flurb-tabs .fab-title:hover {
 cursor:pointer; 
 background:#41b6e6; /* Tab hover background color */
}
#flurb-tabs .fab-title.active-tab {
 background:#41b6e6; /* Active tab background color */
}
#flurb-tabs .fab-title.active-tab .et_pb_blurb_container h4 a {
 color:#000; /* Active tab title color */
}
#flurb-tabs .fab-title.active-tab .et-pb-icon {
 color:#666!important; /* Active tab icon color */
}

/* Tab Titles Mobile Styles */
@media (max-width: 767px ) {
 #blurb-tabs .fab-title {
 width:10%;
 }
 #flurb-tabs .fab-title .et_pb_main_blurb_image {
 margin-bottom:10px; /* Reduce icon bottom margin */
 }
}

@media (max-width: 479px ) {
 #flurb-tabs .fab-title {
 width:10%;
 }
 #flurb-tabs .fab-title .et_pb_blurb_content { /* This moves icon to the right */
 display:flex;
 align-items:center;
 justify-content:flex-start;
 }
 #flurb-tabs .fab-title .et_pb_main_blurb_image { /* Fix icon margins on mobile */
 margin-bottom:0;
 margin-right:30px;
 }
}

/* Hide the tabs content/sections */
.fab-content {
 display:none;
}
