
/*------------------------------------------------------------------------
# mod_mx_services Extension
# ------------------------------------------------------------------------
# author    mixwebtemplates
# Copyright (C) 2020 mixwebtemplates.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.mixwebtemplates.com
-------------------------------------------------------------------------*/
:root {
 --mxtmprsi-color: #E81C2E;
 --black-color: #000000;
 --white-color: #ffffff;
 --light-color: #8b8e95;
}

.service-sixteen .class-thumbnail {
    position: relative;
    overflow: hidden;
    box-shadow: 0 60px 20px rgba(0, 0, 0, 1%);
    display: inline-block
}

.service-sixteen .class-thumbnail>img {
    filter: grayscale(100%);
    transition: all .3s ease-in-out;
    transform: scale(1.01);
    width: 100%
}

.service-sixteen .class-thumbnail .class-media img {
    max-width: 62px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 15px
}

.service-sixteen .class-thumbnail .class-media .class-icon i {
    font-size: 52px;
    color: var(--mxtmprsi-color)
}

.service-sixteen .class-item .schedule-time {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 0 35px;
    text-align: center;
    z-index: 1
}

.service-sixteen .class-item .schedule-time::before {
    position: absolute;
    content: "";
    height: 235px;
    width: 472px;
    bottom: -80px;
    left: 40px;
    background-color: rgba(255, 255, 255, .3);
    border-radius: 30px 0 0 0;
    transform: rotate(16deg);
    transition: all .6s ease-in-out;
    z-index: -1
}

.service-sixteen .schedule-shape-box.has-icon .schedule-time::before {
    height: 255px
}

.service-sixteen .class-item:hover .class-thumbnail .schedule-time:before,
.service-sixteen .class-item_active .class-thumbnail .schedule-time:before {
    height: 320px
}

.service-sixteen .class-item_active .schedule-shape-box.has-icon .schedule-time:before {
    height: 340px
}

.service-sixteen .class-item .schedule-time::after {
    position: absolute;
    content: "";
    height: 235px;
    width: 472px;
    bottom: -90px;
    left: 10px;
    background-color: #fff;
    border-radius: 30px 0 0 0;
    -webkit-transform: rotate(16deg);
    transform: rotate(16deg);
    z-index: -1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 1%);
    transition: all .3s ease-in-out
}

.service-sixteen .schedule-shape-box.has-icon .schedule-time::after {
    height: 255px
}

.service-sixteen .class-item:hover .class-thumbnail .schedule-time:after,
.service-sixteen .class-item_active .class-thumbnail .schedule-time:after {
    height: 320px
}

.service-sixteen .class-item_active .schedule-shape-box.has-icon .schedule-time:after {
    height: 340px
}

.service-sixteen .class-item .schedule-meta {
    margin-bottom: 20px;
    font-size: 15px;
    padding: 0px 30px;
    list-style: none;
}

.service-sixteen .class-item .schedule-meta i {
    margin-right: 5px;
    color: silver;
    font-size: 16px;
    position: relative;
    top: 3px
}

.service-sixteen .class-item .class-button {
    visibility: hidden;
    opacity: 0;
    margin-bottom: -80px;
    transition: all .3s ease-in-out
}

.service-sixteen .class-title {
    font-size: 20px;
    font-weight: 700;
}
.service-sixteen h3.class-title a {
    color: #333
}

.service-sixteen .class-item_active .class-thumbnail>img {
    filter: grayscale(0)
}

.service-sixteen .class-item:hover .class-thumbnail>img {
    filter: grayscale(0);
    transform: scale(1.1)
}

.service-sixteen .class-item:hover .class-thumbnail .schedule-shape-box .class-button,
.service-sixteen .class-item_active .class-thumbnail .schedule-shape-box .class-button {
    visibility: visible;
    opacity: 1;
    margin-bottom: 0
}

.schedule-time .btn-style1 {
    position: relative;
    z-index: 5;
    display: inline-block
}

.schedule-time .btn-style1 span {
    color: #646464;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: var(--mxtmprsi-color);
    box-shadow: 0 6px 43px rgba(0, 0, 0, .16);
    padding: 13px 30px;
    transition: all .4s;
    font-weight: 500
}

.schedule-time .btn-style1::before {
    content: "";
    height: 100%;
    width: 100%;
    border-width: 1px;
    border-color: #d8d8d8;
    border-style: solid;
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: -1;
    -webkit-transition: all .4s;
    transition: all .4s
}

.btn-style1 svg {
    margin-left: 7px;
    font-size: 18px;
    transition: all .4s;
    display: inline-block;
    margin-top: -2px
}

.btn-style1:hover:before {
    top: 0;
    left: 0;
    border-color: #ff0336
}
