/**
* Theme Name:     Enfold for Tiny Houses
* Author:         Anna Schneider
* Template:       enfold
* Text Domain:	  enfold-for-tiny-houses
* Description:    Enfold Theme angepasst: - Archive - Single Posts | Templates, CSS und JS für Easy Property Listings
*/

.html_elegant-blog .av-vertical-delimiter {
    border: none;
}

.single .html_elegant-blog .entry-content-wrapper .big-preview.single-big {
    display: none;
}

.av-heading-wrapper .post-date {
    text-align: center
}

.av-heading-wrapper .entry-title {
    margin-top: 18px;
}

.end-post {
    margin-top: 50px;
}


/* Blog */
.html_elegant-blog #top .post-entry .post-title, .html_elegant-blog .avia-content-slider .slide-entry-title {
    margin-bottom: 0;
    padding: 0px 0 10px;
}

.av-heading-wrapper .entry-title {
    margin-top: 8px;
}

/* Header */
#header {
    background: #fff;
}

#top #header .av-main-nav > li > a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    padding-bottom: 27px;
    line-height: 1em !important;
}

/* TopBar */
.header_color .container_wrap_meta {
    background-color: #fff
}

#header_main {
    border-top: none;
}

#header_meta {
    border-bottom: none;
}


/**
 * Easy Property Listings Customizations 
**/

/* Single Listings */
#top #wrap_all .main_color .epl-property-single .entry-title {
    font-weight: 400;
}


.epl-gallery.property-gallery {
    display: none;
}

.epl_slider_popup_image.image {
    position: absolute !important;
    overflow: visible !important;
}

.subtitle-meta-wrapper .property-category {
    display: inline;
}

#top #wrap_all .main_color .subtitle-meta-wrapper h3 {
    color: #839133;
    font-weight: normal;
}

.epl-property-single .epl-sub-title .entry-title-sub {
    font-weight: bold;
    line-height: 1.3em;
}

.epl-property-features {
    margin-bottom: 0;
}

.epl-am-map-wrapper.epl-am-single-map-wrapper {
    margin-top: 3rem;
}

.epl-template-default .entry-header {
    margin-top: 1em;
}

.epl-template-default .property-details {
    margin-top: 1.5em;
}

/*
.epl-search-wide .epl-search-row-full {
	max-width: 300px;
}*/

/* Hide certain features from property features list */
.epl-property-features .epl-tax-feature,
.epl-property-features .property-category,
.epl-property-features .category {
    display: none;
}

/* Search Form */
body:not(.page-id-26797) .epl-search-form.epl-sb-current,
body:not(.page-id-26797) .epl-search-row-select .field {
    width: 100%;
}

body:not(.page-id-26797) .epl-search-form form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.epl-search-form .epl-search-row {
    padding-right: 20px;
}

body:not(.page-id-26797) .epl-search-wide .epl-property_location {
    -webkit-box-flex: 2;
    -ms-flex-positive: 2;
    flex-grow: 2;
}

body:not(.page-id-26797) .epl-search-wide .epl-search-row-full {
    -webkit-box-flex: 4;
    -ms-flex-positive: 4;
    flex-grow: 4;
}

body:not(.page-id-26797) .epl-search-wide .epl-search-submit-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Hersteller - Search */
body.page-id-26797 .epl-search-wide .epl-property_category,
body.page-id-26797 .epl-search-wide .epl-property_location {
    width: 25%;
}


/* EPL Nifty Archvie Design */
.epl-property-blog.nifty .entry-footer {
    position: relative;
}

.main_color .epl-excerpt-content a {
    color: #000;
    text-decoration: none;
}

.epl-excerpt-content a:hover {
    color: #000;
    text-decoration: none;
}


/* [list] shortcode */
/* .custom-list {
    font-size: inherit;
    padding: 0;
	line-height: 1.65em;
} */

#subhead_full {
    margin-bottom: 2em;
}

/* Override avia-merged-styles*/
@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .container {
        width: unset !important;
        max-width: 100% !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .content, .sidebar {
        padding-top: 0 !important;
        /*padding-bottom: 0 !important;*/
    }

    #subhead_full {
        margin-bottom: 0;
    !important;
    }

    div .wp-caption {
        margin: 0 !important;
    }

}

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

    .epl-property-blog, .epl-property-blog.hentry {
        max-width: unset;
    }

    .epl-archive-entry-image {
        text-align: center;
    }
}

