/*
 Theme Name:     Evergreen
 Theme URI:      http://www.evergreendesignstudio.com/
 Description:    Divi Child Theme
 Author:         Evergreen Design Studio
 Author URI:     http://www.evergreendesignstudio.com/
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */

#et-footer-nav {
    background-color: rgba(0,0,0,0.32);
}

/* Fonts */
.entry-content ul {
    line-height: 1.5em;
}

blockquote {
    margin: 5px 0 40px!important;
    padding: 20px!important;
    border-left: 10px solid #00828b!important;
    background-color: #efefef;
    font-size: 30px!important;
    line-height: 1.3!important;
    padding-bottom: 0!important;
}

.et_pb_post .post-meta, .et_pb_post .post-meta a {
    margin-bottom: 6px!important;
    font-size: 14px!important;
    line-height: 1.5!important;
    padding-bottom: 26px!important;
    text-align: left;
}

/* Adjustments to h fonts on mobile */
@media (max-width: 767px) {
    .et_pb_post h2 {
        font-size: 26px!important;
        margin-top: 0!important;
        padding-bottom: 10px;
    }
}

/* Single post styled like ET */
@media (min-width: 981px) {
    .et_full_width_page #left-area {
        width: 90%!important;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .container {
        width: 95%!important;
    }
}

h1.entry-title {
    text-align: center;
    font-size: 58px;
    padding-top: 40px;
}

.single-post #main-content {
    background: #f7f9fb;
}

.post-meta {
    text-align: center;
    margin-bottom: 80px;
}

p.post-meta, .post-meta a {
    font-size: 20px !important;
}

.single .et_pb_post {
    margin-bottom: 27px;
    box-shadow: 0px 20px 150px #d6dee4;
}

.et_pb_post .entry-content {
    padding: 40px;
    line-height: 28px;
}

/* This affects bloom form */
.et_pb_post .entry-content p:first-of-type {
    padding-top: 40px;
}

.et_pb_post .entry-content p {
    padding-bottom: 40px;
}

.with-border {
    border-radius: 4px;
    box-shadow: 0px 20px 150px #d6dee4;
}

ol.commentlist > li.comment, #respond {
    background-color: #fff !important;
    padding: 40px !important;
    box-shadow: 0px 20px 150px #d6dee4;
    margin-bottom: 80px;
}

h1#comments {
    margin-bottom: 40px;
}

h3#reply-title {
    font-size: 35px;
    letter-spacing: 0px;
}

.comment_area .comment-reply-link, .form-submit .et_pb_button {
    font-size: 14px;
    color: #71818c;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
    float: right;
    display: inline-block;
    padding: 8px 16px;
    background-color: #f7f9fb;
    border: 2px solid #e9eff5;
    position: inherit;
}

.form-submit .et_pb_button:hover {
    padding: 8px 16px;
}

.comment-reply-link.et_pb_button:hover:after {
    opacity: 0;
}

#commentform textarea {
    background-color: #f7f9fb;
    border: 2px solid #eff1f3;
    font-size: 18px;
    padding: 20px;
    color: #20292f;
}

.comment-body {
    padding: 0 0 0 100px;
}

@media only screen and (max-width: 768px) {
    h1.entry-title {
        font-size: 48px;
    }

    .et_pb_post .entry-content p {
        font-size: 16px!important;
        line-height: 1.5;
    }
}

/* And for Divi builder */
.single.et_pb_pagebuilder_layout.et_full_width_page #main-content .container {
    max-width: 960px!important;
}

.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper {
    width: 100%;
    padding-top: 0px;
}

.et_pb_pagebuilder_layout .entry-content, .et_pb_pagebuilder_layout .et_pb_post .entry-content {
    padding: 0 0 0;
}

/* Blog grid from 3 column to 2 column and other blog page edits */
@media only screen and (min-width: 981px) {
    .elegantdesign .et_pb_column .et_pb_blog_grid[data-columns]::before {
        content: '2 .column.size-1of2' !important;
    }

    .elegantdesign .et_pb_column .column.size-1of2 {
        width: 47% !important;
        margin-right: 6%;
    }
}

@media only screen and (max-width: 980px) {
    .elegantdesign .et_pb_column .et_pb_blog_grid[data-columns]::before {
        content: '2 .column.size-1of2' !important;
    }

    .elegantdesign .et_pb_column .column.size-1of2 {
        width: 100% !important;
        margin-right: 0%;
    }
}

#skew:before {
    content: '';
    -webkit-transform: skew(0, -7deg)!important;
    transform: skew(0, -7deg)!important;
    position: absolute;
    left: 0;
    right: 0;
    top: -120px;
    height: 340px;
    background: #ffffff;
}

.elegantdesign .entry-title {
    margin-top: 0px;
    padding-bottom: 20px;
}

.elegantdesign .et_pb_image_container {
    margin: -20px -40px 20px;
}

.elegantdesign .et_pb_blog_grid .et_pb_post {
    margin-bottom: 80px;
    width: 100%;
    padding: 40px;
    background-color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-shadow: 0px 20px 150px #d6dee4;
    border: none;
    text-align: center;
}

.elegantdesign .et_pb_post .post-meta {
    margin-bottom: 20px!important;
    text-align: center!important;
}

/* End blog page edits */

/* Read more button on blog page */
.elegantdesign a.more-link {
    font-size: 14px!important;
    font-weight: 800!important;
    color: #5cafb5 !important;
    text-transform: uppercase!important;
    margin-top: 26px!important;
    float: none!important;
    display: inline-block!important;
    padding: 8px 16px!important;
    background-color: #f7f9fb!important;
    border: 2px solid #e9eff5!important;
}

.elegantdesign a.more-link:hover {
    color: #8cc63f!important;
}

/* End read more */

/* Logo and menu size problem 1024 */
@media only screen and (min-width: 981px) {
    #logo {
        max-height: 64%!important;
    }
}

@media only screen and (min-width: 981px) {
    .et_pb_svg_logo #logo {
        height: 60%!important;
    }
}

@media only screen and (min-width: 981px) and (max-width: 1024px) {
    .et_fullwidth_nav #main-header .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* End logo size problem */

/* Filterable portfolio grid size from 4 to 3 
@media only screen and (min-width: 981px) {
    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item, .et_pb_gutters3 .et_pb_column_4_4 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item {
        width: 26.875%!important;
        margin: 0 5.5% 5.5% 0!important;
    }
}

 */

/* Hover effects on portfolio images 
.et_portfolio_image img {
    transition: all 0.2s ease-in-out 0s;
}

.et_portfolio_image:hover > img {
    transform: scale(1.1);
}

.et_pb_filterable_portfolio_grid .et_pb_portfolio_item.et_pb_grid_item {
    overflow: hidden;
}

#et-info {
    float: right;
}

.entry-content ul {
    line-height: 1.8em;
}

.tealcolor {
    color: #5cafb5 !important;
}

.tealcolor a:hover {
    background: #5cafb5 !important;
}
*/

/* Active menu item */
#top-menu li.current-menu-item > a, .et-fixed-header #top-menu li.current-menu-ancestor > a, .et-fixed-header #top-menu li.current-menu-item > a {
    font-weight: bold !important;
}

#main-nav {
    height: 100px!important;
}

/* Mobile menu background color */
@media only screen and (max-width: 980px) {
    #main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu {
        background-color: #ffffff!important;
    }

    .et_pb_pricing_table {
        width: auto!important;
    }
}

@media only screen and (max-width: 568px) {
    .et_pb_text {
        word-wrap: normal!important;
    }
}

/* Text on contact form captcha, message text, and submit button */
.et_contact_bottom_container {
    color: #000000;
}

#logo {
    width: 275px!important;
    height: 65px!important;
}

/* Links */
.entry-content a {
    color: #44bde1;
    font-weight: 900;
    letter-spacing: .01em;
}

.entry-content a:hover {
    color: #00828b!important;
}

/* Archive pages */
.et_pb_post {
    margin-bottom: 40px!important;
    border-bottom: #ccc 1px solid;
    padding-bottom: 30px;
}

.et_pb_post a img {
    padding-bottom: 20px;
}

/* Social warfare */
.nc_socialPanel a {
    color: #ffffff!important;
}

/* Category page */
h1.category_title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 46px;
    color: #444349!important;
}

.et_pb_post h2 a, .et_pb_portfolio_item h3 a {
    color: #44bde1 !important;
}

.et_pb_post h2 a:hover, .et_pb_portfolio_item h3 a:hover {
    color: #00828b!important;
}

#contact-dubsado .container.bg-transparent.ng-scope {
    background-color: blue !important;
    padding-left: 0;
    padding-right: 0;
}

/* WooCommerce */
.woocommerce div.product .product_title {
    font-size: 36px;
    text-align: left;
    font-weight: 600;
}

.woocommerce div.product p.price, .woocommerce-page div.product p.price {
    padding: 5px 0 20px 0;
}

.woocommerce button.button.alt, .woocommerce-page button.button.alt, .woocommerce button.button, .woocommerce-page button.button, .woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .woocommerce input.button, .woocommerce-page input.button, .woocommerce input.button.alt, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce a.button.alt, .woocommerce-page a.button.alt, .woocommerce a.button, .woocommerce-page a.button {
    color:#fff!important;
    padding: 10px;
    border: none;
    background: #00bbc1;
    text-transform: uppercase;
    transition: none;
}

.woocommerce button.button.alt:hover, .woocommerce-page button.button.alt:hover, .woocommerce button.button:hover, .woocommerce-page button.button:hover, .woocommerce #respond input#submit:hover, .woocommerce-page #respond input#submit:hover, .woocommerce input.button:hover, .woocommerce-page input.button:hover, .woocommerce-cart table.cart td.actions .coupon .input-text:hover, .woocommerce a.button.alt:hover, .woocommerce-page a.button.alt:hover, .woocommerce a.button:hover, .woocommerce-page a.button:hover {
    background: #8cc63f!important;
    color: #fff;
    padding: 10px;
    border: none;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
    height: 47px;
    background-color: rgba(0,0,0,0.5)!important;
}

.woocommerce .quantity input.qty, .woocommerce-page .quantity input.qty {
    height: 54px;
    background-color: rgba(0,0,0,0.5)!important;
}

.woocommerce .woocommerce-breadcrumb {
    visibility: hidden;
}

.woocommerce div.product div.summary, .woocommerce-page div.product div.summary {
    width: 45%;
}

.woocommerce a.button, .woocommerce-page a.button {
    color: #44bde1;
    text-transform: uppercase;
}

.woocommerce a.button:hover, .woocommerce-page a.button:hover {
    color: #8cc63f;
}

.woocommerce-message a.button.wc-forward {
    background: #444349;
    margin-right: 10px;
}

@media (max-width: 767px) {
    .woocommerce div.product div.summary, .woocommerce-page div.product div.summary {
        width: 90%;
        margin: auto;
    }

    .woocommerce div.product .product_title {
        font-size: 24px;
    }
}

/* Related posts */
.wp_rp_title {
    font-size: 15px!important;
    margin-top: 10px;
    line-height: 23px;
}

/* Portfolio */
.et_pb_filterable_portfolio .et_pb_portfolio_item.active, .et_pb_gallery_grid .et_pb_gallery_item {
    animation: none!important;
}

/* Adjusting the column width and styling for the filterable portfolio module */
#evergreenport .et_pb_portfolio_item {
    width: 46% !important; /* Adjust this value as needed */
    margin: 2% !important; /* Adjust the margin between items */
    background-color: white !important; /* Set the background color to white */
    border: 1px solid #ddd !important; /* Add a light grey border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important; /* Add a subtle shadow */
}

/* Ensuring responsiveness */
@media (max-width: 980px) {
    #evergreenport .et_pb_portfolio_item {
        width: 48% !important; /* Adjust for tablet */
        margin: 1% !important;
        background-color: white !important; /* Ensure background color is white on tablet */
        border: 1px solid #ddd !important; /* Ensure border on tablet */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important; /* Ensure shadow on tablet */
    }
}

@media (max-width: 768px) {
    #evergreenport .et_pb_portfolio_item {
        width: 100% !important; /* Adjust for mobile */
        margin: 0 0 2% 0 !important;
        background-color: white !important; /* Ensure background color is white on mobile */
        border: 1px solid #ddd !important; /* Ensure border on mobile */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important; /* Ensure shadow on mobile */
    }
}



/* Hiding reCAPTCHA badge */
.grecaptcha-badge { 
    visibility: hidden!important; 
}
