/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: Geneva, Arial, Helvetica, sans-serif;
    min-width: 1024px;
    width: 100%;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
select.error,
textarea.error,
input.inp-txt.error {
    border-color:#e92d28;
    background:#ffded6;
    color:#e92d28;
}
a:focus{
    outline: none;
}
.convert_wrap{
    width: 984px;
    padding: 0 10px;
    margin: 0 auto;
}
.logo_convert{
    clear: both;
    float: right;
    padding: 15px 0;
    color: #3b3b3b;
    font-size: 0.9em;
}
.logo_convert img{
    width: 120px;
}
.header_wrap{
    background: #140101 url("../img/header_wrap.jpg")no-repeat center;
    width: 100%;
    height: 700px;
}
.header{
    width: 984px;
    padding: 0 10px;
    margin: 0 auto;
}
.header_top{
    height: 136px;
		position: relative;
}
.adress{
    float: left;
    position: relative;
    top: 49px;
}
.adress+.adress{
    margin-left: 30px;
}
.adress img{
    float: left;
    padding-top: 5px;
}
.adress_txt{
    /* margin-left: 40px; */
		display: table-cell;
		height: 35px;
		vertical-align: middle;
		padding-left: 10px
}
.adress_txt p{
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
.adress_txt a{
    color: #fffba0;
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
    border-bottom: 1px dashed #fffba0;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
.adress_txt .span_text{
    color: #fffba0;
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
#maps_top_1, #maps_top_2{
    display: none;
}
.logo{
    /* float: left;
    position: relative;
    top: 37px;
    margin-left: 35px; */
    /* margin-left: 250px; */
	float: left;
  position: absolute;
  top: 37px;
  margin-left: -77px;
  left: 50%;
}
.phone_and_call{
    float: right;
    position: relative;
    top: 35px;
}
.phone_and_call .call{
   text-align: right;
}
.phone_and_call .call .call_button{

}
.phone_and_call .phone{
    font-family: EuropeCondensedC;
    color: #ffffff;
    font-size: 34px;
    line-height: 46px;
    padding-top: 10px;
}
#callback_form{
    display: none;
}
#callback{
    background: #181d21;
    padding: 20px
}
#callback .input_form{
    width: 174px;
}
#callback .form_button_callback{
    background: url("../img/callback.png") no-repeat;
    width: 224px;
    height: 55px;
    border: none;
    margin-top: 10px;
}
.header_form_and_txt{
    padding-top: 45px;
}
.top_form{
    float: left;
}
.top_form_head{
    font-family: EuropeCondensedC;
    color: #ffffff;
    font-size: 56px;
    line-height: 46px;
    margin-bottom: 10px;
}

#form_top{
    position: relative;
    padding-top: 7px;
}
.header_thank_you{
    padding-top: 75px;
}
.thank_you_head{
    font-family: EuropeCondensedC;
    color: #ffffff;
    font-size: 52px;
    line-height: 52px;
    margin: 0 0 15px 0;
}
.thank_you_txt{
    font-family: EuropeCondensedC;
    color: #ffffff;
    font-size: 36px;
    line-height: 36px;
    margin: 0;
}
.thank_you_head:last-child{
    margin: 0;
}
.form_top{

}
.input_form{
    background: #ffffff;
    padding: 13px 10px 13px 40px;
    font-size: 20px;
    color: #383f44;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: none;
    display: block;
    margin-bottom: 10px;
    width: 335px;
    box-shadow: 0 0 4px rgba(0,0,0,0.4)
}
.bottom_form .input_form{
    padding: 13px 10px;
    width: 365px;
}
.input_form.firstname{
    background: #ffffff url("../img/firstname.png") no-repeat 10px center;
}
.input_form.number{
    background: #ffffff url("../img/number.png") no-repeat 10px center;
}
input.firstname.inp-txt.error {
    border-color:#e92d28;
    background: #ffded6 url("../img/firstname.png") no-repeat 10px center;
    color:#e92d28;
}
input.number.inp-txt.error {
    border-color:#e92d28;
    background: #ffded6 url("../img/number.png") no-repeat 10px center;
    color:#e92d28;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder  { /* WebKit browsers */
    color: #383f44;
}
input.input_form:-moz-placeholder, textarea.input_form:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #383f44;
}
input::-moz-placeholder, textarea::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #383f44;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder{ /* Internet Explorer 10+ */
    color: #383f44;
}
.input_hid{
    display: none;
}
.form_button{
    background: url("../img/top_form_botton.png") no-repeat;
    width: 385px;
    height: 55px;
    border: none;
    margin-top: 10px;
}
.top_form_bottom{
    color: rgba(255,255,255,0.4);
    font-size: 15px;
    line-height: 17px;
    font-style: italic;
    clear: both;
    text-align: center;
    margin-top: 10px;
    width: 385px;
}


.conteiner{

}
.video_block_wrap{
    padding: 40px 0;
}
.video_block{
    width: 984px;
    padding: 0 10px;
    margin: 0 auto;
}
.video_block_head{
    font-family: EuropeCondensedC;
    color: #1a1a1a;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    margin-bottom: 20px;
}
.video_block_left{
    float: left;
    width: 460px;
    margin-right: 32px;
}
.video_block_right{
    float: left;
    width: 492px;
}
.video_block_right .p_head{
    color: #1a1a1a;
    font-size: 20px;
    line-height: 24px;
    margin: 10px 0;
}
.video_block_right p{
    color: #424242;
    font-size: 14px;
    line-height: 19px;
    margin: 10px 0;
}


.reasons_wrap{
    background: url("../img/reasons_bg.png") no-repeat center;
    height: 583px;
    padding: 60px 0 40px 0;
}
.reasons_wpar_img{
    position: absolute;
    z-index: 1;
    top: -24px;
}
.reasons{
    width: 984px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
}
.reasons_head{
    text-align: center;
    margin: 30px 0;
}
.reasons_head p{
    margin: 0;
    color: #1a1e21;
    font-size: 36px;
    line-height: 44px;
    font-family: EuropeCondensedC;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.1);
    padding-top: 10px;
}
.reasons_block{

}
.reasons_div{
    width: 492px;
    float: left;
    margin-bottom: 35px;
}
.reasons_div img{
    float: left;
    margin-right: 15px;
}
.reasons_div p{
    float: left;
    width: 410px;
    margin: 0;
    font-size: 16px;
    line-height: 19px;
    color: #424242;
}
.reasons_div p b{
    float: left;
    width: 410px;
    margin: 0;
    font-size: 20px;
    line-height: 26px;
    color: #1a1a1a;
}


.prichiny_wrap{
    padding: 30px 0 0 0;
}
.prichiny{
    width: 984px;
    margin: 0 auto;
    padding: 0 10px;
    height: 130px;
}
.prichiny p{
    color: #1a1e21;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    margin: 0;
}
.prichiny p b{
    color: #d1001e;
}
#prichiny_div {
    width: 984px;
    height: 94px;
    overflow: hidden;
    margin: 0 auto;
    padding-top: 10px;
}
#prichiny_div div.prichiny_numb {
    width: 984px;
    height: 94px;
    text-align: center;
    padding-top: 10px;
}
.prichiny .next_pr{
    width: 250px;
    margin: 0 auto;
    position: relative;
    top: 20px;;
}
.prichiny .next_pr img{
    float: left;
    position: relative;
    bottom: -2px;
}
.prichiny .next_pr span{
    font-size: 17px;
    line-height: 16px;
    color: #7f7f7f;
    margin: 0 0 0 10px;
    font-family: arial;
    border-bottom: 1px dashed #7f7f7f;
    text-align: left;
    cursor: pointer;
}


.central_form_1_wrap, .central_form_2_wrap, .bottom_form_wrap{
    padding: 40px 0 50px 0;
}
.central_form_div{
    width: 984px;
    padding: 0 10px;
    margin: 0 auto;
    background: #fdffcd url("../img/central_form_bg.jpg") no-repeat;
    height: 435px;
    z-index: 100;
    position: relative;
}
.bottom_form_div{
    width: 984px;
    padding: 0 10px;
    margin: 0 auto;
    background: #f2f2f2;
    height: 435px;
    z-index: 100;
    position: relative;
}
.bottom_form_wrap .form_button{
         background: url("../img/central_form_3.png") no-repeat;
         width: 385px;
         height: 55px;
         border: none;
         margin-top: 10px;
}
.central_form_head, .bottom_form_head{
    font-family: EuropeCondensedC;
    color: #1a1a1a;
    font-size: 32px;
    line-height: 34px;
    text-align: center;
    padding: 40px 0;
}
.central_form, .bottom_form{
    width: 385px;
    margin: 0 auto;
}
.central_form_bottom{
    color: rgba(0,0,0,0.5);
    font-size: 15px;
    line-height: 17px;
    font-style: italic;
    clear: both;
    text-align: center;
    width: 385px;
    margin: 10px auto 0 auto;
}
.central_form_shadow, .bottom_form_shadow{
    width: 900px;
    height: 10px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    position: relative;
    top: -15px;
    z-index: 99;
}


.our_kursy_wrap{

}
.our_kursy{
    width: 984px;
    padding: 0 10px;
    margin: 0 auto;
}
.our_kursy_head{
    font-family: EuropeCondensedC;
    color: #1a1a1a;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    margin-bottom: 30px;
}
.our_kursy_div{
    text-align: center;
}
.our_kursy_img{
    width: 225px;
    text-align: center;
    margin-bottom: 25px;
    display: inline-block;
    vertical-align: top;
}
*+html .our_kursy_img{
    width: 235px;
    text-align: center;
    float: left;
    margin-bottom: 25px;
}
.our_kursy_img a{
    text-decoration: none;
}
.our_kursy_img p{
    color: #424242;
    font-size: 13px;
    line-height: 18px;
    margin: 0;
}
.our_kursy_img p.our_kursy_p_head{
    color: #d1001e;
    font-size: 20px;
    font-weight: bold;
    line-height: 22px;
    margin: 5px 0;
    padding: 0;
}
.our_kursy_img p.our_kursy_p_price{
    color: #424242;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    margin: 5px 0;
    padding: 0;
}
.zakazat_kurs{
    display: none;
}
.kurs{
    background: #181d21;
    padding: 20px;
    width: 222px;
    overflow: hidden;
}
.kurs .input_form{
    width: 172px;
    margin: 0 auto 10px auto;
}
.kurs .form_button_kurs{
    background: url("../img/form_button_kurs.png") no-repeat;
    width: 222px;
    height: 55px;
    border: none;
    margin: 10px auto 0 auto;
}
.kurs .kurs_head{
    font-family: EuropeCondensedC;
    color: #ffffff;
    font-size: 26px;
    line-height: 26px;
    text-align: center;
    margin-bottom: 20px;
}


.reviews_wrap{

}
.reviews{
    width: 984px;
    padding: 0 10px;
    margin: 0 auto;
}
.reviews_head{
    font-family: EuropeCondensedC;
    color: #1a1a1a;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    margin-bottom: 30px;
}
.reviews_div_left{
    margin-bottom: 30px;
 }
.reviews_div_right{
    margin-bottom: 30px;
}
.reviews_div_left .reviews_div_ramka{
    background: #fafafa;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 20px 15px;
    border: 1px solid #e5e5e5;
}
.reviews_div_left .reviews_div_ramka img{
    float: left;
}
.reviews_div_left .reviews_div_ramka p{
    float: left;
    margin: 0 0 0 14px;
    width: 870px;
    color: #424242;
    font-size: 16px;
    line-height: 24px;
    font-style: italic;
}
.reviews_div_left .arrow{
    vertical-align: top;
    position: relative;
    top: -1px;
    left: 200px;
}
.reviews_div_left .name{
    color: #878787;
    font-size: 13px;
    line-height: 20px;
    position: relative;
    margin-left: 50px;
}
.reviews_div_right .reviews_div_ramka{
    background: #fafafa;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 20px 15px;
    border: 1px solid #e5e5e5;
}
.reviews_div_right .reviews_div_ramka img{
    float: left;
}
.reviews_div_right .reviews_div_ramka p{
    float: left;
    margin: 0 14px 0 0;
    width: 870px;
    color: #424242;
    font-size: 16px;
    line-height: 24px;
    font-style: italic;
}
.reviews_div_right .arrow{
    vertical-align: top;
    position: relative;
    top: -1px;
    left: 800px;
}
.reviews_div_right .name{
    color: #878787;
    font-size: 13px;
    line-height: 20px;
    position: relative;
    margin-left: 700px;
}

.foto_wrap{
}
.foto{
    width: 984px;
    padding: 0 10px;
    margin: 0 auto;
    position: relative;
}
.foto_head{
    font-family: EuropeCondensedC;
    color: #1a1a1a;
    font-size: 36px;
    line-height: 36px;
    text-align: center;
    margin-bottom: 20px;
}
.foto_div{
    float: left;
    margin: 5px;
    width: 186px;
    height: 186px;
    position: relative;
}
.foto_div:hover .fancybox .disp_none{
    display: block;
}
.disp_none{
    display: none;
    position: absolute;
    top:0;
    left: 0;
}


.contact_wrap{
    padding: 40px 0 0 0;
}
.contact{
    width: 984px;
    padding: 0 10px;
    margin: 0 auto;
}
.contact_head{
    font-family: EuropeCondensedC;
    color: #1a1a1a;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    margin-bottom: 30px;
}
.contact img{
    float: left;
    margin: 0 10px;
    /* margin: 0 auto; */
	display: block;
}








#popupBlock{
    display:none;
}
.myup {
    display:none;
    position: fixed;
    z-index:10000;
    width: 300px;
    padding: 20px;
    background-color: #ebf3fc;
    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;
    box-shadow: 0px 5px 18px #000;
    -webkit-box-shadow:0px 5px 18px #000;
    -khtml-box-shadow:0px 5px 18px #000;
    -moz-box-shadow:0px 5px 18px #000;
    font-weight: bold;
    border: none;
    font-family: arial;
    font-size: 16px;
    line-height: 20px;
}
.mytext{
    color: #000;
    font-variant: normal;
    line-height:125%;
    font-size: 14px;
    margin-bottom: 8px;
    margin-top: -3px;
    padding-top: 6px;
    overflow-y: auto!important;
}

.myclose {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid #ccc;
    height: 24px;
    line-height: 24px;
    position: absolute;
    right: -13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    top: -15px;
    width: 24px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.myclose:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-size: 14px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.myclose:hover {
    background-color: rgba(64, 128, 128, 0.8);
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
