/* Large desktop */
@media (min-width: 1200px) and (max-width: 1400px) {
  .enrollment-slider-wrapper .slide-title {
    font-size: 40px;
  }

  .slide-content {
    font-size: 18px;
  }

  .slider-content-wrapper {
    top: 45%;
  }

  #masthead .menu-search-wrapper {
    float: right;
    width: 70%;
    padding: 0;
  }

  .home #masthead {
    top: 20px;
  }

  .enrollment_service .section-wrapper {
    margin-top: -135px;
  }
}

@media (max-width: 1300px) {
  .slide-content {
    display: none;
  }

  .slider-content-wrapper .cv-container {
    padding: 0 50px;
  }
}

@media (max-width: 1200px) {

  .cv-container,
  .boxed-layout #page {
    padding: 0 1%;
    width: 100%;
  }

  .cv-container {
    padding: 0 2%;
  }

  #masthead .cv-container {
    padding: 0 1%;
  }

  .home #masthead {
    position: static;
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    -ms-transform: translate(0);
    -o-transform: translate(0);
    transform: translate(0);
    width: 100%;
  }

  .home #masthead-sticky-wrapper {
    position: static;
  }

  .enrollment_service .section-wrapper {
    margin-top: -95px;
  }

  .latest-posts-wrapper .byline,
  .latest-posts-wrapper .posted-on,
  .latest-posts-wrapper .byline a,
  .latest-posts-wrapper .posted-on a {
    font-size: 12px;
  }

  #masthead .menu-search-wrapper::before,
  #masthead .menu-search-wrapper::after {
    display: none;
  }

  .header-search-wrapper {
    margin-right: 0;
  }

  .site-info {
    width: 100%;
  }

  .cv-footer-social {
    margin: 0;
  }

  .site-info::before,
  .site-info::after {
    display: none;
  }
}

/* Portrait tablet to landscape and desktop */

@media (min-width: 768px) and (max-width: 979px) {
  .enrollment_service .img-holder {
    width: 50%;
    margin: 0 auto 15px;
  }

  .enrollment_service .grid-items-wrapper .single-post-wrapper {
    padding: 20px 15px 10px;
  }
}

@media (min-width: 851px) {
  #site-navigation ul {
    display: block !important;
  }
}


@media (max-width: 850px) {
  .menu-toggle {
    display: block;
    font-size: 22px;
    line-height: 73px;
    margin-right: 10px;
    cursor: pointer;
    color: #333;
  }

  .menu-toggle a {
    color: #333;
  }

  .menu-toggle a:hover {
    color: #ecb101;
  }

  #primary-menu {
    background: #ffffff;
    display: none;
    left: 0;
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 99;
  }

  .bottom-header-wrapper {
    position: relative;
  }

  #site-navigation ul li {
    display: block;
    float: none;
    line-height: 1.5;
    margin: 0;
  }

  #site-navigation ul li a {
    display: block;
    border-radius: 0;
    line-height: 1.5;
    border-bottom: 1px solid #e1e1e1;
  }

  #site-navigation ul li a.sub-toggle {
    background: #333 none repeat scroll 0 0;
    color: #ffffff;
    cursor: pointer;
    display: block;
    height: 24px;
    line-height: 25px;
    position: absolute;
    right: 15px;
    text-align: center;
    top: 9px;
    width: 24px;
    padding: 0 !important;
  }

  #site-navigation li.menu-item-has-children>a::after,
  #site-navigation li.page_item_has_children>a::after,
  #site-navigation li.page_item_has_children>a::after {
    display: none;
  }

  #site-navigation ul>li:hover>.sub-toggle,
  #site-navigation ul>li.current-menu-item .sub-toggle,
  #site-navigation ul>li.current-menu-ancestor .sub-toggle {
    background: #333;
  }

  .main-small-navigation li.current-menu-item>.sub-toggle {
    background: #ffffff none repeat scroll 0 0;
  }

  .main-small-navigation li.current-menu-item>.sub-toggle i {
    color: #d40234;
  }

  .menu-primary-container .sub-menu,
  #site-navigation li.menu-item-has-children>a::after {
    display: none;
  }

  #site-navigation ul.sub-menu,
  #site-navigation ul.children {
    position: static;
    min-width: 100%;
    opacity: 1;
    top: 0;
    left: 0;
    visibility: visible;
    display: none;
    background: none;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    box-shadow: none;
    transform: scaley(1);
    -webkit-transform: scaley(1);
    -ms-transform: scaley(1);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
  }

  #site-navigation ul>li:hover>.sub-menu,
  #site-navigation ul>li:hover>.children {
    top: 0;
  }

  .enrollment-slider-wrapper .slide-title {
    font-size: 24px;
  }

  .slider-btn {
    padding: 6px 30px;
  }

  .slider-content-block {
    width: 60%;
  }

  .enrollment_service .section-wrapper {
    margin: 0;
    padding-top: 60px;
  }

  .enrollment_service .grid-items-wrapper .single-post-wrapper {
    width: 50%;
  }

  .enrollment_service .img-holder {
    margin: 0 0 10px;
  }

  .enrollment_service .grid-items-wrapper .single-post-wrapper:hover {
    top: 0;
  }
}


/* Landscape phone to portrait tablet */

@media (max-width: 768px) {

  .team-wrapper .cv-column-3,
  .latest-posts-wrapper .single-post-wrapper.cv-column-3,
  .enrollment_course .single-post-wrapper {
    width: 47%;
    margin-bottom: 30px;
  }

  .enrollment-slider-wrapper .slide-title {
    font-size: 24px;
  }

  .cv-slider-btn-wrap .slider-btn,
  .cv-slider-btn-wrap .slider-btn:first-child:hover {
    font-size: 14px;
    padding: 4px 20px;
  }

  .enrollment-slider-wrapper .lSAction>a {
    height: 40px;
    width: 40px;
  }

  .enrollment-slider-wrapper:hover .lSAction>a {
    right: 20px;
  }

  .enrollment-slider-wrapper:hover .lSAction>a.lSPrev {
    left: 20px;
  }

  .site-branding {
    float: none;
    display: inline-block;
    vertical-align: top;
  }

  .logo-ads-wrapper {
    text-align: center;
  }

  .header-search-wrapper .search-main {
    line-height: 50px;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .enrollment_service .grid-items-wrapper .single-post-wrapper {
    width: 100%;
  }

  .latest-posts-wrapper .single-post-wrapper.cv-column-3,
  .team-wrapper .cv-column-3,
  .enrollment_course .single-post-wrapper {
    width: 97%;
    margin-bottom: 3%;
  }

  .sponsor-wrapper figure {
    width: 30.33%;
    float: none;
    display: inline-block;
    margin-right: -4px;
  }

  .sponsor-wrapper {
    text-align: center;
  }

  #masthead {
    position: relative;
  }

  .site-branding a {
    margin-top: 0;
  }

  .footer_column_one .enrollment-footer-widget,
  .footer_column_two .enrollment-footer-widget,
  .footer_three_columns .enrollment-footer-widget,
  .footer_column_four .enrollment-footer-widget {
    float: none;
    margin-bottom: 3%;
    width: 97%;
  }

  #primary,
  .home.blog #primary,
  #secondary,
  .home.blog #secondary {
    float: none;
    width: 100%;
  }

  .footer_column_one .enrollment-footer-widget,
  .footer_column_two .enrollment-footer-widget,
  .footer_column_three .enrollment-footer-widget,
  .footer_column_four .enrollment-footer-widget {
    margin: 1% 0 1% 3%;
    width: 97% !important;
  }

  .enrollment_service .section-wrapper {
    margin-top: 0;
  }

  .section-wrapper.enrollment-widget-wrapper {
    padding: 50px 0;
  }

  .latest-posts-wrapper .post-thumb img {
    width: 100%;
  }

  #secondary {
    margin-top: 40px;
  }

  #content>.entry-header {
    margin-bottom: 40px;
  }

  .error404 #content {
    margin: 30px;
  }

  .error404 #content {
    margin: 100px 0;
  }

  .error-num {
    font-size: 120px;
    line-height: 100px;
  }

  .error-num span {
    font-size: 44px;
  }

  #content>.entry-header .page-title {
    font-size: 24px;
    margin: 0;
  }
}

/* Landscape phones and down */

@media (max-width: 600px) {
  .cta-content {
    font-size: 18px;
  }

  .cta-btn-wrap a {
    font-size: 16px;
    padding: 6px 30px;
  }

  .widget .enrollment-widget-wrapper .widget-title {
    font-size: 20px;
  }

  .section-wrapper {
    padding: 50px 0 40px;
  }

  .grid-archive-layout article {
    margin: 0;
    width: 100%;
  }

  .eroor-num {
    font-size: 74px;
  }

  .social-icons-holder {
    float: none;
    text-align: center;
  }

  .top-left-holder .top-info {
    display: inline-block;
    float: none;
    margin: 0 12px;
  }

  #masthead .menu-search-wrapper {
    position: static;
    height: 50px;
  }

  #masthead {
    border: none;
    margin: 0;
    padding-bottom: 0;
  }

  .header-search-wrapper .search-main {
    margin-top: 0;
    line-height: 72px;
  }

  #masthead .menu-search-wrapper {
    padding: 0 2%;
  }

  .header-search-wrapper .search-form-main .search-field {
    width: 60%;
  }

  #content>.entry-header {
    padding: 15px 0 15px;
  }

  .enrollment-copyright-wrapper {
    float: none;
    text-align: center;
  }

  .cv-footer-social {
    float: none;
    text-align: center;
  }

  body.logged-in {
    margin-top: -50px;
    padding-top: 50px;
  }

  .logged-in .is-sticky #masthead {
    top: 0 !important;
  }
}

@media (max-width: 480px) {
  .enrollment_course .single-post-wrapper {
    width: 100%;
  }

  .team-wrapper .cv-column-4 {
    margin-bottom: 30px;
    width: 97%;
  }

  .home #masthead {
    border-bottom: 1px solid #e1e1e1;
  }

  .enrollment-slider-wrapper .slide-title {
    font-size: 16px;
  }

  .sponsor-wrapper figure {
    text-align: center;
    width: 97%;
  }

  .sponsor-wrapper figure {
    width: 97%;
    margin: 10px 0 10px 3%;
  }

  .cv-slider-btn-wrap .slider-btn,
  .cv-slider-btn-wrap .slider-btn:first-child:hover {
    font-size: 12px;
    padding: 4px 10px;
  }

  .enrollment-slider-wrapper .slide-title {
    font-size: 18px;
    line-height: 34px;
    margin: 0;
  }

  .slider-btn {
    font-size: 12px;
    padding: 3px 15px;
    margin-top: 14px;
  }
}