﻿
#wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}


section button {
  margin: 0 auto;
  font-size: 2.0rem;
  padding: 1.25rem 2.5rem;
  display: block;
  background-color: #40B0F9;
  border: 1px solid transparent;
  color: #ffffff;
  font-weight: 400;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

section button:hover {
  background-color: #ffffff;
  color: #40B0F9;
  border-color: #40B0F9;
}


.button {
  margin: 0 auto;
  font-size: 2.0rem;
  padding: 1rem 2rem;
  display: block;
  background-color: #FFC000;
  border: 2px solid transparent;
  color: #ffffff;
  font-weight: 400;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  background-color: #fff;
  color: #505050;
  border-color: #505050;
}

.button1 {
  margin: 0 auto;
  font-size: 2.0rem;
  padding: 1rem 2rem;
  display: block;
  background-color: #8DC63F;
  border: 2px solid transparent;
  color: #ffffff;
  font-weight: 400;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  
}

.button1:hover {
  background-color: #fff;
  border: 2px solid transparent;
  color: #505050;
  border-color: #505050;
}

.button2 {
  margin: 0 auto;
  font-size: 2.0rem;
  padding: 1rem 2rem;
  display: block;
  background-color: #008ae6;
  border: 2px solid transparent;
  color: #ffffff;
  font-weight: 400;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.button2:hover {
  background-color: #ffffff;
  color: #505050;
  border-color: #505050;
}

.button3 {
  margin: 0 auto;
  font-size: 2.0rem;
  padding: 1.25rem 2.5rem;
  display: block;
  background-color: #018AE6;
  border: 1.5px solid transparent;
  color: #ffffff;
  font-weight: 400;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.button3:hover {
  background-color: transparent;
  color: #018AE6;
  border-color: #018AE6;
}

.button4 {
  margin: 0 auto;
  font-size: 2.0rem;
  padding: 1.25rem 2.5rem;
  display: block;
  background-color: #FFC000;
  border: 1.5px solid #FFC000;
  color: #1f2021;
  font-weight: 400;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.button4:hover {
  background-color: transparent;
  color: #FFC000;
  border-color: #FFC000;
}

.button5 {
  margin: 0 auto;
  font-size: 2.0rem;
  padding: 1.25rem 2.5rem;
  display: block;
  background-color: #fafafa;
  border: 1.5px solid #fff;
  color: #1f2021;
  font-weight: 400;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.button5:hover {
  background-color: #FFC000;
  color: #1f2021;
  border-color: #FFC000;
}


@import url(http://fonts.googleapis.com/css?family=Open+Sans);

/* STRUCTURE */

#pagewrap {
	padding: 5px;
	width: 960px;
	margin: 20px auto;
}
header {
	height: 100px;
	padding: 0 15px;
}
#content {
	width: 195px;
	float: left;
	padding: 5px 0px;
	margin: 20px 0px 0px 0px;
}

#middle {
	width: 200px; /* Account for margins + border values */
	float: left;
	padding: 5px 0px;
	margin: 0px 0px 0px 0px;
}

#sidebar {
	width: 270px;
	padding: 5px 15px;
	float: left;
}



@import url(http://fonts.googleapis.com/css?family=Istok+Web);
@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}
div#captioned-gallery { 
  width: 100%; overflow: hidden; 
}
figure.slider { 
  position: relative; width: 500%;
  font-size: 0; animation: 30s slidy infinite; 
}
figure.slider figure { 
  width: 20%; height: auto;
  display: inline-block;  position: inherit; 
}
figure.slider img { width: 100%; height: auto; }
figure.slider figure figcaption { 
  position: absolute; top: 40px;
  background: rgba(0,0,0,0.4);
  color: #fff; width: auto;
  font-size: 2.8rem; padding: 1.4rem; 
}


/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#pagewrap {
		width: 94%;
	}
	#content {
		width: 41%;
		padding: 1% 1%;
	}
	#middle {
		width: 41%;
		padding: 1% 4%;
		margin: 0px 0px 5px 5px;
		float: right;
	}
	
	#sidebar {
		clear: both;
		padding: 1% 1%;
		width: auto;
		float: none;
	}


/* for 700px or less */
@media screen and (max-width: 600px) {

	#content {
		width: auto;
		float: none;
	}
	
	#middle {
		width: auto;
		float: none;
		margin-left: 0px;
	}
	
	#sidebar {
		width: auto;
		float: none;
	}

}

/* for 480px or less */
@media screen and (max-width: 480px) {

	header {
		height: auto;
	}
	h1 {
		font-size: 2em;
	}
	#sidebar {
		display: none;
	}

}


#content {
	background: ;
}
#sidebar {
	background: ;
}
header, #content, #middle, #sidebar {
	margin-bottom: 5px;
}

#pagewrap, header, #content, #middle, #sidebar, footer {
	border: solid 0px #ccc;
}

