@import "colors.css";
@charset "utf-8";
/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

body{
	font-family: MyriadPro-Regular, 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Helvetica, Arial, sans-serif, Verdana;
	font-size:14px;
	line-height:20px;
	margin: 0;
	padding: 0;
	color: #7a797e;
	background: #fff;
}
header{position: fixed; top: 0; z-index: 999; width: 100%; background: #fff; height: 212px}
img, div {display: block;}
.fit-container{ width: 100%; }
#bg-container{ width: 100%; position: absolute; top: 212px; height: 618px; overflow: hidden;}
.center-container{
	max-width: 1141px;
	margin: 0 auto;
	padding: 0;
	position: relative;
}
.content{
	min-height: 558px;
	position: relative;
	margin-top: 212px;
}
.articles-container{
	padding: 0 30px;
	overflow: hidden;
	margin-right: 220px;
	margin-bottom: 20px;
}
#header{
	height: 130px; 
	display: table;
	width: 100%;
}
#header > div { display: table-row; }
#header > div > div { display: table-cell; }
#logo{
	width: 487px; vertical-align: middle;
}
#logo img{
	width:100%;
	margin: 0 0 0 0;
	height: auto;
}
#slogan {
	font-size: 17px; color: #a02623; text-align: center; vertical-align: middle; padding: 0 20px;
}
#partners{
	width: 96px; color: #a02623; vertical-align: top
}
#partners img{ width: 96px; margin: 0 }
.articles-container h1{line-height: 34px}
.articles-container h2{margin-top: 30px}
#articles-menu{
	width: 200px;
	position: absolute;
	top: 0px;
	right: 0;
}
#articles-menu ul{ display: inline-block; margin: 0 auto; padding: 0px; }
#articles-menu li{ display: block; list-style: none; margin: 0; float: left; width: 200px; padding: 10px; box-sizing: border-box;}
#articles-menu a{ color:#fff; }

#topbar{
	height: 37px;
	background: #ededed;
	font-size: 12px;
}

nav ul{
	display: inline-block; margin: 0 auto; padding: 0px;
}
nav li{
	display: block; list-style: none; margin: 0; float: left;
}
#topbar ul{ float: right;}
#topbar a{ color: #a02623; }
#menubar{
	height: 40px;
	background: #a02623;
}
#menubar li{ padding: 10px 12px 0 12px; height: 30px; color: #a02623; position: relative;}
#menubar #lang li {padding-right: 16px}
#menubar li:hover:not(#navicon){background: #fff}
#menubar li:hover > a{color: #a02623}
#menubar #navicon { display: none;}
#menubar #navicon:before{
	position: absolute; content:""; 
	border-top: 4px solid #fff; 
	border-bottom: 12px double #fff; 
	height: 4px; 
	width:30px; 
	top: 10px; 
}
#menubar a{ color: #fff; }
#menubar .article{ background: #ededed; }
#menubar .article a{ color: #a02623; }
#menubar .article:hover{ background: #fff; }
#lang{height: 40px; float: right}


h1{
	text-align: left;
	color: #9f2622;
	font-weight: normal;
	font-size: 32px;
	margin: 60px 0 10px 0;
}
h2{
	text-align: left;
	color: #9f2622;
	font-weight: normal;
	font-size: 22px;
	margin: 5px 0 3px 0;
}
h3{
	font-size: 16px;
	margin: 16px 0;
}
p{
	font-size: 14px;
}
a{
	text-decoration: none;
	color: #7a797e;
}
p a{
	text-decoration: underline;
}
a img{
	display: block;
	margin: 0;
	border: none;
}
a.anchor {
    display: block;
    position: relative;
    top: -220px;
    visibility: hidden;
}

ul{
	display: inline-block; margin: 0; padding: 0px; 
}
.reglink {
	background: #fff; 
	height: 52px; 
	font-size: 16px; 
	color: #a02623; 
	text-align: center; 
	line-height: 53px; 
	text-transform: uppercase;
}
#comment{
	background: #fff;
	height: 52px;
	font-size: 16px;
	color: #a02623;
	text-align: center;
	box-sizing: border-box;
	text-transform: uppercase;
	display: table;
	width: 100%;
}
#comment > div{
	display: table-cell;
	vertical-align: middle;
	padding: 0 15px;
}
#tiles ul{
	width: 100%;
	margin: 52px 0 0 0;
}
#tiles li{
	display: block; float: left; list-style: none; margin: 0; width: 33.333%
}
#tiles ul.section li{ height:284px }
#tiles li > div{
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#tiles img{
	border: solid 1px #fff;
	width: 100%;
}

p img{
	/*float:left;*/
	max-width: 100%;
	height: auto;
	margin-top: 10px;
	margin-bottom: 10px;
}

.overlay{
	position: absolute; width: 100%; height: 100%; top: 78%; left: 1px; color:#fff;
	text-align:center;
	opacity:1;
	-webkit-transition: all .5s ease-in-out;
     -moz-transition: all .5s ease-in-out;
     -ms-transition: all .5s ease-in-out;
     -o-transition: all .5s ease-in-out;
     transition: all .5s ease-in-out;
}
.color0 {background-color: rgba(0, 0, 0, 0.4)}
.overlaysec{
	position: absolute; width: 100%; height: 282px; top: 0px; left: 1px; color:#fff;
	text-align:center;
	vertical-align: middle;
	opacity:1;
	-webkit-transition: all .3s ease-in-out;
     -moz-transition: all .3s ease-in-out;
     -ms-transition: all .3s ease-in-out;
     -o-transition: all .3s ease-in-out;
     transition: all .3s ease-in-out;
}

.overlaysec > div{
	position:absolute;
	top:50%;
	-ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.overlaysec:HOVER{
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#tiles li > div:HOVER .overlay{
	top: 1px;
}
#tiles li > div:HOVER .overlay > div{
	top: 20%;
}

.overlay > div{
	position: relative;
	top: 0px;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
	padding: 0;
}
.overlaysec > div{
	position: relative;
	top: 50%;
	-ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
	margin: 0 25px;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.overlaysec:HOVER > div{
	top: 50%;
}
.overlay > div > div{
	position: absolute;
	top:40px;
	width: 90%;
	padding: 0 5%;
}
.overlaysec > div > div{
	width: 100%;
	overflow: hidden;
	height: 0;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.overlaysec:HOVER > div > div{
	height: 160px;
}
.overlay h3{
	margin: 20px 0 16px 0;
}
.overlay h3.multiline{
	margin: 12px 0;
}
.overlay p{
	font-size: 12px;
}
.overlaysec p{
	font-size: 12px;
	margin: 0;
	-ms-transform: translateY(-160px);
    -webkit-transform: translateY(-160px);
    transform: translateY(-160px);
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.overlaysec:HOVER p {
	-ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.reviews{ width: 100%; }
.reviews td{ vertical-align: top; }
.reviews td > table{ width: 300px; }
.reviews td > table td{
	font-size: 12px;
	line-height: 14px;
}

label>span{
	margin: 0;
	display: block;
}

#footer {max-width: 1086px; margin: 0 auto; padding: 75px 0 0 0; width: 100%; box-sizing: border-box;}
#footer form { overflow: auto;}
#footer div { overflow: hidden;}
#contacts-container {width: 17%; float: left;}
#text-container {float: right; width: 80%}

#feedback > div:last-child {
	width: 100%;
	text-align: right;
	padding-top: 10px;
}

#subscribe { display: table; width: 100%;}
#subscribe div { display: table-cell;}
#subscribe > div:FIRST-CHILD { vertical-align: top; width:17%;}
#subscribe > div:nth-child(2) { padding-left: 3%; width:20%; vertical-align: top;}
#subscribe > div:nth-child(3) { padding-left: 3%; vertical-align: bottom; line-height: 16px; padding-right: 1%}

#feedback input, #subscribe input[type="text"] {
	/*width: 180px;*/
	height: 39px;
	border-radius: 6px;
}
#feedback input[type="text"], #subscribe input[type="text"] { width: 99%; box-sizing: border-box; }
#regForm table{
	width: 100%;
}
#regForm input[type="text"] {
	width: 100%;
	height: 39px;
	border-radius: 6px;
	border: 1px #777 solid;
	font-size: 1.2em;
	padding-left: 8px;
	box-sizing: border-box;
}
#feedback textarea{
	width: 99%;
	height: 109px;
	border-radius: 6px;
	box-sizing: border-box
}
input[type="submit"], input[type="reset"] {
	height: 36px;
	background: #a30f0f;
	color: #fff;
	border: none;
	margin-bottom: 10px;
	border-radius: 6px;
	box-sizing: border-box;
	padding: 0 20px
}

#regForm label{
	display: block;
	margin-bottom: 10px;
}

.error{
	color: red;
	line-height: 15px;
	margin-top: 5px;
	font-size: 12px;
}

@media only screen and (max-width: 1200px) {
	#topbar ul{ margin-right: 20px }
	#logo{ width: 42.72% }
	#logo img { width: 95%; margin: 0 0 0 5%; }
	#partners{ padding-right: 10px; width: 116px }
	#slogan { font-size: 16px; }
}
@media only screen and (max-width: 1141px) {
	/* #bg-container {display: none;} */
	#footer { padding-left: 30px; padding-right: 30px }
	#comment {font-size: 14px; line-height: 16px}
	.overlaysec p {line-height: 15px}
}
@media only screen and (max-width: 850px) {
	#partners{ width: 90px }
	#partners img{ width: 80px }
	#slogan { font-size: 15px; }
	#contacts-container {width: 25%; float: left;}
	#text-container {float: right; width: 73%}
	#footer {padding: 55px 30px 0 30px }
	#subscribe > div:FIRST-CHILD { vertical-align: top; width:25%;}
	#subscribe > div:nth-child(2) { padding-left: 2%; width:27%; vertical-align: top;}
	#subscribe > div:nth-child(3) { font-size: 12px; line-height: 14px; padding-left: 1% }
	.overlaysec > div { margin: 0 15px; }
	#articles-menu { width: 150px }
	#articles-menu li{ width: 150px; padding: 5px}
	#articles-menu a { font-size: 12px }
	.articles-container { margin-right: 150px; }
}
@media only screen and (max-width: 700px) {
	#contacts-container {width: 35%; float: left;}
	#text-container {float: right; width: 63%}
	#footer {padding: 35px 30px 0 30px }
	#subscribe { display: block; width: 100%;}
	#subscribe div { display: block; float: left; width: 49% !important; margin-bottom: 18px}
	#comment {font-size: 13px;}
}
@media only screen and (max-width: 600px) {
	#header, #header div, #header > div > div {display: block; width: 100%; padding:0}
	#logo img { width: 50%; margin: 0 auto; margin-top: 10px;  }
	#slogan { font-size: 14px; margin: 5px 0}
	#partners {display: none !important;}
	#topbar ul{ margin-right: auto;; margin-left: auto; float: none;}
	#topbar > div { text-align: center; }
	.reglink { font-size: 14px; height: 44px; line-height: 48px; }
}
@media only screen and (max-width: 470px) {
	#logo img { width: 70%; }
	#contacts-container {width: 100%; float: none;}
	#text-container {float: none; width: 100%; margin-top: 18px}
	#footer {padding: 25px 20px 0 20px }
	#subscribe div { float: none; width: 100% !important; padding-left: 0 !important}
	#articles-menu { display: none; }
	.articles-container { margin-right: 0; }
}

/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 851px) and (max-width: 1000px) {
	.overlay{ top:74%; line-height: 16px }
	.overlay p{ margin-top: 5px }
	#tiles li > div:HOVER .overlay > div{ top: 14%; }
	#menubar a{ font-size: 13px; }
	#menubar li{ padding: 10px 6px 0 6px; }
}
@media only screen and (min-width: 731px) and (max-width: 850px) {
	.overlay{ top:70%; line-height: 14px }
	#tiles li > div:HOVER .overlay > div{ top: 8%; }
	.overlay p{ margin-top: 5px }
	#menubar a{ font-size: 12px; }
	#menubar li{ padding: 10px 5px 0 5px; }
}

@media only screen and (max-width: 750px) {
	#menubar li { display: block; width: 100%}
	#menubar a{ font-size: 14px; }
	#menubar {height: auto;}
	#header, header { height: auto; position: relative; }
	#menubar #navicon { display: block }
	#menubar li{ padding-left: 20px}
	#menubar ul:FIRST-CHILD li:not(:FIRST-CHILD) {display: none; border-bottom: 1px solid #fff}
	#menubar ul {display: block; overflow: hidden;}
	#menpointer { display: none;}
	#lang {position: absolute; top: 0; right: 0;}
	#menubar.opened li{ display: block !important; }
	.content {margin-top: 0}
	#bg-container { position: fixed; top: 0; height: 100%; z-index: -1000; }
	#bg-image { height: 100% }
}

@media only screen and (min-width: 481px) and (max-width: 730px) {
	#tiles li{ width: 50%; line-height: 16px }
	.overlay{ top:80% }
	.overlay > div > div { top: 30px; width: 94%; padding: 0 3%; }
}
@media only screen and (min-width: 601px) and (max-width: 650px) {
	.overlay{ top:77% }
}
@media only screen and (min-width: 481px) and (max-width: 600px) {
	.overlay{ top:76% }
	#tiles li > div:HOVER .overlay > div{ top: 12%; }
	.overlay p{ margin-top: 10px }
}
@media only screen and (min-width: 481px) and (max-width: 550px) {
	.overlay{ top:72% }
	.overlay h3 { margin: 14px 0 5px 0}
	.overlay p{ line-height: 14px }
}
@media only screen and (max-width: 480px) {
	#tiles li{ width: 100% }
	.overlay{ top:82% }
	#tiles li > div:HOVER .overlay > div{ top: 24%; }
}
@media only screen and (max-width: 370px) {
	.overlay{ top:78% }
	.reglink { font-size: 12px; }
}
@media only screen and (max-width: 350px) {
	.overlay{ top:76% }
	.overlay p{ line-height: 14px }
	.overlay > div > div { top: 30px; width: 94%; padding: 0 3%; }
}
