html,body{height:100%;}
body{
	background: #313639;
	font:14px/22px Arial, Helvetica, sans-serif;
	color:#596266;
	position:relative;
	min-width:960px;
	-webkit-text-size-adjust: none;
}
/*********************************header*************************************/
header{
	width:100%;
	background:url(../images/content-tail.gif) center top repeat;
	padding:30px 0 35px;
}
	#page1 header{padding:30px 0 51px;}
header .indent-bottom{padding-bottom:35px;position: relative;}
header h1 a,
header h1 span {
	display:block;
	width:180px;
	height:70px;
	overflow:hidden;
	text-indent:-100%;
	font-size:0;
	line-height:0;
	background:url(../images/logo2.png) 0 0 no-repeat;
}
h1 a:hover{text-decoration:none;}

.top-info {
	position: absolute;
    right: 60px;
    top: -13px;
}
.top-info li {
	float: left;
	font-weight: bold;
	color: #889297;
	line-height:18px;
	font-size:12px;
}
.top-info li.indent-right {
	margin-right: 15px;
}
.icon-top {
	display: inline-block;
    height: 18px;
    text-indent: 9999px;
    width: 18px;
	margin-left:8px;
}
.phone {
	background: url(../images/i-phone.png) center no-repeat
}
.contacts {
	background: url(../images/i-e-mail.png) center no-repeat
}
.facebook {
	background: url(../images/i-facebook.png) center no-repeat
}

/********************************* Content **********************************/
#content{
	width:100%;
	background:url(../images/content-tail.gif) center top repeat;
	padding-bottom:54px;
}
#content b, strong {
	font-weight: bold;
}
#content em {
	font-style: italic;
}
#content ul,ol {
    list-style-position: outside;
    margin: 0 0 20px;
    padding: 0 0 0 30px;
}
#content ul li {
    list-style-type: square;
}
#content ol li {
    list-style-type: decimal;
}
h2 {
  font: 24px/28px "Oswald",sans-serif;
  margin: 0 0 15px;
  text-transform: uppercase;
}

/* ---------- Titles ---------*/
h1 {
    color: #596266;
    font: 400 20px/24px "Oswald",sans-serif;
    margin: 0 0 20px 10px;
    text-transform: uppercase;
    word-spacing: 2px;
	display: inline-block;
}
h1.logo {
	margin: 0;
	padding: 0;
	font:inherit;
	float:left;
}
h3{
    border-top: 5px solid #d4d8d9;
    color: #596266;
    font: 400 20px/24px "Oswald",sans-serif;
    margin: 0 0 20px;
    padding-top: 12px;
    text-transform: uppercase;
    word-spacing: 2px;
}
	h3.title1{padding-top:0; border-top:none; line-height:25px;}
	h3.title2{padding-top:0; border-top:none; color:#d23434;}
	h3 a{color:inherit; text-decoration:none;}
		h3 a:hover{color:#d23434; text-decoration:none;}
h6{font:normal 14px/22px Arial, Helvetica, sans-serif; color:#d23434;}

/*---------- Columns --------*/
.col-9{float:right; margin-left:10px; margin-right:10px; width:700px;}
/*----------- Other -----------*/
.fleft{float:left; width:75%;}
.fright{float:right;}
.aright{text-align:right;}
/*---------- Links ----------*/
a{color:#d23434; outline:none; cursor:pointer; text-decoration:underline;}
	a:hover{text-decoration:none;}
a[href^="tel:"]{text-decoration:none;}
.button{
	display:inline-block;
	cursor:pointer;
	font:14px/22px Arial, Helvetica, sans-serif;
	color:#fff;
	text-decoration:none;
	padding:6px 13px 7px;
	background:#d23434;
}
	.button:hover{text-decoration:none; background-color:#313639;}

/*----- Images -----*/
.img-indent{float:left; margin-right:20px;}
/*---------- Lists -----------*/
.last-item{margin-right:0 !important; margin-bottom:0 !important;} 
.list-1 li{
	font:14px/22px Arial, Helvetica, sans-serif;
	color:#3f3f3f;
	padding-left:9px;
	background:url(../images/marker-1.gif) 0 7px no-repeat;
	margin-bottom:5px;
}
	.list-1 a{text-decoration:none; color:#d23434;}
		.list-1 a:hover{text-decoration:none; color:inherit;}
/*---------- Indents ---------*/
p{margin-bottom:20px}
	.p0{margin-bottom:0;}		.p0-1{margin-bottom:3px;}
	.p1{margin-bottom:5px;}		.p1-1{margin-bottom:8px;}
	.p2{margin-bottom:10px;}	.p2-1{margin-bottom:12px;}
	.p3{margin-bottom:15px;}	.p3-1{margin-bottom:18px}
	.p4{margin-bottom:20px;}	.p4-1{margin-bottom:22px;}
	.p5{margin-bottom:25px;}	.p5-1{margin-bottom:28px;}
	.p6{margin-bottom:30px;}	.p6-1{margin-bottom:32px;}
	.p7{margin-bottom:35px;}	.p7-1{margin-bottom:37px;}
	.p8{margin-bottom:40px;}	.p8-1{margin-bottom:42px;}
.indent-top1{padding-top:6px;}
.indent-bottom4-1{padding-bottom:23px;}
.indent-bottom5{padding-bottom:25px;}
.indent-bottom6-1{padding-bottom:33px;}
.indent-bottom8{padding-bottom:40px;}
/*----------- Map ------------*/
.map iframe{width:100%; height:255px;}
.map dl{margin: 10px 0 0 -10px;overflow: hidden;position: relative;width: 100%;}
.map dt{font:400 20px/27px 'Oswald', sans-serif; color:#d23434; text-transform:uppercase; word-spacing:2px; margin-bottom:10px;}
.map dl span {float:left; width:84px;}
.map dl a{text-decoration:none;}
.map dl a:hover{text-decoration:underline;}

/************************************** Footer *************************************/
footer {
    line-height: 24px;
    padding: 24px 0;
    width: 100%;
}
	footer h3{
		padding-top:0;
		border-top:0;
		font-size:24px;
		line-height:30px;
		color:#fff;
	}
	footer h6{font-weight:bold; color:#fff; line-height:inherit;}
	.social-icons{overflow:hidden;}
		.social-icons li{float:left; width:50%; padding-bottom:6px;}
		.social-icons a{
			display:inline-block;
			color:#fff;
			text-decoration:none;
			padding-left:27px;
			background-position: 0 4px;
			background-repeat:no-repeat;
		}
			.social-icons a:hover{color:#889297; text-decoration:none;}
			.social-icons a.icon-1{background-image:url(../images/icon1.jpg);}
			.social-icons a.icon-2{background-image:url(../images/icon2.jpg);}
			.social-icons a.icon-3{background-image:url(../images/icon3.jpg);}
			.social-icons a.icon-4{background-image:url(../images/icon4.jpg);}
		.footer-text {color: #fff;margin: 12px 0 0;}
		.footer-text strong{font-weight:bold;}
		.footer-text a{color:inherit; text-decoration:none;}
			.footer-text a:hover{color:#889297; text-decoration:none;}
.footer-contacts .item{
	float: left;
	width:233px;
}
.footer-contacts .item dd.title{
	color:#fff;
}
.footer-contacts .item dd.title a {
    color: #fff;
}



/*----------- Back to top --------------*/
#toTop {
	display:none;
	width:55px;
	height:55px;
	overflow:hidden;
	background:url(../images/totop.jpg) center top no-repeat;
	position:fixed;
	margin-right:-560px !important;
	right:50%;
	bottom:100px;
	z-index:999;
}
#toTopHover {
	float:left;
	display:block;
	background:url(../images/totop.jpg) center -70px no-repeat;
	width:55px;
	height:55px;
	overflow:hidden;
	opacity: 0;
}
#toTop:active, #toTop:focus {outline:none;}

.dev {
    float: right;
    text-align: right;
    width: 200px;
	margin-top: 50px;
}

.lang {
    font-size: 12px;
    line-height: 12px;
    position: absolute;
    right: 0;
    top: -10px;
}
.lang li {
    float: left;
    margin: 0 0 0 15px;
}
.lang a {
    background-repeat: no-repeat;
    display: block;
    padding: 0 0 0 20px;
    text-decoration: none;
}
.lang .ru {
    background-image: url("../images/flag-ru.png");
}
.lang .lv {
    background-image: url("../images/flag-lv.png");
}
.lang .en {
    background-image: url("../images/flag-en.png");
}
.icon {
	width: 36px;
	height: 36px;
	display: inline-block;
	text-indent: 9999px;
}
.fb {
	background: url("../images/icon-facebook.png") no-repeat;
}

/*=================================================================================*/
@media only screen and (max-width: 995px) {
	p, .p3, .p3-1{margin-bottom:15px}
		.p4-1, .p5, .p5-1, .p6, .p6-1, .p7, .p7-1, .p8, .p8-1{margin-bottom:20px;}
	.img-indent:not(.img-indent-none-tp) img{width:auto;}
	.col-9{width:556px;}
	.indent-bottom6-1, .indent-bottom8{padding-bottom:30px;}
	/*-----------------------------------------*/
	body{min-width:768px;}
	.social-icons li{float:none; width:100%;}
	#toTop {display:none !important;}
}

@media only screen and (max-width: 767px) {
	.img-indent:not(.img-indent-none-ml) img{width:auto;}
	.col-9{float:none; margin:0 0 30px; width:100%;}
	.indent-top1{padding-top:0;}
	.indent-bottom4-1, .indent-bottom5{padding-bottom:30px;}
	/*-----------------------------------------*/
	body{min-width:420px;}
	.social-icons li{float:left; width:50%;}
}

@media only screen and (max-width: 479px) {
	.img-indent:not(.img-indent-none-mp) img{width:auto;}
	/*-----------------------------------------*/
	body{min-width:300px;}
}

#content .submenu {
    text-transform: uppercase;
    padding: 12px 0 0;
    border-top: 5px solid #d4d8d9;
    color: #596266;
    font: 400 20px/24px "Oswald",sans-serif;
}
#content .submenu li {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    line-height: 25px;
	font-family: "Oswald",sans-serif;
}
#content .submenu ul {
    padding: 5px 0 0 15px;
    font: 14px/22px Arial, Helvetica, sans-serif;
}
#content .submenu li li {
    padding: 0;
    line-height: 18px;
    margin: 0 0 5px;
}
#content .submenu span {
    color: #d23434;
}
#content .submenu a {
    color: inherit;
    text-decoration: inherit;
}
#content .submenu a:hover {
    color: #d23434;
}

.news {
    
}
.news:after {
    clear: both;
    content: " ";
    display: block;
    width: 100%;
}
.news-item {
    clear: left;
    min-height: 170px;
    margin: 0 0 20px;
}
.news-item img {
    float: left;
    margin: 4px 20px 15px 0;
}
.news-item p {
    
}
.news-item p a {
    font-size: 16px;
}

#pagination {
    float: none;
    padding: 0;
}
#pagination span {
    color: #888888;
    font-size: 16px;
    display: inline-block;
    padding: 5px 0 0;
}
#pagination > a {
  display: inline-block;
  text-decoration: none;
  border-bottom: 0;
  font-size: 18px;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  margin-top: 2px;
  color: #000000;
}
#pagination > a.active {
  background: #313639;
  color: #ffffff;
}
#pagination div.switches {
  display: inline-block;
  margin-left: 20px;
}
#pagination div.switches a {
  font-size: 16px;
}
#pagination div.switches a:not(:first-child) {
  margin-left: 10px;
}