/*
  Theme Name: TWC-Divi-Child-Theme
  Theme URI: https://thewebcompany.digital/
  Version: 1.0.0
  Template: Divi
  Author: Balpreet Saran
  Author URI: https://thewebcompany.digital/
  Text Domain: twc-divi-child-theme
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*** Global Styling ****/
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0 0 20px 0;
}
h1, h2, h3, h4, h5, h6 { 
    color: #403438; 
}
h1 { font-size: 30px; line-height: 42px; }
h2 { font-size: 24px; line-height: 36px; }
h3 { font-size: 18px; line-height: 30px; font-weight: 400; }
h4 { font-size: 14px; line-height: 26px; margin-bottom: 9px; }
h5 { font-size: 12px; line-height: 18px; margin-bottom: 2px; }
h6 { font-size: 11px; line-height: 18px; text-transform: uppercase; margin-bottom: 2px; }

button, input, select, textarea { 
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
}

/**** Header Styling ****/
header #menu .et_pb_menu__menu {
    float: right;
}
header #menu .et_pb_menu__menu nav {
    border-bottom: 1px solid #f0eced;
}
header #menu .et_pb_menu__menu nav > ul > li.current_page_item > a, header #menu .et_pb_menu__menu nav > ul > li.current-menu-ancestor > a, header #menu .et_pb_menu__menu nav > ul > li:hover > a {
  color: #403438 !important;
  border-bottom: 4px solid #208ac7;
}
header #menu .et_pb_menu__menu nav > ul > li {
    padding: 0 12px;
}
header #menu .et_pb_menu__menu nav > ul > li:first_child {
    padding-left: 0 !important;
}
header #menu .et_pb_menu__menu nav > ul > li:last_child {
    padding-right: 0 !important;
}
header #menu .nav li ul {
    border-top: 0px;
}
header #menu .et-menu a, header #menu .et-menu a:hover, header #menu .et-menu li, header #menu .et-menu li:hover {
    -webkit-transition: none;
    transition: none;
    opacity: 1;
}
header #menu .et-menu .menu-item-has-children>a:first-child {
    padding-right: 0;
}
header #menu .et-menu .menu-item-has-children>a:first-child:after {
    display: none;
}
header #menu .et_pb_menu__menu nav > ul > li > ul {
    border-left: 1px solid #f0eced;
    border-right: 1px solid #f0eced;
    border-top: 1px solid #f0eced;
    width: 245%;
    padding: 0;
}
header #menu .et_pb_menu__menu nav > ul > li > ul > li {
    border-bottom: 1px solid #f0eced;
    padding: 10px 20px;
    width: 100%;
}
header #menu .et_pb_menu__menu nav > ul > li > ul > li > a {
    width: 100%;
    padding: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 1em;
}
header #cta-bar .cta {
    font-size: 30px;
    color: #7E7E7E;
    text-transform: uppercase;
    padding: 25px 0;
    float: left;
}
header #cta-bar .logos {
    float: right;
}
header #cta-bar {
    float: clear;
}
img.size-full {
    display: block;
    margin: 0 auto 0;
    width: 100%;
}
#testimonials .et_pb_testimonial:before {
    display: none;
}
#testimonials .et_pb_testimonial {
    background: none;
    padding: 0;
    font-size: 16px;
    line-height: 23px;
}
#testimonials .et_pb_testimonial_0 .et_pb_testimonial_content, #testimonials .et_pb_testimonial_2 .et_pb_testimonial_content, #testimonials .et_pb_testimonial_0 .et_pb_testimonial_author::before, #testimonials .et_pb_testimonial_2 .et_pb_testimonial_author::before {
    background: #208AC7;
    color: #fff;
}
#testimonials .et_pb_testimonial_1 .et_pb_testimonial_content, #testimonials .et_pb_testimonial_1 .et_pb_testimonial_author::before {
    background: #f0eced;
    color: #333;
}
#testimonials .et_pb_testimonial_content {
    position: relative;
    padding: 25px 30px 10px;
    font-size: 16px;
    line-height: 23px;
    font-style: italic;
    font-weight: 300;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
#testimonials .et_pb_testimonial_author {
    display: block;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    margin-left: 60px;
    margin-top: 5px;
}
#testimonials .et_pb_testimonial_author::before {
    content: " ";
    position: absolute;
    display: block;
    background: #208AC7;
    width: 15px;
    height: 20px;
    margin-left: -30px;
    margin-top: -6px;
    background-color: #3498db;
    /* Coordinates: Top Center, Bottom Right, Bottom Left */
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.about-section > div:before {
    content: "";
    width: 70px;
    display: block;
    border-top: 7px solid #f0eced;
}
.about-section h2 {
    font-size: 60px;
    line-height: 60px;
    margin: 9px 0 10px -5px;
    font-weight: 600;
    letter-spacing: -1px;
}
.about-section .et_pb_blurb_description {
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    margin: 0 0 25px;
    color: #ad9c9d;
}
.service-section .et_pb_button {
    margin-top: 10px;
    color: #fff;
    background-color: #208ac7;
    text-transform: uppercase;
    padding: 12px 23px;
    font-size: 14px;
    line-height: 14px;
    display: block;
    width: 125px;
    border: 0;
}
.service-section .et_pb_button:hover {
    background-color: #403438;
    padding: 12px 23px;
    border: 0;
}
.service-section .et_pb_button:hover:after {
    display: none;
}

/**** Renovations Page styling ****/
#renovations table {
    padding: 0 20px;
    margin: 20px 0;
    width: 100%;
}
#renovations table tr {
    border-top: 1px solid rgb(240, 236, 237);
}
#renovations table img {
    width: 200px;
    height: 200px;
    padding: 10px;
}
/**** Gallery Setting ****/
#TB_caption {
    height: 40px;
}