/*
 Theme Name:   Divi Starter
 Theme URI:    http://3.7designs.co
 Description:  Starter for Divi projects 
 Author:       3.7 Designs
 Author URI:   http://3.7designs.co
 Template:     Divi
 Version:      1.0.0
 */
/* ----- HEADER ------- */
span.logo_helper {
    display: inline-block;
    vertical-align: bottom;
	height: 138px;
}
#logo {
    max-height: 125% !important;
    position: relative;
}
#top-menu li {
    padding-right: 12px;
}
#top-menu li.current-menu-item>a{
	color:#b1ae6c;
}
#top-menu li a:hover{
	color:#81a896;
}
#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after{
	display:none;
}
#et-secondary-nav .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {
    padding-right: 0;
}
.nav li ul {
    padding: 0;
	max-width:320px;
}
#et-info, #et-secondary-menu>ul>li a {
    display: block;
    background: #a8c7b8;
    font-weight: 900;
    font-size: 12px;
    padding: 7px 11px;
    font-family: 'Open Sans Condensed',Impact,'Arial Narrow',San-serif;
}
/* ----- SUBPAGE HEADER ------ */
.subpage-nav.et_pb_fullwidth_menu .fullwidth-menu-nav>ul{
	padding:0 !important;
}
.subpage-nav ul li a {
    background-color: black;
    margin-top: 0;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}
.subpage-nav .fullwidth-menu .menu-item-has-children>a:first-child:after{
	display:none;
}
.subpage-nav .fullwidth-menu .menu-item-has-children>a:first-child{
	padding-left:20px;
}
/* --- SIDEBAR ---- */
 span.post-date {
    display: block;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
}
h4.widgettitle, h4.widgettitle a {
    font-size: 18px;
    color: #81a896;
    line-height: 22px;
    text-decoration: none;
}
.et_pb_bg_layout_light .et_pb_widget li a {
    color: #000;
    font-weight: bold;
}
.et_pb_widget ul li {
    margin-bottom: 0;
    padding: 0 0 5px 0;
}
/* --- RESOURCES ----- */
.resources ul{
	list-style-type:none;
}
.resources ul li:after{
	content:"»"
}
.resources li a {
	text-decoration:underline;
}
.resources h4{
	text-transform:uppercase;
}

/*---- FOOTER ------- */
#main-footer .container {
     background: url(https://cecchetti.37build.com/wp-content/uploads/footer-box.gif) repeat-y;
}
#footer-widgets .footer-widget li:before {
	border-width: 0;
}
#footer-widgets h4.title {
    margin-left: 14px;
}
#main-footer #footer-bottom .container {
    background: #ffffff;
    border-top: 1px solid #666666;
    padding: 10px 0 0 0;
}
/*--- WOO CHANGES -------- */
div#woocommerce_product_categories-2 {
    width: 100%;
}
div#woocommerce_product_categories-2 ul.product-categories li {
    display: inline-block;
}
ul.product-categories li a {
    text-decoration: none;
    padding: 2px 10px;
}
#woocommerce_product_categories-2 h4.widgettitle {
    width: 10%;
    float: left;
    line-height: 20px;
}
#main-content .container:before{
	display:none;
}

.et_pb_column .woocommerce ul.products li.product:nth-child(n){
	min-height: 270px;
}

/*------ DECLAN PDF CSS--- */
.pdf-download {
    display: block;
    background: #d8d88b;
    color: #000;
    border: 1px solid #c7c77a;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 15px;
    text-decoration: none;
}


.featured-member, 
.cca-event{
	padding:15px;
}

.read-more{
	font-weight: 800;
	color:#54574b;
	font-family: 'Open Sans Condensed',Impact,'Arial Narrow',Arial,san-serif;
    text-transform: uppercase;
}


.cca-event h6{
	padding-bottom: 0px;
}
.cca-event .date{
	margin-bottom: 10px;
	font-size: 12px
}

.widget_recent_entries ul li{
	margin-bottom: 10px;
}
.widget_recent_entries ul li a{
	font-size: 16px;
	font-family: 'Open Sans Condensed',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 800;
}
.month-separator{
	text-transform: none;
    font-size: 24px;
    margin: 1.25em auto;
    text-align: center;
    position: relative;
    background-color: #0000;
    z-index: 1;
    display: block;
}
.month-separator:after{
	content: "";
    border-bottom: 1px solid #c2c2c2;
    height: 1px;
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
}
.month-separator span{
	background-color: #fff;
    padding: 0 7.5%;
}

.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

.events-event-meta{
	background: #fafafa;
    border: 1px solid #eee;
    margin: 30px 0;
    margin: 15px 0 20px;
    padding: 4% 0;
}
.events-event-meta:after{
	content:'';
	display: table;
	clear:both;
}

.events-event-meta .events-meta-group{
	box-sizing: border-box;
    display: inline-block;
    float: left;
    margin: 0 0 20px;
    padding: 0 4%;
    text-align: left;
    vertical-align: top;
    width: 33.3333%;
    zoom: 1;
}

.events-event-meta .events-meta-group dd {
    margin: 0px 0px 10px;
}

#left-area ol, .comment-content ol, 
.entry-content ol, 
body.et-pb-preview #main-content .container ol {
    padding: 0 0 23px 0;
    line-height: 26px;
    list-style-position: outside;
    list-style-type: decimal;
    padding-left: 15px;
}

.gform_button {
    position: relative;
    padding: .3em 1em;
    border: 2px solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: 0 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em!important;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    color: #b1ae6c;
    font-weight: 600;
}
.gform_button:after {
	text-shadow: 0 0;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
	position: absolute;
    margin-left: -1em;
    opacity: 0;
    font-family: ETmodules;
    font-size: 32px;
    line-height: 1em;
    content: "\35";
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

.gform_button:hover{
	cursor: pointer;
	color: #2ea3f2;
	padding: .3em 2em .3em 1em;
    border: 2px solid transparent;
    background: rgba(0,0,0,0.05);
}

.gform_button:hover:after{
	margin-left: 0;
	opacity: 1;
}

@media screen and (max-width: 1199px){
	#main-footer .container{
		background:#e5e9da;
	}
	.fullwidth-menu li {
	    display: inline-block;
	    font-size: 14px;
	    padding-right:0px;
	    margin-right: 20px;
	}
	.fullwidth-menu li:last-of-type{
		margin-right: 0px;
	}
	.fullwidth-menu li ul{
		right:0px;
	}
}

@media screen and (max-width: 980px){
	#et-secondary-menu, 
	#et-secondary-nav {
	    display: inline-block!important;
	}
	.et_secondary_nav_only_menu #top-header{
	    display:block!important;
	}
	#et-secondary-menu {
	    float: none;
	    position: absolute;
	    top: 0;
	    right: 14%;
	    z-index: 999999;
	    display: block!important;
	}
	
	.et_pb_fullwidth_menu .fullwidth-menu-nav {
	    display: block;
	}
	
	.fullwidth-menu {
	    display: block;
	    text-align: right!important;
	}
	
	.et_mobile_nav_menu {
	    display: none;
	}
}



@media screen and (max-width:768px){
	.events-event-meta .events-meta-group{
		float: none;
		width: 100%;
	}
}

@media screen and (max-width: 480px) { 
	.fullwidth-menu li {margin-right:5px !important;}
	.fullwidth-menu li a {padding: 8px !important;}
}

/* Large screens (1405px upwards) */
@media only screen and ( min-width: 1405px ) { 
    /* your css goes here */
}

/* Laptops and desktops (1100-1405px) */
@media only screen and ( min-width: 1100px ) and ( max-width: 1405px) { 
    /* your css goes here */
}

/* Tablets in landscape mode (981-1100px) */
@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) { 
    #main-header {width:102%;}
}

/* Tablets in portrait mode (768-980px) */
@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {
    /* your css goes here */
}

/* Smartphones in landscape mode (480-768px) */
@media only screen and ( min-width: 480px ) and ( max-width: 767px ) {
    /* your css goes here */
}

/* Smartphones in portrait mode (0-479px) */
@media only screen and ( max-width: 479px ) {
    /* your css goes here */
}