/*---------------------------------------
23. Preview area
---------------------------------------*/
.preview-header-top-area {
    height: 100vh;
}
.preview-page-area .row:nth-child(n+2) {
    margin-top: 70px;
}
.other-pages .col-lg-3:nth-of-type(n+5) .preview {
    margin-top: 30px;
}
.preview {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease 0s;
}
.preview-heading {
    font-size: 32px;
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.preview-image {
    border: 1px solid #e5e5e5;
    position: relative;
    transition: all 0.5s ease 0s;
}
.preview-image img {
    max-width: 100%; 
    height: auto;
    transition: all 0.5s ease 0s;
}
.cd-headline {
  line-height: normal;
}
.preview-image::before {
    background: rgba(12, 184, 182, 0.6);
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
}
.preview:hover .preview-image::before {
    opacity: 1;
    visibility: visible;
}
.coming-soon .image-scroll::before {
    background: rgba(255, 255, 255, 0.95) none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    transition: all 0.4s ease 0s;
}
.preview-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease 0s;
}
.preview:hover .preview-btn {
    opacity: 1;
}
.preview-image .image-scroll {
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  height: 300px;
}
.preview-content {
    transition: all 0.5s ease 0s;
}
.preview-content h4 {
    color: #2d3e50;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}
.preview-content h4 a {
    padding: 18px 0;
    display: block;
}
.preview-content h4 a:hover {
    color: #00c9b1;
}

.preview-footer-area {
    padding: 25px;
    border-top: 1px solid #e5e5e5;
}

.preview-page-area {
    padding: 100px 0;
}
.preview-page-area .preview {
    margin-top: 30px;
}
.single-service {
    padding: 30px 0;
    background: #fff;
    border-radius: 4px;
}
.service-header {
    margin-bottom: 0;
}
.service-header i {
    margin-bottom: 15px;
}

@media (min-width: 992px) and (max-width: 1169px) {

.service-header>h3 {
    font-size: 16px;
    line-height: 24px;
}
.preview-page-area {
    padding: 80px 0;
}
.preview-page-area .row:nth-child(n+2) {
    margin-top: 50px;
}
.preview-heading {
    font-size: 28px;
    margin-bottom: 20px;
}

}

@media (min-width: 768px) and (max-width: 991px) {

.col-md-6:nth-of-type(n+3) .preview {
    margin-top: 30px;
}
.preview-page-area {
    padding: 70px 0;
}
.preview-page-area .row:nth-child(n+2) {
    margin-top: 50px;
}
.preview-heading {
    font-size: 26px;
    margin-bottom: 20px;
}

}


@media (max-width: 767px) {

.col-md-6:nth-of-type(n+2) .preview {
    margin-top: 30px;
}
.col-md-4.col-sm-6:nth-child(n+2) .single-service {
    margin-top: 50px;
}
.preview-content h4 {
    font-size: 15px;
}
.preview-page-area {
    padding: 60px 0;
}
.preview-page-area .row:nth-child(n+2) {
    margin-top: 50px;
}
.preview-heading {
    font-size: 24px;
    margin-bottom: 20px;
 }



 