* {
  text-rendering: optimizeLegibility;
}
body {
  background-color: #ffffff;
  text-align: center;
  font-family: 'Open Sans',Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}
/**h1 {
  text-align: center;
  padding: 5px;
  border-radius: 3px;
  color: #fff;
  background: #1e5386;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#3678ac),
    to(#1e5386)
  );
  background: -webkit-linear-gradient(top, #3678ac, #1e5386);
  background: -moz-linear-gradient(top, #3678ac, #1e5386);
  background: -ms-linear-gradient(top, #3678ac, #1e5386);
  background: -o-linear-gradient(top, #3678ac, #1e5386);
}**/

h2{
  font-size: 20px;
  margin-top: 0;
}

h3 {
  border-bottom: 1px solid #ccc;
  font-size: 18px;
}

.center {
  text-align: center;
}
.notice{
  text-align: center;
  margin: 10px auto 10px;
  background-color: lightgreen;
  color: #000;
  padding: 3px 5px;
  width: max-content;
  max-width: 100%;
}
div {
  text-align: left;
}
div.class-section {
  margin-bottom: 50px;
}

div.month{
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
}

h2.class-month {
  color: #0e4073;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px 10px;
  font-size: 20px;

}
ul.class-group {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  /**grid-template-columns: 50% 50%;
  grid-template-rows: 1fr;**/
  /**grid-gap: 20px;
  padding-left: 20px;
  padding-right: 40px;
  padding-bottom: 25px;**/
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  padding: 0 20px 20px 20px;
}

li.class {
  border: solid 1px #555;
  padding: 15px;
  font-size: 14px;
  line-height: 1.2em;
  border-radius: 3px;
  box-shadow: 1px 1px 3px #888;
  text-align: left;
  display: grid;
}

li.class form {
  margin-top: 15px;
  padding: 5px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
}

select[name="os0"],
input[name="os1"]{
  margin-bottom: 10px;
}

li.class form input[type="image"]{
  margin-top: 10px;
}

li.class h3 {
  margin-top: 0;
  padding-top: 0;
  color: #21598c;
  border-bottom: none;
  font-size: 16px;
  line-height: 1.4em;
}

h3.sold-out {
  color: #900 !important;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px !important;
  font-size: 1.25em !important;
  width: max-content;
  padding: 5px 30px;
  background-color: #f3f3f3;
  border: 1px solid #900 !important;
  margin: 10px auto;
}

div.sold-out {
  opacity: 0.15;
}

div.sold-out form input[type="image"] {
  cursor: default !important;
}

hr {
  border: 0;
  border-top: 1px solid #cccccc;
}

.associations{
}

.associations h2{
	color: #900;
	font-weight: bold;
	font-size: 16px;
	text-align: center;
  background: #f3f3f3;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 3px;
}

/* ------------- HOME PAGE BUTTON STYLES ------------- */

button {
  border: none;
  color: black;
  background-color: #0e4073;
  cursor: pointer;
  background: #518fc0; /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #ffc118 0%,
    #e1a416 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #ffc118 0%,
    #e1a416 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #ffc118 0%,
    #e1a416 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc118', endColorstr='#e1a416',GradientType=0 ); /* IE6-9 */
  -webkit-box-shadow: 2px 2px 5px 0px rgba(136, 136, 136, 1);
  -moz-box-shadow: 2px 2px 5px 0px rgba(136, 136, 136, 1);
  box-shadow: 2px 2px 5px 0px rgba(136, 136, 136, 1);
  transition: 0.25s;
  border-radius: 5px;
}
button strong {
  font-size: 20px;
  transition: 0.25s;
  color: 0.5s;
}
button:hover strong {
  color: black;
  /**font-size: 1.75em;**/
}
@media screen and (max-width: 768px) {
  .class-buttons a button {
    font-size: 20px !important;
  }
}
.class-buttons {
  display: flex;
  text-align: center;
  padding: 10px 0px 20px 0px;
  float: left;
  width: 100%;
  box-sizing: border-box;
  flex-flow: row wrap;
  justify-content: center;
}
.class-buttons a {
  margin: 0 20px 20px 20px;
  transition: 0.25s;
  border-radius: 5px;
}
.class-buttons a:hover {
  -webkit-box-shadow: 4px 4px 15px 0px rgba(136, 136, 136, 0.5);
  -moz-box-shadow: 4px 4px 15px 0px rgba(136, 136, 136, 0.5);
  box-shadow: 4px 4px 15px 0px rgba(136, 136, 136, 0.5);
}
.class-buttons a button {
  padding: 10px 10px;
  font-size: 16px;
  line-height: 1.5;
  height: 110px;
  width: 250px;
}
article .class-buttons a button{
  width: 220px;
}

article .class-buttons a{
  margin: 0 10px 20px 10px;
}
article li{
  margin-bottom: 8px;
}
.class-buttons a button span span {
  font-size: 13px;
}
.class-buttons button strong {
  line-height: 1;
}
.whats-included {
  clear: both;
}
.whats-included li{
  margin-bottom: 8px;
}

.main-table {
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  border-bottom: 3px double #0e327b;
  width: 780px;
}
.learn-more {
  text-align: center;
  background: #215283;
  background: -webkit-linear-gradient(top, #3678ac, #1e5386);
  background: -moz-linear-gradient(top, #3678ac, #1e5386);
  background: -ms-linear-gradient(top, #3678ac, #1e5386);
  background: -o-linear-gradient(top, #3678ac, #1e5386);
  color: #ffffff;
  padding: 10px 0;
  width: 100%;
  border-radius: 0px;
  font-weight: bold;
  margin-top: 25px;
}
.learn-more a{
  color: #fff;
  text-decoration: underline;
}

.notice-section{
	text-align: center;
}

.alert-text {
  color: #080;
}
.alert-text strong span {
  text-transform: uppercase;
}
.sold-out {
  /**font-size: 1.25em;
  margin-bottom: 0;**/
  line-height: 1.5;
}
.announcement {
  font-size: 1.75em;
  font-weight: bold;
  color: #21598c;
}
.announcement strong {
  color: #d70000;
}
.class i {
  text-decoration: line-through;
  font-style: normal;
}
.header-nav,
.header-nav a {
  font-size: 13px;
  font-weight: bold;
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
}
.footer-nav,
.footer-nav a {
  font-size: 10px;
  color: #999999;
  text-decoration: none;
  font-weight: bolder;
}
.content-text,
.content-text a {
  font-size: 12px;
  color: #666666;
  text-decoration: none;
}

.contact {
  padding: 0 2em;
  text-align: center;
  margin: 10px auto;
  width: 300px;
  max-width: 100%;
}
.contact strong {
  color: #0b5183;
}
.contact a {
  color: #0b5183;
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
}
.contact p {
  font-style: italic;
}
.contact p a {
  font-size: 16px;
}

.class-location {
  font-size: 1.5em;
  line-height: 1.3;
}

.class-location a {
  font-size: 1em;
  color: #21598c;
  display: inline-block;
  line-height: 1;
	padding: 10px 15px;
	border: 1px solid #21598c;
	border-radius: 4px;
	transition: 0.05s ease-in-out;
	margin: 5px auto;
  text-decoration: none;
}

.class-location a:hover {
	color: #FFFFFF;
	border-color: #21598c;
	background-color: #21598c;
}

.class-location a strong {
	line-height: 0.7em;
	font-size: 1.2em;
}

.class-location a small {
	font-size: 0.7em;
}

.class-location a small i {
	font-size:small;
}
li.class input[type="image"]{
  transition: .2s;
}
li.class input[type="image"]:hover{
  filter: hue-rotate(48deg);
}

/***** Responsive Site*****/
a{
  color: #0e4073;
}
p{
  margin-top: 0;
}
img{
  width: auto;
  height: auto;
  max-width: 100%;
}

h1{
  width: 100%;
  font-size: 20px;
  color: #0e4073;
  margin-top: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  text-transform: uppercase;
}

h1 small{
  display: block;
  font-size :14px;
  color: #666;
  font-style: italic;
  font-weight: 300;
  text-transform: none;
}

div.wrapper{
  width: 980px;
  margin: 0 auto;
  max-width: 100%;
  border: 1px solid #ccc;
}

div.header{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px;
}

.logo{
  width: 40%;
  padding: 2px 1%;
}
.header-info{
  width: 56%;
  padding: 2px 1%;
}

.header-info{
  text-align: right;
  font-size: 13px;
}

.header-info strong,
.header-info em{
  display: block;
}

.header-info em{
  font-size: 22px;
  color: #366e9f;
}

nav{
  display: flex;
  flex-wrap: wrap;
  background: #215283;
  background: -webkit-linear-gradient(top, #3678ac, #0e4073);
  background: -moz-linear-gradient(top, #3678ac, #0e4073);
  background: -ms-linear-gradient(top, #3678ac, #0e4073);
  background: -o-linear-gradient(top, #3678ac, #0e4073);
  padding: 0 2px;
  text-align: center;
}

nav ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  justify-content: space-evenly;
  width: 100%;
}

nav ul a{
  text-decoration: none;
  display: block;
  padding: 8px 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  transition: .2s;
}

nav ul a:hover{
  background: #f3f3f3;
  color: #036;
}

.hero{
  text-align: center;
  padding: 0px 0px 0px 0px;
  line-height: 0;
}

.hero img{
  width: 100%;
}

.main-content{
  padding: 10px;
}

.flex{
  display: flex;
  flex-wrap: wrap;
}

.main-content.flex article{
  width: 66%;
}

.main-content.flex aside{
  width: 33%;
  
}

.aside-content{
  padding: 10px;
  font-size: 14px;
  background: #0e4073;
  color: #fff;
  border-radius: 3px;
  border: 2px solid #fff;
  outline: 1px solid #ccc;
}

aside h2{
  margin-top: 0;
  text-transform: uppercase;
  font-size: 18px;
}

aside ul{
  padding: 0 0 0 15px;
}

aside ul li{
  margin-bottom: 5px;
}

.services{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  background-image: url('images/swimming-pool-water.jpg');
  padding: 25px 0 0 0;
  background-size: contain;
}

.services .service{
  line-height: 0;
}

section.video{
  margin-bottom: 20px;
}

.video-container{
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%;
}

iframe{
  border: 0;
}

footer{
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  padding: 10px;
  justify-content: space-between;
  border-top: 1px solid #ccc;
  background: #f3f3f3;
  color: #666;
}

footer a{
  color: #666;
}

/***** Responsive breakpoints *****/

@media(max-width: 767px){
  .main-content.flex article,
  .main-content.flex aside{
    width: 50%;
  }

}

@media(max-width: 600px){
  .logo,
  .header-info{
    width: 100%;
  }
  .header-info{
    text-align: center;
  }
  .header-info em{
    font-size: 16px;
  }
  .service{
    width: 50%;
    text-align: center;
  }
  footer div{
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }
  .main-content.flex article,
  .main-content.flex aside{
    width: 100%;
  }
  ul.class-group{
    grid-template-columns: 100%;
    padding-right: 20px;
  }
}

@media(max-width: 480px){
  h1{
    text-align: center;
  }

}

@media(min-width: 768px){
  aside{
    margin-left: 1%;
  }
}