
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: lightgrey;
  min-width: 200px;
  z-index: 1;
}

.dropdown-content a {

  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: white;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: grey;}



#slider1 { /*положение слайдера*/
  position: relative;
text-align: center;
  top: 10px;
}

#slider1{ /*центровка слайдера*/
margin: 0 auto;
}

#slides1 article{ /*все изображения справа друг от доруга*/
width: 20%;
float: left;
}

#slides1 .image{ /*устанавливает общий размер блока с изображениями*/
width: 500%;
line-height: 0;
}

#overflow{ /*сркывает все, что находится за пределами этого блока*/
width: 100%;
overflow: hidden;
}

article img{ /*размер изображений слайдера*/
width: 100%;
}

#desktop:checked ~ #slider{ /*размер всего слайдера*/
max-width: 960px; /*максимальнная длинна*/
}

/*настройка переключения и положения для левой стрелки*/
/*если свич1-5 активны, то идет обращение к лейблу из блока с id контролс*/
#switch11:checked ~ #controls label:nth-child(5), 
#switch21:checked ~ #controls label:nth-child(1),
#switch31:checked ~ #controls label:nth-child(2),
#switch41:checked ~ #controls label:nth-child(3),
#switch51:checked ~ #controls label:nth-child(4){
background: url('prev.png') no-repeat; /*заливка фона картинкой без повторений*/
float: left;
margin: 0 0 0 -84px; /*сдвиг влево*/
display: block;
height: 68px;
width: 68px;
}

/*настройка переключения и положения для правой стрелки*/
#switch11:checked ~ #controls label:nth-child(2), 
#switch21:checked ~ #controls label:nth-child(3),
#switch31:checked ~ #controls label:nth-child(4),
#switch41:checked ~ #controls label:nth-child(5),
#switch51:checked ~ #controls label:nth-child(1){
background: url('next.png') no-repeat; /*заливка фона картинкой без повторений*/
float: right;
margin: 0 -84px 0 0; /*сдвиг вправо*/
display: block;
height: 68px;
width: 68px;
}

label, a{ /*при наведении на стрелки или переключатели - курсор изменится*/
cursor: pointer;
}

.all input{ /*скрывает стандартные инпуты (чекбоксы) на странице*/
display: none;
}

/*позиция изображения при активации переключателя*/
#switch11:checked ~ #slides .image{
margin-left: 0;
}

#switch21:checked ~ #slides .image{
margin-left: -100%;
}

#switch31:checked ~ #slides .image{
margin-left: -200%;
}

#switch41:checked ~ #slides .image{
margin-left: -300%;
}

#switch51:checked ~ #slides .image{
margin-left: -400%;
}

#controls1{ /*положение блока всех управляющих элементов*/
margin: -25% 0 0 0;
width: 100%;
height: 50px;
}

#active label{ /*стиль отдельного переключателя*/
border-radius: 10px; /*скругление углов*/
display: inline-block; /*расположение в строку*/
width: 15px;
height: 15px;
background: #bbb;
}

#active{ /*расположение блока с переключателями*/
margin: 23% 0 0;
text-align: center;
}

#active label:hover{ /*поведение чекбокса при наведении*/
background: #76c8ff;
border-color: #777 !important; /*выполнение в любом случае*/
}

/*цвет активного лейбла при активации чекбокса*/
#switch11:checked ~ #active label:nth-child(1),
#switch21:checked ~ #active label:nth-child(2),
#switch31:checked ~ #active label:nth-child(3),
#switch41:checked ~ #active label:nth-child(4),
#switch51:checked ~ #active label:nth-child(5){
background: #18a3dd;
border-color: #18a3dd !important;
}

#slides1 .image{ /*анимация пролистывания изображений*/
transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

#controls label:hover{ /*прозрачность стрелок при наведении*/
opacity: 0.6;
}

#controls label{ /*прозрачность стрелок при отводе курсора*/
transition: opacity 0.2s ease-out;
}





.column {
    -webkit-column-width: 200px;
    -moz-column-width: 200px;
    column-width: 200px;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    -webkit-column-rule: 1px solid #ccc;
    -moz-column-rule: 1px solid #ccc;
    column-rule: 1.8px solid #29c5e6;
   }



P.fig {
  text-align: center; /* Выравнивание по центру */
 }

 P.fug {
  text-align:right; /* Выравнивание по центру */
 }

.wrapper1{
	float:right;
  min-width: 80%;
  text-align:right;
}

/*FOOTER*/

* {
	margin: 0;
	padding: 0;
}
html,
body {
	height: 100%;
}

.wrapper {

	position: relative;
	min-height: 100%;
}
.content {
	padding-bottom: 20px;
}

	footer{
	margin: 0;
	padding: 10px 20px;
	float:left;
	left: 0;
	bottom: 0;
	position: absolute;
	background: #29c5e6;
	width: 100%;
	height: 85px;
	color: white;
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	display: block;
}
/*---------------------------------------------------------------------------------------------------*/


footer p {
  color: #fff;
  text-align:left;

  font-size: 1.1em;
  color: #ffffff;
}    

.contact-info{
    float:right;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
}

.social-icons {
  display: flex;
  justify-content:center;
  list-style: none;
  margin-top: 0rem;
  margin-bottom: 1rem;
  padding-left: 0;
}
.social-icons>li {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  
}
.contact-link {
  color: #fff;
}
.social-icons a {
  position: relative;
  margin: 0;
  display: block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: background-color .3s ease-in-out;
  width: 1.0rem;
  height: 1.0rem;
}
.social-icons a:hover {
  margin:0;
}
.social-icons a::before {
  content: "";
  position: absolute;
  width: 2.1rem;
  height: 2.1rem;
  left: .0rem;
  top: .0rem;
  background: transparent no-repeat center center;
  background-size: 80% 80%;
}
.social-icons .social-icon-twitter::before {
  background-image: url("images/twitter1.png");
}
.social-icons .social-icon-ds::before {
  background-image: url("images/discord.png");
}.social-icons .social-icon-youtube::before {
  background-image: url("images/youtube.png");
}
.social-icons .social-icon-vk::before {
  background-image: url("images/vk1.png");
}
.social-icons .social-icon-telegram::before {
  background-image: url("images/telegram.png");
}

/*FOOTER*/


/* default height */
#ad {
   height:80px;
}
@media only screen and (height:90px) {
   /* 90 pixels high */
   #ad {
      height:90px;
   }
}
@media only screen and (height:125px) {
   /* 125 pixels high */
   #ad {
      height:125px;
   }
}



body {
  font-family: sans-serif;
  display: grid;
  height: 100vh;
  place-items: center;
}

.base-timer {
  	position: relative;
  	width: 180px;
  	height: 180px;
}

.base-timer__svg {
  transform: scaleX(-1);
}

.base-timer__circle {
  fill: none;
  stroke: none;
}

.base-timer__path-elapsed {
  stroke-width: 7px;
  stroke: grey;
}

.base-timer__path-remaining {
  stroke-width: 7px;
  stroke-linecap: round;
  transform: rotate(90deg);
  transform-origin: center;
  transition: 1s linear all;
  fill-rule: nonzero;
  stroke: currentColor;
}

.base-timer__path-remaining.green {
  color: rgb(65, 184, 131);
}

.base-timer__path-remaining.orange {
  color: orange;
}

.base-timer__path-remaining.red {
  color: red;
}

.base-timer__label {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}


/*Текст в header*/
.five {
  margin: 0;
  padding: 50px 20px 50px 170px;
  text-align: center;
} 
.five h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  position: relative;
  color: #587493;
  font-size: 2.5em;
  font-weight: normal;
  display: inline-block;
  margin: 0;
  line-height: 1;
  padding: 8px 20px 8px 2px;
  border-top: 4px solid;
}
.five h1:before {
  content: "Новая";
  position: absolute;
  top: -10px;
  left: -160px;
  font-size: 1.5em;
  transform: rotate(-25deg);
  font-family: 'Marck Script', cursive;
}
.five h1:after {
  content: ""; 
  position: absolute;
  width: 120%;
  height: 4px;
  right: 0;
  bottom: -4px;
  background: #587493;
}
@media (max-width: 580px) {
  .five {padding-left: 130px;}
  .five h1 {font-size: 2em;}
  .five h1:before {left: -130px;}
}
@media (max-width: 480px) {
  .five {padding-left: 100px;}
  .five h1 {
    font-size: 1.5em;
    padding-right: 10px;
}
  .five h1:before {left: -100px;}
}
@media (max-width: 380px) {
  .five {padding-left: 90px;}
  .five h1 {font-size: 1.3em;}
  .five h1:before {left: -88px;}
}
/*Текст в header*/






/*Текст сверху картинки*/
.container {
  width: 100%;
  position: relative;
  text-align: center;
  color: #000;
  font-family: arial black;
  font-size: 250%;
}
.center {
  position: absolute;
  top: 8%;
  left: 28%;
}
/*Текст сверху картинки*/



.space {  
	float:right;
    padding: 20px; /* Поля */
    background: #fff; /* Цвет фона */
    border: 3px solid #29c5e6; /* Параметры рамки */
   }


.space1 {  
	float:right;
    
    padding: 20px; /* Поля */
    background: #fff; /* Цвет фона */
    border: 3px solid #29c5e6; /* Параметры рамки */
   }
.space2 {  
	float:right;
    
    padding: 20px; /* Поля */
    background: #fff; /* Цвет фона */
    border: 3px solid #29c5e6; /* Параметры рамки */
   }

.space3 {  
	float:right;
    
    padding: 20px; /* Поля */
    background: #fff; /* Цвет фона */
    border: 3px solid #29c5e6; /* Параметры рамки */
   }
.space4 {  
	float:right;
    
    padding: 20px; /* Поля */
    background: #fff; /* Цвет фона */
    border: 3px solid #29c5e6; /* Параметры рамки */
   }



/*FOOTER*/

* {
	margin: 0;
	padding: 0;
}
html,
body {
	height: 100%;
}

.wrapper {

	position: relative;
	min-height: 70%;
}
.content {
	padding-bottom: 10px;
}

	footer{
	margin: 0;
	padding: 10px 20px;
	float:left;
	left: 0;
	bottom: 0;
	position: absolute;
	background: #29c5e6;
	width: 100%;
	height: 75px;
	color: white;
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	display: block;
}

/*FOOTER*/



 .rating-area1 {
	overflow: hidden;
	width: 265px;
	margin: 0 auto;
}
.rating-area1:not(:checked) > input {
	display: none;
}
.rating-area1:not(:checked) > label {
	float: right;
	width: 42px;
	padding: 0;
	cursor: pointer;
	font-size: 32px;
	line-height: 32px;
	color: lightgrey;
	text-shadow: 1px 1px #bbb;
}
.rating-area1:not(:checked) > label:before {
	content: '★';
}
.rating-area1 > input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px #c60;
}
.rating-area1:not(:checked) > label:hover,
.rating-area1:not(:checked) > label:hover ~ label {
	color: gold;
}
.rating-area1 > input:checked + label:hover,
.rating-area1 > input:checked + label:hover ~ label,
.rating-area1 > input:checked ~ label:hover,
.rating-area1 > input:checked ~ label:hover ~ label,
.rating-area1 > label:hover ~ input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px goldenrod;
}
.rate-area1 > label:active {
	position: relative;
}

.rating-area2 {
	overflow: hidden;
	width: 265px;
	margin: 0 auto;
}
.rating-area2:not(:checked) > input {
	display: none;
}
.rating-area2:not(:checked) > label {
	float: right;
	width: 42px;
	padding: 0;
	cursor: pointer;
	font-size: 32px;
	line-height: 32px;
	color: lightgrey;
	text-shadow: 1px 1px #bbb;
}
.rating-area2:not(:checked) > label:before {
	content: '★';
}
.rating-area2 > input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px #c60;
}
.rating-area2:not(:checked) > label:hover,
.rating-area2:not(:checked) > label:hover ~ label {
	color: gold;
}
.rating-area2 > input:checked + label:hover,
.rating-area2 > input:checked + label:hover ~ label,
.rating-area2 > input:checked ~ label:hover,
.rating-area2 > input:checked ~ label:hover ~ label,
.rating-area2 > label:hover ~ input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px goldenrod;
}
.rate-area2 > label:active {
	position: relative;
}

 #black {
        background: rgba(102, 102, 102, 0.5);
        width: 100%;
        height: 180%;
        position: absolute;
        top: 4;
        left: 0;
        display: none;
      }

      #okno2 {
        width: 450px;
        height: 980px;
        text-align: center;
        padding: 15px;
        border: 3px solid #29c5e6;
        border-radius: 10px;
        color: #0000cc;
        position: absolute;
        top: 4;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        background: #fff;
      }
      #black:target {display: block;}
      .close {
        float:right;
        display: inline-block;
        border: 1px solid #0000cc;
        color: #0000cc;
        padding: 0 12px;
        margin: 10px;
        text-decoration: none;
        background: #f2f2f2;
        font-size: 14pt;
        cursor:pointer;
      }
      .close:hover {background: #e6e6ff;}




#black:target {
display: block;
}
#black {
background: rgba(102, 102, 102, 0.68);
width: 100%;
height: 180%;
position: fixed;
top: 4;
left: 0;
display: none;
z-index: 9999999999;
}


#zatemnenie:target {
display: block;
}
#zatemnenie {
background: rgba(102, 102, 102, 0.68);
width: 100%;
height: 180%;
position: fixed;
top: 4;
left: 0;
display: none;
z-index: 9999999999;
}
/*чёрный список*/



 .rating-area {
	overflow: hidden;
	width: 265px;
	margin: 0 auto;
}
.rating-area:not(:checked) > input {
	display: none;
}
.rating-area:not(:checked) > label {
	float: right;
	width: 42px;
	padding: 0;
	cursor: pointer;
	font-size: 32px;
	line-height: 32px;
	color: lightgrey;
	text-shadow: 1px 1px #bbb;
}
.rating-area:not(:checked) > label:before {
	content: '★';
}
.rating-area > input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px #c60;
}
.rating-area:not(:checked) > label:hover,
.rating-area:not(:checked) > label:hover ~ label {
	color: gold;
}
.rating-area > input:checked + label:hover,
.rating-area > input:checked + label:hover ~ label,
.rating-area > input:checked ~ label:hover,
.rating-area > input:checked ~ label:hover ~ label,
.rating-area > label:hover ~ input:checked ~ label {
	color: gold;
	text-shadow: 1px 1px goldenrod;
}
.rate-area > label:active {
	position: relative;
}
 
 

 /* УВЕЛИЧЕНИЕ КАРТИНКИ */
   .scale {
    transition: 1s; /* Время эффекта */
   }
   .scale:hover {
    transform: scale(1.4); /* Увеличиваем масштаб */
   }
  /* УВЕЛИЧЕНИЕ КАРТИНКИ */
 
 
 
 
 #zatemnenie {
        background: rgba(102, 102, 102, 0.5);
        width: 100%;
        height: 180%;
        position: absolute;
        top: 4;
        left: 0;
        display: none;
      }
      #okno {
        width: 450px;
        height: 380px;
        text-align: center;
        padding: 15px;
        border: 3px solid #29c5e6;
        border-radius: 10px;
        color: #0000cc;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        background: #fff;
      }
      #zatemnenie:target {display: block;}
      .close {
      	float:inherit;
        display: inline-block;
        border: 1px solid #0000cc;
        color: #0000cc;
        padding: 0 12px;
        margin: 10px;
        text-decoration: none;
        background: #f2f2f2;
        font-size: 14pt;
        cursor:pointer;
      }
      .close:hover {background: #e6e6ff;}





.thumb img  {   /* Рамка вокруг фотографии */
    border: 2px solid #55c5e9; /* Рамка вокруг фотографии */
    padding: 8px; /* Расстояние от картинки до рамки */
    background: #29c5e6; /* Цвет фона */
    margin-right: 5px; /* Отступ справа */
    margin-bottom: 5px; /* Отступ снизу */
   }





#slider { /*положение слайдера*/
    position: relative;
	text-align: center;
    top: 10px;
}

#slider{ /*центровка слайдера*/
	margin: 0 auto;
}

#slides article{ /*все изображения справа друг от доруга*/
	width: 20%;
	float: left;
}

#slides .image{ /*устанавливает общий размер блока с изображениями*/
	width: 500%;
	line-height: 0;
}

#overflow{ /*сркывает все, что находится за пределами этого блока*/
	width: 100%;
	overflow: hidden;
}

article img{ /*размер изображений слайдера*/
	width: 100%;
}

#desktop:checked ~ #slider{ /*размер всего слайдера*/
	max-width: 960px; /*максимальнная длинна*/
}

/*настройка переключения и положения для левой стрелки*/
/*если свич1-5 активны, то идет обращение к лейблу из блока с id контролс*/
#switch1:checked ~ #controls label:nth-child(5), 
#switch2:checked ~ #controls label:nth-child(1),
#switch3:checked ~ #controls label:nth-child(2),
#switch4:checked ~ #controls label:nth-child(3),
#switch5:checked ~ #controls label:nth-child(4){
	background: url('prev.png') no-repeat; /*заливка фона картинкой без повторений*/
	float: left;
	margin: 0 0 0 -84px; /*сдвиг влево*/
	display: block;
	height: 68px;
	width: 68px;
}

/*настройка переключения и положения для правой стрелки*/
#switch1:checked ~ #controls label:nth-child(2), 
#switch2:checked ~ #controls label:nth-child(3),
#switch3:checked ~ #controls label:nth-child(4),
#switch4:checked ~ #controls label:nth-child(5),
#switch5:checked ~ #controls label:nth-child(1){
	background: url('next.png') no-repeat; /*заливка фона картинкой без повторений*/
	float: right;
	margin: 0 -84px 0 0; /*сдвиг вправо*/
	display: block;
	height: 68px;
	width: 68px;
}

label, a{ /*при наведении на стрелки или переключатели - курсор изменится*/
	cursor: pointer;
}

.all input{ /*скрывает стандартные инпуты (чекбоксы) на странице*/
	display: none;
}

/*позиция изображения при активации переключателя*/
#switch1:checked ~ #slides .image{
	margin-left: 0;
}

#switch2:checked ~ #slides .image{
	margin-left: -100%;
}

#switch3:checked ~ #slides .image{
	margin-left: -200%;
}

#switch4:checked ~ #slides .image{
	margin-left: -300%;
}

#switch5:checked ~ #slides .image{
	margin-left: -400%;
}

#controls{ /*положение блока всех управляющих элементов*/
	margin: -25% 0 0 0;
	width: 100%;
	height: 50px;
}

#active label{ /*стиль отдельного переключателя*/
	border-radius: 10px; /*скругление углов*/
	display: inline-block; /*расположение в строку*/
	width: 15px;
	height: 15px;
	background: #bbb;
}

#active{ /*расположение блока с переключателями*/
	margin: 23% 0 0;
	text-align: center;
}

#active label:hover{ /*поведение чекбокса при наведении*/
	background: #76c8ff;
	border-color: #777 !important; /*выполнение в любом случае*/
}

/*цвет активного лейбла при активации чекбокса*/
#switch1:checked ~ #active label:nth-child(1),
#switch2:checked ~ #active label:nth-child(2),
#switch3:checked ~ #active label:nth-child(3),
#switch4:checked ~ #active label:nth-child(4),
#switch5:checked ~ #active label:nth-child(5){
	background: #18a3dd;
	border-color: #18a3dd !important;
}

#slides .image{ /*анимация пролистывания изображений*/
	transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

#controls label:hover{ /*прозрачность стрелок при наведении*/
	opacity: 0.6;
}

#controls label{ /*прозрачность стрелок при отводе курсора*/
	transition: opacity 0.2s ease-out;
}








blockquote {
	margin: 0;
	background: #29c5e6;
	padding: 10px 20px;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
}

blockquote p {
	color: #fff;
	font-style: italic;
	font-size: 33px;
	margin: 0;
}

blockquote cite {
	display: block;
	font-size: 20px;
	font-style: normal;
	color: #1d8ea6;
	margin: 0;
	text-align: right;
}



aside > h2 {
	background: #29c5e6;
	font: 14px 'Oswald', sans-serif;
	color: #fff;
	padding: 10px;
	margin: 30px 0 0 0;
}

aside > p {
	background: #f3f3f3;
	border: 1px solid #e7e7e7;
	padding: 10px;
	margin: 0;
}


.aside-menu li {
	font-weight: 300;
	list-style-type: square;
	border-top: 1px solid #e7e7e7;
}

.aside-menu li:first-child {
	border: none;
}

.aside-menu li.active {
	color: #29c5e6;
}

.aside-menu a {
	color: #696969;
}


aside {

	float: left;
	width: 250px;	
}
section {

	margin-left: 280px;
	padding-bottom: 50px;
}


#heading {
	background: #29c5e6;
	margin: 30px 0;
	padding-left: 20px;
}

h1 {
	display: inline-block;
	color: #fff;
	font: 40px/40px 'Oswald', sans-serif;
	margin: 0;
	padding: 0 10px;
}


nav a {
	text-decoration: none;
}

nav ul {
	margin: 0;
	padding: 0;
}

nav li {
	list-style-position: inside;
	font: 14px 'Oswald', sans-serif;
	padding: 10px;
}

.top-menu li {
	display: inline-block;
	padding: 10px 30px;
	margin: 0;
}

.top-menu li.active {
	background: #29c5e6;
	color: #fff;
}

.top-menu a {
	color: #696969;
}



form[name=search] {
	float: right;
}


#wrapper {

	max-width: 960px;
	margin: auto;
}
header {
	padding: 20px 0;
}