

* { margin: 0; padding: 0; }
html {
	height: 100%;
	font-size:100%;
}
body { 
	font-family: Tahoma, Verdana, Sans-Serif, Arial;
	line-height: 1.5;
	background-color: #F7F7F7;
	background-image: url(light_web_pattern.jpg);
	background-repeat: repeat;
	font-size:100%;
	height:100%;
}
@media screen and (max-width: 25em) {
  body { font-size: 90%;}
}
h1 { 
	font-size: 1.8em;
	text-align: center;
	margin-bottom: 1em;
	color: #444;
}

h2 { 
	font-size: 1.4em;
	color: #628cad;
	padding-top:.5em;
	position: absolute;
	bottom: -4.8em;
	width: 100%;
	text-align: center;
}

p {
	font-family: Tahoma, Verdana, Sans-Serif, Arial;
	line-height: 1.5;
	color: #666;
	position: absolute;
	bottom: -4em;
	width: 100%;
	text-align: center;
}
p.copy {
    font-family: Tahoma, Verdana, Sans-Serif, Arial;
	line-height: 1.5;
	color: #666;
	position: absolute;
	bottom: -16em;
	width: 100%;
	text-align: left;
	padding-right: 1em;
	padding-left: 1em;
}

a { outline: 0;
	color: #FFF;
	text-decoration: none; 
}
a.email {
	color: #628cad;
	padding-top:1em;
	position: absolute;
	bottom: -20em;
	width: 100%;
	text-align: center;
}
a.email:hover {
	color: #D2D2D2;
}
img {
    display: block;
    margin: 0 auto;
	padding-top: 1em;
	max-width:100%;
}
#wrapper { 
	max-width:44em; 
	height:100%;
	background-color: #FFF;
	margin: auto; 	
 	padding:0 1em;
	border-style: solid;
	border-width: 1px;
	border-color: #D2D2D2;
}
/* Slideshow container */
.slideshow-container {
	
    max-width: 27em;
	max-height: 35em;
	position: relative;
	margin: auto;
 	padding:0 1em;
}

.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 18.75em;
  width: auto;
  margin-top: -1em;
  padding: 1em;
  color: white;
  font-weight: bold;
  font-size: 1em;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  background-color: rgba(0,0,0,0.2);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
h2.text {
	font-size: 1.4em;
	color: #628cad;
	padding-top:.5em;
	position: absolute;
	bottom: -4.8em;
	width: 100%;
	text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #999;
  font-size: .8em;
  padding: .5em .8em;
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 1em;
  width: 1em;
  margin: 0 .2em;
  background-color: #bbb;
  border-radius: 50%;
	bottom: -3em;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*email rollover*/

.container {
    position: relative;
}

.image {
  opacity: 1;
  display: block;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.container:hover .image {
  opacity: 0.3;
}

.container:hover .middle {
  opacity: 1;
}

.emailtext {
  background-color: #628cad;
  color: white;
  font-size: 1em;
  padding: 1em 2em;
}
