@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&subset=latin-ext');

/*GENERAL*/

:root {
    --selected-color: #ff8822;
    --gray-color: #3c3c3b;
    --container-width: 1170px;
    --shape-height-percent: 4.5%;
    --about-shape-height: 13.5%;
    --gallery-shape-height: 14%;
    --gallery-top: 400px;
    /*--about-shape-height-neg: -13.5%;*/
    --selected-color: #af7f1c;
    --button-border-color: #76716d;
    --button-line-animation-time: 400ms;
    --button-text-animation-delay-time: 200ms;
    --button-text-animation-time: 400ms;
    --indent-small-left: 10px;
    --indent-left: 25px;
    --indent-medium-left: 35px;
    --intro-animation-duration: 40s;
    --intro-from_text_percent: 70%;
    --search-panel-text-width: 390px;
}

* {
    box-sizing: border-box;
}

header, main, section, footer, figure {
    display: block;
    margin: 0;
    padding: 0;
}

.noList {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none !important;
}

.opacityHidden {
    opacity: 0;
}

.opacityVisible {
    opacity: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
}

.fs {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

p, h1, h2, h3 {
    margin: 0;
}

.cc {
    position: absolute !important;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.cy {
    position: absolute !important;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cx {
    position: absolute !important;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.clear:after {
    clear: both;
    display: block;
    content: "";
}

.grid {
    display: grid;
}

.fLeft {
    float: left;
}

.fRight {
    float: right;
}

.relPos {
    position: relative;
}

.cover {
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.shape, .shapeLB, .shapeLBI {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: var(--shape-height-percent);
}

.shapeLB {
    clip-path: polygon(0 0, 100% 0, 28% 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 28% 100%);
    background-color: white;
}

.shapeLBI {
    clip-path: polygon(0 0, 28% 100%, 100% 0%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 28% 100%, 100% 0%, 100% 100%, 0 100%);
    background-color: white;
    position: relative;
    top: 1px;
}

.oh {
    overflow: hidden;
}

.transition {
    -webkit-transition: var(--button-text-animation-time) ease-in-out;
    -moz-transition: var(--button-text-animation-time) ease-in-out;
    -ms-transition: var(--button-text-animation-time) ease-in-out;
    -o-transition: var(--button-text-animation-time) ease-in-out;
    transition: var(--button-text-animation-time) ease-in-out;
}

input, textarea {
    width: 100%;
    border: none;
    outline: none;
    font-size: inherit;
    color: inherit;
}

textarea {
    resize: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 20px;
    font-weight: 400;
    padding: 7px 0;
}

::placeholder {
    font-style: initial;
}

::-webkit-input-placeholder {
    font-style: initial;
}

::-moz-placeholder {
    font-style: initial;
}

:-ms-input-placeholder {
    font-style: initial;
}

:-moz-placeholder {
    font-style: initial;
}

.upTo1px {
    position: relative;
    top: -1px;
}

.center {
    text-align: center;
}

/*BUTTN*/
.button {
    position: relative;
    border-width: 1px;
    border-style: solid;
    display: inline-block;
    box-sizing: border-box;
    text-transform: uppercase;
    -webkit-transition: var(--button-line-animation-time) ease-in-out;
    -moz-transition: var(--button-line-animation-time) ease-in-out;
    -ms-transition: var(--button-line-animation-time) ease-in-out;
    -o-transition: var(--button-line-animation-time) ease-in-out;
    transition: var(--button-line-animation-time) ease-in-out;
}

.button span {
    position: relative;
    display: block;
}

.button:not(.static).selected {
    color: var(--selected-color);
    border-color: var(--selected-color);
    cursor: auto;
}

.button:before,
header .navButton:before {
    content: "";
    position: absolute;
    top: calc(100% - 7px);
    bottom: 0;
    left: 0;
    right: 0;
    border-width: 1px 0 0 0;
    border-style: solid;
    -webkit-transition: var(--button-line-animation-time) ease-in-out;
    -moz-transition: var(--button-line-animation-time) ease-in-out;
    -ms-transition: var(--button-line-animation-time) ease-in-out;
    -o-transition: var(--button-line-animation-time) ease-in-out;
    transition: var(--button-line-animation-time) ease-in-out;
}

/*.button.selected:before {*/
/*top: 5px;*/
/*}*/

/*.button:not(.static) span:before {*/
/*content: "";*/
/*position: absolute;*/
/*bottom: 9px;*/
/*right: 0;*/
/*width: 14px;*/
/*height: 8px;*/
/*}*/

.button:not(.static) span {
    -webkit-transition: var(--button-text-animation-time) ease-in-out;
    -moz-transition: var(--button-text-animation-time) ease-in-out;
    -ms-transition: var(--button-text-animation-time) ease-in-out;
    -o-transition: var(--button-text-animation-time) ease-in-out;
    transition: var(--button-text-animation-time) ease-in-out;
}

/*imagePulse*/
.imagePulse {
    -webkit-animation: imagePulse 20s infinite linear;
    -o-animation: imagePulse 20s infinite linear;
    animation: imagePulse 20s infinite linear;
}

@keyframes imagePulse {
    0%, 100% {
        -webkit-transform: scale(1.02);
        -moz-transform: scale(1.02);
        -ms-transform: scale(1.02);
        -o-transform: scale(1.02);
        transform: scale(1.02);
    }
    50% {
        -webkit-transform: scale(1.12);
        -moz-transform: scale(1.12);
        -ms-transform: scale(1.12);
        -o-transform: scale(1.12);
        transform: scale(1.12);;
    }
}

@-webkit-keyframes imagePulse {
    0%, 100% {
        -webkit-transform: scale(1.02);
        -moz-transform: scale(1.02);
        -ms-transform: scale(1.02);
        -o-transform: scale(1.02);
        transform: scale(1.02);;
    }
    50% {
        -webkit-transform: scale(1.12);
        -moz-transform: scale(1.12);
        -ms-transform: scale(1.12);
        -o-transform: scale(1.12);
        transform: scale(1.12);;
    }
}

/*subtitles*/
.subtitle390 {
    width: 390px;
    height: 48px;
    line-height: 45px;
    padding-left: calc(var(--indent-left) - 5px);
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-color);
    border-color: var(--gray-color);
}

.subtitle390:before {
    border-color: var(--gray-color);
}

.subtitle390.h {
    border-width: 1px 0;
}

/*container*/
.container {
    width: var(--container-width);
    margin: 0 auto;
    overflow: hidden;
}

html, body {
    width: 100%;
    height: 100%;
}

/*BODY*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 26px;
    font-weight: 400;
    overflow: hidden;
    /*-webkit-transform: translateY(100vh);*/
    /*-moz-transform: translateY(100vh);*/
    /*-ms-transform: translateY(100vh);*/
    /*-o-transform: translateY(100vh);*/
    /*transform: translateY(100vh);*/
}

body.show {
    /*-webkit-transform: translateY(0);*/
    /*-moz-transform: translateY(0);*/
    /*-ms-transform: translateY(0);*/
    /*-o-transform: translateY(0);*/
    /*transform: translateY(0);*/
}

/*SELECTOR VIEW*/

body[data-s="selector"] {
    background-image: url(../images/flatList.jpg);
}

body[data-s="selector"] section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

body[data-s="selector"] section a:nth-of-type(n+2) {
    margin-left: 60px;
}

/*LOADER*/
#loader img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.22;
}

#loader p {
    margin-top: 10px;
    color: #696969;
}

/*main*/
main {
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: white;
    -webkit-transition: opacity 0s;
    -moz-transition: opacity 0s;
    -ms-transition: opacity 0s;
    -o-transition: opacity 0s;
    transition: opacity 0s;
}

body.show main {
    opacity: 1;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

/*statusBar*/
#statusBar {
    grid-area: statusBar;
    background-color: var(--gray-color);
    color: #a0a0a0;
    display: grid;
    grid-template-columns: repeat(5, auto);
    line-height: 36px;
    height: 35px;
    font-weight: 300;
}

#statusBar .phone,
#statusBar .email {
    font-size: 11px;
}

.phone, .email {
    background-repeat: no-repeat;
    background-position: left 12px;
    display: inline-block;
}

.phone {
    margin-left: 15px;
    background-image: url(../images/phone.png);
    padding-left: 18px;
}

.email {
    background-image: url(../images/email.png);
    padding-left: 22px;
    cursor: pointer;
}

#statusBar .email:hover {
    color: var(--selected-color);
}

#statusBar .links {
    font-size: 9px;
    text-transform: uppercase;
}

#statusBar .links a {
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: #c5c5c5;
    display: inline-block;
    line-height: 25px;
    vertical-align: top;
    padding: 0 10px;
    min-width: 150px;
    font-weight: 500;

    cursor: pointer;
}

#statusBar .links a:hover {
    color: white;
    background-color: var(--selected-color);
    border-color: transparent;
}

#statusBar .links a:nth-of-type(n+2) {
    margin-left: 4px;
}

#languageButtons a {
    text-transform: uppercase;
    font-weight: 400;
    color: white;
}

#languageButtons a:nth-of-type(n+2) {
    margin-left: 4px;
}

#languageButtons a.selected {
    color: var(--selected-color);
    cursor: auto;
}

#languageButtons a:not(.selected):hover {
    color: var(--selected-color);
}

/*socialMedia*/
.socialMedia {
    margin-top: -1px;
}

.socialMedia a {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-repeat: no-repeat;
    vertical-align: middle;
    cursor: pointer;
}

.socialMedia a:nth-of-type(n+2) {
    margin-left: 10px;
}

.facebookButton {
    background-image: url(../images/facebook.png);
}

.youtubeButton {
    background-image: url(../images/youtube.png);
}

.instagramButton {
    background-image: url(../images/instagram.png);
}

/*NAV*/

nav {
    position: relative;
    display: inline-block;
}

nav > ul > li {
    float: left;
}

nav > ul > li:nth-of-type(n+2) {
    margin-left: 15px;
}


/*HEADER*/
header {
    background-color: white;
}

header .container {
    display: grid;
    grid-template-areas: 'logo statusBar' 'logo navBar';
    grid-gap: 0;
    grid-template-columns: 205px 1fr;
    grid-template-rows: 35px 120px;
    align-items: end;
}

#logoButton {
    grid-area: logo;
}

header #mobileNavButton {
    display: none;
}

#headerNavBar {
    text-align: right;
    grid-area: navBar;
    height: 101px;
}

header nav {
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

header .navButton {
    width: 110px;
    height: 100px;
    font-size: 11px;
    line-height: 18px;
    border: 1px solid #7e7976;
    position: relative;
}

header .navButton:before {
    top: calc(100% - 6px);
    border-color: #7e7976;
}

header .navButton > div {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

header .navButton.groupSelected > div,
header .navButton:hover > div {
    bottom: auto;
    top: 0
}

header .navButton a {
    padding: 0 10px;
    display: block;
}

header .navButton > div > a {
    padding-top: 7px;
    padding-bottom: 7px;
}

header .navButton a span {
    display: inline-block;
}

header .navButton ul {
    display: none;
    margin-top: 7px;
}

header .navButton.groupSelected,
header .navButton:hover {
    background-color: var(--selected-color);
    color: white;
    border-color: transparent;
}

header .navButton.groupSelected:before,
header .navButton:hover:before {
    top: 30px;
}

header .navButton.groupSelected:before, header .navButton:hover:before {

    border-color: white;
}

header .navButton.groupSelected ul,
header .navButton:hover ul {
    display: block;
}

header .navButton.groupSelected:nth-of-type(2):before,
header .navButton.groupSelected:nth-of-type(5):before,
header .navButton:hover:nth-of-type(2):before,
header .navButton:hover:nth-of-type(5):before {
    top: 48px;
}

header .navButton ul a {
    opacity: 0.5;
}

header .navButton ul a:hover {
    opacity: 1;
}

/*INTRO*/
#intro {
    position: relative;
    padding-bottom: var(--about-shape-height);
    font-size: 16px;
    height: 880px;
}

#introBgContainer:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(60, 60, 59, 0.22);
}

#intro .container {
    width: 500px;
    text-align: center;
    padding: 125px 0;
    color: white;
    position: relative;
    z-index: 1;
    opacity: 0;
}

#intro.start .container {
    -webkit-animation: introContainer var(--intro-animation-duration) infinite linear;
    -o-animation: introContainer var(--intro-animation-duration) infinite linear;
    animation: introContainer var(--intro-animation-duration) infinite linear;
}

@keyframes introContainer {
    0%, 67%, 100% {
        opacity: 0;
    }
    70%, 97% {
        opacity: 1;
    }
}

@-webkit-keyframes introContainer {
    0%, 67%, 100% {
        opacity: 0;
    }
    70%, 97% {
        opacity: 1;
    }
}

#intro h1 {
    font-size: 28px;
    text-transform: uppercase;
    line-height: 34px;
    width: 360px;
    display: inline-block;
    letter-spacing: 2px;
    font-weight: 900;
}

#intro h1:first-letter {
    font-size: 32px;
}

#intro .subtitle {
    color: var(--selected-color);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 26px;
    margin: 15px 0 55px 0;
}

#introBgContainer i {
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 150%;

}

#introBgContainer i.project1:nth-of-type(2) {
    background-image: url('../images/bb20_2.jpg');
}

#introBgContainer i.project2:nth-of-type(2) {
    background-image: url('../images/bb23_2.jpg');
}

#intro.start #introBgContainer i:nth-of-type(2) {
    opacity: 1;
    -webkit-animation: introBgImage1 var(--intro-animation-duration) infinite linear;
    -o-animation: introBgImage1 var(--intro-animation-duration) infinite linear;
    animation: introBgImage1 var(--intro-animation-duration) infinite linear;
}

@keyframes introBgImage1 {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    32% {
        transform: translateY(calc(-100% + 880px));
        opacity: 1;
    }
    35% {
        transform: translateY(calc(-100% + 880px));
        opacity: 0;
    }
    97% {
        transform: translateY(0);
        opacity: 0;
    }
}

@-webkit-keyframes introBgImage1 {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    32% {
        transform: translateY(calc(-100% + 880px));
        opacity: 1;
    }
    35% {
        transform: translateY(calc(-100% + 880px));
        opacity: 0;
    }
    97% {
        transform: translateY(0);
        opacity: 0;
    }
}

#introBgContainer i.project1:nth-of-type(1) {
    background-image: url('../images/bb20_1.jpg');
}

#introBgContainer i.project2:nth-of-type(1) {
    background-image: url('../images/bb23_1.jpg');
}

#intro.start #introBgContainer i:nth-of-type(1) {
    opacity: 0;
    -webkit-animation: introBgImage2 var(--intro-animation-duration) infinite linear;
    -o-animation: introBgImage2 var(--intro-animation-duration) infinite linear;
    animation: introBgImage2 var(--intro-animation-duration) infinite linear;
}

@keyframes introBgImage2 {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    32% {
        transform: translateY(calc(-100% + 880px));
        opacity: 0;
    }
    35% {
        transform: translateY(calc(-100% + 880px));
        opacity: 1;
    }
    67%, 97% {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes introBgImage2 {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    32% {
        transform: translateY(calc(-100% + 880px));
        opacity: 0;
    }
    35% {
        transform: translateY(calc(-100% + 880px));
        opacity: 1;
    }
    67%, 97% {
        transform: translateY(0);
        opacity: 1;
    }
}

/*ABOUT*/
#about {
    margin-top: calc(-1 * var(--about-shape-height));
    position: relative;
}

#about.project1 {
    background-image: url('../images/about_1.jpg');
}

#about.project2 {
    background-image: url('../images/about_2.jpg');
}

#aboutShapeT {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: var(--about-shape-height);
}

#aboutShapeB {
    position: absolute;
    bottom: -1px;
    top: auto;
}

#aboutTitle {
    grid-area: title;
    color: var(--selected-color);
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 400;
}

#aboutNav {
    grid-area: nav;
    color: var(--gray-color);
}

#aboutNav .button {
    display: block;
    width: 245px;
    height: 50px;
    font-size: 18px;
    line-height: 45px;
    padding: 0 0 0 10px;
    border-color: var(--gray-color);

}

#aboutNav .button.selected {
    background-color: var(--selected-color);
    border-color: transparent;
}

#aboutNav .button:not(.selected) {
    cursor: pointer;
}

#aboutNav .button.selected:after {
    content: "";
    width: 11px;
    height: 18px;
    position: absolute;
    top: 12px;
    right: 10px;
    background: url(../images/aboutSB.png) no-repeat;
}

#aboutNav .button:not(.selected):hover {
    background-color: var(--selected-color);
    color: white;
    border-color: transparent;
}

#aboutNav .button:not(.selected) span {
    color: var(--gray-color);
}

#aboutNav .button.selected span,
#aboutNav .button:not(.selected):hover span {
    color: white;
}

#aboutNav .button:before {
    border-color: var(--gray-color);
}

#aboutNav .button.selected:before,
#aboutNav .button:not(.selected):hover:before {
    border-color: white;
}

#aboutNav li:nth-of-type(n+2) {
    margin-top: 15px;
}

#aboutContentL {
    grid-area: contentL;
}

#aboutContentR {
    grid-area: contentR;
}

#aboutContentL,
#aboutContentR {
    position: relative;
}

#aboutContentL > div,
#aboutContentR > div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#about h2:not(:empty) {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
}

#about h2:nth-of-type(n+2) {
    margin-top: 30px;
}

#about p:nth-of-type(n+2) {
    margin-top: 30px;
}

#about h2 + p {
    margin-top: 0 !important;
}

#about #aboutContentL ul,
#about #aboutContentR ul {
    margin: 0;
    padding: 0 0 0 17px;
}

#aboutMap {
    grid-area: map;
    background-color: #f0f0f0;
    margin: 40px 0 40px 0;

}

#aboutGridContainer {
    display: grid;
    grid-template-areas: '... title title title title' 'nav contentL ... ... contentR' 'nav map map map map';
    grid-gap: 1px;
    grid-template-columns: 390px 370px 20px 20px 390px;
    grid-template-rows: 70px auto 500px;
    margin-top: -70px;
    font-size: 13px;
    line-height: 22px;
}

/*technicalParameters*/
#technicalParameters {
    padding-top: 45px;
}

#technicalParameters .container {
    padding-top: 45px;
    z-index: 1;
    position: relative;
}

#technicalParameters h1 {
    display: inline-block;
}

#technicalParameters .navButtons {
    display: inline-block;
    margin-left: 16px;
    height: 48px;
    vertical-align: bottom;
}

#technicalParameters .navButtons a {
    width: 48px;
    height: 48px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    line-height: 45px;
    color: var(--gray-color);
}

#technicalParameters .navButtons a:hover {
    background-color: var(--selected-color);
    border-color: transparent;
    color: white;
}

#technicalParameters .navButtons a:hover:before {
    border-color: white;
}

#technicalParameters .navButtons .prevButton {
    background-image: url(../images/prevB.png);
}

#technicalParameters .navButtons .prevButton:hover {
    background-image: url(../images/prevBW.png);
}

#technicalParameters .navButtons .nextButton {
    background-image: url(../images/nextB.png);
}

#technicalParameters .navButtons .nextButton:hover {
    background-image: url(../images/nextBW.png);
}

#technicalParameters .navButtons a:nth-of-type(n+2) {
    margin-left: 14px;
}

#technicalParameters .links {
    font-size: 13px;
    padding-left: var(--indent-left);
    margin-top: 5px;
}

#technicalParameters .links a {
    cursor: default;
}

#technicalParameters .links a:nth-of-type(n+2) {
    margin-left: 4px;
}

#technicalParameters .links a.selected,
#technicalParameters .links a:hover {
    color: var(--selected-color)
}

#technicalParameters .links a:not(.selected):hover {
    cursor: pointer;
}

#technicalParameters ul {
    margin: 50px 0 10px 0;
    display: grid;
    opacity: 0;
}

#technicalParameters li {
    position: relative;
}

#technicalParameters li:nth-of-type(1) i.project1 {
    background-image: url(../images/tp1_1.jpg);
}

#technicalParameters li:nth-of-type(4) i.project1 {
    background-image: url(../images/tp2_1.jpg);
}

#technicalParameters li:nth-of-type(7) i.project1 {
    background-image: url(../images/tp3_1.jpg);
}

#technicalParameters li:nth-of-type(10) i.project1 {
    background-image: url(../images/tp4_1.jpg);
}

#technicalParameters li:nth-of-type(13) i.project1 {
    background-image: url(../images/tp5_1.jpg);
}

#technicalParameters li:nth-of-type(16) i.project1 {
    background-image: url(../images/tp6_1.jpg);
}

#technicalParameters li:nth-of-type(1) i.project2 {
    background-image: url(../images/tp1_2.jpg);
}

#technicalParameters li:nth-of-type(4) i.project2 {
    background-image: url(../images/tp2_2.jpg);
}

#technicalParameters li:nth-of-type(7) i.project2 {
    background-image: url(../images/tp3_2.jpg);
}

#technicalParameters li:nth-of-type(10) i.project2 {
    background-image: url(../images/tp4_2.jpg);
}

#technicalParameters li:nth-of-type(13) i.project2 {
    background-image: url(../images/tp5_2.jpg);
}

#technicalParameters li:nth-of-type(16) i.project2 {
    background-image: url(../images/tp6_2.jpg);
}

#technicalParameters li > *:not(i) {
    margin-left: var(--indent-left);
    /*text-align: justify;*/
}

#technicalParameters li:nth-of-type(3n) > *:not(i) {
    margin-right: var(--indent-left);
}

#technicalParameters li i {
    display: block;
    width: 100%;
    /*height: 0;*/
    /*padding-bottom: 200%;*/
    position: absolute;
    top: 50px;
}

#technicalParameters li h2 {
    line-height: 30px;
    margin-bottom: 20px;
    color: var(--selected-color);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
}

#technicalParameters li h3 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 3px;
}

#technicalParameters li h3:nth-of-type(n+2) {
    margin-top: 30px;
}

#technicalParametersBg {
    height: 0;
    padding-bottom: 30%;

}

#technicalParametersBg.project1 {
    background-image: url(../images/tp_1.jpg);
}

#technicalParametersBg.project2 {
    background-image: url(../images/tp_2.jpg);
}

/*list*/

#list {
    background-image: url(../images/flatList.jpg);
    padding-bottom: 110px;
    margin-bottom: -90px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    min-height: calc(1vh - var(--shape-height-percent));
}

#list .shape:nth-of-type(1) {
    margin-top: calc(-1 * var(--shape-height-percent));
    position: relative;
}

#list .shape:nth-of-type(1):before {
    content: "";
    position: absolute;
    bottom: -90px;
    right: 0;
    left: 0;
    border-bottom: 1px solid #3c3c3b;
}

#list #flatList {
    padding-top: 60px;
}

#list h1 {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

#list h1 + p {
    color: var(--selected-color);
    font-size: 24px;
    margin-top: 30px;
    font-weight: 500;
}

#list #flatFilterSelects {
    background-color: var(--gray-color);
    padding-top: 3px;
    line-height: 67px;
    margin: 50px 0 10px 0;
    font-size: 18px;
    font-weight: 300;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 9px;
    padding: 9px;
}

#list #flatFilterSelects > div {
    position: relative;
    background: url(../images/selectButton.png) no-repeat calc(100% - 24px) center;
}

#list #flatFilterSelects > div:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 70px;
    border-width: 0 0 0 1px;
    border-style: solid;
    border-color: #d0d0cf;
}

#list #flatFilterSelects select {
    position: relative;
    background: transparent;
    color: white;
    font: inherit;
    text-transform: uppercase;
    border: 1px solid #d0d0cf;
    outline: none;
    height: 70px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 15px;
    width: 100%;
}

#list #flatFilterSelects select option {
    color: var(--gray-color);
}

#list #flatFilterSelects select option {
    text-transform: none;
}

#list #flatFilterSelects select option[value="0"] {
    color: #cccccc;
    font-style: italic;
}

#list #flatSortButtons {
    background-color: var(--selected-color);
    color: white;
    padding: 9px;
    line-height: 82px;
    font-size: 15px;
    text-align: left;
    font-weight: 300;
}

#list #flatSortButtons a {
    background-position: center calc(100% - 15px);
    background-repeat: no-repeat;
    text-align: center;
    margin: 0 5px;
}

#list #flatSortButtons a:before {
    top: 100%;
}

#list #flatSortButtons a.asc {
    background-image: url(../images/asc.png);
}

#list #flatSortButtons a.asc:before {
    top: calc(100% - 7px);
}

#list #flatSortButtons a.desc {
    background-image: url(../images/desc.png);
}

#list #flatSortButtons a.desc:before {
    top: 7px;
}

#list .flatItem {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    /*grid-gap: 9px;*/
    text-align: center;
    color: var(--gray-color)
}

#list ul .flatItem {
    line-height: 40px;
    padding-top: 4px;
    font-size: 16px;
    font-weight: 500;
    align-items: center;
}

/*#list ul li:nth-of-type(odd) {*/
/*    background-color: rgba(0, 0, 0, 0.1);*/
/*}*/
#list ul li span {
    padding: 0 5px;
}

#list ul li:nth-of-type(odd) {
    background-color: transparent;
}

#list ul li:nth-of-type(odd) span {
    background-color: rgba(0, 0, 0, 0.1);
    height: 44px;
}

#list ul li span i {
    font-style: normal;
    position: relative;
    top: -4px;
}

#list ul .flatItem span:nth-of-type(4),
#list ul .flatItem span:nth-of-type(5) {
    text-transform: none;
    /*margin-top: -6px;*/
}

#list ul .flatItem .available {
    color: var(--selected-color);
}

#list .comment {
    margin-top: 75px;
}

#list .comment a[href] {
    color: var(--selected-color);
}

/*search*/
#search {
    position: relative;
}

#search .cover.project1 {
    background-image: url(../images/search1.jpg);
}

#search .cover.project2 {
    background-image: url(../images/search2.jpg);
}

#search .container {
    margin-top: 200px;
    position: relative;
    z-index: 1;
}

#search .container > div {
    width: 50%;
    height: 830px;
    padding: 20px 20px 30px 20px;
    position: relative;
}

#search #floorSearch {
    background-color: #d7d6d1;
}

#search #flatSearch {
    background-color: #e9e8e6;
}

#search .shape:nth-of-type(2) {
    padding-bottom: var(--gallery-shape-height);
}

#search .button {
    display: block;
    width: var(--search-panel-text-width);
    height: 50px;
    font-size: 18px;
    line-height: 45px;
    padding: 0 0 0 10px;
    border-color: var(--gray-color);
}

#search .title {
    color: var(--selected-color);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

#search #floorSearch .title {
    margin-top: 20px;
}

#search #flatSearch .title {
    margin-top: 10px;
}

#search .instruction {
    color: black;
    width: var(--search-panel-text-width);
}

#search #floorSearch .layouts {
    position: absolute;
    top: 200px;
    left: 0;
    bottom: 0;
    right: 0;
}

#search #floorSearch #searchProjectLayout {
    opacity: 1;
}

#search .layout {
    opacity: 0;
    -webkit-transition: 200ms ease-in-out;
    -moz-transition: 200ms ease-in-out;
    -ms-transition: 200ms ease-in-out;
    -o-transition: 200ms ease-in-out;
    transition: 200ms ease-in-out;
}

#search .layout:hover,
#search .layout.selected {
    opacity: 1;
}

#search .layout:not(.selected) {
    cursor: pointer;
}

#search #floorSearch a.display {
    width: 48px;
    height: 48px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    line-height: 45px;
    color: var(--gray-color);
}

#search #floorSearch .leftButton {
    background-image: url(../images/prevB.png);
    left: 20px;
}

#search #floorSearch .rightButton {
    background-image: url(../images/nextB.png);
    left: auto;
    right: 20px;
}

#search .floorTitle {
    color: white;
    line-height: 57px;
    text-transform: uppercase;
}

#search .floorTitle[data-f="6"] {
    line-height: 74px;
}

#search #flatSearch .layouts {
    position: absolute;
    top: 145px;
    left: 0;
    bottom: 0;
    right: 0;
}

#search #flatSearch .layouts .reserved {
    fill: rgba(0, 0, 0, 0.1);
}

/*gallery*/
#gallery {
    position: relative;
    top: calc(-1 * var(--gallery-top));
    margin-bottom: calc(-1 * var(--gallery-top));
}

#shapeG {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: var(--gallery-shape-height);
    margin-top: calc(-1 * var(--gallery-shape-height) + 1px);
    clip-path: polygon(0 100%, 66% 0, 100% 34%, 100% 100%);
    -webkit-clip-path: polygon(0 100%, 66% 0, 100% 34%, 100% 100%);
    background-color: white;
}

#gallery > div {
    background-color: white;
    padding-top: var(--gallery-top);
    position: relative;
    margin-top: -1px;

}

#gallery > div:before {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--selected-color);
}

#gallery .container {
    padding-top: 30px;
}

#gallery h1 {
    background-color: #3c3c3b;
    color: white;
    text-align: center;
    line-height: 50px;
    margin: 110px 0 20px 0;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 300;
}

#gallery li:nth-of-type(1) {
    grid-area: p1;
}

#gallery li:nth-of-type(2) {
    grid-area: p2;
}

#gallery li:nth-of-type(3) {
    grid-area: p3;
}

#gallery li:nth-of-type(4) {
    grid-area: p4;
}

#gallery li:nth-of-type(5) {
    grid-area: p5;
}

#gallery li:nth-of-type(6) {
    grid-area: p6;
}

#gallery ul {
    display: grid;
    width: 100%;
    grid-template-areas: 'p1 p2 p3' 'p1 p2 p6' 'p1 p2 p6' 'p4 p5 p6';
    grid-gap: 0;
    grid-template-columns: 36% 26% 38%;
    grid-template-rows: 33.5% 19.5% 14.5% 32.5%;
}

#gallery li {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

#gallery li i {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 1000ms ease-in-out;
    -moz-transition: 1000ms ease-in-out;
    -ms-transition: 1000ms ease-in-out;
    -o-transition: 1000ms ease-in-out;
    transition: 1000ms ease-in-out;
}

#gallery li:hover i {
    z-index: 1;
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
    transform: scale(1.15);
}

/*GALLERY VIEWER*/

#galleryViewer.show {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

#galleryViewer {
    position: fixed;
    background-color: #1a1a1a;
    z-index: 1000;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: 600ms ease-in-out;
    -moz-transition: 600ms ease-in-out;
    -ms-transition: 600ms ease-in-out;
    -o-transition: 600ms ease-in-out;
    transition: 600ms ease-in-out;
}

#galleryViewer i {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    min-width: 85%;
    min-height: 85%;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) translate3d(0, 0, 0);
    -moz-transform: translate(-50%, -50%) translate3d(0, 0, 0);
    -ms-transform: translate(-50%, -50%) translate3d(0, 0, 0);
    -o-transform: translate(-50%, -50%) translate3d(0, 0, 0);
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
    -webkit-transition: 600ms ease-in-out;
    -moz-transition: 600ms ease-in-out;
    -ms-transition: 600ms ease-in-out;
    -o-transition: 600ms ease-in-out;
    transition: 600ms ease-in-out;
}

#galleryViewer a {
    width: 19px !important;
    height: 32px !important;
    opacity: 0.5;
    cursor: pointer;
}

#galleryViewer a:hover {
    opacity: 1;
}

#galleryViewer .prevButton {
    left: 3.75%;
    margin-left: -10px;
    cursor: pointer;
    background-image: url(../images/leftArrow.png);
}

#galleryViewer .nextButton {
    left: auto;
    height: auto;
    right: 3.75%;
    margin-right: -10px;
    cursor: pointer;
    background-image: url(../images/rightArrow.png);
}

#galleryViewer .closeButton {
    width: 22px !important;
    height: 22px !important;
    left: auto;
    top: 3.75%;
    right: 3.75%;
    margin-right: -10px;
    background-image: url(../images/close.png);
}

#galleryViewer p {
    bottom: 2%;
    width: 85%;
    text-align: center;
    color: white;
}

/*documents*/
#documents {
    color: #76716d;
    position: relative;
    top: -1px;
    margin-bottom: -1px;
    z-index: 1;
}

#documents.project1 {
    background-image: url(../images/documents_1.jpg);
}

#documents.project2 {
    background-image: url(../images/documents_2.jpg);
}

#documents .container {
    padding-top: 150px;
    padding-bottom: 120px;
    text-align: center;
}

#documents .button {
    width: 190px;
    height: 190px;
    font-size: 17px;
    padding: 0 20px;
    line-height: 25px;
    text-align: left;
    background-color: var(--selected-color);
    color: white;
    border-color: white;
}

#documents a.button {
    margin-left: 50px;
}

#documents .button:before {
    top: calc(100% - 10px);
}

#documents .button:not(.static) span {
    -webkit-transition: var(--button-text-animation-time) ease-in-out var(--button-text-animation-delay-time), color var(--button-text-animation-time) ease-in-out;
    -moz-transition: var(--button-text-animation-time) ease-in-out var(--button-text-animation-delay-time), color var(--button-text-animation-time) ease-in-out;
    -ms-transition: var(--button-text-animation-time) ease-in-out var(--button-text-animation-delay-time), color var(--button-text-animation-time) ease-in-out;
    -o-transition: var(--button-text-animation-time) ease-in-out var(--button-text-animation-delay-time), color var(--button-text-animation-time) ease-in-out;
    transition: var(--button-text-animation-time) ease-in-out var(--button-text-animation-delay-time), color var(--button-text-animation-time) ease-in-out;
}

#documents .button.selected:before,
#documents .button:not(.static):hover:before {
    top: 10px;
    border-color: white;
}

#documents a.button span {
    -webkit-transform: translateY(110px);
    -moz-transform: translateY(110px);
    -ms-transform: translateY(110px);
    -o-transform: translateY(110px);
    transform: translateY(110px);

}

#documents a.button:hover span,
#documents .button.selected span {
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -o-transform: translateY(30px);
    transform: translateY(30px);
}

/*#documents a.button:hover {*/
/*border-color: var(--selected-color);*/
/*}*/

#documents a.button:hover:before {
    border-color: var(--selected-color);
}

#documents a.button:hover span {
    /*color: var(--selected-color);*/
}

#documents .button:not(.static) span:before {
    background: url(../images/documentSign.png) no-repeat;
}

#documents .button:hover span:before {
    background-image: url(../images/documentSignHover.png);
}

/*budapest*/

#budapest {
    height: 0;
    padding-bottom: 30%;
    margin-top: calc(-1 * var(--shape-height-percent));
    position: relative;
    top: -1px;
}

#budapest .cover.project1 {
    background-image: url(../images/budapest1.jpg);
}

#budapest .cover.project2 {
    background-image: url(../images/budapest2.jpg);
}

#budapest #budapestC {
    display: block;
    margin-top: var(--shape-height-percent);
}

/*contact*/

#contact {
    padding: 60px 0 70px 0;
    position: relative;
    margin-top: calc(-1 * var(--shape-height-percent));
}

#contact.project1 {
    background-image: url(../images/contact_1.jpg);
}

#contact.project2 {
    background-image: url(../images/contact_2.jpg);
}

#contact h1 {
    margin-bottom: 50px;

}

#contact > .container {
    display: grid;
    grid-template-columns: 50% 50%;
}

#contact .phoneMail {
    font-size: 14px;
    font-weight: 600;
}

#contact .company {
    position: relative;
}

#contact .location, #contact .company, #contact .other {
    font-size: 14px;
    margin-left: var(--indent-medium-left);
}

#contact .other {
    margin-top: 40px;
}

#contact .location span, #contact .company span, #contact .other span {
    font-size: 16px;
    color: var(--selected-color);
    font-weight: 500;
    text-transform: uppercase;
    margin-left: 5px;
}

/*#contact .logoAndDetails {*/
/*display: grid;*/
/*grid-template-columns: 93px 1fr;*/
/*margin: 2px 0 0 -13px;*/
/*}*/

#contact .swButton {
    background: url(../images/swLogoB.png) no-repeat;
    width: 82px;
    height: 63px;
    display: block;
    top: 6px;
    position: relative;
    left: -15px;
}

#contactMapForm {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 385px;
    margin: 55px 0 0 0;
}

#contactMap {
    background: black;
}

#contactMapForm .container {
    margin-left: var(--indent-medium-left);
    position: relative;
}

#contactMapForm form {
    width: calc(var(--container-width) / 2 - var(--indent-medium-left));
}

#contactMapForm form p {
    background-color: var(--gray-color);
    color: white;
    font-size: 12px;
    padding-left: var(--indent-small-left);
    text-transform: uppercase;
    margin-bottom: 5px;
}

#contactMapForm input, #contactMapForm textarea {
    margin-top: 5px;
    padding-left: var(--indent-small-left);
}

#contactMapForm input {
    line-height: 27px;
}

#contactMapForm textarea {
    height: 94px;
}

#contactMapForm form a {
    background-color: var(--selected-color);
    color: white;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
    padding-left: var(--indent-small-left);
    cursor: pointer;
}

#contactMapForm .container div {
    position: absolute;
    bottom: -8px;
}

#contactMapForm .container div p:nth-of-type(1) {
    color: var(--selected-color)
}

/*FOOTER*/
footer {
    background-color: #a27e2b;
    color: #ece7d3;
    padding: 25px 0 275px 0;
    margin-top: calc(-1 * var(--shape-height-percent));
    line-height: 36px;
}

footer .container > div:nth-of-type(1) {
    font-weight: 300;
    font-size: 13px;
}

footer .phone {
    margin-left: 0;
}

footer .email {
    margin-left: 40px;
}

footer .fRight > a {
    margin-right: 40px;
    font-style: italic;
    text-decoration: underline;
}

footer .container > div:nth-of-type(2) {
    grid-template-columns: 100px 100px auto;
    margin: 30px 0 30px 0;
    font-size: 11px;
}

footer .container > div:nth-of-type(2) li:nth-of-type(n+2) {
    margin-left: 25px;
}

footer .container > div:nth-of-type(2) .website {
    margin-left: 20px;
}

footer .container > div:nth-of-type(3) {
    font-size: 11px;
    text-align: right;
    color: #3c3c3b;
}

footer .email:hover {
    color: var(--gray-color);
}

footer nav {
    height: 50px;
    line-height: 28px;
    margin-top: 10px;
}

footer nav > ul {
    float: right;
}

footer nav li.selected > a,
footer nav li.groupSelected > a {
    /*color: #3c3c3b;*/
}

footer nav ul div {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    text-align: right;
}

footer nav ul li:hover div,
footer nav > ul > li.selected div,
footer nav ul li.groupSelected div {
    display: block;
}

footer nav ul li:hover div {
    /*background: red*/
}

footer nav ul li.groupSelected div {
    /*background: blue;*/
}

footer nav ul ul {
    display: inline-block;
}

footer nav ul ul li {
    float: left;
}

footer nav ul ul li:nth-of-type(n+2) {
    margin-left: 15px;
}

@media screen and (max-width: 1600px) {
    #aboutGridContainer {
        padding-top: 60px;
    }
}


@media screen and (max-width: 1280px) {
    header {
        padding-bottom: 30px;
    }

    .container {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }

    header .container {
        grid-template-areas: 'statusBar statusBar' 'logo navBar';
        grid-template-rows: 35px 150px;
        padding-left: 0;
        padding-right: 0;
    }

    #statusBar {
        padding: 0 30px;
    }

    .phone {
        margin-left: 0;
    }

    .socialMedia {
        text-align: right;
    }

    #logoButton {
        padding-left: 30px;
    }

    #headerNavBar {
        padding-right: 30px;
    }

    #aboutGridContainer {
        grid-template-columns: 300px 1fr 20px 20px 1fr;
    }

    #flatSortButtonsAndItems {
        overflow-x: scroll;
    }

    #flatList {
        padding-left: 0;
        padding-right: 0;
    }

    #list #flatSortButtons {
        padding: 15px 5px;
        /*padding-bottom: 15px;*/
        /*padding-left: 5px;*/
        /*padding-right: 5px;*/
        position: relative;
    }

    #list #flatSortButtons:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: calc(1040px - 100% + 10px);
        transform: translateX(100%);
        background-color: var(--selected-color);
    }

    #list #flatSortButtons a {
        padding: 10px 5px 30px 5px;
        /*font-size: 11px;*/
        text-align: center;
        line-height: 20px;
    }


    /*#list ul .flatItem {*/
    /*    font-size: 12px;*/
    /*}*/
    #contact > .container {
        padding-top: 30px;
    }

    footer {
        margin-top: 0;
        padding-bottom: 150px;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .shape, .shapeLB, .shapeLBI,
    #aboutShapeT {
        display: none;
    }

    #intro.start .container {
        -webkit-animation: none;
        -o-animation: none;
        animation: none;
        opacity: 1;
    }

    #about {
        height: auto !important;
        padding-bottom: 30px;
    }

    #documents.project1,
    #about,
    #documents.project1,
    #list, #contact {
        clip-path: none !important;
        -webkit-clip-path: none !important;
    }

    .imagePulse {
        -webkit-animation: none;
        -o-animation: none;
        animation: none;
    }

    #technicalParameters {
        padding-bottom: 45px;
    }

    #technicalParameters .links,
    #technicalParameters .prevButton,
    #technicalParameters .nextButton,
    #technicalParameters .imageLC {
        display: none;
    }

    #technicalParametersDetails ul {
        width: 100% !important;
        margin: 0;
        display: block;
        transform: none !important;
        -webkit-transform: none !important;
        -ms-transform: none !important;
        -o-transform: none !important;
    }

    #technicalParameters li h2 {
        margin-top: 40px;
    }

    #technicalParameters li > * {
        margin-left: 0 !important
    }

    #list .flatItem {
        grid-template-columns: 80px 140px 100px 150px 130px 120px 150px 170px;
    }

    #flatList > p {
        display: none !important;
    }

    #search .container > div {
        width: 100%;
    }

    #search #floorSearch {
        height: 700px;
    }
}

@media screen and (max-width: 1000px) {


    #logoButton img {
        height: 90px;
        position: absolute;
        top: 0;
        background-color: white;
        padding: 10px;
    }

    header #mobileNavButton {
        display: block;
    }


    #headerNavBar {
        grid-area: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        background: var(--gray-color);
        color: #a0a0a0;
        padding: 0;
        height: auto;
        transform: translateY(-100%);
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        display: none;
    }

    header #mobileNavButton {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 11;
        width: 80px;
        height: 80px;
        margin: 0;
        appearance: none;
        -moz-appearance: none;
        -ms-progress-appearance: initial;
        -webkit-appearance: none;
        background: url(../images/menu.png) no-repeat center;
        background-size: 30px;
    }


    #mobileNavButton:checked + #headerNavBar {
        display: block;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }

    header .navButton > div {
        position: relative;
    }

    header .container {
        display: block;
    }

    header nav {
        display: block;
        text-align: center;
        padding-top: 80px;
        height: 100%;
    }

    header nav ul {
        display: flex;
        height: 100%;
        flex-direction: column;
    }

    header .navButton {
        width: 100%;
        color: inherit !important;
        background-color: transparent !important;
        border-width: 0;
        line-height: initial;
        font-size: 22px;
        height: 16.66%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav > ul > li:nth-of-type(n+2) {
        margin-left: 0;
    }

    header .navButton:before {
        display: none !important;
    }

    header .navButton ul,
    header .navButton ul:hover {
        display: none !important;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    header .container {
        grid-template-areas: 'logo statusBar' 'navBar navBar';
        grid-template-rows: 150px 105px;
        grid-template-columns: auto 1fr;
    }

    #statusBar {
        display: grid;
        margin-left: 115px;
        height: 80px;
        grid-template-areas: 'statusBarPhone statusBarEmail statusBarLanguageButtons ' 'statusBarLinks statusBarLinks statusBarSocialMedia';
        grid-template-rows: 45px 35px;
        grid-template-columns: auto;
        padding: 0 80px 0 15px;
    }

    #statusBar .phone {
        grid-area: statusBarPhone;
    }

    #statusBar .email {
        grid-area: statusBarEmail;
    }

    #statusBar .links {
        grid-area: statusBarLinks;
    }

    #statusBar #languageButtons {
        grid-area: statusBarLanguageButtons;
        text-align: right;
    }

    #statusBar .socialMedia {
        grid-area: statusBarSocialMedia;
    }

    #statusBar .links a {
        line-height: inherit;
        border-width: 1px 1px 0 1px;
    }

    #logoButton {
        padding-left: 0;
    }


    /*ABOUT*/
    #aboutGridContainer {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas: 'nav nav' 'title title' 'contentL contentR' 'map map';
        grid-column-gap: 30px;
    }

    #aboutNav > ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #aboutNav li:nth-of-type(n+2) {
        margin-top: 0;
    }

    #aboutTitle {
        line-height: 80px;
    }

    #aboutMap {
        height: 200px;
    }

    #contact > .container {
        padding-top: 0;
        display: block;
    }

    #contact .location,
    #contact .company,
    #contact .other {
        margin-left: 20px;
    }

    #contactMapForm {
        grid-template-columns: 100%;
    }

    #contactMapForm form {
        width: 100%;
    }

    #contactMapForm .container {
        margin-left: 0;
        margin-top: 40px;
    }

    #contactMapForm .container div {
        position: relative;
    }

    footer .container > div:nth-of-type(2) .website {
        margin-left: 0;
    }

    footer .container > div:nth-of-type(2) li:nth-of-type(n+2) {
        margin-left: 0;
    }

    footer .container > div:nth-of-type(2) li {
        margin-right: 15px;
    }

    footer .container > div:nth-of-type(2) li:last-child {
        margin-right: 0;
    }
}

@media screen and (max-width: 800px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    #list #flatList {
        padding: 60px 0 0 0;
    }

    #list #flatList h1,
    #list #flatList p {
        padding-left: 15px;
        padding-right: 15px;
    }


    /*#list ul .flatItem {*/
    /*    font-size: 12px;*/
    /*    grid-template-columns: 30px 1fr 20px 70px 70px 30px 1fr 1fr;*/
    /*}*/
    /*#list ul li span:last-child {*/
    /*    line-height: 20px;*/
    /*}*/
    footer .container > div:nth-of-type(2) {
        display: block;
    }

    footer .container > div:nth-of-type(2) > *:nth-child(-n + 2) {
        display: inline-block;
    }

    footer .container > div:nth-of-type(2) > *:nth-child(3) {
        display: block;
    }
}

@media screen and (max-width: 768px) {

    #search .container {
        margin-top: 0;
        padding: 0;
    }

    #budapest {
        margin-top: 0;
    }

    #contact {
        margin-top: 0;
    }
}

@media screen and (max-width: 760px) {
    #list #flatFilterSelects {
        grid-template-columns: 1fr;
    }

    #aboutNav > ul {
        justify-content: flex-start;
    }

    #aboutNav > ul li:nth-of-type(n+2) {
        margin-left: 15px;
    }

    #aboutNav .button.selected {
        background-color: transparent;

    }

    #aboutNav .button.selected span, #aboutNav .button:not(.selected):hover span {
        color: inherit;
    }

    #aboutNav .button.selected:after {
        display: none;
    }

    #aboutNav .button {
        width: auto;
        height: auto;
        padding: 0;
        border: none;
    }
}

@media screen and (max-width: 600px) {
    body[data-s="selector"] section {
        flex-direction: column;
    }

    body[data-s="selector"] section a:nth-of-type(n+2) {
        margin: 45px 0 0 0;
    }

    #logoButton img {
        height: 75px;
        padding: 5px;
    }

    #statusBar {
        margin-left: 100px;
        padding: 0 65px 0 10px;
        height: 70px;
        grid-template-rows: 35px 35px;
    }

    header #mobileNavButton {
        width: 65px;
        height: 70px;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    #search .button,
    .subtitle390 {
        width: auto;
        height: auto;
        line-height: initial;
        padding-left: 0;
        font-size: 24px;
        font-weight: 400;
        color: var(--gray-color);
        border-color: transparent;
    }

    .button:before,
    header .navButton:before {
        display: none;
    }

    #technicalParameters .container {
        padding-top: 0;
    }

    #flatList > h1 {
        margin-bottom: 30px;
    }


    #flatItems span {
        white-space: nowrap;
        padding: 0 9px;
    }


    #documents .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #documents .container > * {
        display: block;
    }


    #documents a.button {
        margin: 35px 0 0 0;

    }

    footer .container .fLeft,
    footer .container .fRight {
        float: none;
        display: block;
    }
}

@media screen and (max-width: 500px) {
    header {
        padding-bottom: 0;
    }

    #introBgContainer i {
        height: 100%;
        padding-bottom: 0;
    }

    #intro.start #introBgContainer i:nth-of-type(1) {
        -webkit-animation: none;
        -o-animation: none;
        animation: none;
        opacity: 1;
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background-position: center center;
    }

    #intro.start #introBgContainer i:nth-of-type(2) {
        display: none;
    }

    #intro {
        height: auto;
    }

    #intro .container {
        width: 100%;
        padding: 60px 0 90px 0;
    }

    #intro h1 {
        width: 90%;
    }

    body[data-s="selector"] section {
        flex-direction: row;
    }

    body[data-s="selector"] section a {
        margin: 0 0 0 15px !important;
    }

    body[data-s="selector"] section img {
        height: 100px;
    }

    #search {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    #logoButton {
        display: none;
    }

    #statusBar {
        margin-left: 0;
    }
}


@media screen and (max-width: 320px) {
    #aboutNav > ul {
        flex-direction: column;
        align-items: flex-start;
    }

    #aboutNav > ul li:nth-of-type(n+2) {
        margin-left: 0;
    }

    #aboutGridContainer {
        grid-column-gap: 15px;
    }

    #aboutMap {
        display: none;
    }

    #statusBar {
        grid-template-areas: 'statusBarPhone statusBarLanguageButtons' 'statusBarEmail statusBarEmail' 'statusBarLinks statusBarLinks' 'statusBarSocialMedia statusBarSocialMedia';
        height: 110px;
        grid-template-rows: repeat(4, 25px);
        align-items: center;
    }

    #statusBar .links a {
        border: 0;
        margin: 0;
        padding: 0;
        line-height: initial;
        vertical-align: middle;
    }

    #statusBar .links {
        display: flex;
        flex-direction: column;
        margin-top: 25px;
    }

    #statusBar .links a:nth-of-type(n+2) {
        margin-left: 0;
        margin-top: 15px;
    }

    #technicalParameters .navButtons {
        margin-left: 0;
    }

    #technicalParameters .navButtons a:nth-of-type(n+2) {
        margin-left: 0;
    }
}
