/*@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=cyrillic");*/
html{ min-height: 100%; position: relative; 	min-width: 980px;
}
@media screen and (max-width: 990px) {
	html{min-width: 320px;}
}
body{
	margin:0;
	font-size: 14px;
	font-weight: normal;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	background-color: #EDF0F0;
	max-height: 999999px;
	-webkit-text-size-adjust:100%;
	-moz-text-size-adjust:auto;
	-ms-text-size-adjust:auto;
}
a{
	cursor:pointer;
}
h1,h2,h3,h4{
	font-weight: normal
}
input[type="text"], input[type="password"], select{
   	-webkit-appearance: none;
}
.text_input{
	border-style: solid;
	border-width: 1px;
	border-color: #cecece #e5e5e5 #e5e5e5 #e5e5e5;
	outline: none;
	font-size: 22px;
	padding: 8px 5px;
	border-radius: 3px;
}
.ext_link{
	color:#1CA8DD;
	text-decoration:underline;
}
.int_link {
	border-bottom: 1px dashed #1CA8DD;
	color: #1CA8DD;
	text-decoration: none;
}
.user_link{
	color:inherit;
	text-decoration: none
}
.user_link:hover{
	text-decoration: underline
}
.blue_button{
	border:none;
	outline:none;
	background-color: #1CA8DD;
	border-radius:5px;
	color:#fff;
	cursor:pointer;
	display:inline-block;
	text-decoration: none;
	font: normal 16px Open Sans, Arial, sans-serif;
}
.button_loader{
	background-color: #ddd !important;
	background-image: url("images/loader.gif");
	background-position: center center;
	background-repeat: no-repeat;
	color: transparent !important;
}
.trimmed{
	position:relative;
}
.trimmed:after{
	content:" ";
	position:absolute;
	right:0;
	top:0;
	bottom:2px;
	width:15px;
}
.trimmed_black:after{
	background:linear-gradient(to right, rgba(38,41,63,0), #262930);
}
/*================== No script content ====================*/
#noscript{
	text-align: center;
	background-image: url("images/btlogogray.png");
	background-position: center 126px;
	background-repeat: no-repeat;
	height: 440px;
}
#noscript img{
    display: block;
    margin: 0 auto 20px auto;
}
#noscript h1{
    background-color: transparent;
    font-size: 2.5em;
    margin: 10px;
}
#noscript p {
    font-size: 1.2em;
    margin: 0;
    position: absolute;
    text-align: center;
    width: 100%;
}
@media screen and (max-width: 400px) {
	#noscript h1{font-size: 2em;}
}

/* ==================== Header ======================*/
header{ 
	background-color: #262930;
	color:#fff;
}
nav a, nav a:visited, nav a:hover, #config a, #config a:visited, #config a:hover{
	color:#fff;
	text-decoration: none;
}
.header_content{
	max-width: 1020px;
	margin:0 auto;
    height: 60px;
	position:relative;
	min-width: 320px;
}
.admin_header h1 {
	float: right;
	font-size: 1.5em;
	margin: 0;
	line-height: 57px;
}
.admin_header .back_link {
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	line-height: 57px;
	background: url(images/backlink.png) no-repeat left center;
	padding-left: 17px;
	vertical-align: top;
}
.logo{
  float: left;
  border-right: 1px solid #62666d;
  line-height: 60px;
  color: white;
  padding: 0 20px;
}
.logo>img{
	font-size: 28px;
	vertical-align: middle;
}

#guest_logo{
  cursor:pointer;
}

.header_content>button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor:pointer;
    margin: 16px 0 0 20px;
}
#header_menu_button{
	display:none;
    cursor: pointer;
    margin: 16px 0 0 20px;
}

.active_help_loader{
    width:100%;
    height:100px;
    background-image: url("images/loader_black.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.header_home{
	float:right;
	background-image:url("images/home.png");
	background-repeat:no-repeat;
	background-position:left center;
	margin: 17px 20px 0 0;
	color:#fff;
	padding-left:30px;
	line-height:21px;
	text-decoration:underline;
	font-size: 14px;
}
#guest_start_button{
	padding: 8px 20px;
	font-size:16px;
	float:right;
	margin:11px 20px 0 0;
}
/*Подвал*/
.footer_line {
	border-top: 1px dotted #c2c2c2;
}
#footer_links{
	margin:20px 0;
	text-align:center;
	line-height: 1.5;
	padding:0;
}
#footer_links li{
	list-style: none;
	display: inline;
}
#footer_links a{
	color:#555659;
	text-decoration: underline;
	margin: 0 10px;
	cursor:pointer;
	white-space: nowrap;
}
#supported_languages_footer div{
	max-width: 800px;
	margin: 0 auto;
	padding: 1em;
	text-align: center;
}
#supported_languages_footer p{
	margin: 0.5em;
}
#supported_languages_footer a{
	color: #1ca8df;
	text-decoration: underline;
	margin: 0 0.5em;
}

@media screen and (max-width: 600px) {
#footer{
	position: static;
}
body{
	padding:0;
}
}

/*Notification window*/
#notifications{
	position:absolute;
	background-repeat:no-repeat;
	background-position:15px center;
	left:25%;
	right:25%;
	padding: 25px 20px 10px 60px;
	font-size:1.2em;
	text-align:center;
	z-index:15;
	border-radius:0 0 20px 20px;
	border-left: 3px solid #EDF0F0;
	border-bottom: 3px solid #EDF0F0;
	border-right: 3px solid #EDF0F0;
	display:none;
}
#notifications p{
	padding: 7px 0;
	display: inline-block;
	text-align:left;
	margin:0;
	
}
#notifications button{
	padding: 2px 5px;
	background-color:transparent;
	border:none;
	right: 10px;
    top: 7px;
	position:absolute;
	outline:none;
}
.msg_error{
	background-color: #E55039;
	background-image:url("images/error.png");
	color: #fff;
}
.msg_ok{
	background-color: #22DD3A;
	background-image:url("images/ok.png");
	color: #fff;
}
.msg_warning{
	background-color: #FFC600;
	background-image:url("images/warning.png");
	color: #000;
}

@media screen and (max-width: 1000px) {
#notifications{
	left:15%;
	right:15%;
}
}
@media screen and (max-width: 850px) {
#notifications{
	left:10%;
	right:10%;
}
}
@media screen and (max-width: 700px) {
#notifications{
	left:0;
	right:0;
	font-size:1em;
}
}
@media screen and (max-width: 500px) {
#notifications{
	padding: 20px 10px 10px 10px;
	background-image:none;
}
}

/*Модальное окно*/
.core_modal_back{
	position:fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background-color:rgba(0,0,0,0.6);
	padding:0 10px;
	z-index:10;
}
.core_modal_window {
	margin: 0 auto;
	max-width:800px;
	background-color:#fff;
	border-radius:10px;
	-webkit-box-shadow: 0 0px 28px rgba(0,0,0,.4);
	box-shadow: 0 0px 28px rgba(0,0,0,.4);
	padding: 5px 5px 10px 5px;
}
.blur{
	filter:blur(3px);
	-webkit-filter: blur(5px);
	-moz-filter: blur(5px);
}
.core_modal_header {
    padding: 5px 45px 10px 15px;
	border-bottom: 1px solid #ccc;
	color: #444444;
	position:relative
}
.core_modal_header > span {
    font-size: 28px;
}
.core_modal_content{
	padding:15px;
	font-size: 1.1em;
	overflow: auto;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	margin:5px 0;
	-webkit-overflow-scrolling:touch;
}
.core_modal_buttons{
	text-align:center;
	border-top: 1px solid #CCCCCC;
    padding-top: 10px;
}
.core_modal_buttons>button{
    background-color: #1CA8DD;
    border: medium none;
    border-radius: 5px 5px 5px 5px;
    font-size: 1.2em;
    padding: 9px 20px;
	color:#fff;
	cursor:pointer;
	margin:5px 5px;
}
.core_modal_close_button{
	position:absolute;
    right: 5px;
    top: 16px;
	cursor:pointer;
	font-size:40px;
	color: red;
	line-height:20px;
}
/*hints*/
.hint {
	background-color: #262930;
	border-radius: 10px 10px 10px 10px;
	min-height: 80px;
	min-width: 200px;
	position: absolute;
	z-index: 10;
	padding:15px;
	margin-right:5px;
	left:0;
	top:0;
	margin-top: 10px;
}
.hint h2 {
	margin: 0;
	text-align: center;
	font-size: 1.4em;
	border-bottom: 1px solid #737272;
	padding-bottom: 10px;
}
.hint ul {
	text-align: center;
	padding: 0;
}
.hint li{
	list-style: none;
}
.hint a{
	font-size: 1.3em;
	line-height: 1.7;
	text-decoration: underline;
	color: #1ca8df;
}
.hint-content {
	color: #FFFFFF;
}
.hint-tri{
	content:" ";
	position:absolute;
	left:50%;
	width:20px;
	height:10px;
	background-size:cover;
	margin-left:-10px;
}
.hint-bottom .hint-tri{
	top:-9px;
	background-image:url("/lib/images/hint_tri_top.gif");
}
.hint-top  .hint-tri{
	bottom:-9px;
	background-image:url("/lib/images/hint_tri_bottom.gif");
}
.hint-target{
	position:absolute;
	left:0;
	top:0;
	bottom:0;
	right:0;
}

@media screen and (max-width: 800px) {
.core_modal_window {
	margin-top: 0;
}	
}
@media screen and (max-width: 550px) {
.core_modal_content{
	font-size:1em;
}
.core_modal_buttons button{
    font-size: 1em;
    padding: 9px 10px;
}
.core_modal_header > span {
    font-size: 18px;
}
.core_modal_close_button{
	font-size:32px;
	top: 8px;
}
}
@media screen and (max-width: 400px) {
.core_modal_buttons>button{
	width:80%;
}
.core_modal_back {
    padding: 0 5px;
}
.core_modal_content{
	padding:10px;
}
.core_modal_header {
    padding-left: 10px;
}
}

/*Guest menu*/
#guest_menu{
	background-color: rgba(0,0,0,0.8);
	border-top: 1px solid #444;
}
#guest_menu_button{
	background: url("images/menu.png");
	width:36px;
	height:22px;
	border:none;
	outline: none;
	background-repeat: no-repeat;
	cursor:pointer;
	margin-top: 20px;
	margin-left:12px;
        border-radius: 0;
}
#guest_menu ul {
  padding: 10px 5px;
  max-width: 960px;
  margin:0 auto;
  text-align: center;
}
#guest_menu li{
	list-style: none;
	display: inline;
	padding: 0 5px;
}
#guest_menu a, #guest_menu a:hover{
	white-space: nowrap;
	text-decoration: underline;
	line-height: 30px;
	font-size:14px;
	color: #999;
}

/*header 320*/
/*@media screen and (max-width: 960px) {
	.logo, #logo{
		float:left;
		padding: 0 10px;
		font-size: 30px;
	}
}*/
@media screen and (max-width: 765px) {
}
@media screen and (max-width: 600px) {
	footer{
		position: static;
	}
	body{
		padding:0;
	}
	#guest_menu a, #guest_menu a:hover{
		line-height: 20px;
		font-size:13px;
	}
}
@media screen and (max-width: 450px) {
	.logo img{
		height: 23px;
		width: 117px;
		margin-bottom: 5px;
	}
}

@media screen and (max-width: 370px) {
	#logo{
		margin-left: 10px;
		width:124px;
	}
}