/*
   Theme Name:     CHCC Custom Theme
   Theme URI:      https://www.elegantthemes.com/gallery/divi/
   Description:    Divi Child Theme
   Author:         Matthew Anderson
   Author URI:     http://pattirowlson.com/
   Template:       Divi
   Version:        1.0.0
*/

/* Use main Divi styles as base stylesheet */
@import url("../Divi/style.css");

/* Various style changes for website links */
body .et_pb_text_inner a, body .entry-content a {
   font-weight: normal;
   text-decoration: underline;
}
.et_pb_text_inner h1 a, .et_pb_text_inner h2 a, .et_pb_text_inner h3 a, .et_pb_text_inner h4 a, .et_pb_text_inner h5 a, .et_pb_text_inner h6 a, ul a, ol a {
   text-decoration: none;
}
body .widget_recent_entries ul a {
   font-weight: normal;
}
body a:hover {
   text-decoration: underline;
}
a.et_pb_button:hover {
   text-decoration: none;
}

/* Style changes for person images */
.et_pb_team_member_image {
	max-width: 100px;
	float: left;
	margin: 0 10px 0 0;
}
.et_pb_team_member .et_pb_team_member_image {
	float: left;
	margin: 0 10px 0 0;
}

/* Change blockquote style */
blockquote {
	font-style: italic;
}

/* Fix for right widget area (sidebar) cutting off right side of content. Also remove border. */
.et_pb_widget_area_left {
     padding-right: 0px;
     border: none;
}

/* Styling for Ninja Forms input */
.ninja-forms-form-wrap input,
.ninja-forms-form-wrap select,
.ninja-forms-form-wrap textarea {
     font-size: 18px;
     padding: 10px;
     border: none;
     background: #f5f5f5;
}

/* Options for frontpage section headers */
.frontpage_sectionlink1 h2 a {
   background: #600000;
   padding: 5px 10px;
}
.frontpage_sectionlink1 h2 a:hover {
   background: #fff;
   color: #600000;
   padding: 5px 10px;
   text-decoration: none;
}
.frontpage_sectionlink2 h2 {
   width: 100%;
   background: #ccc;
   padding: 10px 15px;
}
.frontpage_sectionlink3 h2 {
   width: 100%;
   background: #600000;
   padding: 10px 15px;
}

/* Change style of images with captions */
.wp-caption {
    max-width: 96%;
    margin-bottom: 0px;
    padding: 15px;
    border: none;
    background-color: #f5f5f5;
    text-align: left;
}

/* Change style to update list appearance */
/*
.et_pb_text_inner ul {
   margin: 1em;
}
*/
.widget_recent_entries ul {
     margin: 1em;
     list-style: disc !important;
}
.widget_recent_entries ul li a {
     text-decoration: none;
}

/* Make search bar in footer span the width of the container */
.footer-widget .et_pb_widget {
   width: 100%;
}

/* Hide certain widgets on mobile (uses CSS Widget Classes plugin) */
@media only screen and (max-width:480px) {
   .hideonmobile {
      display: none !important;
   }
}