@media (max-width: 1293px) { 
    #slider .slider-controls a.next { right: 5px; }
    #slider .slider-controls a.prev { left: 5px; } 
}
@media (min-width: 1239px) { 
    #up-block { padding-right: 60px; }
    section#mini-gallery .gallery-info { min-height: 235px; }
    section#mini-gallery .gallery-thumbs ul li img { width: 100%; height: auto; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.arrow { top: 54%; } 
}
@media (min-width: 1050px) {
    button.nav-opener { display: none; }
    nav#main-nav .main-nav-list { display: block !important; }
}
@media (min-width: 1050px) and (max-width: 1239px) { 
    #logo { width: 20%; }
    #up-block { white-space: normal; width: 73px; padding-right: 25px; }
    #up-block span.link-text { white-space: nowrap; position: absolute; top: 100%; right: 0; padding: 0 10px; height: 50px; background-color: #272525; line-height: 50px; display: none; }
    section#mini-gallery .gallery-info { min-height: 238px; }
    #slider .gal-thumb img { margin-left: -10%; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.pager a{ line-height: 44px; }
    section#mini-gallery .gallery-thumbs ul li img{ height: 119px; }
    #slider .gal-thumb.gal-thumb-big img { margin-left: -15%; }
}
@media (min-width: 778px) and (max-width: 1049px) { 
    #up-block { padding-right: 60px; }
    section#mini-gallery .gallery-info { min-height: 238px; width: 32.77311%; }
    section#mini-gallery ul.rating-module li:before { font-size: 20px; font-size: 1.25rem; }
    section#mini-gallery .gallery-thumbs { width: 67.22689%; }
    section#mini-gallery .gallery-thumbs ul li { width: 20%; }
    #slider .gal-thumb img { margin-left: -20%; }
    #slider .gal-thumb.gal-thumb-big img { margin-left: -25%; } 
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.pager a{ line-height: 44px; }
    section#mini-gallery .gallery-thumbs ul li img{ height: 119px; }
}
@media (max-width: 1049px) { 
    nav#main-nav ul.main-nav-list { display: none; position: absolute; top: 100%; left: 0; background-color: #272525; border: none; }
    nav#main-nav ul.main-nav-list li { display: block; float: none; line-height: 30px; }
    nav#main-nav ul.main-nav-list a { padding-right: 25px; white-space: nowrap; }
    footer { text-align: center; }
    ul.social-list { float: none; margin-top: 10px; text-align: center; }
    ul.social-list li { float: none; display: inline-block; }
    .owl-controls .owl-nav div.owl-prev { left: 10px; }
    .owl-controls .owl-nav div.owl-next { right: 10px; }
}  
@media (max-width: 777px) {
    #search-form input[type="text"]{ width: 100%; }  
    #search-form button{ margin-top: 5px; }
    #logo { width: 182px; }
    #up-block { white-space: normal; width: 73px; padding-right: 25px; }
    #up-block span.link-text { white-space: nowrap; position: absolute; top: 100%; right: 0; padding: 0 10px; height: 50px; background-color: #272525; line-height: 50px; display: none; }
    ul.main-list { clear: none; }
    ul.main-list > li { float: left; width: 50%; position: relative; }
    ul.main-list > li:first-child:before { display: none; }
    ul.main-list > li:last-child:before { display: none; }
    section#mini-gallery .gallery-info { height: auto; width: 100%; }
    section#mini-gallery .gallery-thumbs { width: 100%; }
    section#mini-gallery .gallery-thumbs ul li { width: 20%; }
    section#mini-gallery .gallery-thumbs ul li img { width: 100%; height: auto; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery a { display: table; width: 100%; height: auto; vertical-align: middle; position: relative; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.info { display: none; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.arrow { display: table-cell; vertical-align: middle; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.arrow:before { top: 50%; right: 50%; position: static; font-size: 40px; font-size: 2.5rem; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.arrow:after { display: none; }
    .gal-thumb .main-thumb { left: -45%; }
    .slider-controls a.next { right: -45px; }
    .slider-controls a.next:before { display: block; content: "\f105"; font-family: "FontAwesome"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
    .slider-controls a.prev { left: -45px; }
    .slider-controls a.prev:before { display: block; content: "\f104"; font-family: "FontAwesome"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
    .slider-controls a:before { font-size: 30px; font-size: 1.875rem; }
    .slider-controls a:hover { color: white; }
    form label { display: block; width: 100%; }
    form input[type="text"], form input[type="email"], form select, form textarea { width: 100%; display: block; }
    form .thumbs-grid .thumbs { width: 100%; }
    form .description { width: 100%; margin-left: 0; } 
    #ajax-login-signup { width: auto; } 
}
@media (max-width: 480px) {
    [class*="col-xs-"] { *zoom: 1; clear: both; }
    [class*="col-xs-"]:before, [class*="col-xs-"]:after { display: block; clear: both; content: " "; }
    header#top-stripe .top-bg { height: 98px; line-height: 98px; }
    #logo { *zoom: 1; clear: both; width: 100%; padding: 0 0px; height: 38px; line-height: 38px; }
    #logo:before, #logo:after { display: block; clear: both; content: " "; }
    #search-module { line-height: 60px; }
    #up-block { line-height: 60px; }
    ul.main-list { clear: none; text-align: center; }
    ul.main-list > li { width: 50%; position: relative; text-align: left; }
    section#mini-gallery .gallery-info { height: auto; width: 100%; }
    section#mini-gallery .gallery-thumbs ul li { width: 50%; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.arrow { margin-top: -28px; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.arrow:before { top: 50%; right: 50%; position: static; font-size: 40px; font-size: 2.5rem; }
    section#mini-gallery .gallery-thumbs ul li.go-gallery span.arrow:after { display: none; } 
    #slider .gal-thumb { height: auto; width: 100%; float: left; }
    #slider .gal-thumb img { height: auto; }
    #slider .gal-thumb a,
    #slider .gal-thumb .main-thumb { position: relative; left: 0; }
    #slider .gal-thumb.gal-thumb-big { display: block; width: 100%; }
    #slider .gal-thumb.gal-thumb-big img { width: auto; height: auto; }
    #search-form{ left: -142px; right: auto; }
    ul.pagination li{ display: none; }
    ul.pagination li.next, ul.pagination li.prev{ display: inline-block; }
    ul.pagination li.next{ float: right; }
    ul.pagination li.prev{ float: left; }
    ul.pagination li.next.last, ul.pagination li.prev.first{ display: none; }
    .rating .stars-on{ left: 0; }
}
@media (max-width: 479px) {
    ul.main-list > li { float: none; display: inline-block; width: 90%; }
    ul.main-list > li:first-child:before { display: none; }
    ul.main-list > li:last-child:before { display: none; }
}