/*
 Theme Name: deeprojects
 Theme URI: https://deeprojects.de
 Description: Dies ist mein Divi-Child Theme.
 Author: Dennis Drzosga
 Author URI: https://deeprojects.de
 Template: Divi
 Version: 1.0.0
*/

.single_referenz {
    max-width: 45%;
    display: inline-block;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: rgb(10 10 10 / 52%) 2px 2px 10px -5px!important;
    margin-right: 4.5%;
}

.single_referenz p {
    padding: 20px !important;
    font-size: 20px;
    font-weight: bold;
    color: #01442e;
}

.gallery-box {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.mfp-gallery {
    z-index: 9999999 !important;
}

.mfp-content {
    max-width: 800px !important;
}

.mfp-bg.mfp-ready {
    z-index: 99999 !important;
}

.gallery-box span {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgb(0 0 0 / 43%);
    color: #01442e;
    padding: 3px 12px 2px;
    background: #95f84f;
    border-radius: 25px;
}
.mySwiper .swiper-wrapper{
    transition-timing-function: linear;
}
.category_slider {
    box-shadow: 0px 2px 27px 0px rgb(0 74 135 / 12%);
    border-radius: 5px;
    text-align: center;
    background: #fff;
    overflow: hidden;
    margin-bottom: 30px;
    display: block;
    position: relative;
    max-width: 270px;
}

.category_slider p.term_name {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #01442e!important;
    line-height: 1em;
    padding-top: 20px;
}
.category_slider a.term_count {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #01442e!important;
    letter-spacing: 2px;
    /* line-height: 0.3em; */
    padding: 10px 0 20px !important;
    display: block;
}
p.term_count {
    position: absolute;
    top: -50px;
    left: 20px;
    background-color: #95f84f;
    border-radius: 50px;
    color: #01442e!important;
    padding: 5px 10px;
    transition: all 0.5s ease-out;
    font-weight: bold;
}

.category_slider:hover p.term_count {
    top: 20px;
}


@media (max-width: 767px) {
    .category_slider {
        max-width: 90%;
    }
}