body {
	font-family: 'Gilroy';
	background: #fff;
	font-size: 14px;
	font-weight: 400;
	color: #161616;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 30px;
	font-family: 'Gilroy';
	margin: 0 0 16px;
	padding: 0;
}

h2 {
	font-size: 24px;
}

h3,h4,h5 {
	font-size: 18px;
}

img {
	max-width: 100%;
	height: auto;
}

.loader {
    background: #fff url(../img/91.gif) no-repeat 50% 50%;
    opacity: 1;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2000;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
}

.dark {
    background: #F8F8F8;
}

.dark.bg {
    background: #F8F8F8 url(../img/feats-bg.png) no-repeat 0 50%;   
    background-size: contain;
}

.header {
    text-align: center;
    margin-bottom: 60px;
}

.postheader {
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    display: block;
    margin-bottom: 65px;
}

/* top */

.topblock {
    position: relative;
}

.top .frame {
    margin: 0 0 0 auto;
    max-width: 600px;
    padding: 40px 30px 0 0;
}

.top .frame .logo {
    margin-bottom: 90px;
    display: flex;
    flex-direction: row;
}

.top .frame .menu {
    padding-top: 10px;
    margin-left: 30px;
}

.top .frame .menu a {
    white-space: nowrap;
    margin: 0 10px 5px 0;
    display: inline-block;
    color: #161616;
}

.top .email,
.top .phone {
    font-size: 16px;
    color: #FFFFFF;
    display: block;
}

.top .phone {
    font-size: 21px;
    text-decoration: none;
    margin-top: 10px;
}

.top .infoblock {
    margin-top: 58px;
    display: block;
    margin-left: 51px;  
    float: left; 
}

.top .email::before,
.top .phone::before {
    background: url(../img/phone.png) no-repeat bottom;
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    top: 4px;
    margin-right: 15px;
}

.top .email::before {
    background: url(../img/email.png) no-repeat;    
}

.header,
.top .h1 {
    font-weight: 600;
    font-size: 50px;
    line-height: 150%;
    color: #D5000A;
    display: block;
}

.top .h2 {
    font-size: 36px;
    line-height: 150%;
    display: block;
    margin-bottom: 30px;
}

.top .h3 {
    font-size: 18px;
    line-height: 150%;
    display: block;
}

.redline {
    width: 100%;
    position: absolute;
    bottom: 60px;
    min-height: 323px;
}

.redline .frame {
    max-width: 1275px;
    background: #D5000A;
    width: 100%;
}

.redline .frame .limiter {
    width: 920px;
    margin: 0 0 0 auto;
    padding: 30px 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;   
}

.redline .frame dl {
    max-width: 300px;
    width: 100%;
    display: block;
    padding-right: 80px;
    margin-bottom: 30px;
}

.redline .frame dl dt {
    font-size: 24px;
    line-height: 36px;
    color: #FFF;
    opacity: 0.75;
}

.redline .frame dl dd {
    font-size: 16px;
    line-height: 150%;
    color: #FFF;
}

.redline .frame dl em {
    font-weight: 900;
    font-size: 52px;
    line-height: 78px;
    font-style: normal;
}

ul.top {
    min-height: 917px;
    width: 100%;
    display: table;
}

ul.top li {
    width: 50%;
    height: 100%;
    display: table-cell;
    vertical-align: top;
}

ul.top li.bg {
    background: url(../img/topbg.jpg) no-repeat;
}

/* about */
.complex {
    background: url(../img/geo-bg.jpg) no-repeat right 50%;
}

section.supply {
    background: #F8F8F8;
}

.complex .wrapper {
    padding: 102px 0 240px 0;

}

.complex .postheader,
.complex .header {
    margin-bottom: 0;
    max-width: 1073px;
}

.complex .postheader {
    font-size: 24px;
}

ul.about {
    display: table;
}

ul.about > li {
    display: table-cell;
    vertical-align: middle;
}

ul.about > li + li {
    padding-left: 100px;
}

ul.about > li .header {
    text-align: left;
    margin-bottom: 40px;
}

ul.about > li dl {
    margin: 23px 0 0 40px;
    border-left: 1px solid #D5000A;
    padding-left: 21px;
}

ul.about > li dl dt {
    font-weight: bold;
    font-size: 18px;
    line-height: 150%;
}

ul.about > li dl dd {
    font-size: 12px;
    line-height: 150%;
    margin-top: 7px;
    padding-bottom: 2px;
}

ul.about > li p {
    font-size: 18px;
    line-height: 150%;
}

ul.about > li .infoblock {
    background: url(../img/infoblock.png) no-repeat left center;
    padding-left: 100px;
    margin-top: 70px;
    font-size: 14px;
    line-height: 150%;
    min-height: 70px;
}

ul.about > li img {
    max-width: 500px;
    width: auto;
}

.map {
    /*
    margin: 120px 0;
    */
    position: relative;
}

.mapblock img {
    max-width: 1172px;
    margin: 0 auto;
}

ul.legend {
    position: absolute;
    bottom: 0px;
    left: 0px;
}

ul.legend li{
    padding-left: 44px;
    line-height: 20px;
    display: block;
}

.legend li:nth-child(1) {
    background: url(../img/lg1.png) no-repeat;
}

.legend li:nth-child(2) {
    background: url(../img/lg2.png) no-repeat;
}

.legend li:nth-child(3) {
    background: url(../img/lg3.png) no-repeat;
}

ul.legend li + li {
    margin-top: 20px;
}

.tks {
    display: block;
    position: absolute;
    bottom: -50px;
    right: 0px;
    padding: 30px;
    background: #fff;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
}

.tks > em {
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
    color: #D5000A;
    display: block;
    margin-bottom: 16px;
}

.tks p {
    margin: 21px 0 0;
    font-weight: normal;
    font-size: 18px;
    line-height: 150%;
}

/* services */
.wrapper.services {
    padding: 120px 0 60px;
}

.wrapper.services .header {
    margin-bottom: 15px;
}

ul.services {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
}

ul.services li {
    max-width: 390px;
    width: 100%;
    display: block;
    font-size: 18px;
    line-height: 150%;  
    margin-bottom: 60px;  
}


ul.services li dl {
    display: table;
}

ul.services li dl dt,
ul.services li dl dd {
    display: table-cell;
    vertical-align: middle;
}

ul.services li dl dd {
    padding-left: 41px;
}


/* features */
.wrapper.features {
    padding: 120px 0;
}

ul.features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

ul.features li {
    max-width: 270px;
    width: 100%;
    display: block;
    font-size: 18px;
    line-height: 150%;  
    margin-bottom: 60px;  
}

ul.features li > span {
    display: flex;
    height: 60px;
    align-items: flex-end;
    margin-bottom: 30px;
}


ul.features li img {
    display: block;
}

/* supply */
.wrapper.supply {
    padding: 73px 0 70px;
    background: url(../img/octagon.jpg) no-repeat 50% 285px;
}

.supply .header {
    margin-bottom: 20px;
}

.supply .postheader {
    margin-bottom: 40px;
}

.complex-supply {
    min-height: 645px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    position: relative;
}

.supply-float {
    background: url(../img/infoblock.png) no-repeat;
    position: absolute;
    padding: 5px 0 0 100px;
    top: 0;
    right: 0;
    min-height: 70px;
    width: 370px;
    font-size: 14px;
    line-height: 150%;
}

.complex-supply .inner {
    min-width: 528px;
    height: 538px;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.complex-supply .inner::before {
    content: '';
    background: url(../img/lines-a.png) no-repeat 0 top;
    width: 96px;
    height: 538px;
    display: block;
    position: absolute;
    left: 0;
}

.complex-supply .inner::after {
    content: '';
    background: url(../img/lines-b.png) no-repeat 0 bottom;
    width: 96px;
    height: 538px;
    display: block;
    position: absolute;
    right: 0;
}

.supply-right,
.supply-left {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-size: 18px;
    line-height: 150%;
}

.supply-left {
    padding-right: 20px;
}

.supply-right {
    padding-left: 20px;
}

.supply-left img {
    display: block;
    margin: 0 0 20px auto;
}

.supply-right img {
    display: block;
    margin: 0 auto 20px 0;
}

.supply-left span {
    border-right: 1px solid #D5000A;
    display: block;
    padding-right: 30px;
    text-align: right;
    padding-bottom: 20px;
}

.supply-block + .supply-block {
    margin-top: 40px;
}

.supply-right span {
    border-left: 1px solid #D5000A;
    display: block;
    padding-left: 30px;
    text-align: left;
    padding-bottom: 20px;
}

.connect {
    width: 200px;
    height: 200px;
    background: #FFF;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    padding-top: 33px;
    font-size: 18px;
    line-height: 120%;
    text-align: center;
    position: absolute;
    bottom: 54px;
    right: 80px;
}

.connect img {
    margin: 0 auto 15px;
    display: block;
}

.wrapper.cases {
    padding: 30px 0 60px;
}

.wrapper.cases  .header {
    margin-bottom: 30px;
}

.wrapper.clients {
    padding: 30px 0 100px;
}

.wrapper.portfolio {
    padding: 120px 0;
}

#ajw {
    position: relative;
}

ul.marks {
    margin-top: 80px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

ul.marks > li {
    width: 33.33%;
    margin: 30px 0 0;
    padding: 0 30px 0 55px;
    background: url(../img/mark.png) no-repeat 0 0;
    font-size: 14px;
    line-height: 150%;
}

ul.workslist {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;   
}

ul.workslist > li a{
    padding: 15px 25px;
    display: block;
    border: 1px solid #161616;
    font-weight: bold;
    font-size: 14px;
    line-height: 150%;
    margin: 0 15px 15px;
    text-decoration: none;
    color: #D5000A;
}

ul.workslist > li:hover a,
ul.workslist > li.active a {
    border: 1px solid #161616;
    background: #161616;
    color: #fff;
}

.works {
    display: flex;
    flex-direction: row;
    margin-top: 45px;
    font-weight: normal;
    font-size: 14px;
    line-height: 150%;
}

.portfolio-slider .works {
    margin: 0;
}

.works p {
    margin: 0 0 30px;
}

.works strong,
.works b {
    font-size: 18px;
    display: block;
}

.works strong + p,
.works b + p {
    margin-top: 10px;
}

.portfolio-navigation,
.works-navigation {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.works-navigation {
    margin-bottom: 30px;
}

.portfolio-navigation .next,
.portfolio-navigation .prev,
.works-navigation .next,
.works-navigation .prev {
    background: url(../img/nav2.png) no-repeat;
    width: 81px;
    height: 8px;
    display: inline-block;
}

.portfolio-navigation .prev:hover,
.works-navigation .prev:hover {
    background-position: 0 -8px;
}

.portfolio-navigation .next,
.works-navigation .next {
    background-position: -101px 0;
    margin-left: 20px;
}

.portfolio-navigation .next:hover,
.works-navigation .next:hover {
    background-position: -101px -8px;
}

.works .works-left {
    padding-right: 50px;
    flex-basis: 43%;
}

.works .works-right {
    flex-basis: 57%;
}

.works .works-right img {
    margin: 20px auto 20px;
    display: block;
}

.works .works-left ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;   
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.works .works-left ul > li {
    width: 50%;
    margin: 0 0 10px;
    list-style: none;
    padding: 0 10px 0 0;
}

.works .works-left ul > li::before {
    margin-right: 15px;
    font-weight: 900;
    content: '•';
    color: #D5000A;
}

.btn-consult {
    background: #D5000A;
    color: #fff;
    width: 222px;
    height: 52px;
    line-height: 52px;
    text-align: center;
    display: block;
    margin: -10px auto 0;
    text-decoration: none;
}

.btn-consult:hover {
    background: #161616;
    color: #fff;
}

.infoblock .btn-consult {
    margin: 10px auto 0;
}

/* porfolio */
.portfolio-frame {
    position: relative;
}

.portfolio-navigation {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 100;
}

.portfolio .works .works-right {
    padding-top: 30px;
}

.works .works-left ul.results {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 15px;
}

.works .works-left ul.results > li {
    width: 50%;
    padding: 0 15px 0 45px;
}

.works .works-left ul.results > li::before {
    display: none;
}

.flexslider .slides ul.results > li img{
    width: 30px;
    height: 30px;
    float: left;
    margin-left: -45px;
}

.clients-frame {
    background: #FFFFFF;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 970px;
    margin: 120px auto 0;
    padding: 30px 35px 35px;
}

.clients-slider {
    margin: 0;
}

.clients-frame .header {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 15px;
}

.clients-slider-controls {
    position: relative;
}

.flexslider.clients-slider .slides li .wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.flexslider.clients-slider .slides img {
    width: 13%;
    display: inline-block;
    margin: 0px 5px 10px;
    filter: grayscale(100%);
    opacity: 0.5;
}

.flexslider.clients-slider .slides img:hover {
    filter: grayscale(0%); 
    opacity: 1;  
}

/* scheme */
.wrapper.schemes {
    padding: 60px 0 90px 0;
}

.wrapper.schemes .header {
    margin-bottom: 30px;
}

ul.scheme-legend {
    display: flex; 
    flex-direction: row;
    flex-wrap: nowrap;  
    justify-content: center;
    margin: 0 0 60px;
}

ul.scheme-legend > li {
    padding: 16px;
    width: 152px;
    text-align: center;
    background: #161616;
    color: #fff;
    display: block;
    margin: 0 15px;
}

.scheme-legend > li:nth-child(even) {
    background: #D5000A; 
}

.scheme {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-evenly;
    height: 446px;
    margin: 0 auto;
    width: 100%;
}

.scheme li {
    height: 223px;
    padding: 0 0 156px;
    border-bottom: 1px dashed #D5000A;
    flex-grow: 1;
    position: relative;
}

.scheme li span {
    font-size: 18px;
    line-height: 150%;
    position: absolute;
    left: 0;
    top: 75px;
    width: 172px;
}

.scheme li:nth-child(odd)::after {
    background: url(../img/dot-red.png) no-repeat;
    display: block;
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 25px;
    height: 44px;
}

.scheme li:nth-child(even) {
    align-self: flex-end;
    padding: 60px 0 0;
    border-top: 1px dashed #D5000A;
    border-bottom: none;
    top: -1px;
    position: relative;
}

.scheme li:nth-child(even) span {
    top: 135px;
}

.scheme li:nth-child(even)::after {
    background: url(../img/dot-black.png) no-repeat;
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: -8px;
    width: 25px;
    height: 44px;
}

.scheme li:last-child {
    border: none;
}

/* footer */
footer {
    background: #161616;
}

footer .logo img {
    display: block;
    margin-bottom: 30px;
}

footer .logo {
    font-size: 14px;
    line-height: 150%;
    color: #BDBDBD;   
}

.wrapper.footer {
    padding-top: 60px;
    padding-bottom: 30px;
}

footer .copyright {
    color: #4F4F4F;
    display: block;
    text-align: center;
    margin: 30px 0 0;
}

footer .infoblock {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

footer .infoblock > li {
    width: 40%;
    font-style: normal;
    font-size: 14px;
    line-height: 150%;
    color: #BDBDBD;
}

footer .infoblock > li:nth-child(2) {
    width: 40%;
}

footer .infoblock > li:nth-child(3) {
    width: 20%;
}

footer .infoblock > li dl + dl {
    margin-top: 20px;
}

footer .infoblock > li a,
footer .infoblock > li dd {
    color: #fff;
}


/* modal */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
}

.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    max-width: 480px;
    margin: auto;
    vertical-align: middle;
    display: table;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-inner {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    padding: 50px 40px 40px;
    text-align: left;
    background: #fff;
}

.modal-title {
    font-weight: 600;
    font-size: 22px;
    line-height: 23px;
    text-align: center;
}

.modal-inner p {
    margin: 15px 0 15px 0;
    color: #252525;
    font-size: 14px;
    text-align: left;
    line-height: 20px;
    text-align: center;
}

.modal-inner p a {
    text-decoration: underline;
}

.modal-input textarea,
.modal-input input {
    color: #686868;
    padding: 12px 20px;
    border: 1px #e0e0e0 solid;
    font-size: 15px;
    width: 100%;
}

.modal-input textarea {
    height: 150px;
    line-height: normal;
    padding: 10px;
}

.modal-form button {
    margin-left: auto;
    margin-right: auto;
}

.modal-subtitle {
    display: block;
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
    text-align: center;
    margin: 45px 0 14px;
}

textarea.error,
input.error {
    border: 1px solid #f73d34!important;
}

.btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 24px;
    height: 24px;
    background:url(../img/m-close.png) no-repeat center;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-close:hover {
    transform: scale(0.8,0.8);
}

button, .trigger-send, .trigger-cad1c, .trigger-cad {
    background:#161616;
    font-weight: bold;
    font-size: 16px;
    color: #FFF;
    text-transform: uppercase;
    border: 1px solid #161616;
    padding: 18px 0 18px;
    max-width: 220px;
    display: block;
    width: 100%;
    cursor: pointer;
    -webkit-transition: border .2s ease-out, background-color .2s ease-out;
    -moz-transition: border .2s ease-out, background-color .2s ease-out;
    transition: border .2s ease-out, background-color .2s ease-out;
    position: relative;
    z-index: 1;
}

button::after, 
.trigger-send::after, 
.trigger-cad1c::after, 
.trigger-cad::after {
    position: absolute;
    content: '';
    z-index: -1;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #d5000a;
    transition: all 0.3s;
}

button:hover, 
.trigger-send:hover, 
.trigger-cad1c:hover, 
.trigger-cad:hover {
    border-color: #d5000a;
}


button:hover::after, 
.trigger-send:hover::after, 
.trigger-cad1c:hover::after, 
.trigger-cad:hover::after {
    width: 100%;
}

.modal-form button {
    margin-left: auto;
    margin-right: auto;
}

