/*
Theme Name: DiviKid
Theme URI: http://barrelomonkeyz.com/
Description: a Divi child theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
Version: 1.0.0
Project:
Colors:
*/

.blogs-page a {
    transition: .3s;
}

.sidebar-wrapper a,
.blogs-page a:hover {
    color: #19558a;
}

.blogs-page {
    padding-bottom: 3rem;
    min-height: calc(100vh - 298px);
}

.blogs-page h1 {
    font-weight: 700;
    font-size: 34px !important;
    text-align: left;
    margin-bottom: 2rem;
}

.blog-item {
    display: flex;
    padding: 0 0 3.5rem 0;
    margin-bottom: 3.5rem;
    border-bottom: 3px solid #2ea3f2;
}

.blogs-wrap .blog-item:last-child{
    border-bottom: 0;
}

.blog-item>.image {
    width: 30%;
    height: 173px;
    position: relative;
    overflow: hidden;
}


.blog-item>.image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .3s;
    position: absolute;
    top: 0;
    left: 0;
}

.blog-item>.image:hover img {
    transform: scale(1.02);
}


.blog-item>.text {
    width: 70%;
    padding-left: 2rem;
}

p.meta {
    font-style: italic;
    font-weight: 600;
    padding-bottom: .5rem;
}

a.read-more {
    font-weight: 600;
    display: block;
    margin: 1em 0 0;
}

a.read-more::after {
    content: '»';
    display: inline-block;
    transition: .3s;
}

a.read-more:hover::after {
    padding-left: .3rem;
}

.blog-item h2 {
    font-weight: 600;
    font-size: 20px;
}

.blog-item h2 a {
    color: #0545a6;
}


@media(max-width: 767px) {

    .blog-item {
        flex-direction: column;
    }

    .blog-item>.image,
    .blog-item>.text {
        width: 100%;
        padding: 2rem 0 0;
    }

    .blog-item>.image {
        height: 200px;
    }
}

.sidebar-wrapper h4 {
    font-size: 20px;
    margin-bottom: .1rem;
    font-weight: 600;
    color: #00274a;
}

.sidebar-wrapper .et_pb_widget {
    border: 1px solid #e5e5e5;
    padding: 1.3rem 1rem 1.2rem;
    margin-bottom: 2rem;
    background: #fcfeff;
}

.category.et_left_sidebar #main-content .container:before,
.blog.et_left_sidebar #main-content .container:before{
    display: none;
}
.single-post .et_pb_post {
    display: flex;
    flex-wrap: wrap;
}

.single-post .et_pb_post .image {
    width: 30%;
}

.single-post .et_pb_post h1 {
    font-weight: 600;
    color: #0545a6;
    font-size: 20px;
}

.single-post .et_pb_post .main-content-wrapper {
    width: 70%;
    padding: 1rem 0 0 3rem;
}

.single-post .et_pb_post .entry-content {
    padding-top: 15px;
}

/* brands page  */

.brands-head {
    font-weight: 600;
    margin: 5rem 0 1rem;
    text-align: center;
}

.brands-group {
    display: flex;
    flex-wrap: wrap;
    list-style: none !important;
    margin: 0 -15px;
    padding: 0 !important;
}

.brands-group li {
    width: 16.6% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.brands-group li .brand {
    display: flex;
    height: 100%;
    padding: .8rem;
    box-shadow: 0 0 11px 2px rgba(128, 128, 128, 0.259);
    width: 100%;
    align-items: center;
    justify-content: center;

}

.brands-group li .brand img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wp-block-column .brands-group:last-child{
    margin-bottom: 3rem;
}

@media(max-width:920px) {

    .single-post .et_pb_post .image,
    .single-post .et_pb_post .main-content-wrapper {
        width: 100%;
        padding-left: 0;
    }

    .brands-group li {
        width: 33.33% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }
}

@media(max-width:575px) {

    .brands-group li {
        width: 50% !important;
    }
}


/* tabs  */
/* ul.tabs {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

ul.tabs li {
    background: none;
    color: #222;
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
}

ul.tabs li.current {
    background: #ededed;
    color: #222;
}

.tab-content {
    display: none;
    padding: 15px;
}

.tab-content.current {
    display: inherit;
} */

/* sidebar */

@media (min-width: 981px){
.et_left_sidebar #sidebar {
    padding-right: 0 !important;
}
#left-area {
    width: 72% !important;
    margin-left: 2%;
}
#sidebar {
    float: left;
    width: 26% !important;
}
/* our blog content */

.et_left_sidebar #left-area {
    padding-left: 0 !important;
}

}


