/*
Theme Name:     PDFM
Description:    Peterborough Downtown Farmers' Market theme, a child theme of Divi
Author:         Kellie Bonnici / Kebo Web Design / kebowebdesign.com
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

@import 'fonts/font-stylesheet.css';

/*
FONTS

headings  nexa_rust_sansblack
Script    nexa_rust_script_l0regular
NAV       nexa_boldregular
body      Lora

*/

/*--- always mods ---*/ 
 
#main-header {
    box-shadow: none !important;
    height: 162px;
}

#main-content .container:before {
	background-color: #fff !important;
}

/* google+ --> instagram icon */

div .et-social-icon.et-social-google-plus a.icon::before { 
	content: "\e09a" !important; 
}

div .et-social-google-plus a.icon::before { 
	content: "\e09a" !important; 
}

::-moz-selection { background: #e7c426 ; color: #fff; text-shadow: none; }
::selection { background: #e7c426 ; color: #fff; text-shadow: none; }

/*--- overall styles ---*/

/* headings */ 
h1, h2, h3, h5, h6, .et_pb_promo_button, .et_pb_button, .page-at-the-market .et_pb_blurb_container > h4 {
    font-family: nexa_rust_sansblack, Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif !important;}

.et_pb_post_title.et_pb_fullwidth_post_title_0.et_pb_bg_layout_dark.et_pb_featured_bg h1 {
    font-size: 42px !important;
    text-shadow: 1px 1px 5px #25261e;
}

.home h2 {
	font-size:36px;}
	
h2 {
	font-size:32px !important;
	font-weight:400;}

h2.entry-title > a {
    font-size: 28px;
}


h3 {
    font-size: 26px !important;
}

h3 a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease 0s;
    line-height: 1.5;
}

h3 a:hover {
    border-bottom: 1px solid rgba(9, 155, 234, 0.1);
}

.page-at-the-market  {
    font-size: 22px;
}
 
h4 {
	 font-family:nexa_rust_script_l0regular !important;
	 font-size:24px;
	 font-weight:normal;
	 }
	 
h4::after {
    content: "";
    display: block;
    height: 2px;
    margin: 8px 0 16px;
    width: 45px;
}	 
 
h4::after {
    background-color: #25261E;
}

.et_pb_bg_layout_dark h4::after {
    background-color: #fff;
}

.et_pb_text_align_center h4::after {
	    margin: 8px auto 16px auto;
}

.tags-title > span {
	font-family:Lora, Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", serif;
}

.entry-content a:hover {
    color: #099bea;
    text-decoration: none;
}

/* buttons */
		
.et_pb_promo_button, .et_pb_button {
	font-size:24px;
}

a.et_pb_promo_button, a.et_pb_button,
.et_button_no_icon .et_pb_button,
.et_button_no_icon .et_pb_button:hover,
.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button,
.et_button_no_icon.et_button_left .et_pb_button:hover {
	color: #fff;
    display: inline-block;
    margin-top: 20px !important;
    padding: 8px 24px !important;
}


.page-at-the-market .et_pb_blurb_content, .paper-bg {
    background: url("/images/paper-photo-background.jpg") no-repeat scroll 0 0;
    padding: 10px;
}

#main-footer {
    background-color: #34352e !important;
}

#footer-bottom {
    background: #fff url("/images/chicken-graphic.gif") no-repeat scroll center center;
}

p.site-credits {
	float:right;}

#footer-bottom p {
    font-size: 14px;
}

.container {
    max-width: 1080px;
    width: 95%;
}

/* lists */
#left-area ul, .entry-content ul, .comment-content ul, body.et-pb-preview #main-content .container ul {
    line-height: 26px;
    list-style-type: disc;
    padding: 0 0 23px 45px;
}

.et_pb_section.no-top-margin {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.et_pb_section.no-bottom-margin {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


.et_pb_section.less-top-margin {
    margin-top: 0 !important;
    padding-top: 25px !important;
}

.et_pb_section.less-bottom-margin {
    margin-bottom: 0 !important;
    padding-bottom: 25px !important;
}


/*--- HEADER ---*/ 

/*resize logo*/
#logo {
    max-height: 100%;
	margin:30px;
 }
 
.et_header_style_split .centered-inline-logo-wrap {
    height: 117px;
 /*   margin: -33px 0;
    transition: all 0.4s ease-in-out 0s;*/
}

li.centered-inline-logo-wrap[style] {
	width: 222px !important;
}

div .et_header_style_split .centered-inline-logo-wrap #logo {
    animation: 0s none 0s normal none 0 none none !important;
}

#top-header p#top-msg {
    display: inline-block;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.25 !important;
    margin-left: 10%;
    margin-top: -3px;
    padding-bottom: 5px !important;
    text-align: center;
    width: 79%;
}
	
/* nav */

#top-menu-nav li a {
	font-family:nexa_boldregular, Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	text-transform:uppercase;
	letter-spacing:1px;
	color:#25261E;
	font-weight:normal;	
	}

#top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a, .bottom-nav li.current-menu-item > a, .footer-widget h4 {
    color: #719322;
}

#top-menu li a:hover {
	color:#EB6727;}


.et_header_style_split #et-top-navigation nav > ul > li > a {
     padding: 12px;
}

div #top-menu .menu-item-has-children > a:first-child::after, div #et-secondary-nav .menu-item-has-children > a:first-child::after {
    top: 12px !important;
}

/*--- hero ---*/ 
 
.home #hero h2 {
    font-size: 60px !important;
    font-style: italic;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 1px 1px 5px #25261E;
	font-family:Lora, Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", serif !important;
}

#hero.et_pb_section {
    padding: 160px 0;
}


		

/*--- section dividers ---*/ 
 
/*---------------------------------------------------*/
/*------[Little Invisible Triangle - Quiroz.co]------*/
/*---------------------------------------------------*/
 
#et-main-area { overflow: hidden;} /* Hides all the items that float over the right margin */

.reveal-triangle:after,.reveal-triangle:before {
    content:'';
    position:absolute;
    bottom:0;
    width:50%;
    z-index:100;
    border-bottom:50px solid #EB6727;
    -moz-transform:rotate(0.000001deg);
    -webkit-transform:rotate(0.000001deg);
    -o-transform:rotate(0.000001deg);
    -ms-transform:rotate(0.000001deg);
    transform:rotate(0.000001deg);}
 
#events-eats:before, #map-section:before, .reveal-triangle:before, .green-below:before, .grey-below:before {
    right:50%;
    border-right:100px solid transparent;
    border-left:1000px solid;}
 
#events-eats:after, #map-section:after, .reveal-triangle:after, .green-below:after, .grey-below:after {
    left:50%;
    border-left:100px solid transparent;
    border-right:1000px solid;}
	
 
 /* triangle for white section below */
 
#events-eats:after, #events-eats:before, 
#map-section:after, #map-section:before {
    content:'';
    position:absolute;
    bottom:0;
    width:50%;
    z-index:100;
    border-bottom:50px solid #FFF;
    -moz-transform:rotate(0.000001deg);
    -webkit-transform:rotate(0.000001deg);
    -o-transform:rotate(0.000001deg);
    -ms-transform:rotate(0.000001deg);
    transform:rotate(0.000001deg);}
 
/* triangle for green section below */ 

.green-below:after, .green-below:before {
    content:'';
    position:absolute;
    bottom:0;
    width:50%;
    z-index:100;
    border-bottom:50px solid #7C9D2F;
    -moz-transform:rotate(0.000001deg);
    -webkit-transform:rotate(0.000001deg);
    -o-transform:rotate(0.000001deg);
    -ms-transform:rotate(0.000001deg);
    transform:rotate(0.000001deg);} 

/* triangle for grey section below */  

.grey-below:after, .grey-below:before {
    content:'';
    position:absolute;
    bottom:0;
    width:50%;
    z-index:100;
    border-bottom:50px solid #34352E;
    -moz-transform:rotate(0.000001deg);
    -webkit-transform:rotate(0.000001deg);
    -o-transform:rotate(0.000001deg);
    -ms-transform:rotate(0.000001deg);
    transform:rotate(0.000001deg);}   
	
/*--- home - events + eats ---*/ 

.tri-above.et_pb_section {
    padding-bottom: 130px;
    padding-top: 30px;
}

#events-eats img {
    margin: 56px 10px 0 0;
}

.et_pb_section.light-bg {
    background-color: rgba(230, 217, 201, 0.5);
}

/*--- News + Events ---*/

.page-at-the-market  .et_pb_blurb_container > h4::after {
    height: 0;
    margin: 0;
    width: auto;
}

.page-at-the-market  .et_pb_blurb_container > h4 {
    text-align: center;
	font-size:30px;
}

.page-at-the-market  .et_pb_main_blurb_image {
    margin-bottom: 10px;
    text-align: center;
}

#news-events .et_pb_image_container, #news-events .et_pb_blog_grid .et_main_video_container, #news-events .et_pb_blog_grid .et_audio_content, #news-events .et_pb_blog_grid .et_pb_post .et_pb_slider {
    margin: -10px -10px 10px;
}

#news-events .et_pb_blog_grid .et_pb_post {
    background: rgba(0, 0, 0, 0) url("/images/paper-photo-background.jpg") no-repeat scroll 0 0;
    border:none;
}

/*--- map ---*/ 

.et_pb_column_1_2 .et_pb_map_container.paper-bg .et_pb_map {
    height: 340px;
		border:1px solid #D3D0C9;
}

.et_pb_column_1_2 .et_pb_map_container.paper-bg {
     background: url("/images/paper-photo-background.jpg") no-repeat scroll 0 0;
    padding: 10px;
}

.infowindow > p {
	font-family:Lora, Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", serif !important;
    line-height: 1.7;
}

.infowindow a {
    text-decoration: underline;
}

/*--- footer ---*/ 
 
#text-3 .textwidget {
    margin: 65px 13%;
}

/*--- Vendor App Form ---*/

#vendor-form-content .et_pb_row, .single-col-content .et_pb_row {
    max-width: 850px;
    width: 95%;
}
 
.help-block {
    font-size: 15px;
    font-style: italic;
}

#caldera_form_1 .row {
    background-color:  rgba(230, 217, 201, 0.5);
    margin: 40px 0;
    padding: 55px 65px;
}

.caldera-grid label {
    margin-bottom: 0 !important;
}

.caldera-forms-conditional-field .form-group {
    margin-left: 40px;
    width: 80%;
}

.form-section-heading {
    margin-bottom: 24px;
}

.form-section-heading p {
    font-style: italic;
}

.caldera-grid .col-xs-1, .caldera-grid .col-sm-1, .caldera-grid .col-md-1, .caldera-grid .col-lg-1, .caldera-grid .col-xs-2, .caldera-grid .col-sm-2, .caldera-grid .col-md-2, .caldera-grid .col-lg-2, .caldera-grid .col-xs-3, .caldera-grid .col-sm-3, .caldera-grid .col-md-3, .caldera-grid .col-lg-3, .caldera-grid .col-xs-4, .caldera-grid .col-sm-4, .caldera-grid .col-md-4, .caldera-grid .col-lg-4, .caldera-grid .col-xs-5, .caldera-grid .col-sm-5, .caldera-grid .col-md-5, .caldera-grid .col-lg-5, .caldera-grid .col-xs-6, .caldera-grid .col-sm-6, .caldera-grid .col-md-6, .caldera-grid .col-lg-6, .caldera-grid .col-xs-7, .caldera-grid .col-sm-7, .caldera-grid .col-md-7, .caldera-grid .col-lg-7, .caldera-grid .col-xs-8, .caldera-grid .col-sm-8, .caldera-grid .col-md-8, .caldera-grid .col-lg-8, .caldera-grid .col-xs-9, .caldera-grid .col-sm-9, .caldera-grid .col-md-9, .caldera-grid .col-lg-9, .caldera-grid .col-xs-10, .caldera-grid .col-sm-10, .caldera-grid .col-md-10, .caldera-grid .col-lg-10, .caldera-grid .col-xs-11, .caldera-grid .col-sm-11, .caldera-grid .col-md-11, .caldera-grid .col-lg-11, .caldera-grid .col-xs-12, .caldera-grid .col-sm-12, .caldera-grid .col-md-12, .caldera-grid .col-lg-12 {
	padding:0 !important;}


/*--- At the market ---*/

.intro {
    font-size: 28px;
    line-height: 1.6;
}

#fruit-veg {
    background: rgba(0, 0, 0, 0) url("/images/backgrounds/fruit-veggie.gif") repeat scroll 0 0;
}

#dairy-meat {
    background: rgba(0, 0, 0, 0) url("/images/backgrounds/farm-animals.gif") repeat scroll 0 0;
}

#honey-syrup {
    background: rgba(0, 0, 0, 0) url("/images/backgrounds/honey.gif") repeat scroll 0 0;
}

#flowers-plants {
    background: rgba(0, 0, 0, 0) url("/images/backgrounds/flowers.gif") repeat scroll 0 0;
}

#prep-foods {
    background: rgba(0, 0, 0, 0) url("/images/paper-photo-background.jpg") repeat scroll 0 0;
}

#baked-goods {
    background: rgba(0, 0, 0, 0) url("/images/paper-photo-background.jpg") repeat scroll 0 0;
}

#artists {
    background-color: #EB6727;
}

/*--- BLOG ---*/

.et_pb_widget_area_left {
    border-right: medium none;
    padding-right: 0;
}

.category-title-container #category-tag-header, .category-title-container .entry-title {
    text-align: center;
}

.category-title-container {
    background-color: #F2ECE4;
    padding: 25px 26px 50px 0;
}

#main-content .category-title-container .container::before {
    background-color: transparent !important;
}
 
#sidebar #recent-posts-2, #sidebar #archives-2 {
    margin-top: 50px;
}  

#mytag {
    font-family: nexa_boldregular;
    font-size: 14px;
    margin: 30px 0 0;
    text-transform: uppercase;
	transition: all 0.2s ease 0s;
}

#mytag a {
    background-color: #7c9d2f;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 0 2px;
    padding: 2px 4px 1px;
}

#mytag a:hover {
    background-color: #556E19;
}

/* vendor map */
div .i4ewOd-pzNkMb-haAclf {
    background-color: #7c9d2f !important;
}

 
/*----------------------------
-------  MOBILE STYLES -------
----------------------------*/

@media only screen and (max-width: 479px) {
    .et_pb_post_title.et_pb_fullwidth_post_title_0.et_pb_bg_layout_dark.et_pb_featured_bg h1 {
        font-size: 34px !important;
    }
}

@media only screen and (min-width: 480px) {
}

@media only screen and (min-width: 480px) and (max-width: 980px) {
}

@media only screen and (max-width: 767px) {
}

@media only screen and (min-width: 768px) {
}

@media only screen and (max-width: 980px) {
	p.site-credits {
		float:none;
		text-align:center;}

	.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
		padding-bottom: 0px !important;
	 }
}

