.top-background {
	background-image: url("../img/fonchik.jpg");
}

article#media_fotolist {
	position: relative;
    background: #132c58;
    width: 90%;
    padding: 0 5%;
    margin: 0 auto;
}

.swiper-wrapper .swiper-slide {
	align-items: center;
}


article h2 span {
	width: 100%;
	font-size: 25%;
}
main#media{
	width: 80%;
	margin: auto;
	display: block;
}
.sector{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: flex-start;
}
.sector{
	width: 100%;
	margin: 1vw 0%;
}
#media h2:first-child{
	width: 100%;
	height: 10vw;
	margin-top: 0%;
	margin-bottom: 0%;
	position: relative;
}
#media h2:first-child{
	font-size: 2.2vw;
	text-align: center;
	text-transform: uppercase;
}
#media h2:first-child{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
#media_sector{
	height: 15vw;
}
.sector article.media{
	width: 100%;
	margin-bottom: 0vw;
	overflow: hidden;
}
.sector article.media,
.sector article.media p,
.sector article.media ul,
.sector article.accreditation_order p,
.sector article.accreditation_order ul{
	
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-content: stretch;
	align-items: flex-start;
	overflow: hidden;
}
.sector article.media p {
	width: 50%;
	margin: 0%;
	padding: 0%;
	line-height: 1.2em;
	font-size: 1vw;
}
.sector article.media p span {
	width: 90%;
	margin-left: 1.5em;
	margin-bottom: 0.5vw;
	padding: 1%;
}
.sector article.media p i {
	width: 1.4em;
	height: 1.4em;
	margin-right: auto;
	margin-left: 0%;
	margin-bottom: -1.5em;
	padding: 0%;
	border: thin solid #0071B3;
	border-radius: 50%;
	background-color: #142C5A;
}
.sector article.media p i {
	color: #FFFFFF;
	text-align: center;
	font-size: 0.75em;
	font-style: normal;
}
.sector article.media p i {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.sector article.media ul {
	list-style: none;
	width: 50%;
	padding: 0%;
	margin: 0%;
}
.sector article.media ul li {
	width: 99%;
	margin-left: 1.75em;
	margin-bottom: 0.5vw;
	line-height: 1.2em;
	font-size: 0.9vw;
}
.sector article.media li i {
	width: 0.4em;
	height: 0.4em;
	border-radius: 50%;
	background-color: #0076B8;
	padding: 0%;
	display: inline-block;
}

/* =============== */

section#fotolist + main#media {
	max-width: 1500px;
}


/* block swiper start */

#media_fotolist .swiper-container {
	height: 700px;
	border-radius: 0;
	background-image: none;
	background-color:#132c58;

}
#media_fotolist .swiper-slide .figure {
	position: relative;
}
#media_fotolist .swiper-slide .figcaption {
	width: 100%;
    height: 100%;
	margin-top:0;
	display: flex;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
#media_fotolist .swiper-slide .figure {
	width:29%;
	height: auto;
	margin: 1%;
	padding: 0;
	height: 40%;
	position: relative;
	border: 1px solid #fff;
}
#media_fotolist .figure .figcaption h4 {
	margin: 0;
	width:100%;
	height: 100%;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	padding: 0;
	z-index: 2;
	font-size: 1em;
	/* opacity: 0; */
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
#media_fotolist .figure .figcaption h4 a {
	color:#fff;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	width:94%;
	height: 94%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3%;
	margin: auto;
}
#media_fotolist .figure:hover .figcaption h4 {
	opacity: 1;
}
#media_fotolist .swiper-wrapper .swiper-slide {
	padding-left: 25px;
}
.swiper-button-prev, .swiper-button-next,
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
	outline:0;
	max-width: 45px;
	max-height: 45px;
}
#media_fotolist .swiper-slide .figure .figcaption::before {
	content:'';
	background-color: transparent;
	position: absolute;
	display: inline-block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
/* #media_fotolist .swiper-slide .figure:hover .figcaption::before, */
#media_fotolist .swiper-slide .figure .figcaption::before
 {
	background-color: rgba(13,62,129,0.5);
}
/* block swiper end */


@media (max-width:1440px){
	
main#media{
	width: 85%;
	margin: auto;
	display: block;
}
#media_sector{
	height: 17.5vw;
}
	
}






@media (max-width:1280px){
	
	#media_sector{
		height: 29vw;
	}	
	main#media{
		width: 90%;
		margin: auto;
		display: block;
	}
	.sector article.media p {
		width: 50%;
		margin: 0%;
		padding: 0%;
		line-height: 1.2em;
		font-size: 1.125vw;
	}	
	.sector article.media ul li {
		width: 99%;
		margin-left: 1.75em;
		margin-bottom: 0.5vw;
		line-height: 1.2em;
		font-size: 1.125vw;
	}	
	section#sliderCenterMode {
		width: 80%;
		margin:5vw auto 0 auto;
	}
	.sliderCenterMode__img {
		height: 300px;
	}
	.sliderCenterMode .slick-slide:not(.slick-center) {
		padding: 40px 0;
	}
	.sliderCenterMode .slick-slide.slick-center .sliderCenterMode__img {
		height: 230px;
	}
	.sliderCenterMode .slick-center {
		padding-top: 60px;
	}
	.sliderCenterMode button.slick-next.slick-arrow, .sliderCenterMode button.slick-prev.slick-arrow {
		top: calc(50% - 25px);
		width: 50px;
    	height: 50px;
	}
	.sliderCenterMode button.slick-next.slick-arrow {
		right: -60px;
	}
	.sliderCenterMode button.slick-prev.slick-arrow {
		left: -60px;
	}
	.sliderCenterMode__title span {
		font-size: 1vw;
	}


	/* ---------swiper------- */
	#media_fotolist .swiper-container {
		height: 600px;
	}
	#media_fotolist .swiper-slide .figure {
		width: 28%;
	}
}


@media screen and (max-width:992px) {
	.advert td, .advert th {
		padding:1%;
	}
	#media_fotolist .swiper-container {
		height: 550px;
	}
}

@media screen and (max-width:850px) {
	#media_fotolist .swiper-slide .figure {
		width: 27%;
	}
	#media_fotolist .swiper-container {
		height: 480px;
	}
}
@media screen and (max-width:800px) { 
	#media_fotolist .swiper-button-next, 
	#media_fotolist .swiper-container-rtl .swiper-button-prev {
		right: 3%;
		bottom: 25%;
	}
	#media_fotolist .swiper-container-vertical > .swiper-pagination-bullets {
		right: 3%;
	}
	#media_fotolist .swiper-button-prev, 	
	#media_fotolist .swiper-container-rtl .swiper-button-next {
		right: 3%;
		top: 25%;
	}
	#media_fotolist .figure .figcaption h4 a {
		white-space: normal;
		font-size: 15px;
	}
}
@media screen and (max-width:767px) {
	.advert td, .advert th {
		padding:0.5%;
	}
	section#sliderCenterMode {
		width: 100%;
	}
	#media_fotolist .figure .figcaption h4 a {
		font-size: 14px;
	}
}

@media screen and (max-width: 700px) {
	#media_fotolist .swiper-container {
		height: 400px;
	}
	#media_fotolist .figure .figcaption h4 a {
		font-size: 12px;
	}
}

@media screen and (max-width: 600px) {
    
    .swiper-pagination {
        display: none;
    }
    
    article#media_fotolist {
        padding: 5px 5%;
    }
	.sliderCenterMode .slick-slide:not(.slick-center) .sliderCenterMode__slide {
		z-index: 0;
	}
	.sliderCenterMode__slide::before {
		content:none;
	}
	.sliderCenterMode__title span {
		font-size: 2vw;
	}
	#media_fotolist .swiper-container {
		/* height: auto; */
		height: 486px;
	}
	#media_fotolist .swiper-slide .figure {
	    margin: 5px;
    }
	#media_fotolist .swiper-wrapper .swiper-slide {
		padding-left: 0;
	}
	#media_fotolist .swiper-button-prev,
	#media_fotolist .swiper-button-next,
	#media_fotolist .swiper-container-vertical > .swiper-pagination-bullets {
		display: none;
	}
	
	/* new code */
	#media_fotolist .swiper-wrapper .swiper-slide {
		justify-content: center;
    display: block;
		text-align: center;
		height: auto !important;
	}

	#media_fotolist .swiper-slide .figure {
    width: 46%;
    height: 150px;
    display: inline-block;
    vertical-align: middle;
	}
	

	/* new code */
	
}

@media screen and (max-width:500px) {
    
   .swiper-pagination {
        display: none;
    }
    
    article#media_fotolist {
        width: 80%;
        padding: 5px 10%;
    }
    
    #media_fotolist .figure .figcaption h4 a {
        padding: 0;
        height: 100%;
    }

	#media_fotolist .swiper-slide .figure {
		width: calc(100% - 12px);
		margin: 5px 0;
	}
	
	#media_fotolist .swiper-container {
	    height: 972px;
	}
}

@media screen and (max-width:400px) {
    
    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
        display: none;
    }

	#media_fotolist .swiper-slide .figure {
	    width: calc(100% - 12px);
	}
}