/*******************************
    template-310
*******************************/

.template-310 .section__inner img {
    /* object-fit: cover;
    object-position: center;*/
    transition: filter .4s, transform .4s;
    /* filter: brightness(.7);  */
}

.template-310 .section__inner .section__content {
    display: inline-block;
    top: 50%;
    left: 10px;
    right: 10px;
    color: #fff;

}

.template-310 .section__inner .section__content h2 {
    transition: color .4s;
}

.template-310 .section__inner {
    order: 1;
    /* max-height: 400px; */
    /* min-height: 450px; */
    position: relative;
    overflow: hidden;
}

.template-310 .section__inner.col-lg-4 {
    order: 2;
}

@media (min-width: 449px) {

    .template-310 .section__inner {
        /* max-height: 450px; */
    }
}

@media (min-width: 576px) {

    .template-310 .section__inner {
        /* max-height: 600px; */
    }
}

@media (max-width: 350px) {
    
    /* .template-310 .section__inner img {
        width: 100%;
        height: 100%;
    } */
}

@media (min-width: 767px) {

    .template-310 .section__inner {
        /* max-height: unset; */
    }

    .template-310 .section__inner img {
        /* width: 100%; */
        /* height: 100%; */
    }
}

@media (min-width: 992px) {

    .template-310 .section__inner .section__content ul a:after {
        content :'';
        height: 1px;
        background: #fff;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        transition: transform .4s;
        transform: scaleX(0);
        transform-origin: center;
    }

    .template-310 .section__inner .section__content ul a:hover:after {
        transform: scaleX(1);
    }

    .template-310 .section__inner .section__content ul {
        opacity: 0;
        transition: opacity .4s;
    }

    .template-310 .section__inner:hover .section__content ul {
        opacity: 1;
    }

    .template-310 .section__inner img {
        filter: brightness(1);
        /* transform: scale(1.02); */
    }

    .template-310 .section__inner:hover img {
        filter: brightness(.7);
        /* transform: scale(1.005); */
    }
}