@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,800&display=swap');

html * { font-size:100%; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}

body {
	font-family: 'Open Sans', sans-serif;
	border: 0;
	margin: 0;
	padding: 0;
}


h1, h2, h3, h4 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-transform: uppercase;
	margin: 0 0 .5em 0;
	padding: 0;
}

h1 {
	font-size: 2.3rem;
	margin: 0;
}

h2 {
	font-size: 1.9rem;
	margin: 0;
}

h3 {
	font-size: 1.4rem;
}

h4 {
	font-size: 1.2rem;
}


a, a:link, a:visited, a:hover {
	color: #56a74a;
	text-decoration: none;
}

a:hover {
	color: #56a74a;
	text-decoration: underline;
}

p {
	margin: 0 0 1em 0;
	padding: 0;
}

blockquote {
	display: block;
	font-style: italic;
	margin: 1em auto;
	padding: 1em 1em;
	max-width: 70%;
	font-family: georgia, times, serif;
	text-align: center;
	font-size: 1.1rem;
	color: #4b9750;
	color: #999;
}

/* main structural elements --------------------- */

#main {
	color: #56a74a;
}

#headerWrap {
	position: relative;
	background: #131;
	position: sticky;
	top: 0;
	z-index: 1000;
}

#header {
	max-width: 800px;
	margin: 0 auto;
	padding: 2em 0;
	background: #131;
	display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
}

#header #logo {
	text-decoration: none;
	border: 0;
	max-width: 175px;
    min-width: 125px;
	transition: all .5s;
    animation: fadein 3s;
}

#header #logo:hover, #header #logo:focus {
  transform: scale(1.04);
  cursor: pointer;
}

#supHolder {
	margin: 0 auto;
	max-width: 850px;
	display: block;
	position: relative;
	top: 0;
	left: -1em;
	z-index: 1;
}

#supButtons {
	position: absolute;
	top: 0;
	right: 0;
}

#supButtons a, #supButtons a:visited {
	color: #000;
	font-size: .7rem; 
	border-radius: 0 0 5px 5px;
	background: #CED34F;
	padding: 8px;
	text-transform: uppercase;
	display: inline-block;
}


.hero-section {
    height: 500px;
    max-width: 100%;
    background: #e8e8e8;
    border: 0;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    position: relative;
    background-image: url('./images/banners/banner_rewilding.jpg'); /* banner img set in php in index.php */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-section span {
	display: block;
	margin: 0 3em;
	font-style: italic;
	font-size: 3rem;
	font-family: serif;
	text-align: center;
	max-width: 750px;
}


#title {
	font-weight:normal;
	color: #66ac3f;
	font-size: 2.2rem;
}


#homeMenu {
	  position: sticky;
	  top: 119px;
      background-color: #333;
      z-index: 999;
      background: #CBE2BE;
      /* background: rgba(101, 171, 63, 0.2); */
}

#homeMenu nav {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

#homeMenu nav a {
	margin: 0;
	display: block;
	padding: 14px 20px;
	text-decoration: none;
	color: #353;
	background: inherit;
	transition: background-color .4s;
}

#homeMenu nav a:hover {
	background-color: rgba(101, 171, 63, 0.6);;
}   	
	
/* default page content wrapper --------*/
#content {
	padding: 0 2em;
	max-width: 800px;
	margin: 1em auto;
	background-color: #fff;;
	color: #777;
}

#pageEnd {
	background: #CED34F;
	padding: 4em 0 1em 0;
}

#pageEnd .contentBlock {
	padding: 0;
}
	
	
/* home page specials --------------- */

.contentBlockWrapper {
	padding: 2em;
	background-color: rgba(101, 171, 63, 0.18);
}

.contentBlock {
	max-width: 800px;
	color: #555;
	margin: 1em auto;
	padding: 0 0 2em 0;
}

#homeLeader {
	margin-top: 1.5em;
	margin-bottom: 2em;
	text-align: left;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	background: rgba(101, 171, 63, 0.1);
}

#homeLeader > div {
  width: 100%;
  margin: 0;
  }

#homeLeader #hightlights {
	padding: 40px;
	font-size: 1.1rem;
}

#homeLeader #hightlights p {
	margin: 0;
	padding: 0 0 1em 0;
}


/* grid for people page ------------------------------------------ */

.grid-container {
	display: grid;
	grid-template-columns: 30% 70%;
}

.grid-box {
	height: 100%;
	margin: 0 0 1em 0;
	padding: 0 0 1em 0;
}

.grid-box .title-image {
	max-width: 100%;
	padding: 0 2em 2em 0;
}

.grid-box h3 {
	margin-top: 0;
	padding-top: 0;
}


/* menuuuuuuu test ----------------------------------------- */


#menu {
	margin: 0;
	padding:  0;
	text-align: right;
	font-size: .9rem;
	color: #fff;
	display: block;
}

#menu a, #menux a:hover, #menux a:visited {
	margin: 0;
	padding: .25em .5em;
	color: #fff;
    white-space: nowrap;
    text-transform: uppercase;
    display: inline-block;
	background: #131;
	transition: background 300ms linear;
}
#menu a:hover {
	background: #464;
	transition: background 500ms linear;
	text-decoration: none;
   }


/* mobile menu toggle section ------------------------------------- */

#mobMenu {
	display: none;
}
#mmToggle {
	margin: 0 1em;
	padding:0;
	float: right;
}
#mmToggle img {
	width: 20px;
}

#mmItems {
	display: none;
}

#mmItems a {
	display: block;
	padding: 1em;
	border-bottom: 1px solid #222;
	color: #222;
	background: #CED34F;
}

#mmDonate {
	float:left;
	background-color: #CED34F;
	color: #fff;
	padding: .5em 1em;
	border: 0;
}

#mmDonate * {
	color: #222;
	border: 0;
}


/* footer stuff ------------------------------------- */

#footer {
	margin: 0 auto 0 auto;
	padding: 2em;
 	background-color: rgba(0, 0, 0, .8);
}

#footerBlock {
	margin: 1em auto;
	color: #fff;
	max-width: 700px;
	font-size: inherit;
}

#footerContainer {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 2em;
}

#footerContainer > div {
  width: 30%;
}

#footerContainer .title {
	text-transform: uppercase;
	color: #ccc;
	font-size: 1.2rem;
	display: block;
	margin-bottom: 1em;
}
	
#footerContainer .socials_icon {
	width: 25px;
}

#socials {
	margin: 0 15px;
}
#socials a {
	padding-right: 1em;
}

.socialIcon {
	height: 30px;
	width: 30px;
	fill: #fff;
	transition: fill .3s;
}
.socialIcon:hover {
	fill: #56a74a; /* #CED34F */
}

a.supportButton {
	padding: .5em 1em;
	background-color: rgba(101, 171, 63, 1);
	border-radius: 3px;
	color: #fff;
	text-transform: uppercase;
	font-size: smaller;
	transition: all .5s ease;
	white-space: nowrap;
}
a.supportButton:hover {
	text-decoration: none;
	color: black;
}

#ccLogo { display: block; }
#ccLogoMob { display: none; }


/* misc styles ----------------------------- */


.leadPara {
	font-size: 1.1rem;
	margin-top: 2rem;
}
	
.highlightBlock {
	padding: 1.5em;
	margin: 1em 0;
	color: #222;
	background: rgba(101, 171, 63, 0.1);
}
	

.big_image {
	max-width: 100%;
	margin: 1.5em 0;
	transition: all .5s;
}

.big_image:hover, .big_image:focus {
  transform: scale(1.03);
}

.photo_right {
	float: right;
	max-width: 70%;
	margin: 0 0 1em 1em;
}

ul.simpleList {
	list-style-type: none;
	margin: 1.5em 0;
	padding: 0;
}

.simpleList li {
	padding: 0;
	margin: 0 0 0 3rem;
	}
	
.simpleList li:before {
	content: "-";
	position: absolute;
	margin-left: -2rem;
}

.simple_button, .simple_button:hover, .simple_button:visited
{
	background-color: rgba(101, 171, 63, 1);
	text-transform: uppercase;
	padding: 9px 18px;
	font-size: .7rem;
	font-weight: bold;
	border-radius: 18px;
	color: #fff !important; /* text must be white */
	transition: background-color .3s ease-in-out;
}

.simple_button:hover {
	background-color: #ff8500;
	text-decoration: none;
}

a.med_button, a.med_button:visited
{
	background-color: rgba(101, 171, 63, 1);
	text-transform: uppercase;
	padding: 10px 18px;
	font-size: .8rem;
	font-weight: bold;
	border-radius: 22px;
	color: #fff !important; /* text must be white */
	transition: background-color .3s ease-in-out;
}

a.med_button:hover {
	background-color: #ff8500;
	text-decoration: none;
}


/* contact page styles ------------------------------------ */

.contact_success {
	padding: 1em;
	background-color: rgba(101, 171, 63, .4);
	color: #333;
}
.contact_fail {
	padding: 1em 0;
	color: rgba(255, 61, 0, 1);
}

/* Style inputs with type="text", select elements and textareas */
#contact input[type=text], #contact select, #contact #subject, #contact textarea {
	width: 100%; /* Full width */
	padding: 12px; /* Some padding */  
	border: 1px solid #ccc; /* Gray border */
	border-radius: 4px; /* Rounded borders */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
	resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
#contact input[type=submit] {
	background-color: rgba(101, 171, 63, 1);
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
}

 #contact #mcontent {
	 width: 100%;
	 height: 160px;
}

#contact #subject {
	height: 3em;
}

/* When moving the mouse over the submit button, add a darker green color */
#contact input[type=submit]:hover {
	background-color: #45a049;
}

#contact label { display: block; }
/* Add a background color and some padding around the form */
#contact  {
	border-radius: 5px;
	background-color: #f2f2f2;
	padding: 20px;
}

/*-----
#maillist input[type=text] {
	width: 75%; /* Full width */
	padding: 12px; /* Some padding */  
	border: 1px solid #ccc; /* Gray border */
	border-radius: 4px; /* Rounded borders */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
	resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
#maillist input[type=submit] {
	background-color: rgba(101, 171, 63, 1);
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
}

/* When moving the mouse over the submit button, add a darker green color */
#maillist input[type=submit]:hover {
	background-color: #45a049;
}

/* Add a background color and some padding around the form */
#maillist  {
	border-radius: 5px;
	background-color: #f2f2f2;
	padding: 20px;
}

.eventContentBtn {
	margin: 0 0 1em 0;
	border: 0;
	background-color: rgba(101, 171, 63, 1);
	padding: 5px;
	border-radius: 2px;
	color: #fff;
	font-size: .5rem;
	text-transform: uppercase;
}

/* 
   google map resposive code 
   https://www.ostraining.com/blog/coding/responsive-google-maps/
*/

#mapResponsive {
    overflow: hidden;
    padding-bottom: 75%;
    /* padding-bottom: 56.25%; */
    position: relative;
    height: 0;
}

#mapResponsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width:1 00%;
    position: absolute;
}

#ml_link {
	background-color: rgba(101, 171, 63, 0.05);
	padding: .5em;
}



/* media scaling responsive stuff */

@viewport {
	zoom: 1.0;
	width: extend-to-zoom;
}

@media all and (max-width: 800px) {
/* menu adjustments -------------*/
	#header {
		padding: 2rem;
		margin: 0;
	}

	#logo {
		max-width: 25%;
		margin: 0;
	}

	#menu {
		display: none; /* do not display the main menu */
	}
	
	#mobMenu {
		display: block;
	}

}
	
/* @media all and (orientation: portrait) { */

/* https://stackoverflow.com/questions/42025632/how-to-detect-only-with-css-mobile-screens */
@media only screen and (hover: none) and (pointer: coarse) and (max-width: 850px) {
	
	
	h1 {
		font-size: 1.8rem;
	}
	
	blockquote {
		font-size: inherit;
	}

	,photo_right {
		min-width: 100%;
		max-width: 100%;
	}
	#headerWrap {
		position: relative;
		}
		
	#header {
		padding: 2rem;
		margin: 0;
	}
	
	#logo {
		max-width: 25%;
		margin: 0;
	}
	
	#supHolder {
		display: none; /* do not display call to action buttons in page header */
	}
	
	.hero-section span {
		font-size: 2.5rem;
		min-width: 90%;
		max-width: 90%;
	}
	
	#homeLeader {
		display: block;
		margin: 2rem;
	}
	
	#homeLeader img {
		display: none;
	}
	
		
	/* menu adjustments -------------*/
	#menu {
		display: none; /* do not display the main menu */
	}
	
	#mobMenu {
		display: block;
	}

	
	/* people page layout -----------*/
	.grid-box {
	}
	
	.grid-box .title-image {
		max-width: 100%;
		min-width: 30vw;
	}
	
	
	/* footer ----------------------*/
	#footer {
		font-size: .8rem;
	}

	#ccLogo { display: none; }
	#ccLogoMob { display: block; }
	
}




