@import url('../fonts/roboto_lightcondensed_cyrillic/stylesheet.css');
@import url('../fonts/roboto_regular_cyrillic/stylesheet.css');
@import url('../fonts/roboto_light_cyrillic/stylesheet.css');

*:focus, .btn:focus {
    outline:none !important;
}

body {
    margin: 0;
    padding: 0;
    color: #333;
    background: url('images/menu.jpg') top center no-repeat #12b7cf;
}
#noscript {
    width: 850px;
    padding: 15px;
    margin: 0 auto;
    background: #FFAAAA;
    text-align: center;
    font-size: 14px;
    line-height: 18px;
}
header, nav, section, footer {
    display: block;
    margin: 0 auto;
}
header {
    height: 435px;
    width: 960px;
    position: relative;
    color: #344e6d;
    background: url('images/menu.jpg') top center no-repeat #12b7cf;
}
header nav {
    width: 700px;
    height: 80px;
    position: absolute;
    left: -60px;
    top: 290px;
}
header nav a {
    display: inline-block;
    color: #fff;
    font-family: 'roboto_condensedlight';
    font-size: 20px;
    margin: 0 30px 0 0;
    text-decoration: none;
}
header nav a span.icon {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    background: url('images/icons.png') 0 0 no-repeat transparent;
}
header nav a span.link {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    border-bottom: 1px solid #fff;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s;
}
header nav a span.link:hover {
    border-bottom: 1px solid transparent;
}
header nav a span#icon-1 {
    background-position: 7px 0;
}
header nav a span#icon-2 {
    background-position: -220px 0;
}
header nav a span#icon-3 {
    background-position: -448px 0;
}
header #kzen-logo, header #popov-logo {
    display: block;
    width: 172px;
    height: 52px;
    position: absolute;
    top: 32px;
    left: 18px;
    background: url('images/kzen-logo.png') 0 0 no-repeat transparent;    
}
header #popov-logo {
    width: 213px;
    height: 48px;
    top: 32px;
    left: 300px;
    background: url('images/popov-logo.png') 0 0 no-repeat transparent;   
}
div.clear {
    clear: both;
}
#mainmenu nav h1.top-title {
    font-family: 'roboto_condensedlight';
    font-size: 60px;
    line-height: 80px;
    color: #ffb229;
    margin: 25px 0 10px 147px;
}
#mainmenu nav {
    display: block;
    width: 850px;
    margin: 0 auto 70px;
    padding: 0 0 0 50px;
    text-align: left;
}
#mainmenu nav a {
    color: #fff;
    display: block;
    margin: 0 0 6px;
    line-height: 25px;
    font-family: 'roboto_condensedlight';
    font-size: 20px;
    text-decoration: none;
}
#mainmenu nav a span.link {
    display: inline-block;
    color: #fff;
    margin: 0 15px 0 0;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 1px solid #fff;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s;
}
#mainmenu nav a span.link.sec-link {
    color: #ffb229;
    border-bottom: 1px solid #ffb229;
}
#mainmenu nav a span.link:hover, #mainmenu nav a span.sec-link:hover {
    border-bottom: 1px solid transparent;
}
#mainmenu nav a span.number {
    color: #272d33;
    display: inline-block;
    width: 135px;
    margin: 0 15px 0 0;
    text-align: right;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: default;
}
#mainmenu nav a.active, #mainmenu nav a:hover {
    text-decoration: none;
}
#mainmenu nav a.active {
    opacity: 0.5;
}
section.modules {
    display: block;
    width: 1088px;
}
footer p, footer p a {
    font-family: 'roboto_condensedlight';
    font-size: 14px;
    text-align: center;
    color: #66aec8;
}
section.modules h1 {
    font-family: 'roboto_condensedlight';
    font-size: 50px;
    line-height: 60px;
    color: #ffb229;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}
section.modules h2 {
    font-family: 'roboto_condensedlight';
    font-size: 30px;
    line-height: 35px;
    color: #fff;
    text-align: center;
    margin: 0 0 20px 0;
}
section.modules article {
    padding: 1px 124px 1px 549px;
}
section.modules article h2 {
    color: #ffb229;
    text-align: left;
    margin: 30px 0 20px 0;
}
section.modules article p {
    font-family: 'roboto_condensedlight';
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    text-align: left;
    margin: 0 0 20px 0;
}
section.modules article a.button {
    display: inline-block;
    font-family: 'roboto_condensedlight';
    font-size: 20px;
    line-height: 22px;
    color: #fff;
    text-align: center;
    margin: 10px 0 20px 0;
    padding: 15px 70px;
    background: #94c11a;
    text-decoration: none;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
section.modules article a.button:hover {
    border: 1px solid #fff;
}
#module-1 {
    height: 715px;
    margin-top: 40px;
    background: url('images/module-1.png') 0 0 no-repeat transparent;
}
#module-2 {
    height: 615px;
    margin-top: 0px;
    background: url('images/module-2.png') 0 0 no-repeat transparent;
}
footer {
    display: block;
    width: 960px;
    padding: 50px 0;
}
footer p, footer p a {
    font-family: 'roboto_condensedlight';
    font-size: 14px;
    text-align: center;
    color: #fff;
}

/* sub form */
#sendSub {
    display: none;
    width: 565px;
    height: 260px;
    background: rgba(37,38,45,0.95);
    margin: 0 0 0 -283px;
    padding: 1px;
    position: absolute;
    top: 1042px;
    left: 50%;
    z-index: 100;    
}
#sendSub h1 {
    font-size: 25px;    
    font-family: 'robotoregular';
    line-height: 30px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin: 30px auto;
}
#sendSub p {
    font-size: 16px;    
    font-family: 'robotoregular';
    line-height: 24px;
    text-align: center;
    color: #fff;
    margin: 30px auto;
}

#sendSub label {
    display: block;
    margin: 0 0 20px 0;
    text-align: center;
    position: relative;
}

#sendSub label.input {
    display: block;
    text-align: center;
    margin: 0 auto 25px;
}

#sendSub .errorDiv {
    display: none;
    width: 400px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    vertical-align: middle;
    position: absolute;
    text-align: center;
    white-space: nowrap;
    top: -22px;
    left: 50%;
    margin-left: -200px;
    color: white;
    font-size: 18px;
}

#sendSub .errorDiv > div {
    display: inline-block;
    position: relative;
    padding: 0 10px;
    background: #ff005a;
    text-align: center;
    font-family: "robotolight";
}

#sendSub .errorDiv > div:after {
    content: '\00A0';
    border-top: 10px solid #ff005a;
    border-left: 8px solid rgba(0, 0, 0, 0);
    border-bottom: 8px solid rgba(0, 0, 0, 0);
    border-right: 8px solid rgba(0, 0, 0, 0);
    display: block;
    height: 0;
    position: absolute;
    bottom: -18px;
    margin-left: -8px;
    left: 50%;
    width: 0;
}

#sendSub input[type="text"] {
    display: block;
    margin: 0 auto;
    width: 463px;
    height: 50px;
    border: 1px solid #6c788a;
    background-color: transparent;
    color: #fff;
    font-size: 18px;
    font-family: "robotolight";
    text-align: center;
}

#sendSub input::-webkit-input-placeholder { color: #fff;  }
#sendSub input::-moz-placeholder { color: #fff; opacity: 1; }
#sendSub input::placeholder { color: #fff; }

#sendSub input[type="text"]:focus::-webkit-input-placeholder { color:transparent; }
#sendSub input[type="text"]:focus::-moz-placeholder { color:transparent; }
#sendSub input[type="text"]:focus::placeholder { color:transparent; }

#buttonSub {
    display: block;
    margin: 0 auto;
    color: #fff;
    width: 464px;
    height: 49px;    
    border: 0;
    cursor: pointer;
    font-size: 24px;    
    font-family: "roboto_condensedlight";
    line-height: 49px;
    text-transform: uppercase;
    background: url('images/button-2.png') 0 0 no-repeat transparent;    
}
#buttonSub:hover {
    background: url('images/button-2.png') 0 -49px no-repeat transparent; 
}

#ajaxloaderImg {
    display: none;
    width: 126px;
    height: 22px;
    padding: 11px 65px 14px;
    border: 0;
    margin: 0 auto;
}
div.clear {
    clear: both;
}

#statMess {
    width: 800px; 
    text-align: center;
    margin-top: -10px;
}

#statMess {
    margin-top: 50px;
    padding: 1px 10px 10px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#statMess p {
    font-size: 18px;
    color: #fff;
    margin: 10px auto 0 auto;
}

#video {
    margin: 0;
    padding: 0;
}
.fancybox-skin {
    background: rgba(0,0,0,0.2) !important;
}
.fancybox-inner, .fancybox-outer {
    width: 1280px !important;
    height: 800px !important;
    overflow: hidden !important;
}
.fancybox-skin {
    width: 1280px !important;
    height: 800px !important;
}
.nav-lessons {
    display: block;
    width: 1200px;
    height: 50px;
    margin: 0 auto;
    padding: 1px 0;
    text-align: center;
}
.nav-lessons a {
    display: inline-block;
    font-family: 'robotolight';
    text-decoration: none;
    border-bottom: 1px solid #fff;
    font-size: 16px;
    line-height: 20px;
    margin: 10px 10px;
    color: #fff;
}
.nav-lessons a#courses {
    display: inline-block;
    font-family: 'robotolight';
    text-decoration: none;
    color: #fff;
}
.nav-lessons a:hover {
    border-bottom: 1px solid transparent;
}
.nav-lessons a.prev-lesson {
    float: left;
}
.nav-lessons a.next-lesson {
    float: right;
}

#to-top {
    display: none;
    text-align: center;
    font-family: 'roboto_condensedlight';
    font-size: 16px;
    line-height: 22px;
    color: #fff;    
    margin: 10px 0 5px 450px;
    padding: 5px 20px;
   /* background: rgba(1,84,128,0.5);
    border: 0px solid transparent;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;*/
    border-radius: 8px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    position: fixed;
    bottom: 0px;
    left: 50%;
}
#to-top:hover {
    opacity: 1;
    cursor: pointer;
}