@media only screen and (max-width: 991px) {
.project_btn {
    display: flex;
    flex-wrap: wrap;
}

.ex_cat_new {
    flex-wrap: wrap;
    gap: 10px; width: 100%;  margin-bottom: 30px !important;
}
}


@media only screen and (max-width: 767px) {
.box_publish .btn_books{margin-top: 20px;}
.slide_btn {
    height: 10px!important;
}

.add_con_new img {
    width: 24px!important;
}

.publish_text_box {
    height: 135px;
    max-height: 500px;
}

.mob_no{ display:none;}

.educator_box_img{margin-right: 20px!important;}

.contact_popup .right_sec_new .title1 {
    padding-right: 50px;
}

.assist_acc {
    padding-top: 32px!important;
    padding-bottom: 32px!important;
}

.contact_popup_close {
    top: 0px!important;
    right: 0px!important;
}

.contact_popup_close {
    padding-top: 20px!important;
    padding-right: 20px!important;
}


.calendar_filter {
    font-size: 16px;
}
.calendar_filter_check {
    margin-top: 40px;
    flex-direction: column;
    gap: 20px;
margin-bottom: 40px;
}

.calendar_filter_check.archive_filter{
    flex-direction: row !important;
}

.service_right {
    margin-top: 20px;
}

#bibliotece .ouroffer_black_new {
    margin-bottom: 0px;
}

#bibliotece .our_series {
    padding-bottom: 0px;
}


.lab_time {
    flex-direction: column;
    gap: 24px;
}

.readers ul li.one {
    margin-top: 0px!important;
}



.lab48 {
    height: 40px;
}

    .people .modal .carousel {
        position: relative;
        top: 0;
        transform: none !important;
    }

.call {
    flex-direction: column;
    gap: 28px;     margin-top: 24px;
}

.library_text1 {margin-top: 24px;}

.filter_bot_btn{ display:flex; flex-direction: column;}

H2{ font-size: 40px; font-weight: 700; line-height: 52px;}

H3{ font-size: 24px; font-weight: 700; line-height: 36px;}

H4{font-weight: 700; font-size: 20px; line-height: 28px;}

H5{font-weight: 700; font-size: 18px; line-height: 26px;}

    .visit_blk {
        background-color: #000000 !important;
        margin-top: 20px;
        padding: 20px;
    }

.visit_people_sec {
    background-image: none!important;
}
.mission_gap {
    padding-left: 12px;
    padding-right: 12px;
}
.rental_box1 {
    padding-left: 12px;
    margin-bottom: 40px;
}
.ouroffer1 {
    margin-bottom: 30px;
}

.team_row div:nth-child(2) {
    padding-left: 12px;
}

.team {
    margin-bottom: 30px;
}
.press_all div:nth-child(2) {
    padding-left: 12px;
}
.rental_bg_new div:nth-child(2) {
    padding-left: 0px;
}
.press_sec {
    margin-bottom: 30px;
}
#Praca .press{margin-top: 30px;}
.offer_box1{ padding:16px; /*min-height: auto!important;*/}
.ouroffer1 .offer_text {
    height: auto!important;
}

.ouroffer1 .offer_title {
    height: auto!important;
}
.about_top, .events_top {
    padding-top:30px;
    padding-bottom: 30px;
}
.right_center {
    justify-content: flex-start;
	margin-top:20px;
}

.week_box {
	padding-top: 32px;
	padding-right: 16px;
	padding-bottom: 32px;
	padding-left: 16px;
}

.banner_text {
    margin-bottom: 40px;
}

.page_menu {
        margin-bottom: 30px;
}

.publishing_series_box_title {
    font-size: 24px;
    line-height: 36px;
}

.conference_sec_bg {
    margin-bottom: 30px!important;
}

.box_publish {
    padding: 32px 16px 32px 16px;
}

.week_full div.pic_cat_bot {
    margin-bottom: 0!important;
}
/*.pic_cat_bot {
    flex-direction: column!important;
}*/
.people48 {
    height: 20px;
}
.pic_cat_wht{margin-bottom: 0!important;}
h3 {
    margin-bottom: 20px!important;
}
/*.publish_text_box {
    min-height: 125px!important;
}*/

.publishing_series_scroll {
    margin-bottom: 0px !important;
}

.exhibition_week ul li:first-child {
    margin-top: 0px;
}

.exhibition_week {
    padding-top:0px;
    padding-bottom: 0px;
}
.publishing_series_scroll .swiper-wrapper {
    padding-bottom: 0px !important;
}
.week_full div.publish_text_box {
    padding-left: 16px !important;
}
.accordion {
    margin-bottom: 30px;
}

.exib_list .exhibitions_box_text {
        gap: 0px;
    }
	
.exhibitions_box_text {
    padding: 16px;
	display: flex;
    gap: 16px;
    flex-direction: column;
}
.exhibitions_box_text .date {
    margin-top: 0px;
    margin-bottom:0px;
}

.free_sec {
    padding-top:0px;
    padding-bottom: 72px;
}
.accordion-body {
	padding-top: 0px!important;
	padding-right: 18px!important;
	padding-bottom: 18px!important;
	padding-left: 18px!important;
}

.accordion-header {
	margin-bottom: 0;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #C7C7C7;
	border-right-color: #C7C7C7;
	border-left-color: #C7C7C7;
	border-bottom-width: 1px;
	border-bottom-color: #FFFFFF;
}

.accordion-body{
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #ffffff;
	border-right-color: #C7C7C7;
	border-bottom-color: #C7C7C7;
	border-left-color: #C7C7C7; margin-top:-8px;
}

#mapTematyczne1 {
min-width: 100%!important;
    margin-left: 0px!important;
}

.offer_right {
    padding-left: 12px;
}

.ticket_box {
    margin-bottom: 30px;
}
.service_left {
    margin-bottom: 0px;
}
.event_type .offer_box1 {
    min-height: auto !important;
}
.ex_calendar .exhibitions_box {
    margin-bottom: 24px!important;
}

.events .event_box h3{ margin-bottom:0px!important;}
}


@media only screen and ( min-width:320px) and ( max-width:331px ) {
    .carousel-caption h1 {
        font-size: 30px!important;
    }
}

@media only screen and ( min-width:332px) and ( max-width:351px ) {
    .carousel-caption h1 {
        font-size: 32px!important;
    }
}

@media only screen and ( min-width:352px) and ( max-width:393px ) {
    .carousel-caption h1 {
        font-size: 34px!important;
    }
}


@media only screen and ( min-width:320px) and ( max-width:393px ) {
.carousel-inner {
	height: 600px;
}
}	

@media only screen and ( min-width:394px) and ( max-width:767px ) {
.carousel-inner {
	height:560px;
}
}

@media only screen and ( min-width:320px) and ( max-width:359px ) {
.carousel-indicators [data-bs-target] {
        width: 40px;
    }

.navbar-brand {
    padding-top: 16px;
    padding-bottom: 16px;
    margin-right: 0rem;
    width: 45%;
}
.our_books_bot_link {
    font-size: 14px;
}
	
.navbar-brand img {
    width: 100%;
}
.swiper-horizontal>.swiper-pagination-progressbar, .swiper-pagination-progressbar.swiper-pagination-horizontal, .swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite, .swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
    width: 60% !important;
}
.what_box_nav ul li a {
    font-size: 14px;
}

.add_con_new {
        word-break: break-all;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
.more h3 { font-size: 16px; line-height: 24px;}
.exhibition_week h3{ font-size: 16px; line-height: 24px;}

.more_white h3{ font-size: 16px; line-height: 24px;}

.exhibitions h3{ font-size: 16px; line-height: 24px;}	
	
}
@media only screen and ( min-width:320px) and ( max-width:400px ) {
.calendar_filter_check {
    flex-direction: column;
}
.calendar_filter .form-check {
    margin-bottom: 20px;
}
.contact_sec {
    padding-top: 20px;
    margin-left: 0px;
}

.contact_main {
    display: flex;
    flex-direction: column;
}
}

@media only screen and ( min-width:360px) and ( max-width:767px ) {
.carousel-indicators [data-bs-target] {
    width: 80px;
}

.swiper-horizontal>.swiper-pagination-progressbar, .swiper-pagination-progressbar.swiper-pagination-horizontal, .swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite, .swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
    width: 70% !important;
}

.publishing_series_scroll .swiper-horizontal>.swiper-pagination-progressbar, .publishing_series_scroll .swiper-pagination-progressbar.swiper-pagination-horizontal {
    width: 70% !important;
}

.publishing_house_new .week_full div:nth-child(2) {
        margin-bottom: 0PX;
    }

}
	
@media only screen and (max-width: 575px) {
H2 {
line-height: 50px!important;
}	
	
.newsletter {
    padding-bottom: 40px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #C7C7C7;
    margin-bottom: 40px;
}
.box_social1 {
    align-items: flex-start;
}
.box_social2 {
    padding-bottom: 40px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #C7C7C7;
    margin-bottom: 40px;
    width: 100%;
}
.bot_logo {
    margin-bottom: 24px;
}
.add_text {
    margin-bottom: 24px;
}
.bot_sec{
    padding-bottom: 10px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #C7C7C7;
    margin-bottom: 40px;
}
.bot_sec3{
    padding-bottom: 40px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #C7C7C7;
    margin-bottom: 40px;
}
.bot_sec1{
    padding-bottom: 20px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #C7C7C7;
    margin-bottom: 40px;
}
.bot_title {
    margin-bottom: 24px;
}
.bot_title1 {
    margin-bottom: 16px;
}
.bot_sec .add_text {margin-bottom: 48px!important; }

.bot_location {
    margin-bottom: 16px;
}

.bot_nav_new ul li{
 display:block;
}
.bot_nav_new ul li a{
	padding-top:12px;
	padding-bottom: 12px;
	
}
.all_bot_left {
    float: left;
    width: 100%;
}
.all_bot_right{ float:right; text-align:left; width: 100%;}
}

@media screen and (min-width: 768px) {
.gl_arrows{display:none;}
.filter_bot_btn{display:none;}
}


@media only screen and (max-width: 767px) {
.ex_calendar h2 {
    margin-bottom: 28px!important;
}

.btn_black {
    padding-top: 14px!important;
}
	
.gal_text {
    margin-bottom: 28px;
    margin-top: 20px;
}

.exhibitions_box2 .events_available {
margin-bottom: 0px; margin-top: 0px;}

.contact_main{ margin-top:15px;}

/*#stopside{ margin-top:-80px;}*/

.tickets_detail {
    margin-bottom: 20px!important;
	padding-bottom: 20px!important;
}

.tickets_left {
    margin-bottom: 0px;
}

.tickets_left_text {
margin-top: 24px;
}


.tickets_right {
    margin-bottom: 0px;
}

.accordion-body {
    padding-top: 20px;
}

.tickets_detail_all {
    flex-direction: column;
    align-items: flex-start; gap:20px;
}

.detail_container {
    margin-left: 10px!important;
    margin-right: 10px!important;
}


.img_publication {
    margin-top:0px; margin-bottom: 20px;
}

.readers h3 {
    margin-bottom: 20px!important;
}

.educator_box {
    padding-left: 0px!important;
    padding-right: 0px!important;
}

.carousel_without_indicators{
        height: 540px!important;
    }
	
.calendar_filter ul li:first-child {
    padding-left:0px;
}
	
.page_banner_text {
font-size: 18px;
font-weight: 500;
line-height: 26px;
}
.ouroffer h3 {
    margin-bottom: 20px;
}

.modal .gallery_heading_sub {
    margin-top: 20px !important;
}
.gal_right {display: none!important;}

.gal_left{ display: none!important;}

.carousel-item:before{ display: none!important;}

.cap_text {
    margin-bottom: 30px;
    margin-top: 20px;
}

.for_culture {
        padding-top: 216px;
}
	
.for_culture::before {
        height: 256px;
        max-height: 256px;
}
.children ul li {
    padding-bottom: 24px;
}
		
.tickets_right {
    min-width: 20%;
    text-align: left;
}
.no_sm{ display:none;}	
.kuratorzy_left {
    padding-left: 0px;
}	
.online div:last-child{margin-bottom: 0px;}	
	
	
.book_alert {
    height: 120px;
    overflow-y: scroll;
}
	
.book_alert_title {
    line-height: 15px!important;
}

.book_alert_text {
    line-height: 20px!important;
}

.home_carousel {
    padding-top: 200px;
}

.book_alert_title {
    margin-bottom: 10px;
}
	
.fixed-top_with_alert {
        top: 120px;
    }
/*.fixed-top_with_alert {
    top: 160px;
}*/
	
#sidebar {
    margin-left: 0px !important;         
	margin-top: -40px;
    margin-bottom: 80px;
}
.event_right_img {
    margin-left: 0px;
}	
.all_exhibitions1 ul li:first-child {
    padding-left: 0px!important;
    padding-right: 0px!important;
}
.all_exhibitions1 ul li{
    padding-left: 0px!important;
    padding-right: 0px!important;
}	
.exhibitions ul li:last-child{
margin-top:88px; padding-left:0px; padding-right:0px;
}

.exhibitions ul li:first-child{
margin-top:88px; padding-left:0px; padding-right:0px;
}	

.all_exhibitions ul li:first-child {
    margin-top: 0px;
    padding-left: 13px;
    padding-right: 12px;
}
	
.all_exhibitions ul li {
    padding-left: 13px;
    padding-right: 12px;
}	
.event_box {
    margin-left: 0px!important;
}	
.box_social1 {
    align-items: flex-start;
    margin-bottom: 30px;
}	
.right_sec {
    width: 100%;
}
.left_sec {
    padding-right: 20px;
}
.event_right_img_vector img{ width:100%;}
.event_right_img_vector {
   width: 100%;
}
.event_right_img {
    width: 100%;
}
.event_right_img_vector {
    left: 0px;
    top: 0px;
}

.entry_text1_img {
    top: 10px;
}
.event_page_right_text {
    font-size: 14px;
    line-height: 22px;
}
.btn_event {
    margin-top: 8px;
}
.page_menu {
    display: flex;
    flex-wrap: nowrap; overflow-x: auto; margin-top:0px;
}

.page_menu.desk_992.sticky{
margin-top:50px; left: 0!important;
}

.page_menu::-webkit-scrollbar {
  display: none;
}

.page_menu ul {
    display: inline-flex;
    flex-flow: row nowrap;
	flex-grow: 0;
    flex-shrink: 0;
}

.event_top{ display:flex; flex-direction: column-reverse; padding-top:40px; padding-bottom:0px;}
.event_page_top {
    padding-top: 24px;
    margin-bottom: 24px;
}

.event_all{ display:flex; flex-direction: column-reverse;}

.left_sec .entry {
    padding-top: 40px;
    padding-bottom:0px;
}
.entry_text {
    font-size: 16px!important;
    line-height: 24px!important;
}
.entry_text_lg {
    font-size: 18px!important;
    line-height: 26px!important;
}
.entry_img_text {
    font-size: 14px;
    line-height: 20px;
}
.allow_box {
    font-size: 16px;
    line-height: 24px;
}
.kuratorzy_title {
    font-size: 20px;
    margin-bottom: 28px;
}
.kuratorzy_text {
    font-size: 16px;
    line-height: 24px; margin-bottom: 0px;
}
.kuratorzy_main {
    margin-bottom: 32px;
}
.kuratorzy_main1 {
        margin-bottom: 0px;
    }
.material_left_img {
    margin-right: 16px;
}

 .material_left_text {
        margin-right: 16px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    }
	
.download_text {
display:none;
}
.material_right {
border:none;
    padding-left: 0px;
}
.material_left_text p {
    font-size: 12px;
}
.allow_box_sm img{ margin-top:2px;}
.accordion-button {
    font-size: 16px;
    line-height: 24px;
	padding-right: 40px;
}
.right_sec {
    width: auto!important;
}
.photo_headinng{ margin-bottom:24px;}
.photo_report {
    padding-left: 15px;
}
.photo_text {
    font-size: 20px;
    line-height: 28px;
    padding-top: 24px;
    padding-bottom:24px;
}
.animals_date {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 24px;
    margin-top: 24px;
}
.animals_title {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 32px;
}
.animals_text {
    font-size: 16px;
    line-height: 24px;
}
.all_exhibitions1 ul li {
    padding: 7.5px;
}
.all_exhibitions1 ul li:first-child {
    margin-top: 0px;
}
.all_exhibitions1 ul li:nth-child(2) {
    margin-top: 20px;
}
.visitors h3 {
    text-align: left;
    margin-bottom: 24px;
}
.visitors_text {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
}

.menu_img {
margin-bottom:20px; margin-right:16px;
}
.around_text {
    margin-top: 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.scrolltop {
    margin-top: -47px;
}
.bot_scroll{ padding-top:50px;}
.more_white h3.left-aligned::before {
	 flex: 1;
	 margin-right: 0;
}
.more_white h3.right-aligned::after {
    flex: 1;
}
.publishing_house {
    padding-top: 40px;
    padding-bottom: 40px;
}

.publishing_house .height48 {
    height: 24px;
}
.latest {
    padding-top: 40px;
    padding-bottom: 40px;
}
.our_series {
    padding-top: 40px;
    padding-bottom: 40px;
}
.our_series_btn {
display:none;
}

.our_series_scroll {
    margin-top: 0px;
}
.latest h3 {
    margin-bottom: 20px;
}

.our_books {
    padding-left: 16px;
}

.latest160 {
    height: 24px;
}
.latest48 {
    height: 24px;
}
.latest32 {
    height: 24px;
}
.filter_links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.show_all_filter {
    margin-top: 32PX;
}

.btn_filter {
    margin-bottom: 32px;
}
.filter_card .card-body{border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #C7C7C7; padding-top:32px;}
.top_height {
    height: 81px;
}

.filter_card .form-select{margin-bottom: 16px;}
.page_banner {
    padding-top: 40px;
    padding-bottom: 40px;
}

.page_banner h2 {
    margin-bottom: 24px;
}

.banner_bg::before {
  height: 256px;
  max-height: 256px;
}
.banner_bg{padding-top: 216px;}

.baza_filter {
    padding-top: 40px;
    padding-bottom: 32px;
}
/*.filter_btn{ margin-bottom:16px;}*/
.newsletter_box {
    flex-direction: column;
}
.newsletter_left {
    float: left; width:100%!important; 
}
.newsletter_right {
    float: left; width:100%!important;  
}
.newsletter_box {
    align-items: flex-start!important;
}
.bot_text_box {
    margin-bottom: 16px;
}
.btn_bot{width:100%;}
.w-100 {
    width: auto!important; 
}
.carousel-caption h1 {
    font-size: 36px;
    line-height: 44px;
	margin-bottom:32px!important;
}

.carousel-caption {
    padding-top: 200px;
}
.carousel-caption {
    top: 100px;
    transform: translateY(-0%);
}		

.cat_but {
        font-size: 16px;
        padding: 8px 10px;
}
.ban_bottom {
    margin-top:0px;
}
.ban_btns {
    bottom: 24px;
}
.carousel-control-prev {
    left: 15px;
}
.banner_btn {
    height: 48px;
    min-height: 48px;
    font-size: 16px;
    line-height: 24px; margin-bottom:0px;
}
.visit_box {
    flex-direction: column; padding-top:32px; padding-bottom:32px; padding-left:16px; padding-right:16px;
}
.visit_box h2 {
    font-size: 24px;
    line-height: 36px!important; margin-bottom:16px!important;
}
.visit_right {
    float: left;
    margin-left: 0px;
    display: inline-flex;
    flex-wrap: wrap; width: 100%; justify-content: space-between;
}
.ban_visit1{ margin-top:16px; width:100%!important; margin-bottom:16px; margin-right:0px!important;}
.visit_left {
    float: left;
    width: 100%;
}
.btn_visit{ text-align: center!important; flex-basis: auto; width: 100%; 
	padding-top: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    margin-right: 0px; margin-bottom:16px;}
.online {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
.exhibitions {
    padding-top: 40px;
    padding-bottom: 40px;
}
.exhibitions h2 {
    margin-bottom: 24px!important;
}
.ban_bottom .container {
    margin-bottom: 0px;
}
.exhibitions_box {
    padding-top: 0px;
    padding-bottom: 24px;
}
.exhibitions ul li:first-child {
    margin-top: 0px; padding-bottom:24px;
}
.exhibitions ul li {
padding-top:0px; padding-bottom:0px;
}
.exhibitions h3.left-aligned::before {
	 flex: 1;
	 margin-right: 0;
}
.exhibitions h3.right-aligned::after {
    flex: 1;
}
.more h3.left-aligned::before {
	 flex: 1;
	 margin-right: 0;
}
.more h3.right-aligned::after {
    flex: 1;
}
.events {
    padding-top: 30px;
    padding-bottom: 24px;
}
.group_sec {
    margin-bottom: 0px;
}
.event_text {
    font-size: 16px;  line-height: 27px; margin-bottom: 30px;
}


.txt-img-block{
	 height: 256px;
    max-height: 256px;
}

.event_back::before {
    height: 256px;
    max-height: 256px;

}

.educational_box {
    min-height: 120px;
}

.img_text_box {
    padding:16px;
}

.edition_back::before {
    height: 256px;
    max-height: 256px;

}
.edition_back {
padding-top: 216px;
}

.event_back {
    padding-top: 216px;
}
.event_box{ margin-bottom:0px;}

.all_exhibitions {
    padding-top: 20px; padding-bottom:40px;
}
.all_exhibitions ul li:nth-child(2) {
    margin-top:9px;
}
.all_exhibitions ul li:nth-child(3) {
    margin-top: 9px;
}
.cyclical_events {
    padding-top: 40px;
    padding-bottom: 40px;
}
.partnership {
    padding-top: 40px;
    padding-bottom: 40px;
}
.partner_text {
    font-size: 18px;
    line-height: 26px;
}
.partner_right_img {
        margin-top: 40px;
        margin-bottom: 40PX;
}

.partner_right_img {
    margin-top: 40px;
}

.discover {
    padding-top: 40px;
    padding-bottom: 40px;
}

.exhibitions_box_text .title {
    font-size: 20px!important;
    line-height: 28px!important;
}

.exhibitions_box{position: relative;}

.educational .row li:nth-child(3) {
    padding-left: 13px;
}

.ex_cat{ position: absolute; top: 0; right: 0;}

.discover_bg_mob h2 {
color:#FFFFFF!important; margin-bottom:25px; font-size: 24px;
line-height: 36px!important;
}

#offer .offer_box1 {
    min-height: 208px!important;
}

.discover_bg_text {
    font-size: 14px;
    line-height: 20px;
}
.discover_bg_mob{ padding:32px; background-color:#000000; background-image: none;}
.discover_bg{
	padding-top:456px;     
	background-image: url(../images/map_bg.png);
	background-repeat: no-repeat;
	background-position: center top; background-size:100% 602px;}

.ouroffer {
padding-top: 30px;
padding-bottom: 30px;
}
.news {
    padding-top: 40px;
    padding-bottom: 40px;
}

.photos {
    padding-top: 40px;
    padding-bottom: 40px;
}
.photos h2 {
    font-size: 24px;
    line-height: 36px; margin-bottom:24px;
}
.photos ul li.col-sm-12 {
        flex: 0 0 auto;
        width: 50%!important;
    }
.bookstore_black {
    padding-top: 32px;
    padding-bottom: 32px;
}
.bookstore_white {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 16px;
}

.bookstore_box {
    background: linear-gradient(to bottom, #000000 0%, #000000 50%, #ffffff 50%, #ffffff 100%);
}
.stay_updated {
    padding-top: 32px;
    padding-bottom: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.btn_stay{ margin-top:16px; width: 100%;}

.media_partners {
    padding-top: 40px;
    padding-bottom: 40px;
}

.media_title {
    font-size: 20px;
    line-height: 28px;
}
}

@media only screen and ( min-width: 768px) and ( max-width:991px ) {
    .contact_popup .right_sec_new .title1 {
        padding-right: 50px;
    }
	
.right_sec {
    width: 100%;
}
.left_sec {
    padding-right:15px;
}
.event_right_img_vector img{ width:100%;}
.event_right_img_vector {
    width: 292px;
}
.event_right_img {
    width: 242px;
}
.entry_text1_img {
    top: 10px;
}
.event_page_right_text {
    font-size: 14px;
    line-height: 22px;
}
.btn_event {
    margin-top: 8px;
}
.page_menu {
    display: flex;
    flex-wrap: nowrap; overflow-x: auto; margin-top: 20px;
}
.page_menu::-webkit-scrollbar {
  display: none;
}

.page_menu ul {
    display: inline-flex;
    flex-flow: row nowrap;
	flex-grow: 0;
    flex-shrink: 0;
}

.event_top{ display:flex; flex-direction: column-reverse; padding-top:40px; padding-bottom:0px;}
.event_page_top {
    padding-top: 24px;
    margin-bottom: 24px;
}

.event_all{ display:flex; flex-direction: column-reverse;}
.left_sec .entry {
    padding-top: 40px;
    padding-bottom:0px;
}
.entry_text {
    font-size: 16px;
    line-height: 24px;
}
.entry_text_lg {
    font-size: 18px;
    line-height: 26px;
}
.entry_img_text {
    font-size: 14px;
    line-height: 20px;
}
.allow_box {
    font-size: 16px;
    line-height: 24px;
}
.kuratorzy_title {
    font-size: 20px;
    margin-bottom: 28px;
}
.kuratorzy_text {
    font-size: 16px;
    line-height: 24px; margin-bottom: 0px;
}
.kuratorzy_main {
    margin-bottom: 32px;
}
.kuratorzy_main1 {
        margin-bottom: 0px;
    }
.material_left_img {
    margin-right: 16px;
}
.material_left_text {
    margin-right: 16px; font-size: 14px;
}
.download_text {
display:none;
}
.material_right {
border:none;
    padding-left: 0px;
}
.material_left_text p {
    font-size: 12px;
}
.allow_box_sm img{ margin-top:2px;}
.accordion-button {
    font-size: 16px;
    line-height: 24px;
	padding-right: 40px;
}
.right_sec {
    width: auto!important;
}
.photo_headinng{ margin-bottom:24px;}
.photo_report {
    padding-left: 15px;
}
.photo_text {
    font-size: 20px;
    line-height: 28px;
    padding-top: 24px;
    padding-bottom:24px;
}
.animals_date {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 24px;
    margin-top: 24px;
}
.animals_title {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 32px;
}
.animals_text {
    font-size: 16px;
    line-height: 24px;
}
.all_exhibitions1 ul li {
    padding: 7.5px;
}
.all_exhibitions1 ul li:first-child {
    margin-top: 0px;
}
.all_exhibitions1 ul li:nth-child(2) {
    margin-top: 20px;
}
.visitors h3 {
    text-align: left;
    margin-bottom: 24px;
}
.visitors_text {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
}

.bot_sec{
    padding-bottom: 10px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #C7C7C7;
    margin-bottom: 40px;
}
.bot_sec3{
    padding-bottom: 40px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #C7C7C7;
    margin-bottom: 40px;
}
.bot_sec1{
    padding-bottom: 20px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #C7C7C7;
    margin-bottom: 40px;
}

.bookstore_box {
    background: linear-gradient(to bottom, #000000 0%, #000000 50%, #ffffff 50%, #ffffff 100%);
}
.stay_updated {
    padding-top: 32px;
    padding-bottom: 32px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.btn_stay{ margin-top:16px; width: 100%;}
.calendar {
    width: 100%;
    display: block;
    text-align: center; margin-top: 35px;
}
.visit_right {
    float: left;
     margin-left: 0px;
}
.visit_box {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.visit_box h2 {
    margin-bottom: 35px;
}
.exhibitions {
    padding-top: 40px;
    padding-bottom: 40px;
}
.events {
    padding-top: 40px;
    padding-bottom: 40px;
}

.txt-img-block{
	height: 206px;
    max-height: 206px;
}
.event_back::before {
    height: 256px;
    max-height: 256px;

}

.edition_back::before {
    height: 256px;
    max-height: 256px;

}
.edition_back {
padding-top: 216px;
}

.event_back {
    padding-top: 216px;
}
.all_exhibitions {
    padding-top: 40px;
    padding-bottom: 40px;
}
.all_exhibitions {
    padding-top: 0px; padding-bottom:40px;
}
.all_exhibitions ul li:nth-child(2) {
    margin-top:9px;
}
.all_exhibitions ul li:nth-child(3) {
    margin-top: 9px;
}
.cyclical_events {
    padding-top: 40px;
    padding-bottom: 40px;
}
.event_box {
    margin-bottom: 20px;
}

.partnership {
    padding-top: 40px;
    padding-bottom: 40px;
}
.discover {
    padding-top: 40px;
    padding-bottom: 40px;
}

.ouroffer {
    padding-top: 40px;
    padding-bottom: 40px;
}
.news {
    padding-top: 40px;
    padding-bottom: 40px;
}

.photos {
    padding-top: 40px;
    padding-bottom: 40px;
}
}

@media only screen and ( min-width: 1200px) and ( max-width:1300px ) {
.right_sec {
    width: 100%;
}
}


@media only screen and ( min-width: 992px) and ( max-width:1199px ) {
.kuratorzy_left {
    padding-left: 7px;
}	
	.photo_headinng{ margin-bottom:32px;}
	
.right_sec {
    width: 100%;
}

.event_right_img_vector img{ width:100%;}
.event_right_img_vector {
    width: 292px;
}
.event_right_img {
    width: 242px;
}

.calendar {
    margin-top: 20px;
}

.visit_right {
    display: flex;
    flex-wrap: wrap;
}

.exhibitions {
    padding-top: 40px;
    padding-bottom: 40px;
}
.events {
    padding-top: 40px;
    padding-bottom: 40px;
}
.all_exhibitions {
    padding-top: 40px;
    padding-bottom: 40px;
}
.cyclical_events {
    padding-top: 40px;
    padding-bottom: 40px;
}
.partnership {
    padding-top: 40px;
    padding-bottom: 40px;
}
.discover {
    padding-top: 40px;
    padding-bottom: 40px;
}
.ouroffer {
    padding-top: 40px;
    padding-bottom: 40px;
}
.photos {
    padding-top: 40px;
    padding-bottom: 40px;
}
.news {
    padding-top: 40px;
    padding-bottom: 40px;
}
.photo_bt {
    margin-bottom: 30px;
}
.stay_updated {
    padding-top: 40px;
    padding-bottom: 40px;
	margin-top:40px; margin-bottom:40px;
}
}


@media only screen and (max-width: 1199px) {
 .navbar-nav {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        /*height: 370px !important; */max-height:550px!important;
    } 
.detail_container {
    margin-left: 1px!important;
    margin-right: 1px!important;
}

.detail_page_banner_publication {
    height: auto!important;
}

    #mega-menu-wrap-primary {
	width:100%!important;
    }
	
.dropdown-item_back {
    display: block;
    width: 100%;
    clear: both;
    color: #3C3C3B;
    text-align: inherit;
    text-decoration: none;
    white-space: normal;
    background-color: transparent;
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #C7C7C7;
	font-family: Rothek; font-size: 16px; font-weight: 700; line-height: 24px;
}

    .dropdown-item {
        padding-top: 24px!important;
    }

#mega-menu-primary h4 {
    margin-bottom: 16px;
    color: #000;
    font-family: Literata;
    font-size: 16px;
    font-weight: 400;
	padding-top: 40px!important;
}

li.mega-toggle-on ul li ul li ul li a.mega-menu-link{
padding-top: 18px !important;
        padding-bottom: 18px !important;}
	
.navbar-nav .dropdown-menu .container{
  padding-right: var(--bs-gutter-x, 0rem)!important;
  padding-left: var(--bs-gutter-x, 0rem)!important;
}

/*.navbar-nav .dropdown-menu .container .row{
    padding-right: calc(var(--bs-gutter-x)* 0)!important;
    padding-left: calc(var(--bs-gutter-x)* 0)!important;
	--bs-gutter-x: 0rem!important;
}	*/

.inner_page_header .nav-link.active::before{ display:none;}
.inner_page_header .nav-link.active {
    margin-top: 0px;
}

.filter_links a.nav-link{color: #fff;}

.filter_links .nav-link{color: #fff;}


footer {
    padding-top: 64px;
}

.container{
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
}

.navbar-expand-xl .navbar-nav_scroll {
        max-height: 700px;
        overflow-y: scroll;
}
	
.dropdown-item::after {
display:none;
}

.navbar-expand-xl .navbar-nav .dropdown-menu {
padding:0px; position: absolute; top: 72px; background-color:#FFFFFF;
}
.main_menu{font-family: Literata; font-size: 24px; font-weight: 600; margin-bottom:9px; margin-top:6px;}
.nav-item{position: unset;}

.navbar-expand-xl .navbar-nav .dropdown-menu .col{flex: 0 0 auto;
        width: 100%;}

.dropdown-menu .container .row {
    margin-right: auto !important;
    margin-left: auto!important;
}

.no_mob{ display:none;}
.top_black {
display:none;
}
.navbar-nav {
    padding-left: 16px; padding-right:16px; align-items: flex-start; position:relative;
}
.nav-link {color: #000;}
.dropdown-toggle::after {
    display: inline-block;
    content: "";
    background-image: url(../images/chevron-right.svg);
    background-repeat: no-repeat;
    background-position: right 3px;
    height: 20px;
    width: 20px;
}
.navbar-nav .nav-link {
    padding-top: 21px;
    padding-bottom: 17px; display: flex;
        justify-content: space-between;
}
.navbar-nav li{	border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #C7C7C7; width: 100%;}
	
.navbar-nav li:last-child{ border:0;}
.book {
    background: #000;
    color: #fff; margin-top:40px; margin-bottom:15px;
}
.book img{filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(227deg) brightness(1000%) contrast(1000%);}
.book:hover {
    background: #fff;
    color: #000;
}
.book:hover img{filter:none;}
.navbar-collapse {
    background-color: #FFFFFF;
	margin-top: -80px;
	z-index: 200;
}

.navbar-nav1 .nav-link::after {
    display: inline-block;
    content: "";
    background-image: url(../images/external_link_blk.svg);
    background-repeat: no-repeat;
    background-position: right 2px;
    height: 22px;
    width: 20px;
}
}

@media only screen and (min-width: 1200px) {
.no_desk{ display:none;}
}

@media only screen and (min-width: 991px) {
	.offcanvas-body {
    padding: 0!important;
}
.nav-tabs {
    margin-left: -24px;
}	
}	



@media only screen and (max-width: 767px) {
.mob_767{ display:none!important;}
}

@media only screen and (min-width: 768px) {
.desk_767{ display:none!important;}
}


@media only screen and (min-width: 992px) {
.desk_992{ display:none!important;}
}

@media only screen and (max-width: 991px) {
.mob_991{ display:none!important;}
}


@media only screen and (min-width: 1200px) {
    .no_desk{ display:none;}
    .detail_box1 .col-xl-8 {
            flex: 0 0 auto;
            width: 60%;
        }
    
    .detail_box1 .col-xl-4 {
            flex: 0 0 auto;
            width: 40%;
        }
    }
    
    @media only screen and (min-width: 992px) {
    .calendar_filter .offcanvas{ max-width: 100%;
        visibility: visible; background-color:#fff; position: static; transform: none!important; /*max-height: 100%; height: 500px; */}
        
    .offcanvas-header{display:none;}
    .calendar_filter .navbar-collapse1 {
            display: flex !important;
            flex-basis: auto;
            justify-content: flex-end; flex-direction: column;
        }
    .calendar_filter .navbar-toggler {
            display: none;
        }
    }
    
    @media only screen and (max-width: 991px) {
    .mob_991{ display:none;}
    .tab-content>.tab-pane {
        display: block;
        opacity: 1;
    }
    }
    
    @media only screen and (max-width: 991px) {
    }

@media only screen and ( min-width: 768px) and ( max-width:1199px ) {
.discover_bg_new_img {
    object-position: 80% 100%;
}
.discover_bg_new_text {
    top: 70px;
    width: 50%;
}
.discover_bg_new h2{font-family: Rothek; font-size: 30px; font-weight: 700;  line-height: 40px; margin-bottom:32px; color:#FFFFFF;}
}

@media only screen and (max-width: 1200px) {
  .mySwiper{  overflow: hidden!important; }
}

@media only screen and ( min-width: 1200px) and ( max-width:1399px ) {
body {
background-size: 1180px 100%;
}

.active_bg {
background-size: 1180px 100%;
}

.inner_page_header{
background-size: 1180px 100%;
}

.sticky {
background-size: 1180px 100%;
}
}

@media only screen and ( min-width: 992px) and ( max-width:1199px ) {
body {
background-size: 936px 100%;
}

.active_bg {
background-size: 936px 100%;
}

.inner_page_header{
background-size: 936px 100%;
}

.sticky {
background-size: 1180px 100%;
}
}

@media only screen and ( min-width: 768px) and ( max-width:991px ) {
.kuratorzy_left {
    padding-left: 0px;
}	
body {
background-size: 695px 100%;
}

.active_bg {
background-size: 695px 100%;
}

.inner_page_header{
background-size: 695px 100%;
}

.sticky {
background-size: 695px 100%;
}
}

@media only screen and ( min-width: 576px) and ( max-width:767px ) {
body {
background-size: 515px 100%;
}

.active_bg {
background-size: 515px 100%;
}

.inner_page_header{
background-size: 515px 100%;
}

.sticky {
background-size: 515px 100%;
}
}


@media only screen and ( min-width: 320px) and ( max-width:420px ) {
.img_shadow {
    -webkit-box-shadow: 10px 13px 20px 0px rgba(0, 0, 0, 0.49);
    -moz-box-shadow: 10px 13px 20px 0px rgba(0, 0, 0, 0.49);
    box-shadow: 10px 13px 20px 0px rgba(0, 0, 0, 0.49);
}
.photo_report_img img{ width:100%!important;}	
	
body {
background-size: 93.5% 100%;
background-image: url(../images/body_bg_mob1.png);	
}

.active_bg {
background-size: 93.5% 100%;
background-image: url(../images/body_bg_mob1.png);	
}

.inner_page_header{
background-size: 93.5% 100%;
background-image: url(../images/body_bg_mob1.png);	
}

.sticky {
background-size: 93.6% 100%;
background-image: url(../images/body_bg_mob1.png);	
}
}	

@media only screen and ( min-width: 421px) and ( max-width:575px ) {
body {
background-size: 94.5% 100%;
background-image: url(../images/body_bg_mob1.png);	
}

.active_bg {
background-size: 94.5% 100%;
background-image: url(../images/body_bg_mob1.png);	
}

.inner_page_header{
background-size: 94.5% 100%;
background-image: url(../images/body_bg_mob1.png);	
}

.sticky {
background-size: 94.5% 100%;
background-image: url(../images/body_bg_mob1.png);	
}
}	

@media only screen and (min-width: 991px) {
.offcanvas-body {
    overflow-y: hidden;
}
}
@media only screen and (min-width: 1400px) {
.photo_report_img img{
    max-width: 447px;
    max-height: 595px;
}
}
@media only screen and (max-width: 1199px) {
.opening_box {
    margin-left: 0px;
}

.img_access {
    margin-left: 0px;
}

.location_box {
    margin-left: 0px;
}

.left_5 {
    padding-left: 12px;
}

.photo_report_img {
    display: block!important;
}
}

@media only screen and (max-width: 450px) {	
.calendar_date_popup{width:100%;}
}

@media only screen and (max-width: 991px) {
.calendar_filter_label {
    font-size: 16px;
    line-height: 24px;
}

.calendar_filter_select {
    font-size: 16px;
    line-height: 24px;
}
#kiedy span, #dlaKogo-1 span, #Categories-1 span, button.calendar_filter_select span {
    font-size: 16px;
    line-height: 24px;
}
	
.calendar_filter_select::placeholder{
    font-size: 16px;
    line-height: 24px;	
	}	
.daterangepicker .drp-calendar.right {
   /*display: none!important;*/
    }
.daterangepicker .drp-calendar {
    width: 477px !important;
	max-width: 477px !important;
}
.daterangepicker .ranges ul {
    flex-wrap: wrap;
}

.daterangepicker .ranges ul li {
    margin-bottom: 16px;
}
}

@media only screen and ( min-width: 370px) and ( max-width:767px ) {
    .daterangepicker {
        width: 90.5%!important;
    }
    .daterangepicker .drp-calendar {
        width: 100%!important;
        max-width: auto!important;
    }	
.daterangepicker .drp-calendar.left {
    padding: 0px!important;
}

.daterangepicker .ranges ul {
    padding: 15px !important;
}
.daterangepicker {
    margin-top: 3px !important;
    margin-left: -1px;
}
}	

@media only screen and ( min-width: 768px) and ( max-width:991px ) {
.daterangepicker .ranges {
   /* margin-bottom: 140px !important;*/
}		
}

@media only screen and ( min-width: 320px) and ( max-width:395px ) {
.daterangepicker .ranges {
   /* margin-bottom: 220px !important;*/
}		
}


@media only screen and ( min-width: 396px) and ( max-width:591px ) {
.daterangepicker .ranges {
   /* margin-bottom: 160px !important;*/
}		
}

@media only screen and ( min-width: 320px) and ( max-width:369px ) {
    .daterangepicker {
        width: 92%!important;
    }
.daterangepicker .drp-calendar.left {
    padding: 0px 0 15px 15px !important;
}

.daterangepicker .ranges ul {
    padding: 15px !important;
}
    .daterangepicker .drp-calendar {
        width: 300px !important;
        max-width: 300px !important;
    }	
.daterangepicker .ranges {
        margin-bottom: 200px !important;
    }	
.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
    min-width: 30px !important;
    width: 30px !important;
}
.date_with_dot:after {
    left: 18px;
}	
}


@media only screen and (max-width: 767px) {	

.ouroffer .height48 {
height: 34px!important;}

.headquarters_box {
    margin-right: 0px;
	margin-top: -40px; padding-left: 24px!important;
}

.headquarters_box .btn_onas{padding-left: 12px!important;}

    .press_all {
        display: flex;
        flex-direction: column-reverse;
    }
	
.mission .row {
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.full-img {
        left: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        max-width: 100vw;
        position: relative;
        right: 50%;
        width: 100vw;
    }
	
.headquarters_text1{ margin-left:-12px!important;}
	
.contact_sec .add_con_new a {
    word-break: keep-all;
}

.mission_gap_right {
    margin-left: 0px;
    padding-right: 12px;
	        padding-left: 12px;
	
}

.mission_right {
  padding-left: 12px; margin-top:20px;
}

.ons_offer div:nth-child(3) {
    padding-left: 12px;
}

.week_full div:nth-child(2) {		
    margin-bottom: 20PX;
}

.plan_bg .text {
    font-size: 16px;
    line-height: 24px;
}

.plan_bg .title {
font-size: 24px;
line-height: 36px;
}

.discover_box {
    width: 100%;
}


/*.main_sec {
    display: block!important;
}*/


.gal_text, .location_text, .opening, .people_text,.latest_img_text1, .specialists_text, .upcoming_text2, .resources_text1, .rental_text, .project_box_text, .library_text, .library_text1, .headquarters_text1, .reader_text, .reader_text1, .mission_text,.team_text, .events_available {
    font-size: 16px!important;
    line-height: 24px!important;
}

.upcoming_title1, .exhibitions_box_text .title1,.headquarters_title {
    font-size: 24px;
    line-height: 36px;
}
.resources .offer_box1 {
    margin-left: 0px; margin-top:20px;
}
.img_text, .entry_text_lg,.research_top_text, .upcoming_text1, .people_text_wht {
    font-size: 18px!important;
    line-height: 26px!important;
}

.detail_page_text {
    font-size: 18px!important;
    line-height: 26px!important;
}

.stay_text, .entry_text {
    font-size: 16px!important;
    line-height: 24px!important;
}

.entry-content .wp-block-columns .wp-block-column p{    font-size: 16px!important;
    line-height: 24px!important;}

.detail_page_sec .entry-content p {
    font-size: 16px!important;
    line-height: 24px!important;
}

.detail_page_sec{    font-size: 16px!important;
    line-height: 24px!important;}

.modal .carousel {
    top: 10%!important;
    transform: translateY(-10%)!important;
}

.detail_page h3 {
font-size: 24px;
line-height: 32px !important;
}

.heading_page {
    display: inline-flex;
    flex-direction: column;
}

.btn_archive {
    margin-bottom: 20px;
margin-top: 0px;
}

.detail_box {
    padding: 10px;
}

.detail_page_sec {
    padding-left: 10px;
    padding-right: 10px;
}

.calendar_filter_select {
    height: 41px;
}
.inner-wrap {
  width: 100%!important; margin-left:-1px;
}

.offcanvas-top .checkboxes {
    width: 90.5%;
}

.daterangepicker .ranges ul li {
padding: 5px 10px !important; margin-right: 12px !important;
}

.box_publish{width: 100%!important;}

.online_text div:first-child{
display: flex; align-items: center;}

.online {
    padding-top: 32px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px; gap:16px;
}

.all_exhibitions h3 {
    margin-bottom: 30px;
    font-size: 36px;
}

    .slide_btn {
        margin-top: 0px!important;
    }

.discover_book_img img {
    transition: all 0.3s 
ease;
max-height: 100%;
max-width: 100%;
    width: 100%;
    height: auto;
}

.week_full .col-xxl-3, .week_full .col-xl-3, .week_full .col-lg-4 {
    padding-right: 11px!important;
}
#carouselExampleCaptions .carousel-item img {
    object-fit: cover;
    width: 100%;
    height:310px;
}
.carousel-item:before {content: ""; position: absolute; width: 100%; height:310px; background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.00) 35.23%), linear-gradient(180deg, rgba(0, 0, 0, 0.50) 17.74%, rgba(0, 0, 0, 0.00) 29.68%);}

.ban_top_btn {
    margin-bottom: 32px!important;
}
.bookstore_text h3 {
	width:100%!important;
    padding-bottom: 20px;
}
}




/*==================Audio====================*/
@media only screen and (max-width: 767px) {
    .download_text {
            display: none!important;
        }
    .music_next {
        margin-right: 20px!important;
    }
    }
    
    @media only screen and (max-width: 360px) {
    .material_left {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        padding: 16px;
    }
        .material_left_img {
        display:none;
        }
        
    }
    
    /*======================================*/
    /*==================Krystyna====================*/
    
    
/*==================Krystyna====================*/
@media only screen and (max-width: 767px) {
    .search_result_right{height: auto!important;}
    
    .main_search .modal-body {
        padding: 0rem;
    }
    form.new_search input[type=text] {
        width: 90%;
    }
    .search_event_box {
    padding: 16px 10px;
    }
    .search_cat_all {
        display: flex;
        flex-direction: column;
    }
    .date_search {
        margin-left: 0px;
        margin-top: 10px;
    }
    }
    
    @media only screen and (max-width: 991px) {
	    .page_menu ul {
        margin-left: 20px!important;
        margin-right: 20px!important;
    }
	
    .no_991{ display:none!important;}
    
    .archives_all .accordion-body{
        border-right-width: 1px;
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-right-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-right-color: #C7C7C7;
        border-bottom-color: #C7C7C7;
        border-left-color: #C7C7C7;
    }
    }
    
    /*==============================================*/
    /*==============================================*/

@media only screen and ( min-width: 992px) and ( max-width:1199px ) {
.activities_text {
    height: 220px;
}
}	

@media only screen and (max-width: 1700px) {
.discover_bg_new h2{ background-color:transparent!important;}
.discover_bg_text{ background-color:transparent!important;}	
}

@media only screen and ( min-width: 1400px) and ( max-width:1499px ) {
.left_img {
    margin-left: -50px;
}
}

@media only screen and (max-width:991px) {
    .left_img {
        margin-left: 0;
        margin-bottom: 30px;
    }
}

@media only screen and ( min-width: 992px) and ( max-width:1199px ) {
    .left_img {
        margin-left: -12px;
    }
}

@media only screen and ( min-width: 1200px) and ( max-width:1399px ) {
    .left_img {
        margin-left: 0px;
    }
        
    .mega-sub-menu .but_close {
        right: -27px !important;
    }
}

@media only screen and ( min-width: 1200px) and ( max-width:1399px ) {
.bookstore_text h3 {
    width: 80%!important;
    padding-bottom: 20px;
}
}


@media only screen and (max-width:767px) {

.discover_img img {
width:100%; height:auto;
}

.week_full .swiper-slide a {
    display: block!important;
    flex-basis: 100%!important;
}


.entry-content .wp-block-columns .wp-block-column p:first-child{
padding-top: 20px!important;
padding-bottom: 20px!important;
}
.share_sec {
    margin-bottom: 28px!important;
}
.not_for_mob{ display:none!important;}
.mob20{ height:20px!important;}
.mob0{ height:0px!important;}

/*.mck_gallery .gallery_img .container_img .image, #gallery .gallery_img .container_img .image {
    object-fit: contain !important; height:auto!important; 
}*/

.mck_gallery .gallery_img .container_img .image, #gallery .gallery_img .container_img .image {
object-fit: contain;
height: 300px !important;
}

.our_series_scroll .gallery_img{
    border:0px !important;
}

.gal_carouselExample .carousel-item img {
    object-fit: contain;
    width: 100%;
    height: 350px;
}

.modal .gal_carouselExample .carousel-item {
    height: 100%;
}

.gal_carouselExample .carousel-inner {
    height: 100%!important;
}

.img_caption {
    margin-bottom: 30px!important;
}

.modal.modal_gallery .but-close{
    margin-right: 0px !important;
}
  .clear_filter{
    display: none !important;
    width:0px;
    height: 0px;
    overflow: hidden;
}

.daterangepicker.show-ranges{
    width:100%;
    max-height: 400px;
    overflow-y: auto;
}

.calendar_filter_line{
    padding-bottom: 0px; 
     margin-bottom: 20px;
}

.event_box{
    gap: 6px!important; padding: 16px;
}

.partner_img_title {
    margin-bottom: 16px!important;
}

.edukacja_section .specialists_box {
    margin-top: 0px;
    margin-bottom: 30px;
}

.edukacja_section .specialists_left {
    padding-top: 20px;
    padding-bottom: 20px;
}

#badania .activities_sec {
    margin-bottom: 20px;
}

#Edukacja .education_sec{
    padding-top: 0px;
}

#Edukacja  .education_sec_text{
    margin-bottom: 30px;
}

#specjalistów .specialists{
    margin-bottom: 0px;
    padding-bottom: 50px;
}

.accordion-item .kontakt_right_title{
    line-height: 30px;
}

}

@media only screen and (min-width:768px) {
.not_for_desk{ display:none!important;}

}

@media only screen and (max-width: 991px) {
/*
   #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
        display: inline-block !important;
         position: relative;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-item.mega-toggle-on > ul.mega-sub-menu
    {
        display: block;
        position: absolute;
        top:0px;
        top: -45px;
    }*/

    .clear_filter{
    float: none;
}
}


@media only screen and (max-width: 547px) {
.selected_filter Div:first-child.selected1{     margin-bottom: 1rem !important;}
}

@media only screen and (max-width: 768px) {
#cvf_universal_container a{
    display: block;
}

 .calendar_filter{
        padding-bottom: 2px;
 }

.listing_page_template h2{
margin-bottom: 10px;
}

.project.listing_page_template {
    padding-top: 18px;
    padding-bottom: 18px;
}

}

@media only screen and (max-width: 447px) {
.page_banner_with_img {
    padding-top: 190px;
}
}

@media only screen and ( min-width: 1200px) and ( max-width:1599px ) {
.visit_box h2{
    font-size: 50px;
}
}

@media only screen and (max-width: 768px) {

    H2{ font-weight: 700; font-size: 40px; line-height: 52px; letter-spacing: 0%;}

    H3{ font-size: 24px; font-weight: 700; line-height: 36px;}

    H4{font-weight: 700; font-size: 20px; line-height: 28px;}

    H5{font-weight: 700; font-size: 18px; line-height: 26px;}

    h6{font-weight: 600; font-size: 14px; line-height: 24px;}

    .stay_updated h2{ font-size: 24px; line-height: 36px !important;}
}

@media only screen and (min-width: 1600px) {
    .full_screen_img .banner_img {
        object-fit: cover;
        width: 100%;
        height: 443px;
    }

     .top_big_img .banner_img {
        object-fit: cover;
        width: 100%;
        height: 400px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1599px) {
    .full_screen_img .banner_img {
        object-fit: cover;
        width: 100%;
        height: 380px;
    }

     .top_big_img .banner_img {
        object-fit: cover;
        width: 100%;
        height: 380px;
    }
}


@media only screen and (max-width: 1199px) {
    .full_screen_img .banner_img {
        object-fit: cover;
        width: 100%;
        height: 380px;
    }

     .top_big_img .banner_img {
        object-fit: cover;
        width: 100%;
        height: 380px;
    }

    .txt-img-block{
        min-height: max-content;
        position: relative !important;
    }
}

@media only screen and ( min-width:320px) and ( max-width:378px ) {
.week_full div:nth-child(2) {
        margin-bottom: 0px!important;
    }
	
.publish_text_box {
        min-height: 145px !important;
    }
}