/* Media queries CSS */
@media screen and (max-width: 960px) {
    
    body, html { height: auto; }
    
    body { background: #fae6cd !important; }
    
    .center-wrap { width: 100%; }
    .inner-wrap { width: 94%; margin: 0 auto; position: relative; }
    
    .main-wrap { background: none; overflow: visible; min-height: inherit; }
    
    .header { height: 50px !important; position: fixed; left: 0; right: 0; top: 0; z-index: 7000; }
    
    .header .inner-wrap { height: inherit; }
    
    .header, .footer {
        background: #554c4a;
        background: -moz-linear-gradient(top,  #554c4a 0%, #38322e 100%);
        background: -webkit-linear-gradient(top,  #554c4a 0%,#38322e 100%);
        background: linear-gradient(to bottom,  #554c4a 0%,#38322e 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#554c4a', endColorstr='#38322e',GradientType=0 );    
    }
    
    .header-split { display: block; height: 50px; }
    
    .header-face, .header-text { display: none; }
    
    .header-logo { display: block; position: absolute; background: url(/images/adaptive/logo-40x.png) no-repeat 0 0; width: 164px; height: 40px; left: 0; top: 5px; text-decoration: none; outline: none; }
    
    .header-search { display: none; }
    
    .menu-toggle { position: absolute; display: block; width: 40px; height: 40px; right: 0; top: 5px; background: url(/images/adaptive/sandwich.png) no-repeat center center; background-size: contain; text-decoration: none; outline: none; }
    .menu-toggle.active { background-image: url(/images/adaptive/close-white.png); }
    
    .footer-split { display: none; }
    .footer { position: relative; height: auto; margin: 20px 0 0 0; padding: 10px 0; text-align: center; }
    .footer-center { width: 94%; margin: 0 auto 0 auto; }
    
    .footer .copyright { float: none; margin: 0 0 10px 0; }
    .footer .feedback { float: none; margin: 0 0 15px 0; }
    .footer .pantera { float: none; margin: 0 0 15px 0; }
    .footer .date-update { float: none; margin: 0; }
    
    .menu-top { position: fixed; top: 50px; left: 0; right: 0; display: none; height: auto; margin: 0; padding: 0; background: #eedec2; border-bottom: 1px solid #ccbda4; z-index: 5000; -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.2); box-shadow: 0 2px 5px 0 rgba(0,0,0,0.2); }
    .menu-top a { display: block; padding: 10px 15px; margin: 0; font-size: 16px; line-height: 22px; text-align: center; }
    
    body.menu-opened .menu-top { display: block; }
    
    .scroll-down .header { display: none; }
    
    .main-col-wrap { width: 94%; height: auto; margin: 0 auto; overflow: visible; padding-top: 20px; }
    
    .main-col1 { width: 100%; position: relative; margin: 0 0 20px 0; }
    .main-col1 .middle { height: auto; padding: 10px 20px 20px 20px; }
    .main-col1 .bottom {  }
    .main-col1 .middle img { margin: 0; }
    
    .main-col2 { width: 100%; height: auto; position: relative; margin: 0 auto; background: url(/images/adaptive/paper-bg.png) repeat 0 0; }
    .main-col2 .middle { padding: 20px 15px; }
    .main-col2-title { width: 100%; }
    .main-scroll-area { width: 100%; height: auto; overflow: visible; }
    .main-scroll-area p:last-child { margin-bottom: 0; }
    .main-scroll-area p:empty { display: none; }
    
    .block-books .book-list-item { margin: 0 !important; padding: 5px 0 !important; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
    
    .default-col { width: 94%; }
    .default-col .top, .default-col .bottom { display: none; }
    .default-col .middle { padding: 20px 15px; }
    
    .default-content { padding: 0 !important; }
    
    .article-body img { max-width: 100%; height: auto; }
    img.border { margin-bottom: 15px; }
    
    .col1 { width: 100%; float: none; }
    .col2 { width: 100%; float: none; }
    
    .publications-list { width: 100%; float: none; }
    
    .publication-item { overflow: visible; position: relative; }
    .publication-item .date { width: auto; position: absolute; left: 0; top: 5px; float: none !important; }
    .publication-item .title { width: 100% !important; padding-bottom: 0 !important; float: none !important; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
    .publication-item .title a { display: block; padding: 5px 15px 10px 0; }
    
    .publication-item.with-date .title { padding-left: 40px !important; }
    
    .menu-right { float: none; width: auto; border: 1px solid #ae956d; background: #f7e3c6; padding: 15px !important; margin-bottom: 30px; position: relative; }
    .menu-right .tl, .menu-right .tr, .menu-right .bl, .menu-right .br { display: none; }
    .menu-right .subitem a { line-height: 22px; }
    
    .publications-filter a { line-height: 30px; margin-right: 14px; }
    
    .pagination { height: auto; text-align: center; padding-bottom: 10px; }
    .pagination span.title { display: block; font-size: 16px; padding-bottom: 10px; }
    .pagination a { display: inline-block; font-size: 16px; line-height: 22px; }
    
    .news-menu .left, .news-menu .right { float: none; text-align: center; }
    .news-menu .right { padding-top: 10px; }
    
    .book-list-items .book-list-item { width: 100%; height: auto; float: none; margin: 0 0 15px 0; padding: 0 0 15px 0; background: url(/images/ln1.gif) repeat-x left bottom; }
    .book-list-items .book-list-item .icon {}
    .book-list-items .book-list-item .description { width: auto; height: auto; display: block; vertical-align: top; margin-left: 70px; }
    .book-list-items .book-list-item.last-child { background: none; margin-bottom: 0; padding-bottom: 0; }
    
    .books-view .book-info { margin-bottom: 0; }
    .books-view .book-info .icon { text-align: center; float: none; width: 100%; }
    .books-view .book-info .description { float: none; }
    
    .book-navigate { padding: 0; }
    .book-navigate .current { float: none; width: auto; height: auto; padding: 15px 0 0 0; margin: 0; border-left: 0; border-top: 1px solid #ae956d; text-align: center; }
    .book-navigate .current a { margin: 0; }
    .book-navigate .book-list-item { width: auto; height: auto; float: none; margin: 0 0 15px 0; }

    .block-right {
        right: 50px;
    }

}

@media screen and (max-width: 600px) {
    
    /*.book-list-item { width: 33.33333% !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }*/
    
}