
/*--------- DEFAULT ---------------------------------------------------------------------------------------------------------------------------------------*/

 html * {max-height:1000000px;}

 body
	{
	min-height: 100%;
	margin: 0;
	padding: 0;
	background-position: top center;
	background-repeat: no-repeat;
	background-color: #eceedd;
	overflow-x: auto;
	overflow-y: scroll;
	font-family: Arial;
	font-size: 12px;
	}

@media (min-width: 481px) and (max-width: 1280px)
{
 body
	{
	background-image: url("images/bg-1280.jpg");
	}
}

@media (min-width: 1281px)
{
 body
	{
	background-image: url('images/bg-1920.jpg');
	}
}

 a
	{
	color: #ff5555;
	text-decoration: none;
	}

 img
	{
	border: none;
	}

 .justify
	{
	text-align: justify;
	line-height: 0;
	}

 .justify:after
	{
	content: '';
	display: inline-block;
	vertical-align: top;
	width: 100%;
	height: 0;
	visibility: hidden;
	}

 #root
	{
	position: relative;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
	min-width: 320px;
	max-width: 1064px;
	box-sizing: border-box;
	}


/*----------------- MENU ----------------------------------------------------------------------------------------------------------------------------------*/

 #menu
	{
	display: block;
	*text-align: center;
	}

 #menu a
	{
	position: relative;
	display: inline-block;
	*width: 127px;
	width: 150px;
	height: 129px;
	background: url("images/menu-cat.png") top left no-repeat;
	background-size: 100% 100%;
	text-shadow: 1px 1px 1px #222222;
	box-shadow: 2px 2px 8px RGBA(0,0,0,0.7);

	-webkit-transition: background 200ms linear;
	-moz-transition: background 200ms linear;
	-o-transition: background 200ms linear;
	transition: background 200ms linear;
	}

 #menu span
	{
	display: inline-block;
	position: absolute;
	top:0px; left:0px; right:1px; bottom:2px;
	background-position: top center;
	background-repeat: no-repeat;
	}

 #menu div
	{
	display: inline-block;
	position: absolute;
	left: 0px;
	bottom: 18px;
	width: 100%;
	text-align: center;
	font-size: 17px;
	font-weight: bold;
	line-height: normal;
	color: #ffffff;
	}

 #start-page span { background-image: url("images/start-icon.png?v2"); }

 #about-page span { background-image: url("images/about-icon.png?v3"); }

 #service-page span { background-image: url("images/service-icon.png?v3"); }

 #price-page span { background-image: url("images/price-icon.png"); }

 #card-page span { background-image: url("images/card-icon.png?v2"); }
 #card-page.rus div { bottom: 10px; line-height: 18px; }

 #blog-page span { background-image: url("images/news-icon.png"); }

 #contact-page span { background-image: url("images/contact-icon.png"); }

 #menu a:hover
	{
	background-image: url("images/menu-cat-active.png");
	text-shadow: 1px 1px 1px #555555;
	}

 #menu a.active
	{
	background-image: url("images/menu-cat-active.png");
	text-shadow: 1px 1px 1px #555555;
	}


/*----------------- HEADER --------------------------------------------------------------------------------------------------------------------------------*/

 header
	{
	display: block;
	position: relative;
	*height: 195px;
	}
	
 #head
	{
	position: relative;
	margin: 26px 0;
	height: 40px;
	*border: 1px solid red;
	}

 #top-logo
	{
	position: absolute;
	top: 5px;
	left: 35px;
	}

 .slogan
	{
	position: absolute;
	top: 0px;
	*left: 310px;
	left: 31%;
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	line-height: 20px;
	}
 .slogan:hover
	{
	color: #e5e5e5;
	}
 .slogan b
	{
	color: red;
	}

 .social
	{
	position: absolute;
	top: 5px;
	*right: 220px;
	right: 22%;
	}
 .social a
	{
	margin: 0 7px;
	display: inline-block;
	width: 30px;
	height: 30px;
	text-decoration: none;
	background-repeat: no-repeat;
	background-position: center center;
	}

 .facebook {background-image: url("images/facebook.png");}
 .facebook:hover {background-image: url("images/facebook-hover.png");}

 .twitter {background-image: url("images/twitter.png");}
 .twitter:hover {background-image: url("images/twitter-hover.png");}

 .languages
	{
	position: absolute;
	top: 13px;
	right: 35px;
	}

 .languages .lang
	{
	display: none;
	padding-right: 12px;
	font-size: 14px;
	color: #ffffff;
	font-weight: bold;
	text-shadow: 1px 1px 1px #000000;
	}
	
 .languages .line
	{
	margin: 0 5px;
	font-size: 14px;
	color: #777777;
	}

 .languages a
	{
	font-size: 14px;
	color: #ffffff;
	font-weight: bold;
	text-shadow: 1px 1px 1px #000000;
	}
 .languages a:hover
	{
	text-decoration: underline;
	}
 .languages a.active
	{
	color: #ff0000;
	}

 .mobile-menu
	{
	display: none;
	}

/*----------------- MAIN ----------------------------------------------------------------------------------------------------------------------------------*/

 main
	{
	display: block;
	margin: 0;
	background: #ffffff;
	box-shadow: 2px 2px 12px RGBA(0,0,0,0.4), -2px -2px 12px RGBA(0,0,0,0.4);
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	}

 .content
	{
	margin: 30px;
	min-height: 300px;
	font-size: 14px;
	line-height: 20px;
	}

 .content h1
	{
	margin: 8px 0 18px 0;
	font-size: 18px;
	font-weight: normal;
	color: #ed1c24;
	}

 .content p
	{
	text-align: justify;
	}
	
 .info
	{
	margin: 15px 30px;
	}

 .info > div
	{
	display: inline-block;
	height: 38px;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
	vertical-align: middle;
	}


/*----------------- FOOTER --------------------------------------------------------------------------------------------------------------------------------*/

 footer
	{	
	display: block;
	margin: 30px 0;
	text-align: center;
	font-size: 14px;
	color: #77787b;
	}
	
 footer span
	{	
	display: inline-block;
	padding: 2px 0;
	}

/*----------------- MOBILE MENU ----------------------------------------------------------------------------------------------------------------------------*/

 #mobile-menu
	{
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 400;
	background-color: RGBA(0,0,0, 0.5);

	opacity: 0;
	transition: opacity 0.25s ease;
	}
 #mobile-menu.open
	{
	opacity: 1;
	}

 #mobile-menu .mob-menu
	{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 100%;
	max-width: 420px;
	height: 100%;
	box-sizing: border-box;
	padding: 30px 0;
	background-color: #0d130f;
	box-shadow: -2px 0px 7px RGBA(0,0,0, 0.2);
	overflow-y: auto;
	z-index: 500;
	*opacity: 0;

	will-change: transform;
	transition: transform 0.2s ease;
	transform: translate(400px, 0);
	}
 #mobile-menu.open .mob-menu
	{
	transform: translate(0,0);
	}

 #mobile-menu .close-btn
	{
	position: fixed;
	top: 10px;
	right: 14px;
	width: 35px;
	height: 35px;
	background: url('images/close.png') center center no-repeat;
	background-size: 22px auto;
	cursor: pointer;
	z-index: 501;
	}

 #mobile-menu ul,
 #mobile-menu li
	{
	margin: 0;
	padding: 0;
	list-style-type: none;
	}

 #mobile-menu .cat
	{
	position: relative;
	display: block;
	color: #ffffff;
	cursor: pointer;
	}
 #mobile-menu .cat.active
	{
	font-weight: bold;
	color: #ff4040;
	}
 #mobile-menu .cat-1.open
	{
	background-color: #303330;
	font-weight: bold;
	}

 #mobile-menu .cat-1
	{
	padding: 10px 35px;
	font-size: 16px;
	color: #ffffff;
	text-transform: uppercase;
	}
 #mobile-menu .cat-2
	{
	padding: 6px 8px;
	font-size: 16px;
	color: #f4f4f4;
	}
 #mobile-menu .cat-3
	{
	padding: 4px 6px;
	font-size: 14px;
	color: #eeeeee;
	}

 #mobile-menu .cat span
	{
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 50px;
	background: url('images/arrow.png') center center no-repeat;
	background-size: 12px auto;
	cursor: pointer;
	}
 #mobile-menu .cat-1 span
	{
	background-size: 16px auto;
	}

 #mobile-menu .cat.open span
	{
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
	}

 #mobile-menu .submenu
	{
	display: none;
	padding: 8px 0 8px 40px;
	}
 #mobile-menu .cat-1 + .submenu
	{
	padding-left: 52px;
	}

 #mobile-menu .submenu li
	{
	list-style-type: disc;
	color: #eeeeee;
	}

 #mobile-menu .cat.open + .submenu
	{
	display: block;
	}

/*----------------- MOBILE --------------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 960px)
{
 #menu a
	{
	width: 15.5%;
	height: 110px;
	}

 #menu span
	{
	background-position: center -10px;
	}

 #menu div
	{
	bottom: 12px;
	font-size: 15px;
	}

 #card-page.rus div
	{
	bottom: 5px;
	}

 #top-logo
	{
	left: 5px;
	}

 .slogan
	{
	left: 28%;
	}

 .social
	{
	right: 21%;
	}

 .languages
	{
	right: 5px;
	}
}

@media (max-width: 840px)
{
.slogan.rus
	{
	display: none;
	}
	
.info .col4
	{
	display: none;
	}
}

@media (max-width: 760px)
{
 #menu
	{
	display: none;
	}

 .mobile-menu
	{
	position: absolute;
	right: 5px;
	bottom: 3px;
	display: inline-block;
	width: 35px;
	height: 30px;
	line-height: 30px;
	background: url("images/menu.svg") center center no-repeat;
	background-size: 32px auto;
	cursor: pointer;
	}
	
.languages
	{
	right: 12%;
	}
	
 .social
	{
	right: 40%;
	}
	
 .slogan
	{
	display: none;
	}
}

@media (max-width: 650px)
{
 .info
	{
	margin: 0px 15px;
	padding: 15px 0;
	border-top: 1px solid #dddddd;
	}

 .info > div
	{
	display: block;
	margin: 10px 0;
	height: auto;
	}

 #root
	{
	padding: 0 12px;
	}
 
 .content
	{
	margin: 15px !important;
	}
	
 .content p
	{
	text-align: left;
	}
}
	
@media (max-width: 550px)
{
 .social
	{
	left: 50%;
	right: auto;
	}
 .social a
	{
	margin: 0px;
	}
	
 .languages
	{
	top: 8px;
	right: 50px;
	}
	
 .languages .lang
	{
	position: relative;
	display: inline-block;
	padding: 5px 10px;
	width: 42px;
	cursor: pointer;
	}
 .languages .lang:after
	{
	content: "";
	position: absolute;
	top: 10px;
	right: 5px;
	display: inline-block;
	border: 5px solid transparent;
	border-top: 5px solid #ffffff;
	}

 .languages div
	{
	display: none;
	position: absolute;
	top: 35px;
	left: -5px;
	width: 100px;
	padding: 5px 0;
	background-color: #ffffff;
	box-shadow: 1px 1px 4px RGBA(0,0,0, 0.5);
	z-index: 100;
	}
	
 .languages a
	{
	display: block;
	padding: 10px 15px;
	font-size: 18px;
	color: #222222;
	font-weight: 400;
	text-shadow: none;
	}
 .languages a.active
	{
	background-color: #f2f2f2;
	}
	
 .languages .line
	{
	display: none;
	}
}

@media (max-width: 480px)
{
 #root
	{
	padding: 0px;
	}
	
 header
	{
	background-color: #0d130f;
	border: 1px solid #0d130f;
	}
	
 #head
	 {
	 margin: 12px 10px;
	 }

 main
	{
	box-shadow: none;
	}

 footer
	{
	margin: 15px 0;
	}
}

@media (max-width: 400px)
{
 #top-logo
	{
	top: 10px;
	}
 #top-logo img
	{
	width: 116px;
	}

 .social
	{
	top: 12px;
	left: 45%;
	}
	
 .social a
	{
	display: inline-block;
	width: 20px;
	height: 20px;
	background-size: 100% auto;
	}
}
	