/*
 * PLUGINS : Downloads Manager
 */
#download-page {
    font-size: 16px;
    text-align: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#download-page .download_category.download_group {
    width: auto;
    float: none;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#download-page .download_category.download_group:after {
    content: '';
    clear: both;
    display: table;
}

.dlm-downloads {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/*
 * Downloads Monitor Box Template
 */
.dlm-downloads .download-box {
    width: auto;
    background: #fafafa;
}

.dlm-downloads .download-box img {
    margin: auto;
}

.dlm-downloads > li,
.dlm__listing:not(.single) {
    float: left;
}

.dlm-downloads > li:before {
    content: '';
    display: none;
}

.dlm__listing--single,
.dlm__listing.box {
    float: none;
}

.dlm-downloads > li a,
.dlm__listing a {
    text-decoration: none;
}

.dlm__listings {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.dlm__listings .dlm__listing {
    list-style-type: none;
}

.dlm__listings .dlm__preview,
.dlm-downloads .dlm__preview {
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
    height: 360px;
    /*padding-top: 2em;*/
}

.dlm--card {
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-radius: 4px;
}
.dlm--card .dlm__title {
    font-weight: bold;
}
.dlm--card .dlm__button {
    cursor: pointer;
    color: inherit;
    background: none;
    border: none;
    padding: 0.6em;
}

.dlm__preview_image {
    display: block;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 50% 50%;
    height: 100%;
}

.dlm__preview img {
    display: block;
    margin: 0 auto;
    /*   border: 1px solid rgba(0, 0, 0, .15);
       -webkit-box-shadow: 0 -5px 2em rgba(0, 0, 0, .1);
       -moz-box-shadow: 0 -5px 2em rgba(0, 0, 0, .1);
       box-shadow: 0 -5px 2em rgba(0, 0, 0, .1);*/
    -webkit-transition: all .12s ease-in-out;
    -moz-transition: all .12s ease-in-out;
    -ms-transition: all .12s ease-in-out;
    -o-transition: all .12s ease-in-out;
    transition: all .12s ease-in-out;
}

.dlm__preview a img.wp-post-image {
    margin-top: 0;
}

.dlm__preview a:hover img {
    /*max-width: 90%;*/
    /*margin-top: -25px;*/
}

.dlm__preview:after {
}

.dlm__terms {
    font-size: .85em;
    margin-bottom: 0;
}

.dlm__excerpt {
    padding: 0 3em 2em;
    opacity: .7;
}

.dlm__excerpt p {
    margin: 0;
}

.dlm__listing .dlm__title,
.dlm-downloads .dlm__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: normal;
    opacity: .7;
    margin-top: 0;
    height: 60px;
    padding: 0 1em;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: none !important;
}

.dlm__listing .dlm__title a,
.dlm-downloads .dlm__title a {
    text-align: center;
    display: block;
}

.dlm__listing .dlm__title .fa,
.dlm-downloads .dlm__title .fa {
    font-size: 12px;
    vertical-align: super;
}

.dlm__download-count {
    font-size: 13px;
    font-weight: normal;
    opacity: .6;
    position: absolute;
    z-index: 10;
    right: 1em;
    bottom: 0;
}

.dlm__buttons {
    font-size: 14px;
    text-align: center;
    /*border-top: 1px solid rgba(13, 118, 181, .5);*/
    display: flex;
    margin: -1em 1em 0;
    padding: 0 0 1em;
    position: relative;
    z-index: 9;
}

.dlm__button {
    opacity: .7;
    display: inline-block;
    padding: .5em;
    position: relative;
}

.dlm__buttons .dlm__button.button {
    /*color: #fff !important;*/
    font-size: unset !important;
    font-weight: unset !important;
    text-transform: none;
}

/*
 ** Share button
 */
.dlm__listing .jssocials,
.dlm-downloads .jssocials {
    font-size: 18px;
    position: absolute;
    z-index: 9;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 100%;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.dlm__listing .jssocials.hidden,
.dlm-downloads .jssocials.hidden {
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    bottom: 20%;
}

.dlm__listing .jssocials-shares,
.dlm-downloads .jssocials-shares {
    margin: 0;
    display: flex;
    justify-content: center;
}

.dlm__listing .jssocials-share,
.dlm-downloads .jssocials-share {
    margin: 0;
}

.dlm__listing .jssocials-share .jssocials-share-link {
    color: #fff !important;
}

/*
 ** Template for single
 */
.dlm__listing--single {
    /*padding: 1em 0;*/
}

.dlm__listing--single .dlm__title {
    margin-top: 1em;
}

.dlm__listing--single .dlm__preview a:hover img {
    max-width: none;
    margin-top: 0;
}

.dlm__listing--single .dlm__preview:after {
    content: '';
    display: none;
}

.dlm__listing--single .dlm__buttons {
    border: none;
}

@media screen and (min-width: 320px) {
    .dlm-downloads > li,
    .dlm__listing {
        width: 100%;
        margin-right: 0;
        margin-bottom: 50px;
    }

    .dlm-downloads .dlm__buttons,
    .dlm__listing .dlm__buttons {
        justify-content: space-around;
    }

    .dlm__listing:not(.single) .dlm__preview img,
    .dlm-downloads .dlm__preview img {
        /*max-width: 80%;*/
    }
}

@media screen and (min-width: 480px) {
    .dlm-downloads > li:not(.box),
    .dlm__listing:not(.single):not(.box) {
        width: calc(50% - 40px);
        margin: 20px;
    }

    .dlm-downloads > li:nth-child(2n + 1),
    .dlm__listing:nth-child(2n + 1) {
        /*clear: left;*/
    }

}

@media screen and (min-width: 768px) {
    .dlm-downloads > li:not(.box),
    .dlm__listing:not(.single):not(.box) {
        width: calc(33% - 40px);
        margin: 20px;
    }

    .dlm-downloads > li:nth-child(2n + 1),
    .dlm__listing:nth-child(2n + 1) {
        /*clear: none;*/
    }

    .dlm-downloads > li:nth-child(3n + 1),
    .dlm__listing:nth-child(3n + 1) {
        /*clear: left;*/
    }

    .dlm-downloads .dlm__preview img,
    .dlm__listing .dlm__preview img {
        /*max-width: 50%;*/
    }
}

@media screen and (min-width: 1024px) {
    .dlm-downloads > li:not(.box),
    .dlm__listing:not(.single):not(.box) {
        width: calc(25% - 40px);
    }

    .dlm-downloads > li:nth-child(2n + 1),
    .dlm-downloads > li:nth-child(3n + 1),
    .dlm__listing:nth-child(2n + 1),
    .dlm__listing:nth-child(3n + 1) {
        /*clear: none;*/
    }

    .dlm-downloads > li:nth-child(4n + 1),
    .dlm__listing:nth-child(4n + 1) {
        /*clear: left;*/
    }
}

@media screen and (min-width: 1170px) {
    .dlm-downloads > li:not(.box),
    .dlm__listing:not(.single):not(.box) {
        /*width: calc(20% - 40px);*/
    }
    .dlm-downloads .dlm__preview img,
    .dlm__listing .dlm__preview img {
        /*max-width: 80%;*/
    }

    .dlm-downloads .dlm__button,
    .dlm__listing .dlm__button {
        margin: 0 5px;
    }

    .dlm__listing .dlm__buttons,
    .dlm-downloads .dlm__buttons {
        justify-content: center;
    }
}

