/*
 Theme Name:   JPotton
 Theme URI:    http://jpotton.wisegenius.co.uk
 Description:  Child theme based on Divi
 Author:       Susie Tobias	
 Author URI:   https://www.wisegenius.co.uk
 Template:     Divi
 Version:      1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
body {
	font-weight: 400;
}
cite {
	color: #8A3173;
	font-size: 18px;
	font-style: normal;
}
blockquote {
	border-left: 3px solid;
}
blockquote p {
	color: #C09D4B;
}
.entry-content a {
	font-weight: 700;
}
/*Main navigation*/
#main-header {
	box-shadow: 0 8px 6px -4px rgba(192, 157, 75, 1);
	padding-bottom: 20px;
	}
#top-menu li {
	border-right: 2px solid #C09D4B;
	padding-left: 22px;
}
#top-menu li:first-child {
	padding-left: 0;
}
#top-menu li:last-child {
	border-right: none;
}
.et_mobile_menu li a {
	font-size: 20px;
}
.et_header_style_centered #top-menu>li>a {
	padding-bottom: 0 !important;
}
.strapline {
	padding-bottom: 20px;
}
/* Homepage slider */
.et_pb_slide_image img{
	border-radius: 3px;
}
.full-image-slider .et_pb_slide {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.full-image-slider .et_pb_slide:first-child .et_pb_slide_image img.active {
 animation: unset !important;
}
.full-image-slider .et_pb_container {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}
.full-image-slider .et_pb_slide_image img {
  max-height: none !important;
  width: 100% !important;
}
.full-image-slider .et_pb_slide_image {
  margin: 0 !important;
  padding: 0 !important;
  top: 0 !important;
  position: relative !important;
  width: 100% !important;
  display: block !important;
    -webkit-animation-name: fade !important;
    -moz-animation-name: fade !important;
    -ms-animation-name: fade !important;
    -o-animation-name: fade !important;
    animation-name: fade !important;
}
.full-image-slider .et_pb_slider_container_inner {
  position: relative;
}
.full-image-slider .et_pb_slide_description {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right:  0 !important;
  padding: 0 !important;
  margin: 0 !important;
width: auto !important;
height: auto !important;
}
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper,
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper a,
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper a:hover {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
 color: rgba(0, 0, 0, 0) !important;  
  border: none !important;
  background: none !important;
}
/*.et_pb_column.et_pb_slider_fullwidth_off.full-image-slider .et_pb_slide_description .et_pb_slide_title,
.et_pb_column.et_pb_slider_fullwidth_off.full-image-slider .et_pb_slide_description .et_pb_slide_content,
.full-image-slider .et_pb_slide_description .et_pb_slide_title,
.full-image-slider .et_pb_slide_description .et_pb_slide_content {
  display: none;
}*/

/* Portfolio gallery */
.et_pb_gallery_title, .mfp-gallery .mfp-title {
	display: none;
}
/*Footer*/
#footer-widgets {
	padding: 2% 0 0;
}
.footer-widget {
	text-align: center;
}
.et_pb_widget {
	float: none;
}

/* Media Queries */	
@media (max-width: 980px) {
.et_header_style_centered .mobile_nav .select_page {
	font-size: 20px;
}
.strapline {
	padding-bottom: 0px;
}
.strapline h1 {
	font-size: 40px;
}
}
@media (min-width: 981px) {
.et_pb_gutters3 .footer-widget {
	margin-bottom: 2%;
}
}
@media (max-width: 767px) {
#footer-widgets .footer-widget .fwidget, #footer-widgets .footer-widget:nth-child(n), #footer-widgets .footer-widget:last-child {
	margin-bottom: 2% !important;
}
}
@media all and (max-width: 479px) {
.strapline h1 {
	font-size: 32px;
} 
}


