/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* +-------------------
 * | Grid
 * +-------------------
 */

.esg-entry-cover {
    background: -moz-linear-gradient(top,rgba(0,0,0,0) 50%,rgba(0,0,0,0.83) 99%,rgba(0,0,0,0.85) 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(50%,rgba(0,0,0,0)),color-stop(99%,rgba(0,0,0,0.83)),color-stop(100%,rgba(0,0,0,0.85)));
    background: -webkit-linear-gradient(top,rgba(0,0,0,0) 50%,rgba(0,0,0,0.83) 99%,rgba(0,0,0,0.85) 100%);
    background: -o-linear-gradient(top,rgba(0,0,0,0) 50%,rgba(0,0,0,0.83) 99%,rgba(0,0,0,0.85) 100%);
    background: -ms-linear-gradient(top,rgba(0,0,0,0) 50%,rgba(0,0,0,0.83) 99%,rgba(0,0,0,0.85) 100%);
    background: linear-gradient(to bottom,rgba(0,0,0,0) 50%,rgba(0,0,0,0.83) 99%,rgba(0,0,0,0.85) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000',endColorstr='#d9000000',GradientType=0 );
}


/* +--------------------
 * | Contact Form 7 stylen
 * +--------------------
 */
 
.wpcf7-text, .wpcf7-textarea, .wpcf7-date, .wpcf7-number, .wpcf7-captchar {
  background-color: #eee !important; 
  border: none !important; 
  width: 100% !important; 
  -moz-border-radius: 0 !important; 
  -webkit-border-radius: 0 !important; 
  border-radius: 0 !important; 
  font-size: 14px; 
  color: #999 !important; 
  padding: 16px !important; 
  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
  box-sizing: border-box; 
} 
 
.wpcf7-submit {
  color: #2EA3F2 !important; 
  margin: 8px auto 0; 
  cursor: pointer; 
  font-size: 20px; 
  font-weight: 500; 
  -moz-border-radius: 3px; 
  -webkit-border-radius: 3px; 
  border-radius: 3px; 
  padding: 6px 20px; 
  line-height: 1.7em; 
  background: transparent; 
  border: 2px solid; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
  -moz-transition: all 0.2s; 
  -webkit-transition: all 0.2s; 
  transition: all 0.2s; 
}
 
.wpcf7-textarea {
  width: 85% !important;
}


/* +--------------------
 * | Custom Back To Top Button
 * +--------------------
 */
  
.et_pb_scroll_top.et-visible {
    opacity: 1;
    -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
}
  
.et_pb_scroll_top.et-pb-icon {
    right: 30px;
    bottom: 30px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 1);
    padding: 10px;
    color: #00264B;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.4);
}
  
  
.et_pb_scroll_top.et-pb-icon:hover {
    background: #fff;
}
  
.et_pb_scroll_top:before {
    content: "\32";
    font-weight: bold;
}


/* +--------------------
 * | Full Width Mobile Menu
 * +--------------------
 */
 
.et_mobile_menu {
    width: 100vw !important;
    margin-left: -12.5%;
}

/* +--------------------
 * | Ninja Forms
 * +--------------------
 */

.nf-form-fields-required {
    text-align: right;
}

.ninja-forms-form-wrap a {
  text-decoration: underline;
  font-weight: bold;
}



/* +--------------------
 * | Fix menu glitch
 * +--------------------
 */

#et_search_icon:hover, #top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a, 
.bottom-nav li.current-menu-item > a, .comment-reply-link, .entry-summary p.price ins, 
.et-social-icon a:hover, .et_password_protected_form .et_submit_button, .footer-widget h4, 
.form-submit .et_pb_button, .mobile_menu_bar::after, .mobile_menu_bar::before, 
.nav-single a, .posted_in a, .wp-pagenavi a:hover, .wp-pagenavi span.current {
  /* color: #2ea3f2; */
  color: #595959;
}



/* +--------------------
 * | Fix menu width
 * +--------------------
 */
#top-menu li li a {
  padding: 6px 10px;
  width: 240px;
}

#top-menu li li {
  padding: 0 10px;
}

.nav li ul {
  width: 260px;
}
