#cover-image {
    height: calc(100vh - 100px) !important;
    min-height: 540px;
}

#colors-section {
    background: #f8f8f8;
    background: linear-gradient(180deg, #ededed 0%, #ffffff81 100%);
}

#contact-section a,
#contact-section a:visited,
#contact-section a:focus,
#contact-section a:active,
#contact-section a:hover {
    color: #2c769b
}

.image-square a,
.image-square a:visited,
.image-square a:focus,
.image-square a:active {
    color: white;
    background: #2c769b;
    /* border-radius: 0.4em; */
    background: #f9ad19;
    padding: 0.7em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.image-square a:hover {
    background: #ea9e06;
}

.mt-sm-56 {
    margin-top: 56px !important;
}

h6,
.h6 {
    font-size: 16px;
    line-height: 2em;
}

.image-square p {
    font-size: 15px;
}


/* colors text on photos hover */

#colors-section li a:hover::after {
    content: attr(data-title);
    color: white;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    background: #00000040;
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

@media screen and (max-width:767px) {
    h6,
    .h6 {
        font-size: 14px;
        max-width: 70vw;
    }
    .cover.fullscreen .slides li {
        height: 100vh;
        /* min-height: 640px; */
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    .image-square a,
    .image-square a:visited,
    .image-square a:focus,
    .image-square a:active,
    .image-square a:hover {
        display: flex;
        margin-top: 40px;
    }
    br {
        display: block;
    }
}

@media screen and (min-width:768px) {
    #company-slideshow {
        height: 100vh;
        min-height: 540px;
    }
}

@media screen and (min-width:992px) {
    #company-slideshow {
        height: calc(100vh - 55px);
    }
}

@media screen and (max-height:480px) and (max-width:767px) {
    h6,
    .h6 {
        line-height: 1.5em;
    }
}