/**
* border-color: #d7d8db; 
  1200px
  992px
  768px
  480px
  320px  box-shadow: 0 2px 9px rgba(0,0,0,.3);
}
**/

@media screen and (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
    .row.body {
        margin: 0;
    }
    .row-item.content {
        display: block;
        padding: 10px;
    }

    .rwl-modal-opener .owl-preview i.icon.xn, 
    .rwl-modal-opener .owl-preview i.icon.xo {
        display: none;
    }

    .user_profile2 .cards .card {
        margin-bottom: 10px;
    }
    .user_profile2 .cards {
        padding: 10px 10px 0px 10px;
    }

    .user_profile2 .row-item.content {
        padding: 0;
    }


    .head-menu .search {
        border-left: 0; 
        border-right: 0; 
    }

    .head-menu .search,
    .head-menu .search input,
    .head-menu .search button {
      border-radius: 0;
    }

    .row-item.sidebar {
        display: none;
    }

    .row-item.sidebar .sidebar-header {
        display: flex;
        height: 51px; 
        position: fixed; 
        top: 0px; 
        background-color: #20404c;
        align-items: center;
        width: 240px;
        z-index: 6;
    }

    body.sidebar-active {
        height: 100%;
        overflow: hidden;
    }

    body.sidebar-active .body .body-background {
        display: block;
        position: absolute;
        top: 50px; 
        left: 0px; 
        right: 0px; 
        bottom: 0px; 
        width: 100%; 
        height: 100%; 
        content: " "; 
        background-color: rgba(0,0,0,.4);        
    }

    body.sidebar-active .row-item.sidebar {
        padding-top: 50px;
        display: block;
        position: fixed;
        z-index: 5;
        height: calc(100%);
        top: 0;
        overflow-y: auto;
        background-color: #fff;
        width: 240px;
    }
    
    body.sidebar-active .head {
        margin-left: 240px; 
        width: 100%; 
    }
    
    body.sidebar-active .container { 
      overflow: hidden;
    }

    .title-menu {
        padding: 10px;
        font-size: 15px;
        line-height: 25px;
        margin-bottom: 0;
    }

    .all-product {
        line-height: 15px;
    }

    .cards .card {
        width: calc(50% - 5px);
    }

    .cards .card > a {
        display: block;
    }

    .card .thumbnail {
        height: calc(100vw / 3.4);
    }

    .category-slug span {
        display: none;
    }

    .card .card-title {
        padding: 5px;
        font-size: 11px;
        line-height: 15px;
        height: 56px;
    }

    .card-bottom {
        padding: 5px;
        background-color: #f6f6ff;
    }
}
@media screen and (min-width: 480px) {
    .grid-item {
        width: 25%;
    }
    .grid-item:nth-child(-n+8) {
        display: inline-block;
    }
}
@media screen and (min-width: 768px) {
    .hidden-pc {
        display: none !important;
    }
    .body {
        display: flex;
        width: 100%;
    }
    .header .search {
        display: inline-block;
        float: right;
        padding-right: 10px;
    }
    .header .search input[type="search"]:focus {
        width: 260px;
    }
    .head {
        background-color: #152931;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, "sans-serif";
    }

    .head > div {

    }

    .head > .logo {
        width: 220px;
    }

    img.logo {
        height: 22px; 
    }
    img.web-logo {
        display: inline-block;
    }
    .head > .logo img.mobile-logo {
        display: none;
    }

    .head a {
        display: inline-block;
    }
    .head .logo a {
        padding: 14px 0; 
    }

    .head .nav-menu {
        flex-grow: 1;
    }

    .head .nav-user a i::before {
        font-size: 20px;
        line-height: 15px; 
    }

    .head .nav-user,
    .head .nav-menu {
        display: inline-flex;
    }

    .head .nav-user a,
    .head .nav-menu a {
        padding: 16px 13px;
        color: #869fb1;
        position: relative;
    }
    .head .nav-user a:hover,
    .head .nav-menu a:hover {
        background-color: #06171d; 
        color: #e2e2e2;
    }

    .head-menu {
        display: block;
    }
    
    .head-menu a:hover {
        background-color: #f3f3f3;
    }

    .head-menu .nav-box .box-toggle a.nav-toggle {
        display: none;
    }


    .head-menu > .nav-box > div > .box-toggle > a::after {
        display: inline-block;
        vertical-align: middle;
        margin-left: 5px;
        content: " "; 
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid #152931;
        border-bottom: 0;
    }

    .head-menu > .nav-box > div > .box-toggle > a:hover::after {
        display: inline-block;
        vertical-align: middle;
        margin-left: 5px;
        content: " "; 
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-bottom: 4px solid #152931;
        border-top: 0;
    }

    .head-menu .box-item {
        min-width: 170px;
    }

    .head .logo,
    .head .search {
        display: inline-block;
    }


    .container-black {
        background-color: #152931;
    }

    .container-white {
        background-color: #fff;
        border-bottom: 1px solid #dfdfdf;
    }

    .container-panel {
        background-color: #152931;
    }



    .head-menu .search {
        display: inline-block;
        background-color: inherit;
        border: 0px;
        float: right;
        border-radius: 0; 
    }

    .head-menu .search input[type="search"] {
        width: 180px;
    }

    .head-menu .search input,
    .head-menu .search button {
        height: 30px;
        border-radius: 0; 
    }

    .head-menu .search button {
        background-color: #ec9c4e;
    }

    .foot-menu a,
    .head-menu a {
        padding: 18px 20px;
        color: #fff;
        display: inline-block;
    }


    .head-menu .nav-box > div, 
    .head-menu .nav-box {
        display: inline-block;
        position: relative;
    }
    .head-menu .box-toggle {
        display: inline-block;
        width: auto;
    }
    .head-menu .box-item {
        position: absolute;
        z-index: 3;
        background-color: #fff;
    }


    .head-menu .box-item a {
        padding: 10px;
        width: 100%;
    }

    .user_registration .row-item.content {
        width: 100%;
    }

    .user_registration .row-item.sidebar {
        display: none;
    }

    .footer-menu {
        width: 25%;
        display: inline-block;
        vertical-align: top;
    }


    .footer-menu a {
        line-height: 24px;
    }


    .footer-menu a:hover {
        text-decoration: underline;
    }


    div.crumb {
        
    }

    div.crumb::after {
        display: none;
    }

    .content {
        
    }


    .list_goods .cards {
        justify-content: flex-start;
    }


    .list_goods .cards .card {
        margin-left: 20px;
        max-width: calc(25% - 15px);
    }

    .list_goods .cards .card:nth-of-type(4n+1) {
        margin-left: 0;
    }

    .cards.cards-one {
        flex-flow: row wrap;
    }
    .cards.cards-one .card {
        flex: 1 0 calc(33.33% - 15px);
        margin-left: 15px;
    }
    .cards.cards-one .card:nth-of-type(3n+1) {
        margin-left: 0;
    }

    div.pc-hidden,
    a.pc-hidden {
        display: none;
    }

    .grid-item {
        width: 25%;
    }
    .row-small,
    .grid-item:nth-child(-n+10) {
        display: inline-block;
    }
    .row-small {
        width: 256px;
    }
    .breadcrumb a {
        padding: .7em 1em;
    }

    .rwl-author {
        border-radius: 5px;
    }
    .rwl-image {
        width: 64%;
        height: 507px;
        border-right: 1px solid #dfdfdf;
        display: inline-block;
    }
    .rwl-title {
        width: 35%;
        display: inline-block;
    }
    .row-item.ecs {
        width: 100%;
        border-radius: 5px;
    }
    body.user_auth .row.body .leftMenu {
        display: none;
    }
    div.form-auth {
        padding: 70px 0;
    }
    .info {
        padding: 15px;
    }
}
@media screen and (min-width: 992px) {
    body {
        background-color: #efefef;
    }

    .row {
        display: flex;
        flex-wrap: wrap; 
    }
 
    .row.paytypes .row-item.ecs {
        padding-left: 15px;
    }
 
    .row.paytypes,
    .glk {
        flex-wrap: nowrap; 
        justify-content: space-between;
    }

    .body {
        margin: 0px auto 0 auto;
    }
    div.header {
        position: relative;
        display: block;
    }

    div.header,
    .headerMenu {
        height: 65px;
    }
    .headerMenu .headerRightMenu {
        height: 65px;
        box-sizing: border-box;
    }
    .header .search {
        margin-top: 17px;
    }
    .header .search input[type="search"] {
        padding: 8px 10px;
    }
    .grid-item {
        width: 20%;
    }
    .ghj .grid-item {
        width: 50%;
        flex-basis: calc(50% - 5px);
    }

    .row-item.ghj,
    .row-item.ecs {
        display: inline-block;
    }

    .foot {
        padding: 10px 20px;
    }

    .footer, 
    .foot, 
    .foot-menu, 
    .head-menu, 
    .head, 
    .row.body {
        margin: 0 auto; 
        max-width: 1300px;
        width: 100%;
    }


    .row.body {
        margin: 20px auto;
        flex-wrap: nowrap;
    }


    .top-menu,
    .pgen {
        max-width: 1300px; 
        width: 100%;
        margin: 0 auto; 
        padding: 10px 0;
        display: block;
    }


    .row-item.content {
        width: calc(100%);
    }
    .row-item.sidebar {
        width: 220px; 
        margin-right: 20px;
    }

    .row-item.sidebar .title {
        color: #adadad;
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 20px;
    }

    .row-item.sidebar .title:nth-of-type(1) {
        margin-top: 0;
    }

    .top-menu {
        text-align: right;
        padding: 4px 0;
    }

    .row .row-item.ghj {
            flex: 0 1 calc(25% - 20px);
    }
    .row-item.ecs {
        margin-right: 20px;
    }

    .h1 {
        font-size: 24px; 
        line-height: 29px; 
    }

    .h2 {
        font-size: 18px; 
        line-height: 23px; 
    }

    .footer {
        display: flex;
        justify-content: space-between;
        text-align: center;
    }

    .footer-menu {

    }

    .footer-menu a {
        color: #84b5b3;
    }

    .footer-menu .h2 {
        margin-top: 10px; 
        margin-bottom: 10px; 
        color: #d4d4d4;
    }

    .editor {
        padding: 15px 0px 15px 15px;
    }

    .rwl-image {
        width: calc(100% - 300px); 
    }

    .owl-preview {
      height: 400px; 
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }


    .rwl-title {
        width: 300px;
    }

    .rwl-modal-opener .owl-preview {
      width: 96%;
      max-width: 992px;
    }

    .rwl-modal-opener .owl-preview i.icon.zl {
        width: 100px;
    }



    .editor-box {
        
    }


    .out-page {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .out-description, 
    .out-info {
        width: 250px;
    }

    .out-description .form-annotation {
        margin: 0 0 10px 0;
        font-size: 13px;
    }

    .out-description {
        padding-left: 15px;
    }
}
@media screen and (min-width: 1200px) {
    .grid-item {
        width: 12.5%;
    }

    .grid-item:nth-child(-n+16) {
        display: inline-block;
    }

    .editor .row {
        flex-wrap: nowrap;
    }
    .row-item.ecs {
        flex: 0 1 75%;
    }
    .row-item.ghj {
        flex: 0 1 25%;
    }

    .list_goods .cards .card:nth-of-type(4n+1),
    .list_goods .cards .card:nth-of-type(3n+1),
    .list_goods .cards .card {
        margin-left: 20px;
        max-width: calc(20% - 16px);
    }

    .cards.cards-one .card:nth-of-type(3n+1) {
        margin-left: 15px;
    }

    .cards.cards-one .card:nth-of-type(5n+1),
    .list_goods .cards .card:nth-of-type(5n+1) {
        margin-left: 0;
    }

    .cards.cards-one .card {
        max-width: calc(20% - 15px);
    }

    .cards.cards-one .card .thumbnail {
        height: 160px;
    }

    .profile .cards {
        padding: 20px 0 0 20px;
        display: flex; 
        flex-wrap: wrap;
        justify-content: flex-start;
    }



    .profile .cards .card {
        margin-right: 20px;
        width: calc(20% - 20px);
    }

    .ghj .title-menu {
        margin-top: -40px;
    }
}