/* WRITE YOUR CUSTOM CSS CODE. THIS WILL NOT BE DELETED ON UPDATE. */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6000;
    background: rgba(255,255,255,0.97);
}
.loading-box {
  width: 300px;
  height: 300px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-container {
    height: 15px;
    width: 105px;
    display: flex;
    position: relative;
}

.loading-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #363636;
    animation: move 500ms linear 0ms infinite;
    margin-right: 30px;
}

.loading-circle:first-child {
    position: absolute;
    top:0;
    left:0;
    animation: grow 500ms linear 0ms infinite;
}
    
.loading-circle:last-child {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 0;
    animation: grow 500ms linear 0s infinite reverse;
}
  
@keyframes grow {
  from {transform: scale(0,0); opacity: 0;}
  to {transform: scale(1,1); opacity: 1;}
}

@keyframes move {
  from {transform: translateX(0px)}
  to {transform: translateX(45px)}
}

#lightbox {
    position: fixed;;
    top: 50% !important;
    transform: translateY(-50%);
}

#cookie_notice {
    display: none;
}

.main-content .container-fluid {
    padding: 0;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1340px;
    }
}

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1540px;
    }
}

.ba-slider {
 position:relative;
 overflow:hidden
}
.ba-slider img {
 width:100%;
 display:block;
 max-width:none
}
.ba-slider .resize {
 position:absolute;
 top:0;
 left:0;
 height:100%;
 width:62%;
 overflow:hidden;
 z-index:1;
 transition: width .3s;
}
.ba-slider .resize.resizable {
    transition: 0s;
}
.ba-slider .handle {
 position:absolute;
 left:62%;
 top:0;
 bottom:0;
 width:2px;
 margin-left:-2px;
 background:#fff;
 cursor:pointer;
 z-index:2;
 transition: left .3s;
}
.ba-slider .handle.draggable {
    transition: 0s;
}
.ba-slider .handle:after {
 position:absolute;
 /* top:50%; */
 top: 70px;
 margin-left: -19px;
 content:url(../img/resize.svg);
 transition:all .3s ease;
 padding: 4px 5px 3px 4px;
 /* background: rgba(0,0,0,0.25); */
 line-height: 1;
}
.ba-slider .handle:hover:after {
    /* background: rgba(0,0,0,0.75); */
}
.ba-slider .handle.ba-draggable:after {
 width:48px;
 height:48px;
 margin:-24px 0 0 -24px;
 line-height:50px;
 font-size:30px;
}

html {
    font-size: 15px;
}


body {
    font-family: 'Roboto', sans-serif;
     /*font-family: 'Bebas Neue', cursive; */
     /*font-family: 'Gruppo', cursive; */
    font-weight: 300;
    line-height: 1.6;
    color: #363636;
    font-size: 1.3rem;
}

main {
                    /*window height - header height if not fixed - footer height*/    
    min-height: calc(100vh          - 0px                        - 220px);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.max-width {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

ul {
    list-style: square;
    padding-left: 15px;;
}

a {
    transition: .2s;
}

a, .accent {
    color: #CE1D3f;
}

a:hover {
    text-decoration: none;
    color: #e9ae55;
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    min-width: 250px;
    box-shadow: none !important;
    border: 1px solid #363636;
    color: #363636;
}
.btn:hover,
.dark-mode .btn:hover {
    color: #CE1D3f;
    border-color: #CE1D3f;
}


.btn.btn-primary {
    background-color: #CE1D3f;
    border-color: #CE1D3f;
    color: #fff;
}
.btn.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle,
.btn-primary:focus, .btn-primary.focus {
    background-color: #e9ae55;
    border-color: #e9ae55;
    color: #fff;
}



.btn-initial {
    position: relative;
    overflow: hidden;
}

.btn-initial:hover {
    border-color: transparent;
}

.btn-initial:before,
.btn-initial:after {
    content: '';
    display: block;
    position: absolute;
    transition: .2s;
}

.btn-initial:before {
    background: #f4ebdd;
    bottom: 0;
    left: 0;
    height: 0%;
    width: calc(62% - 1px);
}

.btn-initial:after {
    background: #e6e5e5;
    top: 0;
    right: 0;
    height: 0;
    width: calc(38% - 0px);
}

.btn-initial:hover:before {
    height: 100%;
}

.btn-initial:hover:after {
    height: 100%;
}

.btn-initial span {
    position: relative;
    z-index: 3;
    transition: .2s;
}

.btn-initial:hover span {
    color: #000;
}   



header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    z-index: 5000;
    transition: .5s;
}

.scrolled-down header {
    background-color: rgba(255,255,255,0.98);
    box-shadow: 0 0 1px rgba(0,0,0,0.2);
}

.not-scrolled-down header {
    padding-top: calc(1rem + 10px);
}

.container-header {
    display: flex;
    position: relative;
    justify-content: space-between;
}

.header-part {
    align-self: center;
}

.logo-box {
    display: inline-block;
    position: relative;
}

.logo-img {
    display: inline-block;
    position: relative;
    height: 105px;
    transition: .5s;
}

.not-scrolled-down .logo-img {
    transform: translateY(-10px);
}

.scrolled-down .logo-img {
    height: 50px;
}

.logo-img img {
    height: 100%;
    width: auto;
}

.logo-white {
    position: absolute;
    top: 0;
    left: 0;
    transition: .5s;
}

/* .scrolled-down .logo-white {
    opacity: 0;
} */

body:not(.scrolled-down) .logo-img img {
    /* filter: brightness(2); */
}

.logo-text {
    position: absolute;
    bottom: 25px;
    left: 71px;
    text-align: center;
    font-size: 17px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    transition: .5s;
}

.scrolled-down .logo-text {
    color: inherit;
    opacity: 0;
}

.header-part-links {
    display: flex;
}

.header-part a {
    font-size: 1rem;
}

.not-scrolled-down .header-part a {
    color: #fff;
}

.scrolled-down .header-part a {
    color: #363636;
}
.scrolled-down .header-part a:hover,
.scrolled-down .header-part .active a {
    color: #CE1D3f;
}

/* .header-part-logo {
    min-width: 215px;
} */

.header-part-links ul li {
    position: relative;
    margin-right: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-part-links ul li:last-child {
    margin-right: 0;
}

.header-part-links ul {
    flex-direction: row;
    margin-right: 3rem;
}

.header-part a:last-child {
    margin-right: 0;
}

.header-part-links a:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0;
    transform: scaleX(0);
    transform-origin: center;
    height: 1px;
    width: 100%;
    background: #fff;
    transition: .5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.header-part-links a:hover:after {
    transform: scaleX(1);
}

.scrolled-down .header-part-links a:after {
    background-color: #CE1D3f;
}

.menu-full-contact {
    display: flex;
    align-items: center;
}

.menu-full-contact a {
    display: flex;
    align-items: center;
    position: relative;
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: 5px 20px;
    white-space: nowrap;
}

body.scrolled-down .menu-full-contact a {
    border: 1px solid #CE1D3f;
}

.menu-full-contact a:last-child {
    margin-right: 0;
    background: #fff;
}

body.scrolled-down .menu-full-contact a:last-child {
    background: #CE1D3f;
    color: #fff !important;
}

.menu-full-contact a i {
    margin-right: 10px;
}

.social-links {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    mix-blend-mode: difference;
}

.social-links a {
    font-size: 20px;
    margin-bottom: 1rem;
}

.social-links a i {
    vertical-align: middle;
    color: #fff;
}

.social-links a .fa-envelope-o {
    font-size: 19px;
}


.menu-trigger {
    background: rgba(54, 54, 54, 0.44);
    color: #363636;
    padding: 10px 15px;
    cursor: pointer;
    overflow: hidden;
    transition: .2s;
}

.not-scrolled-down .menu-trigger {
    color: #fff;
}

.menu-trigger:hover {
    background: rgba(54, 54, 54, 0.74);
}

.menu-trigger-text {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-right: 10px;
}

.menu-trigger-icon {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 40px;
    height: 15px;
}

.menu-trigger-icon-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #363636;
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.not-scrolled-down .menu-trigger-icon-line {
    background: #fff;
}

.menu-trigger-icon-line-1 {
    top: 0;
}

.menu-trigger-icon-line-2 {
    top: 7px;
}

.menu-trigger-icon-line-3 {
    top: 14px;
}

.show-full-menu .menu-trigger-icon-line-1 {
    transform: rotate(-45deg) translateY(9px);
    width: 20px;
}

.show-full-menu .menu-trigger-icon-line-2 {
    transform: translateX(55px);
}

.show-full-menu .menu-trigger-icon-line-3 {
    transform: rotate(45deg) translateY(-9px);
    width: 20px;
}

/* a:hover .fa-facebook {
    color: #4064ac;
} 

a:hover .fa-instagram {
    color: #e1306c;
}

a:hover .fa-linkedin {
    color: #2867b2;
}

a:hover .fa-whatsapp {
    color: #00e676;
}

a:hover .fa-envelope-o {
    color: #CE1D3f;
} */

.header-part-small-text,
a.header-part-small-text {
    font-size: 9px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;    
}

.scrolled-down .header-part-small-text {
    color: #363636;
}

.scrolled-down .header-part-small-text svg {
    fill: #363636;
}

.language-switcher-box {
    line-height: 1;
}

.current-language-item svg {
    transition: .2s;
}

.current-language-item:hover .current-language-item-icon svg {
    fill: #CE1D3f;
}

.current-language-item {
    display: inline-block;
    padding: 5px;
    position: relative;
    cursor: pointer;
}

.current-language-item-text,
.current-language-item-icon{
    display: inline-block;
    vertical-align: middle;
}

.other-languages {
    position: absolute;
    transition: .2s;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
.current-language-item:hover .other-languages {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}
.other-languages a {
    display: block;
    color: #CE1D3f !important;
    text-decoration: underline;
    padding: 10px 0;
}
.other-languages a:hover {
    opacity: 0.7;
}

.theme-switcher-box-info {
    display: inline-block;
    vertical-align: middle;
   
}


.scrolled-down .theme-switcher-box-info {
    color: #363636;
}

.theme-switch-btn {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 43px;
    height: 23px;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
}
.theme-switch-btn-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #363636;
    opacity: 0.7;
    transition: .3s;
}

.theme-switch-btn:hover .theme-switch-btn-bg {
    opacity: 1;
}

.theme-switch-btn-sw {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    height: 19px;
    width: 19px;
    top: 2px;
    left: 2px;
    box-shadow: -1px 1px 2px rgba(0,0,0,0.5);
    transition: .3s;
}


.dark-mode .theme-switch-btn-bg {
    background-color: #CE1D3f;
    opacity: 1;
}

.dark-mode .theme-switch-btn-sw {
    left: 22px;
}

.theme-switcher-icon-btn {
    background: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
    position: relative;
    display: block;
    font-size: 20px;
    line-height: 20px;
    width: 20px;
    height: 20px;
}
.theme-switcher-icon-btn svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.theme-switcher-box-with-icons svg {
    fill: #fff; 
    transition: .3s;
}
.scrolled-down .theme-switcher-box-with-icons svg {
    fill: #363636; 
}
.dark-mode .theme-switcher-box-with-icons svg {
    fill: #fff;
}
.theme-switcher-box-with-icons svg.svg-dark {
    opacity: 0;
}
.dark-mode .theme-switcher-box-with-icons svg.svg-light {
    fill: #fff;
    opacity: 0;
}
.dark-mode .theme-switcher-box-with-icons svg.svg-dark {
    opacity: 1;
}

.theme-switcher-icon-btn:hover svg {
    fill: #CE1D3f !important;
}


.theme-switcher-icon-btn:hover svg.svg-light {
    opacity: 0;
}

.theme-switcher-icon-btn:hover svg.svg-dark {
    opacity: 0.5;
}

.dark-mode .theme-switcher-icon-btn:hover svg.svg-light {
    opacity: 0.5;
}

.dark-mode .theme-switcher-icon-btn:hover svg.svg-dark {
    opacity: 0;
}



.menu-full {
    position: fixed;
    background: rgba(54, 54, 54, 1);
    z-index: 4999;
    padding: 45px;
    top: 80px;
    width: 100%;
    left: 0%;
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    pointer-events: none;
}

.show-full-menu .menu-full {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}


.menu-full .nav-item-level-1 > a {
    display: inline-block;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* font-weight: 700; */
}
.menu-full .nav-item-level-1 > a:hover {
    color: #CE1D3f;
}

.menu-full-additional-links {
    position: relative;
    padding-top: 45px;
    margin-top: 45px;
}

.menu-full-additional-links:before {
    content: '';
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 45px;
}

.menu-full-additional-links p {
    margin: 0;
}

.menu-full-additional-links a {
    color: #fff;
}

.menu-full-additional-links a:hover {
    color: #CE1D3f;
}


.page-header #slick-slide05 {
    background-position: bottom;
}

.page-header {
    position: relative;
    overflow: hidden;
    padding-top: 115px;
    color: #fff;
}

.page-header .page-header-inner > .container > .row {
    min-height: 150px;
}

.page-header .page-header-inner > .container > .row > .col-12 {
    align-self: center;
}

.page-header-background {
    position: absolute;
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.page-header-background:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, rgba(0,0,0,0.7) 28%, rgba(0,0,0,0) 90%); */
    background: linear-gradient(90deg, rgba(0,0,0,1) 28%, rgba(0,0,0,0) 90%);
}


.page-slider.slick-slider {
    margin-bottom: 0;
    
}

.page-slide-inner:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, rgba(0,0,0,0.7) 28%, rgba(0,0,0,0) 90%); */
    /* background: linear-gradient(180deg, rgba(0,0,0,0.5) 5%, rgba(0,0,0,0) 20%); */
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 5%, rgb(0 0 0 / 39%) 80%);
}

.page-slide {
    background-size: cover;
    background-position: center;
}

.page-slide-inner {
    display: flex;
    position: relative;
    height: 100vh;
}

.container-page-slide {
    align-self: center;
    z-index: 2;
}

.page-slide-content {
    max-width: 480px;
}

.page-slide-title,
.page-slide-title > *,
.page-slide-description {
    color: #fff;
}

.gallery-page .gallery-first-item img {
    object-fit: contain;
}

.page-header .btn {
    border: 1px solid #fff;
    color: #fff;
    background: rgba(0,0,0,0.2);
}

.page-header .btn:hover {
    background: rgba(0,0,0,0.5);
}

.page-slide-title h1,
.page-description h1,
.page-slide-title h2,
.page-description h2 {
    font-size: calc(1.1vw + 30px);
}

.container-page-slider-dots {
    position: relative;
}


.page-slider-dots {
    position: relative;
    z-index: 2;
    margin-top: -50px;
    margin-bottom: 0;
}

.page-slider-dots .slick-dots {
    position: static;
    text-align: left;
}

.slick-dots li {
    width: auto;
    height: auto;
    margin: 0 6px;
}

.slick-dots li button {
    width: 20px;
    height: 1px;
    padding: 10px;
}

.slick-dots li button:before {
    content: '';
    width: 20px;
    height: 1px;
    top: 10px;
    background: #363636;
}

.page-header .slick-dots li button:before {
    background: #fff;
}

.page-header-with-slider {
    padding-bottom: 73px;
    padding-top: 0;
}

.page-slide-title, .page-slide-description, .page-slide-cta {
    transition: 1.5s ease-out;
}

.slick-slide:not(.slick-active) .page-slide-title {
    opacity: 0;
    transform: translateY(-90px);
}

.slick-slide:not(.slick-active) .page-slide-description {
    opacity: 0;
    transform: translateX(-135px);
}

.slick-slide:not(.slick-active) .page-slide-cta {
    opacity: 0;
    transform: translateY(90px);
}

.row.restraint {
    margin-left: -60px;
    margin-right: -60px;
    padding-left: 60px;
    padding-right: 60px;
}

.row.restraint > * {
    padding-left: 60px;
    padding-right: 60px;
}

.title-side h1, .title-side h2, .title-side h3 {
    line-height: 1.1;
}

.col-counters {
    display: flex;
    justify-content: space-between;
}

.fickle-counter {
    display: inline-block;
    vertical-align: top;
    margin-right: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 130px;
    padding: 1rem;

}

.fickle-counter .fickle-text-content {
    line-height: 1.2;
    min-height: 40px;
}

.fickle-counter .fickle-text-content p {
    margin-bottom: 0;
}

.fickle-counter .fickle-title {
    font-size: 35px;
}

.fickle-counter i {
    font-size: 17px;
}

.fickle-counter .fickle-image {
    width: 75px;
    height: 75px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.fickle-counter img {
    max-width: 75px;
    max-height: 75px;
    object-fit: contain;
}



.fickle-project-item {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-left: 1rem;
    margin-right: 1rem;
    min-width: 50vw;
}

.fickle-project-item .fickle-header,
.fickle-project-item .fickle-content {
    position: relative;
    z-index: 3;
}

.fickle-project-item::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.fickle-project-item .fickle-title a {
    color: #fff;
}

.fickle-project-item .fickle-additional-html-code {
    margin-top: 350px;
}

.fickle-project-item .fickle-additional-html-code .row .col p:first-child {
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 13px;
}

.fickle-project-item .fickle-icon {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.fickle-project-item .fickle-icon i {
    color: #fff;
    transform: rotate(-45deg);
}

.fickle-project-item .fickle-icon i:before {
    display: block;
    content: url('/img/arrow.svg');
    width: 25px;
}


.form-inline .form-group {
    margin-bottom: 2rem;
}

.form-inline .form-group label {
    display: inline-block;
    font-weight: 600;
}

.form-inline .acceptance label {
    font-weight: inherit;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
}

.form-inline textarea {
    height: calc(1.5em + 0.75rem + 2px);
}

.form-control {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #363636;
    background-color: transparent;
    background-clip: padding-box;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #363636;
    border-left: 0;
    border-radius: 0;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: #CE1D3f;
    color: #363636;
    background-color: transparent;
}

.item-acceptance {
    margin: 1rem 0 !important;
}

.item-acceptance + .form-group {
    margin-bottom: 0;
}


.container .c-form .container {
    padding-left: 0;
    padding-right: 0;
}

.map iframe {
    filter: grayscale(100%);
}



.fickle-contact-item {
    margin-bottom: 30px;
}

.fickle-contact-item .fickle-image {
    width: 35px;
    margin-right: 5px;
}

.fickle-contact-item .fickle-image img {
    max-height: 40px;
}

.fickle-contact-item .fickle-title a {
    font-size: 1.2rem;
    letter-spacing: 0.035rem;
}



footer {
    background: #363636;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu a {
    color:  #efeff1;
}

.footer-social-item {
    display: inline-block;
}

.footer-social-item a {
    font-size: 25px;
    color: #efeff1;
    margin-right: 1rem;
}

@media (min-width: 992px) {
    .row-footer .col-lg-3 {
        flex-basis: 20.6%;
        max-width: 20.6%;
    }
    .row-footer .col-lg-3:first-child {
        flex-basis: 38%;
        max-width: 38%;
    }
}


.acceptance input {
    min-width: unset !important;
}



.trigger-lista-proiecte {
    cursor: pointer;
}

.services_fickle .fickle-item.fickle-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: #CE1D3f;
    transition: .3s;
}
.services_fickle:hover .fickle-item.fickle-title {
    box-shadow: -2px 2px 5px rgba(0,0,0,0.5);
}

.services_fickle .fickle-item.fickle-title .fickle-title {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.services_fickle .fickle-item.fickle-title .fickle-title a {
    margin: 0;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.services_fickle img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.item-lista-proiecte {
    cursor: pointer;
    margin-bottom: 30px;
}

.item-lista-proiecte .card {
    background: transparent;
    border: 0;
}

.item-lista-proiecte .card-body {
    padding: 0;
}

.item-lista-proiecte img {
    height: 200px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(1px 3px 4px rgba(0,0,0,0.4));
}

.item-lista-proiecte .card-title {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    padding: .5rem;
    background: rgba(232, 232, 232, 0.85);
    color: #CE1D3f;
    transform: rotate(-2deg);
    transition: .4s;
}

.item-lista-proiecte:hover .card-title {
    transform: rotate(0deg);
}


.b-lightbox-background {
    background: rgba(255,255,255,0.95);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    transition: 0.5s ease-out;
}
.b-lightbox-opened .b-lightbox-background {
    height: 100%;
}

.b-lightbox {
    position: fixed;
    z-index: 6000;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    visibility: hidden;
}
.b-lightbox.b-lightbox-opened {
    pointer-events: auto;
    visibility: visible;
}

.b-lightbox-inner {
    display: flex;
    position: relative;
    align-items: center;
    height: 100%;
    padding: 90px;
}

.b-lightbox-close {
    position: absolute;
    top: 45px;
    right: -45px;
    transition: 1s cubic-bezier(.68,-0.55,.27,1.55);
}
.b-lightbox-opened .b-lightbox-close {
    right: 45px;
}

.btn-lightbox-close {
  background: none;
  border: 0;
  box-sizing: border-box;
  color: transparent;
  cursor: pointer;
  font-size: 8px;
  font-weight: 600;
  left: 50%;
  letter-spacing: 0px;
  line-height: 10px;
  outline: none;
  overflow: hidden;
  padding: 4px 0 0;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s cubic-bezier(.23,1,.32,1);
  width: 45px;
  height: 45px;
  outline: 0 !important;
  border: 0 !important;
}

.btn-lightbox-close::before,
.btn-lightbox-close::after {
  background-color: #363636;
  content: '';
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  transform-origin: center left;
  transition: all 0.5s cubic-bezier(.23,1,.32,1);
  width: 141.4214px;
  z-index: -1;
}

.btn-lightbox-close::before {
  top: 0;
  transform: rotate(45deg);
}

.btn-lightbox-close::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.btn-lightbox-close:hover {
  color: #fff;
}

.btn-lightbox-close:hover::before,
.btn-lightbox-close:hover::after {
  height: 50px;
  transform: rotate(0deg);
}

.b-lightbox-arrow {
    position: absolute;
    bottom: 45px;
}

.btn-lightbox-arrow {
    padding: 0;
    appearance: none;
    position: relative;
    background: 0;
    border: 0;
    outline: 0;
    height: 45px;
    width: 45px;
    outline: 0 !important;
    border: 0 !important;
    transition: .2s;
}
.btn-lightbox-arrow:hover {
    background: #363636;
}
.b-lightbox-arrow-prev {
    left: 23px;
    right: auto;
}

.b-lightbox-arrow-next {
    right: 23px;
    left: auto;
}

.btn-lightbox-arrow:before,
.btn-lightbox-arrow:after {
    content: '';
    display: block;
    position: absolute;
    height: 1px;
    width: 45px;
    background: #363636;
    transition: .2s;
}


.b-lightbox-arrow-prev .btn-lightbox-arrow:before,
.b-lightbox-arrow-next .btn-lightbox-arrow:after {
    transform-origin: left;
}

.b-lightbox-arrow-prev .btn-lightbox-arrow:before {
    transform: rotate(-45deg);
    transform-origin: top left;
}

.b-lightbox-arrow-prev .btn-lightbox-arrow:after {
    transform: rotate(45deg);
    transform-origin: bottom left;
}

.b-lightbox-arrow-next .btn-lightbox-arrow:before,
.b-lightbox-arrow-next .btn-lightbox-arrow:after {
    transform-origin: right;
}

.b-lightbox-arrow-next .btn-lightbox-arrow:before {
    transform: rotate(45deg);
    transform-origin: top right;
}

.b-lightbox-arrow-next .btn-lightbox-arrow:after {
    transform: rotate(-45deg);
    transform-origin: bottom right;
}


.btn-lightbox-arrow i {
    position: absolute;
    opacity: 0;
    top: 16px;
    left: 20px;
    transition: .2s;
    color: #fff;
}
.btn-lightbox-arrow-prev .btn-lightbox-arrow i {
    left: 16px;
}

.btn-lightbox-arrow:hover i {
    opacity: 1;
}
.btn-lightbox-arrow:hover:before,
.btn-lightbox-arrow:hover:after {
    width: 30px;
}


.b-lightbox-content-receiver {
    position: relative;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50px);
    transition: 1s cubic-bezier(.22,.61,.36,1);
}

.b-lightbox-content-receiver.b-lightbox-content-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0px);
}

.imagine-detalii-box {
}

.imagine-detalii-box img {
    max-height: 100vh;
    width:auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.module-gallery figure {
    position: relative;
    margin-bottom: 0;
}

.module-gallery figure:not(.gallery-first-item ) {
    display: none;
}

.module-gallery figure:after {
    content :'';
    position: absolute;
    top: -1%;
    left: -1%;
    width: 102%;
    height: 102%;
    background: #fff;
    transform: scaleY(0);
    transform-origin: top;
    transition: .6s cubic-bezier(.42,0,.33,.72)
}
.module-gallery figure.changing:after {
    transform: scaleY(1);
}

.gallery-first-item img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    margin: 5vh 0;
}

.gallery-rest-of-items {
    position: relative;
    /* margin: 5px 0; */
    /* margin-top: -50px; */
    z-index: 5;
}

.gallery-rest-of-items figure {
    display: inline-block;
    padding-right: 5px;
    box-shadow: -6px -5px 6px rgba(0,0,0,0.5);
    filter: grayscale(100%);
    transition: .3s ease-out;
}

.gallery-rest-of-items figure:hover {
    transform: none !important;
    filter: grayscale(0%);
    opacity: 1;
}

.gallery-rest-of-items figure:last-child {
    padding-right: 0;
}

.gallery-rest-of-items img {
    object-fit: cover;
    width: 120px;
    max-height: 82px;
}
.lb-nav a {
    opacity: 1 !important;
}

.module-gallery-stop {
    position: absolute;
    top: 1rem;
    right: 2rem;
    z-index: 2;
    transition: .6s ease;
}
.btn.btn-gallery-stop {
    min-width: 0;
    padding: .5em;
    line-height: 1;
    color: #000 !important;
    border-color: #000 !important;
}

.autoplay-stopped .module-gallery-stop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.btn.btn-gallery-stop:hover {
    background: #fff;
}


/* .en .item-lista-proiecte .card-title { display: none; } */


.apply-boxes {
    position: relative;
}

.box-applied {
    position: absolute;
    height: 22.6%;
    width: 20%;
    background: #fff;
    /* box-shadow: -2px 3px 10px rgba(0,0,0,0.25); */
    opacity: 0.25;
    z-index: 7;
    pointer-events: none;
}

.box-applied-1 {
    top: 0;
    right: 1rem;
    width: 68%;
}

.box-applied-2 {
    top: 22.6%;
    left: -2rem;
    width: 32%;
    /* box-shadow: 3px 2px 12px 18px rgba(0,0,0,0.2); */
}

.box-applied-3 {
    top: 45.2%;
    left: 50%;
    width: 32%;
    /* box-shadow: -9px -2px 11px 7px rgba(0,0,0,0.2); */
}

.dark-mode .box-applied {
    background: #090909;
}


body:not(.dark-mode) .btn-hai-acasa {
    color: #363636 !important;
    border-color: #363636 !important;
}

.col-long-text .module {
    position: relative;
    max-height: 700px;
    padding-bottom: 100px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.col-long-text:after {
    content: '';
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.9) 24%, rgba(0, 0, 0, 0) 100%, rgba(2, 0, 36, 0) 100%, rgba(0, 212, 255, 0) 100%);
    display: block;
    position: absolute;
    bottom: 35px;
    left: 0;
            /* padding col + scrollbar */
    right: calc(15px       + 17px); 
    height: 50%;
    max-height: 100px;
    transition: .5s;
}


.row-continut-proiect > * {
    overflow: hidden;
}

.row-continut-proiect .module-image {
    perspective: 900px;
}

@media (max-width: 991px) {
    ul {
        padding-left: 1rem;
    }
    .footer-menu ul {
        padding-left: 0;
    }
    .header-part-links,
    #magicMouseCursor,
    #magicPointer {
        display: none;
        visibility: hidden;
    }

    .header-part-logo {
        /* min-width: 165px; */
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-img {
        height: 50px;
    }

    .logo-text {
        display: none;
        font-size: 10px;
        left: 50px;
    }

    .header-part-toggles .row {
        justify-content: flex-end;
    }

    .page-header-with-slider {
        padding-bottom: 0;
    }

    .menu-trigger {
        position: relative;
        left: auto;
        top: auto;
        right: 0;
        padding: 5px;
        background: 0 !important;
    }
    .menu-trigger-text {
        font-size: 9px;
    }

    .header-part-social {
        display: none;
    }

    .header-part-toggles {
        padding-right: 15px;
    }

    .current-language-item {
        padding-right: 10px;
        margin-bottom: 3px;
        z-index: 3;
    }

    .not-scrolled-down header {
        padding-top: 1rem;
    }

    .not-scrolled-down .logo-img,
    .logo-img {
        transform: translateY(0px)
    }

    .page-slide-inner {
        height: 100vh;
    }

    .container-page-slider-dots {
        position: absolute;
    }

    .row.restraint > * {
        padding-left: 15px;
        padding-right: 15px;
    }

    .col-counters {
        flex-wrap: wrap;
    }

    .fickle-counter {
        display: block;
        flex-basis: 50%;
        max-width: 50%;
        margin-right: 0;
    }

    .trigger-lista-proiecte {
        margin-bottom: 50px;
    }

    .map {
        margin-bottom: 45px;
    }

    .menu-full .language-select {
        display: none;
        visibility: hidden;
    }

    .menu-full-social a {
        padding: 0 10px;
    }
    .menu-full-social a:first-child {
        padding-left: 0;
    }

    .other-languages {
        background: #000;
        box-shadow: 0 0 2px rgba(0,0,0,0.2);
        padding-left: 5px;
        padding-right: 5px;

    }

    .form-inline .form-control {
        min-width: unset !important;
        width: 100%;
    }

    .c-form .btn[type="submit"] {
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }

    .b-lightbox-inner {
        padding-left: 0;
        padding-right: 0;
    }

    .slick-dots li {
        margin: 0 10px;
    }

    .mobile-zoom-hint {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .mobile-zoom-hint-inner {
        position: relative;
        align-self: center;
        width: 100%;
        text-align: center;
    }

    .mobile-zoom-hint-inner img {
        padding: 0;
        width: 64px;
        height: 64px;
        animation: zoom-hint 2s infinite;
        opacity: 0;
        transform: scale(0.8);
    }
}



@media(max-width: 640px) {
    .social-links {
        display: none;
    }
}


@keyframes zoom-hint {
    
    50% {
        opacity: 0.5;
    }

    75% {
        opacity: 0;
        transform: scale(1);
    }
    

}