/*======================================
Theme Name: Divi Child Theme
Theme URI: https://divimonk.com/
Description: This a custom child theme built for Divi.
Version: 1.0.0
Author: Divi Monk
Author URI: https://divimonk.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

.blog #main-content .container:before {
    display: none;
}

#respond .form-submit .et_pb_button {
    color: #fff;
}

#respond .form-submit .et_pb_button:hover {
    padding: .3em 2em .3em .7em;
}

.page-template-templates #main-content .container:before {
     display: none;
}

.page-template-templates #main-content .hentry {
    width: calc(100%/4);
    float: left;
    padding: 0 10px;
    margin-bottom: 30px;
}

.page-template-templates #main-content .hentry h2 {
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 0;
    clear: both;
    text-align: center;
}

.page-template-templates #main-content .hentry .template-image {
    box-shadow: 0 0 30px 0px rgba(0,0,0,0.1);
    border: 1px solid #ececec;
    height: 280px; 
    overflow: hidden;
}

.page-template-templates .template-filters {
    padding-top: 50px;
}

.page-template-templates .template-filters .facetwp-facet {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    line-height: 0;
}

.page-template-templates .template-filters .facetwp-link {
    display: inline-block;
    padding: 0 10px;
}

.page-template-templates .template-filters .facetwp-depth {
    display: inline-block;
}

.page-template-templates .template-filters label {
    vertical-align: middle;
    margin-right: 5px;
}

.page-template-templates .template-filters .left {
    float: left;
}

.page-template-templates .template-filters .right {
    float: right;
}

.fwp-load-more {
    margin: 0 auto 50px;
    display: inherit;
}

.page-template-templates .fs-label-wrap .fs-label {
    cursor: pointer;
}

.page-template-templates .fs-wrap {
    line-height: 1.5;
}

.page-template-templates .template-filters input[type="submit"] {
    display: none;
}

.page-template-templates .template-filters input[type="search"] {
    border: 1px solid #ccc;
    padding: 10px;
    color: #111;
    font-size: 16px;
}

.page-template-templates .template-filters input[type="search"]:focus,
.page-template-templates .template-filters input[type="text"]:focus {
    border-color: #bbb !important;
}

@media only screen and (max-width: 980px) {
    .page-template-templates #main-content .hentry {
        width: calc(100%/2);
    }
}

@media only screen and (max-width: 680px) {
    .page-template-templates .template-filters .left,
    .page-template-templates .template-filters .right {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }
    .page-template-templates .fs-wrap,
    .page-template-templates .template-filters input[type="text"] {
        width: 100% !important;
    }
    .page-template-templates .template-filters .facetwp-facet {
        display: block;
    }
}

@media only screen and (max-width: 479px) {
    .page-template-templates #main-content .hentry {
        width: 100%;
    }
}