body {
background:#fdfdfd;
margin: 0px;
padding: 0px;
}

a[href^="tel:"] {
  color: #000;
  text-decoration: none;
}

.ulleftspace {
  display: inline-block;
}


.img300 {
  max-width: 300px;
}

.floatright {
  float: right;
}

.floatleft {
  float: left;
}

.clear {
clear:both;
margin:0;
}

p {
margin: 0px;
}


.header {
/*position: fixed;*/
padding: 0px;
box-sizing: border-box;
background-color: #fdfdfd;
opacity: 0.9;
/*height: 100px;*/
width: 100%;
border-bottom: 1px solid #23A649;
z-index: 1000;
}

.header img {
  max-width: 150px;
  padding-bottom: 0px;
}

.headersecondary {
/*position: fixed;*/
padding: 0px;
box-sizing: border-box;
background-color: #fdfdfd;
opacity: 0.9;
/*height: 100px;*/
width: 100%;
border-bottom: 1px solid #23A649;
z-index: 1000;
}



#headerpic {
background-image: url(images/new-cover-image.jpg);
background-position: bottom center;
background-repeat: no-repeat;
background-size: cover;
/* background-attachment: fixed; */
box-sizing: border-box;
padding: 5px;
height:0px;
padding-bottom: 45%;
/* position: relative; */
}

#headerpic2 {
background-image: url(images/apple-blocks.jpg);
background-position: bottom center;
background-repeat: no-repeat;
background-size: cover;
box-sizing: border-box;
padding: 5px;
height:0px;
padding-bottom: 25%;
}


.headerpictext {
position: absolute;
font-family: arial,sans-serif;
font-size: 28px;
color: #ffffff;
width: 300px;
text-align: center;
bottom: 40%;
left: 0; 
right: 0; 
margin-left: auto; 
margin-right: auto; 
}

.headerpictext2 {
position: absolute;
font-family: arial,sans-serif;
font-size: 25px;
color: whitesmoke;
width: 30%;
bottom: 55%;
left: 20px;
}



.logo {
position: relative;
top: 0px;
left: 50px;
font-family: 'Fredoka One', sans-serif;
font-size: 30px;
color: #33691e;
  }

.menu {
  position: absolute;
  background-color: inherit;
  display: inline-block;
  right: 70px;
  top: 65px;
  }

.menu ul {
  padding: 5px;
  text-align: center;
  margin: 0px auto;
  }

.menu ul li {
  list-style: none;
  display: inline-block;
  margin-right: 1em;
  }

  .menu a {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	text-decoration:none;
  color: #23A649;
	position: relative;
	}


.menu a::before {
position: absolute;
bottom: 0;
left: 0;
content: '';
background-color: #23A649;
display: block;
height: 3px;
width: 100%;
transition: 0.2s;
transform: scaleX(0);
}

.menu a:hover::before {
transform: scaleX(1);
}


.boldtext {
  font-weight: bold;
  background-color: #e1bee7;
}

.title1 {
text-align: center;
font-size: 24px;
color: #388e3c;
font-family: 'Montserrat', sans-serif;
font-weight: 700;
margin: 10px;
}

.welcomeContainer {
margin: 0px auto;
display: flex;
width: 80%;
}


.welcomeLeft {
margin-top: 10px;
width: 30%;
font-size: 50px;
font-weight: 700;
font-family: 'Montserrat', sans-serif;
}

.welcomeHeader {
font-size: 50px;
font-weight: 700;
color: #388e3c;
font-family: 'Montserrat', sans-serif;
}

.welcomeSubHeader {
font-size: 16px;
font-weight: 100;
color: #000000;
font-family: 'Montserrat', sans-serif;
}

.growbutton {
background-color: #6a1b9a;
color: white;
font-size: 16px;
font-weight: 400;
width: 80%;
margin-top: 20px;
padding: 5px;
transition: all .2s ease-in-out;
}

.growbutton:hover {
transform: scale(1.1);
background-color: #fbc02d;
}

.plainwhite {
  color: white;
  text-decoration: none;
}



.newsbox {
background-color: #6a1b9a;
width: 80%;
margin-top: 10px;
margin-bottom: 10px;
padding: 10px;
border: 1px solid black;
font-family: 'Montserrat', sans-serif;
color: white;
font-size: 18px;
}

.newsbox a {
font-family: 'Montserrat', sans-serif;
color: white;
font-size: 18px;
font-weight: 400;
}

.welcomeText {
background-color: whitesmoke;
color: #003e5a;
padding: 10px;
width: 70%;
}

.welcomeText p {
margin:10px;
padding: 5px;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
font-size: 20px;
font-weight: 400;
line-height: 1.4;
}

.welcomeText p::first-letter {
font-size: 40px;
}


/* SECONDARY PAGE CONTENT */

.pagetitle {
margin: 0px auto;
width:90%;
padding: 10px;
box-sizing: border-box;
font-size: 25px;
font-weight: 700;
color: #388e3c;
font-family: 'Montserrat', sans-serif;
}

.pagecontent {
margin: 0px auto;
width: 90%;
padding: 10px;
box-sizing: border-box;
background-color: whitesmoke;
color: #003e5a;
font-family: 'Montserrat', sans-serif;
font-size: 20px;
font-weight: 400;
line-height: 1.4;
}

.pagecontent p {
  margin: 15px 0px;
}





.boxwrapper {
width: 80%;
display: flex;
justify-content: center;
flex-wrap: wrap;
min-height: 350px;
margin: 0px auto;
}


.box {
width: 33%;
box-sizing: border-box;
}

.box img {
width: 150px;
border-radius: 50%;
border: 5px solid #6a1b9a;
}


.box2wrapper {
width: 80%;
display: flex;
justify-content: center;
flex-wrap: wrap;
margin: 50px auto;
}

.box2 {
width: 20%;
box-sizing: border-box;
display: flex;
align-self: center;
}

.box2 img {
max-width: 150px;
}



#footer {
display: flex;
align-items: center;
justify-content: center;
margin: 0px 0px auto;
padding: 30px;
color:#dedede;
font-family: 'Montserrat', sans-serif;
font-size: 18px;
text-align:center;
/* background-color:#388e3c; */
background-image: linear-gradient(180deg, #23A649, #6a1b9a);
min-height:100px;
}

#footer a {
color: #fff;
font-family: 'Montserrat', sans-serif;
font-size: 18px;
}


.cardContainer {
position: relative;
margin: 0px auto;
width: 250px;
cursor: pointer;
}

.cardTop {
position: absolute;
background-color: #ffffff;
/* border: 4px solid #23A649; */
color: #23A649;
height: 150px;
width: 100%;
transform: translateY(30px);
transition: all 1s;
z-index: 3;
text-align: center;
padding: 10px;
border-radius: 4px 4px 0px 0px;
box-sizing: border-box;
}

.cardBottom {
position: absolute;
background-color: whitesmoke;
height: 150px;
width: 100%;
opacity: 0;
transform: translateY(75px);
transition: all 1s;
z-index: 2;
color: #212121;
padding: 10px;
border-radius: 0px 0px 4px 4px;
font-size: 14px;
font-family: 'Montserrat', sans-serif;
font-weight: 400;
box-sizing: border-box;
}

.cardBottom button {
position: absolute;
margin-top: 10px;
background-color: #6a1b9a;
color: white;
cursor: pointer;
}

.cardContainer:hover  .cardBottom {
transform: translateY(140px);
opacity: 1;
}

.cardContainer:hover .cardTop {
transform: translateY(0);
/* background-image: radial-gradient(#ffffff, #fbc02d); */
border: 0px;
color: #6a1b9a;
opacity: 1;
}

.cardTop h2 {
font-size: 24px;
font-family: 'Montserrat', sans-serif;
font-weight: 700;
}






/* MEDIA QUERIES */

@media screen and (max-width:1100px){

.header, .headersecondary {
  height: auto;
}

.logo {
position: static;
margin:0px auto;
text-align: center;
}

.menu{
  position:static;
  margin:0px auto;
  display:block;
}

.menu a {
font-size: 1.1em;
}


#headerpic {
background-position: center center;
background-size: cover;
/* background-attachment: fixed; */
min-height: 500px;
}

.headerpictext {
  font-size: 25px;
  width: 70%;
}


.headerpictext2 {
display: none;
}

.welcomeLeft {
min-width: 300px;
}

.boxwrapper {
  width: 100%;
}

.box2wrapper {
  width: 100%;
}

}


@media screen and (max-width:900px) {

.welcomeContainer {
  flex-direction: column-reverse;
}

.welcomeLeft {
width: 100%;
text-align: center;
}

.welcomeLeft .growbutton {
  text-align: left;
  width: 100%;
}

.welcomeText {
width: 100%;
}


.boxwrapper {
  position: relative;
  justify-content: space-around;
  flex-wrap: nowrap;
  height: auto;
  flex-direction: column;
  margin-top: 10px;
}

.box {
  width: 100%;
}

.box img {
  width: 150px;
  border-radius: 50%;
  border: 5px solid #6a1b9a;
}


.box2wrapper {
  position: relative;
  flex-direction: column;
}

.box2 {
  width: 100%;
}

.box2 img {
  margin-left: auto;
  margin-right: auto;
}




.cardContainer {
position: static;
width: 100%;
}

.cardTop {
position: static;
transform: translateY(0px);
border: 0px;
}

.cardBottom {
position: static;
opacity: 1;
transform: translateY(0px);
}

.cardContainer:hover  .cardBottom {
transform: translateY(0px);
opacity: 1;
cursor: default;
}

.cardContainer:hover .cardTop {
transform: translateY(0);
background-image: none;
border: 0px;
color: #23A649;
opacity: 1;
cursor: default;
}

}



@media screen and (max-width:480px) {

  #headerpic {
  background-position: right center;
  background-size: cover;
  min-height: 500px;
  }

.floatleft {
  float: none;
}

.floatright {
  float: none;
}

}
