/*
 * ------------------------------------------------------------------
 *  Responsive
 * ------------------------------------------------------------------
 * lg: 1200 -
 * md: - 1200
 * sm: - 992
 * xs: - 768
 * xxs: - 480
 */

/* response_status */
.response_status,
.response_status:after { 
    position: fixed; 
    display: none; 
    z-index: 10000; 
}

.response_status:after { 
    top: 60px; 
    left: 0px; 
    padding: 15px; 
    font-size: 24px; 
    color: #FFF; 
    background-color: orange;
}

/*
 * ------------------------------------------------------------------
 *  LG
 * ------------------------------------------------------------------
 */
@media screen and (min-width: 1200px) {
    
    /* response_status */
    .response_status:after { 
        content: "LG"; 
    }

    .container {
        max-width: 1060px;
    }

}

/*
 * ------------------------------------------------------------------
 *  MD
 * ------------------------------------------------------------------
 */
@media screen and (max-width: 1200px) {

    /* response_status */
    .response_status:after { 
        content: "MD"; 
    }
    
    /* header-books */
    .header-books-container figure img {
        margin-right: 20px;
    }
    .header-books-container figcaption {
        padding-top: 20px;
        font-size: 16px;
        line-height: 22px;
    }
    .header-books-container figcaption h2 {
        font-size: 28px;
        line-height: 34px;
    }
    
    /* cards */
    .card-item {
        max-width: 303px;
        min-height: 485px;
    }

}

/*
 * ------------------------------------------------------------------
 *  SM
 * ------------------------------------------------------------------
 */
@media screen and (max-width: 992px) {
    
    /* response_status */
    .response_status:after { 
        content: "SM"; 
    }
    
    /* header */
    .logo-wrapper, .header-links, .social-menu-wrapper {
        text-align: center;
    }
    .header-links {
        padding-top: 30px;
    }
    .header-links ul {
        margin-top: 10px;
    }
    .social-menu-wrapper ul {
        display: inline-block;
        float: none;
    }
    
    /* header-books */
    .header-books-container .book-item {
        margin-top: 15px;
    }
    .header-books-container .book-item:first-child {
        margin-top: 0px;
    }
    .header-books-container figcaption {
        padding-top: 0px;
        font-size: 15px;
        line-height: 21px;
    }
    .header-books-container figcaption h2 {
        font-size: 27px;
        line-height: 33px;
    }

    /* main-menu */
    .js #menu {
        display:none;
    }
    .js .slicknav_menu {
        display:block;
        background-color: #006699;
    }
    .main-menu-wrapper {
        display: none;
    }
    
    /* cards */
    .card-item {
        margin-top: 15px;
        max-width: 100%;
        min-height: auto;
        clear: both;
    }
    .card-item:first-child {
        margin-top: 0px;
    }
    .card-item.card-2, .card-item.card-5 {
        margin-right: 0px;
        margin-left: 0px;
        margin-top: 15px;
    }
    
    /* mainpage-news */
    .mainpage-news-wrapper {
        text-align: center;
    }
    .mainpage-news-wrapper h3 {
        margin-top: 15px;
        font-size: 20px;
        line-height: 26px;
    }
    .mainpage-news-wrapper aside {
        margin-bottom: 15px;
        font-size: 15px;
        line-height: 21px;
    }
    
    /* about-wrapper */
    .about-wrapper figure {
        margin-bottom: 15px;
        text-align: center;
    }
    
}

/*
 * ------------------------------------------------------------------
 *  XS
 * ------------------------------------------------------------------
 */
@media screen and (max-width: 768px) {
    
    /* response_status */
    .response_status:after { 
        content: "XS"; 
    }
    
    /* header-books */
    .header-books-container .book-item {
        min-height: 240px;
    }
    
    .article-wrapper,
    #contact_form {
        padding-right: 30px;
    }

}

/*
 * ------------------------------------------------------------------
 *  XXS
 * ------------------------------------------------------------------
 */
@media only screen and (max-width : 480px) {
    
    /* response_status */
    .response_status:after { 
        content: "XXS"; 
    }
    
    /* header-books */
    .header-books-container {
        margin-top: 15px;
        text-align: center;
    }
    .header-books-container figure img {
        float: none;
    }
    .header-books-container .book-item {
        margin-top: 30px;
    }
    .header-books-container .book-item:first-child {
        margin-top: 10px;
    }
    .header-books-container figcaption h2 {
        margin-top: 10px;
        font-size: 24px;
        line-height: 30px;
    }
    
}
