body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

ul {
    padding-left: 0;
}

a, input, div, img, button,
a:visited, a:active, a:focus {
    outline: 0;
}

a {
    font-size: 16px;
    color: inherit;
}

a:hover, a:visited, a:focus {
    color: inherit;
}

img {
    max-width: 100%;
}

button, input, optgroup, select, textarea {
    color: #000;
}

.justify {
    font: 14px "Ubuntu", Geneva, sans-serif;
    text-align: justify;

    /* Обнуляем для родителя*/
    line-height: 0;
    font-size: 1px; /* 1px для Opera */

    /* Лекарство для IE6-7*/
    text-justify: newspaper;
    zoom: 1;

    /* Включаем в работу последнюю строку*/
    text-align-last: justify;
    margin-left: 0;
    padding-left: 0;
}

.justify:after {
    width: 100%;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    content: '';
    display: inline-block;

}

.justify li {
    display: inline-block;
    text-align: left;
    text-align-last: left;
    /* Востанавливаем у потомков, кроме последнего*/
    line-height: normal;
    font-size: 14px;

    /* Без него в Opera будет отступ под элементами */
    vertical-align: top;

    /* эмуляция inline-block для IE6-7*/
/ / display : inline;
/ / zoom : 1;
}

.flex-list {
    display: flex;
    justify-content: space-around;
}

.relative {
    position: relative;
}

img.align-left {
    float: left;
    padding: 7px 41px 20px 0;
}

.bebas-neue {
    font-family: "Bebas Neue", sans-serif;
}

.kelson-sans {
    font-family: "Kelson Sans", sans-serif;
}

.top-logo {
    display: inline-block;
    width: 22.88%;
    vertical-align: top;
}

.top-nav {
    display: inline-block;
    width: 76.6%;
    vertical-align: top;
    padding-top: 37px;
    padding-left: 4px;
}

.top-menu > li > a {
    text-transform: uppercase;
    color: #1f114f;
    font-size: 16px;
    font-weight: 600;

}

.top-menu > li {
    padding: 0 0;
    position: relative;
}

.top-menu > li:after {
    content: '';
    display: table;
    width: 1px;
    height: 24px;
    background: rgba(31, 17, 79, .4);
    position: absolute;
    right: -22px;
    top: -3px;
}

.top-menu > li:first-child {
    padding-left: 0;
}

.top-menu > li:last-child {
    padding-right: 18px;
}

.top-menu > li:last-child:after {
    right: 0;
}

.first-screen {
    background: url("../img/first-screen-bg.jpg") center top no-repeat;
    padding-top: 27px;
    background-size: cover;
}

.top-menu {
    font-family: "Kelson Sans", sans-serif;
}

.header {
    padding-bottom: 20px;
}

.site-slogan-block {
    margin-top: 62px;
}

ul.submenu {
    display: none;
    position: absolute;
    width: 120%;
    left: 50%;
    top: 98%;
    margin-top: 21px;
    padding: 16px 0;
    background: #74699b;
    color: #fff;
    min-width: 223px;
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 1001;
}


ul.submenu:after {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(116, 105, 155, 0);
    border-bottom-color: #74699b;
    border-width: 14px;
    margin-left: -14px;
}

ul.sub-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -10px;
    padding: 16px 0;
    background: #74699b;
    color: #fff;
    min-width: 183px;
    margin-left: 3px;
    z-index: 99;
}

ul.submenu > li {
    display: block;
    text-align: left;
    text-align-last: left;
    position: relative;
}

ul.submenu > li > a {
    display: block;
    padding: 8px 10px 10px 29px;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    font-weight: 100;
}

ul.sub-submenu > li {
    display: block;
    text-align: left;
    text-align-last: left;
}

ul.sub-submenu > li > a {
    display: block;
    padding: 8px 10px 10px 29px;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    font-weight: 100;
}

.submenu a:hover {
    color: #ffcb4f;
}

/*.has-submenu:hover > ul.submenu{*/
/*display: block;*/
/*}*/
.has-submenu .has-subsubmenu > a {
    position: relative;
    background: url("../img/arrow-right.png") right 25px center no-repeat;
}

.has-submenu2 .has-submenu > a:after {
    content: '➤';
    display: table;
    position: absolute;
    right: 20px;
    top: 50%;
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.slogan span {
    font-family: "Bebas Neue", sans-serif;
    color: #eff0e5;
    font-size: 99px;
    display: inline-block;
    background: rgba(56, 54, 50, .8);
    padding: 12px 23px;
    letter-spacing: 6px;
}

span.yellow-span {
    color: #ffc740;
}

.slogan {
    line-height: 1;
}

.top-contacts {
    float: right;
    line-height: 1;
}

.top-phone {
    color: #1f114f;
    font-size: 44px;
    font-family: "Kelson Sans", sans-serif;
    letter-spacing: 3px;
    text-shadow: 2px 1px 0px #fff;
}

.top-phone span {
    color: #74699b;
}

.work-time {
    color: #1f114f;
    font-size: 25px;
    font-family: "Kelson Sans", sans-serif;
    text-shadow: 0 0 0 #000;
    letter-spacing: 1px;
    margin-top: 23px;
}

.top-phone-2 {
    margin-top: 20px;
}

button.callback-btn {
    width: 100%;
    margin-top: 32px;
    font-size: 15px;
    text-transform: uppercase;
    border: 0;
    background: #74699b;
    color: #fefeff;
    padding: 18px 0;
    border-radius: 5px;
    letter-spacing: 1px;
    word-spacing: 1px;
    box-shadow: 0 2px 0 #1f114f;
}

.form-title {
    color: #fff;
    font-size: 36px;
    text-align: center;
    text-transform: uppercase;
    font-family: "Kelson Sans", sans-serif;
}

.free-consult-block {
    margin-top: 258px;
    padding-top: 63px;
    background: rgba(56, 54, 50, .84);
}

.free-consult-form input {
    color: #000;
    font-weight: 400;
}

::-webkit-input-placeholder {
     /* WebKit, Blink, Edge */
     color: #3b3a3a;
     font-weight: 100;
 }

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #3b3a3a;
    font-weight: 100;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #3b3a3a;
    font-weight: 100;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #3b3a3a;
    font-weight: 100;
}

.free-consult-form form {
    margin-top: 36px;
    margin-bottom: 66px;
}

.free-consult-form input {
    color: #000;
    font-weight: 400;
    padding: 12px 21px;
    margin-left: 27px;
    min-width: 283px;
    display: inline-block;
    border-radius: 4px;
    border: 0;
    box-shadow: inset -1px 1px 1px rgba(0, 0, 0, .5);
}

.free-consult-form button {
    color: #1f114f;
    text-transform: uppercase;
    background: #ffc740;
    margin-left: 25px;
    padding: 13px 45px 12px;
    border: 0;
    border-radius: 4px;
}

.block-title {
    color: #1f114f;
    font-size: 64px;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    text-align: center;
}

.our-services {
    background: #ececeb;
    padding-top: 64px;
}

.advantages {
    padding-top: 79px;
    padding-bottom: 8px;
}

.advantages-list li {
    width: 30%;
    text-align: center;
    text-align-last: center;
    margin-bottom: 64px;
}

.adv-title {
    font-size: 25px;
    color: #1f114f;
    text-transform: uppercase;
    font-family: "Kelson Sans", sans-serif;
    font-weight: 600;
    margin-top: 32px;
}

.adv-img {
    position: relative;
    min-height: 100px;
}

.adv-img img {
    position: absolute;
    /*top: 50%;*/
    left: 50%;
    bottom: 0;
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.advantage {
    border: 2px solid #e1e1e1;
    padding: 37px 10px 20px 10px;
    min-height: 406px;
    background: rgb(255, 255, 255);
    transition: .3s background;
    /*cursor: pointer;*/
}

.advantage:hover {
    background: rgb(232, 229, 216);
}

.advantages-grid {
    margin-top: 50px;
}

.adv-divider span {
    display: inline-block;
    width: 58px;
    height: 3px;
    background: #8376a2;
    margin-bottom: 19px;
    margin-top: 14px;
}

.adv-text {
    color: #3b3a3a;
    font-weight: 100;
    font-size: 16px;
    line-height: 1.4;
    padding: 0 18px;
}

.all-services {
    background: url("../img/all-inclusive-bg.jpg") center top no-repeat;
    background-size: cover;
}

.yellow-title {
    color: #ffc740;
    font-size: 60px;
    font-family: "Bebas Neue", sans-serif;
}

.all-services-block {
    padding-top: 54px;
    color: #fff;
}

.all-services-list .justify > li {
    width: 58%;
}

.all-services-list .justify > li.as-col1 {
    width: 40%;
}

.all-services-list li li {
    /*width: 49%;*/
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 14px;
    padding-left: 20px;
    background: url("../img/as-li-bg.png") left center no-repeat;
}

.white-divider span {
    display: inline-block;
    height: 5px;
    width: 92px;
    background: #fff;
    vertical-align: top;
    margin: 7px 0 31px;
}

.all-services-list {
    margin-top: 35px;
}

.ps-block {
    margin-top: 30px;
    color: #ffc740;
}

.as-form-wrap {
    background: #ffc740;
    margin-left: 40px;
    padding-bottom: 57px;
}

.as-form {
    text-align: center;
    padding-top: 56px;
}

.as-form input {
    display: block;
    margin: 20px auto 25px;
    width: 85%;
    padding: 14px 48px;
    border: 0;
    border-radius: 5px;
}

.as-form-title {
    color: #1f114f;
    font-size: 50px;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    line-height: 1.3;
}

.as-form-subtitle {
    color: #1f114f;
    font-size: 25px;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
}

.as-form form {
    margin-top: 36px;
}

.as-form button {
    border: 0;
    background: #584f79;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    padding: 14px 23px;
    margin-top: 3px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.as-form-footer {
    color: #1f114f;
    font-size: 25px;
    text-transform: uppercase;
    line-height: 1.2;
    font-family: "Bebas Neue", sans-serif;
    padding-top: 19px;
    letter-spacing: 1px;
}

.as-form-footer span {
    display: block;
    font-size: 33px;
    font-weight: 600;
    padding-top: 4px;
}

.why-choose-us {
    padding-top: 95px;
    background: #ececeb;
    padding-bottom: 41px;
}

.why-choose-us ol {
    counter-reset: orderlist;
    margin: 61px 0 30px;
}

.why-choose-us ol li .why-title:before {
    counter-increment: orderlist;
    content: counter(orderlist);
    position: absolute;
    top: -3px;
    left: 11px;
    min-width: 17px;
    text-align: center;
    font-weight: bold;
    color: #ececeb;
    font-size: 70px;
    line-height: 1;
    display: inline-block;
    vertical-align: top;
}

.why-title {
    position: relative;
    background: #d8d8d0;
    color: #1f114f;
    font-size: 25px;
    font-family: "Kelson Sans", sans-serif;
    padding: 13px 10px 13px 64px;
    font-weight: 600;
}

.why-choose-us .justify li {
    width: 48%;
    margin-bottom: 58px;
}

.why-text {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.5;
}

.work-step {
    text-align: center;
    text-align-last: center;
}

.work-step-list li {
    width: 17%;
}

.how-we-work {
    padding-top: 45px;
    background: url("../img/how-we-work-bg.png") center top no-repeat;
    background-size: cover;
    padding-bottom: 42px;
}

.work-step-list {
    margin-top: 34px;
}

.hww-img {
    min-height: 65px;
}

.hww-title {
    color: #1f114f;
    font-size: 25px;
    font-family: "Kelson Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 16px;
}

.hww-text {
    margin-top: 16px;
    font-size: 16px;
    padding: 0 16px;
    line-height: 1.5;
}

.last-questions {
    background: #87826e;
    padding-top: 55px;
    color: #fff;
    text-align: center;
    padding-bottom: 76px;
}

.last-questions .block-title {
    color: #fff;
}

.last-questions p {
    font-size: 33px;
    font-family: "Kelson Sans", sans-serif;
    margin-top: 10px;
}

.last-questions button {
    border: 0;
    margin-top: 28px;
    text-transform: uppercase;
    font-size: 18px;
    padding: 29px 53px 20px;
    background: #ffc740;
    color: #1a0c50;
    border-radius: 4px;
    font-weight: 400;
}

.address-map {
    background: url("../img/map-bg.png") center top no-repeat;
    text-align: center;
    color: #fff;
    padding-top: 185px;
    min-height: 678px;
}

.address {
    /*margin-top: 84px;*/
    line-height: 1.5;
}

.address span {
    color: #ffc740;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 9px;
    display: inline-block;
}

.footer-menu > li > a {
    text-transform: uppercase;
    color: #1f114f;
    font-size: 16px;
    font-weight: 600;
    font-family: "Kelson Sans", sans-serif;
}

/*.footer-menu > li:after {
    content: '';
    display: table;
    width: 1px;
    height: 24px;
    background: rgba(31,17,79,.4);
    position: absolute;
    right: -42px;
    top: -3px;
}*/
.footer-menu > li {
    padding: 4px 38px;
    position: relative;
    border-right: 1px solid rgba(31, 17, 79, .4);
}

.footer-nav {
    /*padding: 0 22px;*/

}

.footer-menu > li:first-child {
    /*padding-left: 20px;*/
    border-left: 1px solid rgba(31, 17, 79, .4);
}

/*
.footer-menu > li:first-child:before{
    content: '';
    display: table;
    width: 1px;
    height: 24px;
    background: rgba(31,17,79,.4);
    position: absolute;
    left: -21px;
    top: -3px;
}
.footer-menu > li:last-child:after{
    right: -22px;
}*/
.footer {
    background: #ececeb;
    padding: 26px 0 11px;
    text-align: center;
}

.footer-phone {
    color: #1f114f;
    font-size: 30px;
    font-family: "Kelson Sans", sans-serif;
    font-weight: 600;
    display: inline-block;
    padding: 0 13px;
}

.footer-phone span {
    color: #6a5b9b;
}
.footer-phones {
    margin-top: 43px;
}
.footer-phones p{
    padding-top: 5px;
    color: #1f114f;
    font-family: "Kelson Sans", sans-serif;
    font-size: 30px;
}
.dev-by {
    background: #43413c;
    padding: 22px 0 16px;
    color: #fff;
}
.offerta {
    padding-top: 28px;
}
.devby-link span {
    display: inline-block;
    margin-right: -34px;
}
.our-services-wrap{
    /*overflow-x: hidden;*/
    background: #ececeb;
    padding-top: 65px;
}
.services-grid{
    position: relative;
    width: 1280px;
    margin: 0 auto;

}
.service-title{
    color: #1f114f;
    font-size: 25px;
    text-transform: uppercase;
    font-family: "Kelson Sans", sans-serif;
    font-weight: 600;
    position: relative;
    padding: 33px 0 0 24px;
    line-height: 1.3;
}
.service{
    position: relative;
}
.service img{
    position: absolute;
    max-width: auto;
    max-width: initial;
    max-width: none;
}
.services {
    margin-top: 51px;
    overflow: hidden;
}
.service1 img {
    right: 0;
    top: 0;
}
.service1 {
    /*padding-top: 34px;*/
    min-height: 301px;
}
.service-text {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    padding: 7px 0 0 28px;
}
.service-link{
    position: absolute;
    bottom: 29px;
    left: 0;
    padding-left: 28px;
}
.service-link a{
    color: #1f114f;
    text-transform: uppercase;
    text-decoration: underline;
}
.service3 {
    min-height: 605px;
    margin-left: 4px;
}
.service3 .service-title {
    margin-left: 20px;
    padding-top: 37px;
}
.service3 .service-text {
    /*margin-left: 20px;*/
    padding-top: 306px;
}
.service3 .service-link {
    position: absolute;
    bottom: 30px;
    left: 0px;
}
.service3 img{
    left: 0;
    top: 0;
}
.service2 {
    min-height: 605px;
    margin-left: 4px;
    width: 319px;
}
.service2 .service-text {
    padding-right: 23px;
}
.service4 img {
    right: 0;
}
.service4 {
    min-height: 605px;
    margin-top: 4px;
}
.service4 .service-text {
    padding-right: 30px;
}
.service6 {
    min-height: 300px;
    left: -316px;
    margin-top: 4px;
}
.service6 .service-text {
    padding-right: 49px;
}
.service5 {
    min-height: 301px;
    background: #ffc740;
    margin-top: 4px;
    margin-left: 4px;
}
.service1 .service-text {
    width: 307px;
}
.has-submenu li{
    z-index: 999;
}
.free-consult-form form >div {
    position: relative;
    display: inline-block;
}
.as-form form >div{
    position: relative;
    display: block;
}
label.error {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 100%;
    left: 0;
    color: red;
}
.contacts-form label.error {
    display: none !important;
}
.contacts-form .error {
    border: 2px solid red;
}

.question-form label.error {
    display: none !important;
}
.question-form .error {
    border: 2px solid red;
}