.home .site-header,
.site-header,
.site-header.fixed,
.no-slider .site-header {
    background: #fff;
}

.main-navigation ul li a {
    color: #313131;
}

.eight_sec_plx_slider_section .slide-caption .slide-content .slide-readmore {
    margin-top: 20px;
}

h4.caption-category {
    color: #fff;
    margin: 0;
}

.eight_sec_plx_portfolio_section .section-title h2,
.eight_sec_plx_portfolio_section .portfolio-description {
    color: inherit;
}

a.portfolio-viewall.bttn {
    border-color: #343434;
    color: inherit;
}

.eight_sec_plx_portfolio_section,
.eight_sec_plx_blog_section {
    background: #f6f6f6;
}

.team-wrap,
.team-wrap .team-image {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.category .page-title,
.single .page-title {
    font-size: 3em;
    margin-bottom: .75em;
}

.category-description p {
    margin-top: 0;
}

.category .entry-content {
    align-items: center;
    background-color: #fff;
    display: flex;
}

.category article .archive-content {
    margin-left: 1.75em;
    padding-left: 0;
    padding-right: 0;
}

.category article .archive-content>p {
    margin: 0;
}

.category article .entry-image {
    max-width: 200px;
    min-width: 200px;
}

.custom-info {
    line-height: 1.75em;
    margin-top: 1em;
}

.custom-info p {
    margin: 0;
}

.category hr {
    margin: 1.5em 0;
}

#map-container {
    align-items: center;
    display: flex;
    justify-content: center;
}

.footer-wrap {
    display: flex;
    justify-content: center;
}

.top-footer {
    padding-top: 40px;
    padding-bottom: 40px;
}

article .ed-readmore a {
    margin-top: 20px;
}

.ml-30 {
    margin-left: 30px;
}

.eight_sec_plx_about_section,
.eight_sec_plx_portfolio_section,
.eight_sec_plx_team_section,
.eight_sec_plx_blog_section,
.eight_sec_plx_contact_section {
    padding-top: 30px;
}

.blog-wrap .blog-content-img {
    display: flex;
    flex-direction: column;
    float: none;
}

.blog-content-img .blog-content-wrap {
    border-top: 1px solid #ddd;
    height: 100%;
}

.gm-blog-wrapper {
    display: flex;
    margin-bottom: 20px;
}

.team-wrap .team-content-img {
    float: none;
    margin: 20px 0;
    width: 127px;
}

.eight_sec_plx_cta_section,
.eight_sec_plx_cta_section:after {
    background: none;
}

.eight_sec_plx_cta_section .cta-description,
.eight_sec_plx_cta_section h2.cta-sec {
    color: inherit;
}

.site-header .ed-search-wrap .fa {
    color: #313131;
    padding-top: 0;
}

.site-header .ed-search-wrap .fa.fa-close {
    color: #fff;
}

.search-results .entry-footer {
    border-bottom: 0;
}


/*@media all and (max-width: 576px) {*/

@media all and (max-width: 768px) {
    #map-container,
    .team-wrap,
    .footer-wrap,
    .category .entry-content {
        flex-direction: column;
    }
    .footer-block {
        width: 100%;
    }
    .top-footer .footer-block:nth-last-of-type(2) {
        margin-bottom: 0;
    }
    .main-navigation .toggle-btn {
        outline: none;
        position: absolute;
        right: 5px;
        top: 5px;
    }
    .site-header .main-navigation ul {
        padding-top: 60px;
    }
    .main-navigation ul li a,
    .fixed .main-navigation ul li a {
        color: #fff;
    }
    .eight_sec_plx_contact_section .contact-form form p:nth-last-of-type(2),
    .eight_sec_plx_contact_section .contact-form form .ufbl-form-field-wrap.textarea {
        width: 100%;
    }
    .ml-30 {
        margin-left: 0;
    }
    article .entry-title {
        text-align: center;
    }
    .category article .archive-content {
        margin-top: 20px;
    }
    .eight_sec_plx_slider_section .slide-caption .caption-title {
        font-size: 1.25em;
    }
    .blog-wrap {
        display: flex;
        flex-wrap: wrap;
    }
    .blog-content-img .blog-content-wrap {
        height: 100%;
    }
}

@media screen and (max-width: 640px) {
    .eight_sec_plx_slider_section .slide-caption {
        display: block;
        margin-top: -30px;
    }
    .eight_sec_plx_slider_section .slide-caption .caption-title:after {
        margin: -5px auto;
    }
}

@media screen and (max-width: 540px) {
    .team-wrap {
        flex-direction: row;
    }
    .team-wrap .team-content-img {
        flex-basis: 33.33%;
        margin-left: 10px;
        margin-right: 10px;
    }
    .gm-blog-wrapper {
        display: block;
    }
}