/* Reset to border box */
html {
   box-sizing: border-box;
}

*, *:before, *:after {
   box-sizing: inherit;
}

body{
	font-family:Arial, Helvetica, sans-serif;
	font-size:15px;
	line-height:1.5;
	padding:0;
	margin:0;
	background-color:#ffffff;
}

ol, ul {
	list-style: none;
}

hr{
  color:#f9f9f9;
  background-color:#f9f9f9;
}

.smartphoneImages img{
  width:20px important!;
}

.vert150{
    height:50px;
}

.italic{
  font-style:italic;
}

/* Global */
.container{
	width:80%;
	margin:auto;
	overflow:hidden;
}

/* Introduction */
.introduction{
	font-family:serif;
  font-style:bold;
  font-size:4em;
  color:#4A4E56;
  line-height:1.2em;
  margin-bottom:75px;
}

.introduction h1{
  margin-bottom: 0px;
  line-height:1em;
}

.introductionAbout{
	font-family:serif;
  font-style:bold;
  font-size:3em;
  color:#4A4E56;
  line-height:1.2em;
  margin-bottom:75px;
}

.aboutTitle{
  margin-bottom:-20px;
  line-height:1em;
}

.aboutTitle .button{
  margin-bottom:20px;
}

.aboutButtons{
  margin:50px 0px;
}

/* Global */
.basicFolioDisplay{
	font-size:1.2em;
	width:80%;
	margin:auto;
	overflow:hidden;
	text-align: center;
	line-height:1.5em;
}

.basicFolioDisplay img{
	width:100%;
	max-width: 800px;
	margin: 25px 0px;
}

.basicFolioDisplay h1{
	font-size:3em;
	color:#3D3F56;
	line-height:1em;
	margin-bottom:0px
}


a:link {
	color:#3D3F56;
	text-decoration:none;
}
a:visited {
	color:#EF453D;
	text-decoration:none;
}
a:hover {
	color:#E56565;
	text-decoration:none;
}
a:active {
	color:#EF453D;
	text-decoration:none;
}

.button {
  background-color: #EF453D;
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
	font-weight:bold;
  margin: 25px 2px;
  cursor: pointer;
	border-radius:5px;
}

.button:hover{
	background-color:#FC7669;
}


ul{
	margin:0;
	padding:0;
}

/* Header */
header {
	background:#ffffff;
	color:#333333;
	padding-top:30px;
  padding-bottom: 30px;
	min-height:70px;
}

header a{
	color:#333333;
	text-decoration:none;
	text-transform:uppercase;
	font-size:16px;
}

header li{
	float:left;
	display:inline;
	padding:0 20px 0 20px;
}

header h1{
	color:#222222;
}

header #branding{
	float:left;
}

header #branding h1{
	margin:0;
}

header nav{
	float:right;
	margin-top:10px;
}

header a {
	color:#3D3F56;
}

header a:visited {
	color:#3D3F56;
}

header .current a{
	color:#EF453D;
}


.hero01{
	height:500px;
	background-image: url("../images/Home_Hero_01.jpg");
	background-color: #F4EAE2;
	background-repeat: no-repeat;
	background-position: top left;
	background-size: cover;
	color:#ffffff;
	font-size:1.5em;
	line-height:1.5em;
  padding-top:40px;
}

.hero01 h1{
	font-size:2.8em;
	line-height:1em;
	margin-bottom:0px
}

.hero01 a{
	color:#ffffff;
}

.hero01 p{
	max-width:650px;
}

.hero02{
	height:500px;
	background-image: url("../images/Home_Hero_02.jpg");
	background-color: #F4EAE2;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top left;
	color:#ffffff;
	font-size:1.5em;
	line-height:1.5em;
  padding-top:40px;
  margin-bottom: 100px;
}

.hero02 h1{
	font-size:2.8em;
	line-height:1em;
	margin-bottom:0px
}

.hero02 a{
	color:#ffffff;
}

.hero02 p{
	max-width:650px;
}

.hero03{
	height:500px;
	background-image: url("../images/Home_Hero_03.jpg");
	background-color: #F4EAE2;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top left;
	color:#ffffff;
	font-size:1.5em;
	line-height:1.5em;
}

.hero03 h1{
	font-size:2.8em;
	line-height:1em;
	margin-bottom:0px
}

.hero03 a{
	color:#ffffff;
}

.hero03 p{
	max-width:650px;
}


/* Resume */
.resContainer{
	font-size:1.2em;
	width:80%;
	margin:auto;
	overflow:hidden;
}

.resContainer h1{
	font-size:3em;
	color:#EF453D;
  line-height:1em;
}

.resTitle{
	font-weight:bolder;
}

.resClients{
		margin-bottom:3em;
		font-style: italic;
}

.button {
  margin: 25px 2px;
}


/* Promotions */
.promotion{
	width:80%;
	margin:auto;
	overflow:hidden;
}

.promotion h1{
	font-size:5em;
	line-height:1em;
	margin-bottom: .5em;
}

.promotion p{
	font-size:1.5em;
	margin-bottom: 1.3em;
  line-height: 1em;
}

/* Case Study */
#caseStudy {
	line-height:0;
	text-align:center;
}

#caseStudy img{
	margin:0;
	padding:0;
	width:100%;
}

#caseStudyBumper {
	font-family:Arial, Helvetica, sans-serif;
	font-size:3em;
	font-weight:bold;
	text-align:center;
}


/* Gallery */
#gallery{
	margin-top:20px;
}

#gallery .thumbnail{
	float:left;
	text-align:center;
	width:30%;
	padding:10px;
}

#gallery .thumbnail img{
	width:250px;
}

footer{
	padding:50px;
	margin-top:20px;
	color:333333;
	background-color:#f9f9f9;
	text-align:center;
}

footer h1{
  line-height:1em;
  margin-bottom:0px;
  padding-bottom:0px;
}

footer img{
  margin:0px 0px 50px 0px;
}



/* Portfolio Grid */
figure {
	margin: 0;
	padding: 0;
}

.thumbnail-grid img {
	max-width: 100%;
}

.thumbnail-grid ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
  padding-bottom: 2em;
}

.thumbnail-grid li {
	width: 32%;
}

.thumbnail-grid .description {
	font-size: .75em;
	position: relative;
	padding-right: 25%;
}

.thumbnail-grid .price {
    position: absolute;
    right: 0;
    top: 0;
	text-align: right;
	width: 25%;
}


.thumbnail-grid .thumbnail {
	position: relative;	/* Set the container for the images */
}

.thumbnail-grid img {
    display: block; /* Get rid of tiny space below images */
    margin-top: .75em;
    margin-bottom: .3em;
}

.overlay {
	/* Set up the overlay text and background */
	background-color: rgba( 255, 0, 0, .2);
	width: 100%;
	height: 100%;
	position: absolute;
	opacity: 0;

	color: rgba( 255, 255, 255, 0);
	font-weight: bold;
	font-size: 200%;
	padding-top: 40%;
	text-align: center;
}

.overlay:hover {
    opacity: 1;
}
.thumbnail-grid .overlay {
    transition: 1s all;
}



/* Media Queries */
@media(max-width: 768px){
	header #branding,
	header nav,
	header nav li,
	#gallery .thumbnail{
		float:none;
		text-align:center;
		width:100%;
	}

  .resContainer h1{
  	font-size:2em;
  }

  .introduction{
    font-size:3em;
    line-height:1.2em;
    margin-bottom:50px;
  }

  .introduction h1{
    margin-bottom: 10px;
    line-height:1em;
  }

  .hero01, .hero02{
    padding-top:00px;
  }

  .hero01 h1, .hero02 h1{
    font-size:2.2em;
  }

  .button {
    margin: 10px 0px;
  }

  .aboutTitle .button{
    margin-bottom:10px;
  }

	header{
    margin-top:0px;
		padding-bottom:25px;
	}

  .thumbnail-grid li {
  	width: 48%;
  }
}
