/*
 * Layout: Andrey Khaltamov aka BaNru / admin@g63.ru
 * Верстка: Андрей Халтамов [BaNru] / admin@g63.ru
 */

@import url(http://fonts.googleapis.com/css?family=Ubuntu:400,500&subset=cyrillic-ext,latin-ext);

/* reset v.0.003 beta :-) */

/* reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,
abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,
strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,
figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,
time,mark,audio,video{margin:0;padding:0;border:0;vertical-align:top;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,
header,aside{display:block;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
sup{vertical-align:text-top;}
a,label,button,input[type='button'],input[type='checkbox'],input[type='radio'],
input[type='image'],input[type='reset'],input[type='submit']{cursor:pointer;}
/* /reset */

/* global */
html,body{min-height:100%;height:100%;}
html{background-color:#fff;}
body{color:#666;font:100%/150% Ubuntu, 'Droid Sans', Tahoma, Verdana, Arial, sans-serif;width:100%;min-width:1008px;margin: 0 auto;}

a {
	color: #50C1E9;
	text-decoration: none;
}
a:hover {
	color: #f60;
	text-decoration: underline;
}

h1,h2,h3,h4,h5,h6 {
	clear: both;
	font-weight:normal;
	line-height:1.6em;
	margin: 0;
}
h1{
	font-size:1.8em;	
}
h2{
	font-size:1.2em;
}
h3{font-size:1.4em;line-height: 2.145em;margin:2.11em 0 1.1em;}
h4{font-size:1.2em;}
h5{font-size:1em;}
h6,footer{font-size:.8em;}
h2+h3, h3+h4 {margin-top:0;}

p {
	margin: .5em 0;
	/*text-align:justify;*/

	-moz-hyphens: auto;
	-khtml-hyphens: auto;
	-webkit-hyphens: auto;
	-o-hyphens: auto;
	-ms-hyphens: auto;	
	hyphens: auto;
}

table, tr, th, td {border: 1px solid #D6D6D6;}
table {margin: 10px 0;}
th {background-color: #F5F5F5;}
th, td {padding: 2px 10px;}

hr {
	border: 1px dashed #464646;
	border-width: 1px 0 0;

	margin-top: 1.5em;
	margin-top: -moz-calc(1.5em - 1px);
	margin-top: -khtml-calc(1.5em - 1px);
	margin-top: -webkit-calc(1.5em - 1px);
	margin-top: -o-calc(1.5em - 1px);
	margin-top: -ms-calc(1.5em - 1px);
	margin-top: calc(1.5em - 1px);
}

/* Forms */
fieldset {
	margin-bottom: 1em;
}
legend {
    margin: 0.5em 0;
}
input, textarea, select, option,
button, .submit, optgroup {
	background-color: #fff;
	color:#666;
	font-size: 16px;
	line-height: 20px;
	display: block;
	padding: 12px;
	-moz-box-sizing: border-box;
	-khtml-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
input, textarea, select, .submit {
	margin-bottom: 1em;
	border: 1px solid #ccc;
	width: 100%;
}
input[type="text"], input[type="password"], textarea {
	-moz-box-shadow: 1px 1px 1px 0 #aaa inset;
	-khtml-box-shadow: 1px 1px 1px 0 #aaa inset;
	-webkit-box-shadow: 1px 1px 1px 0 #aaa inset;
	-o-box-shadow: 1px 1px 1px 0 #aaa inset;
	-ms-box-shadow: 1px 1px 1px 0 #aaa inset;
	box-shadow: 1px 1px 1px 0 #aaa inset;
}
input[type="submit"], input[type="button"], .submit {
	-moz-box-shadow: 1px 1px 1px 0 #aaa;
	-khtml-box-shadow: 1px 1px 1px 0 #aaa;
	-webkit-box-shadow: 1px 1px 1px 0 #aaa;
	-o-box-shadow: 1px 1px 1px 0 #aaa;
	-ms-box-shadow: 1px 1px 1px 0 #aaa;
	box-shadow: 1px 1px 1px 0 #aaa;
	background-color:#50C1E9;
	color:#fff;
	text-align: center;
	border: 1px solid #50C1E9;
	width: 50%;
}
input[type="submit"]:hover, input[type="button"]:hover, button:hover, .submit:hover {
	background-color:#e60;
	color:#fff;
	text-decoration: none;
}
textarea {
	min-height: 7em;
}
optgroup option {
	padding-left: 1em;
}
input[type="checkbox"], input[type="radio"] {
	width: auto;
	display: none;
}
input[type="checkbox"] + label, input[type="radio"] + label {
	position: relative;
	text-align: left;
	padding-left: 2em;
	margin-right: 2em;
}
input[type="checkbox"] + label:before, input[type="checkbox"] + label:after,
input[type="radio"] + label:before, input[type="radio"] + label:after {
	content: "";
	position: absolute;
}
input[type="radio"] + label:before, input[type="radio"] + label:after {
	border-radius: 100%;
}
input[type="checkbox"] + label:before, input[type="radio"] + label:before {
	background-color: #fff;
	box-shadow: 0 0 1px 0px #000 inset;
	border: 1px solid #666;
	left: 0;
	top: 0;
	width: 1em;
	height: 1em;
}
input[type="checkbox"]:checked + label:after, input[type="radio"]:checked + label:after {
	left: 5px;
	top: 5px;
	background-color: #03639F;
	width: .5em;
	height: .5em;
}
input[type="checkbox"] + label:hover:before, input[type="radio"] + label:hover:before {
	border: 1px solid #E5A128;
}
input[type="checkbox"]:checked + label:hover:after, input[type="radio"]:checked + label:hover:after {
	background-color: #E5A128;
}
input[type="checkbox"]:disabled + label, input[type="radio"]:disabled + label {
	color: #999;
}
input[type="checkbox"]:disabled + label:before, input[type="radio"]:disabled + label:before {
	border-color: #999;
}
input[type="checkbox"]:disabled + label:after, input[type="radio"]:disabled + label:after,
input[type="checkbox"]:checked:disabled + label:hover:after, input[type="radio"]:checked:disabled + label:hover:after {
	background-color: #999;
}

input:-moz-placeholder{color:#999;}
input::-moz-placeholder{color:#999;}

#topbtn {
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-khtml-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
/* /global */


.index > header, .index > section, .index > footer {
	width: 100%;
	margin: 0 auto;
	max-width: 800px;
}
.index > header {
	height: 40%;
	display: table;
}
.index > section {
	height: 60%;
	display: table;
}

body > header h1 {
	margin: 0;
	display: table-cell;
	height: 100%;
	vertical-align: bottom;
	padding-bottom: 30px;
}
body > header h1 a {
	background: 50% 50% no-repeat transparent;
	overflow: hidden;
	margin: 0 auto;
	height: 57px;
	text-indent: -9999px;
}
body.result > header h1 a {
	background-image: url('../img/logo-kaz-kz-m.png');
	width: 57px;
	float: left;
}
body.index > header h1 a {
	background-image: url('../img/logo-kaz-kz.png');
	width: 270px;
	display: block;
}


nav ol, nav ul, footer ol, footer ul, .lang {
	list-style: none
}


.lang, nav.menu {
	position: absolute;
	top: 20px;
	right: 60px;
}
ol.lang {
	z-index: 99;
}
ol.lang li {
	display: inline-block;
	height: 20px;
	line-height: 18px;
	font-size: 12px;
	width: 36px;
	overflow: hidden;
	position: relative;
	text-align: center;
}
ol.lang li.active, ol.lang li:hover {

}
ol.lang li a {
	display: block;
	color: #666;
}
ol.lang li.active a, ol.lang li a:hover {
	text-decoration: underline;
}

nav.menu {
	right: 30px;
}
nav.menu ol {
	background-color: #f0f0f0;
	padding: 40px 15px 10px;
    position: absolute;
    right: -10px;
    top: -5px;
    width: 270px;
    z-index: 1;
}
nav.menu:before {
	content: "≡";
	display: inline-block;
	font-size: 20px;
    font-weight: normal;
	height: 20px;
	width: 20px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	position: relative;
	z-index: 100;
}
nav.menu ol {
	display: none;
}
nav.menu:hover ol {
	display: block;
}
nav.menu li a {
	float: left;
	font-size: 12px;
	height: 75px;
	line-height: 16px;
	text-align: center;
	width: 90px;
	color: #666;
}
nav.menu li a:before {
	width: 30px;
	height: 30px;
	margin: 0 auto;
	content: "";
	display: block;
	background: url('../img/home.svg') no-repeat 50% 50%;
	opacity: .25;
}




.index > section {
	margin-bottom: -60px;
	max-width: 600px;
}
form.search-form .search, form.search-form .search input {
	position: relative;
	margin-bottom: 0;
}
form.search-form .search button, #topbtn {
	position: absolute;
	right: 3px;
	top: 3px;
	width: 40px;
	height: 40px;
	text-indent: -9999px;
	overflow: hidden;
	border: 0;
	font-size: 1em;
	font-size: 16px;
	line-height: 40px;
	padding: 0 0 0 6px;
	font-weight: bold;
	background-color: #50C1E9;
	color: #fff;
	text-decoration: none;
}
form.search-form .search button:after {
	background: url('../img/search.png') 50% 50% no-repeat transparent;
	width: 35px;
	height: 38px;
	content: "";
	float: right;
	margin-left: 5px;
	background-size: 20px 20px;
}
form.search-form .search button:hover:after {
	background-image: url('../img/search+.png');
}
form.search-form .search button:hover, #topbtn:hover {
	background-color: #f60;
/*	width: auto;
	text-indent: 0;*/
}
form.search-form fieldset, form.search-form fieldset.ph a, form.search-form fieldset label {
	line-height: 24px;
}
form.search-form fieldset.ph a {
	float: right;
	color: #666;
}
form.search-form fieldset.filter legend {
	margin: 0 .25em 0 0;
	float: left;
}
form.search-form fieldset label {
	padding: 0 .25em;
	margin: 0;
	display: inline-block;
}
form.search-form fieldset.filter label:hover {
	text-decoration: underline;
}
form.search-form fieldset.filter input:checked + label {
	font-weight: bold;
}
form.search-form fieldset.ph label {
	color: #aaa;
	padding: 0 2em;
	bottom: -1px;
	margin-top: -1px;
	position: relative;
	z-index: 999;
	border: 1px solid transparent;
	border-bottom: none;
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	border-radius: 4px 4px 0 0;
}

form.search-form fieldset.ph input:checked + label, form.search-form fieldset.ph label:hover {
	color: #666;
	background-color: #fff;
	border-color: #ccc;
}
form.search-form fieldset.filter input + label::before,
form.search-form fieldset.filter input + label::after,
form.search-form fieldset.ph input + label::before,
form.search-form fieldset.ph input + label::after {
	display: none;
}
form.search-form fieldset.filter {
	margin: .5em 5px;
}
form.search-form fieldset.ph {
	margin: 0 5px 0 0;
}


.result > header {
	padding: 20px 170px 20px 100px;
}
.result > header h1, .result .search-form {
	float: left;
	padding-bottom: 10px;
}
.result .search-form {
	width: 100%;
	max-width: 800px;
}
.result > header h1 {
	margin: 3px 0 0 -80px;
}

.result > section, .result > nav {
  padding: 0 0 0 85px;
  max-width: 800px;
}
.result > section article {
	padding: 15px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	cursor: pointer;
	margin-bottom: 1em;
}
.result > section article h2 {
	display: inline;
}
.result > section article:hover, .page_navi a:hover {
	background-color: #f0f5f5;
}
.result > section article > a {
	vertical-align: text-top;
}
.result > section article a img {
	margin-bottom: 0.2em;
	vertical-align: bottom;
}
.ad {
	background-color: #f0f5f5;
	float: left;
	padding: 4px 8px;
	margin: 0 10px 0 -10px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: .8em;
	color: #999;
}
section.about {
	max-width: none;
	border: 1px solid #eee;
	border-width: 1px 0;
	margin-bottom: 1em;
}
section.about article {
	margin-bottom: 0;
}
section.about,  .result > section.about article:hover{
	background-color: #f0f0f0;
	cursor: default;
}
section.about h2, section.about p, section.about a {
	display: table-row;
}
section.about h2::after, section.about p::after, section.about a::after {
    content: "";
    display: block;
    height: 0.25em;
}

nav.page_navi {
	text-align: center;
	padding: 20px
}
.page_navi li {
	list-style: none;
	display: inline-block;
}
.page_navi a {
	padding: 5px 10px;
	display: block;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
}


/* footer */
.index > footer {
	width: 100%;
	height: 60px;
	line-height: 60px;
}
footer ol {
	float: left;
}
footer ol li {
	display: inline-block;
	margin: 6px 10px;
}
footer ol li a {
	display: block;
	overflow: hidden;
	text-indent: -9999px;
	width: 48px;
	height: 48px;
	background: no-repeat 50% 50%;
	-moz-background-size: 32px 32px;
	-webkit-background-size: 32px 32px;
	background-size: 32px 32px;
	opacity: .25;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}
footer ol li a.start {
	background-image: url('../img/home.svg');
}
footer ol li a.fav {
	background-image: url('../img/fav.svg');
}
footer ol li a.info {
	background-image: url('../img/info.svg');
}
footer ol li a:hover {
	opacity: .75;
	background-color: #ddd;
}
footer p {
	text-align: right;
	color: #999;
	margin: 0;
}
#topbtn {
	bottom: 20px;
	font-size: 32px;
	line-height: 32px;
	padding: 0;
	position: fixed;
	right: 20px;
	text-align: center;
	text-indent: 0;
	top: auto;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
/* /footer */


/* global */
.right {text-align: right}
.left {text-align: left}
.center {text-align: center}

.bold {font-weight:bold}
q, .italic{font-style:italic}

.clear{clear:both}
.clear_after:after, body>header:after,
section.about article:after {
	content: "";
	border: none;
    clear: both;
    float: none;
    font-size: 0;
    height: 0;
    line-height: 0;
	display: block;
	margin: 0;
    padding: 0;
}
.hide {display:none}

/* color */
.red {color: red}
.blue {color: #00C0FF}
.green {color: green}
.orange {color: #FFA200}
/* /global */