/* =============================================================================
   Home Page CSS
   
   -------- Table of Contents --------
   1. Elements
   2. Header
   3. Section
   4. Footer
   5. Jquery Plugin CSS
   6. Mobile Layout
   -----------------------------------
   ========================================================================== */

/* =============================================================================
   1. Elements
   ========================================================================== */
header {
  background: #242327;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  left: 0;
  position: fixed;
  top: 0;
  z-index: 100; 
}

footer {
  background: #242327;
  border-top: solid 2px #fff;
  -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,.2);
  -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,.2);
  box-shadow: 0 0 3px 0 rgba(0,0,0,.2);
  height: 300px;
  padding: 80px 0;
}
/* =============================================================================
   2. Header
   ========================================================================== */
.home .deeper ul {
  background: rgba(0,0,0, .6);
}

.home .menu-item > a:after {
  border: 5px solid #242327;
  border-top: 5px solid #972A59;
  content: "";
  height: 0;
  left: 50%;
  margin: 0 0 0 -5px;
  position: absolute;
  top: -12px;
  transition: all 0.2s ease-in-out 0s;
  width: 0;
}

header.home .menu-item > a:hover:after {
  border: 8px solid #242327;
  border-top-color: #972A59;
}

/* =============================================================================
   3. Section
   ========================================================================== */
.black-bg {
  background: rgba(255, 255, 255, .7);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

div.link {
  clear: both;
  float: right;
  margin: -40px 20% 0 0;
  position: relative;
  z-index: 100;
}

div.link a.button {
  color: #0c1418;
  font: 300 1.3em 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 7px 80px;
}

#main.home {
  height: 865px;
  position: fixed;
  top: 85px;
  z-index: 1;
  min-height: 550px !important;
}

#offer.home * {
  transition: all 0.2s ease-in-out 0s;
}

#offer.home {
  background: url(../../img/bg_offer.jpg) no-repeat center center / cover;
  height: 875px;
  position: relative;
  z-index: 3;
}

#store-ad.home {
  height: 200px;
  background-color: #fff;
  position: relative;
  z-index: 3;
}

#welcome.home {
  background:url(../../img/bg_welcome.jpg) no-repeat fixed bottom right;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 870px;
  position: relative;
  z-index: 2;
}

#online-courses.home {
    margin-top: 985px;
    position: relative;
    background-color: white;
    z-index: 3;
    padding: 20px 0;
}

#online-courses.home .inner {
    display: flex;
    gap: 30px;
}

#online-courses.home .inner h2 {
    margin: 0 0 20px;
    font-size: 2.5rem;
}

#online-courses.home .inner p {
    margin: 0;
    
}

#online-courses.home .actions > a {
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 0.85em;
    font-weight: normal;
    margin-top: 5px;
    color: #1c1c1c;
}

#online-courses.home .actions > .btn {
    background-color: #972A59;
    color: #fff;
    font-size: 1.5em;
    width: 80%;
    padding: .5em;
    box-sizing: border-box;
    border-radius: 4px;
    float: none;
    padding: 10px 0;
}

#online-courses.home .column {
    display: flex;
    flex-direction: column;
    gap: 15px
}

#online-courses.home .column .actions {
    margin-top: auto;
}

#worldwide.home {
  background: url(../../img/bg_worldwide.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  height: 875px;
  position: relative;
  z-index: 4;
}

#worldwide.home > .content > .inner > *,
#store-container > * {
    opacity: 0;
    margin-left: 60px;
  }

#store-ad > .content > .inner > img,
#offer .content h2 {
  opacity: 0;
  margin-right: 80px;
}

#offer .content hr {
  opacity: 0;
  margin-top: 2em;
}

.equals {
  background: rgba(255,255,255, .7);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  width: 50%;
  position: relative;
  float: right;
}

.equals:hover {
  background: rgba(25,42,52,.7);
}

.content .equals:hover a {
  color: #fff;
}

.content .equals a {
  color: #242327;
  font-size: 1.7em;
  display: block;
  padding: 5px 0;
  text-align: center;
  width: auto;
}



.home .content {
  padding: 1px 0;
}

.home .content h2{
  font-size: 3.3em;
  letter-spacing: .15em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, .4);
  margin: 35px 0 5px 20px;
  clear: both;
  overflow: visible;
}

.home .content h3 {
  font-size: 2.0em;
  letter-spacing: .23em;
  color: #972A59;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, .4);
  margin: 5px 0 0 20px;
  clear: both;
  overflow: visible;
}

section.home .content p {
  margin: 10px 0 0 20px;
  width: 32em;
  font-size: 1.2em;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
}

section.home .content p a {
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
  transition: all 0.2s ease-in-out 0s;
}

section.home .content p a:hover {
  color: #972A59;
}

.image-column {
  display: block;
  float: left;
  text-align:center;
  opacity: 0;
  margin-left: 20px;
}

.image-column .hover{
  border: solid 4px #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,.2);
  -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,.2);
  box-shadow: 0 0 3px 0 rgba(0,0,0,.2);
  cursor: pointer;
  margin: 40px 38px 0;
  position: relative;
  transition: all .2s ease-in-out 0s;
  top: 0;
  width: 300px;
  z-index: 9;  
}

.image-column .hover:hover {
  border-color: #192A34;
  z-index: 11;
  top: 5px;
}

.image-column .hover img {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.home .content .image-column .hover p {
  background: rgba(0,0,0,.4);
  -webkit-border-bottom-left-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
  -moz-border-radius-bottomleft: 6px;
  -moz-border-radius-bottomright: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  color: #fff;
  display: block;
  margin: 0 auto;
  font-size: 1em;
  padding: 2px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
}

#main.home .content {
  background: url(../../img/bg_home_d.jpg) no-repeat fixed center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 765px;
  position: relative;
  min-height: 450px !important;
}

#main.home .content hr{
  border-top: solid 2px #222;
  width: 37em;
  margin: 0 0 0 20px;
  float: left;
  clear: both;
}

#news-feed {
  padding: 10px 0 0;
  background: #242327;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 100px;
  color: #fff;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
}

#news-feed h2 {
  margin: 0px 20px 0;
  font-size: 2.2em;
  font-weight: 300;
  letter-spacing: .05em;
  float: left;
}

#news-feed ul li {
  list-style: none;
}

#news-feed ul li a {
  clear: both;
  float: left;
  margin: 7px 0 0 20px;
  display: block;
  color: #bbb;
  font-size: 1.6em;
  letter-spacing: .05em;
  transition: all 0.2s ease-in-out 0s;
}

#news-feed ul li a:hover{
  color: #fff;
}

#offer .content {
  color: #fff;
}

#offer .content h2 {
  margin: 40px 0 0;
  text-align: right;
  font: 300 2.6em 'Oswald', sans-serif;
}

.offerings {
  float: right;
  width: 65%;
  margin: 27px 40px 0 0;
  height: 500px;
  padding-bottom: 20px;
  position:relative;
  opacity: 0;
}

.content .offerings h3 {
  color: #f1f1f1;
  font-size: 1.6em;
}

.content .offerings p {
  font-size:1.4em;
  letter-spacing: .08em;
  width: inherit;
}

#preload {
  height: 100%;
  overflow:hidden;
  position: fixed;
  top: 0;
  transition: all 1s ease-in-out 0s;
  width: 100%;
  z-index: 200;
}

#preload #top {
  bottom:50%;
  left: 0;
}

#preload #bottom {
  right: 0;
  top: 50%;
}

div.products,
div.experience,
div.green {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
}

section.home div.products p,
section.home div.experience p,
section.home div.green p {
  width: 95%;
}

.slide-open {
  background: #242327;
  height: 50%;
  position: absolute;
  transition: all 1s ease-in-out 0s;
  width: 100%;
}

.social-buttons {
  width: 100%;
  bottom: 0;
  position: absolute;
  left: 0;
}

.social-buttons a {
  display: block;
  background: rgba(0, 0, 0, .6);
  float: left;
  width: 50px;
  height: 70px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-right: 15px;
}

.social-buttons a:hover {
  background: rgba(0,0,0,.8);
}

.social-buttons a img {
  display: block;
  margin: 20px auto;
}

#store-ad .content img {
  float: right;
  margin: 19px 0 0;
}

#store-ad .content img:first-of-type {
  margin-top: 39px;
}

#store-ad .content img:last-of-type {
  margin-right: 60px;
}

#store-container {
  float: left;
}

#store-container h2{
  font: 300 2.5em 'Oswald', "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 45px 0 0 20px;
  width: auto;
  text-transform: uppercase;
}

#store-container p {
  margin: 0 0 0 20px;
  color: #777;
  font-size: 1.15em;
  width: auto;
}

#welcome.home .content h2 {
  color: #fff;
  float: right;
  font-weight: 300;
  font-size: 1.8em;
  clear: both;
  opacity: 0;
  margin-top: 40px;
}

#welcome.home .content p {
  clear: both;
  color: #eee;
  float: right;
  text-align: right;
  width: 510px;
  opacity: 0;
  margin-top: 40px;
}

.welcome-message {
  padding: 14px 4px;
  float: left;
  margin: 20px 0 0 20px;
}

.worldwide-images {
  width: 650px;
  margin-top: 25px;
}


.worldwide-images > img{
  display: block;
  margin: 10px auto;
  text-align: center;
  opacity: 0;
}

.worldwide-images-container {
  display: block;
  width: 100%;
  text-align: center;
}

.worldwide-images-container img {
  display: inline-block;
  opacity: 0;
}

#online-training-modal.modal {
    max-width: 900px;
}

#online-training-modal > div {
    display: flex;
    gap: 24px
}

#online-training-modal .left-column,
#online-training-modal .right-column {
    float: none;
    padding: 0;
    margin: 0;
    width: 50%;
}

#online-training-modal .left-column {
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
}

#online-training-modal .left-column img {
    height: 500px;
}

#online-training-modal.modal > div .right-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#online-training-modal .right-column h2 {
    margin-top: 0;
}

#online-training-modal .right-column p {
    margin-top: 0;
    margin-bottom: 15px;
}


#online-training-modal.modal > div .actions > a {
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 0.85em;
    font-weight: normal;
    margin-top: 5px;
    color: #1c1c1c;
}

#online-training-modal.modal > div .actions > .btn {
    background-color: #972A59;
    color: #fff;
    font-size: 1.5em;
    width: 80%;
    padding: 10px 0;
    box-sizing: border-box;
    border-radius: 4px;
    float: none;
}

#online-training-modal.modal .actions {
    margin-top: auto;
}

/**
* 6. Mobile Layout
**/

@media screen and (min-width: 961px) and (max-width: 1200px) {
  footer.home {
    padding: 40px 0;
  }
  
  .image-column {
    display: block;
    float: none;
    text-align: center;
  }
  
  .offerings {
    float: none;
    font-size: 90%;
    height: 300px;
    width: 100%;
  }
  
  .image-column .hover {
    display: inline-block;
    margin: 15px;
    text-align:center;
    width: 240px;
  }
  
  .image-column .hover img {
    width: 240px;
  }
  
  div.link {
    margin-right: 20px;
  }
  
  .home .content .image-column .hover p {
    width: 240px;
    font-size: .95em;
  }
  
  #offer.home {
    height: 750px;
  }
  
  #offer .content h2 {
    font-size: 2.1em;
  }
  #offer.home .content .offerings p {
    font-size: 1.2em;
  }
  
  #store-ad.home {
    height: 140px;
  }
  
  #store-ad.home .content h2 {
    font-size: 2em;
    margin-top: 30px;
  }
  
  #store-ad.home .content img:first-of-type {
    width: 120px;
    margin-top: 35px;
  }
  
  #store-ad.home .content img:last-of-type {
    width: 200px;
    margin-right: 30px;
  }
  
  #store-ad.home .content p {
    font-size: .85em;
  }
  
  .up-pointer,
  .down-pointer {
    right: 50%;
  }
  
  #welcome.home {
    height: 700px;
  }
  #worldwide.home {
    height: 600px;
  }

  section.home .content p {
    font-size: 17px;
  }

  .home .content h2 {
    font-size: 42px;
  }

  .home .content h3 {
    font-size: 26px;
  }

  #news-feed h2 {
    font-size: 26px;
  }

  #news-feed ul li a {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .worldwide-images-container
  {
    display: none;
  }
}

@media screen and (min-width: 479px) and (max-width: 960px),
only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 2) {
  .content .copy a {
    margin-right: 10px;
  }
  
  .content .logos-row img {
    max-width: 70px;
  }
  
  div.link a.button {
    font-size: 16px;
  }
  
  footer.home {
    padding: 20px 0 40px; 
    height: auto;
  }
  
  #main.home,
  #worldwide.home,
  #offer.home,
  #welcome.home {
    height: 522px;
    width: 100%;
    background-attachment: scroll;
    position: relative;
  }
  
  #main.home .content {
    background-attachment: scroll;
  }

  #main.home .content p {
    font-size: 16px;
  }
  
  .home .content h2 {
    font-size: 26px;
  }
  
  .home .content h3 {
    font-size: 16px;
  }
  
  section.home .content p {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    margin-right: 20px;
    width: auto;
  }
  
  section.home div.products p, section.home div.experience p, section.home div.green p {
    width: auto;
  }
  
    .image-column {
    display: block;
    float: none;
    text-align: center;
  }
  
  .image-column .hover {
    display: none;
    transition: all 0.2s ease-in-out 0s;
  }
  
  .image-column .hover.add-color {
    display: inline-block;
    text-align: center;
    width: 200px;
  }
  
  .image-column .hover.add-color img,
  .home .content .image-column .hover.add-color p{
    width: 200px;
    font-size: 12px;
  }
  
  #main.home .content hr {
    width: 90%;
  }
    
  #news-feed h2 {
    font-size: 20px;
    margin: 3px 20px 0;
  }
  
  #news-feed ul {
    padding-left: 0px;
  }
  
  #news-feed ul li {
    margin-bottom: 50px;
  }
  
  #news-feed ul li a {
    font-size: 16px;
  }
  
  #offer .content h2 {
    font-size: 20px;
    margin-right: 10px;
  }
  
  #offer.home {
    height: auto;
  }
  
    .offerings {
    float: none;
    font-size: 14px;
    max-height: 400px;
    width: 100%;
  }
  
  .social-buttons a {
    margin: 0 0 0 15px;
  }
  
  #store-ad {
    display: none;
  }
  .welcome-message {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    width: auto;
    margin: 0;
  }
  
  #welcome.home .content h2 {
    font-size: 20px;
    margin-right: 10px;
  }
  
  #welcome.home .content p {
    font-size: 12px;
    width: 340px;
  }
  
  #worldwide.home {
    margin: 85px 0 0;
  }

  .worldwide-images {
    width: 100%;
  }

  .worldwide-images img {
    width: 200px;
    padding: 0;
    margin: 0 auto;
  }

  .worldwide-images-container {
    display: none;
  }

}

@media screen and (max-width: 478px) {
  .content .copy a {
    margin-right: 10px;
  }
  
  .content .logos-row img {
    max-width: 70px;
  }
  
  div.link {
    float: left;
    clear: both;
    margin: 0 0 0 20px;
  }
  
  div.link a.button {
    font-size: 12px;
    padding: 5px 30px;
  }
  
  footer.home {
    padding: 20px 0 40px; 
    height: auto;
  }
  
  #main.home,
  #worldwide.home,
  #offer.home,
  #welcome.home,
  #online-courses.home {
    height: 522px;
    width: 100%;
    background-attachment: scroll;
    position: relative;
  }
  
  #main.home .content {
    background-attachment: scroll;
  }
  
  .home .content h2 {
    font-size: 22px;
  }
  
  .home .content h3 {
    font-size: 14px;
  }
  
  section.home .content p {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 12px;
    margin-right: 20px;
    width: auto;
  }
  
  section.home div.products p, section.home div.experience p, section.home div.green p {
    width: auto;
  }
  
    .image-column {
    display: block;
    float: none;
    text-align: center;
  }
  
  .image-column .hover {
    display: none;
    transition: all 0.2s ease-in-out 0s;
  }
  
  .image-column .hover.add-color {
    display: inline-block;
    text-align: center;
    width: 200px;
  }
  
  .image-column .hover.add-color img,
  .home .content .image-column .hover.add-color p{
    width: 200px;
    font-size: 12px;
  }
  
  #main.home .content hr {
    width: 90%;
  }
    
  #news-feed h2 {
    font-size: 20px;
    margin: 3px 20px 0;
  }
  
  #news-feed ul {
    padding-left: 0px;
  }
  
  #news-feed ul li {
    margin-bottom: 50px;
  }
  
  #news-feed ul li a {
    font-size: 16px;
  }
  
  #offer .content h2 {
    font-size: 16px;
    margin-right: 10px;
  }
  
  #offer.home {
    height: auto;
  }
  
  .offerings {
    float: none;
    font-size: 12px;
    max-height: 350px;
    width: 100%;
  }
  
  .social-buttons a {
    margin: 0 0 0 15px;
  }
  
  #store-ad {
    display: none;
  }
  .welcome-message {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    width: auto;
    margin: 0;
  }
  
  #welcome.home .content h2 {
    font-size: 16px;
    margin-right: 10px;
  }
  
  #welcome.home .content p {
    font-size: 12px;
    width: auto;
  }
  
  #worldwide.home {
    margin: 85px 0 0;
  }
  
  .worldwide-images-container {
    display: none;
  }

}