h1,h2,h3,h4,h5,h6 {
    font-family: "Arial";
}

.container-xl {
    width: 85%;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;    /*??????????????*/
}

.back {
    padding: 25px 0;
    background-color: rgba(38, 38, 38, 0.5);
}

.back a {text-decoration: none;}

.back p {
    /*background-color: #ffffff;
    padding: 10px;
    */
    text-align: left;
    word-wrap: break-word;
    color: #ffffff;
}

.lang {
    float: right;
    display: flex;
    justify-content: space-between;
    width: 150px;
    margin-top: 7px;
}

.lang img {height: 25px;}

.container-xl span {margin-top: 3px;}

.flex-container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.flex-bet {
	width: 100%;
	margin: 0 auto; 
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.flex-st {
	width: 100%;
	margin: 0 auto; 
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.flex-cent {
	width: 100%;
	margin: 0 auto; 
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.flex-round {
	width: 100%;
	margin: 0 auto; 
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.flex-end {
	width: 100%;
	margin: 0 auto; 
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.half-life, .third-life {
    overflow: hidden;
    margin-bottom: 1.5em;
}

.half-life {
	width: 48%;
	position: relative;
	margin-bottom: 1.5em;
}

.third-life {
	width: 30.6666666667%;
	position: relative;
}

@media screen and (max-width: 767px) {
	.half-life, .third-life {width: 100% !important;}
	.six-life {width: 30.6666666667%;}
	.widget > img, .pop img, .photo img {width: 100%;}
}

.title-wrapper {
    /*background-image: url("/img/back/6.jpg");*/
    background-color: #f2ede5;
    padding: 35px 0 35px 0;
}

.title-wrapper h1,
.title-wrapper h2,
.title-wrapper h3,
.title-wrapper h4,
.title-wrapper h5,
.title-wrapper h6 
{
    margin-bottom: 0 !important;
}

/*----------Logo----------*/
@media all {
    #log-small {display: none;}
}

@media screen and (min-width: 100px) and (max-width: 600px) {    
    #log-small {
        display: block;
        text-align: center;
    }  
    #log-small img {height: 100px;}
    #log-small p {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    #log-big {display: none;}
}
/*------Publikacii--------*/
.magazine {
    width: 50%;
    height: 50%;
    
}
/*--------Novosti---------*/
.post p {
    text-indent: 1.5em;
    text-align: justify;
    width: 100%;
    margin-bottom: 0.5em !important;
}

.article p {
    text-align: justify;
}
 
@media all {
	.blog-wrapper {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;	
	}
	.article {
		display: block;
		/*padding: 25px;*/
	}
	.article-img {
		transition: transform 0.3s;
	}
	.article-img:hover {
		-ms-transform: scale(1.05); /* IE 9 */
		-webkit-transform: scale(1.05); /* Safari 3-8 */
		transform: scale(1.05); 
	}
	.article h4 {
		width: 415px;
		font-size: 1.7em;
	}
	.article p {
		width: 415px;
	}
	.post img {
		max-width: 725px;
	}
}

@media screen and (min-width:100px) and (max-width:1200px) {
	.blog-wrapper {
		display: block;
	}
	.article {
		display: block;
		width: 100%;
		padding: 25px;
	}
	.article h3 {
		max-width: 415px;
		width: 100%;
	}
	.article p {
		max-width: 415px;
		width: 100%;
	}
	.article-img {
		width: 100%;
	}
	.post p {
		max-width: 725px;
	}
	.post img {
		max-width: 350px;
		width: 100%;
	}
}
/*------------------------*/
/*Pagination*/
.pagination {
    display: flex;
	justify-content: center;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
	border-radius: 5px;
}

.pagination a.active {
    background-color: #33452d;
    color: white;
	border-radius: 5px;
}

.pagination a:hover:not(.active) {background-color: #ddd;}
/*end pagination*/
 /*=========G=A=L=L=E=R=Y=============*/
.back-dark {
	display: none;
	position: fixed;
	background-color: rgba(51, 51, 51, 0.7);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 555;
}

.side-select {
    border: 1px solid #744900;
    padding: 7px 7px 0;
}

.unselectable {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  line-height: 1.1 !important;
}

.close{
    position: absolute;
    top: 7px;
    right: 7px;
    width: 13px;
    height: 37px;
    padding: 10px 16px 0 16px;
    color: white;
    font-weight: bold;
    font-size: 38px;
    transition: 0.6s ease;
    border-radius: 3px;
}

.close:hover {
	background-color: rgba(0,0,0,0.8);
}

.gallery {
	overflow: hidden;
	width: 300px;
	height: 300px;
	border: 1px solid #744900;
	margin-bottom: 1.5em;
}
.gallery img {
	cursor: pointer;
	max-height: 300px;
	width: auto;
}

@media screen and (min-width: 1380px) and (max-width: 1655px) {
	.gallery {
		width: 250px; 
		height: 250px;
	}
	.gallery img {
		max-height: 250px;
	}
}

@media screen and (min-width: 1235px) and (max-width: 1379px) {
	.gallery {
		width: 200px; 
		height: 200px;
	}
	.gallery img {
		max-height: 200px;
	}
}

@media screen and (min-width: 100px) and (max-width: 850px) {
	.gallery {
		width: auto;
		height: auto;
	}
	.gallery img {
		min-height: 0;
		max-height: none;
		margin-bottom: -10px;
		width: 100%;
	}
}

.photo-slider {	
	width: 65%;
	position: fixed;
	top: 5%;
	left: 17.5%;
	margin: auto;
	z-index: 777;
}

.photo-slider img {
	/*border: 5px solid #cbb99d;
	border-radius: 10px;*/
}
.mySlides {
    display: none;
    padding: 7px 7px 2px 7px;
    background-color: #f2ede5;
}
    
/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Next & previous buttons */
.slide-prev, .slide-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.slide-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .slide-prev, .slide-next,.text {font-size: 11px}
}
/*===================================*/
/*--------------------------*/
#gallery {
  margin-bottom: 15px;
  display: flex;
  /* justify-content: flex-start; */
  flex-wrap: wrap;
  position: relative;
}
.gallery-img {cursor: pointer;}
.gallery-img img {}
/*--------------------------*/
#slideshow {
  display: none;
  position: fixed;
  background-color: rgba(0,0,0,0.75);
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 555;
}
#slideshow .navigator {
	z-index: 555;
	background-color: rgba(0,0,0,0.45);
	line-height: 0;
}
#slideshow svg {
  color: #fff;
  font-size: 3.5em;
  cursor: pointer;
  z-index: 555;
}
#slideshow svg:hover {color: aqua;}
#close {
	position: fixed;
	right: 10px;
	top: 10px;
	font-size: 0.77em;
	padding: 5px;
}
#prev {
  position: fixed;
  transform: translateY(-50%);
  top: 50%;
  left: 10px;
}
#next {
  position: fixed;
  transform: translateY(-50%);
  top: 50%;
  right: 10px;
}
#slideshow img {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* margin: 0 10%; */
  position: absolute;
  max-width: unset;
  height: unset;
  width: unset;
}
/*--------------------------*/
/*--------------------------*/
.youtube-wrapper {
	/* width: 1000px; */
	width: 100%;
	margin: 0 auto;
	margin-bottom: 20px;
}
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*--------------------------*/