﻿@charset "utf-8";
@font-face {
  font-family: 'Helios';
  font-weight: normal;
  font-style: normal;
  src: url('fonts/HeliosCondRegular.eot');
  src: url('fonts/HeliosCondRegular.eot?#iefix') format('embedded-opentype'), url('fonts/HeliosCondRegular.woff') format('woff'), url('fonts/HeliosCondRegular.ttf') format('truetype');
}
*{margin:0;padding:0;box-sizing:border-box;}
html{font-size:76.5%;font-family:sans-serif;color:#333;background:#f6f6f6;}
html,body,#wrap{min-height:100%;}
.button,button{display:inline-block;outline:none;cursor:pointer;text-align:center;text-decoration:none;padding:.4rem .8rem;-webkit-border-radius:.5rem;-moz-border-radius:.5rem;border-radius:.3rem;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2);border:1px solid Gray;margin:5px;}
.button,button{text-shadow:0 1px 1px rgba(0,0,0,.3);background-clip:padding-box;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(1px, #eeeeee), color-stop(100%, #cccccc));background-image:-webkit-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);background-image:-moz-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);background-image:-o-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);background-image:-ms-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);background-image:linear-gradient(#ffffff, #eeeeee 1px, #cccccc);}
.button:hover,button:hover{background:#dddddd;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #dddddd));background-image:-webkit-linear-gradient(#ffffff, #dddddd);background-image:-moz-linear-gradient(#ffffff, #dddddd);background-image:-o-linear-gradient(#ffffff, #dddddd);background-image:-ms-linear-gradient(#ffffff, #dddddd);background-image:linear-gradient(#ffffff, #dddddd);}
.err{background: #ffdead;padding: 1rem;margin: 1rem;border: 1px solid Red;}
.small{font-size: .8rem; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;}
.frt{margin-left: 1rem; margin-bottom: 1rem;}
.flt{margin-right: 1rem; margin-bottom: 1rem;}
.span.red, b.red{color: #8b0000;}
.hid{display: none;}
.w30{width: 30%;}
.w45{width: 45%;}
.bg-red{background-color: #ffa0a0;}
ul.err{list-style: none;}
body{font-family: "Helios",Arial;font-size:1.4rem;word-wrap: break-word;}
header{
	background-color: #f6f6f6;
	background-image: url(hed.jpg);
	background-repeat: repeat-x;
	background-position: 0 0;
	min-height: 130px;
	border: 1px solid #ccc;
	border-radius: 0 0 5px 5px;
	margin-top: 1rem;
}
footer{
	border-top: 1px solid #ccc;
	text-align: center;
	padding: 1rem;
	clear: both;
}
::selection{background:#b3d4fc;text-shadow:none;}
a{text-decoration:none;}
a:focus{outline:thin dotted;}
a:hover{text-decoration:underline;}
input,textarea,select{
	padding: .5rem;
	border-radius: .5rem;
	margin: .5rem;
	border: 1px solid rgb(204, 204, 204);
}
video{width: 100%;}
table{
	border-collapse: collapse;
	margin-bottom: 1rem;
}
td,th{
	padding: .5rem 1rem;
	border: 1px solid #cacaca;
}
th{
	background: #dddddd;
	font-size: 1.2rem;
	line-height: 1.4rem;
}
.phone{
	white-space: nowrap;
}
table caption{
	font-size: 1.6rem;
	border-top: 1px solid #cacaca;
	border-left: 1px solid #cacaca;
	border-right: 1px solid #cacaca;
	line-height: 2.2rem;
	background-color: #f8f8ff;
}
.destroy{float: right;}
.show-next{
	border-bottom: dotted 1px silver;
}
.system{background-color: #ffdead;padding:1rem;margin:1rem 0;border-radius:10px;clear:both;}
.ajax-msg{position:fixed;min-width:200px;top:0;left:0;z-index:10;background:#fc0;box-shadow:0 0 3rem rgba(0,0,0,0.8);padding:1rem;overflow:auto;}
h1{
	font-size: 2.2rem;
}
h2{
	font-size: 1.8rem;
}
h3{
	font-size: 1.6rem;
}
h4{
	font-size: 1.4rem;
}
h1,h2,h3,h4{
	text-align: center;
	text-transform: uppercase;
}
h1,h2,h3,h4{
	margin-bottom: 1rem;
}
h2 span{
	display: inline-block;
}
h2 span:after,h2 span:before{
	content: '';
	width: 100%;
	height: 1px;
	background: #f68b1f;
	display: block;
	margin: .5rem 0;
}
h2,h3,h4{
	margin-top: 1rem;
}
hr{
	margin: 1rem 0;
}
p{
	padding-bottom: 1rem;
}
p:first-letter{
	padding-left: 2rem;
}
ul,ol{
	list-style-position: inside;
}
ul ul{
	margin-left: 1em;
}
#container{
	background: white;
	padding: 1rem;
	display: inline-block;
	width: 100%
}
#topnav{
	list-style: none;
	padding: 1rem;
	margin: 0;
}
#topnav li{
	display: inline-block;
}
#topnav li a{
	display: inline-block;
	padding: .5rem 1rem;
	background: white;
	border: 1px solid silver;
	margin-right: .5rem;
	margin-bottom: .5rem;
	border-radius: .5rem;
	text-transform: uppercase;
	font-size: 1.2rem;
}
#topnav li a:hover{
	text-decoration: none;
	background: #fffacd;
}
#search{
	padding: 1rem;
	float: left;
}
#search:before{
	content: 'Поиск';
	padding-right: .5rem;
}
#search input{
	margin-right: .5rem;
	padding-right: 60px;
}
.main-text{
	text-align: right;
	padding-left: 1rem;
	padding-right: 1rem;
	color: #8b0000;
	float: right;
}
.main-text .flt,.main-text .frt{
	font-size: 2.2rem;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
#leftside{
	padding: 0 1rem 2rem 0;
	border-right: 1px solid #a7d7f9;
	width: 20%;
}
#leftside ul{
	list-style: none;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #a7d7f9;
}
#leftside,#rightside{
	display: table-cell;
}
#rightside{
	padding-left: 2rem;
}
.box{
	border: 1px solid silver;
	border-radius: 10px;
	display: inline-block;
	vertical-align: top;
	padding: 1rem;
	margin: 1rem;
}
.box.red{
	border-top: 5px solid red;
}
.box.green{
	border-top: 5px solid green;
}.box.blue{
	border-top: 5px solid blue;
}
.pic{
	text-align: center;
}
.pic .lightbox{
	padding: 5px;
	margin: 10px;
	display: inline-block;
	box-shadow:0 0 1em rgba(0,0,0,0.6);
}
.pic img{
	vertical-align: top;
}
#addMeta{
	width: 80%;
	margin: 1rem auto;
	box-shadow:0 0 1rem rgba(0,0,0,0.6);
	border-radius: 10px;
	padding: 1rem;
	background-color: White;
	clear: both;
	margin-top: 1rem;
}
#addMeta .line{
	padding: 1rem;
	margin-bottom: 1rem;
	border: 1px solid silver;
	box-shadow:0 0 .5rem rgba(0,0,0,0.6);
}
#addMeta textarea{
	width: 100%;
	min-height: 200px;
	margin: 0;
}
#addMeta input[type=text]{
	width: 50%;
}
#addMeta .line .box{
	width: 30%;
}
#file_manager,#video_manager{
	width: 50%;
	padding: 1rem;
}
#files li{
	border-top: 1px solid silver;
	margin-top: .5rem;
}
.ajax-msg textarea{
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}
input[name="sort"]{
	width: 5rem;
}
.table-list{
	margin: 1rem 0;
	padding-bottom: 1rem;
	border-bottom: 1px solid silver;
}
.wait{
	background-image: url(AjaxLoader.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	padding-left: 40px;
	min-height: 40px;
}
ul.sqr{
	list-style: none;
	text-align: center;
}
.sqr li{
	display: inline-block;
	vertical-align: top;
	width: 24%;
	margin: 0 .5% 2rem;
	padding: 1rem;
	border: 1px solid silver;
	box-shadow:0 0 .5rem rgba(0,0,0,0.6);
}
.sqr li:hover{
	background-color: #fffacd;
}
.sqr li a{
	display: inline-block;
	width: 100%;
}
#feedback input, #feedback textarea, #regback input[type=text], #regback textarea{
	width: 300px;
}
#toTop{position:fixed;bottom:1rem;left:5%;display:none;z-index:5;}
#toTop.on{display:inline-block;}
#main_link{
	background-color: white;
	border-bottom: 1px solid #d5d5d5;
}
#main_link a{
	display: inline-block;
	padding: .5rem 0 .5rem 1rem;
	color: gray;
	text-decoration: none;
}
#main_link a:hover{
	color: black;
}
#main_link a:after{content: '\BB'; padding-left: .5rem;}
.herarchi{
	list-style: none;;
}
.art{
	display: inline-block;
	width: 100%;
	padding: 10px;
	border-top: 1px solid #e5e5e5;
	background: linear-gradient(to bottom, #eae9e5, #ffffff);
	border-radius: 10px;
}
.art .name{
	font-size: 1.6em;
	vertical-align: middle;
}
.art img{
	margin: 0 20px 10px 0;
	vertical-align: middle;
	border-radius: 50%;
	width: 125px;
	float: left;
}
.vk{
	vertical-align: middle;
	display: inline-block;
	height: 40px;
}
.vk:before{
	content: '';
	background-image: url(vk.jpg);
	width: 50px;
	height: 40px;
	display: inline-block;
	margin-right: 10px;
}
@media only screen and (min-width:960px){
	/*всё что больше 960px*/
	header{
	}
	body{
		padding: 0 2rem;
	}
	.ajax-msg{width:50%;max-height:50%;margin:10% 0 0 25%;}
	#login{
		position: fixed;
		bottom: 10px;
		right: 10px;
		z-index: 100;
		background-color: white;
		box-shadow:0 0 1rem rgba(0,0,0,0.6);
		padding: 10px;
		width: 200px;
		margin-right: -220px;
		border-radius: 10px;
		text-align: center;
		transition: all 0.5s ease-out;
	}
	#login input{
		width: 100%;
	}
	#login.on{
		margin-right: 10px;
	}
	#login .clicker{
		position: absolute;
		left: -100px;
		bottom: 10px;
		opacity: 0.5;
		border-radius: 50%;
		background-clip: padding-box;
		width: 60px;
		height: 60px;
		animation: utcm2 1.5s 0s ease-out infinite;
	}
	#login .clicker:before {
		content: "";
		background-image: url(earth.png);
		position: absolute;
		width: 60px;
		height: 60px;
		left: 0;
		top: 0;
		background-repeat: no-repeat;
		background-position: center center;
		animation: utcp 4s linear infinite;
		cursor: pointer;
	}
	@keyframes utcm2 {
		from {box-shadow: 0 0 8px 6px rgba(23,167,167, 0), 0 0 0px 0px rgba(0,0,0,0), 0 0 0px 0px rgba(23,167,167, 0);}
		10% {box-shadow: 0 0 8px 6px #8d8, 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px #8d8;}
		to {box-shadow: 0 0 8px 6px rgba(23,167,167, 0), 0 0 0px 30px rgba(0,0,0,0), 0 0 0px 30px rgba(23,167,167, 0);}
	}
	@keyframes utcp {
    	from {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    	25% {-ms-transform:rotate(10deg);-webkit-transform:rotate(10deg);transform:rotate(10deg);} 
    	50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    	75% {-ms-transform:rotate(-10deg);-webkit-transform:rotate(-10deg);transform:rotate(-10deg);}
    	to {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
	}
	#login:hover{
    	opacity: 1;
    	color: red;
	}
}
@media only screen and (max-width:960px){
	/*всё что меньше 960px*/
	header{
		min-height: none;
		margin-top:0;
	}
	footer{
		padding-bottom: 5rem;
	}
	#leftside, #rightside{
		display: block;
	}
	#leftside{
		float: none;
		margin-right: 0;
		margin-bottom: 1rem;
		padding: 0;
		border-right: none;
		width: 100%;
	}
	#toTop{
		width: 90%;
		bottom: 2px;
	}
	#search{
		float: none;
	}
	#feedback{
		width: 100%;
	}
	#topnav{
		padding-bottom: 0;
	}
	#login{
		display: none;
	}
	.main-text{
		float: none;
		padding-bottom: 1rem;
	}
	.w30,.w45{
		width: auto;
		display: block;
	}
	.ajax-msg{width:90%;max-height:80%;margin:10% auto 0;}
}
