/**handles:divi-style**/
/*
Theme Name: Divi Child Theme
Version: 1.0
Description: Custom styles for Divi parent theme.
Author: Mindflint
Author URI: https://mindflint.com
Template: Divi
*/

/* TEXT */
.et_pb_text h2 a {color:#569ad3;}
.et_pb_text a, .et_pb_blurb a {border-bottom:1px solid #569ad3}
.et_pb_text a:hover, .et_pb_blurb a:hover {color:#3f80b3; border-bottom:none;}


/* HEADER */

#logo {-webkit-transform: initial;}
.nav li li { line-height: 1.4em; }

    /*** style the menu button ***/
    .nav-contact a {
    color: #569ad3 !important;
        line-height: 9px;
        font-weight: 600;
        padding: 13px 16px !important;
        text-transform: uppercase;
        border-radius: 50px;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        display: block;
        transition: all .5s ease;
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        border: 2px solid #569ad3;
    }
    .nav-contact a:hover {
        opacity: 1 !important;
        color: #fff !important;
        background-color: #569ad3;
    }
    .et-fixed-header #top-menu .nav-contact a:hover {
        background-color: #569ad3;
        color:#fff !important;
        border: 2px solid #569ad3;
    }
    .et-fixed-header #top-menu .nav-contact a {
        color: #569ad3 !important;
        border: 2px solid #569ad3;
    }
    .et-fixed-header.et_highlight_nav #top-menu .nav-contact a {
        background-color: #569ad3;
        border: 2px solid #569ad3;
        animation: highlight-nav .8s ease;
        -webkit-animation: highlight-nav .8s ease;
    }
    #main-header.et-fixed-header.et_highlight_nav #top-menu .nav-contact a:hover {
        background-color: #569ad3;
        border: 2px solid #569ad3;
    }
    /*** style the mobile menu links and button ***/
    @media (max-width: 980px) {
    .et_mobile_menu li {
        text-align: center;
    }
    .et_mobile_menu li a {
        border-bottom: none;
    }
    .et_mobile_menu li a:hover {
        background-color: transparent;
        opacity: 1;
        color:#569ad3 !important;
    }
    .nav-contact a {
    border-bottom: 2px solid #569ad3 !important;
    }
    }

/* HOME */
.cc-testimonial-slider .name {font-size:18px; font-weight: bold; padding-bottom: 0;}
.cc-testimonial-slider .title {font-size:12px; text-transform: uppercase; letter-spacing: 2px; padding-bottom: 0;}

/* THREE COLUMN PORTFOLIO GRID LAYOUT */

@media only screen and ( min-width: 768px ) {
    .three-column-grid .et_pb_grid_item {
    width: 28.333% !important;
    margin: 0 7.5% 7.5% 0 !important;
    }

    .three-column-grid .et_pb_grid_item:nth-child(3n) {
    margin-right: 0 !important;
    }

    .three-column-grid .et_pb_grid_item:nth-child(3n+1) {
    clear: left;
    }

    .three-column-grid .et_pb_grid_item:nth-child(4n+1) {
    clear: unset !important;
    }
}

/* FOOTER */
#footer h4 {text-transform: uppercase; font-size:14px; font-weight: bold; letter-spacing: 1px; color:#569ad3;}
#footer ul {list-style-type: none; padding-left:0; font-size:13px;}
#footer a {color:#fff; border-bottom: none;}
#footer a:hover {color:#569ad3;}
#footer-bottom {display: none;}