@media screen and (min-width: 800px) {
    .www-version{display: none;}
}
@media screen and (max-width: 1166px) {
    #header #secound #main-menu li a{
        line-height: 36px;
    }
    #popup div.popup_block div img{
        width: 80%;
        height: auto;
    }
    .prz-logo{
        display: none;
    }
    #header #first #menu-toggle{
        display: table;
    }
    #header #first .menu,
    #header #secound #main-menu{
        display: none;
    }
    #header #secound #main-menu .menu.first .nav-collapse .nav.nav-list{
        height: auto;
        width: calc(100% - 40px);
        float: left;
        margin: 0px;
        padding:0px;
    }
    #header #secound #main-menu.active li.folder{
        float: left;
        cursor: pointer;
    }
    #slider .controls a{
        left: 20px;
    }
    #header #first .menu{
        border-top: 1px solid #cdcdcd;
        top: 36px;
    }
    #slider .slide-content .text h3{
        bottom: 160px;
    }
    #slider .slide-content .text .slide-description{
        bottom: 110px;
    }
    #header #secound #menu2-toggle{
        display: table;
    }
    #header #first .menu ul li{
        width: 100%;
    }
    #header #secound #main-menu li a {
        width: calc(100% - 70px);
    }
    #main-menu.active .nav.nav-list li.folder {
        width: 95%;
    }
    #header #secound #main-menu li.folder ul li{
        width:100%;
    }
    #header #secound #main-menu li {
        height: auto;
        border-left: 0px !important;
        border-right: 0px !important;
    }
    #header #secound #main-menu li.folder:hover ul {
        display: none;
    }
    #header #secound #main-menu li.folder ul{
        position: relative;
        top:0px;
    }
    #main-menu.active ul.nav-list li{
        width: 95%;
    }
    #main-menu.active ul.nav-list li:first-of-type{
        border-top: 0px;
    }
    .folder .drop{
        display: table;
    }
    #header #secound #main-menu li:last-of-type {
        border-right: none;
        border-bottom: none;
    }

    #header #secound #main-menu li a {
        width: calc(100% - 30px);
    }
    #header #secound #main-menu li.folder ul{
        background: none;
    }
    #header #first .menu ul li a{
        border-left: 1px solid #cdcdcd;
        background: #d6d6d6;
    }
    #header #first .menu ul li a:hover{
        background: #ebebeb !important;
    }



}
@media screen and (max-width: 1166px){
    .slide img{
        width: 100% !important;
        height: auto;
    }

    .right-side .controls #slider-next a {
        margin-left: calc(100% - 80px);
    }
}
@media screen and (max-width: 720px){
    .slide-content {
        height: 50px;
    }
    .right-side .controls #slider-next a {
        background-size: 30px 30px;
        /*border-radius: 50%;*/
        height: 30px;
        margin-left: calc(100% - 30px);
        margin-top: -100px;
        width: 30px;
    }
    .right-side .controls #slider-prev a{
        background-size: 30px 30px;
        /*border-radius: 50%;*/
        height: 30px;
        margin-left: 0px;
        margin-top: -100px;
        width: 30px;
    }
    .slide-content{
        width: 100%;
        left: 0;
    }
}
@media screen and (max-width: 1166px){
    .science .right-side .controls #slider-next a {
        float: right;
        margin-right: 0px !important;
    }
}
@media screen and (min-width: 1166px){
    #main-menu .nav.nav-list li a{
        height: 36px;
    }
    #q-btn{display: none;}
}
@media screen and (max-width: 1024px) {
    #footer .newsletter .block-content input#newsletter-email {
        right: 80px;
        top: 60px;
        width: calc(50% - 80px);
        height: 33px;

    }
    #footer .socials-icons,
    #footer #shortcuts,
    #footer .contact-block,
    #footer #author-foot{
        margin-left: 0px;
    }
    #footer .newsletter .block-content input.submit{
        right: 20px;
        top: 59px;
        width: 10%;
    }


    #news .block-content .news-item{
        width:calc(100% - 20px);
    }
    #news .block-content .news-item img{
        width: 100%;
        height: 100%;
    }
    .left-side .banner{
        text-align: center;
    }
    body.homepage #news .news-item:nth-child(4),
    body.homepage #news .news-item:nth-child(3){
        display: none;
    }
    #blocks .bot-item h3{
        font-size: 1.5em;
    }

    #footer .socials-icons {
        width: 50%;
    }
    #footer .newsletter {
        width: 50%;
    }
    #footer .newsletter .headline,
    #footer .newsletter .block-content,
    #footer .contact-block,
    #footer .info-block{
        width: 100%;
    }
    #shortcuts .block-content{
        width: 50%;
        margin-bottom: 20px;
    }
    #shortcuts .block-content:nth-child(2n){
        clear: left;
    }
    #footer .info-block{
        margin-bottom: 25px;
        margin-top: -45px;
    }
    #footer .info-block .labels .structure{
        margin-right: 120px;
    }
    #footer .info-block .labels .biphref{
        margin-top: -10px;
    }
    #slider .slides .slide img{
        height: 320px;
    }
}
@media screen and (max-width: 1023px) {
    .homepage .news-item:nth-child(3n){
        margin-left: 0px;
    }
    .homepage .news-item:nth-child(3),
    .homepage .news-item:nth-child(4),
    .homepage .news-item:nth-child(5){
        display: none;
    }
    .news-item:nth-child(4),
    .news-item:nth-child(3){
        display: none;
    }
    .news-item:nth-child(2n-1),
    .news-item:nth-child(2n){
        margin-left: 0px;
    }
    .news-item{
        width:100% !important;
    }
    .news-item img{
        width: 100%;
        height: 100%;
    }
    .homepage .news-item a img {
        width: 100%;
    }
}
@media (max-width: 640px) {
    #header #secound #controls .contrast{
        width: 27px;
        height: 27px;
        padding-left: 0px;
        padding-right: 0px;
        overflow: hidden;
    }
    #module-news-content .news-item,
    #module-newscategory-content .news-item{padding-bottom: 0;}
    .news-item a img,
    .news-item .text,
    .news-item .date,
    .news-item .category-name{display:none;}
    .news-item a.photo{height: 50px;}
    #header #secound #controls .contrast h1{
        display: none;
    }
    .news-item h4, 
    .news-item h3{
        width: calc(100% - 80px);
        margin-top: -46px;
        display: flex;
        align-items: end;
        padding-left: 10px;
        min-height: 66px;
        float: none;
    }
    .for-margin .news-item:nth-child(3n - 1){
        margin-left: 0px;
    }
    #LoginForm #login.login-field,
    #LoginForm #password.password-field{
        max-width: none;
    }
    #header #first .panel{
        position: static;
    }
    #header #first .panel .search-form.active,
    #header #first.row .container .panel .block-useraccount.block-content.active,
    #header #first.row .container .panel .language-list.active{
        left: 0px;
        width: 100%;
    }
    .language-list li{
        float: left;
        width: 50%;
    }
    #header #first.row .container .panel .block-useraccount.block-content.active{
        width: calc(100% - 40px);
    }
    #module-event-content table.calendar th {
        background-color: #fbfbfb;
        color: #444;
        font-size: 0.7em;
        height: 1.2em;
        line-height: 1.4em;
        padding: 7px 1px;
        text-align: center;
    }
    #module-event-content table.calendar td {
        height: 3em;
        padding: 0 2px;
        text-align: center;
    }
    .events-cell{
        display: none;
    }
    #module-event-content .news-item{
        margin-top: 20px;
    }
    #module-event-content .news-item:nth-child(2n+1){
        margin-left: 0;
    }
    table.calendar td .day-number{
        text-align: center;
    }
}
@media (max-width: 700px) {
    .logo_normal{display: none;}
    .logo_mobile{display: block;}
    #header #secound #controls .sizer{
        margin: 0 3px;
    }
}
@media (max-width: 560px) {
    .right-side.scale div#module-news-content.module-content.clearfix div.news-item.clearfix.scale.news{
        width: 100%;
    }
    #footer .newsletter .block-content input.submit{
        right: 20px;
        top: 107px;
        width: 20%;
    }

    .logo_normal{display: none;}
    .logo_mobile{display: block;}

    #header #secound #main-menu.active{
        font-size: 0.8em;
    }
    #news .block-content #more{
        margin-left: 0px;
    }
    #content #news,
    #blocks .bot-item,
    #footer .socials-icons,
    #footer .newsletter,
    #shortcuts .block-content{
        width: 100%;
    }

    #baner,
    #content #units h3,
    #blocks .bot-item:nth-child(2){margin-left: 0px;}
    #footer .socials-icons{
        margin-bottom: 25px;
    }
    #both .block-content p:nth-child(1) {
        margin-left: 0;
    }
    #both .block-content p:nth-child(2) {
        margin-left: 0;
        margin-top: 0;
        max-width: 200px;
    }
    #content .container #units div:hover{
        background: none;
    }
    #footer .info-block .labels .biphref{
        margin-top: 30px;
    }

    #footer .info-block .labels .structure {
        bottom: 2px;
        display: block;
        left: 0px;
        position: absolute;
    }
    #news .block-content .news-item{
        margin-left: 0px;
    }
    #news .headline {
        padding-left: 0px;
    }
    #news .block-content .news-item{ width: 100%;}
    #gradesComments .grade .date{
        width:80px;
    }
    #gradesComments .grade .status{
        width:40px;
    }
    #gradesComments .grade .author{
        width: calc(100% - 140px);
    }
	#module-blog-content .news  .photos .photo,
	#module-description-content .news  .photos .photo,
	#module-news-content .news  .photos .photo,
	#module-newscategory-content .news  .photos .photo{
		float:left;
		width: calc(94% / 3);
		height: auto;
		min-height: 80px;
		margin-bottom: 20px;

	}
	#module-news-content .news  .photos .photo a, #module-newscategory-content .news  .photos .photo a {
		height: auto;
		line-height: 100%;
	}
	#module-blog-content .news  .photos .photo,
	#module-description-content .news  .photos .photo,
	#module-news-content .news  .photos .photo,
	#module-newscategory-content .news  .photos .photo img {
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}

@media (max-width: 360px){
    #admin-area{
        display: none !important;
    }
    #header #first #menu-toggle,
    #header #first .panel #search-ico {
        width: 49px;
    }
    .aktualnosci .news-item:nth-child(2n-1), .module-content .news-item, .block-content .news-item {
        margin-left: 0;
        width: 100% !important;
    }
}
@media (max-width: 320px){
    #news .block-content #more{
        width: 100% ;
    }


    #header #first .panel #search-ico{
        border-left: 0px !important;
    }

    #header #first .panel #lang-ico{
        width: 45px;
    }
    #header #first .panel #lang-ico:hover{
        width: 55px;
        padding-left: 20px;
    }

}
@media (max-width: 768px){
    #caruzel{
        width: 84%;
        margin-left: 8%;
    }
    #blocks2.banners .bot-item.section2 .block-poll.block-content .position .date,
    #blocks2.banners .bot-item.section2 .block-poll.block-content .position .posts{
        display: none;
    }
    #blocks2.banners .bot-item.section1,
    #blocks2.banners .bot-item.section2{
        width: 100%;
    }
    #blocks2.banners .bot-item.section2{
        margin-top: 20px;
    }
}
@media (max-width: 480px){
    #blocks2.banners .bot-item.section2 .block-content .position .posts,
    #blocks2.banners div.bot-item.section2 .block-content .position p,
    #blocks2.banners .bot-item.section2 .block-content .position p,
    #blocks2.banners .bot-item.section2 .block-content .position .date{
        width: 50px;
        min-width: 50px;
        max-width: 50px;
    }
    #info_c_box .container .row .span10 {
        text-align: justify;
        width: calc(100% - 40px);
        padding-top: 40px;
    }
    #blocks2.banners .bot-item.section2 .block-content .position .icon {
        width: 20px;
    }
    .scale .text{
        overflow-x:scroll;
    }
    #caruzel{
        width: 68%;
        margin-left: 16%;
    }
    #content #units{
        width: 100%;
    }

    #more.units-btn,
    #more.units-btn:hover{
        text-align: center;
        width: calc(100% - 4px);
    }
    #news .block-content #more,
    #news .block-content #more:hover{
        width: calc(100% - 24px);
    }
    #module-news-content .more{
        width: calc(100% - 55px);
    }

    #slider .slide-content .text {
        height: 215px;
        margin-left: -20px;
        margin-top: -220px;
        width: calc(100% + 20px);
        padding-top: 0;
    }
    #slider .slide-content .text h3 {
        bottom: 80px;
    }
    .bx-default-pager{
        left: -20px;
        width: calc(100% + 40px);
        background: black;
    }
    #slider .controls #slider-prev a{
        margin-left: -20px;
    }
    #slider .controls #slider-next a{
        margin-left: 380px;
    }
    #slider .slide-content .text .slide-description{
        display: none;
    }
    #content textarea,
    .container .right-side .contact form .field input,
    #module-newsletter-content .text input,
    #module-faq-content .text input,
    #module-faq-content .textarea textarea{
        width: 94%;
    }
    .container .right-side .contact form .field input:focus,
    .container .right-side .contact form .field textarea:focus{
        border: 2px solid #003c82 !important;
    }
    .faq-form{
        width: 100%;
    }
    .container .right-side .contact form .field label{
        padding: 0;
        margin: 0 10px 5px;
        width: 94%;
    }
}
@media (max-width: 320px){
    #slider .controls #slider-next a{
        margin-left: 220px !important;
    }
}
@media (max-width: 360px){
    #slider .controls #slider-next a{
        margin-left: 260px;
    }
    #responsive_recaptcha,
    #content textarea,
    .container .right-side .contact form .field input,
    #module-newsletter-content .text input,
    #module-faq-content .text input,
    #module-faq-content .textarea textarea{
        width: 91%;
    }
}
@media (max-width: 440px){
    #responsive_recaptcha .solution input,
    #content textarea,
    .container .right-side .contact form .field input,
    #module-newsletter-content .text input,
    #module-faq-content .text input,
    #module-faq-content .textarea textarea{
        width: 91%;
    }
    #responsive_recaptcha{
        width: 95%;
    }
}
@media (max-width: 440px){
    #module-newsletter-content .text input,
    #module-faq-content .text input,
    .container .right-side .contact form .field input[type="text"],
    .container .right-side .contact form .field textarea {
        width: 91% !important;
    }
}
@media (max-width: 480px){
    #module-newsletter-content .text input,
    #module-faq-content .text input,
    .container .right-side .contact form .field input[type="text"],
    .container .right-side .contact form .field textarea {
        width: 91% !important;
    }
    #responsive_recaptcha .options{
        margin-top: 0.5em;
    }
}
@media (max-width: 860px){
    .for-margin .news-item:nth-child(3n-1) {
        margin-left: 00px;
    }
    .container .left-side,
    .container .right-side{
        max-width: 100%;
        width: 100% !important;
    }
    .container .left-side .menu,
    .container .left-side .headline,
    .container div.left-side .block-content,
    .safari .container .left-side,
    .container .left-side .nav-list{
        width: 100%;
        max-width: 100%;
        float: left;
    }

}
@media (min-width: 1220px){
    #header #secound #main-menu{
        display: table !important;
        clear:right;
    }
}
@media (max-width: 1210px) {
    .container{
        position: relative;
        width: calc(100% - 40px);
        padding-left: 20px;
        padding-right: 20px;
        margin: auto;
    }
    .home{
        max-width: 100%;
        margin: auto;
    }
}
@media screen and (max-width: 800px) {
    h1.owner-label span{
        display:block;
    }
    div.hide-in-mobile{display:none;}
}

@media screen and (max-width: 1024px) {
    h1.owner-label{
        padding-right:20px;
    }
}




@media screen and (max-width: 740px) {
    #available-projects-top .text{
        overflow-x: visible;
        text-align: left;
    }
    #available-projects-top  .search-area{
        padding-top:0;
        margin-top:50px;
    }


    #available-projects-top .description-simple {
        font-size: 12px;
        /*height: 110px;
        left: 7px;
        overflow: hidden;
        position: absolute;
        top: 0;*/
        float:left;
        width: 234px;
    }

    #module-searchadvanced-content h4.project_title .expand_all{
        float:left;
    }

    #other-projects  .text{
        text-align: left;
    }
    #module-searchadvanced-content li.page_title h4{
        width:210px;
    }
}
@media screen and (max-width: 360px) {
    #owner-content .owner_image{
        float:left;
    }

    #owner-content .owner-data{
        border:none;
        float:left;
        width:100%;
    }

    h1.owner-label{
        display:none;
    }

    .owner-data  label{
        width:110px;
    }
    .owner_image{
        margin-top:10px;
    }
}
@media (max-width: 560px) {
    #main-menu.active .folder ul{padding: 5px;}
    #header #secound #main-menu li.folder ul li a{
        line-height: 20px;
    }
    #footer .newsletter .block-content input.submit {
        top: 95px;
    }
    #footer .newsletter .block-content input#newsletter-email {
        right: 70px;
        top: 95px;
        width: calc(100% - 90px);
    }
}
@media (max-width: 450px) {

    #footer #shortcuts {
        margin-top: 45px;
    }
}
@media screen and (min-width: 480px) {
    #responsive_recaptcha .solution {
        float: left;
        width: 62%;
        margin-top: 0.5em;
        padding: 1em 1%;
    }
    #responsive_recaptcha .solution input {
        margin: 0.35em auto;
        width: 90%;
    }
    #responsive_recaptcha .options {
        float: right;
        width: 34%;
        padding-left: 0.5em;
    }
}

@media screen and (max-width: 640px) {
    #map-canvas iframe{
        height: 220px;
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    #footer #author-foot .optilogo {
        float: none;
        text-align: right;
        width: 100%;
    }
    #footer #author-foot {
        height: 60px;
    }
}
@media screen and (max-width: 520px) {
    .slide-content .text .label {
        font-size: 1.0em;
    }
}
@media screen and (max-width: 360px) {
    #footer #author-foot .optilogo {
        float: none;
        text-align: right;
        width: 100%;
    }
    #footer #author-foot {
        height: 60px;
    }
    #blocks2.banners .bot-item.section2 .block-content .position .posts {
        width: 50px;
    }
    #blocks2.banners .bot-item.section2 .block-content .position p{
        min-width: 50px;
    }
    #blocks2.banners .bot-item.section2 .block-content .position .date{
        width: 96px;
    }
    #blocks2.banners .bot-item.section2 .block-content a .position{
        line-height: 22px;
        overflow: hidden;
        zoom: 1;
    }
    #blocks2.banners .bot-item.section2 .block-content .position img.icon {
        margin: 25px 10px 25px 8px;
        width: 20px;
    }
    #blocks2.banners .bot-item.section2 .block-content .position .title {
        width: calc(100% - 186px);
    }
    #blocks2.banners .bot-item.section2 .block-content .position .title p{
        text-align: left;
    }
}


@media (max-width: 580px) {
    .share-box{width: 100%;}
}
@media (max-width: 500px) {
    .logo_mobile{
        width: 100px;
    }
    #header #secound #logo {
        width: auto;
    }
}

@media (min-width: 861px) and (max-width: 1100px) {
    .container-mobile-full {
        clear: both;
        max-width: 320px;
        width: 100%;
    }
}
@media (max-width: 680px) {
    .container-mobile-full {
        clear: both;
        max-width: 320px;
        width: 100%;
    }
}