#messagewrapper{
	width:80%;
	position:relative;
	margin: 0 auto;
	text-align:center;
}

#message{
	width:70%;
	height:100%;
	position:relative;
	top:20px;
	margin: 0 auto;
}

#message h2{
	font-family:OpenSansBoldItalic, sans-serif;
	letter-spacing:0.07em;
	color:#333;
    margin: 0;
    padding: 0;
	float:left;
}

#messagehrtop{
	width:90%;
	height:3px;
	float:right;
	background-color:#99bb00;
}

#messagehrbottom{
	width:90%;
	height:3px;
	position:relative;
	top:30px;
	float:left;
	background-color:#99bb00;
}

/* slider */
.mySlides {
	display:none;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Fading animation */


.fadein {
  animation: fadein 2s;
  -moz-animation: fadein 2s; /* Firefox */
  -webkit-animation: fadein 2s; /* Safari and Chrome */
  -o-animation: fadein 2s; /* Opera */
}

@-webkit-keyframes fadein {/* Safari and Chrome */
  from {opacity: 0} 
  to {opacity: 1}
}

@-moz-keyframes fadein { /* Firefox */
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadein {
  from {opacity: 0} 
  to {opacity: 1}
}

@-o-keyframes fadein {/* Opera */
    from {opacity:0;}
    to {opacity: 1;}
}


/***mobile**********************************************************/
@media only screen and (max-width: 640px) {
main{
	height:450px;
}

#message h2{
	font-size:1.8em;
}

#messagewrapper{
	top:40px;
	background-color:#fff;
}

.slideshow-container {
  top:110px;
}

}


/***tablet**********************************************************/
@media only screen and (min-width: 641px) and (max-width: 1008px) {	
main{
	height:640px;
}

#message h2{
	font-size:2.5em;
}

#messagewrapper{
	top:60px;
	background-color:#fff;
}

.slideshow-container {
  top:140px;
}

}


/***desktop**********************************************************/
@media only screen and (min-width: 1009px) {
main{
	height:750px;
}

#mainwrapper{
	position:relative;
	top:50px;
	height:700px !important;
	min-width:1008px;
	width:1024px;
	margin: 0 auto;
	background-color:#fff;
}

#message h2{
	font-size:2.7em;
}

#messagewrapper{
	top:0px;
}

.slideshow-container {
  top:90px;
}

}