/********* CSS RESETS **********/

img {
    max-width: 100%;
}
h1, h2, h3, p, ul, ol {
    margin: 0;
    padding: 0;
}
/********* End CSS Reset *********/
body {
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-color: #000000;
}
/**Photo by Joanna Kosinska on Unsplash ***/
#page {
    background: url(images/bg02.jpg) no-repeat;
    background-size: cover;
    background-position: top;
    /**background has been fixed in position**/
    background-attachment: fixed;
    margin: auto;
}
header {
    padding: 80px 0;
    position: relative;
}
header h1 {
    font-family: 'Elsie Swash Caps', cursive;
    font-size: 4em;
    text-align: center;
}
a#esub {
    width: 140px;
}
#esub {
    position: absolute;
    bottom: 10px;
    right: 20px;
    text-decoration: none;
    padding: 15px;
    color: #ffffff;
    background-color: #549e83;
    z-index: 1;
}
/** slides**/

/************* Flexslider Styles *************/
.flexslider {
    margin: 0 20px;
    border: none;
    border-radius: 0;
}
.flex-control-paging li a.flex-active {
    background: #B40205;
}
.slide1 {
    background: url(slides/headerpic01.jpg) top left no-repeat;
}
.slide2 {
    background: url(slides/headerpic02.jpg) top left no-repeat;
}
.slide3 {
    background: url(slides/headerpic04.jpg) top left no-repeat;
}
.slide4 {
    background: url(slides/leavesinpot.jpg) top left no-repeat;
}
.slides li div {
    width: 100%;
    position: relative;
    padding-bottom: 50%;
    background-size: cover;
}
.slides li div h2 {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
}
.cta {
    display: table;
    height: 100px;
    width: 100px;
    position: absolute;
    right: 20px;
    bottom: 100%;
    background: rgba(123,157,179,.3);
    border-radius: 50%;
    border: 5px solid #084D64;
    text-align: center;
    padding: 20px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #ffffff;
}
.cta span {
    display: table-cell;
    vertical-align: middle;
}
.light {
    color: #EDEDED;
}
/**end of slide**/

#free {
    color: #a57100;
    font-weight: bold;
}
.flexslider, #top, footer {
    text-align: center;
}
/*style for cards begin*/

.grid div {
    display: flex;
    /*width: 460px;
    height: 500px;*/
	height: 100%vw;
    margin: 10px auto;
}
#orchid {
    background-color: #96ced8;
}
/*#plant {
    background-color: #FCBCB8;
}*/
#plant {
    background-color: #d898a5;
}
#vegetable {
    background-color: #A56D62;
}
/*#vegetable {
    background-color: #EE8434;
}*/

#kitchenwaste {
    background-color: #53838B;
}
/*#kitchenwaste {
    background-color: #C95D63;
}
*/
aside {
    /*display:block;*/
    flex: 1;
    padding: 10px;
}
article {
    display: block;
    flex: 2;
	padding-bottom: 20px;
}
.grid {
    padding: 10px 10px 10px 0;
}
.grid p {
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    line-height: 1.6em;
}
.grid img {
    padding: 5px;
    margin: 0;
}
.grid h2 {
    font-family: 'Elsie Swash Caps', cursive;
    font-size: 2.4em;
    line-height: 1.4em;
    padding-top: 5px;
    margin-top: 0;
}
.grid h2, h3, .grid p {
    padding-left: 10px;
}
h3 {
    font-size: 2em;
    color: #fff;
    margin: 0;
    line-height: 2.1em;
    font-style: bold;
}
h4 {
    font-size: 1.2em;
    color: #000000;
    padding: 10px 0 0 10px;
    margin: 0;
    line-height: 1.4em;
}
/**style for cards end**/


section p {
    line-height: 1.6em;
    /*margin-bottom: 1em;*/
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    color: #000000;
}
#top {
    padding-top: 50px;
    background-color: #ffffff;
    opacity: 0.5;
}
footer {
    padding: 10px 0;
    background: url(images/footerbar.jpg);
	background-size:contain;
	width: 100%;
}
.icon {
    font-size: 1.2em;
    color: #ffffff;
    line-height: 1.2em;
}
/******************** Kitten Aquisition Form *********************/

#formslider {
    position: relative;
    margin: 0 20px;
    z-index: 20;
}
#formcontainer {
    height: 300px;
    padding: 20px 30px;
    width: 40%;
    background: #a57100;
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    color: #EDEDED;
}
/**************** Form Styles ******************/


label, input, button {
    display: block;
    width: 90%;
}
label {
    margin-top: 10px;
    margin-bottom: 5px;
}
input {
    margin-bottom: 10px;
    padding: 5px;
}
.eform {
    padding: 0 10px;
    width: 100%;
}
/************* Button Styles ***************/


input[type="submit"] {
    width: 30%;
    margin-top: 5px;
    display: inline-block;
    height: 38px;
    padding: 0 20px;
    color: #B40205;
    text-align: center;
    font-size: 16px;
    line-height: 38px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    background-color: #EDEDED;
    border-radius: 4px;
    border: 1px solid #bbb;
    cursor: pointer;
    box-sizing: border-box;
}
input[type="submit"]:hover, input[type="submit"]:focus {
    color: #333;
    border-color: #888;
    outline: 0;
}

@media only screen and (min-width: 600px) {
/**in order to center the pics
	.grid{
		margin: auto;
		padding-left: 75px;
	}
	**/
img {
    width: 100%;
}
.eform {
    padding: 0 10px;
    width: 100%;
}
#formcontainer {
    width: 60%;
}
.grid div {
    width: 460px;
    height: 500px;
}	
article {
    padding-bottom: 0;
}	
}

@media only screen and (min-width: 960px) {
#page {
    width: 960px;
    margin: auto;
}
.grid {
    /**if set up padding-left to 75px***/
	/*padding-left: 0;*/
    display: grid;
    grid-template-columns: 1fr 1fr; /* dreamwaver doesn't recornize this yet. */
    grid-gap: 10px 10px 10px 0;
}
.grid div {
    width: 460px;
    height: 500px;
}
article {
    padding-bottom: 0;
}
#formcontainer {
    width: 40%;
}
}
