
.selected-works-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.selected-work-wrapper {
    margin-bottom: 30px;
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    max-width: 215px;
    max-height: 158px;
    margin-right: 35px;
}

.selected-work-image {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 1;
    max-width: 215px;
    max-height: 158px;
}

.info-card {
    padding: 16px 17px 20px 17px;
    width: 100%;
    /*height: 0;*/
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    z-index: 2;
    color: #FFFFFF;
    grid-column-start: 1;
    grid-row-start: 1;
    box-sizing: border-box;
    max-width: 215px;
        height: 100%;
}

.selected-work-wrapper:hover .info-card {
    height: 100%;
    opacity: 1;
    /*max-width: calc((917px - 90px) / 3);*/
    width: 100%;
    /*max-height: 210px;*/

}

.selected-work-image-mobile {
    display: none;
    width: 100%;
    height: auto;
}

.selected-work-image {
    width: 100%;
    height: auto;
}

.info-card-mobile {
    display: none;
    margin-bottom: 20px;
}

.info-card-inner {
    /*margin: 16px 17px 20px 17px;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    /*max-height: 210px;*/

}

.info-card-inner-top {
    display: flex;
    flex-direction: column;
}

.info-card-inner-top-work-title {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 26px;
    /*opacity: 1;*/

}

/*!* two items *!*/
/*.selected-work-wrapper:first-child:nth-last-child(2),*/
/*.selected-work-wrapper:first-child:nth-last-child(2) ~ .selected-work-wrapper {*/
/*margin-right: 15px;*/
/*}*/

/*!* two items *!*/
/*.selected-work-wrapper:first-child:nth-last-child(3),*/
/*.selected-work-wrapper:first-child:nth-last-child(3) ~ .selected-work-wrapper {*/
/*margin-right: 15px;*/
/*}*/

.selected-work-wrapper:last-child {
    margin-right: 0;
}

.info-card-inner-top-work-sub-title {

    font-size: 12px;
    letter-spacing: 0.4px;
    line-height: 19px;
    /*opacity: 1;*/

}

.info-card-inner-mobile-types {
    color: #B99E32;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.82px;
    line-height: 22px;
    padding-top: 14px;
}

.info-card-inner-mobile-work-title {
    /*width: 347.5px;*/
    color: #37323E;
    font-size: 20px;
    line-height: 36px;
}

.info-card-inner-mobile-work-sub-title {

    color: #37323E;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.47px;
    line-height: 22px;

}

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

    .selected-work-image-mobile {
        display: block;
    }

    .selected-work-image {
        display: none;
    }

    .info-card-mobile {
        display: flex;
    }

    .selected-works-wrapper {
        flex-direction: column;
        margin-bottom: 40px;

    }

    .selected-work-wrapper {
        max-width: 100vw !important;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        max-height: none;

    }

    .info-card-inner {
        display: none;
    }

    .info-card {
        display: none;
    }

    /*.selected-work-wrapper:hover .info-card {*/
        /*height: 0;*/
        /*opacity: 1;*/
        /*!*max-width: calc((917px - 90px) / 3);*!*/
        /*width: 0;*/
        /*!*max-height: 210px;*!*/
        /*display: none;*/

    /*}*/

}

@media only screen and (max-width: 1199px) {

    .works-pics {
        margin-right: 15px;
    }

    /*.selected-work-image {*/
        /*max-width: calc((100vw - 282px - 90px) / 3);*/
    /*}*/

    /*.selected-work-wrapper:hover .info-card {*/
        /*max-width: calc((100vw - 282px - 90px) / 3);*/
    /*}*/

    /*.selected-work-wrapper {*/
        /*max-width: calc((100vw - 282px - 90px) / 3);*/
    /*}*/

    /*.selected-work-wrapper{*/
    /*margin-right: 25px;*/
    /*}*/
}