/**
 * Third responsive css file
 * 768>
 * 767-560
 * 660>
 * 560>
 */
 

/**
 * 768>
 * No min-width, everything is inherited down
 * .mobile elements are displayed
 */
@media all and (max-width: 767px) {
  
  .desktop,
  .tablet,
  .not-mobile {
    display: none;
  }
  .mobile {
    display: block;
  }
  
  /**
   * General styling (page.css)
   */
  #header {
    height: 70px;
    padding-right: 0;
  }
  #logo {
    padding: 10px 0;
  }
  #logo .middle-class {
    height: 50px;
  }
  .main-menu {
    margin-top: 0;
  }
  .main-menu .menu-cart {
    margin-left: 0;
  }
  .main-menu .cart .cart-icon {
    height: 70px;
    width: 67px;
    padding: 0;
    background-position: center center;
  }
  .main-menu .cart .cart-num {
    display: none;
  }
  #footer {
    padding: 40px 20px;
    height: auto;
  }
   h1 {
     font-size: 32px;
   }
  .box {
    padding: 40px 20px 0;
  }
  .box2 {
    padding-bottom: 40px;
  }
  .box > .inside {
    padding: 30px 30px 40px;
  }
  .box > .small,
  .box > .col:nth-child(n) {
    width: auto;
    float: none;
    padding: 30px 50px 40px;
    margin: 0 auto 10px;
    max-width: 540px;
  }
  .box > .col:last-child {
    margin-bottom: 0;
  }
  .box-top {
    margin-top: -15px;
    padding: 0 30px 15px;
  }
  .select-custom-options {
    max-width: 400px;
  }
  ul.system-messages {
    top: auto;
    bottom: 10px;
    left: 10px;
  }
  li.system-message {
    -webkit-animation: disappear 0.5s 5s ease forwards;
    animation: disappear 0.5s 5s ease forwards;
  }
  
  /**
   * Front page
   */
  .page-index .top {
    height: auto;
    min-height: 0;
  }
  .page-index .top .inner {
    padding: 60px 20px;
  }
  .page-index .top h1 {
    font-size: 34px;
  }
  .page-index .top .actions .btn {
    font-size: 16px;
    line-height: 40px;
    height: 42px;
    min-width: 180px;
  }
  
  /**
   * Course view
   */
  .course-view .overview .col {
    width: auto;
    float: none;
  }
  .course-view .info .list {
    padding: 30px;
  }
  .course-view .info .list::before,
  .course-view .info .list::after {
    width: 25px;
    height: 25px;
  }
  .course-view .info .list .title {
    font-size: 22px;
  }
  
  /**
   * Course study
   */
  .course-study .box > .inside {
    padding-left: 30px;
    padding-right: 30px;
  }
  .course-study .intro .text,
  .course-study .intro .image {
    float: none;
    width: auto;
  }
  .course-study .chapter .sections {
    -moz-columns: 1;
    -webkit-columns: 1;
    columns: 1;
  }
  .course-study-material .body {
    padding: 20px 0 0;
  }
  
  /**
   * Webinar
   */
  .chat-messages {
    height: 250px;
  }
  
  /**
   * Messages
   */
  .messages #thread .items {
    max-height: 300px;
  }
  .messages #thread .btn-back {
    display: none;
  }
  
  /**
   * Order complete
   */
  .order-complete {
    padding: 100px 0;
  }
  
  /**
   * Forum
   */
  .forum-item .actions {
    position: static;
  }
  .forum-course .header .right .not-mobile {
    display: none;
  }
  .forum-course .header .right .mobile {
    display: block;
  }
  
}

/**
 * 767-560
 * Min-width, nothing is inherited down
 */
@media all and (max-width: 767px) and (min-width: 560px) {
  
  /**
   * Course item
   */
  .course-item .actions .breaker {
    display: block;
    margin-bottom: 15px;
  }
  
}

/**
 * 660>
 * No min-width, everything is inherited down
 */
@media all and (max-width: 659px) {
  
  /**
   * General styling (page.css)
   */
  .popup-size-medium .popup-light {
    width: 100%;
    left: 0;
    margin: 0;
  }
  .popup-inner {
    margin: 30px;
  }
  .popup-close {
    right: 5px;
    top: 10px;
  }
  .box-top h1 > :nth-child(n+2) {
    display: block;
    border: none;
    margin: 7px 0 0;
    padding: 0;
  }
  
  /**
   * Course user
   */
  .course-user .empty {
    padding: 110px 0 40px;
    background-position: center 30px;
  }
  .user-course .col-1 .image {
    float: none;
    width: auto;
    max-width: none;
    margin: 0 0 20px;
  }
  .user-course .col-1 .info {
    float: none;
    width: auto;
  }
  
  /**
   * Course study
   */
  .course-study .chapter .header .btn {
    display: none;
  }
  .form-examination .radio-label {
    float: none;
    width: auto;
    margin: 0 0 10px;
  }
  .study-nav {
    max-width: none;
  }
  .study-nav .root {
    width: 100%;
  }
  
  /**
   * Messages
   */
  .form-message-send .form-name-text {
    width: 73%;
  }
  .messages #thread .title .inner {
    display: inline-block;
    max-width: 80%;
  }
  
}

/**
 * 560>
 */
@media all and (max-width: 559px) {
  
  /**
   * General styling (page.css)
   */
  .support .inner > div {
    width: auto;
    float: none;
    margin: 0 0 20px;
    padding: 25px;
  }
  .popup-size-small .popup-light {
    width: 100%;
    left: 0;
    margin: 0;
  }
  .is-ios .form-text,
  .is-ios .form-password,
  .is-ios .form-email,
  .is-ios .form-textarea {
    font-size: 16px;
  }
  
  /**
   * Course item
   */
  .course-list .course-item:nth-child(n) {
    float: none;
    width: auto;
    margin: 0 0 40px;
  }
  .course-list .course-item:last-child {
    margin-bottom: 0;
  }
  .course-list .course-item .col-1,
  .course-list .course-item .col-2 {
    float: none;
    width: auto;
  }
  .course-list .course-item .col-1 {
    margin-bottom: 15px;
  }
  .course-list .course-item .col-2 {
    padding: 0 10px;
  }
  .course-list .course-item .title {
    margin-top: 15px;
  }
  .course-item .actions {
    margin-top: 20px;
  }
  
  /**
   * Course study
   */
  .study-nav {
    width: 310px;
  }
  
  /**
   * Forum
   */
  .thread-reply {
    width: auto;
    left: 10px;
  }
  .thread-reply .form-textarea {
    height: 100px;
  }
  
}