header, footer, article, section, hgroup, nav, figure, aside { display: block; }
figure {
	margin:0;
	padding:0;
}
html{min-width:1000px;}
body{
	margin:0;
	font:15px/18px Tahoma, Geneva, sans-serif;
	color:#333;
	background:#0166c8 url(../images/bg-main.jpg) repeat-x 50% 0;
	min-width:1000px;
}
img {
	border-style:none;
	vertical-align:top;
}
a {
	text-decoration:underline;
	color:#00578c;
}
a:hover {
	text-decoration:none;
	color:#000;
}
input[type="submit"]:hover{cursor:pointer;}
input,
textarea,
select {
	font:100% Tahoma, Geneva, sans-serif;
	vertical-align:middle;
	color:#6d6d6d;
}
form, fieldset {
	margin:0;
	padding:0;
	border-style:none;
}
.w1{
	position:relative;
	overflow:hidden;
}
#wrapper{
	width:1000px;
	margin:0 auto;
}
#header{
	padding: 70px 0 0;
	margin-bottom: 25px;
}
#header hgroup{
	overflow:hidden;
	margin-bottom: 55px;
}
.logo{
	float:left;
	overflow:hidden;
	text-indent:-9999px;
	width: 360px;
	height: 65px;
	margin:0 67px 0 0;
}
.logo.ru{
	background: url("../images/cas_logo_ru.png?v=2") no-repeat scroll 0 0 / 360px auto transparent;
}
.logo.en{
	background:url(../images/cas_logo_en.png?v=2) no-repeat scroll 0 0 / 360px auto transparent;
}
.logo a{
	display:block;
	height:100%;
}
#header hgroup h2{
	overflow:hidden;
	margin:0;
	font-size:20px;
	line-height:25px;
	color:#21304D;
	font-weight:normal;
	padding: 9px 0 0;
}
#header hgroup mark{
	font-weight:bold;
	color:#161616;
	font-size:36px;
	line-height:40px;
	background:none;
}
#main{
	padding:26px 0 0;
	margin-bottom: 75px;
}
#main:after{
	display:block;
	clear:both;
	content:"";
}
.nav-holder{
	overflow:hidden;
	padding: 0 2px 0 0;
}
#nav{
	float:right;
	margin:0 0 0 0;
	padding:4px 0 0;
	list-style:none;
}
#nav li{
	float:left;
	margin-left:29px;
}
#nav li:first-child,
.language li:first-child{margin:0;}
.language{
	margin:0;
	padding:4px 0 0;
	list-style:none;
	float:right;
}
.language li{
	float:left;
	margin-left:32px;
}
.language .active a{
	text-decoration:none;
	color:#000;
}
.social{
	overflow:hidden;
	margin:0;
	padding:0;
	list-style:none;
	font-size:11px;
	line-height:19px;
	float: right;
}
.social li{
	float:left;
	margin-right: 14px;
}
.social a{text-decoration:none;}
.social .habrahabr{
	display:block;
	background:#80c3d5 url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzgwYzNkNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2MGEyYjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #80c3d5 0%, #60a2b7 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#80c3d5), color-stop(100%,#60a2b7));
	background: -webkit-linear-gradient(top,  #80c3d5 0%,#60a2b7 100%);
	background: -o-linear-gradient(top,  #80c3d5 0%,#60a2b7 100%);
	background: -ms-linear-gradient(top,  #80c3d5 0%,#60a2b7 100%);
	background: linear-gradient(to bottom,  #80c3d5 0%,#60a2b7 100%);
	color:#fff;
	border:solid #6ba3b2;
	border-width:1px 0 0 1px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	padding:3px 13px 6px 8px;
}
.social .habrahabr span{
	font-size:15px;
	line-height:19px;
	font-weight:bold;
	display:inline-block;
	vertical-align:top;
	margin-right:19px;
	position:relative;
}
.social .habrahabr span:before{
	right:-9px;
	top:-1px;
	bottom:-3px;
	position:absolute;
	z-index:1;
	width:1px;
	background:#90cce1;
	border-right:1px solid #3e8da2;
	content:"";
}
.social .sk{
	display:block;
	background:#adfe00 url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2FkZmUwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5Y2Q3MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #adfe00 0%, #9cd700 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#adfe00), color-stop(100%,#9cd700));
	background: -webkit-linear-gradient(top,  #adfe00 0%,#9cd700 100%);
	background: -o-linear-gradient(top,  #adfe00 0%,#9cd700 100%);
	background: -ms-linear-gradient(top,  #adfe00 0%,#9cd700 100%);
	background: linear-gradient(to bottom,  #adfe00 0%,#9cd700 100%);
	color:#333;
	border:solid #a0eb00;
	border-width:1px 0 0 1px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	padding:3px 12px 6px 2px;
}
.social .sk span{
	font-size:15px;
	line-height:19px;
	font-weight:bold;
	display:inline-block;
	vertical-align:top;
	margin-right:15px;
	position:relative;
	text-transform:uppercase;
}
.social .sk span:before{
	right:-4px;
	top:-1px;
	bottom:-3px;
	position:absolute;
	z-index:1;
	width:1px;
	background:#beff00;
	border-right:1px solid #96cc00;
	content:"";
}
.social .google{
	display:block;
	background:#ee4d3f url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlNGQzZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlMzJkMWQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ee4d3f 0%, #e32d1d 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ee4d3f), color-stop(100%,#e32d1d));
	background: -webkit-linear-gradient(top,  #ee4d3f 0%,#e32d1d 100%);
	background: -o-linear-gradient(top,  #ee4d3f 0%,#e32d1d 100%);
	background: -ms-linear-gradient(top,  #ee4d3f 0%,#e32d1d 100%);
	background: linear-gradient(to bottom,  #ee4d3f 0%,#e32d1d 100%);
	color:#fff;
	border:solid #c64135;
	border-width:1px 0 0 1px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	padding:3px 29px 6px 9px;
}
.social .google span{
	font:bold 15px/19px Georgia, serif;
	display:inline-block;
	vertical-align:top;
	margin: -3px 22px 0 0;
	position:relative;
}
.social .google span:before{
	right:-9px;
	top:1px;
	bottom:-4px;
	position:absolute;
	z-index:1;
	width:1px;
	background:#f84e3f;
	border-right:1px solid #d02717;
	content:"";
}

.social .facebook{
	display:block;
	background: #3B5998;
	background: -moz-linear-gradient(top,  #5577BF 0%, #3B5998 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5577BF), color-stop(100%,#3B5998));
	background: -webkit-linear-gradient(top,  #5577BF 0%,#3B5998 100%);
	background: -o-linear-gradient(top,  #5577BF 0%,#3B5998 100%);
	background: -ms-linear-gradient(top,  #5577BF 0%,#3B5998 100%);
	background: linear-gradient(to bottom,  #5577BF 0%,#3B5998 100%);
	color:#fff;
	border:solid #3E5585;
	border-width:1px 0 0 1px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	padding:3px 18px 4px 9px;
	vertical-align: top;
}
.social .facebook span{
	font: bold 16px arial;
	display:inline-block;
	vertical-align:middle;
	margin: -1px 22px 0 0;
	position:relative;
}
.social .facebook span:before{
	right:-11px;
	top:-2px;
	bottom:-1px;
	position:absolute;
	z-index:1;
	width:1px;
	background:#5577BF;
	border-right:1px solid #1947A6;
	content:"";
}
.form-tab{
	float:left;
	width:342px;
	padding:12px 14px 27px 5px;
	background:#f2f2f2;
	-webkit-border-radius:9px;
	-moz-border-radius:9px;
	border-radius:9px;
}
.tabset{
	margin:0 0 26px;
	padding:1px 5px;
	list-style:none;
	font-size:14px;
	line-height:18px;
	overflow:hidden;
}
.tabset li{
	float:left;
	width:130px;
}
.tabset li:first-child{
	width:198px;
	margin-right: 4px;
}
.tabset a{
	display:block;
	color:#00679c;
	text-decoration:none;
	padding:7px 10px;
	position:relative;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	text-align:center;
}
.tabset a:before{
	position:absolute;
	left:17px;
	right:17px;
	bottom:5px;
	height:1px;
	border-bottom:1px dashed #00689d;
	content:"";
}
.tabset a:hover:before,
.tabset .active a:before{display:none;}
.tabset a:hover,
.tabset .active a{
	-webkit-box-shadow:0 1px 1px 0 rgba(0, 0, 0, 0.4) inset, 1px 1px 0 0 #f9f9f9;
	-moz-box-shadow:0 1px 1px 0 rgba(0, 0, 0, 0.4) inset, 1px 1px 0 0 #f9f9f9;
	box-shadow:0 1px 1px 0 rgba(0, 0, 0, 0.4) inset, 1px 1px 0 0 #f9f9f9;
	color:#010101;
	background:#e8e8e8;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}
.reg-form{
	font-size:12px;
	line-height:15px;
	color:#999;
}
.reg-form .row:after{
	display:block;
	clear:both;
	content:"";
}
.reg-form .row{margin-bottom:9px;}
.reg-form label{
	display:inline-block;
	vertical-align:top;
	margin-bottom:11px;
}
.reg-form input,
.reg-form select {
	float:left;
	border:1px solid #ddd;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	background:#fff;
	font-size:12px;
	line-height:23px;
	height:33px;
	width:100%;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	padding:5px 9px;
	margin:0;
	color:#6d6d6d;
}
.reg-form ::-webkit-input-placeholder {color:#6d6d6d;}
.reg-form ::-moz-placeholder {
	color:#6d6d6d;
	opacity: 1;
}
.reg-form :-moz-placeholder {
	color:#6d6d6d;
}
.reg-form .btn-holder{
	overflow:hidden;
	padding: 16px 0 0;
}
.reg-form .btn{
	float:left;
	
	width:206px;
	height:43px;
	padding:0 0 2px;
	margin:0 22px 0 0;
	background:#f8f8f8 url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y4ZjhmOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNmU2ZTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #f8f8f8 0%, #e6e6e6 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#e6e6e6));
	background: -webkit-linear-gradient(top,  #f8f8f8 0%,#e6e6e6 100%);
	background: -o-linear-gradient(top,  #f8f8f8 0%,#e6e6e6 100%);
	background: -ms-linear-gradient(top,  #f8f8f8 0%,#e6e6e6 100%);
	background: linear-gradient(to bottom,  #f8f8f8 0%,#e6e6e6 100%);
	border-style:solid;
	border-width:1px;
	border-color:#d7d7d7 #e2e2e2 #b7b7b7;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}

.reg-form .btn.try{
	border-top: 1px solid #cad967;
	border-left: 1px solid #cad967;
	border-right: 1px solid #627b29;
	border-bottom: 1px solid #627b29;
	color: #ffe;
	font-weight: bold;
	font-size: 1.4em;
	line-height: 1.9em;
	padding: 0 14px;

	background: -moz-linear-gradient(top,  #f5ff98 0,#9ac14a 35%,#748d40 90%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5ff98), color-stop(35%,#9ac14a), color-stop(90%,#748d40));
	background: -webkit-linear-gradient(top,  #f5ff98 0%,#9ac14a 35%,#748d40 90%);
	background: -o-linear-gradient(top,  #f5ff98 0%,#9ac14a 35%,#748d40 90%);
	background: -ms-linear-gradient(top,  #f5ff98 0%,#9ac14a 35%,#748d40 90%);
	background-image: linear-gradient(rgb(245, 255, 152) 0px, rgb(154, 193, 74) 35%, rgb(116, 141, 64) 90%);
	background: linear-gradient(#f5ff98 0,#9ac14a 35%,#748d40 90%) repeat scroll 0 0 #9ac14a;

}

.reg-form .btn.try:hover {
	text-decoration: none;
	background-color: #a7cf50;
	background: linear-gradient(#F5FF98 0%, #a7cf50 35%, #7d9845 90%) repeat scroll 0 0 #a7cf50;
}

.reg-form .btn.try:active {
	text-decoration: none;
	background-color: #a7cf50;
	background: linear-gradient(#F5FF98 0%, #a7cf50 35%, #7d9845 90%) repeat scroll 0 0 #a7cf50;
	border-top: 1px solid #627b29;
	border-left: 1px solid #627b29;
	border-right: 1px solid #cad967;
	border-bottom: 1px solid #cad967; 	
}

.reg-form a.resetpass-link {
	display: inline-block;
	margin-top: 10px;
}
.reg-form .step{
	float:left;
	font-size:14px;
	line-height:18px;
	color:#000;
	padding: 14px 0 0;
	word-spacing: 2px;
}
.tab-content{
	padding:0 2px 0 6px;
	overflow:hidden;
}
.gallery{
	float: right;
	margin: 0;
	padding: 10px;
	width: auto;
	background-color: #f2f2f2;
	border-radius: 9px;
}
.gallery .slideset{
	position:relative;
	margin-bottom: 12px;
	min-height:390px;
}
.gallery .slide{
	position:absolute;
	top:0;
	left:0;
	right:0;
}
.pagination-box{
	text-align:right;
	font-size:11px;
	line-height:13px;
	padding:0 2px 0 0;
}
.gallery .slide img{
	width:100%;
	height:auto;
	max-width:100%;
}
.pagination-box a{
	color:#fff;
	text-decoration:none;
}
.pagination-box a:hover{text-decoration:underline;}
.pagination{
	display:inline-block;
	vertical-align:top;
	margin:0 9px;
	padding:2px 0 0;
	list-style:none;
	text-align:left;
}
.pagination li{
	float:left;
	padding:0 4px 0 5px;
}
.pagination a{
	display:block;
	overflow:hidden;
	text-indent:-9999px;
	background:url(../images/sprite_synesis.png) no-repeat 0 -92px;
	width: 12px;
	height: 12px;
}
.pagination a:hover,
.pagination .active a{background-position:-20px -92px;}
#footer{
	overflow:hidden;
	font-size:11px;
	line-height:14px;
	color:#fff;
	padding-bottom: 21px;
}
.copyright{
	float:left;
	margin:0 73px 0 0;
}
#footer a{color:#8fbede;}
#login-header-message-panel {color: red}
.error {
	color: red;
	border-bottom: 1px dotted red;
	display:inline-block;
	vertical-align:top;
	margin-bottom:11px;
}
img.captcha {
	border:1px solid #ddd;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}
.lhm {
	background-color:#fff;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	color:#000;
	padding:20px;
	min-width:400px;
	font-size: 14px;
	box-shadow: 0 0 20px 4px #999;
	display:none;
}
.lhm-error {
	color: red;
}
.lhm-info {
	
}
.lhm-warning {
	color: orange;
}
.invisible {display:none;}
.close-button {
	float: right;
	margin: -24px -24px 0 0;
	line-height: 22px;
	width:24px;
	height:24px;
	background-color: #0264C5;
	font-weight: bold;
	color: white;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	border-radius:6px;
	cursor: pointer;
}
.close-button span {margin-left: 8px}
.lhm p {
	margin: 0;
	padding: 7px;
}

.feedback-trigger {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: url('../images/css/menu_pattern.png') repeat scroll 0 0;
    border-color: -moz-use-text-color rgb(34,34,34) rgb(34,34,34);
    border-color: rgb(34,34,34);
    border-image: none;
    border-radius: 0 0 5px 5px;
    border-right: 2px solid rgb(34,34,34);
    border-style: none solid solid;
    border-width: medium 2px 2px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    
    color: white;
    display: block;
    font-family: arial,FreeSans,Helvetica,sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    position: fixed;
    text-decoration: none;
    white-space: nowrap;
	z-index: 100;
}

a.feedback-trigger {
	text-decoration: none;
}

.feedback-trigger.atlwdg-RIGHT {
    left: 100%;
    top: 40%;
    transform: rotate(90deg);
    transform-origin: left top 0;
    -webkit-transform: rotate(90deg);
    -webkit-transform-origin:top left;
    -ms-transform: rotate(90deg); /* IE 9 */
	-ms-transform-origin:top left;
}