.cd-projects-previews {
  height: calc( 100vh - 60px );
}

.cd-projects-container {
    position: relative;
    min-height: 100vh;
}

.cd-contact-container {
    position: fixed;
    background-color: #fff;
    height: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 10;
    -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.cd-contact-container .cd-nav-trigger {
    display: none;
}
.cd-contact-container.contact-container-open {
    height: 100vh;
    overflow-y: auto;
}
.cd-contact-container.contact-container-open .contact-close {
    display: block;
    margin-top: -10px;
    position: fixed;
    top: 24px;
    right: 5%;
}
.cd-contact-title {
    padding: 10px;
    cursor: pointer;
}
.cd-contact-content {
    height: calc(100vh - 60px);
}
.cd-contact-content-inner {
    font-size: 20px;
    line-height: 32px;
    color: #000;
    max-width: 700px;
    margin: auto;
    width: 100%;
    padding: 20px;
}
.cd-contact-title h2 {
    line-height: 40px;
    color: #000;
    text-align: center;
    font-size: 2.0rem;
	font-size: 20PX;
    margin: 0;
}

.contact-close .cd-icon::after {
    background-color: white;
}

.contact-close .cd-icon::before, .contact-close .cd-icon::after {
    content: '';
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}

.contact-close {
    position: absolute;
    z-index: 4;
    top: 24px;
    right: 5%;
    height: 52px;
    width: 52px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-transition: background 0.2s;
    -moz-transition: background 0.2s;
    transition: background 0.2s;
    color: transparent;
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: none;
}

.contact-close .cd-icon {
    display: inline-block;
    width: 18px;
    height: 2px;
    left: 0;
    top: 50%;
    bottom: auto;
    right: 0;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transition: -webkit-transform 0.3s, background-color 0.3s;
    -moz-transition: -moz-transform 0.3s, background-color 0.3s;
    transition: transform 0.3s, background-color 0.3s;
    margin: auto;
    background-color: transparent !important;
}

.contact-close .cd-icon, .contact-close .cd-icon::before, .contact-close .cd-icon::after {
    position: absolute;
    background-color: #ffffff;
    border-radius: 2px;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.contact-close .cd-icon::before {
    -webkit-transform: translateY(0) rotate(45deg);
    -moz-transform: translateY(0) rotate(45deg);
    -ms-transform: translateY(0) rotate(45deg);
    -o-transform: translateY(0) rotate(45deg);
    transform: translateY(0) rotate(45deg);
}


.contact-close .cd-icon::after {
    -webkit-transform: translateY(0) rotate(-45deg);
    -moz-transform: translateY(0) rotate(-45deg);
    -ms-transform: translateY(0) rotate(-45deg);
    -o-transform: translateY(0) rotate(-45deg);
    transform: translateY(0) rotate(-45deg);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 30;
    overflow-y: auto;
    display: none;
}

.modal-content {
    background-color: #fff;
    color: #000;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.read-more {
    text-decoration: underline;
    color: blue;
}

.check {
  display: inline-block;
  transform: rotate(45deg);
  height: 24px;
  width: 12px;
  border-bottom: 4px solid #fff;
  border-right: 4px solid #fff;
  position: absolute;
  margin-left: -25px;
  margin-top: -5px;
}

.more-info {
    display: none;
}

.button-cookie {
    position: relative;
    background-color: #55a365;
    color: #fff;
    border-radius: 4px;
    width: 150px;
    text-align: center;
    padding: 10px 10px 10px 25px;
    margin: 20px auto;
    border: 0;
    display: block;
    font-size: 16px;
}

.modal-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
}

.project-open .cd-projects-previews {
    height: 100vh;
}

.modal-content p {
    margin-bottom: 20px;
}

.z-20 {
    z-index: 20;
}

.moda-open .modal-content {
    transform: translateY(0);
    top: 50px;
}

body {
    background-color: #fff;
}

button.scroll.cd-text-replace {
    display: none;
}

.cd-projects-container.project-open .cd-contact-container {
    display: none;
}

.cd-projects-previews {
    position: fixed;
}

/* .cd-project-info {
    visibility: hidden;
    -webkit-transition: -webkit-transform 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: -moz-transform 0.3s 0s, visibility 0s 0.3s;
  transition: transform 0.3s 0s, visibility 0s 0.3s;
} */

/* Desktop style - last order */
@media only screen and (min-width: 1024px){

    .cd-project-title {
        top: calc( 50vh - 100px ); 
    }
    .cd-projects .preview-image {
        height: 50vh;
        position: relative;
    }
    .cd-projects .preview-image >  .cd-project-title {
        top: calc( 50% - 40px ); 
    }
    [data-project-content="1"] .preview-image > .cd-project-title {
        top: calc(45% - 120px);
    }
    
}
/* Mobile style - last order */
@media only screen and (max-width: 1023px){
    .modal-content {
        max-width: 85%;
    }
    .cd-project-title {
        top: calc(45% - 5px); 
    }
    
    .cd-projects .preview-image {
        height: 50vh; /* Here you can adjust height on follow up screens */
        position: relative;
    }

    /* This is for centering titles on follow up screens on mobile */
    .cd-projects .preview-image > .cd-project-title {
        top: calc(45% - 5px); 
    }
    /* This is for centering titles on follow up screens on mobile - First one, because it's bigger then rest of the titles */
    [data-project-content="1"] .preview-image > .cd-project-title {
        top: calc(45% - 120px);
    }

    .cd-contact-title h2 {
        font-size: 18px !important;
    }
    .cd-projects-previews {
        position: relative;
    }

    .cd-projects-previews li {
        height: calc( 25% - 15px ); 
    }
}

