* { Box-sizing: Border-box }

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;
}

@media only screen and (min-width: 768px) { 
  #header .logobox img {
    width: 50%;
    height: auto;
  }
}

/* Main page top message */

div.mainalert { 
  width: 70%;
  max-width: 1920px;
  margin: 10px auto;
  text-align: center;
  clear: both;
  background-color: #d1d1d1;  
}
div.mainalert  { 
  display: block;

  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;
}
div.mainalert p {
  margin: 5px 0;
  padding: 0;
}

/*********** ALERT MESSAGE that appears on register pages ***********************/

div.alert { 
  width: 90%;
  max-width: 1920px;
  margin: 10px auto;
  text-align: center;
  clear: both;
  background-color: #d1d1d1;  
}
div.alert  { 
  display: block;
  margin: 10px auto;
  padding: 25px;
  font-size: 18px;
  font-family: "Roboto Slab";
  color: #DC2137;
  background-color: #d1d1d1;
  border-radius: 8px;
}



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

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

  .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 a {
    background: url("images/instagram_icon24p.svg") no-repeat center center;
    display: block;
    text-align: left;
    text-indent: -999em;
    width: 24px;    
  }

  li.facebook a {
    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 {
  font-size: 32px;
  line-height: 40px;
  font-weight: black;
  font-family: "Roboto Slab";
  padding: 40px;
  border-radius: 0  40px 40px 0;
  text-align: center;
}
#banner .registerbox {
  text-align: center;
}
#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: 5px auto;
  background-image: url("images/road_arrow.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;    
}
#banner .registernowbutton:hover {
  background-color: #359B76;
}
#banner .subbannertext {
  position: relative;
  background-color: rgba(255,255,255,0.75);
  font-size: 24px;
  line-height: 32px;
  font-weight: black;
  font-family: "Roboto Slab";
  padding: 20px;
  border-radius: 0  30px 30px 0;
  text-align: center;
}
h1.openingline {
  font-size: 30px;
  line-height: 40px;
  text-align: center;
  width: 80%;
  margin: 30px auto;
  max-width: 1920px;
}


@media only screen and (min-width: 1024px) { 
  #banner .registernowbutton {
    margin: 20px auto;
  }
  #banner .registerbox {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 20px;
  }
  #banner .bannertext {
    position: absolute;
    top: 25%;
    left: 0;
    background-color: rgba(255,255,255,0.75);
    width: 40%;
    font-size: 32px;
    line-height: 38px;
    font-weight: black;
    font-family: "Roboto Slab";
    padding: 20px;
    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 .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;
    text-align: left;
  }
  h1.openingline {
    font-size: 42px;
    line-height: 55px;
  }  
}



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

#m1xdescriptionholder {
  width: 100%;
  background-image: none;
}

#m1xdescription {
  display: block;
  margin: 10px auto 30px auto;
  width: 90%;
  max-width: 1920px;
}

#m1xdescription .m1xleft {
  display: none;
}

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

#m1xdescription .m1xright {
  width: 100%;
  background-color: #404040;
  border-left: 20px solid #DC2137;
  border-right: 20px solid #DC2137;
  color: #fff;
  padding: 10px 20px 20px 20px;
  border-radius: 20px 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: 20px;
  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;
}

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


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

  #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%;
    display: block;
  }

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

  #m1xdescription .m1xright {
    width: 40%;
    background-color: #404040;
    border-left: 20px solid #DC2137;
    border-right: none;
    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 MOBILE *******/

#m2xdescriptionholder {
  width: 100%;
  background-image: none;

}
#m2xdescription {
  display: block;
  margin: 10px auto 30px auto;
  width: 90%;
  max-width: 1920px;
}
#m2xdescription .m2xright {
  display: none;
}
#m2xdescription .m2xleft {
  width: 100%;
  background-color: #404040;
  border-right: 20px solid #DC2137;
  border-left: 20px solid #DC2137;  
  color: #fff;
  padding: 10px 20px 20px 20px;
  border-radius: 20px;
}
#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: 20px;
  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;
}

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

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

  #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%;
    display: block;
  }
  #m2xdescription .m2xright img {
    width: 100%;
    height: auto;
    border-radius: 50%;
  }
  #m2xdescription .m2xleft {
    width: 40%;
    background-color: #404040;
    border-right: 20px solid #DC2137;
    border-left: none;
    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: none;
  background-repeat: repeat-x;
  width: 100%;
}

#featuresarea {
  display: block;
  box-sizing: border-box; 
  margin: 0px auto;
  width: 98%;
  max-width: 1920px;

}

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

#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 10px;
  margin: 20px 0 10px 0;
  color: #fff;
  text-decoration: none;
  background-color: #DC2137;
}

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

@media only screen and (min-width: 769px) { 
  #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%;
  }  
}

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

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


/*************** 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: 100%;
  float: none;
}

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

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

@media only screen and (min-width: 1024px) { 
  #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;
}

.lefttext {
  box-sizing: border-box; 
  float: none;
  width: 100%;
}
.rightsidebar {
  box-sizing: border-box; 
  float: none;
  width: auto;
  background-color: #DC2137;
  color: #fff;
  margin: 20px;
  padding: 10px 20px 20px 20px;
  font-size: 18px;
  border-radius: 10px;
}
.rightsidebar a {
  color: #fff;
}

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

  .lefttext {
    float: left;
    width: 65%;
  }
  .rightsidebar {
    float: left;
    width: 30%;
  }
}


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;
  line-height:1;
}

.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: auto;
  float: none;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 32px;
}

.footerright {
  width: auto;
  float: none;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 28px;

}

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

.footerbottom {
 clear: both;
 padding: 20px 0;
}

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


@media only screen and (min-width: 768px) { 
  .footerleft {
    width: 50%;
    float: left;
    font-size: 14px;  

  }
  .footerright {
    width: 50%;
    float: right;
    font-size: 14px;
    text-align: right;
  }
}
@media only screen and (min-width: 1024px) { 
  .footerright {
    font-size: 16px;
    width: 40%;
  }
  .footerleft {
    font-size: 16px; 
    width: 60%;
  }
}



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;
  width: 60%;
}

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

div.checklist div {
  width: 60%;

  border-bottom: 1px solid #999;
}

div.checklist div.checkboxname {
  border-right: 5px solid #c00;
}

div.checklist div.checkboxdiv {
  width: 10%;

}
div.checklist div.errormsg {
  width: 30%;

}


.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;
}


