/*
Theme Name: Divi Child Theme
Version: 1.0
Description: Custom styles for Divi parent theme.
Author: MINDFLINT
Author URI: https://mindflint.com
Template: Divi
*/

/* REPLACE #D40029 WITH YOUR ACCENT COLOR */

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

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

    /*** style the menu button ***/
    .nav-contact a {
    color: #D40029 !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 #D40029;
    }
    .nav-contact a:hover {
        opacity: 1 !important;
        color: #fff !important;
        background-color: #D40029;
    }
    .et-fixed-header #top-menu .nav-contact a:hover {
        background-color: #D40029;
        color:#fff !important;
        border: 2px solid #D40029;
    }
    .et-fixed-header #top-menu .nav-contact a {
        color: #D40029 !important;
        border: 2px solid #D40029;
    }
    .et-fixed-header.et_highlight_nav #top-menu .nav-contact a {
        background-color: #D40029;
        border: 2px solid #D40029;
        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: #D40029;
        border: 2px solid #D40029;
    }
    /*** 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:#D40029 !important;
    }
    .nav-contact a {
    border-bottom: 2px solid #D40029 !important;
    }
    }

.gradient-overlay:before { content:""; position:absolute; z-index:1; background:inherit; top:0; bottom:0; width:100%; } .gradient-overlay .et_pb_row { z-index:2 !important; } .gradient-overlay { background-color: transparent; }

/* SECTIONS */
.subpage-header a {color:#fff; border-bottom:1px dashed #fff; text-decoration: none;}
.subpage-header a:hover {color:#fff; border-bottom: 1px solid #fff;}

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

/* MISC */
.fluid-width-video-wrapper {padding-top: 450px !important;}
.resume-upload {padding:8px;background:#fff;}