/*
Theme Name: Excel Aquatics
Theme URI: http://underscores.me/
Author: Mannix Marketing, Inc.
Author URI: http://www.mannixmarketing.com
Description: Custom responsive theme for excelaquatics.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: excelaquatics

This theme, like WordPress, is licensed under the GPL.

excelaquatics is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
.wf-loading, .fa-events-icons-loading { visibility: hidden; }
.wf-active, .fa-events-icons-ready { visibility: visible; }
html {font-family:sans-serif; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;}
body {margin: 0;}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {display: block;}
audio, canvas, progress, video {display: inline-block; vertical-align: baseline; }
audio:not([controls]) {display: none; height: 0; }
[hidden], template {display: none;}
a {background-color: transparent;}
a:active, a:hover {outline: 0;}
abbr[title] {border-bottom: 1px dotted;}
b, strong {font-weight: bold;}
dfn {font-style: italic;}
mark {background: #ff0; color: #000;}
small {font-size: 80%;}
sub, sup {font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}
img {border: 0;}
svg:not(:root) {overflow: hidden;}
figure {margin: 1em 1% 1em 0;}
hr {box-sizing: content-box; height: 0;}
pre {overflow: auto;}
code, kbd, pre, samp {font-family: monospace, monospace; font-size: 1em;}
button, input, optgroup, select, textarea {color: inherit; font: inherit; margin: 0;}
button {overflow: visible;}
button, select {text-transform: none;}
button, html input[type="button"], input[type="reset"], input[type="submit"] {-webkit-appearance: button; cursor: pointer;}
button[disabled], html input[disabled] {cursor: default;}
button::-moz-focus-inner, input::-moz-focus-inner {border: 0; padding: 0;}
input {line-height: normal;}
input[type="checkbox"], input[type="radio"] {box-sizing: border-box; padding: 0;}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {height: auto;}
input[type="search"] {-webkit-appearance: textfield; box-sizing: content-box;}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}
fieldset {border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em;}
legend {border: 0; padding: 0;}
textarea {overflow: auto;}
optgroup {font-weight: bold;}
table {border-collapse: collapse; border-spacing: 0;}
td, th {padding: 0;}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body, button, input, select, textarea {
	color: #404040;
	font-family: "freight-sans-pro", sans-serif;
	font-size: 18px;
	font-size: 1.2rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "brandon-grotesque",sans-serif; font-weight: 500; margin: 0 0 0.5em; line-height: 1.125;
}
h1 {
    font-size: 45px;
}
h2 {
    font-size: 40px
}
h3 {
    font-size: 35px
}
h4 {
    font-size: 27px
}

p {margin: 0 0 1.5em;}
dfn, cite, em, i {font-style: italic;}
blockquote {margin: 0 1.5em;}
address {margin: 0 0 1.5em;}
pre {background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; }
code, kbd, tt, var {font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375rem;}
abbr, acronym {border-bottom: 1px dotted #666; cursor: help;}
mark, ins {background: #fff9c0; text-decoration: none;}
big {font-size: 125%;}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}
body {background: #fff;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
hr {background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em;}
ul, ol {margin: 0 0 1.5em 0; padding-left: 1em;}
ul {list-style: disc;}
ol {list-style: decimal;}
li > ul, li > ol {margin-bottom: 0; margin-left: 1.5em;}
dt {font-weight: bold;}
dd {margin: 0 1.5em 1.5em;}
img {height: auto; max-width: 100%;}
table {margin: 0 0 1.5em; width: 100%;}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a, a:visited { color: #215491; text-decoration: none; }
a:hover, a:focus, a:active { color: #ffa04b; outline: 0; }

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.button, a.button, a.button:visited, button,
input[type="button"], input[type="reset"], input[type="submit"] {
    display: inline-block;
    border: none;
    border-radius: 30px;
    background: #04e3c6;
    box-shadow: none;
    color: #245696;
    line-height: 1;
    padding: .6em 1.5em;
    font-size: 19px;
}
.gf_browser_ie.gform_wrapper .gform_footer input.button { padding: .6em 1em !important; }

.button:hover, a.button:hover, button:hover, .site-footer a.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:focus, a.button:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
.button:active, a.button:active,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    background: #06d2b7;
    color: #245696;

}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}


/*--------------------------------------------------------------
# Custom Styles
--------------------------------------------------------------*/
.container { max-width: 1400px; margin: 0 auto; box-sizing: border-box; position: relative; padding: 0 2%; }
#primary .container { max-width: 1100px; }
.wide-column, .widget-area { float: left; box-sizing: border-box; }
.wide-column { width: 75%; padding-right: 3%; }
.widget-area { width: 25%; padding-left: 1.5%; }
.nowrap { white-space: nowrap; }
#mannix { font-size: 12px; font-size: 0.75rem; margin-top: 15px; }
.map {position: relative; }
.cover {position: absolute; top: 0; right: 0; bottom:6px; left: 0; background-color: #000; opacity: 0.1; }
.row { padding: 3em 0 1.5em; }

.site-header {
    border-bottom: 1px solid #ddd;
}
.header-bar { border-top: 5px solid #04e3c6; text-align: right; }

.header-registration { background: #04e3c6; padding: 5px 0; position: relative; margin: 0 36px; }
.header-registration:before { content: ''; width: 36px; height: 100%; background: url('images/register-before.png') no-repeat; background-size: cover; position: absolute; left: -36px; top: 0; }
.header-registration:after { content: ''; width: 36px; height: 100%; background: url('images/register-after.png') no-repeat; background-size: cover; position: absolute; right: -36px; top: 0; }
.header-registration a { color: #FFF; }
.header-registration a:hover { color: #245b9f; }
.site-branding { margin-top: -30px; }
.hero-image { position: relative; line-height: 0; }
.hero-image img { width: 100%; height: auto; }
.home .hero-text {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translate(0, -50%);
    background: rgba(255,255,255,0.85);
    max-width: 550px;
    text-align: center;
    padding: 45px 40px;
}
.home h1.entry-title {
    font-size: 51px;
    color: #245696;
}
.home h1.entry-title span {
    font-size: 78px;
    display: block;
}
.intro-wrapper { background: #96fff1; color: #245696; text-align: center; font-size: 27px; }
.intro-wrapper h2 { font-size: 62px; line-height: 1; }
.programs-wrapper { background: #245696; color: #FFF; text-align: center; }
.programs-wrapper.row {
    padding: 2em 0 0.8em;
}
.programs-wrapper h2 { font-size: 52px; }
.cta-wrapper { background: linear-gradient(to bottom, #96fff1 50%, #fff 50%); margin-bottom: 125px; }

.cta, .program { float: left; text-align: center; }
.cta { width: 31.33%; }
.cta:nth-of-type(3n+2){ margin-left: 3%; margin-right: 3%; }
.cta-image { display: block; width: 100%; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; text-align: center; overflow: hidden; line-height:0; margin-bottom: 1em;-webkit-mask-image: -webkit-radial-gradient(white, black); }
.cta-image img { width: 100%; transition: transform 2s; }
.cta-image:hover img { transform: scale(1.2); -moz-transform: scale(1.2); -webkit-transform: scale(1.2); transition: transform 2s; }
.cta h3 { font-size: 30px; text-transform: uppercase; margin: 0; font-weight: 500; }

.program { width: 25%; position: relative; line-height: 0; }
.program img { width: 100%; }
.program-title { position: absolute; bottom: 0; left: 0; width: 100%; padding: 10px 10px 0; color: #FFF; line-height: 1.25; z-index: 1000; }
.programshade {content: ''; position: absolute; height: 70%; width: 100%; bottom: 0; left: 0; z-index: 500; }
.program a.button {
    background: #FFF;
    color: #245696;
    font-weight: 500;
    padding: 0.5em 1.5em 0.55em;
}
.program a.button:hover {
    background: #06d2b7;
    transition: .5s ease;
}
.program h3 { font-size: 32px; font-weight: 500; }
.program:first-of-type .programshade {background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(1,82,185,0.6) 60%);
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(1,82,185,0.6) 60%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(1,82,185,0.6) 60%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#990152b9',GradientType=0 );}
.program:nth-of-type(2) .programshade {background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(33,228,203,0.6) 60%);
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(33,228,203,0.6) 60%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(33,228,203,0.6) 60%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#9921e4cb',GradientType=0 );}
.program:nth-of-type(3) .programshade{background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,134,26,0.6) 60%);
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,134,26,0.6) 60%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,134,26,0.6) 60%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#99ff861a',GradientType=0 );}
.program:nth-of-type(4) .programshade {background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(58,224,252,0.6) 60%);
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(58,224,252,0.6) 60%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(58,224,252,0.6) 60%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#993ae0fc',GradientType=0 );}

.home .reviews {
    background-color: #fff;
}
.home #primary {
    background: #96fff1;
}
.home #primary .site-main {
    font-size: 25px;
    float: right;
    width: 50%;
    padding: 30px 60px;
}
.site-main a {
    border-bottom: 1px dotted;
}
 .home #primary .mainhpleft {
    height: 600px;
    width: 50%;
    float: left;
    background-position: center;
}
.site-footer {
    background: #245696;
}
.site-footer a {
    color: #fff;
}
.site-footer a:hover {
    color: #ffa04b;
}
#mannix {color: #fff;}
.business-address { float: left; margin-right: 1em; color: #fff; font-size: 18px; }
.business-address .name { font-weight: 500; font-size: 25px; }
.business-address .name span { font-weight: 400; display: block; font-size: 18px; }

.contact-information.alignleft { width: 40%; margin: 0; }
.social-media.alignleft { text-align: center; font-size: 2em; width: 16%; margin: 0 2%; }
.social-icon { display: inline-block; margin-right: 15px; }

.social-icon:last-of-type { margin-right: 0; }

.schedule-section { background: #245696; }
.schedule-section .container { background: #FFF; }
.schedule-section h2 { margin: 1em 0; text-align: center; }

.swimclassesbg {
    background: #50f1dc;
}
.swimclasses h3 {
    margin: 0 0 38px;
    color: #265ca0;
    font-size: 34px;
    position: relative;
    text-align: center;
}
.swimclasses h3:after {
    position: absolute;
    background: #ffa04b;
    height: 3px;
    width: 70px;
    bottom: -20px;
    left: 50%;
    content: '';
    margin-left: -35px;
}
.container-tabs .nav-tabs {
    float: left;
    width: 100%;
    margin: 0;
    list-style-type: none;
    border-bottom: 1px solid #ddd;
}
.swimclass {
    padding: 35px;
    margin-bottom: 40px;
    background: #fff;
}
.swimclasses h2 {
    font-size: 46px;
    margin-bottom: 40px;
    text-align: center;
}
.swimclasses .classdescription ul {
    list-style: none;
}
.swimclasses .classdescription ul li {
    padding-left: 9px;
    position: relative;
}
.swimclasses .classdescription ul li:before {
    font-size: 21px;
    content: "\f00c";
    font-family: FontAwesome;
    left: -22px;
    position: absolute;
    top: 0;
    color: #ffa04b;
}
.container-tabs .nav-tabs > li.active > a,
.container-tabs .nav-tabs > li.active > a:hover,
.containe--tabs .nav-tabs > li.active > a:focus {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}
.container-tabs .nav-tabs > li {
    float: left;
    margin-bottom: -1px;
}
.container-tabs .nav-tabs > li > a {
    float: left;
    margin-right: 11px;
    line-height: 1.42857143;
    padding: 10px;
    border: 1px solid #ececec;
    border-radius: 4px 4px 0 0;
    background: #f7f7f7;
}
.container-tabs .tab-content {
    float: left;
    width: 100%;
}
.container-tabs .tab-content > .tab-pane.active {
    display: block;
    padding:20px;
}
.container-tabs .tab-content > .tab-pane {
    display: none; overflow-x: auto;
}
.tab-content .jr-container {
    margin: 0;
}
.tab-content .responsive-table tbody tr td {
    padding: 10px;
}
.tab-content .responsive-table tbody tr td a {
    background: #ececec;
    padding: 5px 10px;
    border-radius: 3px;
    color: #000;
    text-transform: uppercase;
    font-family: "brandon-grotesque",sans-serif;
    font-weight: 500;
}
.tab-content .responsive-table tbody tr {
    background:none;
    border-bottom: 1px solid #dadada;
}
.tab-content .responsive-table tbody tr:nth-of-type(even) {
    background:none;
}
.tab-content .responsive-table tbody tr td a:hover {
    background: #f98c2a;
}
.highlight {
    background: #d6f5fd;
}
.highlightimage {
    width: 50%;
    float: left;
    line-height: 0;
}
.highlightimage img {
    width: 100%;
    height: auto;
}
.highlighttext {
    position: relative;
    float: right;
    width: 50%;
    font-size: 23px;
    padding: 25px 50px;
}
.highlighttext h3 {
    font-size: 50px;
    color: #265a9b;
}
.highlight:nth-child(even) .highlighttext {
    float: left;
}
.highlight:nth-child(odd) .highlightimage  {
    float: right;
}
.bottomctas {
    background: #fff;
}
.bottomctas h3 {
    text-align: center;
    text-transform: uppercase;
}
.swimsubnav ul {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}
.swimsubnav ul li {
    display: block;
    margin-bottom: 3px;
    position: relative;
    width: 33.1%;
    float: left;
    margin-right: .2%;
}
.swimsubnav ul li a {
    color: #fff;
    display: block;
    padding: 10px 20px;
    background: #245696;
    text-decoration: none;
    border: 0;
}
.swimsubnav ul li a:hover {
    background: #1d4880;
}
.coaches, .subpages {
    margin-left:-2%;
    margin-right:-2%;
}
.coaches h2 {
    margin: 0 2% 30px;
}
.coach {
    width: 29%;
    margin: 0 2% 30px;
    float: left;
}
.coachimage {
    line-height: 0;
    border-bottom:6px solid #04e3c6;
}
.coach h4 {
    margin: 15px 0;
    font-size: 25px;
    color: #077A97;
}
.location {
    margin-bottom: 50px;
    background: #d6f5fd;
}
.locationmap {
    float: left;
    width: 65%;
    line-height: 0;
}
.locationtext {
    float: right;
    width: 35%;
    padding:30px;
}
.page-id-49 .entry-content h3 /*FAQ PAGE */{
    font-size: 28px;
    margin-bottom: 5px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}
.page-id-49 .entry-content h3:first-of-type {
    border:0;
    padding-top: 0;
}
.subpages .program {
    width: 46%;
    float: left;
    margin: 0 2% 30px;
    text-align: center;
    overflow: hidden;
}
.subpages .program  img {
    transition: transform 2s;
}
.subpages .program:hover img {
    transform: scale(1.2);
    transition: transform 2s;
}
.subpages .program a {
    display: block;
    cursor:pointer;
}
.subpage h3 {
    margin-bottom: 10px;
}
.home .reviews .container {
    max-width: 1000px;
}
.home .reviews.row {
    padding: 4em 0;
}
.home .review {
    font-family: "brandon-grotesque",sans-serif;
    font-size: 30px;
    text-align: center;
    font-weight: 500;
    color: #245a9f;
    line-height: 1.3em;
}
.home .review p {
    margin-bottom: 5px;
}
.home .review span {
    font-size: 22px;
    text-transform: uppercase;
}
.portalbutton {
    margin: 20px 0 0;
    float: right;
}
.post {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.post .articleright {
    padding-left: 120px;
}
.entry-meta {
    width: 90px;
    position: absolute;
    background: #96fff1;
    text-align: center;
    padding: 23px 15px;
    color: #14324d;
    font-weight: 500;
    font-size: 16px;
    font-family: "brandon-grotesque",sans-serif;
    line-height: 1.4em;
    border-radius: 50%;
    height: 90px;
}
.post .entry-title a {
    border: 0;
}

.post { border-bottom: 1px solid #ccc; }
.post:last-of-type { border-bottom: 0; }
.post .entry-content { margin-top: 1em; }
.entry-footer { padding-bottom: 15px; font-size: 70%; }
.cat-links, .tags-links, .comments-link { display: block; width: 100%; }
.posts-navigation { padding-top: 10px; font-size: 90%; }

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Shiftnav
--------------------------------------------------------------*/
body #shiftnav-toggle-main {
    font-size: 16px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
#shiftnav-toggle-main .shiftnav-main-toggle-content { padding: 5px !important; }
#shiftnav-toggle-main .shiftnav-main-toggle-content img { max-height: 50px; }
.shiftnav.shiftnav-skin-standard-dark, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu ul.sub-menu {
    background: #245696 !important;
    text-transform: uppercase;
}
body .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target {
    display: block;
    color: #FFF !important;
    border-bottom: 1px solid #427ac1;
    border-top: 1px solid #164279;
    text-shadow: none !important;
}
.shiftnav.shiftnav-nojs.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target:hover,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-accordion.current-menu-ancestor > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-shift.current-menu-ancestor > .shiftnav-target,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-highlight li.menu-item > .shiftnav-target:active,
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-on-hover li.menu-item > .shiftnav-target:hover {
    background: #96fff1 !important;
    color: #245696  !important;
}
body  #shiftnav-toggle-main-button {
    color: #000;
    font-size: 24px;
}
body .shiftnav .shiftnav-menu-title {
    display: none;
    }
#shiftnav-toggle-main a {
    background: url(/wp-content/themes/ExcelAquatics/images/excel-aquatics.png) no-repeat;
    text-indent: -10000px;
    width: 80px;
    background-size: cover;
    display: block;
    margin-left: 3%;
    height: 40px;
}
body .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target{
  background: #ed1f24;
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation, .footer-navigation, .header-navigation {
	width: 100%;
}

.main-navigation ul, .footer-navigation ul, .header-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.footer-navigation ul { columns: 2; column-gap: 40px; }

.main-navigation ul { margin-top: 15px; }

.main-navigation li, .header-navigation li {
	display: inline-block;
	position: relative;
}

.footer-navigation li {}

.main-navigation a, .footer-navigation a, .header-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation a { padding: 20px 20px 52px; font-weight: 500; font-size: 19px; }
.header-navigation a { margin-right: 20px; font-weight: 500; }
.header-navigation li:last-of-type a { margin-right: 0px; }

.main-navigation ul ul {
	background: #FFF;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 84px;
	left: -999em;
	z-index: 99999;
	padding-bottom: 10px;
    border-bottom: 6px solid #04e3c6;
    text-align: left;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 250px;
	padding: 5px 15px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
    color: #ffa04b;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden;}
.screen-reader-text:focus {background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;}
#content[tabindex="-1"]:focus {outline: 0;}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {display: inline; float: left; margin-right: 1.5em; }
.alignright {display: inline; float: right; margin-left: 1.5em; }
.aligncenter {clear: both; display: block; margin-left: auto; margin-right: auto; }

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after {content: ""; display: table; table-layout: fixed; }
 .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after {clear: both; }

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {margin: 0 0 1.5em;}
.widget select {max-width: 100%;}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {display: block;}
.hentry {margin: 0;}
.byline, .updated:not(.published) {display: none;}
.single .byline, .group-blog .byline {display: inline;}
.page-content, .entry-content, .entry-summary {margin: 1.5em 0 0;}
.page-links {clear: both; margin: 0 0 1.5em;}
.blog .format-aside .entry-title, .archive .format-aside .entry-title {display: none;}
.comment-content a {word-wrap: break-word; }
.bypostauthor {display: block; }
embed, iframe, object {max-width: 100%;}
.wp-caption {margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] {display: block; margin-left: auto; margin-right: auto; }
.wp-caption .wp-caption-text {margin: 0.8075em 0; }
.wp-caption-text {text-align: center; }

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {margin-bottom: 1.5em;}
.gallery-item {display: inline-block; text-align: center; vertical-align: top; width: 100%;}
.gallery-columns-2 .gallery-item {max-width: 49%;}
.gallery-columns-3 .gallery-item {max-width: 32.33%; }
.gallery-columns-4 .gallery-item {max-width: 24%; }
.gallery-columns-5 .gallery-item {max-width: 19%; }
.gallery-columns-6 .gallery-item {max-width: 15.66%; }
.gallery-columns-7 .gallery-item {max-width: 13.28%; }
.gallery-columns-8 .gallery-item {max-width: 11.5%; }
.gallery-columns-9 .gallery-item {max-width: 10.11%; }
.gallery-caption {display: block; }

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media screen and (max-width:1350px) {
    .main-navigation a {font-size: 18px; }
}
@media screen and (max-width:1300px) {
    header .nav-wrapper.alignright {
    display: block;
    float: none;
    margin-left: 0;
    clear: both;
}
    .main-navigation ul {text-align: center; }
    .main-navigation a {padding: 0 20px 15px; }
    .main-navigation ul ul {top: 27px; }
    body.home .entry-content  {margin: 0; }
    .home #primary .site-main {font-size: 21px; }
    .highlighttext {font-size: 18px; }
    .highlighttext h3 {font-size: 36px; color: #265a9b; margin-bottom: 7px; }
}
@media screen and (max-width: 1200px){
    .program {width: 50%; position: relative; line-height: 0; }
    .swimclass {margin: 40px auto 0; max-width: 96%; }
}
@media screen and (max-width: 1024px){
    .contact-information.alignleft { width: 80%; }
    .social-media.alignright { text-align: right; margin-right: 0; }
    .wide-column, .widget-area { float: none; width: 100%; padding: 0 2%; margin: 0; border: 0; }
    header .nav-wrapper.alignright, footer .nav-wrapper.alignright, .site-branding, #menu-item-83 {display: none; }
    .home .hero-text {
        position: absolute;
        right: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255,255,255,0.85);
        max-width: 100%;
        text-align: center;
        padding: 25px 40px;
        left: 50%;
        white-space: nowrap;
    }
    .intro-wrapper h2 {font-size: 45px; }
    .cta h3 {font-size: 22px; }
    .home #primary .mainhpleft {
        height: 300px;
        width: 100%;
        float: none;
        background-position: bottom center;
    }
    .home #primary .site-main {
        float: none;
        width: 100%;
        padding: 30px 30px 15px;
    }
    .header-bar {
        border-top: none;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }
    .header-registration:before, .header-registration:after {content:none; }
    .header-registration {
        background: none;
        padding: 10px;
        position: relative;
        margin: 0;
    }
    .header-registration a {color: #245696; }
    .header-phone, .header-registration {
        width: 50%;
        float: left;
        text-align: center;
        padding:14px 10px 8px 10px;
    }
    .header-phone {border-right: 1px solid #ddd; }
    .site-header {border-bottom: 0; }
    .row {padding: 2em 0 0.5em; }
    .highlight {position: relative; }
    .highlight:nth-child(odd) .highlightimage {float: none; }
    .highlightimage {width: 100%; float: none; }
    .highlighttext {
        font-size: 18px;
        position: absolute;
        z-index: 1000;
        bottom: 0;
        right: 0;
        background: #d6f5fd;
    }
    .highlight:last-child .highlightimage img{
        -moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        filter: FlipH;
        -ms-filter: "FlipH";
    }
    .swimsubnav ul li {width: 49.8%; }
    .subpages .program {
        width: 100%;
        float: none;
        margin: 0 0 30px;
    }
    .coaches, .subpages {
        margin-left: 0;
        margin-right: 0;
    }
    .coach {width: 46%; }
}

@media screen and (max-width: 800px) {
    .home h1.entry-title span {
        font-size: 48px;
    }
    .home h1.entry-title {
        font-size: 31px;
    }
    .cta-wrapper {
        display: none;
    }
    .highlighttext {
        font-size: 18px;
        position: relative;
        width: 100%;
        padding: 25px 2%;
    }
    .locationtext {
        float: none;
        width: 100%;
        padding: 30px;
    }
    .locationmap {
        float: none;
        width: 100%;
    }
}
@media screen and (max-width: 650px) {
    .classdetails label {
        font-size: 0;
    }
    .program {
        width: 100%;
    }
    .social-media.alignleft {
        text-align: center;
        margin-left: 0;
        width: 100%;
        clear: both;
        text-align: center;
        display: block;
        float: none;
        padding: 20px 0;
    }
    .business-address {
        float: none;
        margin: 0 0 20px;
        text-align: center;
    }
    .contact-information.alignleft {
        margin: 0;
        display: block;
        float: none;
        width: 100%;
    }
    #mannix {
        text-align: center;
    }
    .swimsubnav ul li {
        width: 100%;
        margin-right: 0;
    }
    .coach {
        width: 100%;
        margin: 0 0 30px;
        float: none;
    }
}
@media screen and (max-width:500px) {
    .home .hero-text {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        background: #fff;
        max-width: 100%;
        text-align: center;
        padding: 25px 40px;
        left: auto;
        white-space: nowrap;
    }
    .home .hero-text a.button {
        display: block;
        margin: 15px 0;
    }
    .entry-meta {
        width: 70px;
        padding: 18px 15px;
        height: 70px;
        font-size: 14px;
    }
    .post .articleright {
        padding-left: 90px;
    }
}
@media screen and (max-width: 440px) {
    .classdetails label {
        padding: 15px;
    }
    .header-navigation a {
        margin-right: 20px;
        font-weight: 500;
        font-size: 16px;
    }
    .intro-wrapper { font-size: 22px; }
    .intro-wrapper h2 {font-size: 31px; }
    .programs-wrapper h2 { font-size: 40px; }
    .home .review { font-size: 24px; }
}
@media screen and (max-width: 380px) {
    .header-navigation a {
        margin-right: 20px;
        font-weight: 500;
        font-size: 14px;
    }
    .home .hero-text { white-space: normal; padding: 25px 20px }
    .home h1.entry-title span { font-size: 40px; }
}