/*vendor*/
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #fff;
  opacity: 0.9; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #000;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #000; }
    .mfp-preloader a:hover {
      color: #000; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }
button.mfp-arrow {
  background: #1a1a17;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #000;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #000;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  top: -44px;
  width: 100%; 
  }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #000;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -45px;
  padding: 0;
  width: 90px;
  height: 90px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }

.mfp-arrow svg {
  fill: #fff;
  pointer-events: none;
}
.mfp-arrow-left {
  left: 0; }
.mfp-arrow-left svg {
  transform: rotate(-180deg);
}
.mfp-ready, .mfp-bg {
  transition: .6s ease-in-out;
} 


.popup-opened .mfp-bg {
  opacity: 0.9;
}

.mfp-removing, .mfp-zoom-out-cur .mfp-removing {
  opacity: 0;
}

.mfp-arrow-right {
  right: 0; }


.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  margin: 0 auto; 
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: 10px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }


.figure-popup {
    position: relative;
    overflow: hidden;
}

.figure-popup img {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	height: 100%;
    width: 100%;
	object-fit: cover;
}
.figure-popup .overlay {
    opacity:0.3;
}
.figure-popup:hover .overlay {
    opacity: 0;
}


@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }


.agreement-radio.col-acceptance {
    border-bottom: 0 !important;
}
.e-form input:active, .e-form select:active, .e-form textarea:active,
.e-form input:hover, .e-form select:hover, .e-form textarea:hover,
.e-form input:focus, .e-form select:focus, .e-form textarea:focus {
    
}


.e-checkbox,
.e-checkbox input,
.e-checkbox label {
    cursor: pointer;
}

.e-checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.e-checkbox label {
    display: block;
    position: relative;
    line-height: 1;
}

.e-checkbox label span {
    display: block;
    line-height: 1.4rem;
}
.e-checkbox label span.e-check,
.e-checkbox label span.e-radio {
    position: absolute;
}
.e-checkbox .e-radio {
  border-radius: 50px;
}
.e-checkbox label span.checkbox-text {
    line-height: 2rem;
}
.e-checkbox label span.checkbox-text a {
    color: #1a1a17;
    font-weight: 600;
}
.e-check,
.e-radio {
  top: 0;
  left: 0;
  height: 2rem;
  width: 2rem;
  background-color: #ddd;
  cursor: pointer;
  transition: .2s;
  border: 2px solid transparent;
  box-sizing: content-box;
}
.e-radio {
  top: -6px;
}

.acceptance-error .e-check {
    border-color: #c63737;
}

.checkbox-text {
    padding-left: 3rem;
}

.e-checkbox input:checked ~ .e-check,
.e-checkbox input:checked ~ .e-radio {
  background-color: #1a1a17;
}



.e-check:after,
.e-radio:after {
  display: block;
  content: '';
  position: absolute;
  opacity: 0;
  transition: .2s;
}

.e-check:after {
  left: 12px;
  top: 7px;
  width: 0.5rem;
  height: 1rem;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.e-radio:after {
  border-radius: 4px;
  border: 4px solid #fff;
  top: 10px;
  left: 10px;
}

.e-checkbox input:checked ~ .e-check:after,
.e-checkbox:hover .e-check:after,
.e-checkbox input:checked ~ .e-radio:after,
.e-checkbox:hover .e-radio:after {
    opacity: 1;
}











html, body {
    font-size: 15px;
    overflow-x: hidden;
}
body {
    font-family: 'Prompt', sans-serif;
    overflow-x: hidden;
    font-weight: 300;
    color: #1a1a17;
}


a, a:hover {
    color: #292922;
    text-decoration: none;
}

.text-white a,
.text-white a:hover,
footer a:hover {
    color: #fff;
}

b, strong{
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Assistant', sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 2.5px;
    /* color: #808080; */
}

.btn {
    border-radius: 0;
    background: #1a1a17;
    color: #fff;
    padding: 1rem 3rem;
}

.btn-inner {
    display: block;
    position: relative;
}

.btn-text, .btn-icon {
    transition: .4s;
}

.btn-text {
    display: block;
    position: relative;
    padding: 5px 15px 5px;
    background: #1a1a17;
    z-index: 2;
    /* padding-right: 15px; */
}

.btn-icon,
.small-link:after,
.back-link:before {
    display: block;
    position: absolute;
    right: 15px;
    top: 10px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 7px;
    border-top-color: transparent;
    border-left-color: #fff;
}

.btn:hover {
    color: #fff;
}

.btn:hover .btn-text {
    /* transform: translateX(-15px); */
    margin-right: 15px;
}
.btn:hover .btn-icon {
    right: 0;
    opacity: 1;
}

.small-link {
    position: relative;
    transition: .2s;
    width: 200px;
    display: block;
    margin: auto;
}
.small-link:after,
.back-link:before {
    content: '';
    border-left-color: #1a1a17;
    right: -1.5rem;
    top: 2px;
    transition: .2s;
}
.small-link:hover {
    color: #b88a3f;
}
.small-link:hover:after {
    border-left-color: #b88a3f;
    right: -2rem;
}

.back-link {
    position: relative;
    padding-left: 17px;
}

.back-link:before {
    right: auto;
    left: -5px;
    top: 4px;
    border-left-color: transparent;
    border-right-color: #1a1a17;
}

.bg-cover {
    background-size: cover;
    background-position: center;
}

.ag-image {
    margin-bottom: 0;
}

.ag-divider {
    height: 2rem;
}

.height-100vh { height: 100vh }
.height-100vh-footer { height: calc(100vh - 195px) }
.height-50vh { height: 50vh }
.height-25vh { height: 25vh }
.height-75vh { height: 75vh }
.height-350px { height: 350px }

.builder-row {
    padding: 2rem 0;
}
.builder .height-100vh { height: calc(100vh - 8rem) }


/* .intro- */

header.fixed-top {
    position: absolute;
}

.header-logo-small {
    position: fixed;
    top: 21px;
    left: -28px;
    width: 110px;
    z-index: 1000;
    overflow: hidden;
    transition: .7s;
    /* transform: translateY(-100%); */
    opacity: 0;
    pointer-events: none;
}
.header-logo-small svg {
    width: 150px;
}
.header-fixed .header-logo-small {
    /* transform: translateY(0); */
    opacity: 1;
    pointer-events: all;
}

.header-logo-small .giraffe {
    /* stroke-width: 2px; */
    /* stroke: #fff; */
    /* filter: drop-shadow(2px 0px 3px rgba(0, 0, 0, 0.84)); */
    fill: #1a1a17;
    transition: 1s;
}
.menu-opened .header-logo-small .giraffe {
    fill: #fff;
}

.header-logo-small .grapho,
.header-logo-small .avant{
    opacity: 0;
}

.header-logo-background {
    background: #fff;
}

.header-logo, .header-logo-background {
    position: absolute;
    width: 320px;
    height: 146px;
    top: 0;
    left: calc(50% - 160px);
    padding: 1rem;
    z-index: 10;
}
.header-fixed .header-logo, .header-fixed .header-logo-background {
    /* width: 180px;
    left: 30px;
    height: 98px;
    background: transparent !important; */
}


/* .header-fixed .header-logo svg .grapho,
.header-fixed .header-logo svg .avant {
    opacity: 0;
} */


.header-logo svg path {
    fill: #1a1a17;
}

.header-trigger {
    position: fixed;
    right: 30px;
    top: 30px;
    z-index: 10;
    height: 40px;
    width: 40px;
    background: #fff;
    cursor: pointer;
}
.intro-played .header-trigger {
    transition: .4s;
}
.header-trigger:hover,
.header-trigger.opened {
    background-color: #1a1a17;
}

.header-trigger-icon {
    position: relative;
    margin-left: 8px;
    margin-top: 11px;
}
.hti-line {
    display: block;
    position: absolute;    
    height: 3px;
    left: 0px;
    background: #1a1a17;
    transition: .4s;
}

.header-trigger:hover .hti-line,
.header-trigger.opened .hti-line {
    background-color: #fff;
}

.hti-line1 {
    width: 24px;
    top: 0px;
    transform-origin: 0 0;
}

.header-trigger:hover .hti-line1 {
    width: 11px;
}
.header-trigger.opened .hti-line1 {
    width: 24px;
    transform: rotate(45deg);
    left:   4px;
}

.hti-line2 {
    width: 17px;
    top: 7px;
}

.header-trigger.opened .hti-line2 {
    opacity: 0;
}

.hti-line3 {
    width: 11px;
    top: 14px;
    transform-origin: 100% 100%;
}

.header-trigger:hover .hti-line3 {
    width: 24px;
}
.header-trigger.opened .hti-line3 {
    width: 24px;
    transform: rotate(-45deg);
    top: -1px;
    left: -3px;
}






.header-inside {
    height: 98px;
    position: fixed;
    width: 100%;
    background: #1a1a17;
    right: 0;
    padding-left: 2rem;
    padding-right: 130px;
    transform: translateX(100%);
}
.header-left {
    transition: .7s;
}
.header-fixed .header-left {
    padding-left: 55px
}
.header-inside .nav li,
.header-inside .social-media-items {
    margin-right: calc(1rem + 2vw);
}
.header-inside a {
    color: #fff;
}
.header-inside svg {
    fill: #fff;
}

.header-inside ul {
    margin: 0;
}
.social-media-items {
    padding: 0;
    list-style: none;
}
.social-media-items li {
    display: inline-block;
    padding-right: 1rem;
}

.social-media-items li:last-child {
    padding-right: 0;
}
.social-media-items svg {
    width: 20px;
    height: 20px;
}
.social-media-items li.social-media-item-facebook svg {
    height: 16px;
}

.language-switcher {
    padding: .5rem;
    list-style: none;
    text-transform: uppercase;
    background: #fff;
    color: #1a1a17;
}

.language-switcher li {
    display: inline-block;
    margin-right: .5rem;
}
.language-switcher li a,
.language-switcher li a:hover {
    color: #1a1a17;
}
.language-switcher li.active a {
    font-weight: 600;
    color: #5e5e21;
}
.language-switcher li:last-child {
    margin-right: 0;
}
.language-switcher li:after {
    content: '/';
    margin-left: .5em;
}
.language-switcher li:last-child:after {
    display: none;
}

.nav li a {
    font-family: 'Assistant', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16rem;
}
.nav li a:hover {
    text-decoration: none;
}
.header-inside .nav li a {
    position: relative;
}
.header-inside .nav li a:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    transition: .4s;
    background: #fff;
}
.header-inside .nav li a:hover:after {
    width: 2rem;
}


#header-menu {
    background: transparent;
}

.show, .show .sub-menu {
    z-index: 3;
}

.sub-menu {
    display: none;
    position: absolute;
    background: #000;
    width: 280px;
    top: 0;
    top: 60px;
    padding: 2rem;
    left: -2rem;
}
.sub-menu li {
    list-style: none;
    margin-bottom: 1rem;
}
.header-inside .nav .sub-menu li {
    margin-right: 0;
}

main {
    padding-bottom: 30px;
}

footer {
    background: #1a1a17;
    color: #fff;
    padding: 2rem;
}
footer a {
    color: #fff;
}
.so-image svg,
.giraffe-head {
    width: 200px;
    z-index: 10;
}
footer svg path {
    fill: #fff;
}
footer svg.giraffe-head path {
    fill: #1a1a17;
}
.footer-logo {
    position: relative;
    margin-top: -30px;
    width: 238px;
}
.footer-logo svg {
    width: 238px;
}
.giraffe-head {
    position: absolute;
    top: -34px;
}



.page-header > .row {
    height: 100vh;
}
.page-header > .row > .col-12 {
    align-self: center;
}
.page-header .page-description {
    /* background: rgba(26, 26, 23, 0.45); */
    background: rgba(0, 0, 0, 0.31);
    padding: 2rem;
    max-width: 1080px;
    margin: auto;
}
.page-header .page-description h1,
.page-header .page-description h2 {
    font-size: 3.8rem;
    font-weight: 200;
    text-transform: none;
}  

.page-header .page-description .btn,
.page-header .page-description .btn span {
    background: transparent;
}    
.page-header .page-description .btn svg {
    fill: #fff;
}
.page-header .page-description .btn-text {
    margin-right: 1rem;
}
.page-header .page-description .btn-icon {
    right: 0;
}
.page-header .page-description .btn:hover .btn-icon {
    transform: rotate(90deg) translateX(3px);
}

.header-section {
    padding: 0 2rem;
    max-width: 1600px;
    margin: auto;
}

.header-section .col-left { 
    padding-bottom: 30vh;
    padding-right: 30px;
}

.header-section .col-right {
    padding-top: 30vh;
    padding-left: 30px;
}

.header-section .col-center {
    background-size: cover;
    background-position: center;
}



.homepage .builder-row h2 {
    font-size: 3.8rem;
}

.icon-title {
    display: inline-block;
    position: relative;
    padding-left: 2rem;
    padding-top: 2rem;
}

.icon-title:before {
    background: url('../res/giraffe.svg') no-repeat center;
    background-size: contain;
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 15px;
    height: 66px;
}

.section-description.right {
    padding: 0 4rem 0 2rem;
}
.section-description.left {
    padding: 0 2rem 0 4rem;
}


.ag-item-container {
    position: relative;
}

.hover-effect {
    padding-top: 30px;
}

.hover-effect .ag-item {
    text-align: center;
}

.hover-effect .ag-item .ag-item-image {
    position: relative;
    z-index: 2;
    transition: .4s;
    height: 350px;
}

.hover-effect .ag-item .ag-item-image figure {
    /* background-size: 145%;
    background-position-y: 50%; */

    background-size: cover;

    background-repeat: no-repeat;
    margin: 0;
    transition: .4s;
}

.hover-effect .ag-item .ag-item-content {
    position: absolute;
    width: 100%;
    bottom: 0;
    transition: .4s;
}

.hover-effect .ag-item:hover .ag-item-content {
   bottom: -72px;
}
.hover-effect .ag-item:hover .ag-item-image figure {
    transform: translateY(-30px);
    background-position-y: calc(50% + 30px);
    /* height: calc(100% + 40px); */
}

.clients-logos {
    text-align: center;
}

.clients-logos img {
    padding: 0 2em 1em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 0;

}
.form-groups {
    /* padding: 2rem; */
    /* background: #ddd; */
}
.form-group {
    border-bottom: 1px solid #808080;
    /* margin-bottom: 0; */
}
.form-group input {
    padding: .5rem;
}
.form-submit {
    margin-top: .25rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item svg {
    width: 2rem;
} 


.value-item {
    position: relative;
}

.value-item-head {
    display: inline-block;
    position: relative;
}

.value-item-head h4 {
    font-size: 18px;
    color: #4d4d4d;
    letter-spacing: normal;
    display: inline-block;
    width: 140px;
    height: 140px;
    line-height: 145px;
    position: relative;
}

.value-item-head svg {
    position: absolute;
    width: 140px;
    height: 140px;
    left: 0;
    top: 5px;
}



.value-item-head svg path {
    transform-origin: center;
}

.flip-item {
    position: relative;
}

.flip-item-content {
    position: relative;
    margin: -100px auto 0 auto;
    width: calc(100% - 4rem);

}

.flip {
    position: relative;
    perspective: 1000px;
    height: 240px;
}

.flip-item-front,
.flip-item-back {
    display: flex;
    position: absolute;
    transition: all .6s ease-in-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
}
.flip-item-front {
    background: #1a1a17;
    color: #fff;
    z-index: 1;
}
.flip-item-back {
    transform: rotateX(-180deg) rotateY(0);
    background: #eee;
}
.flip-item:hover .flip-item-front {
    transform: rotateX(180deg) rotateY(0);
}
.flip-item:hover .flip-item-back {
    transform: none;
}
.flip-item-inside {
    align-self: center;
    width: 100%;
    text-align: center;
    padding: 2rem;
}


.projects-header-section {
    padding-top: 200px;
}
.col-details-text {
    z-index: 2;
}

.textimg .col-details-text {
    text-align: right;
    /* margin-right: -16rem; */
    padding-right: 0;
}
.textimg .col-details-img {
    padding-left: 0;
}

.imgtext .col-details-text {
    /* margin-left: -16rem; */
    padding-left: 0;
}
.imgtext .col-details-img {
    padding-right: 0;
}

.project-details-content {
    background: #fff;
    padding: 2rem;
    max-width: 480px;
}
.textimg .project-details-content {
    margin-left: auto;
}

.project-categories .col-category {
    padding-right: 1rem;

}
.project-categories .col-category h6,
.h-small {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
}

.gallery-item {
    position: relative;
    max-height: 200px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a17;
    opacity: 0.5;
    pointer-events: none;
    transition: .3s;
}

.gallery-item:hover .overlay {
    opacity: 0;
}

.gallery-item img {
    object-fit: cover;
}

.list li {
    position: relative;
    list-style: none;
    padding-left: 1.5rem;
}
.list li:before {
    display: block;
    position: absolute;
    content: '';
    background: #1a1a17;
    width: .75rem;
    height: 1px;
    left:0;
    top: 50%;
    border-radius: 0;
    transition: .3s;
}
.list li:hover:before {
    width: .25rem;
    left: .25rem;
}


.row-testimonials {
    padding-top: 2rem;
}
.testimonial-title {
    position: relative;
}
.testimonial-quotes {
    display: block;
    font-size: 4rem;
    font-weight: 600;
    font-family: serif;
    line-height: 1rem;
    transform: rotate(180deg);
    color: #9d9d8a;
}


.homepage-contact-form {
    padding: 2rem;
    background: rgba(0,0,0,0.5);
    color: #fff;
}
.homepage-contact-form input,
.homepage-contact-form select,
.homepage-contact-form textarea {
    color: #fff;
    background: transparent;
}

.player-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    background: rgba(0,0,0,0.5);
    z-index: 100;
    transition: .7s;
}

.player-wrapper.opened {
    transform: none;
}

.player-inner {
    position: relative;
    height: 100%;
}

.player-inner .row {
    height: 100%;
}

.close-player,
.play-trigger {
    position: absolute;
    width: 4rem;
    height: 4rem;
    transition: .5s;
    cursor: pointer;
}

.close-player {
    top: 1rem;
    right: 50%;
    margin-right: -2rem;
    z-index: 5;
}
.play-trigger {
    top: 50%;
    left: 50%;
    margin-top: -2rem;
    margin-left: -2rem;
}

.video-item-inner {
    position: relative;
}
.video-play {
    position: absolute;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

.video-item:hover .play-trigger,
.close-player:hover {
    transform: rotate(360deg);
}

.video-receiver {
    position: relative;
    padding-bottom: 56%;
    height: 0;
}

.video-receiver iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}


@media(min-width: 992px){

    .row-links-case-modulare .col-lg-12 {
        flex-basis: 25%;
        max-width: 25%;
    }
}

.row-links-case-modulare {
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 50px;
}

.row-links-case-modulare a {
    display: block;
    position: relative;
    padding: 15px 45px 15px 15px;
    cursor: pointer;
    transition: .5s;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 700;
}
.row-links-case-modulare a:after {
    content: url('/res/icons/right.svg');
    position: absolute;
    right: 16px;
    top: 16px;
}
.row-links-case-modulare a:hover {
    color: #5e5e21;
    background: #eee;
}



.row-ag-accordion {
    padding-left: 2em;
    padding-right: 2em;
    max-width: 1200px;
    margin: auto;
}

.ag-accordion-element {
    margin-bottom: 30px;
}

.ag-accordion-title {
    position: relative;
    padding: 15px 45px 15px 15px;
    cursor: pointer;
    transition: .5s;
}
.ag-accordion-title:hover,
.ag-accordion-element-opened .ag-accordion-title {
    color: #5e5e21;
    background: #eee;
}

.ag-accordion-title:before,
.ag-accordion-title:after{
    content: '';
    position: absolute;
    width: 15px;
    height: 1px;
    display: block;
    background: #1a1a17;
    transition: .5s;
    top: 25px;
    right: 15px;
}

.ag-accordion-title:after{
    transform: rotate(90deg);
}

.ag-accordion-element-opened .ag-accordion-title:after{
    transform: rotate(360deg);
}

.ag-accordion-title:hover:before,
.ag-accordion-title:hover:after,
.ag-accordion-element-opened .ag-accordion-title:before,
.ag-accordion-element-opened .ag-accordion-title:after {
    background-color: #5e5e21;
}

.ag-accordion-title > * {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.ag-accordion-content {
    margin-top: 15px;
    padding: 0 15px 15px;
}

.ag-accordion-element {

    border: 1px solid #eee;
}

/* .ag-accordion-element:nth-child(2n+1){
    background: #eee;
} */
#case-modulare-accordion-additional-content {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
#case-modulare-accordion-additional-content figure{
    width: 100%;
    height: 190px;
    max-width: 300px;
    margin-bottom: 30px;
}
#case-modulare-accordion-additional-content figure:nth-child(2n+1){
    margin-left: auto;
}




@media (max-width: 1750px) and (min-width: 992px) {

    .menu-opened .header-logo, .menu-opened .header-logo-background {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 1366px) and (min-width: 992px) {
    .header-logo, .header-logo-background {
        width: 238px;
        left: calc(50% - 119px);
    }
    .intro-played .header-logo,
    .intro-played .header-logo-background {
        transition: .25s;
    }
    
}

@media (max-width: 991px) {
    body.menu-opened {
        max-height: 100vh;
        overflow-y: hidden;
    }
    .menu-opened .header-logo-small {
        opacity: 1;
        pointer-events: all;
    }
    .header-fixed .header-left {
        padding-left: 0;
    }

    .header-section {
        padding: 0;
    }

    .header-section .col-left,
    .header-section .col-right {
        padding: 2rem;
    }
    .header-section .col-left {
        padding-top: calc(2rem + 53px);
    }

    .header-logo,
    .header-logo-background {
        position: absolute;
        width: 137px;
        height: 81px;
        top: 0;
        left: 1rem;
    }

    .header-trigger {
        top: 1rem;
        right: 1rem;
    }
    .header-logo-small {
        display: none;
        top: 14px;
        left: -47px;
    }

    .page-header .page-description h1, .page-header .page-description h2 {
        font-size: 2rem;
    }

    .header-inside {
        height: 100vh;
        padding: 2rem;
    }
    .header-inside > .row {
        flex-direction: column;
    }
    .header-inside > .row .col1,
    .header-inside > .row .col2 {
        width: 100%;
    }
    .header-inside .nav {
        flex-direction: column;
    }
    .header-inside .header-left .nav li {
        margin-right: 0;
        margin-bottom: 1.25rem;
    }
    .header-right .col1, .header-right .col2 {
        margin-bottom: 1rem;
    }

    .section-description.right,
    .section-description.left {
        padding: 1rem;
    }

    .sub-menu {
        position: relative;
        width: 100%;
        top: auto;
        left: auto;
        margin: 1.5rem 0 1rem 0 !important;
        padding: 1rem;
    }
    .sub-menu li:last-child {
        margin-bottom: 0 !important;
    }

    .hover-effect .ag-item .ag-item-image figure {
        transform: none !important;
    }
    .hover-effect .ag-item .ag-item-content {
        position: relative;
        margin-top: 1rem;
        bottom: auto !important;
    }

    .clients-logos {
        font-size: 0;
    }
    .clients-logos img {
        width: 41%;
        padding: 1rem;
        background: #eee;
    }

    .production-section {   
        padding-top: 38px !important;
    }
    .production-section .height-75vh {
        height: auto;
    }
    
    .projects-header-section {
        padding: 0;
    }

    .projects-header-section + .builder-row {
        padding-top: 0;
    }

    .project-header {
        padding-top: 67px;
    }

    .project-description {
        padding: 1rem 2rem 2rem;
    }

    .row-contact-form {
        height: auto;
    }
    #case-modulare-accordion-additional-content {
        flex-basis: 100%;
        max-width: 100%;
    }
    #case-modulare-accordion {
        padding-bottom: 0;
        padding-top: 0;
    }
    #case-modulare-accordion-additional-content figure:last-child{
        margin-bottom: 0;
    }
    .row-ag-accordion {
        padding-left: 0;
        padding-right: 0;
    }
}



.header-click-to-call {
    position: fixed;
    right: 80px;
    top: 30px;
}
.header-click-to-call a{
    display: block;
    position: relative;
    padding: 5px;
    background: #fff;
    transition: .4s;
}
.header-click-to-call a:hover,
.menu-opened .header-click-to-call a{
    background-color: #1a1a17;
}
.header-click-to-call a svg {
    padding: 3px;
}
.header-click-to-call a svg,
.header-click-to-call a svg *{
    transition: .4s;
    fill: #1a1a17;
}
.header-click-to-call a:hover svg,
.header-click-to-call a:hover svg *,
.menu-opened .header-click-to-call a svg,
.menu-opened .header-click-to-call a svg *{
    fill: #fff;
}
@media (max-width: 991px){
    .header-click-to-call {
        right: 60px;
        top: 15px;
    }
}


.row-question {
    padding-top: 200px;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}
.row-question img {
    max-width: 100%;
}
.row-question .col-lg-6 {
    align-self: center;
}

.row-modele-case .ag-item-image {
    min-height: 450px;
}
.row-modele-case .ag-item-image figure {
    height: 100%;
}

.row-case-prefabricate .col-lg-6 .section-description {
    max-width: 700px;
}
@media (max-width: 991px) {
    .row-case-prefabricate .col-lg-6:last-of-type .section-description {
        padding-left: 10px;
        padding-right: 10px;
    }
}