@import url(http://fonts.googleapis.com/css?family=Alegreya+Sans:400,100);
/*@import url(http://fonts.googleapis.com/css?family=Exo);*/
@import url(https://fonts.googleapis.com/icon?family=Material+Icons); 
@import url(http://fonts.googleapis.com/css?family=Play);
@import url(../../genericons/genericons.css);

/* responsive design
min-width: 320px
topmenu appearance changes at: 550px
*/

/* 1.0 Reset 
------------------*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, input, select {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #f2f2f2;
    min-width: 320px;
}


article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}


ol,
ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

a, a:visited {
    text-decoration: none;
}

a:focus {
	outline: 2px solid #c1c1c1;
	outline: 2px solid rgba(51, 51, 51, 0.3);
}

.link:hover,
a:hover,
a:active {
	outline: 0;
    text-decoration: underline;
    color: rgba(0,76,134,0.7);
}

.link {
    cursor: pointer;
}

.link, a {
    color: #004c86;
}

a img {
	border: 0;
} 

.material-icons {
	font-size:inherit;
	vertical-align:bottom;
}
/**
 *  Alignments
 */

.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

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

.textcenter {
    text-align: center;
}

/**
 * 2.0 - Genericons
 */

.program-schedule:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-family: "Genericons";
	font-size: 2.5rem;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: baseline;
    padding: 0;
}

/* 3.0 Typography 
---------------------*/

body {
    font-family:'Alegreya Sans', sans-serif;
    font-size: 1.8rem;
    
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Play';
}

/* Forms 
-----------------*/
button,
input:not([type='file']),
select,
textarea {
	background-color: white;/*#f3f3f3;*/
	border-radius: 0;
	font-size: inherit;
	line-height: 1.3;
	margin: 0;
	vertical-align: baseline;
}

button,
input {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	line-height: normal;
}

input:not([type='file']),
textarea,
select{
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); /* Removing the inner shadow on iOS inputs */
	border: 1px solid #333;
	border: 1px solid rgba(33, 33, 33, 0.5);
	color: inherit;
	
}

textarea {
    width: 400px;
    height: 250px;
}

input:focus,
textarea:focus {
	background-color: aliceblue;
	color: #333;
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
	cursor: default;
	opacity: .5;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	background-color: #0070c6;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 700;
	padding: 0.5em 0.7em;
	text-transform: uppercase;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background-color: #707070;
	background-color: rgba(0, 112, 198, 0.7);
	outline: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	padding: 0.2em;
	/*width: 100%;*/
}

textarea {
	overflow: auto;
	vertical-align: top;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	outline: 0;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

.search-form input[type="submit"],
.widget .search-form input[type="submit"] {
	padding: 0;
}

option{
    padding: 0.2em;
    padding-left: 0.4em;
}

/* table
-------------------*/
.rowcolor-alternate tr:nth-child(even)  {
    background-color:#efecca;
}

th, td {
    padding: 0.3rem 1rem;
}

th {
    text-align: center;
}

table.header-left th {
    text-align: right;
}

table.aligncenter {
    display: table;
}

tr.selected {
    border: 1px solid rgba(33,33,33,0.2);
}

#row-fieldnames th.orderasc {
    background-color: blue;
}

#row-fieldnames th.orderdesc {
    background-color: red;
}




/*
navigation
*/

.page-directory {
    text-align: left;
    /*font-size: 15px;*/
    /*margin: 0;*/
    padding-left: 5%;
    padding-top: 2rem;
}

.page-directory li {
    display: inline-block;
    padding: 0 4px;
    text-align: center;
}

.page-directory li:not(:last-child)::after {
    display: inline-block;
    content: '';
    width: 1rem;
    height: 1rem;
    border-top: 0.3rem solid #0070c6;
    border-right: 0.3rem solid #0070c6;
    
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform:rotate(45deg);
    transform: rotate(45deg);
}

/* site-main
---------------*/

#wrapper {
    width: 100%;
}

#site-main {
    background-color: white;
    position: relative;
    z-index: 0;
    width: 100%
}

.fixed-padding-vert {
    padding: 8rem 0;
}

.fixed-padding-left {
	padding-left: 5rem;
}

.fixed-margin-top-small {
	margin-top: 2em;
}

.fixed-content-width {
    width: 90%;
    max-width: 800px;
}

.main-item{
        width: 100%;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.main-item.sep-color:nth-child(even){
    background-color: ghostwhite;
}

.main-item.sep-border + .main-item.sep-border {
    border-top: 1px solid #ccc;
}

/* coaches 
----------------*/

.coach-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.coach-image img {
    width: 300px;
    height: 200px;
    border: 1px solid black;
}

.coach-image {
    margin: 0 auto;
    
}

.coach-profile-top {
    text-align: center;
    margin: 0 auto;
}

.coach-profile-short {

    margin-top: 5%;
}

.coach-profile-long {
    display: none;
    padding-top: 4rem;
    clear: both;
    font-size: inherit !important;
    font-family: inherit !important;
}

.coach-container.toggle-on .coach-profile-long {
    display: block;
}

.coach-container .coach-profile-toggle:before {
    display: inline-block;
    content: '';
    width: 1rem;
    height: 1rem;
    border-top: 0.3rem solid #0070c6;
    border-right: 0.3rem solid #0070c6;
    margin-right: 1rem;
    
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform:rotate(45deg);
    transform: rotate(45deg);
}

.coach-container.toggle-on .coach-profile-toggle:before {
    
    -webkit-transform:rotate(135deg);
    -moz-transform:rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform:rotate(135deg);
    transform: rotate(135deg);
}





.coach-name {
    font-family: 'Play';
    font-size: 3rem;
    margin-bottom: 2rem;
}

.coach-role {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: gray;
}

.coach-profile-toggle:hover {
    cursor: pointer;
}

.coach-profile-toggle {
    margin-top: 2rem;
}


/* programs 
---------------*/

.program-image img{
    max-width: 90.1%;
    max-height: 250px;
   /* max-width: 500px;*/
}

.program-image {
    margin-bottom: 4%;
}

.program-container {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
}


.program-title {
    font-family: 'Play', sans-serif;
    font-weight: 500;
    font-size: 4rem;
    margin-bottom: 3rem;
}
.program-title, .program-desc {
    text-align: center;
}

.program-desc {
    clear: both;
    margin-bottom: 3rem;
}

.program-schedule:before{
    content: '\f303';
    vertical-align: bottom;
}


/* pools
---------------------*/

#map {
        width: 90%;
        max-width: 600px;
        height: 400px;
        border: 1px solid black;
        margin: 0 auto;
}

#map-container ~ .main-item:nth-child(2) {
    border-top:none;
}

.pool-info-container {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    
}

.pool-info-container .google-maps-link {
	margin-top: 0.5em;
	font-size: 0.8em;
}

.pool-info-container .view-classes-with-pool {
	margin-top: 0.5em;
}



.pool-image img {
    width: 300px;
    height: 200px;
    border: 1px solid black;
}

.pool-image {
    width: 302px;
    text-align: center;
    margin: 0 auto;
}

.pool-text {
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
}

.pool-image {
    margin-top: 3%;
}

.pool-title {
    font-family: 'Play';
    font-size: 2rem;
    margin-bottom: 1.4rem;
}

.pool-index {
    font-size: 4rem;
    color: gray;
}

.pool-note {
    margin-top: 2rem;
    font-size: 1.4rem;
    color: #666;
}

/* lesson-query 
---------------------*/

#lesson-query-form{
    width: 100%;
    max-width: 700px;
    margin: 5rem auto;
    font-size: 1.4rem;
}

#lesson-query-form th,
#lesson-query-form td
#lesson-list-box th,
#lesson-list-box td{
    padding: 0.3rem 0.1rem;
}

#lesson-list-box table {
    font-size: 1.2rem;
}

#lesson-list-box {
    padding-bottom: 8rem;
}

#lesson-query-form .select_level {
    display: inline-block;
    margin-left: 10px;
}

#lesson-query-form span + select[name='weekday'] {
    margin-left: 10px;
}



/* lesson-list
---------------------*/

.lesson-list-table td {
    text-align: center;
}

table.lesson-list-table{
    width: 90%;
    max-width: 700px;
}

#page-navigation {
    text-align: center;
    margin-top: 3rem;
}

.lesson-list-table tr.clickable:nth-child(4n+2),
.lesson-list-table tr:nth-child(4n+3){
    background-color:#efecca;
}

.lesson-list-table tr.clickable:hover {
	border: 1px solid rgba(33,33,33,0.2);
}

/*
.show-dates {
    background-color: cornsilk;
}*/
/* Login 
---------------------*/

#login-container {
    width: 90%;
    text-align: center;
}

#login-box{
    text-align: left;
    display: inline-block;
    line-height: 1.8;
    margin-bottom: 2em;
}

#login-box input {
    display: block;
}

#login-box #submit-button {
    margin-top: 1rem;
    width: 100%;
}

/* Sign up 
---------------------*/

#signup-box {
    width: 90%;
    max-width: 300px;
    line-height: 1.5em;
}

#signup-box input,
#signup-box button{
    width: 100%;
}

#signup-box #submit-button {
    margin-top: 0;
}

#signup-box input[name='firstname']{
    margin-bottom: 0.5em;
}

#signup-box .input-msg{
    margin-top: 0.5em;
    color: red;
}


/* member pages 
---------------------*/


#member-menu-container {
    width: 90%;
    max-width: 800px;
}

#member-menu-container > ul {
    display: flex;
    align-items: flex-start;
	flex-wrap: wrap;
    align-content: center;
}

#member-menu-container .member-menu {
    padding: 0 20px;
	margin-top: 30px;
}

#member-menu-container .member-menu-title {
    border-bottom: 1px solid rgba(33,33,33,0.5);
    padding: 0.5em 0.5em;
    padding-top: 0;
}

#member-menu-container li li {
    padding: 0 1em;
    margin-top: 0.3em;
}

/* admin pages
-----------------*/

.control-menu-top ul li {
    display: inline-block;
}

/* footer 
-----------------*/

#site-footer {
    position: relative;
    z-index: 5;
}

/****
   Media Queries
   ************/
   
@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

/** Mobile Large
-------------------*/

@media screen and (min-width:620px){
    
    #lesson-query-form,
    #lesson-list-box table {
    font-size: inherit;
    }
    
    #lesson-query-form th,
    #lesson-query-form td
    #lesson-list-box th,
    #lesson-list-box td{
    padding: 1rem 0.1rem;
    
    }
}

/* Tablet Small 
---------------------*/
@media screen and (min-width:740px){

    /* Coaches
    --------------*/
    
    .coach-profile-long {
        width: 75.45%;
        margin-right: auto;
        margin-left: auto;
    }

}

/* Tablet Large
--------------------*/

@media screen and (min-width:880px){
    
    .pool-info-container {
        display: flex;
        display: -webkit-flex;
    }
    .pool-text, .pool-image {
        display: inline-block;
        vertical-align: top;
    }
    
    .pool-image {
        width: 302px;
        float: right;
        margin-right: 0;
        margin-top: 0;
    }
    
    .pool-text {
        width: 350px;
        margin-left: 0;
        text-align: left;
    }
    
    .pool-text > div:not(:first-child){
        margin-left: 4rem;
    }
}

/* Desktop small 
-------------------*/
@media screen and (min-width:955px){
    
    /* Coaches
    ---------------*/

    .coach-container {
        display: flex;
        display: -webkit-flex;
        align-items: flex-start;
        -webkit-align-items: flex-start;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        
    }
    
    .coach-container.toggle-on .coach-profile-short{
        margin-top: 2rem;
        margin-left: 0;
        float: none;
    }
    
    .coach-container.toggle-on .coach-image {
        float: none;
    }
    
    .coach-image, .coach-profile-short {
        
        display: inline-block;
        margin-left: 0;
        float: left;
    }

    .coach-image {
        width: 302px;
        margin: 0;
    }
    
    .coach-profile-short {
        width: 350px;
        text-align: center;
        margin-top: 10px;
        margin-left: 40px;
    }
    
    .coach-profile-long {
        width: 80%;
        padding-top: 0;
    }
}

/* Desktop Medium
--------------------*/
@media screen and (min-width:1100px){
    
}

/* Desktop Large 
--------------------*/
@media screen and (min-width:1240px){

}

/* Desktop X-Large 
---------------------*/
@media screen and (min-width:1403px){

}