body {
  background-color: #fff;
  font-size: 16px;
  line-height: 1.5;
  color: #212121;
  margin: 0;
  font-family: Roboto;
  box-sizing: border-box;   
}

h1,h2,h3 {
  font-family: "Roboto Slab";
}

/******** HEADER ********/

#header {
  clear: both;
}

#header .logobox {
  /* width: 500px; */
  /* float: left; */
}

#header .logobox img {
  width: 100%;
  height: auto;
}

/******** ALERT ********/

div.alert { 
  width: 90%;
  margin: 10px auto;
  text-align: center;
  clear: both;
}


div.alert p { 
  display: inline-block;
  margin: 0 auto;
  padding: 40px 25px 10px 55px;
  font-size: 18px;
  font-family: "Roboto Slab";
  color: #DC2137;
  background-image: url("images/alert_circle.svg");
  background-repeat: no-repeat;
  background-position: center 10px;
  background-color: #d1d1d1;
  background-size: 25px 25px;
  border-radius: 8px;
}
/******** FOOTER ********/

#footer {
  clear: both;
  padding: 30px;
  border-top: 10px solid #DC2137;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

#footer a {
  color: #fff;  
}

.footerleft {
  width: 100%;
  float: none;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 24px;
}

.footerright {
  width: 100%;
  float: none;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 24px;
  text-align: left;
}

.footerright a {
   color: #fff;
   background-color: #DC2137;
   padding: 8px;
   text-decoration: none;
}

.footerbottom {
  clear: both;
}

.footersocialicon {
  padding: 0 10px 0 0;
}


h1.openingline {
  font-size: 32px;
  line-height: 42px;
  text-align: center;
  width: 80%;
  margin: 30px auto;
  max-width: 1920px;
}




/*************** MIDPAGE ******************/

h2.midpageblurb {
  width: 90%;
  margin: 10px auto 30px auto;
  font-size: 24px;
  text-align: center;
}


/*************** FEATURES *****************/

#featuresholder {
  background-image: none;
}

#featuresarea {
  display: block;
  margin: 0px auto;
  width: 80%;
}

#featuresarea .feature {
  width: 100%;
  text-align: center; 
  font-size: 16px;
  line-height: 28px;
  position: relative;
  padding: 0px 20px 100px 20px;
}

#featuresarea .featureimage {
  width: 75%;
  height: auto;
  border-radius: 50%;
}

#featuresarea .feature h2 {
  color: #DC2137;
  font-size: 24px;
  margin: 20px 0 6px 0;  
}

#featuresarea .feature h3 {
  color: #DC2137;
  font-size: 16px;
  margin: 0 0 12px 0;
}

#featuresarea .feature div.details {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: auto;
}

#featuresarea .feature div a.detailsbutton {
  display: inline-block;
  padding: 12px 20px;
  margin: 20px 0 10px 0;
  color: #fff;
  text-decoration: none;
  background-color: #DC2137;
}

#featuresarea .feature div a.detailsbutton:hover {
  background-color: #333;
}

/*************** INSTRUCTORS **************/

#instructors {
  box-sizing: border-box; 
  font-size: 20px;
  padding: 30px;  
  line-height: 32px;
  width: 90%;
  margin: 10px auto;
  text-align: center;
}

#instructors h2 {
  font-size: 32px;
  font-weight: black;
  line-height: 42px;
}

#instructors .inimage {
  margin-bottom: 30px;
}

#instructors .inimage img {
  border-radius: 50%;
  width: 80%;
  height: auto;
}

@media only screen and (min-width: 1024px) {
  




#header {
  clear: both;
}

#header .logobox {
  width: 500px;
  /* float: left; */
}

#header .logobox img {
  width: 100%;
  height: auto;
}

/*********** ALERT MESSAGE ***********************/

div.alert { 
  width: 90%;
  max-width: 1920px;
  margin: 10px auto;
  text-align: center;
  clear: both;
}


div.alert p { 
  display: inline-block;
  margin: 0 auto;
  padding: 60px 25px 10px 55px;
  font-size: 25px;
  font-family: "Roboto Slab";
  color: #DC2137;
  background-image: url("images/alert_circle.svg");
  background-repeat: no-repeat;
  background-position: center 10px;
  background-color: #d1d1d1;
  background-size: 45px 45px;
  border-radius: 8px;
}

/*********** NAVIGATION : Desktop ****************/



.nav {
  margin: 0;
  padding: 0 10px;
}

.navbar-nav {
  background-color: #DC2137;

}

.navbar-nav ul {
  list-style: none;
  margin: 0;
  max-width: 1920px;  
 
}

.navbar-nav li {
  display: inline-block;
	position: relative;
  padding: 10px 15px;  
}

.navbar-nav li:hover {
  background-color: #333;
}

.navbar-nav li a {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #FFFFFF;
  text-decoration: none;
}

.navbar-nav li.right {
  float: right;
}

li > ul.dropdown-menu {
	display: block;
	position: absolute;
  width: auto;
  min-width: 100%;
	left: 0%;
	top: 100%;
	opacity: 0;
	visibility: hidden;
	transition: all .45s ease-out;
 	z-index: 2;
  background-color: #DC2137;  
  margin: 0;
  padding: 0;
}

li:hover > ul.dropdown-menu {
	opacity: 1;
	visibility: visible;
}

li > ul.dropdown-menu > li {
  padding: 10px 15px;  
  margin: 0;
  white-space: nowrap; 
  background-color: #DC2137;
  display: block;
}

li > ul.dropdown-menu > li > a {
  display: block;
}

li.instagram {
  background: url("images/instagram_icon24p.svg") no-repeat center center;
  display: block;
  text-align: left;
  text-indent: -999em;
  width: 24px;    
}

li.facebook {
  background: url("images/facebook_icon24p.svg") no-repeat center center;
  display: block;
  text-align: left;
  text-indent: -999em;
  width: 24px;
}

/*************** MAIN PAGE BANNER *********/

#banner {
  position: relative;
}

#banner img {
  width: 100%;
  height: auto;
}

#banner a {
  text-decoration: none;
  color: #DC2137;
}

#banner .bannertext {
  position: absolute;
  top: 25%;
  left: 0;
  background-color: rgba(255,255,255,0.75);
  width: 35%;
  font-size: 38px;
  line-height: 46px;
  font-weight: black;
  font-family: "Roboto Slab";
  padding: 40px;
  border-radius: 0  40px 40px 0;
}

#banner .subbannertext {
  position: absolute;
  bottom: 5%;
  left: 0;
  background-color: rgba(255,255,255,0.75);
  width: 40%;
  font-size: 24px;
  line-height: 32px;
  font-weight: black;
  font-family: "Roboto Slab";
  padding: 20px;
  border-radius: 0  30px 30px 0;
}


#banner .registerbox {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 20px;
}

#banner .registernowbutton {
  background-color: #23614A;
  border: 4px solid #fff;
  font-size: 24px;
  color: #fff;
  padding: 14px 80px 14px 30px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin: 20px auto;
  background-image: url("images/road_arrow.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;    
}

#banner .registernowbutton:hover {
  background-color: #359B76;
}



h1.openingline {
  font-size: 42px;
  line-height: 55px;
  text-align: center;
  width: 80%;
  margin: 30px auto;
  max-width: 1920px;
}

/*************** M1X AREA MAIN PAGE *******/

#m1xdescriptionholder {
  width: 100%;
  background-image: url("images/redbar2.png");
  background-repeat: repeat-x;
  background-position: center;
}

#m1xdescription {
  display: flex;
  justify-content:space-between;
  align-items: center;
  justify-content: center;  
  margin: 10px auto 30px auto;
  width: 100%;
  max-width: 1920px;
}

#m1xdescription .m1xleft {
  padding: 10px 20px 20px 20px;
  width: 58%;
}

#m1xdescription .m1xleft img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

#m1xdescription .m1xright {
  width: 40%;
  background-color: #404040;
  border-left: 20px solid #DC2137;
  color: #fff;
  padding: 10px 20px 20px 20px;
  border-radius: 20px 0 0 20px;
}

#m1xdescription .m1xright h2 {
  font-size: 30px;
  line-height: 40px;
}

#m1xdescription .m1xright ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#m1xdescription .m1xright ul li {
  padding: 12px 0 12px 0;
  font-size: 20px;
  line-height: 26px;
}

#m1xdescription .registernowbutton {
  background-color: #23614A;
  border: 4px solid #fff;
  font-size: 32px;
  color: #fff;
  padding: 14px 80px 14px 30px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin: 20px auto 0px auto;
  background-image: url("images/road_arrow.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;    
}

#m1xdescription .registernowbutton:hover {
  background-color: #359B76;
}

/*************** M2X AREA MAIN PAGE *******/

#m2xdescriptionholder {
  width: 100%;
  background-image: url("images/redbar2.png");
  background-repeat: repeat-x;
  background-position: center;
}

#m2xdescription {
  display: flex;
  justify-content:space-between;
  align-items: center;
  justify-content: center;  
  margin: 10px auto 30px auto;
  width: 100%;
  max-width: 1920px;
}

#m2xdescription .m2xright {
  padding: 10px 20px 20px 20px;
  width: 58%;
}

#m2xdescription .m2xright img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

#m2xdescription .m2xleft {
  width: 40%;
  background-color: #404040;
  border-right: 20px solid #DC2137;
  color: #fff;
  padding: 10px 20px 20px 20px;
  border-radius: 0 20px 20px 0;
}

#m2xdescription .m2xleft h2 {
  font-size: 30px;
  line-height: 40px;
}

#m2xdescription .m2xleft ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#m2xdescription .m2xleft ul li {
  padding: 12px 0 12px 0;
  font-size: 20px;
  line-height: 26px;
}

#m2xdescription .registernowbutton {
  background-color: #23614A;
  border: 4px solid #fff;
  font-size: 32px;
  color: #fff;
  padding: 14px 80px 14px 30px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin: 20px auto 0px auto;
  background-image: url("images/road_arrow.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;    
}

#m2xdescription .registernowbutton:hover {
  background-color: #359B76;
}



/*************** MIDPAGE ******************/

h2.midpageblurb {
  width: 100%;
  max-width: 1920px;
  margin: 10px auto 30px auto;
  font-size: 28px;
  text-align: center;
}

/*************** FEATURES *****************/

#featuresholder {
  background-image: url("images/redbar.png");
  background-repeat: repeat-x;
  width: 100%;
}

#featuresarea {
  display: flex;
  justify-content: space-between;
  margin: 0px auto;
  width: 98%;
  max-width: 1920px;

}

#featuresarea .feature {
  width: 32%;
  text-align: center; 
  font-size: 16px;
  line-height: 28px;
  position: relative;
  padding: 0px 20px 100px 20px;
}

#featuresarea .featureimage {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

#featuresarea .feature h2 {
  color: #DC2137;
  font-size: 24px;
  margin: 20px 0 6px 0;  
}

#featuresarea .feature h3 {
  color: #DC2137;
  font-size: 16px;
  margin: 0 0 12px 0;
}

#featuresarea .feature div.details {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: auto;
}

#featuresarea .feature div a.detailsbutton {
  display: inline-block;
  padding: 12px 10px;
  margin: 20px 0 10px 0;
  color: #fff;
  text-decoration: none;
  background-color: #DC2137;
}

#featuresarea .feature div a.detailsbutton:hover {
  background-color: #333;
}

/*************** INSTRUCTORS **************/

#instructors {
  box-sizing: border-box; 
  font-size: 20px;
  padding: 30px;  
  line-height: 32px;
  font-weight: bold;
  max-width: 1920px;
  width: 100%;
  margin: 10px auto;
}

#instructors h2 {
  font-size: 36px;
  font-weight: black;
  line-height: 48px;
}

#instructors .intext {
  width: 55%;
  float: left;
}

#instructors .inimage {
  width: 40%;
  height: auto;
  float: right;
  margin-bottom: 30px;
  text-align: right;  
}

#instructors .inimage img {
  border-radius: 50%;
  width: 80%;
  height: auto;

}

/*************** TEXT PAGES ***************/

.pagecontent {
  box-sizing: border-box; 
  width: 100%;
  max-width: 1920px;
  margin: 10px auto;
  clear: both;
  padding: 0 20px;
}

.centre {
  width: 60%;
  margin: 20px auto;
  border: 2px dotted #555;
  border-radius: 10px;
  padding: 20px;

}

.lefttext {
  box-sizing: border-box; 
  float: left;
  width: 65%;
}


.rightsidebar {
  box-sizing: border-box; 
  float: left;
  width: 30%;
  background-color: #DC2137;
  color: #fff;
  margin: 20px;
  padding: 10px 20px 20px 20px;
  font-size: 18px;
  border-radius: 10px;
}

.rightsidebar a {
  color: #fff;
}

p.faq-question {
  font-weight: 600;
  font-size: 18px;
}

div.question-list {
  display: flex;
  flex-direction: rows;
  justify-content: space-between; 
  background-color: #e1e1e1; 
  padding: 20px;
  border-radius: 10px;
}

div.question-list div {
  width: 48%;
}

span.digitcircle {
  background-color: #DC2137;
  color: #fff;
  padding: 5px;
  border-radius: 50%;
  line-height: 42px;
  font-size: 32px;
  margin-right: 16px;
  display: inline-block;
  width: 42px;
  text-align: center;
}

.registernowbuttononwhite {
  background-color: #23614A;
  border: 4px solid #fff;
  font-size: 24px;
  color: #fff;
  padding: 10px 50px 10px 10px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin: 20px auto 0px auto;
  background-image: url("images/road_arrow_smaller.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;    
}

.registernowbuttononwhite:hover {
  background-color: #359B76;
}

/*************** FOOTER *******************/

#footer {
  clear: both;
  padding: 30px;
  border-top: 20px solid #DC2137;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

#footer a {
  color: #fff;  
}

.footerleft {
  width: 50%;
  float: left;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 32px;
}

.footerright {
  width: 40%;
  float: right;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 28px;
  text-align: right;
}

.footerright a {
   color: #fff;
   background-color: #DC2137;
   padding: 8px;
   text-decoration: none;
}

.footerbottom {
  clear: both;
}

.footersocialicon {
  padding: 0 10px 0 0;
}

/****************** CLASS LISTINGS *******************/

  table.courseListing {
    border-top: 2px solid #666;
    border-bottom: 2px solid #666;
    border-left: 1px dotted #666;
    border-right: 1px dotted #666;
  }
  table.courseListing tr.notes td {
    border-top: 1px dotted #ccc;
    font-size: 12px;
    background-color: #FFFFBF;
    padding: 5px 10px 0px 15px;
  }
  table.courseListing tr.heading {
    background-color:#ccc;
    font-weight: bold;
    vertical-align:bottom;
  }
  table.courseListing tr.heading td {
    padding: 10px 5px 10px 5px;
  }
  table.courseListing tr.availclass {
    border-top: 3px solid #c00;
  }
  table.courseListing tr.availclass td {
    padding: 5px 5px 0px 5px;
    vertical-align: top;
  }
  table.courseListing tr.fullclass {
    background-color: #eee;
    border-top: 3px solid #c00;	
  }
  table.courseListing tr.fullclassr2 {
    background-color: #eee;
  }
  table.courseListing tr.fullclass td {
    padding: 5px 5px 0px 5px;
    vertical-align: top;	
  }

strong.caution {
  color: orange;
}

strong.red {
  color: #DC2137;
}

strong.looksok {
  color: green;
}

input[type=button] {
  background-color: 23614A;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

input[type=button]:disabled {
  background-color: grey;
  color: white;
  font-weight: bold;
  cursor: not-allowed;
}
/* forms */


div.other {
  display: none;
}

input, select {
  display: block;
  width: 90%;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.428571429;
  color: #555555;
  vertical-align: middle;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

}

div.checklist {
  margin: 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;

}

td.first {
  padding-right: 15px;
}

div.checklist div {
  width: 48%;
}

.hearcheck  {
  height: 24px;
}

div.checker input {
  height: 24px;
}
textarea {
  display: block;
  width: 90%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.428571429;
  color: #555555;
  vertical-align: middle;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

input:focus, textarea:focus, select:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    background-color:#fff;
}

input, textarea, select {
  background-color: #fff;
  width: 70%;
}

button, input.submit_form, input.btn {
  background-color: #23614A;
  border: 4px solid #fff;
  font-size: 18px;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 14px;
}
input.submit_form {
  display: block;
  width: 40%;
  margin: 14px auto;
}


input.redborder, select.redborder {
  border-right: 5px solid #c00;
}

div.form-label {
  font-weight: 600;
  background-color: #555;
  color: #fff;
  padding: 12px;
  margin-top: 12px;
  display: inline-block;
}

div.form-label a {
  color: #fff;
}

div.note {
  font-size: 14px;
  padding: 3px;
  font-weight: 700;
  margin-top: 4px;
}

select#age, select#gender, select#province, input#ccl  {
  width: 20%;
}

div.checkboxleft {
  display: flex;
  margin-top: 20px;
}

div.checker {
  width: 12%;
  flex-shrink: 0;
  margin-top: 14px;  
}


div.errormsg label.error {
  background-color: orange;
  font-weight: 600;
  padding: 10px 20px;
}

}
