:root {
    --light-background-color: #f4f4f4;
    --highlight-color: #cc1f36;
    --main-background-color: #ffffff;

    --main-padding: 4em;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 14px;
    background: var(--main-background-color);
    line-height: 2em;
    font-family: 'Montserrat', sans-serif;
}

.wrapper {
    padding: var(--main-padding) calc(var(--main-padding) / 2);
}

.margined-left {
    margin-left: var(--main-padding);
}

.margined-right {
    margin-right: var(--main-padding);
}

.margined-right > h2:first-child,
.margined-left > h2:first-child,
.margined-right > h3:first-child,
.margined-left > h3:first-child,
.margined-right > p:first-child,
.margined-left > p:first-child {
    padding-top: 0;
    margin-top: 0;
}

.margined-right > ul:last-child,
.margined-left > ul:last-child,
.margined-right > ol:last-child,
.margined-left > ol:last-child,
.margined-right > p:last-child,
.margined-left > p:last-child,
.margined-right > h3:last-child,
.margined-left > h3:last-child{
    padding-bottom: 0;
    margin-bottom: 0;
}

a {
    color: inherit;
}

a[href^="tel:"] {
    text-decoration: none;
}

h1 {
    padding-top: .5em;
    font-size: 2.8em;
    line-height: 1.2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

.offer-description {
    font-size: 1.5em;
    line-height: 1.2em;
}

.button {
    background-color: var(--highlight-color);
    color: var(--main-background-color);
    font-weight: bold;
    text-decoration: none;
    padding: .5em 2em;
    margin-top: 1em;
    display: inline-block;
}

ul.no-lists, ol.no-lists {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.ul-styled > li {
    background: transparent url("./icons/list-bullet.svg") left .4em no-repeat;
    padding-left: 2em;
    padding-bottom: 1em;
    background-size: 1em;
}

.ul-styled > li:last-child {
    padding-bottom: 0;
}


.ul-compressed {
    line-height: 1.5em;
}

.text-uppercased {
    text-transform: uppercase;
}


.logo-top {
    max-width: 200px;
}


.logo-top img {
    max-width: 200px;
}

header {
    background: url("./img/header-background.jpg") center bottom no-repeat;
    background-size: cover;
    color: black;
}

/*.background-wrapper {*/
    /*min-height: 460px;*/
    /*position: absolute;*/
    /*overflow: hidden;*/
    /*display: table;*/
    /*width: 100%;*/
    /*left: 0;*/
    /*top: 0;*/
    /*bottom: 0;*/
    /*z-index: -1;*/
/*}*/

/*.parallax-background {*/
    /*background: url("./img/header-background.jpg") no-repeat center bottom;*/
    /*background-size: cover;*/
    /*position: absolute;*/
    /*width: 110%;*/
    /*left: -5%;*/
    /*top: -5%;*/
    /*bottom: 8%;*/
/*}*/

.header-background {
    background: linear-gradient(to right, rgba(255, 255, 255, .8) 50%, transparent 50%);
}

header .margined-right .header-ul {
    margin-top: var(--main-padding);
    margin-bottom: 1em;
}

.header-ul > li {
    padding-bottom: calc(var(--main-padding) - 1em);
    padding-left: 6em;
}

.header-ul > li:last-child {
    padding-bottom: 0;
}

.language_switch {
    display: inline-block;
    background: url("./flags/de.svg") rgba(255, 255, 255, 1) no-repeat 12px center;
    background-size: 30px;
    padding: 10px 25px 10px 55px;
}

.language_switch.mobile {
    display: block;
    background: url("./flags/de.svg") transparent no-repeat left bottom;
    background-size: 30px;
    padding: 15px 25px 0 45px;
}

.language_switch.en {
    background-image: url("./flags/en.svg");
}

.number-1,
.number-2,
.number-3 {
    background: url("./icons/number-1.svg") left top no-repeat;
    background-size: 3em;
}

.number-1 { background-image: url("./icons/number-1.svg"); }
.number-2 { background-image: url("./icons/number-2.svg"); }
.number-3 { background-image: url("./icons/number-3.svg"); }

.header-ul strong {
    text-transform: uppercase;
    display: block;
    padding-bottom: .5em;
    font-size: 1.5em;
}

#about ul {
    margin-top: calc(var(--main-padding) - var(--main-padding) / 2);
}

#about ul > li {
    margin-bottom: calc(var(--main-padding) - var(--main-padding) / 2);
}

#about ul > li:last-child {
    margin-bottom: 0;
}

#services h3 {
    font-size: 1.5em;
    line-height: 1.3em;
}

.text-highlighted {
    color: var(--highlight-color);
}

.text-centered {
    text-align: center;
}

.text-right {
    text-align: right;
}

.invert {
    color: var(--main-background-color);
}

.background-light {
    background-color: var(--light-background-color);
}

.main-background {
    background: linear-gradient(to right, var(--light-background-color) 50%, var(--main-background-color) 50%);
}

.footer-background {
    background: linear-gradient(to right, var(--highlight-color) 50%, var(--light-background-color) 50%);
}

#bottom-offer {
    background-color: var(--main-background-color);
}

.no-vertical-spacing > h2 {
    padding-top: 0;
    margin-top: 0;

    padding-bottom: 0;
    margin-bottom: 0;
}

.flex-wrapper {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex-block {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    flex-direction: column;

    align-items: stretch;
}

.logo-bottom {
    max-width: 200px;
    display: block;
    height: auto;

    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
}

.logo-bottom img {
    width: 200px;
}

.made-by {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    padding-bottom: 0;
    margin-bottom: 0;
}

.address {
    margin-bottom: calc(var(--main-padding) / 2);
}

.copyright {
    margin-top: var(--main-padding);
}


.progress {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    z-index: 8;
}

.background-wrapper {
    min-height: 460px;
    position: absolute;
    overflow: hidden;
    display: table;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}





#projects {
    overflow-x: hidden;
}

#projects-carousel .item {
    height: 275px;
    width: 200px;
    background: #000000;
    color: white;

    padding-left: 1em;
    padding-right: 1em;


    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;

    flex-direction: column;

    align-items: stretch;

    background: none center center no-repeat;
    background-size: cover;

}


#projects-carousel .item.item_1 { background-image: url("./../img/projects/ikea_ufa.jpg"); }
#projects-carousel .item.item_2 { background-image: url("./../img/projects/mega-ebk.jpg"); }
#projects-carousel .item.item_3 { background-image: url("./../img/projects/domodedovo.jpg"); }
#projects-carousel .item.item_4 { background-image: url("./../img/projects/domodedovo_training.jpg"); }
#projects-carousel .item.item_5 { background-image: url("./../img/projects/rudnij_combinat.jpg"); }
#projects-carousel .item.item_6 { background-image: url("./../img/projects/skolkovo.jpg"); }
#projects-carousel .item.item_7 { background-image: url("./../img/projects/oil_factory.jpg"); }
#projects-carousel .item.item_8 { background-image: url("./../img/projects/sochi.jpg"); }


#projects-carousel .item h3 {
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.56);

    height: auto;

    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    min-height: 3em;
    margin-bottom: 0;
    padding-bottom: 0;

    text-shadow: 1px 1px 0 black;
    line-height: 1.2em;
}



#projects-carousel .item p {
    font-weight: normal;
    font-size: .9em;
    line-height: 1.2em;

    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
}

#projects-carousel .item p:first-of-type {
    flex-grow: 1;
}

#projects-carousel .item p:last-of-type {
    background-color: rgba(0, 0, 0, 0.59);
    margin: 0 -14px;
    padding: 1em 1em 1em 1em;
}

.slick-slide {
    /*opacity: .3;*/

    filter: brightness(35%);
    -webkit-filter: brightness(35%);
    -webkit-transition: all .1s ease;
    -moz-transition: all .1s ease;
    -o-transition: all .1s ease;
    -ms-transition: all .1s ease;
    transition: all .1s ease;

    transition-delay: .3s;
}

.slick-slide.slick-active {
    /*opacity: 1;*/
    -webkit-filter: brightness(100%);
    filter: brightness(100%);
}




.relative {
    position: relative;
}

.slider-button {
    position: absolute;
    min-height: 275px;
    width: 30px;
    cursor: pointer;
    display: block;
    z-index: 100;
}

.slider-prev {
    top: 0;
    left: -60px;
    background: url("./icons/arrow-white-left.svg") center left no-repeat;

}

.slider-next {
    top: 0;
    right: -60px;
    background: url("./icons/arrow-white-right.svg") center right no-repeat;

}