﻿@import url("reset.css");

.clear{
	clear:both;
}
a{
	color:#0a68ac;
}
a:hover{
	color:#244584;
}
*{
    -moz-box-sizing: border-box; /* Для Firefox */  
    box-sizing: border-box; /* Ширина блока с полями */	
}
body{
	font-family:"Roboto", Arial, sans-serif;
	font-size:14px;
	color:#2f2f2f;
	line-height:1.2;
	background:#002f9c;
}
.wrapper{
	width: 900px;
	margin:0 auto;
	position:relative;
}
.front_header{
	height:860px;
	background:transparent url('../images/front_header.jpg') no-repeat center bottom;
}
.front_header .callbox{
	position:absolute;
	top:150px;
	right:0;
	height:70px;
	padding-left:85px;
	padding-right:25px;
	border-radius:10px;
	background:#fff url('../images/callbox.png')no-repeat 4px center; 
}
.front_header .callbox b{
	font-size:24px;
	display:block;
	margin-top:13px;
}
.front_header .callbox small{
	font-size: 14px;
    display: block;
    color: #002f9c;
    font-weight: 500;
    padding: 3px;
}
.front_header h1{
	position:absolute;
	top:150px;
	font-size: 42px;
	font-weight:700;
	width:500px;
	text-transform:uppercase;
        color: #8d2c26;
}
.header{
	padding-top:25px;
}
.header:after{
	content:' ';
	display:table;
	clear:both;
}
.header .logo{
	display:block;
	float:left;
	margin-right:58px;
}
.header ul{
	display:block;
	text-align:justify;
	padding-top:25px;
}
.header ul:after{
	content:'';
	width:100%;
	display:inline-block;
}
.header ul li{
	display:inline-block;
}

.header ul li.lang{
	float:right;
	margin-left:20px;
}

.header ul li a{
	display:block;
	color:#000;
	font-weight:bold;
	text-decoration:none;
        font-size: 16px;
}
.header ul li a:hover{
	text-decoration:underline;
}
.front_learnbox{
	background:#002f9c;
	color:#fff;
	line-height:1.5;
	padding-bottom:20px;
}
.front_learnbox .wrapper{
	padding-left:400px;
}
.front_learnbox h2{
	text-transform:uppercase;
	font-size:34px;
	margin:24px 0 10px;
	display:block;
	line-height:1.2;
}
.front_learnbox .button{
	line-height: 40px;
	height:50px;
	padding:0 40px;
	background:#002f9c;
	color:#fff;
	border:3px #fff solid;
	font-size:24px;
	display:inline-block;
	margin-bottom:-50px;
	position:relative;
	bottom: -40px;
	cursor:pointer;
}
.front_learnbox .button:hover{
	background:#0e3ca7;
}
.front_learnbox .advantage{
	position:absolute;
	bottom:-20px;
	left:-87px;
}
.front_learnbox .advantage .white-box{
	background:#fff;
	color:#222;
	padding:28px;
	width: 350px;
	padding-bottom: 280px;
        margin-left: 25px; 
}
.front_learnbox .advantage .white-box h4{
	font-size:18px;
	padding-bottom:12px;
	line-height:1.2;
        font-weight: 700;
}
.front_learnbox .we-happy{
	width:460px;
	height:333px;
	position: absolute;
	bottom: 0;
	left: 20px;
	background:transparent url('../images/we-happy.png') no-repeat center bottom;
}

.about_block {
    /*background: #fff;*/
    padding: 25px 0;
    line-height: 1.4;
    background: rgb(255, 255, 255) url(../images/onas.jpg) no-repeat center bottom;
}
.about_block h2{
	text-transform:uppercase;
	font-size:50px;
	display:block;
	line-height:1.2;
	font-weight:700;
	padding:20px 0;
        color:#8d2c26;
}
.about_block h3{
	text-transform:uppercase;
	font-size:30px;
	display:block;
	line-height:1.0;
	font-weight:500;
	padding:5px 0;
	color: #982f29;
}

.price_block{
	background:#fff;
	padding:25px 0;
}
.price_block h2{
	text-transform:uppercase;
	font-size:50px;
	display:block;
	line-height:1.2;
	font-weight:700;
	padding:20px 0;
        color:#8d2c26;
}

.price_block h3{
	text-transform:uppercase;
	font-size:20px;
	display:block;
	line-height:1.0;
	font-weight:500;
	padding:10px 0;
	color: #982f29;
}

.price_block .price-table{
	width: 480px;
	float:left;
}
.price_block .price-table table{
	width:100%;
	vertical-align:middle;
}
.price_block .price-table table td{
	height:40px;
	vertical-align:middle;
	background:#e5e5e5;
	border-bottom:2px #fff solid;
	padding:0 10px;
}
.price_block .price-table table tr:nth-child(2n) td{
    background: #f2f2f2; /* Цвет фона */
} 
.price_block .price-table table td.price{
	font-size:22px;
}
.price_block .review-list{
	width: 340px;
	float:right;
}
.price_block .row:after{
	content:' ';
	display:table;
	clear:both;
}
.review-list .item{
	border-radius:10px;
	border:1px #aaa solid;
	padding:15px;
	margin-bottom: 60px;
	font-size:14px;
}
.review-list .item img{
	float:left;
	margin-top: -60px;
}
.review-list .item:nth-child(2n) img{
	float:right;
}

.review-list .item .name{
	font-size:14px;
	font-weight:bold;
	margin-bottom: 10px;
}

.review-list  .rounded {
counter-reset: li; 
	list-style: none; 
	font: 16px "Roboto", "Lucida Sans";
        padding: 10px;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.review-list  .rounded a {
	position: relative;
	display: block;
	padding: .4em .4em .4em 2em;
	margin: 0.9em 0;
	background: #e5e5e5;
	color: #444;
	text-decoration: none;
	border-radius: .3em;
	transition: .3s ease-out;
}
.review-list  .rounded a:hover {
	background: #E9E4E0;
}
.review-list  .rounded a:hover:before {
	transform: rotate(360deg);
}
.review-list  .rounded a:before {
	content: counter(li);
	counter-increment: li;
	position: absolute;
	left: -1.3em;
	top: 50%;
	margin-top: -1.3em;
	background: #982f29;
	height: 2em;
	width: 2em;
	line-height: 2em;
	border: .3em solid white;
	text-align: center;
	font-weight: bold;
	border-radius: 2em;
	transition: all .3s ease-out;
	color:#ffffff;
}



.contact_block{
	background:#fff;
}
.contact_block h2{
	text-transform:uppercase;
	font-size:50px;
	display:block;
	line-height:1.2;
	font-weight:700;
	padding: 20px;
        color:#8d2c26;
}
.contact_block .white-box {
    background: #fff;
    color: #222;
    padding-left: 28px;
    width: 300px;
    position: absolute;
    bottom: -20px;
    padding-top: 10px;
    height: 675px;
    box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.38);
}
.contact_block .white-box p{
	padding:10px 0;
	line-height:1.5;
}
.contact_block .white-box b{
	font-size:20px;
	display:block;
	margin:5px 0;
}
.about_table p{
	    font-size: 15px;
    padding-bottom: 7px;
}

.contact_block .map-container{
	overflow:hidden;
}

.contact_block table th, td {
    padding: 5px;
    text-align: left;
}

.contact_block table th, td {
    padding: 4px;
    text-align: left;
}

.contact_block .kontakt {
    font-weight: 600;
    font-size: 115%;
}



ul.galki{
    list-style-image: url(/images/gal.png);
   }

ul.galki{
    
   padding-left: 30px;
}


ul.galki li {
    
    margin: 5px;
}
.valignm td{
	vertical-align:middle;
}

#scrollup {
position: fixed; /* ������������� ������� */
opacity: 0.8; /* ������������ */
padding: 15px 10px 10px; /* ������� */
background: #aaa;
border-radius: 5px; /* ���������� ����� */
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
right: 38px; /* ������ ����� */
bottom: 10px; /* ������ ����� */
display: none; /* �������� ���� */
cursor: pointer;
}
.lightbox{
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,.21);
	-moz-box-shadow: 0 0 10px rgba(0,0,0,.21);
	box-shadow: 0 0 10px rgba(0,0,0,.21);
	max-width:500px;
	background: #8d2c26;
	color:#fff;
	padding: 20px 10px 10px;
	text-align:center;
	display:none;
}
#actia h3 {
    font-size: 26px;
    text-transform: uppercase;
}
#actia table td{
    padding:10px 5px;
    vertical-align:top;
    border-bottom:1px #a75c57 solid;
}
#actia table td.price{
    width:25%;
    text-align:right
}
#actia table tr:last-child td {
    background: rgba(255, 255, 255, 0.23);
    font-size:16px;
}
.fancybox-skin{
    background:#8d2c26;
}
.lightbox a.close {
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    font-family: -webkit-body;
    font-size: 40px;
    line-height: 40px;
    display: block;
    height: 40px;
    width: 40px;
    text-align: center;
}
.lightbox a.close :hover{
    opacity: 1;
}
#actia  .btn{
    cursor: pointer;
    font-size: 17px;
    text-decoration: none;
    padding: 10px 55px;
    color: #222;
    background-color: #FFFFFF;
    border-radius: 0px;
    display: inline-block;
    margin: 10px auto;
}

@-webkit-keyframes ding {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    1% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    2% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg)
    }

    3% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    4% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    5% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    6% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    7% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    8% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    9% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    20% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    21% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    22% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg)
    }

    23% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    24% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    25% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    26% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    27% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    28% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
}

@keyframes ding {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    1% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    2% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg)
    }

    3% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    4% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    5% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    6% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    7% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    8% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    9% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    20% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    21% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    22% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg)
    }

    23% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    24% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    25% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    26% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg)
    }

    27% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg)
    }

    28% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
}

.btn_actia {
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 18px;
  background: #8d2c26;
  padding: 10px 35px 10px 35px;
  text-decoration: none;
    -webkit-animation: ding 5s cubic-bezier(.8, 0, .2, 1) 5s infinite;
    animation: ding 5s cubic-bezier(.8, 0, .2, 1) 5s infinite  ;
	display:inline-block;
	margin:10px auto;
}

.btn_actia:hover {
  background: #99332e;
  color: #ffffff;
  text-decoration: none;
}
