/*GENERAL*/
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html{
    overflow-x: hidden;
}

body{
    padding: 0;
    margin: 0;
    overflow: hidden;
    color: #000000;
    height: 100%;           
    width: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    background: #FEFEFF;
}

a, p, li, span{
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1vw;
}

a.bold, p.bold, li.bold{
    font-weight: 600;
}

.digits{
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
}

a{
    text-decoration: none;
    color: unset;
}

.source-sans-pro{
    font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 100%;
}

h1, h2, h3{
    font-size: 3.2vw;
}

h4, h5{
    font-size: 2.1vw;
    letter-spacing: 0.05vw;
    font-weight: 600;
    line-height: 140%;
}


.w75{
    width: 75%;
}

.w80{
    width: 80%;
}

.z1{
    position: relative;
    z-index: 1;
}

.z0{
    position: relative;
    z-index: 0;
}

.zm1{
    position: relative;
    z-index: -1;
}


.desktop{
    display: initial;
    visibility: visible;
}

.mobile{
    display: none;
    visibility: hidden;
}

.montserrat{
    font-family: 'Montserrat', sans-serif;
}

.container{
    margin:0 auto;
    max-width: 80%;
}

.container-left{
    margin:0 auto;
    max-width: 80%;
    padding-right: 15%;
}

/*MAIN MENU*/

header{
    position: relative;
    z-index: 3;
}

nav{
    position: relative;
    width: 100%;
    display: flex;
    height: 80px;
    margin-bottom: -80px;
    align-items: center;
    justify-content: space-between;
}

#main-menu{
    list-style: none;
    display: flex;
    position: absolute;
    white-space: nowrap;
    left: 50%;
    transform: translate(-50%, 0);
    width: 32vw;
    justify-content: space-between;
}


#main-menu li{
    color: white;
    font-weight: 600;
    opacity: 0.9;
    text-align: center;
}

#main-menu li:after,
#main-menu-footer li:after{
    content: " ";
    display: block;
    position: relative;
    height: 2px;
    opacity: 0.65;
    background: #570C2B;
    width: 0px;
    left: 50%;
    top: 7px;
    transform: translate(-50%, 0);
    transition: width .3s;
}

#main-menu li.active:after,
#main-menu li:not(.active):hover:after,
#main-menu-footer li.active:after,
#main-menu-footer li:not(.active):hover:after{
    width: 40px;
}


#logo{
    width: 12vw;
}

.wrapper{
    display: flex;
    padding: 70px 0 0;
}

/*SLIDER*/

.slider{
    height: 30vw;
    display: flex;
}

.project-info h2,
.project-info p{
    color: rgba(255, 255, 255, .9);
}

.slide .project-info p{
    width: 70%;
        margin-top: 2%;
}

.slide{
    height: 100%;
    width: 7.5vw;
    background-size: 70vw;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 1.5%;
    transition: width .6s ease-in-out, opacity .1s ease;
    opacity: 1;
}

.slide:not(.chosen):hover{
    opacity: 0.8;
    cursor: pointer;
}

.slide.chosen{
    width: 70vw;
}

.slide .project-info{
    visibility: hidden;
    width: 0;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, .2);
}

.slide .project-info.opened{
    opacity: 1;
}


.slide.chosen .project-info{
    visibility: visible;
    width: initial;
    align-self: flex-start;
    margin-top: 20%;
}

.slide.chosen .clicker .name,
.slide:not(.chosen) .clicker .num{
    display: flex;
}

.slide:not(.chosen) .clicker .name,
.slide.chosen .clicker .num{
    display: none;
}

.clicker .num{
    cursor: pointer;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    transition: background .1s ease-in-out;
}

.big-num{
    font-size: 15vw;
    color: rgba(255, 255, 255, 0.45);
    transition: opacity .1s ease-in-out;
}

.slide .big-num{
    position: absolute;
    right: -1.5vw;
    opacity: 0;
}

.slide.chosen .big-num{
    opacity: 1;
}

.slide .clicker{
    background: rgba(255, 255, 255, 0.75);
    width: 3vw;
    white-space: nowrap;
    height: 10%;
    align-items: center;
    padding-left: 0;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.slide.chosen .clicker{
    width: 25%;
    justify-content: unset;
    padding: 0 3%;
    background: rgba(87, 12, 43, 0.75);
    color: white;
}

.slide .clicker .num:hover{
    background: rgba(87, 12, 43, 0.75);
    color: white;
}

/*Other pages slider*/
.mini-slider{
    min-height: 15vw;
    height: auto;
    padding: 7vw 0 1vw 4vw;
    background-size: cover;
    background-position: center;
    position: relative;
}

.mini-slider.repeater{
    background-size: contain;
    background-position: center;
}

.mini-slider h1{
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 2;
}

.mini-slider .overlay{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

/*
*
 * MAIN PAGE
*
 */

/*STATISTICS*/

#stats .wrapper {
    height: 48vw;
}

#stats .banner {
    width: 90%;
    height: 37vw;
    background-size: 200%;
    background-position: 25% -10%;
    background-image: url(../img/grid-employees.png);
}

#stats .square-corner{
    background: rgba(87, 12, 43, 0.75);
    width: 60%;
    height: 60%;
}


.banner h2{
    color: #FEFEFF;
    opacity: 0.85;
    letter-spacing: 0.05em;
    line-height: 110%;
}

.half{
    width: 50%;
    position: relative;
}

.numbers{
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;
}

.numbers .quarter{
    flex: 1 0 34%; /* explanation below */
    height: 15vw;
    text-align: right;
}

.quarter .triangle-form:after{
    content: " ";
    display: block;
    position: absolute;
    top: -75%;
    right: 60%;
    z-index: -1;
    width: 0;
    height: 0;
    border-top: 1.45em solid transparent;
    border-bottom: 1.45em solid transparent;
    border-left: 1.45em solid #EAEAEA;
    transform: rotate(45deg);
    opacity: 0;
    transition: all .3s ease-in-out;
}

.quarter:hover .triangle-form:after,
.quarter:active .triangle-form:after,
.quarter:focus .triangle-form:after{
    opacity: 1;
    right: -5%;
}

.quarter:hover .square-form:after,
.quarter:active .square-form:after,
.quarter:focus .triangle-form:after{
    opacity: 1;
    left: 34%;
}


.quarter .square-form:after{
    content: " ";
    display: block;
    position: absolute;
    top: -75%;
    left: 65%;
    z-index: -1;
    width: 2.2em;
    height: 2.2em;
    background: #EAEAEA;
    opacity: 0;
    transition: all .3s ease-in-out;
}


.quarter h3{
    position: relative;
    margin-bottom: .1em;
}


.quarter p{
    padding-left: 24%;
}

/*PRODUCT SHOWCASE*/

#product-showcase h2{
    white-space: nowrap;
}


#product-showcase .wrapper{
    height: 40vw;

}

#product-showcase .products{
    padding: 2vw 0 0 16%;
}

.square-info-box{
    width: 15vw;
    height: 15vw;
    background: #EAEAEA;
     margin-top: -3.5vw; 
    position: relative;
    /* z-index: -1; */
    top: 0;
    transition: top .3s ease-in-out;
}

.square-info-box.hovered{
    top: 6vw;
    transition: top .3s ease-in-out;
}

.square-info-box .product-image{
    background-size: 100%;
    background-position: center center;
    width: 15vw;
    height: 15vw;
    position: absolute;
    top: 0;
    transform-origin: 100% 0%;
    transition: transform .3s ease-in-out;
    z-index: -1;
}

.square-info-box .product-image.hovered{
    transform: rotate(-45deg) scale(1.41, 1.41);
}

.square-info-box p{
    opacity: 0;
    overflow: hidden;
    transition: opacity .3s ease-in-out;
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 5%;
}

.square-info-box p .title{
    font-weight: bold;
    font-size: 1.1vw;
}

.square-info-box p .line{
    height: 1px;
    width: 20%;
    background: black;
    margin: .5vw 0;
}

.square-info-box p .description{
    font-size: 1.05vw;
    margin-top: 1vw;
}

.square-info-box p.hovered{
    opacity: 1;
}

.product-strip{
    height: 8vw;
    margin-bottom: 3vw;
    display: flex;
    align-items: center;
    background-size: 100%;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

.product-strip:nth-of-type(1){
    background-position: center 0%;
}

.product-strip:nth-of-type(2){
    background-position: center 37%;
}

.product-strip:nth-of-type(3){
    background-position: center 73%;
}

.product-strip .btn{
    background-color: rgba(255, 255, 255, 0.75);
    height: 45%;
    width: 30%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1% 0 5%;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.product-strip .btn p{
    text-align: center;
}


.product-strip:hover .btn{
    background-color: rgba(87, 12, 43, 0.75);
    color: white;
    width: 35%;
}


.product-strip .btn span{
    position: relative;
    top: 0.1vw;
}

/* BLOG */
#blog{
    margin-top: 10vw;
}

#blog .wrapper{
    max-width: 70%;
    margin: 0 auto 3.5vw;
    background: #EAEAEA;
    padding-top: 0;
    flex-direction: column;
    position: relative;
}

#blog .posts{
    margin-top: 2%;
    width: 70%;
    margin-left: -12.1vw;   
}

#blog .corner-square{
    position: absolute;
    right: -1vw;
    top: -1vw;
    width: 12vw;
    height: 12vw;
    background: rgb(87, 12, 43);
}

.post{
    display: flex;
    padding: 3% 7% 3% 6%;
    transition: all .3s ease-in-out;
    height: 18vw;
}

.post:hover{
    background: rgba(87, 12, 43, 0.75);
    color: white;
}

.post .summary{
    width: 85vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post .line{
    width: 30%;
    height: 1px;
    border-top: 1px solid;
    position: relative;
    top: .7vw;
    margin: 0 3%;
}

.post .date{
    width: 18vw;
}

.post .date,
.post .title,
.post a{
    font-weight: bold;
}

.post a{
    align-self: flex-end;
    transition: border .3s ease-in-out;
}

.post a:after{
    content: " ";
    display: block;
    position: relative;
    height: 1px;
    opacity: 0.65;
    background: #0e0e0e;
    width: 50%; 
    left: 50%;
    top: 12%;
    z-index: 33333;
    transform: translate(-50%, 0);
    transition: width .3s;
}

.post a:hover:after{
    width: 100%;
}

.post:hover a:after{
    background: white;
}

#blog .col{
    width: 25vw;
    position: absolute;
    right: -10vw;
    top: 10%;
}

#blog .col .box{
    position: relative;
    height: 49vw;
}

.rollout{
    width: 100%;
    position: absolute;
    transition: all .5s ease-in-out;
    z-index: 0;
}

.rollout .overlay{
    background: rgba(87, 12, 43, 0.75);
    opacity: 0;
    height: 14vw;
    width: 100%;
    position: absolute;
    transition: all .8s ease-in-out;
}

.rollout.onehover .overlay{
    opacity: 1;
}


.rollout.hovered.tall .overlay{
    height: 46vw;
}

.rollout img{
    width: 100%;
    max-height: 14vw;
    object-fit: cover;
    object-position: center;
    transition: all .8s ease-in-out;
}

.rollout.hovered{
    z-index: 3;
}

.rollout.tall.hovered img{
    max-height: 46vw;
}

.rollout.wide.hovered{
    transform: scale(1.3, 1.3);
}

.rollout.hovered:nth-of-type(3){
    right: 9vw;
}
.rollout.tall.hovered:nth-of-type(2){
    top: 5vw;
}

.rollout:nth-of-type(1){
    
}

.rollout:nth-of-type(2){
    right: 4vw;
    top: 18vw;
}

.rollout:nth-of-type(3){
    right: 9vw;
    bottom: 0;
}

.all-posts-link{
    margin-top: 5vw;
    background: rgba(255, 255, 255, 0.75);
    width: 20%;
    height: 3vw;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    transition: all .3s ease-in-out;
}

.all-posts-link:hover{
    background: rgba(87, 12, 43, 0.75);
    width: 25%;
    color: white;
}

.post .snippet{
    margin: 7% 0;
}


/*BOTTOM BLOCKS*/
#bottom-block .wrapper{
    max-width: 70%;
    margin: 0 auto 5vw;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
}

#bottom-block.right .wrapper{
    margin: unset;
    flex-direction: column;
    align-items: flex-end;
    max-width: unset;
    margin: -15vw 0 2vw 20%;
    padding: 0;
}

.third {
    width: 33%;
}

.fourthfive{
    width: 45%;
}

.two-thirds{
    width: 66%;
}


#bottom-block .fourthfive .title{
    font-weight: 600;
    display: inline-block;
}

#bottom-block .fourthfive .line{
    margin: 1vw 0;
    height: 1px;
    width: 30%;
    background-color: black;
}

#bottom-block .third{
    height: 25vw;
    position: relative;
    overflow: hidden;
    padding: 2% 0;
}

#bottom-block .overlay{
    background: rgba(87, 12, 43, 0.75);
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    top: 100%;
    transition: all .3s ease-in-out;
    padding: 2vw .5vw;
    display: flex;
    flex-direction: column;
}

#bottom-block .third:hover .overlay,
#bottom-block .two-thirds:hover .overlay{
    opacity: 1;
    top: 0;
}


#bottom-block .third .overlay .line,
#bottom-block .two-thirds .overlay .line{
    height: 1px;
    width: 4vw;
    background: white;
    margin: 3vw 0 2vw;
}



#bottom-block .third .overlay a,
#bottom-block .two-thirds .overlay a{
    align-self: flex-end;
    margin-top: auto;
    margin-bottom: 1vw;
    text-decoration: underline;
    font-weight: 800;
}

#bottom-block .overlay{
    color: #FEFEFF;
}

.third.contacts{
    background-image: url(../img/rails.jpg);
    background-size: cover;
}

.two-thirds.prices{
    background-image: url(../img/tractor.jpg);
    background-size: cover;
}

#bottom-block .two-thirds{
    margin-top: 2vw;
    height: 18vw;
    display: flex;
    overflow: hidden;
    position: relative;
    margin-left: 34%;
}

#bottom-block .third h4,
#bottom-block .two-thirds h4{
    color: #FEFEFF;
    position: relative;
    left: .5vw;
    z-index: 3;
    font-weight: 800;
}


/*
*
 * ABOUT US
*
 */

.about-us-desc .container{
    display: flex;
    padding: 5vw 0;
    position: relative;
}

.about-us-desc .line{
    height: 2px;
    background-color: black;
    width: 30%;
    margin: 1.5vw 0;
}

.about-us-desc .half:nth-of-type(1){
    padding-right: 5%;
}

.about-us-desc .half:nth-of-type(2){
    padding-left: 7%;
}


.logo-hover{
    height: 35vw;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logo-hover .overlay{
    background: rgba(87, 12, 43, 0.35);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    z-index: 1;
}

.logo-hover .whiteline{
    height: 2px;
    background-color: white;
    width: 20%;
    margin-top: 2vw;
    transition: width .3s ease-in-out;
}

.logo-hover img{
    width: 50%;
}

.logo-hover img,
.logo-hover .whiteline{
    z-index: 2;
    position: relative;
    top: 0;
    transition: all .3s ease-in-out;
}

.logo-hover:hover .overlay{
    opacity: 1;
}

.logo-hover:hover .whiteline{
    width: 40%;
}


.readmore-sign{
    position: absolute;
    bottom: 50%;
    left: 50%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation-delay: 1.5s;
    animation-name: vertmove;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    cursor: pointer;
    transform: translate(-50%, 0);
}

@keyframes vertmove {
  from {
    bottom: 50%;
    opacity: 0;
  }
  to {
    bottom: 30%;
    opacity: 1;
  }
}

.readmore-sign .vertline{
    height: 2vw;
    width: 1px;
    background: black;
    margin-bottom: 15%;
    animation-delay: 1.5s;
    animation-name: heightbounce;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes heightbounce {
  0%   {height: 2vw}
  50%  {height: 4vw}
  100% {height: 2vw}
}


.history{
    padding: 5vw 0;
}

.title-block{
    margin-bottom: 3vw;
}

.title-block p{
    width: 35%;
    margin-top: 1vw;
}

.title-block.right p{
    width: unset;
    padding-left: 70%;
}

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

.events{
    width: 75%;
}

.event{
    display: flex;
}

.event .title{
    font-weight: 600;
    font-size: 1.1vw;
    margin-bottom: 6%;
}

.event .col{
    position: relative;
}

.event .col:nth-of-type(1){
    width: 26%;
}

.event .col:nth-of-type(2){
    background-color: #814960;
    width: 18%;
    margin: 0 3vw;
}

.event .col:nth-of-type(3){
    width: 45%;
}

.event .year{
    font-size: 6vw;
    line-height: 100%;
    color: white;
    opacity: .2;
    position: absolute;
    right: unset;
    left: -6%;
    transition: opacity .3s ease-in-out;
}

.event:hover .year{
    opacity: .5;
}

.event .title:after{
    content: " ";
    display: block;
    position: relative;
    height: 2px;
    opacity: 0.65;
    background: black;
    width: 0%;
    top: 7px;
    transition: width .3s;
}

.event:hover .title:after{
    width: 40%;
}

.event .date{
    margin: 4% 0 6%;
    font-size: 0.85vw;
}

.event .year.right{
    text-align: right;
    right: -6%;
}

.event .col.text{
    padding: 4% 0;
}

.imgwrap{
    position: relative;
    overflow: hidden;
    transition: transform .3s ease-in-out;
    width: 15.6vw;
    height: 15.6vw;
}

.event:hover .imgwrap{
    transform: translate(-1vw, 1vw);
}

.event .square-corner{
    background: rgba(87, 12, 43, 0.75);
    width: 10vw;
    height: 10vw;
    position: absolute;
    right: 0;
}

.event .col:nth-of-type(3) .square-corner{
    right: 11.4vw;
}

.imgwrap img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.numbers.about-us{
    position: relative;
    margin-top: 2vw;
}

#partners{
    margin-bottom: 5vw;
}

.partners-grid{
    display: flex;
    flex-wrap: wrap;
}

.partners-grid .triangle-form,
.partners-grid .square-form{
    flex: 1 0 21%;
    padding: 1% 5%;
    position: relative;
    height: 15vw;
}

.partners-grid img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#partners .square-form:after{
    content: " ";
    display: block;
    position: absolute;
    top: 26%;
    left: 34%;
    z-index: -1;
    width: 4.2em;
    height: 4.2em;
    background: #EAEAEA;
    opacity: 0;
    transition: all .3s ease-in-out;
}

#partners .square-form img{
    filter: grayscale(100%) brightness(0.9);
    transition: filter .3s ease-in-out;
}

#partners .square-form:hover img{
    filter: grayscale(0) brightness(1);
}

#partners .square-form:hover:after{
    opacity: 1;
    left: 65%;
}


/*
*
 * CONTACTS
*
 */
#contacts{
    margin: 5vw 0;
}

.address-wrap{
    display: flex;
    margin-bottom: 7vw;
}


.address-wrap .hoverimg{
    position: relative;
    height: 18vw;
}

.hoverimg .big-num{
    position: absolute;
    top: 0;
    line-height: 120%;
    right: -1vw;
}

.address-wrap .hoverimg .overlay-info{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    color: white;
    background: rgba(87, 12, 43, 0.75);
    padding: 7%;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

.address-wrap .overlay-info h6{
    letter-spacing: 0.05em;
    font-size: 1.1vw;
}

.address-wrap .overlay-info .line{
    height: 1px;
    width: 30%;
    background: white;
    margin: 1vw 0;
}

.address-wrap .overlay-info p{
    font-size: 0.9vw;
}

.address-wrap .hoverimg:hover .overlay-info,
.address-wrap .hoverimg:hover .big-num{
    opacity: 0;
}

.address-wrap .hoverimg .grey-square{
    position: absolute;
    width: 10vw;
    height: 10vw;
    background-color: #EAEAEA;
    bottom: 1vw;
    right: 1vw;
    z-index: -1;
    transition: all .3s ease-in-out;
}

.address-wrap .hoverimg:hover .grey-square{
    bottom: -1vw;
    right: -1vw;
}

.address-wrap .half.addr1{
    padding-right: 18%;
}

.address-wrap .half.addr2{
    padding-left: 18%;

}

.address-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.address-wrap .line{
    height: 1px;
    width: 20%;
    background-color: black;
    margin: 4vw 0 2vw;
}


.address-wrap .phones{
    margin-bottom: 1.5vw;
    position: relative;
    margin-left: 3vw;
}

.address-wrap .phones:before{
    content: '';
    background: url(../img/phone-icon.jpg);
    position: absolute;
    width: 1.5vw;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: -3vw;
}

.address-wrap .address{
    position: relative;
    margin-left: 3vw;
}

.address-wrap .address:before{
    content: '';
    background: url(../img/map-pin.jpg);
    position: absolute;
    width: 1.5vw;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: -3vw;
}

#map1, #map2{
    height: 30vw;
}

/*
*
 * PROJECTS
*
 */

#projects .project{
    display: none;
    margin-bottom: 10vw;
    margin-top: 2vw;
}

.project .cover{
    height: 40vw;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project .cover .info{
    background-color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 20%;
    display: flex;
    flex-direction: column;
    padding-right: 5%;
    justify-content: flex-end;
}

.cover .line{
    height: 2px;
    background: rgba(87, 12, 43, 0.75);
    width: 20%;
    margin: 1vw 0;
}

.cover h4{
    font-size: 3vw;
    line-height: 100%;
    white-space: nowrap;
}

.info-row{
    display: flex;
    margin-top: 5vw;
    justify-content: space-between;
}

.info-row > p{
    width: 70%;
}

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

.building-info .bold{
    margin-bottom: 1vw;
}

/*
*
 * SHOWCASES
*
 */


#products .product{
    display: none;
    margin-bottom: 10vw;
    margin-top: 2vw;
}


#cases{
    margin-top: 2vw;
}

#cases .case-grid{
    display: flex;
    flex-wrap: wrap;
}

#cases .case-box{
    flex: 1 0 34%;
    margin: 0 3.5vw 4vw 0;
    height: 19vw;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    background-size: cover;
}

#cases .case-box.right{
    margin: 0 0 4vw 3.5vw;
    justify-content: flex-start;
}

.case-box .type{
    opacity: 0;
    position: absolute;
    transition: opacity .3s ease-in-out;
}

.case-box .big-num{
    position: absolute;
    right: -1vw;
}

.case-box.right .big-num{
    right: unset;
    left: -1vw;
}

.case-box .clicker{
    background: rgba(87, 12, 43, 0.75);
    width: 30%;
    white-space: nowrap;
    height: 18%;
    align-items: center;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    position: absolute;
    color: white;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.case-box .eye{
    position: absolute;
    opacity: 0; 
    left: 50%;
    transform: translate(-50%, 0);
    transition: opacity .3s ease-in-out;
    z-index: 3;
}

.case-box.selected .eye{
    opacity: 1;
}

.case-box:hover .clicker,
.case-box.selected .clicker{
    width: 100%;
    height: 100%;
    align-items: flex-start;
    padding-left: 10%;
}

.case-box.right:hover .clicker,
.case-box.right.selected .clicker{
    width: 100%;
    height: 100%;
    align-items: flex-end;
    padding-right: 10%;
}

.case-box:hover .big-num,
.case-box.selected .big-num{
    z-index: 5;
}


.case-box:hover .type,
.case-box:hover .name,
.case-box.selected .type,
.case-box.selected .name{
    opacity: 1;
    position: relative;
}

.case-box:hover .type,
.case-box.selected .type{
    top: 3%;
    font-weight: 300;
}

.case-controls,
.blog-controls{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2vw;
    margin-top: -1vw;
}

.blog-controls{
    margin-top: 3vw;
}

.case-controls .page-num,
.blog-controls .page-num{
    background: rgba(87, 12, 43, 0);
    font-size: 1.1vw;
    width: 2vw;
    height: 2vw;
    margin: 0 .1vw;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.case-controls .page-num.chosen,
.case-controls .page-num:hover,
.blog-controls .page-num.chosen,
.blog-controls .page-num:hover{
    background: rgba(87, 12, 43, 0.75);
    color: white;

}

.summary .row-fat{
    display: flex;
    height: 35vw;
    justify-content: space-between;
    align-items: center;
}

.summary .row-thin{
    margin-top: 2vw;
}

.row-fat .half:nth-of-type(1){
    position: relative;
}

.summary .preview{
    height: 22vw;
    width: 100%;
    object-fit: cover;
    object-position: left center;
}

.summary .square-corner{
    background: rgb(87, 12, 43);
    width: 10vw;
    height: 10vw;
    position: absolute;
    right: -.7vw;
    top: -.7vw;
}


.summary .description {
    width: 90%;
    margin-top: 1vw;
    line-height: 1.2;
}

.summary .row-thin .headings{
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: relative;
}

.summary .row-thin .headings:after{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    border-bottom: 2px solid #000000;
    top: 3vw;
}

.row-thin .heading{
    position: relative;
    min-width: 10vw;
}

.row-thin .heading .site{
    top: 1vw;
    position: relative;
}


.row-thin .headings .info{
    position: relative;
    top: 1.5vw;
    font-size: 0.9vw;
    width: 25vw;
}

.row-thin .headings .info.browse{
    background-color: #EAEAEA;
    height: 3vw;
    display: flex;
    justify-content: space-around;
    width: 11vw;
    align-items: center;
    top: 3vw;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.row-thin .headings .info.browse.website{
    top: 1.8vw;
}

.row-thin .headings .info.browse:hover{
    background-color: rgba(87, 12, 43, 0.75);
    color: white;
}

.row-thin .heading .hover:after{
    content: " ";
    display: block;
    position: relative;
    height: 0.2vw;
    opacity: 0;
    bottom: -.4vw;
    background: #570C2B;
    width: 8vw;
    transition: opacity .3s ease-in-out;
}

.row-thin .heading:hover .hover:after{
    opacity: 0.75;
}

/*
*
 * BLOG GRID
*
 */

#articles-grid{
    margin-bottom: 5vw;
}

#articles-grid .wrapper{
    display: flex;
    padding: 5vw 0 0;
    height: 42vw;
}

#articles-grid .article{
    display: flex;
    height: 16vw;
}


#articles-grid .third .article{
    flex-direction: column;
    height: 100%;
}

#articles-grid .article .description{
    width: 55%;
    background: rgba(234,234,234, 1);
    padding: 1.5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: background .3s ease-in-out;
    transition: all .3 ease-in-out;
}

#articles-grid .article:hover .description{
    background: rgba(87, 12, 43, 0.75);
    color: white;
}


#articles-grid .article:hover .image{
    transform: scale(1, 1);
}

#articles-grid .third .article:hover .image {
    width: 100%;
    transform: scale(1, 1);
}

#articles-grid .article:hover .description .order-num{
    color: white;
}

#articles-grid .third .article .description{
    width: unset;
    height: 50%;
}

#articles-grid .article .order-num{
    font-size: 5.5vw;
    color: #000000;
    line-height: 70%;
    transition: color .3s ease-in-out;
}

#articles-grid .article .line{
    background: #101010;
    opacity: 0.75;
    height: 1px;
    width: 3vw;
    margin-right: 8%;
}


#articles-grid .article:hover .line{
    background: white;
}

#articles-grid .article .title{
    font-weight: bold;
    margin-bottom: .45vw;
}

#articles-grid .two-thirds .article .title{
    min-width: 18vw;
}

#articles-grid .third .article .title{
    min-width: 14vw;
}

#articles-grid .article .date{
    font-weight: bold;
}

#articles-grid .article .info{
    margin-left: 10%;
}

#articles-grid .article .date-line{
    display: flex;
    align-items: center;
}

#articles-grid .article .row1{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


#articles-grid .article .row2{
    display: flex;
    flex-direction: column;
    margin-top: 6%;
    margin-bottom: 10%;
    min-height: 5vw;
}

#articles-grid .article .row2 a{
    position: absolute;
    bottom: 5%;
    right: 10%;
    font-weight: bold;
    border-bottom: 1px solid black;
}

#articles-grid .article:hover .row2 a{
    border-bottom: 1px solid white;
}

#articles-grid .third .article .row2 a{
    bottom: 10%;
}

#articles-grid .article .image{
    width: 45%;
    height: 100%;
    transform: scale(1.1, 1.1);
    background-size: cover;
    background-position: center;
    transition: all .3s ease-in-out;
}

#articles-grid .third .article .image{
    transform: unset;
    width: 105%;
    height: 50%;
}


#articles-grid .third{
    padding-left: 5%;
}

#articles-grid .reversed .third{
    padding-left: unset;
    padding-right: 5%;
}

#articles-grid .two-thirds{
    padding-right: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#articles-grid .third {
    padding-left: 5%;
}


#articles-grid .reversed .two-thirds{
    padding-right: unset;
    padding-left: 5%;
    order: 2;
}


/*
*
 * Article
*
 */

.mini-slider h1 span{
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 1.1vw;
    text-align: right;
    position: relative;
    right: 5vw;
    top: 1.5vw;
}

#article-photo .photo{
    margin-top: 5vw;
    height: 35vw;
    background-size: cover;
}

#article-text{
    margin-top: -25vw;
    min-height: 25vw;
}

#article-text .text-wrapper{
    background-color: white;
    padding: 2vw 5vw 0 0;
    min-height: 25vw;

}

#article-text .text-block{
    margin-bottom: 3vw;
}

#article-text .text-block h2{
    font-size: 1.6vw;
}

#article-text .text-block .line{
    height: 2px;
    width: 5.5vw;
    background-color: rgba(87, 12, 43, 0.75);
    margin: 1.1vw 0;
}

#article-text .text-block p{
    line-height: 155%;
}

#neighboring{
    margin: 8vw 0 2vw;
}

#neighboring .container{
    display: flex;
    justify-content: space-between;
}

#neighboring .art{
    background: rgba(234, 234, 234, 0.75);
    width: 40%;
    height: 14vw;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2% 20% 2% 2%;
    transition: all .3s ease-in-out;
}

#neighboring .art:hover{
    background: rgba(87, 12, 43, 0.75);
    color: white;
}

#neighboring .art.next{
    padding: 2% 0 2% 22%;
}

#neighboring .art img{
    position: absolute;
    height: 100%;
    width: 60%;
    top: -1vw;
    right: -3vw;
    object-fit: cover;
}


#neighboring .art.next img{
    top: -1vw;
    left: -3vw;
}

#neighboring .art .line{
    height: 1px;
    background-color: rgba(0, 0, 0, 0.75);
    margin: 3% 0 7%;
    width: 20%;
    transition: all .3s ease-in-out;
}


#neighboring .art:hover .line{
    background-color: rgba(255, 255, 255, 0.75);
}

#neighboring .art a{
    text-decoration: underline;
}

/*CONTACT FORM*/
#form-text{
    color: white;
    width: 33%;
    align-self: flex-start;
}

.wide-form{
    background-repeat: no-repeat;
    background-size: cover;
}

.wide-form .container{
    display: flex;
    align-items: center;
    height: 35vw;
    padding: 4% 0;
}

#form{
    flex-grow: 1;
    color: white;
    margin-left: 5%;
    position: relative;
}

#form-text h3{
    margin-bottom: 1vw;
    font-size: 2.1vw;
}

#form form{
    display: flex;
    flex-wrap: wrap;
}

#form fieldset{
    border: none;
}

#form input{
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    height: 3vw;
    padding: 0 2%;
    font-size: 1vw;
    border-bottom: 2px solid white;
    margin-bottom: 3vw;
    outline: none;
    border-radius: unset;
}

#form label {
    font-family: 'Source Sans Pro', sans-serif;
    position: absolute;
    bottom: 0%;
    font-size: 1.3vw;
}

#form label.good {
    color: rgb(80, 188, 125);
}

#form label.bad{
    color: rgb(204, 41, 54);
}

#form input.good,
#form input:required:valid {
    background-color: rgba(80, 125, 188, 0.45);
    background-image: url(../img/valid.svg);
    background-position: 97% center;
    background-repeat: no-repeat;
}

#form input.bad,
#forminput:required:invalid, #form input:focus:invalid{
    background-image: url(../img/invalid.svg);
    background-position: 97% center;
    background-repeat: no-repeat;
    background-color: rgba(204, 41, 54, 0.45);
}

#form input:focus{
    background-color: rgba(87, 12, 43, 0.75);
}

#form *::placeholder{
    color: white;
}

.selectric .label{
    color: white;
}

#form .half{
    width: 46%;
}

#form .half:first-of-type{
    margin-right: 8%;
}

#form .submit{
    position: absolute;
    bottom: -2vw;
    right: 0;
    background: transparent;
    width: 20%;
    cursor: pointer;
}

#form button{
    background: transparent;
    border: none;
    color: white;
    height: 3vw;
    /*temp*/
    background: rgba(87, 12, 43, 0);
    width: 100%;
    font-size: 1vw;
    transition: background .3s ease-in-out;
}

#form button:hover{
    background: transparent;
    border: none;
    color: white;
    height: 3vw;
    /*temp*/
    background: rgba(87, 12, 43, 0.75);
    font-size: 1vw;
}

/*FOOTER (BOTTOM BAR)s*/
footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .ghost,
footer .copyright{
    width: 25vw;
}

.copyright p{
    font-size: 0.95vw;

}

footer ul{
    display: flex;
    list-style: none;
}

footer ul li{
    margin: 1vw;
}


/* 404 */
#not-found{
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#not-found h1{
    text-align: center;
    line-height: 100%;
    margin-bottom: 2vw;
}

#not-found p,
#not-found a{
    font-size: 2vw;
    line-height: 100%;
}

#not-found h1 span{
    font-size: 10vw;
    line-height: 100%;
    color: rgba(204, 41, 54, 0.85);
}

#not-found a{
    color: rgb(80, 125, 188);
    text-decoration: underline;
}

/*MOBILE VERSION*/
@media screen and (max-width: 812px) {

    a, p, li, span{
        font-size: 4vw;
    }

    h2, h3{
        font-size: 8.5vw;
    }

    .desktop{
        display: none;
        visibility: hidden;
    }

    .mobile{
        display: initial;
        visibility: visible;
    }

    .container {
        max-width: 100%;
    }

    .mobile-menu{
        width: 100%;
        height: 100vh;
        position: absolute;
        background-image: url(../img/blur-mob-menu.jpg);
        background-size: cover;
        background-position: center;
        z-index: 100;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 20%;
        transition: transform .3s ease-in-out;
        transform: translate(100%, 0);
        left: 0;
    }

    .mobile-menu.opened{
        transform: translate(0, 0);
    }

    .mobile-menu .logobw{
        width: 55%;
    }

    .slider {
        height: 100vh;
    }

    .slide{
        background-size: cover;
        padding: 0;
        flex-direction: column-reverse;
        justify-content: center;
        position: relative;
        background-position: center;
    }

    .slide.chosen {
        width: 100%;
    }

    .slide:not(.chosen){
        width: 0;
    }

    header.container{
        max-width: unset;
        padding: 0 5%;
    }

    #logo {
        width: 35vw;
    }

    .slide .project-info {
        position: absolute;
    }

    .slide .project-info p {
        width: 85%;
        font-weight: 600;
        padding-left: 5%;
        font-size: 4vw;
    }

    .slide .clicker,
    .slide.chosen .clicker{
        position: absolute;
        right: 0;
        height: 9%;
        width: 55%;
        top: 30%;
        padding-left: 8%;
    }

    .slide .big-num {
        position: absolute;
        right: -4.5vw;
        opacity: 0;
        font-size: 60vw;
        top: 8%;
    }

    .clicker .name{
        font-size: 4.5vw;
    }

    .mobile-slide-switcher{
        position: absolute;
        display: flex;
        bottom: 3%;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .slide-toggler{
        width: 10vw;
        height: 10vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slide-toggler.chosen{
        background: rgba(87, 12, 43, 0.75);
    }

    .slide-toggler p{
        color: white;
        font-size: 6vw;
    }

    .mobile-menu .line{
        background: #DBDCDF;
        height: 1px;
        width: 20vw;
        margin: 10vw 0;
    }

    #main-menu{
        position: relative;
        left: unset;
        transform: unset;
        display: flex;
        flex-direction: column;
    }

    #main-menu li{
        margin: 6vw 0;
    }

    #main-menu a{
        font-size: 4.5vw;
    }

    .burger-toggle{
        position: absolute;
        z-index: 200;
        right: 5%;
        top: 5%;
    }

    #stats .wrapper {
        height: unset;
        flex-direction: column;
        padding-top: 30px;
    }

    #stats .wrapper .half{
        width: 100%;
    }

    #stats .wrapper .numbers {
        position: relative;
        left: -7%;
        margin-top: 10%;
    }

    #stats .banner {
        width: 80%;
        height: 80vw;
    }

    #stats .square-corner {
        width: 80%;
        height: 80%;
        padding: 5%;
    }

    #stats .banner h2,
    .quarter h3{
        font-size: 8.5vw;
    }

    .numbers .quarter {
        flex: 1 0 34%;
        height: unset;
        margin-bottom: 15%;
    }

    #product-showcase{
        padding-left: 7%;
    }

    #product-showcase .wrapper {
        height: unset;
        flex-direction: column;
    }

    #product-showcase h2 {
        white-space: pre-line;
        margin-bottom: 10%;
    }

    #product-showcase .square-info-box{
        display: none;
    }

    #product-showcase .half{
        width: 100%;
    }

    .product-strip {
        height: 20vw;
        margin-bottom: 16vw;
        position: relative;
    }

    .product-strip .btn{
        background-color: rgba(87, 12, 43, 0.75);
        color: white;
        position: absolute;
        height: 80%;
        width: 70%;
        left: -20%;
        top: -20%;
        padding: 0 5%;
    }

    #blog .corner-square {
        display: none;
    }

    #blog .wrapper {
        max-width: 75%;
        margin: 0;
    }

    .post {
        padding: 3%;
        height: 45vw;
        margin: 0 0 25%;
        background: rgba(87, 12, 43, 0.75);
        color: white;
        flex-direction: column-reverse;
        justify-content: flex-end;
        position: relative
    }

    #blog {
        margin-top: 20vw;
    }

    #blog .posts {
        margin-top: 5%;
        width: 110%;
        margin-left: 7%;
        padding-bottom: 35%;
    }

    .post .snippet {
        display: none;
    }

    #blog h2 {
        position: absolute;
        top: -10%;
        right: -13vw;
    }

    .post a:after {
        background: white;
    }

    #blog .col {
        width: 51vw;
        position: absolute;
        right: -20vw;
        top: 15%;
    }

    .post .summary {
        margin-bottom: 0;
        width: 70%;
        padding: 0;
    }

    .post .line {
        width: 20%;
        left: -3%;
        position: relative;
        top: 12%;
    }

    .post .date {
        position: relative;
        left: 30%;
        top: 4%;
    }

    .post a{
        bottom: 15%;
        position: absolute;
        left: 3%;
    }

    .post a:after {
        width: 100%;
    }

    .rollout {
        position: unset;
        margin-bottom: 70%;
    }

    .rollout img {
        max-height: 30vw;
    }

    .all-posts-link {
        width: 75%;
        height: 15vw;
        position: absolute;
        right: 0;
        bottom: 0;
    }

    #bottom-block .wrapper {
        flex-direction: column;
        padding-top: 70px;
    }

    #bottom-block .two-thirds {
        order: 3;
        width: 55%;
        height: 15vw;
        align-self: flex-end;
        background-image: unset;
        background: rgba(87, 12, 43, 0.75);
        display: flex;
        align-items: center;
        justify-content: center;
        padding-right: 10%;
    }

    #bottom-block .third {
        order: 2;
        width: 55%;
        height: 15vw;
        align-self: flex-end;
        background-image: unset;
        background: rgba(87, 12, 43, 0.75);
        align-items: center;
        display: flex;
        justify-content: center;
        padding-right: 10%;
        margin-bottom: 10%;
    }

    #bottom-block .fourthfive {
        order: 1;
        width: 100%;
        margin-bottom: 30vw;
    }

    #bottom-block .fourthfive .line {
        margin: 5% 0;
    }

    #bottom-block .third h4, #bottom-block .two-thirds h4 {
        color: #FEFEFF;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 4vw;
    }

    #bottom-block .third:after, #bottom-block .two-thirds:after {
        content: url('../img/right-angle.png');
        color: white;
        width: 5vw;
        height: 4vw;
        position: absolute;
        right: 10%;
    }

    #bottom-block{
        background-image: url(../img/crane.jpg);
        background-repeat: no-repeat;
        background-size: 65%;
        background-position: 0 85%;
        padding-bottom: 35%;
        margin-bottom: -5%;
    }

    footer{
        flex-direction: column;
    }

    footer ul {
        justify-content: space-evenly;
        width: 100%;
    }

    footer .copyright {
        width: 80%;
    }

    .copyright p {
        font-size: 3.5vw;
        margin-top: 10%;
        margin-bottom: 5%;
    }

    /*showcases*/
    .mini-slider{
        min-height: 20vh;
        padding: 18% 0 0 20px;
        height: auto;
    }

    .mini-slider h1 {
        font-size: 7.2vw;
        position: relative;
        line-height: 100%;
    }

    .summary .row-fat {
        height: unset;
        flex-direction: column;
    }

    .summary .row-fat .half{
        width: 100%;
        padding: 0;
    }

    .summary:not(#projects) .row-thin .headings:after {
        display: none;
    }

    .summary {
        padding: 5% 5% 0;
    }

    .summary h5{
        font-size: 6.5vw;
    }

    .summary .description {
        margin-top: 15px;
    }

    .row-fat .half:nth-of-type(2){
        padding-left: 10%;
        margin: 50px 0 20px;
    }
    
    .summary .preview {
        height: 50vw;
    }

    .summary .square-corner {
        width: 45vw;
        height: 45vw;
        right: -2vw;
        top: -2vw;
    }

    .summary .row-thin .headings{
        flex-direction: column;
        height: unset;
        border-left: 2px solid #000000;
        border-bottom: unset;
        width: 100%;
        margin: 0;
        padding-left: 10%;
    }

    .row-thin .headings .info {
        position: relative; 
        top: unset;
        font-size: 4vw;
        margin: 30px 0 40px;
        width: 85%;
    }

    .row-thin .headings .bold{
        font-size: 5vw;
    }

    .row-thin .heading .bold:after {
        height: 1px;
        opacity: 1;
        bottom: -7px;
        width: 50px;
    }

    .row-thin .headings .info.browse {
        height: 15vw;
        width: 50vw;
        margin: 0;
        top: 0;
        left: 0;
    }

    #cases {
        margin-top: 0px;
        padding: 5%;
    }

    #cases .case-box {
        flex: 1 0 51%;
        margin: 0 0 40px 10%;
        height: 50vw;
    }

    #cases .case-box.empty{
        display: none;
    }

    #cases .case-box.right {
        margin: 0 10% 40px 0;
    }

    .case-box .clicker {
        height: 25%;
        padding: 0 5%;
        width: auto;
    }

    .big-num {
        font-size: 40vw;
    }

    .case-box .big-num {
        position: absolute;
        right: -3vw;
    }

    .case-box.right:hover .clicker {
        width: 100%;
        height: 100%;
        align-items: flex-end;
    }

    .case-box:hover .type,
    .case-box:hover .name,
    .case-box.selected .type,
    .case-box.selected .name{
        left: unset;
    }

    .case-controls .page-num,
    .blog-controls .page-num {
        font-size: 5vw;
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }

    /*BLOG*/

    #articles-grid .wrapper {
        height: unset; 
        flex-direction: column;
    }

    #articles-grid .article {
        height: unset; 
        flex-direction: column;
        margin-bottom: 50px;
    }

    #articles-grid .wrapper .two-thirds,
    #articles-grid .wrapper .third{
        padding: 0;
        width: 100%;
    }

    #articles-grid .article .description {
        width: 100%;
        padding: 5% 5% 45%;
    }

    #articles-grid .article .image,
    #articles-grid .third .article .image{
        width: 90%;
        height: 50vw;
        transform: unset;
        background-size: cover;
        margin-top: -40%;
        z-index: 1;
        right: -10%;
        position: relative;
    }

    #articles-grid {
        margin-bottom: 5vw;
        padding: 0 5%;
    }

    #articles-grid .article .row2 a {
        bottom: 40% !important;
        right: 5%;
    }

    #articles-grid .article .order-num {
        font-size: 11vw;
        margin-left: 5%;
    }

    #articles-grid .article .info {
        margin-left: 5%;
    }

    #articles-grid .third .article .title,
    #articles-grid .two-thirds .article .title {
        min-width: 67vw;
    }

    #articles-grid .article .row2 {
        min-height: 25vw;
    }


    .blog-controls{
        margin-top: 0;
    }

    /*article page*/
    .mini-slider h1 span {
        font-size: 3.5vw;
        top: 3.5vw;
        transform: translate(-100%, 0px);
        display: inline-block;
        right: 0;
        margin-bottom: 10px;
    }

    #article-photo{
        padding: 0 5%;
    }

    #article-photo .photo {
        margin-top: 15vw;
        height: 100vw;
        background-size: cover;
    }

    .container-left{
        max-width: unset;
        padding: 0 5%;
        max-width: 100%;
        margin: 0;
    }

    #article-text .text-wrapper {
        background-color: transparent;
    }

    #article-text .title-subblock{
        background: white;
        padding-top: 10%;
        max-width: 90%;
        min-height: 25vw;
    }

    #article-text .text-block h2 {
        font-size: 6.5vw;
    }

    #article-text .text-block .line {
        height: 2px;
        width: 20vw;
        margin: 5vw 0;
    }

    #neighboring {
        margin: 8vw 0 0;
        padding: 0 5%;
    }

    #neighboring .container {
        display: flex;
        flex-direction: column;
    }

    #neighboring .art {
        width: unset;
        height: 50vw;
        padding: 5% !important;
        margin: 0 10% 40px 0;
        background: rgba(87, 12, 43, 0.75);
        color: white;
    }

    #neighboring .art.next {
        margin: 0 0 40px 10%;
    }

    #neighboring .art.empty{
        display: none;
    }

    #neighboring .art img {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0 !important;
        right: unset !important;
        left: 0 !important;
        object-fit: cover;
        z-index: -1;
    }

    #neighboring .art .line {
        background-color: rgba(255, 255, 255, 0.75);
    }

    /*contacts page*/
    .address-wrap {
        margin-bottom: 7vw;
        flex-direction: column;
    }

    .address-wrap:not(:first-of-type){
        margin-bottom: 7vw;
        flex-direction: column-reverse;
        margin-top: 20vw;
    }

    .address-wrap .half.addr1,
    .address-wrap .half.addr2{
        padding: 0;
    }

    .address-wrap .half{
        width: 100%;
    }

    .address-wrap .half:not(.addr1):not(.addr2){
        margin-top: 15vw;
    }

    .address-wrap .hoverimg {
        position: relative;
        height: 50vw;
        max-width: 90%;
    }

    .address-wrap .addr2 .hoverimg {
        margin-left: 10%;
    }

    #contacts {
        margin: 15vw 0;
        padding: 0 5%;
    }

    .address-wrap .line {
        margin-left: 40%;
    }

    .hoverimg .big-num {
        right: -3vw;
    }

    .address-wrap .hoverimg .grey-square {
        width: 45vw;
        height: 45vw;
        right: unset;
        bottom: unset;
        top: -2vw;
        left: -2vw;
    }

    .address-wrap .overlay-info h6 {
        font-size: 4vw;
        font-weight: 600;
    }

    .address-wrap .overlay-info .line {
        margin: 4vw 0;
    }

    .address-wrap .overlay-info p {
        font-size: 3.5vw;
    }

    .address-wrap .hoverimg .overlay-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .address-wrap .phones:before,
    .address-wrap .address:before {
        width: 6vw;
        left: -15vw;
    }
    
    .address-wrap .phones {
        margin-bottom: 10vw;
    }

    .address-wrap .address,
    .address-wrap .phones{
        margin-left: 18vw;
    }

    #map1, #map2 {
        height: 100vw;
        z-index: -1;
    }

    /*contact form*/
    .wide-form{
        padding: 0 5%;
        margin-bottom: 10vw;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .wide-form .container {
        height: unset; /*tempo*/
        flex-direction: column;
        padding: 15% 0 25%;
    }

    #form-text {
        color: white;
        width: 80%;
        align-self: flex-start;
    }

    #form-text h3{
        margin-bottom: 5%;
        font-size: 6vw;
        margin-bottom: 7vw;
    }

    #form {
        flex-grow: 1;
        margin-left: unset;
        width: 100%;
        margin-top: 15vw;
    }

    #form form {
        flex-direction: column;
    }

    #form .half {
        width: 90%;
    }

    #form input{
        height: 10vw;
        font-size: 4vw;
        margin-bottom: 10vw;
    }

    #form .submit,
    #form .submit:hover{
        bottom: -8vw;
        right: 10%;
        width: unset;
        font-size: 4vw;
        height: 10vw;
        outline: none;
    }

    #form label{
        font-size: 4vw;
        top: -8vw;
    }

    /*About us*/

    .about-us-desc{
        padding: 0 5%;
    }

    .about-us-desc .container {
        padding: 15vw 0;
        flex-direction: column-reverse;
    }

    .readmore-sign{
        display: none;
    }

    .about-us-desc .half{
        padding: 0 !important;
        width: 100%;
    }

    .about-us-desc h5{
        font-size: 7vw;
        width: 88%;
        margin-top: -30vw;
        padding-right: 20%;
        z-index: 1;
        position: relative;
        background: white;
        padding-top: 5%;
    }

    .logo-hover {
        height: 90vw;
    }

    .logo-hover img, .logo-hover .whiteline {
        z-index: 2;
        position: relative;
        top: -10vw;
        transition: all .3s ease-in-out;
    }

    .about-us-desc .line {
        margin: 1.5vw 0 10vw;
    }

    .about-us-desc p.w80{
        width: 90%;
    }

    .history {
        padding: 5vw 5%;
    }

    .title-block.right p {
        width: unset;
        padding-left: 0%;
        margin-bottom: 15vw;
    }

    .event .col:nth-of-type(2) {
        order: 1;
        margin: 0;
        width: 30%;
        margin-right: 5%;
        height: 100vw;
    }

    .event .col.text {
        order: 3 !important;
        top: 45vw;
        position: absolute;
        padding: 0;
        left: 32vw;
        width: 55vw !important;
    }

    .event .col:nth-of-type(1),
    .event .col:nth-of-type(3) {
        order: 2;
        width: unset;
    }

    .event{
        position: relative;
    }

    .events {
        width: 100%;
    }

    .imgwrap {
        position: relative;
        overflow: hidden;
        transition: transform .3s ease-in-out;
        width: 50vw;
        height: 40vw;
        margin-left: 10%;
    }

    .imgwrap:after{
        display: none;
    }

    .event .col {
        /*height: 100vw;*/
    }

    .event .title {
        font-weight: 600;
        font-size: 4vw;
    }

    .event .date {
        margin: 4% 0 6%;
        font-size: 3.85vw;
        margin-left: 25%;
    }

    .event .title:after {
        display: none;
    }

    .event .date:after {
        content: " ";
        display: block;
        position: relative;
        height: 1px;
        background: black;
        width: 25%;
        top: -2vw;
        left: -32%;
    }
    
    .event .col .square-corner {
        width: 25vw !important;
        height: 25vw !important;
        right: -7vw !important;
        top: -2vw !important;
    }

    .event .year {
        font-size: 15vw;
    }

    .title-block{
        padding: 0 5%;
    }

    .title-block p {
        width: 100%;
        margin-top: 3vw;
    }

    .stats .half{
        width: 100%;
    }

    .numbers.about-us {
        position: relative;
        left: -7%;
        margin-top: 10%;
    }

    .stats{
        margin-bottom: 15%;
    }

    #bottom-block.right .wrapper{
        max-width: 70%;
        margin: 0 auto 5vw;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 0;
    }
    
    #bottom-block.right{
        padding-bottom: 18%;
        margin-bottom: 15%;
    }

    .partners-grid .triangle-form, .partners-grid .square-form {
        flex: 1 0 49%;
        padding: 0% 10%;
        margin-bottom: 10%;
    }

    #partners .square-form:after {
        width: 2em;
        height: 2em;
    }

    /* Projects */
    .project .cover{
        height: 100vw;
    }   

    .project .cover .info {
        justify-content: center;
        height: 25%;
        min-width: 90%;
    }

    .cover .line {
        margin: 4vw 0;
    }

    .cover h4 {
        font-size: 6vw;
    }

    .info-row{
        flex-direction: column-reverse;
    }

    .building-info {
        text-align: left;
    }

    .building-info .bold {
        margin-bottom: 6vw;
    }

    .info-row > p {
        width: 100%;
    }

    #projects.summary .row-thin .headings{
        flex-direction: row;
        border-left: unset;
        padding: 0;
    }

    #projects .row-thin .heading > p:first-of-type{
        height: 10vw;
    }

    #projects .row-thin .headings .info {
        font-size: 4vw;
        margin: 0;
        width: 100%;
    }

    #projects .row-thin .headings .website {
        padding: 0 2%;
    }

    #projects .row-thin .headings .bold {
        top: 8vw;
    }

    #projects.summary .row-thin .headings:after {
        top: 12vw;
    }

    #projects .row-thin .heading {
        min-width: 40vw;
    }
}
