/* --------------- reset.css --------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i,  dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;                               /* обнуляем отступы и убираем бордюры */
	vertical-align: baseline;          /* приводим все к одной базовой линии */
	background: transparent;      /* чтобы не проскакивали левые фоны, установленные по умолчанию */
	font-size: 100%;                     /* размер шрифта всем одинаковый */
}
a {                                      	     /* ссылка не в общем списке чтобы не сбрасывать outline по умолчанию */
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	outline:none;
}
table {						/* устраняем отступы между ячейками таблицы */
	border-collapse: collapse; 
	border-spacing: 0;
}
td, td img {
	vertical-align: top;			/* возвращаем привычное вертикальное выравнивание */
} 
input, select, button, textarea {
	margin: 0; 				/* убираем отступы по умолчанию для элементов форм (в частности для checkbox и radio) */
	font-size: 100%; 			/* делаем размер шрифтов везде одинаковым */
	outline: none;
}
input[type="text"], input[type="password"], textarea {
	padding: 0; 				/* убираем внутренние отступы для текстовых полей */
}
input[type="checkbox"] { 		/* вертикальное выравнивание чекбоксов и радиобатонов относительно меток */
	vertical-align: bottom;
}
input[type="radio"] {
	vertical-align: text-bottom;
}
sub {
	vertical-align: sub;
	font-size: smaller;
}
sup {
	vertical-align: super;
	font-size: smaller;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display:block;
}
nav ul {
	 list-style:none;
}
/* --------------- /reset.css --------------- */

/* --------------- базовые настройки ---------*/
html {
	min-height:100%; /* всегда показываем вертикальную полосу прокрутки  */
}
body {
	background-image: url(../img/fontest1.jpg);
	background-position: left bottom;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-family: Arial, sans-serif; 
	color: #000;
	text-align: left;
	font-size: 1em; /* используем безопасные шрифтовые CSS стеки */
	min-height:100%;
}
a, a:visited { /* порядок правил для ссылок имеет значение */
	color: #e6618c;
	text-decoration: underline;
}
a:hover {
	color: #fdf208;
	text-decoration:none;
}
a:focus, a:active {
	color: #c83867;
	text-decoration: underline;
}
h1, h2, h3, h4, h5, h6{
	font-weight:normal;
}
img{
	max-width:100%;
}
.clr{
	clear:both;
}
.clearfix:after {
    clear: both;
    content: "";
    display: table;
}
/* --------------- /базовые настройки ---------*/
input:focus{
	box-shadow: 0px 0px 2px 2px rgba(255, 255, 0, 0.9);
}
.main-fon{
	padding-top: 140px;
}
.img-fon{
	position: relative;
	float: left;
}
.fon1{	
	border: 1px solid #e52300;
	box-shadow: 0px 0px 2px 2px rgba(229, 35, 000, 0.9);
}
.registered-users{
	opacity: 0;
	background: rgba(0, 0, 0, 0.5); 
	box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.9);
	position: absolute;
	bottom: 5px; 
	padding: 15px 20px; 
	width: 100%; 
	box-sizing: border-box; 
	transition: 0.1s linear;
}
.registered-users p{
	font-size: 14px; 
	color: #fff;
}
.img-fon:hover .registered-users{
	opacity: 1;
}
.login, .restore-pas-content, .new-pas-content{
	margin: 0 0 17px 0;
}
.login, .regist, .restore-pas-content, .new-pas-content{
	float: right;
	border: 1px solid #000;
	background: rgba(0, 0, 0, 0.7);
	box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.9);
	width: 480px;
	-webkit-backdrop-filter: blur(5px);
  	backdrop-filter: blur(5px);
	/*width: 486px;
	height: 551px;*/
}
.login h1, .regist h1, .modal-header h1, .restore-pas-content h1,
.new-pas-content h1{
	padding: 0 0 5px 0;
	color: #fff;
	text-align: center;
	font-size: 25px;
	font-weight: bold;
}
.restore-pas-content, .new-pas-content{
	display: none;
}
.modal-restore-pas{
   display: none; 
   position: fixed; 
   z-index: 99999; 
   padding-top: 50px; 
   left: 0;
   top: 0;
   width: 100%; 
   height: 100%; 
   overflow: auto; 
   background-color: rgba(0, 0, 0, 0.7); 
}
.modal-restore-pas-cont{
	padding: 5px;
   	background: rgba(0, 0, 0, 0.7);
	-webkit-backdrop-filter: blur(5px);
  	backdrop-filter: blur(5px);
    border: 1px solid #ff4500;
    width: 480px; 
  	height: 220px;
  	overflow: auto;
  	margin: auto;
  	position: absolute;
  	top: 0; left: 0; bottom: 0; right: 0;
    box-shadow: 0 0 2px 2px rgba(255, 69, 0, 0.7);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
.modal-restore-pas-cont input{
	margin-top: 5px;
	background: none;
	border: 1px solid #fff;
	color: #fff;
	box-shadow: none;
}
.email-res-pas{
	display: block;
    margin-left: auto;
    margin-right: auto
}
.block-for-messages, .block-for-messages-res,
.block-for-messages-res-yes{
	display: block;
	background-image: url(../img/for-messages.gif);
	background-repeat: round;
	background-size: cover;
	box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.9);
	border: 1px solid #000;
	font-size: 21px;
	float: right;
	font-weight: bold;
	height: 24px;
	width: 480px;
	margin-bottom: 17px; 
	color: #ff0000;
	text-align: center;
}
.block-for-messages-res, .block-for-messages-res-yes{
	background: rgba(0, 0, 0, 0.7);
	-webkit-backdrop-filter: blur(5px);
  	backdrop-filter: blur(5px);
  	height: 100%;
}
.block-for-messages-res-yes{
	color: #0f0;
}
/*.block-for-messages{
	font-size: 20px;
	float: right;
	font-weight: bold;
	width: 480px;
	margin-bottom: 23px; 
	color: #ff0000;
	text-align: center;
}*/
.restoration{
	text-align: center;
	padding: 5px 0;
}	
.restoration li a, .checkbox a{
	color: #00fff0;
	text-decoration: none;
}
.restoration li a:hover, .checkbox a:hover{
	text-decoration: underline;
}
.input-container{
	position: relative;
	margin: 0 auto;
	border-bottom: 1px solid #000;
    display: -ms-flexbox;
    display: flex;
    width: 468px;
    margin-bottom: 15px;
}
.input-container-no::before{
	height: 1px;
	width: 0;
	background-color: #00fff0;
	transition: width .3s ease-in-out, left .3s ease-in-out;
	left: 50%;
	bottom: 0;
}
.input-container input{
	background: none;
	border: none;
	color: #fff;
}
/*.input-container:hover{
	border: 2px solid #ffff00;
	transition: 0.1s linear;
}*/
input[data-rule].valid{
	box-shadow: 0px 0px 3px 3px rgb(0, 255, 0, 0.9);
}
.clear{
	position: absolute;
	float: right;
	top: 9px;
	right: 10px;
}
.password-control1, .password-control2, .password-control3{
	position: absolute;
	float: right;
	top: 9px;
	right: 30px;
}
.fa-times{
	color: #f00;
}
.fa-eye-slash, .fa-eye{
	color: #000;
}
.invalid {
	box-shadow: 0px 0px 3px 3px rgb(255, 0, 0, 0.9);
}
.icon{
    padding: 10px;
    color: #fff;
    min-width: 50px;
    text-align: center;
}
.icon-no{
	color: #f00;
}
.icon-yes{
	color: #0f0;
}
.form-control{
    width: 100%;
    outline: none;
}
.checkbox{
	padding: 0 0 14px 0;
	text-align: center;
	font-size: 18px;
	color: #fff;
}
.checkbox-res{
	box-shadow: 0px 0px 2px 2px rgb(255, 0, 0, 0.9);
}
.submit{
	cursor: pointer;
	margin: 0 5px 0 0;
	width: 23px;
	height: 23px;
	/*color: green; алочки нада зелать*/
}
.submit-btn{
    background-color: rgb(230, 69, 0);
	color: #fff;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
}
.submit-btn:hover{
   background-color: orangered;
   transition: 0.2s ease;
}
#myBtn{
	cursor: pointer;
}
.modal{
   display: none; 
   position: fixed; 
   z-index: 99999; 
   padding-top: 50px; 
   left: 0;
   top: 0;
   width: 100%; 
   height: 100%; 
   overflow: auto; 
   background-color: rgba(0, 0, 0, 0.7); 
}
.modal-content{
    background-color: rgba(255, 255, 0, 0.5);
    border: 1px solid #ff4500;
    width: 1100px; 
  	height: 68%;
  	overflow: auto;
  	margin: auto;
  	position: absolute;
  	top: 0; left: 0; bottom: 0; right: 0;
    box-shadow: 0 0 2px 2px rgba(255, 69, 0, 0.7);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
@-webkit-keyframes animatetop{
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
@keyframes animatetop{
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
.close{
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover, .close:focus{
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modal-header{
    padding: 5px 15px;
    background-color: rgba(255, 255, 0, 0.5);
}
.modal-body{
	font-size: 20px;
	padding: 10px 25px;
}
.modal-body li{
	list-style-type: none;
}
.item{
	font-weight: bold;
}
.item2{
	padding: 5px 0 0 20px;
}
.list{
	padding: 0 0 0 30px;
}
.list li{
	list-style-type: disc;
}
.add-baner{
	margin-top: 25px;
	width: 100%;
	height: auto;
	border: 1px solid #000;
	box-shadow: 0px 0px 2px 2px rgba(000, 000, 000, 0.9);
}
.center-fon{
	/*margin-top: 50px;*/
	margin-top: 25px;
	margin-bottom: 50px;
	display: inline-block;
	position: relative;
	overflow: hidden;
}
.advertising-bloc-1{
    margin-bottom: -52px;
}
.advertising-bloc{
    margin-top: -54px;
}
.advertising-bloc-3{
    margin-top: 5px;
    margin-bottom: -45px;
}
.advertising-content{
   text-align: center;
}
.text-fon{
	position: absolute; 
    bottom: 10px; right: 40px; 
    background: rgba(169, 169, 169, 0.4);
    padding: 0px 14px 30px 0px;
    margin-bottom: 50px;
}
.text-fon:hover{
	background: rgba(000, 000, 000, 0.4);
	transition: 0.1s;
}
.text-fon h1, .text-fon h2, .text-fon h3{
	font-size: 26px; color: #fff;
}
.fa-instagram{
	padding: 2px;
	color: #fff;
	font-weight: normal; 
	background: #f09433; 
	background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
	background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
	background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}
.fa-youtube-play{
	padding: 2px;
	color: #f00 !important;
	background-image: linear-gradient(#fff, #fff);
   	background-size: 25% 5px;
  	background-repeat: no-repeat;
  	background-position: center center;
}
.bottom-fon{
	background-image: url(../img/fon3.jpg);
	height: 498px;
	position: relative;
}
.carousel{
	display: none;
}
.carousel-owner-admins fon1, .owner-admins fon1{ 
	width: 295px;
	height: 100%;
	text-align: center;
	position: absolute;
	top: 0px; left: 52px;
	background-image: url(../img/adminfon.jpg), url(../img/owner.jpg);
	background-blend-mode: overlay;
}
.carousel-owner-admins h1, .owner-admins h1{
	padding-top: 15px;
	font-size: 47px;
	font-weight: bold;
	padding-bottom: 17px;
}
.carousel-owner-admins h2, .owner-admins h2{
	padding-top: 7px;
	font-size: 19px;
	color: #00fff0;
}
.carousel-owner-admins h3, .owner-admins h3 {
	font-size: 19px;
}
.carousel-owner-admins h3 a, .owner-admins h3 a{
	color: #00fff0;
	text-decoration: none;
	display: inline-block;
	position: relative;
}
.carousel-owner-admins h3 a::before, 
.owner-admins h3 a::before{
	display: block;
	position: absolute;
	content: "";
	height: 2px;
	width: 0;
	background-color: #00fff0;
	transition: width .3s ease-in-out, left .3s ease-in-out;
	left: 50%;
	bottom: 0;
}
.carousel-owner-admins h3 a::after, 
.owner-admins h3 a::after{
	display: block;
	position: absolute;
	content: "";
	height: 2px;
	width: 0;
	background-color: #00fff0;
	transition: width .3s ease-in-out;
	left: 50%;
	bottom: 0;
}
.carousel-owner-admins h3 a:hover::before, 
.owner-admins h3 a:hover::before{
	width: 50%;
	left: 0;
}
.carousel-owner-admins h3 a:hover::after, 
.owner-admins h3 a:hover::after{
	width: 50%;
}
.carousel-owner-admins h4, .owner-admins h4{
	font-size: 19px;
	color: #00fff0;
	padding-bottom: 37px;
} 
.carousel-owner-admins fon2, .owner-admins fon2{ 
	text-align: center;
	position: absolute;
    width: 294px;
	top: 0;
  	bottom: 0;
  	left: 0;
  	right: 0;
  	margin: auto;
	background-image: url(../img/adminfon.jpg), url(../img/admin1.jpg);
	background-blend-mode: overlay;
}
fon2 h3{
	padding-top: 29px;
}	
.carousel-owner-admins fon3, .owner-admins fon3{ 
	width: 295px;
	height: 100%;
	text-align: center;
	position: absolute;
	top: 0px; right: 52px;
	background-image: url(../img/adminfon.jpg), url(../img/admin2.jpg);
	background-blend-mode: overlay;
}
fon3 h3{
	padding-top: 29px;
}
.prev, .next{	
	cursor: pointer;
	text-decoration: none;
	position: absolute;
	width: auto;
	padding: 237px 16px;
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
}
.next{
	right: 0;
  	border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover{
	text-decoration: none;
  	background-color: rgba(0, 0, 0, 0.8);
}
.images, .images2{
	width: 293px;
	border: 1px solid #ddd; 
	border-radius: 50%;
	box-shadow: 0 2px 5px #aaa;
	top: 0; left: 0; bottom: 0; right: 0;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;    
}
.images2{
	width: 292px;
}
.images:hover, .images2:hover{
	border-radius: 3px;
}
#upbutton{
    background-image: url(../img/up.png);
    background-repeat: no-repeat;
    height: 37px;
    width: 63px;
    bottom: 55px;
    right: 30px;
    cursor: pointer;
    display: none;
    position: fixed;
    z-index: 999;
}
@media screen and (max-width: 1100px){
	.owner-admins fon1{ 
		left: 10px;
	}	
	.owner-admins fon3{ 
		right: 10px;
	}
	.modal-content{
		width: 80%;
		/*margin-bottom: 100px;*/
	}
}
@media screen and (max-width: 1080px){
	.img-fon{
		width: 95%;
		float: none;
		margin: auto;
		margin-bottom: 35px;
	}
	.fon1{
		border: none;
		width: 100%;
	}
	.login, .regist, .restore-pas-content, .new-pas-content{
		float: none;
		margin: 0 auto;
		width: 95%;
	}
	.input-container{
		width: 95%;
	}
	.regist{
		margin-top: 35px;
	}
	.block-for-messages{
		width: 95%;
		float: none;
		margin: 0 auto;
		margin-top: 25px;
		margin-bottom: -10px;
	}
	.add-baner{
		border: none;
		border-top: 1px solid #000;
		border-bottom: 1px solid #000;
	}
}	
@media screen and (max-width: 948px){
	.main-fon{
	    padding-top: 115px;
	}
	.img-fon{
		margin-bottom: 25px;
	}
	.center-fon{
		/*margin: 25px 0 14px 0;*/
		margin: 19px 0 14px 0;
	}
	.owner-admins-fon{
		display: none;
	}
	.carousel{
		display: block;
	}
	.carousel-owner-admins fon1{
		top: 0;
  		bottom: 0;
  		left: 0;
  		right: 0;
  		margin: auto;
  		z-index: 999;
  	}
  	.carousel-owner-admins fon3{
  		top: 0;
  		bottom: 0;
  		left: 0;
  		right: 0;
  		margin: auto;
  	}
@media screen and (max-width: 800px){
	.text-fon{
		right: 20px;
		padding: 0;
		margin: 0;
		bottom: 7px;
	}
	.text-fon p{
		font-size: 23px;
	}
	#upbutton{
		background-image: url(../img/up2.png);
    	height: 25px;
    	width: 43px;
    	right: 10px;
    	bottom: 10px;
	}
	#upbutton:hover{
	background-color: rgba(0, 0, 0, 0.5);
	}
}
@media screen and (max-width: 600px){
	.main-fon{
		padding: 125px 0 0 0;
	}
}