/*
 Theme Name:   Mantra Child
 Theme URI:    https://carlsbadcommunitygardens.org/mantra-child/
 Description:  Mantra Child Theme
 Author:       Jack Grieshaber
 Author URI:   https://www.thewordpressway.com/
 Template:     mantra
 Version:      1.0.2
 Text Domain:  mantrachild
*/

/** Begin font-family changes to general content Aug 9, 2022 JMG **/
#access, #content, #content h1.entry-title a, #content h2.entry-title a, #content h1.entry-title, #content h2.entry-title, #front-text1 h2, #front-text2 h2, #front-text3, #front-text4, .widget-area, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6, .widget-container, .widget-block, .wp-widget-group__inner-blocks, #header, #footer, #footer2{
	font-family: 'Roboto', sans-serif;
}
/** End font-family changes to general content Aug 9, 2022 **/


/** Begin font changes to general content **/
#content, .column-text, #front-text3, #front-text4{
    color: black;
    font-size: 1.2em;
    font-weight: 400;
}

/** Begin font changes to Home/About page wording "Carlsbad Community Gardens Collaborative (CCGC)"  **/
.homeabout-1st-phrase-font{
	font-family: 'Roboto', sans-serif;
	color:#038b59;
	font-size: 1.1em;
	/*font-style:italic;*/
	font-weight: 500;
}
.homeabout-paragraph-font{
	font-family: 'Roboto', sans-serif;
	font-size: 1.2em;
	font-weight: 400;
	margin-bottom: 5px !important;
}

.homeabout-next-paragraphs-font{
	font-family: 'Roboto', sans-serif;
	font-size: 1.05em;
	font-weight: 400;
	margin-bottom: 10px !important;
}

ol.homeabout-next-paragraphs-font {
    margin-left: 50px;
	margin-top: -10px !important;
}

/** Begin change to the green headings on the Home page content area Jack Gr 11/2/2022 **/
.homepage-newsletter{
	color:#038b59;
	font-family: 'Roboto', sans-serif;
	font-size: 1.421em;
	/*font-style:italic;*/
	font-weight: 500;
}
/** End change to the green headings on the Home page content area Jack Gr 11/2/2022 **/

/*.homepage-newsletter mark a:hover{  Extra css for newsletter link 
	color:#04c880 !important;
} Commented out 9/18/2022 by Jack Gr*/
/** End font changes to Home/About page wording "Carlsbad Community Gardens Collaborative (CCGC)"  **/

/*** css for entry-content h3 page sub-heading titles   ***/
.entry-content>h3{
	font-weight: 700;
	font-size: 1.8em; /* Added 8-9-2022 JMG */
}

/** Begin font changes to footer Supporters & Title in the footer **/
.wp-block-column p{
	font-size: 1.2em !important;
    font-weight: 600; 
	}
/* Font changes to the footer title "Many Thanks to Our Supporters" */
#block-26>h3{
	font-size: 1.7em;
    font-weight: 600;
	color:#000000;
	font-style: italic;
	padding-top:10px;
}
/** End font changes to footer Supporters & Title in the footer **/

/** Begin changes to First Footer area added 8/12/2022 JMG  **/
#footer{
	background-color:#dcd1bc;
	/*font-size:1.1em !important;
	font-weight:bold !important;*/
	
}
#block-16 .wp-block-column p a{
	color:#000000;
	text-decoration: none;
}
#block-16 .wp-block-column p a:hover{color:#999999;}
/** End changes to First Footer area added 8/12/2022 JMG  **/

/** Begin font changes to widget boxes **/
.widget-container .widget-title{font-size: 1.3em;
    font-weight: 600;}

/** Begin font changes to widget blocks Bottom Margin **/
.wp-widget-group__inner-blocks{
   margin-bottom: -40px;
}

/** Begin changes to widget h3 "Upcomimng Events" Top Margin **/
ul.xoxo {
    margin-top: -25px;
}

/*** Note: CSS for changes to Home/About pages wording only works if placed above here ***/
.wp-block-group__inner-container h3{
	font-size: 1.6em;
	font-weight: 600;
	line-height: .8em
}

/** Begin font changes to footer title "Many Thanks to Our Supporters" **/
/*.first-footer-supporter-title{
	font-size: 1.9em !important;
    font-weight: 600 !important;
}
*/

/** Change to the About Us page "Who We Are" paragraph font   **/
/*.aboutus_who-we-are{
	font-size: 1.2em !important;
	font-weight: 600 !important; 
}
*/

/** Changes to "CCGC Newsletters" archive page font, ident, line-height   **/
.display_archive {font-family: arial,verdana; font-size: 16px; text-indent: -96px;}
.campaign {line-height: 2em; margin-left: 65px;}
.display_archive{ padding:5px 0px 0px 25px;}

/** Begin changes to the color of widget title text on "Home" page to green **/
.has-inline-color{color:#2d8659;}


/** Begin Header and Footer2 css  **/
/* Note: #footer was removed to do separately above 8/12/22 */
#header, #footer2 {
    background-color: #b9a37a;
	font-size:1.2em;
	font-weight:bold;
	color:#000000;
	/*color:#0f4357 !important;*/
}
/** End Header and Footer2 css  **/

/*** Page Title ***/
#content .entry-title{
	font-weight:700; 
	font-size:2.1em; /* Changed size 8-9-20222 JMG */
}

/*** Begin Menu and Submenu properties to allow scrolling and color changes ***/
#menu-item-3159>ul, #menu-item-3158>ul, #menu-item-3167>ul {
	overflow:auto-flow;
	max-height:250px;
	}
#prime_nav{
	overflow:auto;
	max-height:400px;
	}
#prime_nav li{
	background-color:#dcd1bc !important;
	font-weight:bold;
	font-size:1.1em;
	border: outset #dcd1bc 1px;
	}
#prime_nav li a{color:#000000;}
#prime_nav li a:hover{color:#1e85ae;}
#prime_nav li.current-menu-item a{color:#0066ff  !important;}
/*** End Menu and Submenu properties to allow scrolling and color changes ***/

/*** Begin css related to a full functioning Sticky Menu by Jack Grieshaber 7/31/2022 ***/
/** Begin Alternate sticky menu css for #access id when scrolling begins ***/

/** css for menu box-shadow effect   **/ 
#access .menu-header, div.menu {
    margin: 0 1em;
    box-shadow: -30px 5px 20px 20px hsl(170deg 25% 15% / 35%);
	border-radius: 10px;
	border:#b9a37a solid 2px;
}

/** Makes sub-menus black - Added by Jack Grieshaber 8/16/2022   **/
#access ul ul a, #access ul ul ul a {color:#000000;} 

/** This removes the fine dotted horizontal line separating the widget area from   
 * The main content area
 * **/
#primary, #secondary {
    border: none;
}
	
.access_sticky{background-color:#b9a37a !important;
	/*border:solid #f2c71a 2px;*/
	padding-top:5px;
	padding-bottom:3px;
	top:-13px;
	position: fixed;
	position: -webkit-fixed;
	z-index: 999;
	}
/** End Alternate sticky menu css for #access id when scrolling begins ***/

/** Begin #nav-toggle sticky menu css for all situations on mobile devices including sticky menu  **/
#nav-toggle{
	border: none;
	background-color:#caba9b;
	margin-top: auto !important;
	color:#0f4357;
	letter-spacing: unset;
	text-transform: uppercase;
	box-shadow: -20px 3px 20px 10px hsl(170deg 25% 15% / 40%);
}
/** End #nav-toggle sticky menu css for all situations on mobile devices including sticky menu  **/

/** Begin mobile device sticky menu css **/
@media (max-width: 800px) {
	.access-media-sticky{
    background-color:#b9a37a;
	/*background:transparent;*/
    top:30px;
    position: fixed;
    position: -webkit-fixed;
    z-index: 999;
   }
.nav-toggle-sticky{
	z-index: 9999;
	position: fixed;
	position: -webkit-fixed;
	top: -10px;
	display: block;
	float: left;
	margin: 0px auto 0;
	cursor: pointer;
	/*width: auto !important;*/
	padding: 5px 4%;
	letter-spacing: unset;
	text-transform: uppercase;
	background-color:#b9a37a;
	/*height: 40px !important;*/
	color:#0f4357;
    font-weight: bold;
	}
	#nav-toggle:hover{color: #1e85ae;}
	
}
/** End mobile device sticky menu css **/
/*** End css related to a full functioning Sticky Menu by Jack Grieshaber 7/31/2022 ***/

/** Begin increase font size of Facebook and Instagram links   **/
/*.cff-post-links>.cff-viewpost-facebook{font-size:1em !important;}*/
#cff.cff-default-styles .cff-post-links a{font-size: 1.6em !important;font-weight:bold;text-decoration: none !important;}
#cff .cff-dot{font-size: 1.6em !important;font-weight:bold !important;}
#sb_instagram .sbi_follow_btn a{font-size: 1.3em;font-weight:bold;}
#cff.cff-default-styles .cff-author .cff-author-text a{font-size: 1.4em !important;width:auto !important;}

/*** Adds some padding to the widget entry - "Carlsbad Community Gardens" and logo  ***/
#cff .cff-author {
    margin: 15px 0 15px  0 !important;
}

/** Begins css for the enlargement of the vector map icon and lineup   **/
/** of it to the "Add to Calendar" drop down list box **/
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__export-icon, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__export-icon {
  height: 40px !important;
}
.tribe-common button, .tribe-common input[type="button"], .tribe-common input[type="reset"], .tribe-common input[type="submit"] {
  cursor: pointer;
  overflow: visible;
  top: -14px;
  position: relative;
}

.tribe-common button, .tribe-common input, .tribe-common select, .tribe-common textarea {
  box-sizing: border-box;
  margin: 0;
  border: outset gray 2px;
  color: black;
}
/** Ends css for the enlargement of the vector map icon and lineup   **/
/** of it to the "Add to Calendar" drop down list box **/

/** Begin Calendar event description line height adjustment - 9/19/2022 Jack Gr **/
.tribe-events .tribe-events-calendar-month__calendar-event-title {
    margin: 0;
    line-height: .5em;
}
/** End Calendar event description line height adjustment - 9/19/2022 Jack Gr **/

/** This lines up the bullets on ul lists for the "Upcoming Events"  **/
.entry-content ul > li{
/*background: url(resources/images/bullet.png) left 10px no-repeat;*/
padding: 3.5px 20px 0 !important;;
  /*padding-top: 2px;
  padding-right: 20px;
  padding-bottom: 0px;
  padding-left: 20px;*/
}

/** Increases the font size of text in "Upcoming Events" e.g. "View Calendar"  **/
.tribe-common * {
  box-sizing: border-box;
  font-size: 17px;
}

/** Facebook and Instagram size change **/
.wp-block-social-links.is-style-logos-only .wp-social-link svg {
    width: 2em;
    height: 2em;
}

/** Centers the "Help Grow More Gardens" widget title   **/
#primary .widget-title, #secondary .widget-title {
    border-radius: 0 15px 0 0;
    text-align: center;
    margin-left: -2em;
}

/** Widget Title color change **/
.widget-title {
    background-color: #006600;
    color: white;
}

/** Contact page submit button  **/
input[type="submit"] {
    color: ivory;
    background-color: #b9a37a;
	font-weight:900;
}
input[type="submit"]:hover {
    color: ivory;
    background-color: #caba9b;
	font-weight:900;
}

/** Begin "input" button css for Get Involved->Make a Donation->
 * Become a CCGC Supporter page **/
input[type="image"] {
    /*border: outset #d9d9d9 3px !important;*/
	border: outset #caba9b 3px;
	border-radius: 50px;
}
input[type="image"]:hover {
    border: solid #f2f2f2 3px;
	border-radius: 50px;
}

/** Begin the Gardens Google Map **/
#wpgmza_map{
	margin-bottom: -50px;
}
/** End the Gardens Google Map **/

/** Begin Newsletter CSS **/
.ccgc-newsletter{
	/*order:dashed gray 1px; */
	/*border: 1px solid;*/
  /*padding: 10px; test*/
  /*box-shadow: 5px 10px 18px #888888; test*/
}
/** End Newsletter CSS **/

/** Begin removal of Full House @ Schoolhouse Garden from left sidebar **/
.cff-text, .cff-dot{display: none;}
.cff-media-link>a, .cff-post-links>a, .cff-share-container>a{display: none;} 
.cff-post-links{margin-top:-20px !important;}
/** End removal of Full House @ Schoolhouse Garden from left sidebar **/

/** Begin adjustments for the pages under the location menu  **/

table{text-align: left !important;*/
  table-layout: fixed !important ;
  width: auto !important ;
  border-collapse: collapse !important ;
  float:left;
}
table, tr, td{border: none !important;}

td{
	text-align: left !important;}

.ccgc-tabl-tr-td{line-height: 15px;}

#post-262>h1{text-align:center;}
/** End adjustments for the pages under the location menu  **/

/* Begin class for the Newsletter Rotation easing out on mouse over */
/* and back in on mouse off */
.ccgc-newsletter-rotation:hover{transform: rotatex(40deg);
	-webkit-transform: rotatex(1deg);
	-moz-transform: rotatex(1deg);
	-o-transform: rotatex(1deg);
	-ms-transform: rotatex(1deg);
	box-shadow:0px 12px 10px 5px #cccccc;
	-webkit-box-shadow:0px 12px 10px 5px  #cccccc;
	-moz-box-shadow:0px 12px 10px 5px #cccccc;
	-o-box-shadow:0px 12px 10px 5px #cccccc;
	-ms-box-shadow:0px 12px 10px 5px #cccccc;

	text-align:center;
	transition: all 2s ease;
	-webkit-transition: all 2s ease;
	-moz-transition: all 2s ease;
	-o-transition: all 2s ease;
	-ms-transition: all 2s ease;
}
.ccgc-newsletter-rotation:not(:hover){
	text-align:center;
	transition: all 2s ease;
	-webkit-transition: all 2s ease;
	-moz-transition: all 2s ease;
	-o-transition: all 1s ease;
	-ms-transition: all 2s ease;
}

/*** Begin Instagram broken connection fix ***/
.sbi_feedtheme_header_text{display: none !important;}
#sbi_load>.sbi_follow_btn {display: none !important;}
/*** End Instagram broken connection fix ***/

/* End class for the Newsletter Rotation easing out on mouse over */
/* and back in on mouse off */

/*.centella-img{margin-bottom:-10px !important;}*/

/*.centella-img{margin-bottom:-70px !important;}*/

/*
.supporter-donate-buttons{
	border: solid red 5px !important;
*/