/*Reset css
--------------------------------------*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, 
figcaption, figure,footer, header, hgroup, 
menu, nav, section, summary,
time, mark, audio, video {
	margin: 0; 
	padding: 0; 
	border: 0; 
	outline: 0; 
	font-size: 100%; 
	vertical-align: baseline; 
	background: transparent;
}

body {
	font: 12px/1.1 Arial, Tahoma, sans-serif;
}

h1, h2 {
    line-height: 1.2;
	font: bold 20px Arial, Tahoma, sans-serif;
    color: #454545;
    margin: 10px 0;
    border-bottom: 1px solid #a0a2d2;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
	display: block;
}

nav ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: ''; 
	content: none;
}

a {
	margin: 0; 
	padding: 0; 
	font-size: 100%; 
	vertical-align: baseline; 
	background: transparent;
}

ins {
	background-color: #ff9; 
	color: #000; 
	text-decoration: none;
}

mark {
	background-color: #ff9; 
	color:#000; 
	font-style:italic; 
	font-weight:bold;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted; cursor: help;
}

table {
	border-collapse: collapse; 
	border-spacing: 0;
}

hr {
	display: block; 
	height: 1px; 
	border: 0; 
	border-top: 1px solid #ccc; 
	margin: 1em 0; 
	padding: 0;
}

input, select {
	vertical-align: middle;
}

.group:before,
.group:after {
    content: "";
    display: table;
} 
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
/*
---------------------------------*/

#wrapper {
	width: 1000px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 229px;
	position: relative;
}

.logo {
	height: 229px;
	width: 285px;
	background: url(../images/logo.jpg) 0 0 no-repeat;
	float: left;
}

.contacts {
	position: absolute;
	height: 110px;
	width: 375px;
	right: 0;
	top: 70px;
	color: #454545;
	font-size: 25px;
	line-height: 30px;
	text-align: right;
}

.miracu {
	position: absolute;
	width: 157px;
	height: 155px;
	background: url(../images/miracu-icon.png) 0 0 no-repeat;
	top: 31px;
	right: 355px;
	z-index: 40;
}

.contacts a {
	color: #454545;
}

.contacts-phone {
    font-size: 36px;
}

.contacts-phone--prefix {
    color: #816db2;
}

.menu {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 285px;
	height: 41px;
	background: #a0a2d2;
}

.menu ul {
	float: right;
}

.menu li {
	list-style-type: none;
	display: block;
	float: left;
	border-left: 1px solid #fff;
}

.menu li:first-child {
	border: 0;
}

.menu a {
	color: #fff;
	font-size: 16px;
	display: block;
	padding: 13px 25px;
}

.menu a:hover {
    text-decoration: none;
}

.menu .active a {
    color: #ebebeb;
    text-decoration: none;
}

.bottom-line {
	background: #816db2;
	position: absolute;
	top: 163px;
	left: 285px;
	right: 0;
	height: 18px;
	border-top: 1px solid #b2a6ce;
	border-bottom: 1px solid #e3daf7;
}

.top-line {
	background: #000;
	position: absolute;
	top: 0;
	left: 285px;
	right: 0;
	height: 37px;
}
/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	height: 1%;
	position: relative;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content {
	padding: 20px 0 0;
}

#content p,
#content ul {
	font: 16px/1.2 Arial;
	margin: 5px 0 15px;
}

#content ul {
    margin: 5px 0 5px 20px;
}

#content li {
    list-style-type: none;
}

.media {
	width: 420px;
	float: right;
    overflow: hidden;
    margin-left: 10px;
}

.feedback {
	width: 600px;
    border: 1px solid #816db2;
    border-radius: 5px;
    padding: 20px 30px;
    background: #a0a2d2;
    color: #fff;
}

.feedback label {
	font-size: 16px;
}

.feedback textarea,
.feedback input {
	height: 30px;
	line-height: 20px;
	font-size: 16px;
	border: 1px solid #787878;
	width: 400px;
	float: right;	
}

.feedback textarea{
    height: 100px;
    resize: none;
}

.feedback div {
	padding: 10px 0;
}

.feedback .submit {
	background: #816db2;
	width: 200px;
	height: 35px;
	margin: 0 auto;
	color: #fff;
	cursor: pointer;
}

.feedback .submit:hover {
    background: #8C7CB2;
}
/*Success form send 
-----------------------------------------------------------------------------*/

.overflow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4);
    display: none;
    z-index: 1000;
}

.success {
    width: 250px;
    position: absolute;
    top: 20%;
    left: 50%;
    margin-left: -125px;
    background: #a0a2d2;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    padding: 15px 25px;
}

.success-close {
    color: #fff;
    font-size: 20px;
    position: absolute;
    width: 18px;
    height: 18px;
    right: 5px;
    top: 5px;
    cursor: pointer;
    text-align: center;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}
/* Footer
-----------------------------------------------------------------------------*/
#footer {

}
