/**********************************************************************************/
/*RWD */
/**********************************************************************************/

@media (max-width: 1580px) {
    .on-page-nav.mid-page-nav {width: 100%!important;}  
}

@media (max-width: 1490px){
   .hero-container h1 {font-size: 50px;}
}

@media (max-width: 1422px) {
   .mid-page-nav li a { padding: 10px !important;}
}

@media (max-width: 1394px){
   .header-buttons li{ padding-left: 0px;} 
}

@media (max-width: 1382px){
  .hero-container p.secondary-header {font-size: 20px;}
}

@media (max-width: 1360px){
    .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {padding: 20px 20px;}
}

@media (max-width: 1334px){
     .home-about-hero {background-position-x: 30%;}
}

@media (max-width: 1330px){
    .internal-page-title h1 {font-size: 32px;}
    .internal-page-title p {font-size: 22px;}
    .internal-page-title.submenu h1 {margin: 3.5em auto 0 auto;}
    .internal-page-title-small h1 {font-size: 32px;}
    .internal-page-title-small p {font-size: 22px;}
    .internal-page-title-small.submenu h1 {margin: 3.5em auto 0 auto;}
}

@media (max-width: 1282px) {
   .mid-page-nav li a { font-size: 14px;}
}

@media (max-width: 1281px) {
.header-buttons a.yellow-button, .header-buttons a.blue-button {padding: .2em 1em .1em 1em;}
}

@media (max-width: 1272px) {
    .footer-wrap a.yellow-button {line-height: 20px;}
}

@media (max-width: 1243px){
  .hero-container p.secondary-header {font-size: 20px;}
  .home-hero { background-position-x: 0%;}
}

@media (max-width: 1210px){
    .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {padding: 20px 10px;}
}

@media (max-width: 1188px) {
    .footer-wrap a.blue-button {line-height: 20px;}
}

@media (max-width: 1140px) {
    .mid-page-nav ul {width: 100%;}
   .mid-page-nav li {float: none!important; width: 100%; border-bottom: 1px solid #99bcbb;}
}

@media (max-width: 1139px){
.buttons {margin-left: 0 !important;}
.chat-icon {width: 8% !important;}
}

@media (max-width: 1103px){
    .on-page-nav li a {padding: 20px 10px 15px 12px!important; font-size: 15px;}
}

    
/* ==========================================================================
   Mobile Menu - Hubspot Standard Toggle Menu
   ========================================================================== */


/**
 * Special Note
 *
 * When the menu is open, a class of .mobile-open is applied to the body. You can 
 * use this for custom styling on any element when the menu is in the open position.                     
 */

@media (min-width: 1100px){

  a.mobile-trigger, a.child-trigger {
      display: none !important; /* Hide button on Desktop */
  }

}

@media (max-width: 1100px){

  /* Variables
     ========================================================================== */

     /* Set Mobile Menu Background Color */
        /* Set Link Color */
   /* Set Link Hover Color */


  /* Menu Reset - Remove styling from desktop version of custom-menu-primary */
  /* Place any additional CSS you want removed from the mobile menu in this reset */
  .custom-menu-primary, .custom-menu-primary *{
    display: block;
    float: none;
    position: static;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    padding: 0px;
    margin: 0px;
    background-image: none;
    background-color: transparent;
    border: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none; 
    max-width: none;
    width: 100%;
    height: auto;
    line-height: 1;  
    font-weight: normal;
    text-decoration: none;
    text-indent: 0px;
    text-align: left;
    color: #ffffff !important;
    }


  /* Toggle Button
     ========================================================================== */

  a.mobile-trigger {
      display: inline-block !important; /* Hide button on Desktop */
      cursor: pointer; /* Mouse pointer type on hover */
      position: absolute; /*******************************************/
      top: 130px;          /* Position Button at top right of screen  */
      right: 0px;        /*******************************************/
      width: 100%; /* Button width */
      height: auto; /* Button height */      
      padding: 12px 50px;
      background:#669b9a; /* Background color */
      z-index: 888; /* Z-index to keep button on top of other layers */
      -webkit-transition: background-color 0.2s linear; /* Button color transition effect */
      font-size: 16px;
      font-weight: normal;
      text-align: right;
      text-transform: uppercase;
      -webkit-transition:color .2s ease-in; 
      -moz-transition:color .2s ease-in;
      transition:color .2s ease-in;
  }

  a.mobile-trigger:hover {
      text-decoration: none; /* Removes link text underline on button */
      color: #ffffff;
  }

  a.mobile-trigger span{
      display: inline;
  }

  a.mobile-trigger span:before{
      position: absolute;
      content: 'Menu'; /* Change the text on the closed toggle button */
  }

  a.mobile-trigger span:after{
      position: relative;
      right: 2px;
      content: 'Close'; /* Change the text on the open toggle button */
      background-color: #669b9a;
      opacity: 0;
      transition: opacity .4s ease-in-out;
      -moz-transition: opacity .4s ease-in-out;
      -webkit-transition: opacity .4s ease-in-out; 
  }

  /* Change button when menu is open */
  .mobile-open a.mobile-trigger{
      -webkit-transition:background-color 0.2s linear; /* Button color transition effect */
      -moz-transition:background-color 0.2s linear; /* Button color transition effect */
      transition:background-color 0.2s linear; /* Button color transition effect */
  }

  .mobile-open a.mobile-trigger span:after{
     opacity: 1; 
  }


  /* Toggle Button Icon & Animations
     ========================================================================== */

  a.mobile-trigger i {
      display: inline;
      position: relative;
      top: -5px;
      margin-left: 5px;
      -webkit-transition-duration: 0s;
      -webkit-transition-delay: .2s;
      -moz-transition-duration: 0s;
      -moz-transition-delay: .2s;
      transition-duration: 0s;
      transition-delay: .2s;
  }
  a.mobile-trigger  i:before, a.mobile-trigger i:after {
      position: absolute;
      content: '';
  }
  a.mobile-trigger  i, a.mobile-trigger  i:before, a.mobile-trigger  i:after {
      width: 15px; /* Icon line width */
      height: 2px; /* Icon line height */
      background-color: #ffffff; /* Icon color */
      display: inline-block;
  }
  a.mobile-trigger  i:before {
      margin-top: -6px; /* Position top line */
      -webkit-transition-property: margin, -webkit-transform;
      -webkit-transition-duration: .2s;
      -webkit-transition-delay: .2s, 0;
  }
  a.mobile-trigger  i:after {
      margin-top: 6px; /* Position bottom line */
      -webkit-transition-property: margin, -webkit-transform;
      -webkit-transition-duration: .2s;
      -webkit-transition-delay: .2s, 0;
  }
  .mobile-open a.mobile-trigger i {
      background-color: rgba(0,0,0,0.0);
      -webkit-transition-delay: .2s;
      -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
      -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
      box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  .mobile-open a.mobile-trigger i:before {
      margin-top: 0;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      -webkit-transition-delay: 0, .2s;
      -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
      -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
      box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  .mobile-open a.mobile-trigger i:after {
      margin-top: 0;
      -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      -webkit-transition-delay: 0, .2s;
      -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
      -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
      box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }

  /* Child Toggle Button
     ========================================================================== */

  a.child-trigger {
      display: block !important; /* Hide button on Desktop */
      cursor: pointer; /* Mouse pointer type on hover */
      position: absolute;
      top: 0px;
      right: 0px;
      width: 55px !important; /* Button width */
      min-width: 55px !important;
      height: 45px !important; /* Button height */  
      padding: 0 !important;
      border-left: 1px dotted rgba(255, 255, 255, .20);
  }
  a.child-trigger:hover {
      text-decoration: none;
  }


  /* Child Toggle Button Icon & Animations
     ========================================================================== */

  a.child-trigger span {
      position: relative;
      top: 50%; /* Centers icon inside button */
      margin: 0 auto !important;
      -webkit-transition-duration: .2s;
      -moz-transition-duration: .2s;
      transition-duration: .2s;
  }
  a.child-trigger span:after {
      position: absolute;
      content: '';
  }
  a.child-trigger span, a.child-trigger span:after {
      width: 10px; /* Icon line width */
      height: 1px; /* Icon line height */
      background-color: #ffffff; /* Icon color */
      display: block;
  }
  a.child-trigger span:after {
      -webkit-transform: rotate(-90deg);
       -ms-transform: rotate(-90deg);
      transform: rotate(-90deg);
       -webkit-transition-duration: .2s;
       -moz-transition-duration: .2s;
      transition-duration: .2s;
  }
  a.child-trigger.child-open span:after {
      -webkit-transform: rotate(-180deg);
       -ms-transform: rotate(-180deg);
      transform: rotate(-180deg);
       -webkit-transition-duration: .2s;
       -moz-transition-duration: .2s;
      transition-duration: .2s;
  }
  a.child-trigger.child-open span {
      -webkit-transform: rotate(180deg);
       -ms-transform: rotate(180deg);
      transform: rotate(180deg);
       -webkit-transition-duration: .2s;
       -moz-transition-duration: .2s;
      transition-duration: .2s;
  }

    
  /* Menu Styles on Mobile Devices
     ========================================================================== */  


  /* Hide menu on mobile */
  .custom-menu-primary.js-enabled .hs-menu-flow-horizontal,
  .custom-menu-primary.js-enabled .hs-menu-children-wrapper{
      display: none;
  }  

  /* Make child lists appear below parent items */
  .custom-menu-primary ul.hs-menu-children-wrapper {
      visibility: visible !important;
      opacity: 1 !important;
      position: static !important;
      display: none;
  }

  /* Mobile Menu Styles */
  .custom-menu-primary.js-enabled .hs-menu-flow-horizontal{
      position: absolute; /**************************************************************/
      top: 170px;             /* Positions the menu to drop from the very top of the screen */
      left: 0px;          /**************************************************************/                                              
      width: 100%;   
      -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.65);
      -moz-box-shadow:    0px 5px 5px 0px rgba(0, 0, 0, 0.65);
      box-shadow:         0px 5px 5px 0px rgba(0, 0, 0, 0.65); 
      z-index: 888;
  }
  .custom-menu-primary .hs-menu-flow-horizontal{
      padding: 100px 0 0 0; /* Padding to add room for close button */
      background-color: #669b9a; /* Menu background color set off global mobile-menuColor variable */
      width: 100%; /* Full screen width */
      z-index: 8888;
  }

   /* Level 1 Menu List Styles */
  .custom-menu-primary .hs-menu-flow-horizontal > ul > li{
      position: relative;
   }
  .custom-menu-primary .hs-menu-flow-horizontal > ul > li a{
      font-size: 22px; /* Font size of top level list items */
      line-height: 45px;
      overflow: visible;
      text-align:center;
  }

  /* Level 1 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-flow-horizontal ul li{
      border-top: 1px dotted rgba(255, 255, 255, .35); /* Adds transparent dark highlights to top of top level list items */
  }
  .custom-menu-primary .hs-menu-flow-horizontal ul li a{
      padding: 0 10px;
  }
  .custom-menu-primary .hs-menu-flow-horizontal ul li a:hover{
      color: #ffffff; /* link hover color set by global mobile-aColorHover variable */
  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-flow-horizontal > ul ul li{
     background-color: rgba(255, 255, 255, .08);
  }
  .custom-menu-primary .hs-menu-flow-horizontal > ul ul li a{
      text-indent: 10px; /* Indent Child lists */
      font-size: 16px; /* Font size of child lists */
      overflow: visible !important;
      text-align:center;
      width: 100% !important;
  }

  /* Level 3 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-flow-horizontal > ul ul ul li a{
      text-indent: 30px; /* Indent Child lists */
  }
  .custom-menu-primary .hs-menu-flow-horizontal > ul ul ul ul li a{
      text-indent: 50px; /* Indent Child lists */
  }
  
 .buttons {margin-left: 0 !important;}
 .span4.widget-span.widget-type-raw_html.buttons { width: 35.491713% !important;}
 .span4.widget-span.widget-type-space.nav-spacer {  width: 26.055249% !important;}
 .top-search {  width: 24%!important;}
  
  
/*home*/
 .hero-container h1 {font-size: 50px;}
 .hero-container {padding: 6em 0;}
 .home-hero { background-position-x: 30%;}  
 
}

@media (max-width: 1083px){
    .header-buttons ul {padding: 0;}
}

@media (max-width: 1040px){
    .section-title h2 {font-size: 28px;}
    .enrollment-columns {width: 100% !important;}
}

@media (max-width: 1036px) {
/*accordian menus*/
    .dropdown-text {max-width: 70%; line-height: 1; margin-top: -2.8em;}
}

@media (max-width: 994px) {
  .courselinks {  width: 16.3646% !important; min-height: 140px !important; margin: 0 !important;}  
  .courselinks.first {width: 100% !important;}
}

@media (max-width: 977px){
  .hero-container h1 { font-size: 40px;}
  .hero-container p.secondary-header { font-size: 18px;}
}

@media (max-width: 930px) {
/*nav*/
    .le-logo img {width: 140px !Important;}
    .le-logo {height: 180px; width: 180px !important;}
    .custom-menu-primary .hs-menu-flow-horizontal {padding: 20px 0 0 0;}
}

@media (max-width: 926px){
    .on-page-nav li a {  padding: 15px 8px 13px 8px!important;  font-size: 14px;}
}

@media (max-width: 920px){
   .description-mobile { display:block !important;}
   .description-desktop {display:none !important;}
   .pull img { padding-top: 1.5em; height: auto;}
   .hs-content-name-teacher-resources .row-fluid .span6, .hs-content-name-courses .row-fluid .span6, .hs-content-name-about .row-fluid .span6, .hs-content-name-certificates .row-fluid .span6, .hs-content-name-book-study .row-fluid .span6{width: 100%;}
}


@media (max-width: 898px){
 h2 {font-size: 22px;}   
}

@media (max-width: 890px){
    .home-about-hero {background: #99bcbb !important;}
    .about-le-text {width: 100% !important;}
}

@media (max-width: 888px){
    .enrollment-columns .span2.widget-span.widget-type-rich_text { width: 100%; margin: 0 0 3em 0 !important;}
}

@media (max-width: 860px){
/*home*/
    .home-hero {margin: 2em 0;}
    .hero-container { padding: 2em;}
/*internal*/
    .page-header-bg {margin: 1em 0 0 0;}
    .page-header-bg-small {margin: 0em 0 0 0;}
    .internal-page-title { padding: 0em 0;}
    .internal-page-title.lp h1 { margin: 0em auto 0 auto;}
    .internal-page-title-small { padding: 0em 0;}
    .internal-page-title.lp-small h1 { margin: 0em auto 0 auto;}
}

@media (max-width: 850px){
.section-title h2 { font-size: 24px;}
 }

@media (max-width: 837px){
    .top-search, .chat-icon {display:none !important;}
    .span5.widget-span.widget-type-space.nav-spacer { width: 0;}
    .span4.widget-span.widget-type-raw_html.buttons { width: 100%!important;}
    .on-page-nav ul {width: 100%;}
    .on-page-nav li {float: none !important; width: 100%; border-bottom: 1px solid #99bcbb;}
}

@media (max-width: 824px){
    h2 { font-size: 20px;}
}

@media (max-width: 767px) {
    .hero-container {padding: 2em 40% 0em 0em;}
    .hero-container h1 { font-size: 30px;}
/*enrollment page*/
    .pricing-columns .left-column, .pricing-columns .right-column {padding-top: 1em;}
/*contact page*/
    .contact-section { text-align: center;}
 /*footer*/
    .footer-wrap a.blue-button, .footer-wrap a.yellow-button {line-height: 32px;}

.courselinks {  width: 24% !important; min-height: 140px !important; float: left !important;}
.courselinks.first { width: 100% !important;}
}

@media (max-width: 660px) {
/*accordian menus*/
    .dropdown-text { max-width: 60%; line-height: 1.5; margin-top: -5em;}
    .plusminus {height: 80px; line-height: 86px;}
}

@media (max-width: 520px) {
/*nav*/
    .header-buttons ul {margin-top: -3em;}
    .header-buttons li { display: block; padding: .3em;}
    .header-buttons a.yellow-button,  .header-buttons a.blue-button {width: 130px;}
/*home*/
    .hero-container { padding: 2em 25% 0 0;}
/*internal*/    
    .internal-page-title h1 {font-size: 26px;}
    .internal-page-title p {font-size: 18px;}
    .internal-page-title-small h1 {font-size: 26px;}
    .internal-page-title-small p {font-size: 18px;}
}

@media (max-width: 491px) {
/*accordian menus*/
    .dropdown-text {margin-top: -6.4em;}
    .plusminus {height: 100px; line-height: 106px;}
}


@media (max-width: 390px){   
/*nav*/
    .le-logo {width: 150px !important; height: 150px;}
    .le-logo img {width: 120px!Important;}
    .header-container {width: 98% !important;}
    a.mobile-trigger {padding: 12px 20px;}
    .custom-menu-primary .hs-menu-flow-horizontal {padding: 0 0 0 0;}
/*home*/
    .home-hero { background-position-x: 36%;}
    .hero-container p.secondary-header {font-size: 16px;}

}

@media (max-width: 350px){
    a.mobile-trigger {padding: 12px 15px;}
    .custom-menu-primary .hs-menu-flow-horizontal>ul>li a {font-size: 18px;}

@media (max-width: 346px) {
/*accordian menus*/
    .dropdown-text {font-size: 12px; padding-left: 5.5em; max-width: 58%; margin-top: -6.8em;}
}

@media (max-width: 327px){   
/*nav*/
    .le-logo {width: 140px !important;}
    .le-logo img {width: 110px!Important;}
}


