* {
    margin: 0;
    padding: 0;
}
 
html {
    height: auto;
	max-width: 100%;
	margin: 0 auto;
	background-image: url('fon_.jpg'); 
	background-repeat: no-repeat; 
	background-position: center center;
	background-attachment: fixed;
	background-size: 100% auto;



	
}

@font-face { 
    font-family: Dited;
    src: url(Dited.ttf) format("truetype"); /* все современные браузеры */
}

marquee {font-family: Dited, Arial, sans-serif; }

@font-face { 
    font-family: IsotextProe;
    src: url(IsotextProe.ttf) format("truetype"); /* все современные браузеры */
}

#topline {font-family: IsotextProe, Arial, sans-serif;}

@font-face { 
    font-family: IsotextProe;
    src: url(IsotextProe.ttf) format("truetype"); /* все современные браузеры */
}

#botline {font-family: IsotextProe, Arial, sans-serif;}

#center {font-family: tahoma, sans-serif, arial}
 
body {

    height: auto;
    width: 100%;
	margin: 0 auto;
	margin-top: 90px;
	margin-bottom: 55px;
	font-family: calibri, tahoma, verdana, arial;
	text-align: center;
	color: light-gray;
	
}





#botline {
	width: 180px;
	margin: 0 auto;
	height: 55px;
	background: rgba(0,0,0, 0.0);
	color: white;
	position: fixed;
	margin-left: calc(50% - 90px);
	bottom: 0px;
	text-align: center;
	padding-top: 5px;
	border-left: 0px solid gray;
	border-top: 0px solid white;
	border-bottom: 0px solid gray;
	border-radius: 20px 20px 0px 0px;
	font-size: 12px;
	z-index: 990;
	font-size: 16px;

}


#rightline {
	width: 38px;
	height: auto;
	background: white;
	color: white;
	position: fixed;
	margin-left: calc(100% - 60px);
	margin-top: 200px;
	text-align: left;
	font-weight: 600;
	font-size: 24px;
	padding: 3px;
	border: 2px solid gray;
	border-radius: 20px 20px 20px 20px;
	font-size: 12px;
	z-index: 999;
	transform: rotate(0deg);

}


header {
	
	margin: 0 auto;
	background-image: url('header1.jpg'); 
	background-repeat: no-repeat; 
	background-position: right center;
	background-size: 100% auto;
	padding-top: 5px;
	padding-bottom: 10px;
	width: 100%;
	height: 400px;
	color: black;
	font-size: 70px;
	font-weight: 600;
	border-top: 0px solid white;
	border-radius: 0px 0px 0px 0px;
	text-align: left;


}

#center_h {
	height: auto;
    width: 70%;
    background: rgba(0,0,0, 0.0);
	margin: 0 auto;
	padding: 0px;
	display: block;
	border-left: 0px solid black;
	border-right: 0px solid black;
	border-radius: 0px;
	font-family: calibri, tahoma, verdana, arial;
	font-size: 50px;
	
		
}

#topline {
	width: 100%;
	height: 90px;
	margin-top: 00px;
	background: linear-gradient(to top, #EBECEC, rgb(0,60,120));
	color: white;
	position: fixed;
	left: 0%;
	font-weight: normal;
	font-size: 15px;
	top: 0px;
	text-align: center;
	border-left: 0px solid gray;
	border-top: 0px solid gray;
	border-bottom: 0px solid gray;
	border-radius: 0px 0px 0px 0px;
	font-weight: 300;
	z-index: 999;
	
}

#center {
	height: auto;
    width: 70%;
    background: rgba(0,0,0, 0.6);
	margin: 10px auto;
	padding: 0px;
	display: block;
	font-size: 16px;
	border-left: 0px solid black;
	border-right: 0px solid black;
	border-radius: 0px;
	font-family: calibri, tahoma, verdana, arial
	
		
}

main {
	height: auto;
    width: 100%;
    background: rgba(255,255,255, 0.9);
	margin: 0 auto;
	padding: 10px;
	display: block;
	font-size: 16px;
	border-left: 0px solid black;
	border-right: 0px solid black;
	border-radius: 0px;
	color: black;
	font-weight: 300;
	letter-spacing: 1px;
	font-size: 18px;
	text-align: left;
		
}

#center1 {
	height: auto;
    width: 70%;
    background: rgba(0,0,0, 0.6);
	margin: 0 auto;
	padding: 0px;
	display: block;
	font-size: 16px;
	border-left: 0px solid black;
	border-right: 0px solid black;
	border-radius: 0px;
		
}

#left {
	
	min-height: 300px;
	width: calc(50% - 30px);
	display: inline-block;
	float: left;
    background: rgba(255,255,255, 0.9);
	border-left: 0px solid rgb(0,60,120);
	padding: 10px;
	font-family: calibri, tahoma, verdana, arial
	
}

#right {
	
	min-height: 300px;
	width: calc(50% - 30px);
	display: inline-block;
	float: right;
	text-align: right;
	border-right: 0px solid #EC6403;
    background: rgba(255,255,255, 0.9);
	border-radius: 10px;
	padding: 10px;
	font-family: calibri, tahoma, verdana, arial;

	
}

#block2 {
	
	width: 300px;
	height: 300px;
	color: white;
	font-size: 12pt;
	font-weight: 300;
	background: rgb(0,50,100);
	text-align: left;
	padding: 10px;
	line-height: normal;
    display: inline-block;
    vertical-align: top;
	border-radius: 10px 10px 10px 10px;
	padding-top: 10px;
	border: 3px solid white;
	box-shadow: 2px 2px 5px black;
	
}

img[tabindex="0"] {  
  cursor: zoom-in;  
}  

img[tabindex="0"]:focus {  
  position: fixed; z-index: 10;  
  top: 0; left: 0; bottom: 0; right: 0;  
  width: auto; max-width: 100%;  
  height: auto; max-height: 100%;  
  margin: auto;  
  box-shadow: 0 0 50px #000, 0 0 0 1000px rgba(0,0,0,.3);  
-webkit-box-shadow: 0 0 50px #000, 0 0 0 1000px rgba(0,0,0,.3);  
-moz-box-shadow: 0 0 50px #000, 0 0 0 1000px rgba(0,0,0,.3);  
}  

img[tabindex="0"]:focus, /* Привязка на возврат фото в привычное состояние после клика на увеличенное */  
img[tabindex="0"]:focus ~ * {  
  cursor: zoom-out;  
  pointer-events: none;  
}

#nnavv li{

    /* ‚ыравнивание! */
    float: left;
    /* „елаю элементы блочными. */
    display: block;
    /* Ћтступ. */
    margin-right: 10;
    /* Џозиционирование относительно исходного места! */
    position: relative;
	border-left: 2px dotted gray;
}
#nnavv li a{
    /* –вет бэкграунда. */
    	background-color: rgba(50,50,50, 0.3)
    /* „елаю элементы блочными. */
    display: block;
    /* Ћтступы. */
    padding: 5;
    /* –вет ссылки. */
    color: rgb(0,124,195);
    /* ”орматирование текста*/
    text-decoration:none;
    /* ‡адаю скругленные углы на 2 пиксела*/
    -moz-border-radius: 2;
    -webkit-border-radius: 2;
    border-radius: 2;
    /* ’ень длЯ визуальной приподнЯтости текста*/
    text-shadow:1px 1px 1px rgba(0,0,0,0.0);
}
#nnavv li a:hover{
    /* Џодчеркну ссылку при наведении*/
    text-decoration: none;
    /* ‡адам фон. */
    background: rgb(0,124,195);
    /* –вет ссылки остаетсЯ прежним*/
    color: darkgray;
    background: rgba(108,13,53,0.5); /* ‡аставлЯю выглЯдеть полупрозрачным! */
}
/* ЌЂ‘’ђЂ€‚Ђ…Њ ‚›ЏЂ„Ђћ™€… ќ‹…Њ…Ќ’›!!! */
#nnavv ul{
	border-left: 0px dotted gray;
    /* “бираю маркеры у выпадающего списка*/
    list-style:none;
    left:-9999px; /* “бираю ненужно за пределы экрана (говорЯт, это на 95% лучше чем Зdisplay:none;И, т.к. дисплей нон некоторые программы игнорируют). */
    opacity:0; /* Џри помощи прозрачности, скрываем <ul>. */
    /* „елаем так, чтобы Webkit плавно показывал нам всплывающие элементы выпадающего списка при наведении мышки. */
    -webkit-transition: 0.24s linear opacity;
    position:absolute;
}
#nnavv ul li{
    /* ‡десь Я задаю отступ между элементами &lt;li&gt;. ќто необходимо длЯ разделениЯ пунктов меню, его не было в предыдущей части статьи (просто забыл)*/
    padding-top: 1px;
    float:none;
}
#nnavv ul a{
    /* „елаю элементы блочными. */
    display:block;
    /* ‡апрещаю перенос строк текста на новую строку, чтобы создавалсЯ многострочный выпадающий элемент списка. */
    white-space: nowrap;
}
#nnavv li:hover ul{ /* ‘оздаю выпадающий пункт, который поЯвитсЯ при наведении. */
    left:0; /* ‚озвращаю его обратно на экран пользователЯ, С когда нужно. */
    opacity:1; /* “бираю прозрачность*/
	border-left: none
}
#nnavv li:hover a{ /* ‚ этом стиле Я устанавливаю свойства длЯ элементов верхнего уровнЯ, С в то времЯ, когда показываетсЯ выпадающий список. */
    /* Џодчеркну*/
    text-decoration: underline;
    /* ‘делаю полупрозрачным. */
    background: rgba(255,255,255,0.8);

}
#nnavv li:hover ul a{ /* ЏоменЯл некоторые стили первого уровнЯ при поЯвлении выпадающего элемента. */
    /* “беру форматирование*/
    text-decoration:none;
    -webkit-transition:-webkit-transform 0.077s linear;
	
}
#nnavv li:hover ul li a:hover{ /* ‡десь Я задаю стили длЯ конкретных выпадающих пунктов, при наведении на них курсора С чтобы они отличались от тех элементов, куда курсор не попадает*/
    -moz-transform:scale(1.07);
    -webkit-transform:scale(1.07);
    /* ‡адам цвет фона выпадающего элемента*/
    background:#334;
    background:rgba(50,50,50,0.5); /* ‘делаю полупрозрачным. */
    text-decoration:underline;
	border-left: none;
}

.about__gallery {
  width: calc(100% - 20px);
  padding-top: 30px;
}
@media (max-width: 992px) {
  .about__gallery {
    width: 100%;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .about__gallery {
    flex-direction: column;
  }
}

.gallery {
  display: flex;
  margin-bottom: 22px;
}
@media (max-width: 992px) {
  .gallery {
    width: calc(50% - 12px);
  }
}
@media (max-width: 767px) {
  .gallery {
    width: 100%;
  }
}
.gallery:last-child {
  margin-bottom: 0;
}
.gallery--row {
  flex-direction: column;
}
.gallery--row .gallery-item {
  display: block;
  width: 100%;
  margin-bottom: 22px;
}
@media (max-width: 992px) {
  .gallery--row .gallery-item {
    margin-bottom: 0;
  }
}
.gallery--row .gallery-item:first-child {
  margin-bottom: 22px;
}
@media (max-width: 992px) {
  .gallery--row .gallery-item:first-child {
    margin-bottom: 16px;
  }
}
.gallery--row .gallery-item:first-child a img {
  height: 208px;
}
.gallery--row .gallery-item:last-child {
  display: flex;
  justify-content: space-between;
}
.gallery--row .gallery-item:last-child a {
  width: calc(50% - 11px);
}
.gallery--row .gallery-item:last-child a img {
  height: 116px;
}
.gallery--col {
  justify-content: space-between;
}
.gallery--col .gallery-item {
  width: calc(50% - 11px);
  height: 340px;
}
.gallery--col .gallery-item:first-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gallery--col .gallery-item:first-child a:first-child img {
  height: 203px;
}
.gallery--col .gallery-item:first-child a:nth-child(2) img {
  height: 116px;
}
.gallery--col .gallery-item:nth-child(2) a img {
  height: 340px;
}
.gallery--col .gallery-item:nth-child(2) a video {
  height: 340px;
}

main {
  padding-bottom: 100px;
}
@media (max-width: 767px) {
  main {
    padding-bottom: 50px;
  }
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.18);
}
.gallery-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.18);
}



/*стили куки*/

.cookie_notice {
    display: none;
    position: fixed;
    z-index: 9999999;
    bottom: 100px;
    left: 0;
    right: 0;
	width: 200px;
    text-align: center;
    font-size: 12px;
    font-family: Verdana, sans-serif;  
    color: #FFF;
    background: gray;
    padding: 10px 20px; 
    border-top: 4px solid #003C78;
}
/* Оформление кнопок */
.cookie_btn {
    display: inline-block;
    margin: 10px 6px 4px 6px;
    text-decoration: none;
    position: relative;
    font-size: 12px;
    padding: 4px 12px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase; 
    background: gray;
    border: 2px solid #003C78;
}
.cookie_btn:hover {
    color: #EC6403;
}
.cookie_btn:after,
.cookie_btn:before {
    position: absolute;
    height: 2px;
    left: 50%;
    background: #FFF;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}
.cookie_btn:before {
    top: -6px;
}
.cookie_btn:hover:after,
.cookie_btn:hover:before {
    width: 100%;
    left: 0;
}

/*конец куки*/



        @media screen and (min-width:1000px) and (max-width:1400px) {

#block2 {
	
	width: 40%;
	
	
}

		}


        @media screen and (min-width:359px) and (max-width:999px) {
			
			
	
html {
	background-image: url('fon_im_.jpg');
		background-position: center top;
		font-family: calibri, tahoma, verdana, arial;
	
}

#newsblock {
	
	width: 90%;
	text-align: left;
	margin: 0 auto;
	font-size: 12px;
	
}


             
body {
    height: auto;
    width: 100%;
	margin-top: 90px;
	font-family: calibri, tahoma, verdana, arial;
	text-align: center;
	padding: 0px;
	color: #001428;

	
}
					
#center {
	height: auto;
    width: 90%;
    background: rgba(0,0,0, 0.6);
	margin: 0 auto;	
	font-family: MazzardM-Light, calibri, tahoma, verdana, arial;

}

#center1 {
	height: auto;
    width: 98%;
    background: rgba(0,0,0, 0.6);
	margin: 0 auto;
	padding: 0px;
	display: block;
	font-size: 16px;
	border-left: 0px solid black;
	border-right: 0px solid black;
	border-radius: 0px;
		
}

header {
	
	margin: 0 auto;
	width: 100%;
	height: 200px;
	font-size: 24px;
	font-weight: 600;

	
	

	
}

#center_h {
	height: auto;
    width: 98%;
    background: rgba(0,0,0, 0.0);
	margin: 0 auto;	
	font-family: MazzardM-Light, calibri, tahoma, verdana, arial;
	font-size: 24px;

}

#topline {
	width: 100%;
	left: 0%;
	font-size: 12px;

		
					
        }
		
#left {
	
	min-height: 300px;
	width: 100%;
	display: inline-block;
	float: center;
	border-left: 0px solid rgb(0,60,120);
	
}

#right {
	
	min-height: 300px;
	width: 100%;
	display: inline-block;
	float: center;
	
}

main {
    width: calc(90% - 20px);
		
}

#block2 {
	
	min-width: 90%;
	
	
}
		
 