/*
Theme Name: Divi Child
Version: 1.0
Description: A child theme of Divi
Author: PWS Developer
Template: Divi
*/

@import url("../Divi/style.css");
#main-header #top-menu li a {
    font-weight: 600;
    padding-left: 5px;
    padding-right: 5px;
}

#main-header #top-menu li a:hover {
    color: #0f70b8;
}

#main-header #top-menu li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #0f70b8;
    transition: width .3s;
}

#main-header #top-menu li a:hover::after {
    width: 100%;
}

#main-content .et-pb-controllers a {
    width: 10px;
    height: 10px;
    margin-right: 5px;
}

.listIcon ul {
    list-style: none;
    padding: 5px 0 0 0;
}

.listIcon ul li {
    list-style: none;
    background: url(img/Tick-Icon.png) no-repeat 0 10px;
    padding: 2px 0 2px 30px;
}

.h2Heading h2 span {
    display: block;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1px;
}

.servicesCta {
    padding: 35px;
}

.servicesCta a {
    font-size: 14px;
    font-weight: 700;
    padding-top: 30px;
    display: inline-block;
}

.getInTouch .et_pb_blurb_description p span a {
    color: #ffffff;
    font-weight: 400;
}
.getInTouch .et_pb_blurb_description p span a:visited {
    color: #ffffff;
    font-weight: 400;
}

.getInTouch .et_pb_blurb_description p span {
    padding-left: 20px;
    margin-right: 20px;
    font-weight: 700;
}

.getInTouch .et_pb_blurb_description {
    padding-top: 20px;
}

.getInTouch .et_pb_blurb_description p span:first-child {
    background: url(img/call-icon.png) no-repeat 0 center;
}

.getInTouch .et_pb_blurb_description p span:last-child {
    background: url(img/Mail-Icon.png) no-repeat 0 center;
}

#footer-widgets .footer-widget ul li {
    padding-bottom: 10px;
    padding-left: 0;
}

#footer-widgets .footer-widget ul li a:hover,
#footer-widgets .footer-widget ul li.current-menu-item a {
    color: #0f70b8;
    text-decoration: underline;
}

footer#main-footer .footer-widget h4 {
    padding-bottom: 25px;
}

footer#main-footer .footer-widget:nth-child(2) a {
    padding: 5px 0;
    display: inline-block;
}

#footer-widgets .footer-widget li:before {
	display:none;
}

/*footer#main-footer .footer-widget:nth-child(2) a:last-child {
    margin-left: 10px;
}*/

#main-footer {
    position: relative;
}

#footer-info .footer-right {
        font-weight: 400;
        float: right;
}
#footer-info{
    width: 100%;
    text-align: left;
}

#main-footer::before {
    background: url(img/Footer-Logo-Icon.png) no-repeat 0 0;
    position: absolute;
    content: "";
    top: -50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    z-index: 9;
}

.innerHeading h1 {
    position: relative;
}

.innerHeading h1::after {
    position: absolute;
    background: #ffffff;
    width: 50px;
    height: 3px;
    left: 0;
    right: 0;
    content: "";
    bottom: 0;
    margin: 0 auto;
}

#contact-form .gfield_description.validation_message {
    padding-top: 0;
}

#contact-form input.text,
#contact-form input.title,
#contact-form input[type=email],
#contact-form input[type=password],
#contact-form input[type=tel],
#contact-form input[type=text],
#contact-form select,
#contact-form textarea {
    border-color: #dadada;
    margin-top: 0px;
}

#contact-form .gform_wrapper .gform_footer input[type=submit] {
    background: #0f70b8;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
    cursor: pointer;
}

#contact-form .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #000000;
}

#contact-form .gform_wrapper .gform_footer {
    padding-top: 0px;
}

#contact-form .gform_wrapper div.validation_error {
    color: #790000;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0px;
    border: none;
    padding: 10px 0 0 0;
    clear: both;
    width: 100%;
    text-align: center;
}

#contact-form .gform_wrapper li.gfield.gfield_error, 
#contact-form .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background: none;
    margin-bottom: 0px!important;
    border: none;
    padding-bottom: 0px;
    padding-top: 0px;
}

#contact-form .gform_wrapper textarea.medium {
    height: 120px;
}

/********** Testimonial Heading/Arrow Hide **********/

.wptww-testimonial-content h4,
.wptww-testimonials-slidelist button.slick-arrow {
    display: none !important;
}

/********** Testimonial Heading Hide **********/


/********** Testimonial Dot BgColor/Border Color **********/

.wptww-testimonials-slidelist .slick-dots li button {
    border-color: #a5a5a5;
}

.wptww-testimonials-slidelist .slick-dots li.slick-active button {
    background: #0f70b8 !important;
    border-color: #0f70b8 !important;
}

/********** Testimonial Dot BgColor/Border Color **********/


/********** Testimonial Img Border Radius **********/

img.wptww-circle {
    border-radius: 0 !important;
}

/********** Testimonial Img Border Radius **********/


/********** Testimonial Job Color **********/

.wptww-testimonial-job {
    color: #0f70b8;
    padding: 5px 0 25px 0;
}

/********** Testimonial Job Color **********/


/********** Testimonial Author Font Size **********/

.wptww-testimonial-author {
    font-size: 18px;
}

.wptww-testimonials-text em:before,
.wptww-testimonials-text em:after {
    display: none;
}

/********** Testimonial Author Font Size **********/

/******* Home slider *******/
#Home-pre.et_pb_slider .et_pb_container {
    width: 90%;
}
#Home-pre .et_pb_slide_title {
    display: inline-block;
    padding-bottom: 30px;
}
#Home-pre .et_pb_slide_content {
    padding: 0;
}

@media (min-width:981px) {

    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
        width: 23.875%;
        margin-right: 1.5%;
        margin-bottom: 2.5%;
    }
}

@media (max-width:980px) {
    .myBtn .et_pb_button_module_wrapper {
        text-align: center;
    }
    .getInTouch h3.et_pb_module_header,
    .getInTouch .et_pb_blurb_description {
        text-align: center !important;
    }
    .getInTouch .et_pb_blurb_description p span {
        display: inline-block;
    }
}

@media ( min-width: 768px) and (max-width:980px) {
    #our-projects .et_pb_column .et_pb_grid_item:nth-child(n),
    #current-projects .et_pb_column .et_pb_grid_item:nth-child(n),
    #tendering-projects .et_pb_column .et_pb_grid_item:nth-child(n) {
        width: 23.875% !important;
        margin-right: 1.5% !important;
        margin-bottom: 2.5% !important;
    }
    #our-projects .et_pb_column .et_pb_grid_item:nth-child(3n+1),
    #current-projects .et_pb_column .et_pb_grid_item:nth-child(3n+1),
    #tendering-projects .et_pb_column .et_pb_grid_item:nth-child(3n+1) {
        clear: unset;
    }
    #our-projects .et_pb_column .et_pb_grid_item:last-child,
    #current-projects .et_pb_column .et_pb_grid_item:last-child,
    #tendering-projects .et_pb_column .et_pb_grid_item:last-child {
        margin-right: 0 !important;
    }
}
@media (max-width: 768px){
    #footer-info .footer-right {
    float: none;
    display: block;
}
#footer-info {
    text-align: center;
}
.servicesCta a {
    padding-top: 0;
}
}
@media ( max-width: 640px) {
    span.name_first input {
        margin-bottom: 8px;
    }
    a.ft-mail {
        word-break: break-all;
    }
}

@media ( min-width: 480px) and (max-width:767px) {
    #main-footer #footer-widgets {
        padding-top: 12.5%;
    }
    #footer-widgets .footer-widget {
        width: 47.5% !important;
    }
    #footer-widgets .footer-widget:nth-child(2n+1) {
        margin-right: 5% !important;
    }
}

@media (max-width:479px) {
    #main-footer .et_pb_widget {
        float: none;
        text-align: center;
    }
    #main-footer #footer-widgets {
        padding-top: 25%;
    }
    .getInTouch .et_pb_blurb_description p span {
        margin: 0;
        font-size: 13px;
    }
    .getInTouch .et_pb_blurb_description p span:last-child {
        background-position: left 6px;
        word-break: break-all;
    }
    .et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
        min-height: 48px;
    }
}

@media (max-width:359px) {
    .mobileWidth > div {
        width: 94%;
    }
}