/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

.d-flex{
    display: flex;
}

.color-white {
    color: white;
}

/* =============================================
CUSTOM HEADER
================================================*/

.custom-header .d-flex{
    align-items: center;
}

.custom-header .d-flex img{
    margin-right: 7px;
}

.custom-header .menu-items .et_pb_text_inner{
    display: flex;
    justify-content: center;
}

.custom-header .menu-items .et_pb_text_inner #top-menu{
    padding-left: 0;
}

.custom-header .mobile_menu_bar {
    position: absolute;
    top: -160px;
    right: 0;
}

/* =============================================
HOME
================================================*/

#qualifications .et_pb_text .et_pb_text_inner h3{
    display: flex;
}

#testimonials .item{
    border: 1px solid white;
    padding: 20px 30px;
    text-align: center;
    color: white;
    font-size: 15px;
    font-style: italic;
}

#testimonials .testimonial-data{
    margin-bottom: 15px;
}

#testimonials .testimonial-data::before{
    content: "";
    width: 40px;
    height: 1px;
    display: block;
    background-color: white;
    margin: 0 auto;
    margin-bottom: 5px;
}

#testimonials .testimonial-data::after{
    content: "";
    width: 40px;
    height: 1px;
    display: block;
    background-color: white;
    margin: 0 auto;
    margin-top: 5px;
}

#testimonials .testimonial-data .testimonial-name p{
    font-size: 16px;
    font-weight: bold;
}

#testimonials .testimonial p{
    line-height: 23px;
}

#testimonials .owl-stage {
    display: flex;
}

#testimonials .owl-item {
    display: flex;
    flex: 1 0 auto;
}

.custom-carousel .owl-theme .owl-nav {
    display: block !important;
}

.custom-carousel .owl-prev{
    position: absolute;
    top: 40%;
    left: -45px;
}

.custom-carousel .owl-next{
    position: absolute;
    top: 40%;
    right: -45px;
}

.custom-carousel .fas{
    font-size: 28px;
    color: white;
}

.custom-carousel .owl-nav button{
    background: none !important;
    color: initial;
}

#blog-home{
    display: flex;
    flex-wrap: wrap;
}

#blog-home .each-post{
    width: 33.3333%;
    padding: 0 20px;
}

#blog-home .post-container{
    background-color: white;
}

#blog-home .post-content-container{
    padding: 10px 15px;
    text-align: center;
}

#blog-home .post-content-container .imagem-post{
    max-height: 215px;
    overflow: hidden;
}

#blog-home .post-content-container .content{
    padding: 12px 0;
}

#blog-home .post-content-container .content p{
    font-size: 14px;
    line-height: 23px;
    font-style: italic;
}

#blog-home .post-content-container .titulo-post {
	display: flex;
	flex-wrap: wrap;
	flex-grow: 1;
}

#blog-home .post-content-container .titulo-post h3{
    font-size: 20px;
    font-style: italic;
    color: #878787;
}

#blog-home .post-content-container .blog-home-button{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
}

#blog-home .post-content-container .blog-home-button i{
    margin-left: 7px;
}

#blog-home .imagem-post {
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

#blog-home .imagem-post img {
    object-fit: cover;
}

.header-home .header-content h1{
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: pre-wrap;
}

.header-home .header-content h1 img{
    margin-left: 12px;
}

/* =============================================
SERVICES
================================================*/

.documents-table tr td{
    border-top: none;
}

.documents-table table{
    border: none;
    padding: 4px 24px;
}

/* =============================================
BUDGET
================================================*/

.send-table tr td{
    padding-bottom: 15px;
}

.send-table tbody tr:last-child td{
    padding-bottom: 0px;
}

.send-table table{
    margin-bottom: 0;
}

/* =============================================
CONTACT
================================================*/
.et_pb_text_inner svg{
    width: 20px;
    margin-bottom: -3px;
    margin-left: 2px;
    fill: green;
}


.message-form form input,
.message-form form textarea{
    background-color: #f4f4f4;
    border: none;
    height: 45px;
    padding-left: 20px;
    font-style: italic;
    width: 100%;
    font-size: 15px;
}

.message-form form textarea{
    height: unset;
}

.message-form form .wpcf7-submit{
    color: white;
    text-transform: uppercase;
    background-color: #003d36;
    font-weight: bold;
    font-style: unset;
    padding: 10px 20px;
    height: unset;
    cursor: pointer;
    width: unset;
}

/* =============================================
TABLE
================================================*/

.btn a{
    color: #003d36;
    border-width: 2px;
    border-color: #003d36;
    font-size: 17px;
    background-color: rgba(0,0,0,0);
    transition: all 300ms ease 0ms;
    border: 2px solid;
    padding: 8px 16px;
    border-radius: 3px;
}

.btn a:hover{
    color: #ffffff!important;
    border-color: #ffffff!important;
    background-image: initial!important;
    background-color: #003d36!important;
}

/* ===========================================
BLOG
============================================ */

#blog-template .each-post {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

#blog-template .each-post:last-child {
    margin-bottom: 0;
}

#blog-template .post-image {
    width: 35%;
    border-radius: 6px;
    max-height: 150px;
    overflow: hidden;
}

#blog-template .post-image img {
	max-width: unset;
    max-height: unset;
	
}

#blog-template .post-content {
    width: 65%;
    padding-left: 30px;
}

#blog-template .post-content .post-title h3 {
    color: #003d36;
    font-size: 21px;
    font-weight: bold;
    font-style: italic;
}

#blog-template .post-content .post-description p {
    font-size: 15px;
    line-height: 1.6em;
}
#blog-template .post-content .author-name p {
    font-size: 14px;
    color: black;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 10px;
}

/* ===========================================
SIDEBAR
============================================ */

#custom-sidebar .sidebar-image {
    background-image: url(/wp-content/uploads/2020/03/1.png);
    height: 480px;
    background-position: center;
    padding: 20px 15px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-repeat: no-repeat;
    background-size: cover;
}

#custom-sidebar .sidebar-image a {
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
}

/* ===========================================
POST
============================================ */

.a2a_svg {
    border-radius: 50% !important;
}

.post-thumb .et_pb_image_wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-thumb .et_pb_image_wrap img {
    width: 100%;
}

#post-content {
    width: 70% !important;
}

#side-bar-blog {
    width: 24.5% !important;
}

.wp-block-table {
    margin-top: 30px;
}

.wp-block-table table tr td {
    padding: 6px 0px 6px 10px;
    border-bottom: 1px solid #003d36;
}

.wp-block-table table tr td:first-child {
    border-right: 1px solid;
}


.wp-block-table table {
    border: 1px solid #003d36;
}

/* =============================================
FOOTER
================================================*/

#footer-widgets{
    display: flex;
    align-items: center;
    padding-top: 50px;
}

#footer-widgets .footer-widget{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

#footer-widgets .footer-widget #media_image-2{
    margin-bottom: 0;
}

#footer-widgets .footer-widget #media_image-2 img{
    width: 90%;
}

#footer-widgets .footer-widget #text-3 .d-flex{
    align-items: center;
    font-size: 13px;
}

#footer-widgets .footer-widget #text-3 .d-flex img{
    margin-right: 10px;
}

#footer-widgets #text-2{
    text-align: center;
    font-size: 16px;
}

#footer-widgets #text-2 svg {
    width: 20px;
    margin-bottom: -5px;
    fill: green;
}

#footer-bottom .container{
    display: flex;
    justify-content: center;
}

b.tel-font-lg {
    font-size: 18px;
}

b.footer-tel-lg {
    font-size: 18px;
}

/* =============================================
RESPONSIVE
================================================*/

@media (max-width: 991px){
    #footer-widgets{
        display: inherit;
    }

    .custom-header .mobile_menu_bar {
        position: absolute;
        top: -160px;
        right: 0;
    }

    #post-content,    
    #side-bar-blog {
        width: 100% !important;
    }
}

@media (max-width: 767px){
    #blog-home{
        flex-direction: column;
    }

    #blog-home .each-post{
        width: 100%;
        padding: 0;
        margin-bottom: 35px;
    }

    #blog-home .each-post:last-child{
        margin-bottom: 0;
    }

    #footer-widgets{
        padding-bottom: 0;
    }

    .custom-header .mobile_menu_bar {
        top: -132px;
    }

    #blog-template .each-post {
        flex-direction: column;
    }

    #blog-template .post-image,
	#blog-template.services .post-image {
        width: 100%;
        max-height: 191px;
        margin-bottom: 15px;
    }

    #blog-template .post-content,
	#blog-template.services .post-content {
        width: 100%;
        padding-left: 0px;
    }
	
	#blog-template.services .each-post {
    	margin-bottom: 40px;
	}

}
