/*
Theme Name: Carterton Events Centre theme
Theme URI: http://carterondc.co.nz/
Version: 1.0
Description: Created by Nectarine for Carterton Events Centre, Carterton Aotearoa New Zealand
Author: Nectarine - Minty and Bek
Author URI: http://nectarine.co.nz
Template:     Divi
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
*/

/* make the error messages on the booking form more prominent */
#booking-form .et-pb-contact-message{color:red!important;}
.et_pb_contact p .et_contact_error {
	border: 2px solid red !important;
}

.custom-html-widget {
    margin-bottom: 40px;
}


@media (max-width: 980px){
	.footer-widget {
		margin: auto!important;
		display: block!important;
		float: none;
		text-align: center;
	}
	.widget_custom_html{float:none!important;}
	.et_pb_gutters1 .footer-widget:nth-child(n) {
		width: 100%!important;
	}
}

.footer-logo img{
	padding-left:10%;padding-right:10%;

}

#footer-widgets {border-top:4px double #eee; margin-top:20px;}

#footer-widget{margin-bottom:20px!important;}
#footer-bottom {padding-top: 40px;}
/* style the footer menus! */
.ecFooterMenu p a:hover{border-bottom:1px dashed #999;}

@media (min-width: 981px){
	.ecFooterMenuFirst {padding-left:20%;min-width:200px;}
}

.et_bloom .et_bloom_optin .et_bloom_border_solid, .et_bloom .et_bloom_optin .breakout_edge.et_bloom_border_solid .et_bloom_form_header { border: 4px solid #7ab8c9!important; }
.et_bloom .et_bloom_inline_form { margin-top: 0px!important;}

/* the light grey was disappering on some screens, so add a darker border */
input, textarea {
    border: 1px solid #ddd!important;
}
.et_pb_contact p input[type=checkbox]+label i {
    border: 1px solid #ccc;
}


@media only screen and (min-width: 768px) {
	#whatsOn .et_pb_post{min-height:560px!important;}
	#whatsOnNoExcerpt .et_pb_post{min-height:368px!important;}
}
@media only screen and (min-width: 980px) {
	#whatsOnNoExcerpt .et_pb_post{min-height:374px!important;}
}
@media only screen and (max-width: 980px) {
	#whatsOn .et_pb_post{margin-bottom:20px!important;margin-right:10px!important;}
}
#whatsOn h2{font-size:16px!important;}

/* Font rendering */
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* h4 font size of 18 looked strange on PC */
h4 {
    font-size: 16px!important;
    font-weight: 600!important;
}
h1.section-header , h3 {
    font-weight: 600;
    color: #555!important;
}
h1, h2{
font-weight: 600; color: #555;
}
blockquote {padding: 15px 25px;}

h3.et_pb_gallery_title {display: none;}

.XbookingsMenu a{padding-bottom:10px; border-bottom:2px solid #ccc;}

#galleryShowcase h4.et_pb_module_header {
    border-left: 3px solid #7AB9C8;
    padding-left: 10px;
	min-height: 58px;
	margin-bottom:5px;
}

/* colour the current menu selection light blue */
#main-header .nav li ul li.current-menu-item a { color: #acd8ec;}

/* wider drop menu */
#top-menu li li a{width: 280px;}
.nav li ul {width: 310px;}

/* give links in content a hover bottom border 
#content-area p a:hover {border-bottom: 1px dashed #999;}*/

#homeBlurbs h4.et_pb_module_header {min-height: 60px;}

.et_fullscreen_slider .et_pb_slides, .et_fullscreen_slider .et_pb_slide, .et_fullscreen_slider .et_pb_container {
    min-height: 100% !important;
    height: 100% !important;
}


/* stop page jumping on loading */
@media only screen and (min-width: 980px) {
	#page-containerX {padding-top: 183px!important;}
	#main-headerX {top: 0px !important;}
}

/* don't restrict the blurb width at mobile/tablet size!! */
.et_pb_blurb_content {
    Xmax-width: 750px!important;
}




/* remove dividing line under menu */
#main-header{
    -webkit-box-shadow:none !important;
    -moz-box-shadow:none !important;
    box-shadow:none !important;
} 

.et-pb-contact-message {
    color: #333 !important;
    font-size: 18px;
    letter-spacing: 1px;
}

