﻿@-webkit-keyframes show {
    to {
        top: 0;
        opacity: 1;
    }
}

@-moz-keyframes show {
    to {
        top: 0;
        opacity: 1;
    }
}

@-o-keyframes show {
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes show {
    to {
        top: 0;
        opacity: 1;
    }
}

.homeTop .headerMain {
    font-size: 1.6em;
    width: initial;
}

.homeTop {
    background-image: url(../Images/main/DB-pick1.jpg);
    background-size: cover;
    background-position: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    color: #fafafa;
    padding: 40px 0;
}

    .homeTop ul {
        list-style: disc none inside;
        list-style-position: outside;
        line-height: 2em;
        padding-left: 20px;
        margin-bottom: 20px;
    }

.homeTop {
    font-size: 1.2em;
}

    .homeTop > .container {
        position: relative;
        opacity: 0;
        top: 30px;
        -webkit-animation: show 1s forwards;
        -moz-animation: show 1s forwards;
        -o-animation: show 1s forwards;
        animation: show 1s forwards;
        -webkit-animation-delay: .5s;
        -moz-animation-delay: .5s;
        -o-animation-delay: .5s;
        animation-delay: .5s;
    }

.card {
    text-align: center;
    background-color: #fefefe;
    border: 1px solid #e5e5e5;
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.1);
    padding-bottom: 24px;
    transition: box-shadow .3s;
    margin-bottom: 20px;
    max-width: 400px;
    color: #000;
}

    .card:hover {
        box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.2);
    }

    .card .lbl {
        height: 50px;
        background-color: #76B37B;
        text-align: center;
        line-height: 50px;
        width: 100%;
        font-size: 1.2em;
        color: #fff;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
        font-weight: bolder;
    }

    .card .linkBtn {
        padding: .5em 2.5em;
        font-size: 16px;
    }

    .card .cardMsg {
        height: 110px;
        padding: 16px;
        margin-bottom: 16px;
        font-size: 16px;
    }

        .card .cardMsg * {
            line-height: 24px;
        }

    .card img {
        width: 100%;
    }


.exp_t img {
    height: 100px;
    transition: transform .15s;
}

.exp_t {
    width: 450px;
    margin: 0 auto;
    padding-top: 100px;
}

#exporevid:hover .exp_t img,
#exporevid:focus .exp_t img {
    transform: scale(1.2);
}

#exporevid {
    width: 560px;
    height: 315px;
    margin: 0 auto;
    cursor: pointer;
    background: url(../Images/main/video.png) no-repeat;
    background-size: 560px 315px;
}

    #exporevid.mobile {
        width: 300px;
        height: 200px;
        background: url(../Images/main/video-m.png) no-repeat;
    }

.feature i {
    color: #649964;
    font-size: 4em;
    height: 80px;
    width: 80px;
    margin-top: 0;
    transition: color .3s;
}

.features {
    clear: left;
    display: flex;
}

.feature * {
    font-size: 16px;
    line-height: 30px;
}

.feature {
    border: 1px solid #E7E7E7;
    padding: 1.2em;
    transition: .3s;
    width: calc(50% - 10px);
    cursor: default;
    line-height: 24px;
    margin-bottom: 20px;
}

    .feature:nth-child(2n+1) {
        margin-left: 0;
        margin-right: 10px;
    }

    .feature:nth-child(2n) {
        margin-left: 10px;
        margin-right: 0;
    }

    .feature:hover {
        background: #f27935;
        color: #fff;
    }

        .feature:hover i {
            color: #fff;
        }

#comment-carousel i {
    font-size: 16px;
}

#comment-carousel .fb {
    color: #5c728e;
    text-align: left;
}

#comment-carousel p {
    line-height: 24px;
    font-size: 16px;
}

#comment-carousel .item {
    min-height: 380px;
}

.seeMoreLink {
    text-decoration: none;
    color: #46adde;
    font-size: 16px;
}

.covid-stripe {
    background-color: #3fa2f1;
    text-decoration: none;
    padding: 1.4rem 4.6rem 1.4rem 1.4rem;
    display: block;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #419ae1;

    display: none;
}

    .covid-stripe.invisible {
        /* display: none breaks scroll after page reloading */
        visibility: hidden;
        height: 0;
        padding: 0;
    }

.covid-stripe-text {
    color: white;
    font-weight: 400;
    font-style: italic;
}

.covid-stripe-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 10px;
    box-sizing: border-box;
}

    .covid-stripe-close:hover {
        opacity: 1;
    }

    .covid-stripe-close:before, .covid-stripe-close:after {
        position: absolute;
        left: 18px;
        content: ' ';
        height: 20px;
        width: 3px;
        background-color: white;
    }

    .covid-stripe-close:before {
        transform: rotate(45deg);
    }

    .covid-stripe-close:after {
        transform: rotate(-45deg);
    }

@media screen and (max-width: 1200px) {
    .card .cardMsg {
        height: 120px;
    }
}

@media screen and (max-width: 991px) {
    #comment-carousel .col-md-1 {
        display: none;
    }

    .card {
        margin: 10px auto;
    }

    .features {
        display: block;
    }

    .body-desk .feature {
        width: 100%;
        margin: 0 0 16px 0;
    }

    .body-mobile .feature {
        width: 100%;
        border: none;
        height: 240px;
        margin: 0;
    }

        .body-mobile .feature:hover {
            background: inherit;
            color: inherit;
        }

            .body-mobile .feature:hover i {
                color: #649964;
            }

    .feature i {
        font-size: 3em;
        margin-top: 0;
        height: 60px;
    }

    .card .cardMsg {
        height: auto;
    }

    .body-mobile .card .cardMsg {
        height: 150px;
        margin-bottom: 0;
    }

    .body-mobile .card,
    .body-mobile .card:hover {
        box-shadow: none;
    }
}

@media screen and (max-width: 768px) {
    .covid-stripe {
        text-align: left;
    }
}