/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background:#7D7667; color: #fff; text-shadow: none; }
::selection { background:#7D7667; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: 
   ========================================================================== */

/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
.fl {float:left;}
.fr {float:right;}
.cl {clear: both;}
.clr {clear: both; display: block; width:0; height:0; overflow: hidden; font-size: 0;}
.nav-skip {position: absolute; left:-12345em; margin-top:-12em;}
.centered {width:960px; margin:0 auto;}

#header {padding: 30px 0 15px 0;}
#container { min-width:960px;}

#nav-logo {
	display: block; width:315px; height:0px; padding-top:52px; overflow: hidden;
	margin-bottom:15px;
}

#header-navs {
	position: absolute; top:0;
	left: 50%; 
	width:630px; margin-left:-150px; /* centered/2 - logo_space */
	text-align: right;
}
#content {padding-top:34px;}
#footer {padding:25px 0;}
#nav-footer {float: right;}
#wrapper {padding-bottom:15px;}

.column-top {padding:10px 0;}
.column-center {float: left; width:630px; padding-right:30px;}
.column-right {float: right; width:300px;}

.column-center table {width:100%;}

.tpl-wide .sub-pages {padding-bottom:25px; padding-top:14px;}
.tpl-wide .sub-page {
	float: left; width:310px; 
	padding-left:7px; padding-right:7px;
	border-left: solid 1px #e7b5b1;
	border-right: solid 1px #e7b5b1;
	margin-right:-1px;
	margin-bottom:28px;
}
.tpl-wide .sub-pages .first, .tpl-wide .sub-pages .forth {
	padding-left:0px;
	border-left: none;
	clear: both;
}
.tpl-wide .sub-pages .third {
	padding-right:0;
	border-right: none;
}
.tpl-wide .sub-page-inner {
	/**border-bottom: solid 1px #e7b5b1; /**/
	margin-bottom:-7px; margin-top:-14px;
}html {background: url(../img/bgd-patern-gray.jpg) repeat 50% 0 #fff;}
body {color:#6d6d6d;}
#container {background: url(../img/bgd-patern.jpg) repeat 50% 0 #fff fixed;}

#header {background: url(../img/header-bgd.jpg) repeat 50% 50% #c21c12; }
#nav-logo {background: url(../img/im-logo.png) no-repeat 0 0;}

h1, h2, h3, .heading {font-family: 'Cuprum', sans-serif; font-weight: normal; color:#bf1e12;}
h1, .sub-page h2 {font-size:2.77em; margin:0; padding-bottom:10px;}
h1 a, h2 a, h3 a {text-decoration: none;}
h1 a:hover, h2 a:hover, h3 a:hover {text-decoration: underline;}

a { color: #BF1E12; }
a:visited { color: #A01910;}
a:hover { color: #D32115;}

.column-top {background: url(../img/bgd-patern-light.jpg) repeat 50% 0;}

.nav-np {
	padding:15px;
	background: url(../img/bgd-patern-light.jpg) repeat 50% 0;
}

#nav-main {padding-top:23px;}
#nav-main ul {list-style-type: none; padding:0; margin:0;}
#nav-main li.l1 {display: inline-block; position: relative;}
#nav-main a {
	display: block;	padding:5px 10px; font-size:16px;
	color: #fff; text-decoration: none;
	text-transform: lowercase;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.lt-ie8 #nav-main li.l1, .lt-ie8 #nav-main a.l1{display: inline; zoom:1;}

#nav-main ul.l2 {
	position: absolute; visibility: hidden; text-align: left;
	left:0; background: url(../img/blank.gif);
}
.lt-ie8 #nav-main ul.l2 {top: 2em;}

#nav-main li:hover ul.l2 {visibility: visible;}
#nav-main li.l2 {padding-top:5px;}
#nav-main a.l2 {background: url(../img/header-bgd.jpg) repeat 30% 30% #c21c12; }

#nav-main a:hover {text-decoration: underline;}
#nav-main a.active {background: #fff; color: #bf1e12; text-decoration: none;}

#nav-langs {padding:5px;}
#nav-langs .lang-sel {
	display: inline-block; height:11px; overflow: hidden;
	line-height:11px; font-size:10px; color: #fff;
	padding-right:5px;
	text-decoration: none;
}
#nav-langs a.lang-sel {opacity:0.7}
#nav-langs a:hover {text-decoration: underline; opacity:1}

.lang-sel i {
	float: left; display:inline; width:16px; height:11px;
	margin-right:3px;
	background: url(../img/icons.png) no-repeat transparent;
}
.flag-bg i {background-position: 0 -11px;}
.flag-be i {background-position: 0 -22px;}
.flag-en i {background-position: 0 -33px;}
.flag-ru i {background-position: 0 -44px;}

.link-icon {
	display: inline-block; line-height:19px; text-decoration: none;
}
.link-icon i {
	display:inline-block; width:19px; height:19px;
	margin-bottom:-4px;
	background-image: url(../img/icons.png);
	background-repeat: no-repeat;
}
.link-icon .arrow-upp {background-position: -50px -20px;}
.link-icon .arrow-right {background-position: -50px 0;}
.link-icon .arrow-down {background-position: -70px 0px;}
.link-icon .arrow-left {background-position: -70px -20px;}

.wgt-box {
	padding:15px; background: url(../img/bgd-patern-gray.jpg) repeat 50% 0 #D8D8D8;
	margin-bottom:15px;
}
.wgt-box h3 {margin-top:0; font-size:2.15em; margin-bottom:15px;}
.wgt-box ul {padding-left:20px;}

.banners {position: relative;}
.banners .banner-nav {
	position: absolute; top:50%;
	width:30px; height:30px; margin-top:-7px;
	overflow: hidden;
	cursor: pointer;
}
.banners .banner-nav i {
	display: block; width:30px; height:30px;
	background-image: url(../img/icons.png);
	background-repeat: no-repeat;
}
.banners .banner-prev {left:0;}
.banners .banner-prev i {background-position: -80px -70px;}
.banners .banner-next {right:0;}
.banners .banner-next i {background-position: -50px -40px;}
/**
.banners .banner-prev:hover i {margin-left:-30px;}
.banners .banner-next:hover i {margin-left:30px;}
/**/

.sub-page-inner {padding:5px; }
.sub-page h2 {line-height: 40px; padding-top: 15px; margin-bottom:0; padding-bottom:0; }

.sub-number {
	font-size:50px; line-height:60px; width:60px; 
	background: #bf1e12;
	text-align: center;
	color:#fff;
	font-weight:bold;
	text-transform: uppercase;
	float: left; display: inline;
	margin-right:16px;
	padding:5px;
	border-radius: 70px;
}
.sub-summary {clear: both; padding-top:10px;}

.nav-wrapper ul {padding:0; list-style-type: none;}
.nav-wrapper ul.l1 {}
.nav-wrapper ul ul { padding-left:26px; list-style-type: disc; margin-top:0.5em;}
.nav-wrapper li.l1 {color:#BF1E12;}
.nav-wrapper a {
	text-decoration: none;
	display: block;  padding: 2px 6px;
	color: #6D6D6D;

}
.nav-wrapper a.l1 {background:#9d9d9d; color:#fff;}
.nav-wrapper a.l2, .nav-wrapper a.l1:hover {text-decoration: underline;}
.nav-wrapper a.l2:hover {text-decoration: none;}

thead th {
	background-color:#9D9D9D; color: #fff; padding:4px 8px;
	text-align: left;
}
tbody td {padding:2px 4px;}

#footer a {color:#6d6d6d; text-decoration: none;}
#footer a:hover {text-decoration:underline;}

.lang-ru .sp-language-training h2, 
.sp-legalization-of-foreign-documents h2{
	padding-top:0;
}form {font-family: arial, helvetica, sans-serif;}

fieldset {border: none; margin:0;}
fieldset .label {
	display: block; padding:8px; font-size:0.85em;
	position: relative;
	background-color: #f4f4f4;
	border: solid 1px #bbb;
	margin-bottom:4px;
	border-radius:8px;
	box-shadow: 0 0 2px #ccc inset,  0 0 2px 1px rgba(255,255,255,0.8);
}
fieldset .field-kImg {width:40%; float: left; margin-right:20px;}
fieldset .req {position: absolute; right:6px; top:2px;}
fieldset span.error {clear: both; display: block;  font-size:0.85em; margin-bottom:1em; }
fieldset span.error, fieldset .req{color: red;}
fieldset textarea {resize:vertical; min-height:6em; max-height:30em;}

fieldset .text-info {position: absolute; visibility:hidden;}
fieldset .text-empty .text-info { visibility:visible;}
fieldset .text-focus .text-info { visibility:hidden;}
fieldset .text {
	width:100%; padding:0; margin:0; border:none; background: transparent;
	color: inherit;
}
fieldset .label {
	background-image: -o-linear-gradient(bottom, rgb(250,250,250) 0%, rgb(220,220,220) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(250,250,250) 0%, rgb(220,220,220) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(250,250,250) 0%, rgb(220,220,220) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(250,250,250) 0%, rgb(220,220,220) 100%);

	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(250,250,250)),
		color-stop(1, rgb(220,220,220))
	);
	background-image: linear-gradient(bottom, rgb(250,250,250) 0%, rgb(220,220,220) 100%);
}
fieldset label.error { border: solid 1px #F23521; background-color: #FCC; color:#C01C12;}
fieldset label.error {
	background-image: -o-linear-gradient(bottom, rgb(255,222,222) 0%, rgb(255,186,186) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(255,222,222) 0%, rgb(255,186,186) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(255,222,222) 0%, rgb(255,186,186) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(255,222,222) 0%, rgb(255,186,186) 100%);

	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(255,222,222)),
		color-stop(1, rgb(255,186,186))
	);
	background-image: linear-gradient(bottom, rgb(255,222,222) 0%, rgb(255,186,186) 100%);
}

fieldset .text:focus {}
fieldset label.error {position: relative;}
.errors, .success { padding:1px 16px; margin-bottom: 1em;}
.errors {background-color: #fdd; border: solid 1px #faa;}
.success { background-color: #ecffd9; border: solid 1px #cf9;}

fieldset h4 {margin:0;}

.btn-submit {
	display: block; width:125px; height:35px;
	line-height:35px;
	text-align: center; color:#fff;
	background: url(../img/icons.png) no-repeat 0 -100px;
	border: none;
	font-size:14px; text-transform: uppercase;
	float: right;
	
}.sql_debug {font-size:10px; width:100%;}
.sql_debug tr td {background-color:#fff;}
.sql_debug tr:nth-of-type(2n) td {background-color:#eee;}/* ==|== media queries ====================================================== */
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

}


@media only screen and (min-width: 480px) {

}

@media only screen and (min-width: 768px) {
	
}

/* tall screen */
@media only screen and (min-height:768px){

}

/* wide screen ? */
@media only screen and (min-width:1124px){
}
/** test **/
@media only screen and (max-width:320px){
}

@media only handheld {
}/* ==|== print styles ======================================================= */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
