* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 14px;
}

a:link { color: #cc0000; text-decoration: none; }
a:active { color: #ff0000; text-decoration: none; }
a:visited { color: #ff0000; text-decoration: none; }
a:hover { color: #ff0000; text-decoration: none; }

h1, h2, h3, h4, p { margin: 10px 25px; }

h1 {
  font-family: Roboto, sans-serif;
  font-size: 45px;
  font-weight: bold;
  text-align: left;
  color: #000000;
  line-height: 100%;
}

h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  text-align: left;
  color: #000000;
}

h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  text-align: left;
  color: #000000;
}

h4 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 18px;
  text-align: center;
}
p { font-size: 16px; }

#content {
  padding-top: 55px;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.small_screen {display: none;}

/* General - Small Screens */
@media screen and (max-width:900px) {
  .big_screen {display: none;}
  .small_screen {display: block;}
}

/* General - Modals */

  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  }

  /* The Close Button */
  .modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .modal-close:hover,
  .modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  /* Modal Content/Box - Small Screens */
  .modal-content {
    margin: 3% auto; /* 3% from the top and centered */
    padding: 0;
    width: 95%; /* Could be more or less, depending on screen size */
    height: 90%;
    border: 1px solid #888;
    background-color: #fefefe;
    overflow-y: auto;
  }
  /*
  .modal-form {
    float: none;
    width: 100%;
    overflow-y: none;
  }
  */
  .modal-reviews {
    padding: 5px;
    background: #3b3b3b;
    float: none;
    width: 100%;
    overflow-y: none;
  }

  /* Modal Content/Box - Big Screens */
  @media screen and (min-width:900px) {
    .modal-content {
      height: 550px;
      max-height: 90%;
      width: 80%; /* Could be more or less, depending on screen size */
      margin: 5% auto; /* 5% from the top and centered */
      border: 1px solid #888;
      overflow: hidden;
    }
    .modal-form {
      height: 100%; width: 100%;
      /* float:right; height: 100%; width: 40%; overflow-y: auto; */
    }
    .modal-reviews {
      float:right; height: 100%; width: 60%; overflow-y: auto;
    }
  }

/* Header */
hr.hr-header {
  border-bottom: 1px solid #A4A4A4;
  border-top: 0;
  margin-bottom: -5px;
  margin-left: 0;
  width: 80%;
}

#header {
  box-sizing: content-box;
  z-index: 90;
  position: fixed;
  top: 0;
  left: 0;
  padding: 5px 0;
  background-color: #ffffff;
  /* background-image: linear-gradient(#cc0000, #2E2E2E); */
  color: #000000;
  font-size: 16px;
  height: 55px;
  width: 100%;
  -webkit-box-shadow: 0 5px 5px -5px #333;
   -moz-box-shadow: 0 5px 5px -5px #333;
   box-shadow: 0 5px 5px -5px #333;
}

#header.scrolling { /* Change navbar color on scroll */
  background-color: #2E2E2E;
  color: #ffffff;
}
#logo-grey { /* Display black logo when not scrolling */
  display: block;
}
#logo-white { /* Hide white logo when not scrolling */
  display: none;
}
#logo-grey.scrolling { /* Hide black logo color on scroll */
  display: none;
}
#logo-white.scrolling { /* Display white logo color on scroll */
  display: block;
}
#phone.scrolling { /* Change navbar color on scroll */
  color: #ffffff;
}

#phone {
  color: #000000;
  text-decoration: none;
}
#phone:hover {
  color: #cc0000;
}

#logo {
  float: left;
  width: 120px;
}

#intro {
  box-sizing: content-box;
  float: right;
  width: 200px;
  height: 30px;
  margin-top: -5px;
  right: 0;
  padding: 7px;
  background-color: #cc0000;
  font-weight: bold;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
}
#intro:hover {
  background-color: #ff0000;
}

.align-right {
  display: inline-block;
  float: right;
  margin-bottom: -10px;
  margin-right: 20px;
}

.align-left {
  display: inline-block;
  margin-bottom: -10px;
  margin-right: 10px;
}

.menu-icon {
  display: none;
  cursor: pointer;
}
#menu {
  margin-top: -15px;
}

/* Header - Small Screen */
@media screen and (max-width:900px) {

  hr.hr-header {
    margin-left: 15px;
    width: 55%;
  }
  #logo {width: 100px;}
  .align-right {
    display: block;
    float: none;
    margin-left: 115px;
  }
  .align-left {
    display: block;
    margin-left: 115px;
  }
  .menu-icon {
    display: inline-block;
    margin-top: -20px;
    margin-right: 25px;
    font-size: 30px;
    position: absolute;
    right: 0;
  }
}

/* Menu */
#header ul {
  margin-left: -40px;
  list-style: none;
  float: left;
}

#header ul > li {
  display: inline-block;
  text-align: center;
  padding: 5px 18px;
  text-decoration: none;
  transition: 0.3s;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 15px;
  cursor: pointer;
}

#header ul > li:hover {
  background-color: #cc0000;
  color: #ffffff;
}

.submenu-content {
    display: none;
    position: absolute;
    left: 115px;
    margin-top: 2px;
    background-color: #cc0000;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.submenu-content a {
    color: #ffffff;
    padding: 8px;
    border: 1px solid #ddd;
    text-decoration: none;
    font-size: 20px;
    display: inline-block;
    text-align: left;
}

.submenu-content a:hover {
  background-color: #ff0000;
}

.submenu:hover .submenu-content { display: block; }

/* Menu - Small Screen */
@media screen and (max-width:900px) {

  #menu {
    margin-top: 0px;
    display: none;
    width: 100%;
    background-color: #ffffff;
    color: #000000;
  }
  #menu.scrolling {
    background-color: #2E2E2E;
    color: #ffffff;
  }

  #header ul {
    margin-left: -150px;
    list-style: none;
    float: none;
  }

  #header ul > li {
    display: block;
    text-align: right;
    padding: 10px 15px 0 0;
    text-decoration: none;
    transition: 0.3s;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
  }

  #header ul > li:hover {
    background-color: #ffffff;
    color: #cc0000;
  }

  #header.scrolling ul > li:hover {
    background-color: #2E2E2E;
  }

  #intro {
    float: none;
    width: 100%;
    margin-top: 0;
    right: 0;
    text-align: center;
    border: 1px solid #bbb;
  }

  .submenu-content {
      display: none;
      position: static;
      left: 0;
      margin-top: 2px;
      margin-right: -15px;
      background-color: #ffffff;
      min-width: 100%;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  }

  #header.scrolling .submenu-content {
    background-color: #2E2E2E;
  }

  .submenu-content a {
      color: #000000;
      padding: 8px;
      border: 0;
      text-decoration: none;
      font-size: 20px;
      display: block;
      text-align: right;
      font-style: italic;
      margin-right: 18px;
  }

  #header.scrolling .submenu-content a {
    color: #ffffff;
  }

  .submenu-content a:hover {
    color: #cc0000;
    background-color: #ffffff;
  }

  #header.scrolling .submenu-content a:hover {
    background-color: #2E2E2E;
    color: #cc0000;
  }

  /*
  .submenu:hover .submenu-content { display: block; }
  */

  .submenu-courses:hover .submenu-courses-content { display: block; }
  .submenu-systems:hover .submenu-systems-content { display: block; }

}

/* Product Pages */
#product-block1 {
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 40px;
  padding-bottom: 25px;
}

#product-block1a {
  width: 90%;
  margin: 0 auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 15px 15px 0 0;
  color: #000000;
}
#product-block1a p {
  margin-left: 50px;
}
#product-form {
  width: 90%;
  margin: -10px auto;
  background: #cc0000; /* Fallback */
  background-image: linear-gradient(#cc0000,#000000);
  color: #ffffff;
  border-radius: 0 0 15px 15px;
  padding: 10px;
}
#product-form h1, #product-form h2, #product-form h3 {
  color: #ffffff;
}
#product-form .register-button {
  width: 300px; margin: auto; padding: 5px; background-color: #0000ff; cursor: pointer; border-radius: 5px; text-align: center; color: #ffffff; font-weight: bold;font-size: 23px;
}
#product-form .register-button:hover {
  background-color: #017efc ;
}
.product-title {
  color: #cc0000;
  text-align: center;
  font-size: 35px;
}
.fa-bullet {
  padding-right: 10px;
  font-size: 30px;
  color: #0000ff;
}

/* Product Pages - Included Tiles */
.included-tile {
  position: relative;
  margin: 15px;
  vertical-align: top;
  flex: 20%;
  height: 200px;
  min-width: 150px;
  border-radius: 15px 0 0 0;
  box-shadow: 3px 3px 5px #888888;
}
.included-tile h3 {
  color: #ffffff;
}

.included-image {
  height: 200px;
  width: 100%;
  border-radius: 15px 0 0 0;
  object-fit: cover;
}
.included-tile-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px 0 0 0;
  cursor: pointer;
  color: #ffffff;
}

.included-tile-header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 40px;
  background-color: #cc0000;
  border-radius: 15px 0 0 0;
}

/* Unused
.included-tile-text {
  position: absolute;
  top: 40px;
  width: 100%;
  height: calc(100% - 40px);
  cursor: pointer;
  color: #ffffff;
}
.included-tile-text:hover {
  background: rgba(0, 0, 0, 0.4);
}
.included-tile-header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 40px;
  background-color: #000000;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px 0 0 0;
}

#marketing-description,
#dojoflo-description,
#bootcamp-description,
#thrive-description,
#ata-mba-description {
  display: none;
}

.included-tile:hover #marketing-description,
.included-tile:hover #dojoflo-description,
.included-tile:hover #bootcamp-description,
.included-tile:hover #thrive-description,
.included-tile:hover #ata-mba-description {
  display: block;
}
*/


/* Form embedded in all pages */
.page-form {
  width: 100%;
  margin: -10px auto;
  background: #cc0000; /* Fallback */
  background-image: linear-gradient(#cc0000,#000000);
  color: #ffffff;
  padding: 10px;
}
.page-form h1, .page-form h2, .page-form h3 {
  color: #ffffff;
}


/* Home page */
#block1 {
  width: 100%;
  height: 500px;
  background-image: url('../images/bg-homepage/umyang.png');
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: -20px;
}
#block1 h1, #block1 h2 {
  color: #ffffff;
}
#block1-slideshow {
  position: fixed;
  right: 0;
  top: 55px;
  z-index: -100;
  min-width: 100%;
  min-height: 100%;
}
.block1-slide {
  display: none;
}

/* Unused video background
#video {
  position: fixed;
  right: 0;
  top: 55px;
  opacity: 0.7;
  z-index: -100;
  min-width: 100%;
  height: 450px;
  background-color: #e84021;
}
*/

#block1a {
  float: left;
  padding-top: 100px;
  margin-left: 25px;
}
#block1b { margin-top: 50px; }

/* Home Page - Service Tiles */
.tile-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.service-tile {
  position: relative;
  margin: 15px;
  vertical-align: top;
  flex: 30%;
  height: 325px;
  min-width: 250px;
  border-radius: 15px 0 0 0;
  box-shadow: 3px 3px 5px #888888;
}
.service-tile h3 {
  color: #ffffff;
}

.service-image {
  height: 325px;
  width: 100%;
  border-radius: 15px 0 0 0;
  object-fit: cover;
}
.service-tile-text {
  position: absolute;
  top: 40px;
  width: 100%;
  height: calc(100% - 40px);
  cursor: pointer;
  color: #ffffff;
}
.service-tile-text:hover {
  background: rgba(0, 0, 0, 0.4);
}
.service-tile-header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 40px;
  background-color: #000000;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px 0 0 0;
}

#courses-description,
#coaching-description,
#business-systems-description {
  display: none;
}

.service-tile:hover #courses-description,
.service-tile:hover #coaching-description,
.service-tile:hover #business-systems-description {
  display: block;
}

.learn-button {
  position: absolute;
  bottom: 10px;
  width: 100%;
  margin-left: 2px;
  padding: 6px 3px;
  background-color: #cc0000;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
}
.learn-button:hover, .learn-button2:hover {
  background-color: #ff0000;
}
.learn-button2 {
  width: 125px;
  margin: auto;
  padding: 6px 3px;
  color: #ffffff;
  background-color: #cc0000;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
}

#block4 h1 {
  color: #ffffff;
  font-size: 28px;
  text-align: center;
}
#block4 h2 {
  color: #ffffff;
  font-size: 25px;
  text-align: center;
  font-weight: normal;
}
#block4 h3 {
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  font-weight: normal;
}
#block4 .get-started-button {
  width: 300px; margin: auto; padding: 5px; background-color: #000000; cursor: pointer; border-radius: 5px; text-align: center; color: #ffffff; font-weight: bold;font-size: 23px;
}
#block4 .get-started-button:hover {
  background-color: #2E2E2E;
}

#block5 {
  width: 100%;
  background-color: #ffffff;
  padding: 10px;
  text-align: center;
}

#block5a {
  display: inline-block;
  vertical-align: top;
  width: 325px;
  margin: auto;
}

#block5b {
  display: inline-block;
  vertical-align: top;
  width: 400px;
  margin: auto;
  text-align: left;
}

/* Home page - small screen */
@media screen and (max-width:900px) {


  #block1 {
    height: 550px;
    background: #ffffff; /* Fallback */
    background-image: url('../images/hue-contrast.png'); /* Fallback */
    background-image: url('../images/hue-contrast.png'), linear-gradient(#cc0000,#000000);
    background-repeat: no-repeat;
    background-position: top 5px right;
    background-size: contain;
  }
  #block1 h1 {
    font-size: 30px;
  }
  #block1 h2 {
    font-size: 20px;
  }
  /*
  #block1 .text-bg {
    background: rgba(0, 0, 0, 0.4);
  }
  */
  #block1a {
    width: 95%;
    margin: auto;
  }
  #block1b {
    width: 100%;
    margin-top: 20px;
  }

  #block5a, #block5b {
    display: block;
    width: 100%;
  }
}

/* Program Pages */
.tile-benefit h2 {
  color: #0000ff;
  text-align: center;
}

#tile-more {
  display: none;
  height: 270px;
  background-color: #000000;
  color: #000000;
  background: rgba(255, 215, 0, 0.4);
}
.tile-benefit:hover #tile-more {
  display: block;
}
.tile-benefit:hover .learn-button3 {
  display: none;
}

.learn-button3, .get-started {
  position: absolute;
  bottom: 10px;
  width: 100%;
  margin-left: 2px;
  padding: 6px 3px;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
}
.learn-button3 {
  background-color: #cc0000;
}
.get-started {
  background-color: #0000ff;
}
.learn-button3:hover {
  background-color: #ff0000;
}
.get-started:hover {
  background-color: #2E64FE;
}

/* Thrive */
.thrive-tile {
  position: relative;
  margin: 15px;
  vertical-align: top;
  flex: 30%;
  height: 150px;
  min-width: 150px;
  border-radius: 15px 0 0 0;
  box-shadow: 3px 3px 5px #888888;
  background: #ffffff;
  cursor: pointer;
}
.thrive-tile p {
  font-weight: bold;
  text-align: left;
}
.thrive-image {
  height: 100px;
  width: 100%;
  border-radius: 15px 0 0 0;
  object-fit: cover;
}

/* Footer */
#footer {
  width: 100%;
  background-color: #2E2E2E;
  padding: 15px;
  color: #ffffff;
  position: relative;
}
#footer h3, #footer a { color: #ffffff; }
#footer a:hover { color: #cc0000; }
#footer-logo {
  display: inline-block; vertical-align: top;
}
@media screen and (max-width:900px) {
  #footer-logo {
    margin-left: 25px;
  }
}
