/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   William Buist
Template: Divi
*/

@import url("../Divi/style.css");

/* External links indicator using Font awsome */

a.extlink:after {
    font-family: 'FontAwesome';
    content: " \f08e";
}

/*fix custom post types */
 
.et_pb_pagebuilder_layout.single-event #page-container .et_pb_row {
width: 100%;
}
.et_pb_pagebuilder_layout.single-event #page-container .et_pb_with_background .et_pb_row {
width: 80%;
}
 
.et_pb_pagebuilder_layout.single-owner_led #page-container .et_pb_row {
width: 100%;
}
.et_pb_pagebuilder_layout.single-owner_led #page-container .et_pb_with_background .et_pb_row {
width: 80%;
}


#event-title .et_pb_title_container {
  padding-top: 20px !important;  
}


.spacedli li {
  margin-top: 20px;
}

.whitelink {
  color:white;
  text-decoration: underline;
}

.wb-bot-space {
  padding-bottom: 20px;
}

.wb-top-space {
  padding-top: 20px;
}

.entry-content a:hover {
  text-decoration: underline;
}


.entry-content {
  margin-bottom: 20px;
}

.comments-area {
 padding-top: 10px;
}

h3.comment-count-area {
  padding-top: 0px;
  font-size: 17px;
}

/* home page fix */
.et_pb_blog_grid .et_link_content, .et_pb_blog_grid .et_quote_content
{
  display: none !important;
}

#top-menu li.current-menu-item > a {
  color : #8e3939;
}

#et-info {
 float: right;
}

#et-secondary-menu {
  padding-right: 10px;
}


/* .et_pb_section_video_bg * video {
* width: 100%;
* } 
*/

.pound .percent-value:before { content:'£';}

.hero-section {
  margin-top: -200px;
  padding-top: 320px;
  padding-bottom: 270px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  max-height: 500px;
  background-color: #333;
}

.single-post #main-content .container {
  padding-top: 0px;
  background: #ffffff;
}

/* ---- left-column Settings ---- */
.single-post #main-content #left-area {
  padding-top: 0px;
  background: #ffffff;
}
 
/* ---- Sidebar Settings ---- */
.single-post #sidebar {
  background: #efefef; 
  padding-top: 20px; 
  padding-right: 20px; 
  padding-left: 20px; 
  padding-bottom: 20px;
  height: 100%; 
}
 
/* ---- Standard Post Title & Post Meta ---- */
.single h1.entry-title,.attachment h1.entry-title, .single p.post-meta {
width: 100%;
text-align: center;
padding-left: 8px;
padding-right: 8px;
font-weight: 800;
text-transform: uppercase;
color: #fff;
}

p.post-meta a {
  color:#fff;
  text-decoration: underline;
}
 
 @media only screen and (min-width: 980px) {
/*** Set title font size for desktop ***/
.single h1.entry-title {
font-size: 40px !important;
}
 }

.et_post_meta_wrapper img {
    margin-top: -60px;
    background: #fff; 
    outline: 6px solid #ffffff !important; 
    z-index: 100; 
    margin-bottom: -25px;
}

@media only screen and (min-width: 980px) {
 /*** elevate the video to overlap the hero section ***/
.single-post.single-format-video .et_main_video_container {
  top: -60px; 
  background: #fff; 
  outline: 6px solid #ffffff !important;    	  
  z-index: 100; 
  margin-bottom: -80px;}
}

/* ----- Add Background Image to the Audio Player & Change size of the player ----- */
body.single .et_audio_content, .blog .et_audio_content {
	margin-bottom: 0px !important;
	height: 120px !important;
	background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.9)), url('/wp-content/uploads/2017/05/Soundwave-player-image.png');
	background-repeat: no-repeat;
	background-size: cover;
    margin-top: 0px;
    outline: 6px solid #ffffff !important; 
    z-index: 100; 
    margin-bottom: 0px; }
 
/* ---- Hide the Duplicate Audio Player  ------ */
div#mep_1 {
  display:none;
}

.et_quote_content, .et_link_content {
background: #602828;
    margin-top: -60px;
    outline: 6px solid #ffffff !important; 
    z-index: 100; 
    margin-bottom: 0px;
}
 
/* ---- Add the Quotation Symbol to the Quote Box ---- */
  
.et_quote_content blockquote p::before {
font-family: Cardo;
position: absolute;
top: 16px;
left: 5%;
margin-left: -16px;
border-radius: 31px;
background: rgba(255, 255, 255, .0);
font-size: 70px;
color: #fff;
content: "\201C" !important;
}
 
.quoteattrib {
  font-size: 15px;
  font-style: italic;
  padding: 8px;
  border: 1px solid white;
}

/* ---- Link Symbol on the right side ---- */
.et_link_content::before {
font-family: "ETmodules";
position: absolute;
top: 38%;
left: 5%;
margin-right: -26px;
border-radius: 31px;
background: rgba(255, 255, 255, .0);
font-size: 48px;
color: #fff;
content: "\e02c";
}

/* ---- Text Format Inside of quote ---- */
@media only screen and (min-width: 980px) {
.single-post.single-format-quote blockquote p {
font-size: 30px !important;
font-weight: 600 !important;
}
}

.et_link_content a.et_link_main_url { font-size: 21px; font-weight: 600; color: #fff !important;}

/* ---- Position & Style the Gallery to Overlap the Featured Image ---- */
  
@media only screen and (min-width: 980px) {
  .single-post #main-content #left-area {
  min-height: 1050px;
  }
  
.et_post_gallery {
z-index: 100;
position: relative;
border-top: 6px solid #fff !important;
border-left: 6px solid #fff !important;
background: #fff !important;
}
 
/* ---- Set Background Color, Margins & Padding for the Gallery Image ---- */
  
.et_gallery_item { margin: 0 0 0 0 !important;}
  
.et_gallery_item {
width: 33.3%;
margin: 0 0% 0% 0 !important;
padding-right: 8px !important;
background: #fff !important;
padding-bottom: 8px !important;
}
}

.widget_text {
  border : 2px solid #602828;
  border-radius : 10px;
  padding: 12px;
  text-align: center;
}

hr.fade {
    border: 0;
    height: 1px;
    opacity: 80;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}

.mauticform-row {
  padding-bottom:0px;
}

.mauticform-input {
	padding: 0.5em 0.5em !important;
}

.more-link {
font-size: 25px;
padding-top: 5px;
padding-bottom: 7px;
max-width: 80%;
text-align: center;
margin-left: auto;
margin-right: auto;
display: block;
background-color: #602828;
color: white;
border-radius: 10px;
font-variant: small-caps;
}

.post-content p {
 margin-bottom: 20px;
}

.comment-reply-title span {
  display:none;
}

.comment-reply-title::before {
  content: 'Join the conversation:';
}

.epoch-comment-author-avatar img {
  margin-top : 0px;
}

p.message.active {
  color: white;
}

/* Author Box CSS */

.author_box {

}

.social_box {
  float:left;
  font-weight: bold;
  font-size: 18px;
}

.author_bio_section{
margin-top:20px;
}
 
.author_name{
font-size:16px;
font-weight: bold;
color: white;
background-color:#602828;
padding-left: 10px;
padding-right:20px;
width: 300px;
height: 40px;
line-height: 40px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}

.author_social {
  font-size:30px;
}
 
.author_details {
border: 1px solid #602828;
min-height: 120px;
background: none repeat scroll 0 0 #F5F5F5;
padding: 15px;
border-top-right-radius: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
font-size: 15px;
 }
 
 .author_links{
  font-size: 11px;
 }
 
.author_details img {
border: 1px solid #D8D8D8;
border-radius: 50%;
float: left;
margin: 0 10px 10px 0;
}



/* Style Footer Credits - Lines 948 & 949 */

#footer-info { 
text-align: left; 
color: green; 
padding-bottom: 10px; 
float: left; 
}

#footer-info a { 
font-weight: 700; 
color: yellow; 
}

#footer-info a:hover { 
color: pink; 
}


/* Style Footer Social Icons - Lines 1185 to 1198 */

#footer-bottom .et-social-facebook a {
	color: blue;
}
#footer-bottom .et-social-twitter a {
	color: powderblue;
}
#footer-bottom .et-social-google-plus a {
	color: red;
}
#footer-bottom .et-social-rss a {
	color: orange;
}

/* Hover Colors*/
#footer-bottom .et-social-facebook a:hover {
	color: pink;
}
#footer-bottom .et-social-twitter a:hover {
	color: pink;
}
#footer-bottom .et-social-google-plus a:hover {
	color: pink;
}
#footer-bottom .et-social-rss a:hover {
	color: pink;
}

.wbbutton {
    background-color: #602828;
    border: none;
    color: white !important;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 10px;
}


.product_title {
  font-size: 20px !important;
  color:#602828 !important;
}

.audit_section {
	color: red;
}

.audit_section h2 {
	color: blue;
	font-variant: small-caps;
}

.gsurvey-rating:not(:checked) > label, .gsurvey-rating:not(:checked) > label:hover, 
.gsurvey-rating:not(:checked) > label:hover ~ label, .gsurvey-rating:not(:checked) > label, 
.gsurvey-rating:not(:checked) > label:hover, .gsurvey-rating:not(:checked) > label:hover ~ label, 
.gsurvey-rating > input:checked ~ label {
    width: 65px;
    line-height: 50px;
    background-size: 50px 50px;
	color: rgba(221, 221, 221, 0) !important;
}