@media only screen and (min-width:1171px) and (max-width:1360px) {
    #header-wrapper {height:53vh;}
}
@media only screen and (min-width:1025px) and (max-width:1170px) {
    
}
@media only screen and (min-width:768px) and (max-width:1024px) {
a:focus, input:focus, #search input[type="submit"]:focus { outline: solid 0px #C51919!important; }
.container { width:98%; margin: 0 auto; }
img, iframe { max-width:100%; height:auto; }
        .ue-info {
    position: relative;
    top: initial;
    right: initial;
    width: 200px;
    margin: 10px auto;
}
#menu {display: none;}
#top-wrapper.fixed { position: relative; height:auto;box-shadow: none;-webkit-box-shadow:none; }
#logo { float: none; width: 46%; margin: 25px auto 10px; }
#box-register { right: 50%;top: -40px;margin-right: -80px;}
.fixed .sb-search {position: absolute; top: -88px; right: 31px;}
.fixed #logo { width: 46%;margin: 25px auto 10px;}
.sb-search { position: absolute; top: -88px; right: 31px; width: 49px; height: 48px; }
.sb-icon-search, .sb-search-submit { width: 49px; height: 48px; text-align: center; line-height: 48px; font-size: 20px; }
.sb-search-input { height:50px; }
.rslides li { width:100%; }
.tabs a {width:33%; float: left;}
ul.columns {width:50%;}
#content {width:75%;}
#cat-news .post-img {width:23%; margin-right:2%;}
#cat-news .post-entry {width:75%;}
#sidebar {width:23%;}
#header-wrapper {height:45vh;}
#media-wrapper .media-box {width: 32%;float: left;margin-right: 2%;}
.post.apteka.set-3, .post.sklep.set-3, .post.szpital.set-3 {margin-right: 20px;}
.owl-buttons {display: none;}
}
@media only screen and (min-width:300px) and (max-width:767px) {
a:focus, input:focus, #search input[type="submit"]:focus { outline: solid 0px #C51919!important; }
.container { width:94%; margin: 0 auto; }
img, iframe { max-width:100%; height:auto; }
#menu {display: none;}
#content, #sidebar { width:100%; float: none; margin: 0 0 20px 0px; }
    #top-wrapper {background: #fff!important;}
    #top-wrapper.fixed { position: relative; height:auto;box-shadow: none;-webkit-box-shadow:none; }
#logo { float: none; width: 70%; margin: 25px auto 10px; }
#box-register { right: 50%;top: -40px;margin-right: -80px;}
    #box-name {
    position: relative;
    top: auto;
    right: 0;
    left: 0;
    text-align: center;
}
.fixed .sb-search {position: absolute; top: -88px; right: 31px;}
.fixed #logo { width: 70%;margin: 25px auto 10px;}
.sb-search { position: absolute; top: -88px; right: 26px; width: 49px; height: 48px; }
.sb-icon-search, .sb-search-submit { width: 49px; height: 48px; text-align: center; line-height: 48px; font-size: 20px; }
.sb-search-input { height:50px; }
.rslides li { width:260%; }
#gallery-1 .gallery-item { width:45%!important; min-height: 210px;height: 145px!important;margin: 0 5% 0 0;}
#gallery-1 .gallery-caption { width:100%;}
#gallery-1 br {clear: none!important;}
.gallery img {height: 145px;}
dt.gallery-icon.portrait,dt.gallery-icon.landscape { width: 100%; height: auto;}
#media-wydawnictwa .rslides li { width:100%; }
.tabs a { width: 100%; line-height: 44px; }
.page:after {content:""; display:block; clear: both;}
.post.lista a { width: 90%;margin: 0 auto 20px;float: none;}
.rslides_tabs { width:100%; left: auto; margin-left: 0; text-align: center;}
.rslides_tabs li a {width:40px;}
#cat-news .post-img { float: none; margin: 0 auto 20px auto; width:100%; }
#cat-news .post-img img, #media-wrapper .media-box img {width: 100%;}
#cat-news .post-lead {max-height: initial;margin-bottom: 10px;}
#cat-news .post-readmore {position: relative;bottom: initial;right: initial;display: inline-block;}
#cat-news .post h2 { padding-right:0px;}
#cat-news .post-entry {float: none; margin: 0 auto 20px auto; width:100%;}
#cat-news .post-date {position: relative; right: initial;top: initial;font-size: 12px;font-weight: 300;margin-bottom: 10px;}
#content .page .lista h2 { font-size:16px;}
.post.szpital { width: 90%;margin: 0 auto 20px;float: none;}
.post.apteka, .post.sklep, .post.szpital {height:auto;width: 100%;}
#tab1.tabcontent { padding:10px; }
#tab1.tabcontent .post-img { position: relative; left: initial; top: initial; width: 100%; height: auto; }
#tab1.tabcontent .post-img img {width:100%;}
#media-wrapper .media-box { width: 100%; float: none; margin: 0 auto 20px; padding: 0px; }
#media-wrapper .media-box:nth-of-type(3n+0), #footer .widget:last-of-type, .post.lista:nth-of-type(4n+0) a { margin-right:auto; }
ul.columns { width:100%; float: none; }
#newsletter, #socials-menu { float: none; width: 94%; margin: 0 auto 20px; }
#socials-menu {
    position: absolute;
    top: 0px;
    right: 80px;
    margin: 0;
    width: auto;
    height: 38px;
    width: 76px;
    text-align: center;
    background-color: #3a5999;
    padding-top: 8px;
}
#socials-menu ul { display: inline-block;}
#newsletter .wpcf7-text {width:70%;}
#newsletter .wpcf7-submit {width:20%;}
#sow-editor-3 {text-align: center;}
.post.apteka.set-3, .post.sklep.set-3, .post.szpital.set-3 {margin-right: auto;}
#footer .blockTitle { font-size:15px; }
#footer .widget ul li a { padding:5px 0px; }
#footer .widget, #footer #sow-editor-2.widget { float: none; width: 80%; text-align: center; margin: 0 auto 20px; }
#footer .widget ul { margin-left: 0px; }
#bottom h2, #made { line-height:normal; float: none; text-align: center; padding:10px 0px 20px; }
.owl-buttons {display: none;}
}
@media screen and (max-width:1170px) {
#main-menu ul.topnav li:not(:first-child) { display: none; }
div.icon { display: block; position: absolute; left: -12px; top: 0; }
#main-menu div.icon a { width:50px; height:50px; background-color:#C4122F; color:#fff; display:block; font-size: 20px!important; line-height:50px; text-align: center; }
#main-menu { float: left; }
#main-menu ul.topnav { background-color: #C4122F; margin-left: 30px; overflow: hidden; float: left!important; text-align: center; line-height: 50px; position: absolute;top: 0px;}
#main-menu ul.topnav li a { float: none; color:#fff;line-height:50px; }
#main-menu ul.topnav.responsive { position: absolute; z-index: 100; }
#main-menu ul.topnav li { display:block; }
#main-menu ul.topnav.responsive li.icon { position: absolute; right: 0; top: 0; }
#main-menu ul.topnav.responsive li { float: none; display: inline; }
#main-menu ul.topnav.responsive li a { display: block; text-align: left; color:#fff; }
}