﻿html, body {
    width: 100%;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    font-size: 10px;
    font-family: "RobotoRegular";
    font-weight: normal;
    font-style: normal;
    color: #000000;
    background-color: #f6f6f6;
}

b, strong {
    font-family: RobotoRegular;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #1a7abe;
}

hr {
    border: none;
    color: #e1e3ea;
    background-color: #e1e3ea;
    height: 1px;
    margin-top: 15px;
    margin-bottom: 21px;
}

#container {
    position: relative;
    display: block;
    min-height: 100%;
    background-color: #ffffff;
}

#layout {
    display: block;
    position: relative;
    transition: all 300ms ease 0s;
}

#container {
    overflow: hidden;
}

#container.showMenu #layout {
    transform: translate3d(-285px, 0px, 0px);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

h1 {
    font-family: RobotoCondensedBold;
    font-size: 30px;
    letter-spacing: initial;
    line-height: 38px;
    text-transform: uppercase;
    color: #2c2c2c;
}

h2 {

}

h3.simple {
    font-size: 30px;
    color: #2c2c2c;
    text-transform: uppercase;
    font-family: RobotoCondensedBold;
    letter-spacing: initial;
    line-height: 38px;
}

h3.simple.white {
    color: #ffffff;
}

h4 {

}

h5 {

}

ul li {
    list-style: none;
}

ol {
    display: block;
    padding-top: 25px;letter-spacing
}

/*Надстройка над гридом*/
img, object, embed {
    height: auto;
    max-width: 100%;
    display: inline-block;
}

.grid {
    max-width: 1170px;
    min-width: 320px;
    background-color: transparent;
    overflow: visible;
}

.grid.grid1230 {
    max-width: 1230px;
    min-width: 320px;
    background-color: transparent;
    overflow: visible;
}

.ffl {
    font-family: RobotoLight;
}

.ffb {
    font-family: RobotoCondensedBold;
}

.ffr {
    font-family: RobotoRegular;
}

/******/

/** colors **/

.c-white {
    color: #ffffff;
}

.c-black {
    color: #000000;
}

.c-blue {
    color: #003b75;
}

.c-Lblue {
    color: #97c7e6;
}

.c-Lblue1 {
    color: #0d70af;
}

.c-76 {
    color: #767676;
}

.c-2c {
    color: #2c2c2c;
}

.c-green {
    color: #0a992b;
}

/** end colors **/

.bc-white {
    background-color: white;
}

.bc-blue {
    background-color: #003b75;
}

.bc-Dblue0 {
    background-color: #0d3a6a;
}

.bc-Dblue {
    background-color: #08366f;
}

.bc-Dblue1 {
    background-color: #134684;
}

.bc-Dblue2 {
    background-color: #2862a7;
}

.bc-Dblue3 {
    background-color: #154793;
}

.bc-d9 {
    background-color: #d9d9d9;
}

.bd-bebdbd {
    border: 1px solid #bebdbd;
}

.bd-dbdbdb {
    border: 1px solid #dbdbdb;
}

.bd-l-dbdbdb {
    border-left: 1px solid #dbdbdb;
}

.bd-r-dbdbdb {
    border-right: 1px solid #dbdbdb;
}

.bb-none {
    border-bottom: none;
}

.bt-none {
    border-top: none;
}

.right-dotted {
    background: transparent url("../images/main/right-dotted.png") repeat-y right top;
}

.bottom-dotted {
    background: transparent url("../images/main/bottom-dotted.png") repeat-x bottom left;
}

.blue-pattern {
    background: #155094 url("../images/main/stars-prtn.png") no-repeat top center;
}

.blue-pattern.small {
    background-position: center -145px;
}

.white-pattern {
    background: #e6edf8 url("../images/main/stars-prtn-white.png") no-repeat top center;
}

.userAvatar {
    border-radius: 50%;
}

/**icons**/
i.icon {
    display: inline-block;
    position: relative;
    background: no-repeat center center transparent;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

i.icon.social {
    width: 29px;
    height: 30px;
    background-color: #ffffff;
}

i.icon.social:hover {
    box-shadow: 0 0 5px #5c5c5c;
}

i.icon.social.yo {
    background-image: url("../images/main/i/social/yo.png");
}

i.icon.social.vk {
    background-image: url("../images/main/i/social/vk.png");
}

i.icon.social.fb {
    background-image: url("../images/main/i/social/fb.png");
}

i.icon.social.in {
    background-image: url("../images/main/i/social/in.png");
}

i.icon.social.tw {
    background-image: url("../images/main/i/social/tw.png");
}

i.icon.socialColor {
    background-image: url('../images/main/i/social-list.png');
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

i.icon.socialColor.vk {
    background-position: 0 top;
}

i.icon.socialColor.fb {
    background-position: -36px top;
}

i.icon.socialColor.ok {
    background-position: -72px top;
}

i.icon.socialColor.tw {
    background-position: -108px top;
}

i.icon.socialColor.gg {
    background-position: -144px top;
}

i.icon.socialColor.mr {
    background-position: -180px top;
}

i.icon.socialColor:hover {
    box-shadow: 0 0 5px #c3c3c3;
}

i.icon.search {
    background-color: #003b75;
    background-image: url("../images/main/i/search-white.png");
    cursor: pointer;
    display: block;
    height: 50px;
    position: absolute;
    right: 0;
    width: 50px;
    z-index: 1;
}

i.icon.menu_mobile {
    background-image: url('../images/main/i/mobile-menu.png');
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-size: 100% auto;
}

i.icon.menu_mobile.close {
    background-image: url('../images/main/i/mobile-menu-close.png');
}

i.icon.user-blue {
    background-image: url('../images/main/i/user-blue.png');
    width: 16px;
    height: 18px;
    background-size: 100% auto;
}

i.icon.user-white {
    background-image: url('../images/main/i/user-white.png');
    width: 16px;
    height: 18px;
    background-size: 100% auto;
}

i.icon.pencil-white {
    background-image: url('../images/main/i/pencil-white.png');
    width: 17px;
    height: 17px;
    background-size: 100% auto;
}

i.icon.mail-white {
    background-image: url('../images/main/i/mail-white.png');
    width: 23px;
    height: 14px;
    background-size: 100% auto;
}

i.icon.tumbler {
    width: 40px;
    height: 20px;
    border-radius: 10px;
    border: 1px solid #ced1d7;
    background-color: #ffffff;
    position: relative;
}

i.icon.tumbler > span {
    display: block;
    position: absolute;
    left: 2px;
    top: 50%;
    margin-top: -7px;
    height: 14px;
    width: 14px;
    border-radius: 7px;
    background-color: #003b75;
}

i.icon.tumbler.active {
    background-color: #003b75;
    border-color: #003b75;
}

i.icon.tumbler.active > span {
    background-color: #ffffff;
    right: 2px;
    left: auto;
}

/** end icons **/

.button {
    display: inline-block;
    position: relative;
    border: none;
    background: #a4c1f1;
    cursor: pointer;
    text-decoration: none;
    color: #0d3a6a;
    line-height: 38px;
    padding-bottom: 2px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 16px;
    font-family: RobotoRegular;
}

.button.full {
    width: 100%;
}

.button.sendButton {
    background-color: #003b75;
    line-height: 48px;
    padding: 0 33px;
    text-transform: none;
    color: #ffffff;
}

.button:hover {
    box-shadow: 0 0 5px #5c5c5c;
}

/** slider **/
#projectsSlider {
    padding: 0 70px;
    position: relative;
}

.slider, .slider * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.projectsSlider .slides {
    overflow: hidden;
    position: relative;
}

.projectsSlider .slider {
    width: 10000px;
    position: relative;
    transition: left 0.3s ease-out 0s;
}

#projectsSlider .slides .slide {
    float: left;
    display: inline-block;
    position: relative;
    font-family: RobotoLight;
    font-size: 20px;
    line-height: 26px;
    color: #000000;
    min-height: 120px;
    padding: 20px 30px;
    background: #f7f8f9 url("../images/main/white-ptrn.png") no-repeat center top;
    margin-left: 30px;
    width: 300px;
    max-width: 300px;
}

#projectsSlider .slides .slide:first-child {
    margin-left: 0;
}

.projectsSlider > .icon {
    background-repeat: no-repeat;
    cursor: pointer;
    height: 31px;
    margin-top: -20px;
    position: absolute;
    top: 50%;
    width: 47px;
    z-index: 1;
}

.projectsSlider > .icon.left {
    background-image: url("../images/main/i/slide-left.png");
    background-position: left top;
    left: 0;
}

.projectsSlider > .icon.right {
    background-image: url("../images/main/i/slide-right.png");
    background-position: right top;
    right: 0;
}

/** end slider **/

/** input **/

select, input[type="text"], input[type="password"], input[type="email"] {
    background-color: #ffffff;
    border: medium none;
    color: #767676;
    display: inline-block;
    font-family: RobotoLight;
    font-size: 1.6em;
    height: 40px;
    line-height: 16px;
    outline: medium none;
    overflow: hidden;
    padding: 12px 10px;
    white-space: nowrap;
    width: 100%;
}

textarea {
    background-color: #ffffff;
    width: 100%;
    color: #1c1919;
    display: inline-block;
    font-size: 15px;
    resize: none;
    outline: none;
    padding: 10px 15px;
    border: 1px solid #d3d3d3;
    max-height: 250px;
}

::-webkit-input-placeholder {
    /*color: #bad7ec;*/
    color: #838383;
}

::-moz-placeholder {
    color: #838383;
}

/* Firefox 19+ */
:-moz-placeholder {
    color: #838383;
}

/* Firefox 18- */
:-ms-input-placeholder {
    color: #838383;
}

.errorField > select,
.errorField > input[type="text"],
.errorField > input[type="password"],
.errorField > input[type="email"],
.errorField > textarea {
    border: 2px solid #e27171 !important;
}

.errorField .errorMessage {
    color: #ff0000;
    font-size: 1em;
    left: 0;
    line-height: 1.3em;
    overflow: hidden;
    position: absolute;
    top: 100%;
    width: 100%;
    text-align: right;
}

.popup select, .popup input[type="text"], .popup input[type="password"], .popup input[type="email"] {
    border: 2px solid #d9d9d9;
    line-height: 24px;
}

.popup select:focus, .popup input[type="text"]:focus, .popup input[type="password"]:focus, .popup input[type="email"]:focus {
    border: 2px solid #63b0e3;
}

.popup textarea {
    background-color: #ffffff;
    border: 2px solid #d9d9d9;
}

/** end input **/

/*header*/

header {

}

header .searchMain {
    float: right;
    margin-top: -10px;
}

header .searchMain .searchBlock {
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 28px;
    width: 0;
}

header .searchMain .searchBlock .searchButton {
    cursor: pointer;
    display: block;
    height: 50px;
    opacity: 0;
    position: absolute;
    right: 0;
    width: 50px;
    z-index: 2;
}

header .searchMain .searchBlock input {
    background-color: #ededed;
    border: medium none;
    border-radius: 0;
    color: #000000;
    font-size: 14px;
    height: 50px;
    width: 297px;
}

header .searchMain .searchBlock input::-webkit-input-placeholder {
    color: #7e7e7e;
}

header .searchMain .searchBlock input::-moz-placeholder {
    color: #7e7e7e;
}

header .searchMain .searchBlock input:-moz-placeholder {
    color: #7e7e7e;
}

header .searchMain .searchBlock input:-ms-input-placeholder {
    color: #7e7e7e;
}

/*end header*/

/*menu*/

/*В верхнем меню всплывающее меню*/
header .top {
    background-color: #003b75;
}

header menu {
    border-collapse: collapse;
    display: table;
    position: relative;
    width: 100%;
}

header menu > li {
    display: table-cell;
    float: none;
    position: relative;
    text-align: center;
    vertical-align: text-bottom;
}

header menu > li.active, header menu > li:hover {
    background-color: #0d3b87;
}

header menu > li:first-child a {
    border-left: 1px solid #134599;
}

header menu > li a {
    color: #ffffff;
    display: block;
    font-size: 16px;
    line-height: 30px;
    padding: 10px 15px;
    border-right: 1px solid #134599;
}

/*** mobileMenu ***/
.mobileMenuBlock {
    background: transparent url("../images/main/i/mobile-menu.png") no-repeat scroll center center;
    cursor: pointer;
    float: right;
    height: 30px;
    margin-top: 2px;
    position: relative;
    width: 30px;
}

#mobileMenuBlock {
    position: relative;
    float: right;
    width: 30px;
}

#mobileMenuBlock i.menu_mobile.close {
    display: none;
}

#container.showMenu #layout #mobileMenuBlock i.menu_mobile {
    display: none;
}

#container.showMenu #layout #mobileMenuBlock i.menu_mobile.close {
    display: block;
    z-index: 4;
    background-color: #1a7abe;
}

menu.mobileMenu {
    background-color: #ffffff;
    padding-top: 17px;
    padding-bottom: 21px;
}

menu.mobileMenu li {
    list-style: none;
}

menu.mobileMenu li a {
    font-size: 14px;
    color: #2c2c2c;
    line-height: 16px;
    padding-left: 20px;
    display: block;
    padding-right: 5px;
    padding-top: 7px;
    padding-bottom: 7px;
}

menu.mobileMenu li.active a {
    color: #003b75;
}

/*** end mobileMenu ***/

/* aside mobile */
aside#mobileRight {
    position: absolute;
    height: 100%;
    width: 285px;
    top: 0;
    right: -285px;
    background-color: #ffffff;
}

.searchMobile {
    position: relative;
    display: block;
}

.searchMobile input[type="text"] {
    width: 100%;
    padding-left: 50px;
    background: #ffffff url("../images/main/i/search-blue.png") no-repeat 24px center;
    background-size: 18px auto;
    border: none;
    border-radius: 0;
    height: 42px;
    border-bottom: 1px solid #d9d9d9;
}

.searchMobile input[type="submit"] {
    width: 1px;
    height: 1px;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

/* end aside mobile */

/*end menu*/

main {
    position: relative;
    display: block;
    background-color: #f6f7fa;
    overflow: hidden;
}

time {
    color: #767676;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tagName {
    display: inline-block;
    background-color: #003b75;
    color: #ffffff;
    font-size: 14px;
    padding: 5px 10px;
    line-height: 15px;
    text-transform: uppercase;
}

article {
    display: block;
    position: relative;
}

.artFull {
    padding-top: 30px;
    padding-bottom: 30px;
    background: transparent url("../images/main/bottom-dotted.png") repeat-x bottom left;
}

.artFull:last-child {
    background: none;
}

article:after {
    display: block;
    clear: both;
    content: ''
}

.bannerPuzzle {
    display: block;
    position: relative;
}

.bannerPuzzle > .puzzle {

}

.bannerPuzzle > .bg {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: transparent url("../images/main/banner/bg.png") repeat center;
}

.bannerPuzzle .text {
    line-height: 36px;
    color: #ffffff;
    font-size: 30px;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 50%;
    margin-top: -20px;
    padding: 0 15px;
}

/************/

footer {
    display: block;
    color: #ffffff;
    background: #155094 url("../images/main/stars-prtn.png") no-repeat scroll center top;
    font-family: RobotoLight;
}

footer h4 {
    color: #a4c1f1;
    font-size: 20px;
    line-height: 22px;
    font-family: RobotoCondensedBold;
    text-transform: uppercase;
    letter-spacing: initial;
}

footer ul.menu {
    font-size: 16px;
    line-height: 22px;
    padding-top: 15px;
}

footer ul.menu li {
    padding: 3px 0;
}

footer ul.menu li a {
    color: #ffffff;
}

footer ul.menu li a:hover {
    text-decoration: underline;
}

footer .subscribe input[type="email"] {
    box-shadow: none;
    float: left;
    outline: medium none;
    width: 49%;
    background-color: #0d3a6a;
    border: 2px solid #a4c1f1;
    border-radius: 0;
    height: 40px;
    color: #ffffff;
}

footer .subscribe .button {
    float: left;
    font-size: 1.4em;
    letter-spacing: 0.1em;
    line-height: 40px;
    padding: 0 29px;
}

footer .subscribe .button {
    font-size: 1.4em;
    letter-spacing: 0.1em;
    line-height: 40px;
}

/** popup **/

#popup_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 3;
    left: 0;
    top: 0;
    overflow: hidden;
}

#popup_bg.show {
    background: rgba(0, 0, 0, 0) url("../images/main/popup.png") repeat scroll 0 0;
    display: block;
}

.popup {
    display: block;
    left: 20%;
    max-height: 100%;
    max-width: 570px;
    min-width: 320px;
    padding: 0 15px;
    position: absolute;
    top: 10px;
    width: 100%;
}

#popup_bg i.close {
    position: absolute;
    right: 30px;
    top: 15px;
    cursor: pointer;
    z-index: 2;
    background: url("../images/main/i/close.png") no-repeat center top;
    height: 15px;
    width: 15px;
}

#popup_bg i.close:hover {
    background-position: center bottom;
}

.popup > .main {
    background-color: #fff;
    min-width: 250px;
    padding: 40px 50px 30px;
}

.popup label {
    color: #767676;
    font-size: 1.6em;
    font-family: RobotoRegular;
    line-height: 18px;
    display: block;
    margin-bottom: 17px;
    margin-top: 24px;
}

.popup h2, .popup .head {
    color: #2c2c2c;
    font-family: RobotoCondensedBold;
    font-size: 3em;
    letter-spacing: 0.08em;
    line-height: 38px;
    text-transform: uppercase;
}

.popup .head.c-a1 {
    color: #a1a1a1;
}

/** end popup **/

.h-blue:hover {
    color: #003b75 !important;
}

@media handheld, only screen and (max-width: 1169px) {
    .grid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media handheld, only screen and (max-width: 1100px) {
    header menu > li a {
        font-size: 14px;
        padding: 10px;
    }
}

/** pad **/
@media handheld, only screen and (max-width: 980px) {
    header menu > li a {
        font-size: 12px;
    }

    #projectsSlider .slides .slide {
        padding: 15px;
    }

    h3.simple {
        font-size: 24px;
    }

    h1{
        font-size: 25px;
        line-height: 30px;
    }
}

/** tab **/
@media handheld, only screen and (max-width: 700px) {
#popup_bg.show {
    background: none;
    display: block;
}

    .grid {
        padding-left: 10px;
        padding-right: 10px;
    }

    time {
        font-size: 12px;
    }

    footer .subscribe input[type="email"] {
        width: 59%;
    }

    footer h4 {
        font-size: 17px;
    }

    h3.simple {
        font-size: 22px;
    }

    .bannerPuzzle .text {
        font-size: 26px;
        line-height: 32px;
    }
}

/** mobile **/
@media handheld, only screen and (max-width: 480px) {
    #projectsSlider {
        padding: 0;
    }

    .bannerPuzzle .text {
        font-size: 22px;
        line-height: 28px;
    }

    footer .subscribe input[type="email"] {
        width: 72%;
    }
}