/* Reset */
html, body, h1, h2, h3, h4, h5, h6, p, blockquote, ol, ul, li {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

img {
	border:none;
}

ul, ol {
	list-style-type: none;
}


/* Site defaults */
body {
    font-family: Verdana, Arial, sans-serif;
    color: #000000; 
    background-color: #eeeeee;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Verdana, Arial, sans-serif;
}
h1 {
	font-size: 4em;
	color: #ee0000;
	margin: 35px 0 25px 0;
	text-shadow: 2px 2px 0 #000000;
}
h2 {
	font-size: 2em;
	margin-bottom: 0.25em;
	color: #ee0000;
}
h3 {
	font-size: 1.5em;
	color: #000000;
}
h4 {
	font-size: 1.4em;
}
p, ul, ol {
	font-size: 1em;
}
a:link, a:visited {
    color: #000000;
}
a:hover {
	color: #ee0000;
}

/* Font Awesome */
.fa {
    padding: 15px;
    font-size: 24px !important;
    width: 50px;
    text-align: center;
    text-decoration: none;
}
.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
    background: #3B5998;
    color: #ffffff !important;
}
.fa-twitter {
    background: #55ACEE;
    color: #ffffff !important;
}
.fa-envelope-o {
	background: #dddddd;
	color: #000000 !important;
}
.fa-home, .fa-phone {
	padding: 22px 15px;
	background: #dddddd;
}

/* Custom */
#page {
    width: 90%;
    margin: 0 auto;
    padding: 0 10px;
}

header {
	text-align: center;
}
footer {
	background: black;
	margin-top: 30px;
}

nav {
	text-align: center;
}
nav li {
	display: inline-block;
    margin-right: 1em;
}
nav li:last-child {
    margin-right: 0;
}
#mainnav #primary li a {
    color: #000000;
    text-decoration: none;
    font-size: 1.4em;
}
#mainnav #primary li a:hover {
	color: #990000;
}
#mainnav #primary li.currentpage a {
    color: red;
}
#subnav #secondary li a {
    color: #000000;
    text-decoration: none;
    font-size: 1.1em;
}
#subnav #secondary li a:hover {
	color: #990000;
}
#subnav #secondary li.currentpage a {
    color: red;
}
#active {
	color: red !important;
}

#main {
	margin-top: 40px;
}

#portfoot {
	margin: 20px 0 2130px 0;
}

#footerlinks {
	text-align: center;
	padding: 10px;
}
#footerc {
	display: inline-block;
}
#footerlinks p {
	display: inline-block;
	text-align: center;
}
#footerlinks a {
	color: white;
	text-decoration: none;
}
#footerlinks a:hover {
	color: red;
}

#intro {
	text-align: center;
}
#introc {
	display: inline-block;
	width: 70%;
}
#introc h2 {
	margin-top: 20px;
}
#introc p {
	margin-top: 10px;
}
#introc img {
	
}

#test {
	text-align: center;
	margin-top: 50px;
}
#testc {
	display: inline-block;
	width: 70%;
}

#sswrap {
	text-align: center;
	margin-top: 20px;
	height: 80px;
}
#slideshow {
	display: inline-block;
	width: 70%;
}
.slide p {
	padding: 10px 0 0 0;
	font-style: italic;
}
#review {
	text-align: center;
	margin-top: 100px;
}

#contactdetails {
	margin-bottom: 100px;
	width: 68%;
}
#contactdetails p {
	float:left;
	margin-left: 10px;
}

legend span {
	display: block;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.controlgroup {
	padding: 5px 0;
}

#social {
	border: solid 1px red;
	padding: 10px;
	width: 30%;
	float: right;
}
#social p {
	margin: 10px 0;
}
#social a {
	text-decoration: none;
}

div.galleryl {
    margin: 20px 15px 15px 15px;
    border: 1px solid #ccc;
    float: left;
    width: 300px;
}

div.galleryl:hover {
    border: 1px solid #777;
}

div.galleryl img {
    width: 100%;
    height: auto;
}

div.gallery {
    margin: 15px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    text-align: center;
}
/*
#parent div {
    display:none;
    position: relative;
    margin-top: 525px;
    top: 0;
    left: 0;
    text-align: center;
}
#parent div:first-child {
    display:block;
}
#parent > div{
    width: 100%;
    height: 80px;
}
*/
/* */

#slideshow {
  overflow: hidden;
  height: 180px;
  width: 728px;
  margin: 0 auto;
}

.slide-wrapper {
  width: 4368px;
  -webkit-animation: slide 60s ease infinite;
}

.slide {
  float: left;
  height: 120px;
  width: 728px;
}

.slide-number {
  color: #000;
  text-align: center;
  font-size: 10em;
}

@-webkit-keyframes slide {
  10% {margin-left: 0px;}
  13% {margin-left: -728px;}
  27% {margin-left: -728px;}
  30% {margin-left: -1456px;}
  44% {margin-left: -1456px;}
  47% {margin-left: -2184px;}
  61% {margin-left: -2184px;}
  64% {margin-left: -2912px;}
  78% {margin-left: -2912px;}
  81% {margin-left: -3640px;}
  95% {margin-left: -3640px;}
}

/* */

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* 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);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

@media only screen and (max-width: 1177px) {
	#portfoot {
		margin: 20px 0 50px 0;
	} 
	.stageone {
		visibility: hidden;
		display: none;
	}
}
@media only screen and (max-width: 1035px) {
	#social {
		visibility: hidden;
		display: none;
	}
	#contactdetails {
		width: 100%;
	}
}
@media only screen and (max-width: 942px) {
	#portfoot {
		margin: 20px 0 50px 0;
	} 
}
@media only screen and (max-width: 800px) {
	#slideshow {
		width: 380px;
		height: 290px;
	}
	.slide {
		width: 380px;
	}
	@-webkit-keyframes slide {
		10% {margin-left: 0px;}
		13% {margin-left: -380px;}
		27% {margin-left: -380px;}
		30% {margin-left: -760px;}
		44% {margin-left: -760px;}
		47% {margin-left: -1140px;}
		61% {margin-left: -1140px;}
		64% {margin-left: -1520px;}
		78% {margin-left: -1520px;}
		81% {margin-left: -1900px;}
		95% {margin-left: -1900px;}
	}
	footer {
		margin-top: 20px;
	}
	#introc img {
		width: 100%;
	}
}
@media only screen and (max-width: 706px) {
	#portfoot {
		margin: 20px 0 50px 0;
	} 
}
@media only screen and (max-width: 693px) {
	#stagethree {
		float: none;
		margin-top: 100px;
	}
	#contactdetails {
		margin-bottom: 190px;
	}
}
@media only screen and (max-width: 523px) {
	h1 {
		font-size: 2.5em;
	}
	h2 {
		font-size: 1.5em;
	}
}
@media only screen and (max-width: 471px) {
	.stagetwo {
		visibility: hidden;
		display: none;
	}
	#portfoot {
		margin: 20px 0 50px 0;
	} 
}
@media only screen and (max-width: 419px) {
	#contactdetails {
		margin-bottom: 240px;
	}
}