* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

ul, li {
	list-style: none;
  margin: auto 0;
}

img {
  display: block;
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

body {
	font-family: 'Montserrat' , sans-serif;
	font-size: 100%;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	background: #fff;
	height: 100%;
}

button, h1, h2, p {
  margin: 0;
}

button {
  background: none;
  border: none;
}

h1 {
  font-size: 1.5rem; /* 24px / 16px */
}

h3 {
	font-size: 1.150rem;
	text-align: center;
}

a {
	color: #000;
	transition: all .2s ease-in;
	-webkit-transition: all .1 ease-in;
	-moz-transition: all .1s ease-in;
	-o-transition: all .1s ease in;
  -ms-transition: all .1s ease in;
}

a:link {
		color: #000;
		}

a:visited {
		color: #000;
		}

a:hover {
		color: #9bcde8;
		}

button {
  box-shadow: none;
  padding: 0;
  text-shadow: none;
  border-radius: 0;
  border: none;
  outline: none;
  background: none;
  color: inherit;
  overflow: hidden;
}

#landing {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 350px;
  background-color: #2a3a3f;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-left: 0;
  margin-right: 0;
}

.landing-image {
  background-image: url(../images/designpicture.png);
}

.landing-image:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%, rgba(255,255,255,1) 90%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1)));
  background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 82%,rgba(255,255,255,1) 90%);
  background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 90%,rgba(255,255,255,1) 90%);
  background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 90%,rgba(255,255,255,1) 90%);
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 90%,rgba(255,255,255,1) 90%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}

.image-wrapper {
  position: relative;
  text-align: left;
  width:100%;
  height: 100%;
  padding-left: 1em;
}

.title-wrapper {
  text-align: left;
  width: 100%;
  height: 100%;
  padding-top: 2em;
  padding-left: 1em;
}

.landing-title {
  font-family: 'Montserrat' , sans-serif;
  color: #fff;
  font-size: 4em;
  margin: 0;
  text-shadow: 0 5px 5px rgba(0,0,0,0.4);
}

.sub-title {
  font-family: 'Special Elite', cursive, sans-serif;
  font-size: 1.150em;
  letter-spacing: .1em;
  color: #e98a02;
  margin: 0;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}

.scroll-to button {
  display: inline-block;
  position: absolute;
  font-family: 'Special Elite', cursive, sans-serif;
  text-align: center;
  font-size: 1.5em;
  letter-spacing: .1em;
  bottom: 4%;
  left: 50%;
  -webkit-transition: color 0.2s ease-out;
  -moz-transition: color 0.2s ease-out;
  -o-transition: color 0.2s ease-out;
  -ms-transition: color 0.2s ease-out;
  transition: color 0.2s ease-out;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.scroll-to a {
  text-decoration: none;
  color: #e98a02;
}

.scroll-to a:hover {
  color: #3a3a3a;
}

@media all and (max-width: 650px) {
  #landing {
    display: none;
  }
  .scroll-to {
    display: none;
  }
}

aside {
  display: flex;
  flex-flow: column nowrap;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
}

aside button {
  position: absolute;
  right: .875em;
  bottom: 0;
}

.scroll-up button {
  display: none;
  font-family: 'Special Elite', cursive, sans-serif;
  font-size: 1.5em;
  letter-spacing: .1em;
  text-align: center;
  -webkit-transition: color 0.2s ease-out;
  -moz-transition: color 0.2s ease-out;
  -o-transition: color 0.2s ease-out;
  -ms-transition: color 0.2s ease-out;
  transition: color 0.2s ease-out;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.scroll-up a {
  text-decoration: none;
  color: #e98a02;
}

.scroll-up a:hover {
  color: #4c4c4c;
}

@media screen and (max-width: 1120px) {
  .scroll-up {
    display: none;
  }
}

header {
  max-width: 71.875em;
  margin: 0 auto;
}

.header-wrapper {
  display: flex;
  background-color: white;
}

.logo img {
  max-width: 21em;
}

@media all and (max-width: 768px) {
  .logo {
    width: 100%;
  }

  .header-wrapper {
    display: flex;
    flex-direction: column;
    background-color: white;
    margin: 0 auto;
  }
}

nav ul li {
  padding-right: 4px;
  text-align: right;
}

nav a {
  text-decoration: none;
}

.nav-main  {
  margin-left: auto;
  align-self: center;
}

.nav-main a {
  color: #4c4c4c;
}

.nav-main a:hover {
  color: #9bcde8;
}
.nav-main ul{
  background-color: rgba(255,255,255,0.7);
	margin: 0;
}

.nav-main ul li {
  font-family: 'Crimson-text' , Serif;
  font-size: 1.250em;
  letter-spacing: .2px;
  float: left;
  text-transform: uppercase;
  margin-left: 10px;
  padding-right: 4px;
  border-right: solid 1px #4c4c4c;
}

@media all and (max-width: 1100px) {
    .modal > div {
    width: 92%;
  }

  .modal .coffee-ring {
    display: none;
  }

.modal .close {
  font-size: 1.5em;
  padding: 0.2em;
}

  .modal .detail-container {
    max-width: 58em;
    width: 80%;
    padding: 0;
  }

  .modal .modal-bg {
    max-width: 80%;
    width: 100%;
    margin: 0 auto;
  }

  .modal .row-1-detail {
    width: 100%;
    padding: 1em;
    margin: 0 auto;
  }

  .modal .row-2-detail {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .modal .row-2-detail video {
    display: none;
    width: none;
    margin: none;
    padding: none;
    top: 0;
    left: 0;
  }

  .modal .row-2-detail:after {
    content: '';
    display: none;
    top: 0;
    left: 0;
    z-index: 999999;
}

.modal .row-3-detail {
  margin: 0 auto;
  text-align: left;
  width: 100%;
  padding: 1em 0;
}

.modal .row-4-detail {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

  .modal .col-1-detail {
    display: none;
    width: 0;
    height: 0;
    margin: none;
    padding: none;
  }

  .modal .col-2-detail {
    float: none;
    margin: 0 auto;
    width: 100%
  }

  .modal .col-2-detail h2 {
    font-size: 1em;
    line-height: 1.5em;
    text-align: center;
  }
  .modal .side-by-side-image img, .modal .detail-2-col img {
     display: flex;
     flex-wrap: wrap;
     width: 100%;
     padding: 10px 0;
     margin: 0;
   }

   #modal-bg {
     max-width: 100vw;
     margin: 0 !important;
   }
   .modal .bg-title {
     font-size: 1.5em;
     margin: 0;
     padding: 5px 0;
     text-transform: uppercase;
   }
}


/* smaller than 1010px */
@media all and (max-width: 1010px) {
	.nav-main {
    padding-left: 10em;
    margin-top: 9.8em;
  }
}

/* smaller than 988px */
@media all and (max-width: 988px) {
	.nav-main {
    padding-left: 8em;
    margin-top: 10.2em;
  }
}

/* smaller than 968px */
@media all and (max-width: 968px) {
	.nav-main {
    padding-left: 6em;
    margin-top: 10em;
  }
}

/* smaller than 928px */
@media all and (max-width: 928px) {
	.nav-main {
    padding-left: 4em;
  }
}

/* smaller than 893px */
@media all and (max-width: 893px) {
	.nav-main {
    padding-left: 1em;
  }
}

/* smaller than 846px */
@media all and (max-width: 846px) {
	.nav-main {
    border: none;
  }
}

/* smaller than 768px */
@media all and (max-width: 768px) {
	.nav-main {
    width: 100%;
    border: none;
    padding-right: 5.5em;
    margin-top: 0;
  }
  .nav-main ul li {
    font-size: 1.2em;
  }
}

@media all and (max-width: 584px) {
  .nav-main {
    width: 80%;
    padding: 0;
    margin: 0 auto;
    font-size: .875em;
  }
  .logo {
    width: 80%;
  }
}

#container {
  position: relative;
	background: url(../images/fleck-white.gif) fixed repeat center center;
  overflow: hidden;
  min-height: 100vh;
  margin-left: 1.75vw;
  margin-right: 1.75vw;
}

main {
	max-width: 58rem;
	margin: 0 auto;
}

main h2 {
  text-align: center;
  text-transform: uppercase;
}

article {
  overflow: hidden;
}

/* ======================================================================================
   Portfolio
   =================================================================================== */

.portfolio-grid a {
 color: black;
}

.portfolio-grid header {
 position: relative;
 width: 100%;
 height: 23.5em;
 z-index: 2;
 padding-bottom: 0;
 background: none;
 box-shadow: none;
}

.portfolio-grid header .project-details {
 background: rgba(0,0,0,0.9);
 padding: .875em;
 position: absolute;
 top: 100%;
 text-align: center;
 width: 100%;
 height: 50%;
 transition: all 0.2s ease-in;
 -webkit-transition: all 0.1s ease-in;
 -moz-transition: all 0.1s ease-in;
 -o-transition: all 0.1s ease-in;
 -ms-transition: all 0.1s ease-in;
}

.project-details p,
.project-details .button {
 font-size: .875em;
 text-transform: uppercase;
 text-align: center;
 color: #e98a02;
 margin-top: .3em;
}

.cell {
 margin: .2rem;
 position: relative;
 border-radius: .3em;
 transition: all 0.2s ease-in;
 -webkit-transition: all 0.1s ease-in;
 -moz-transition: all 0.1s ease-in;
 -o-transition: all 0.1s ease-in;
 -ms-transition: all 0.1s ease-in;
}

.cell img {
 display: block;
 top: 0;
 position: absolute;
 border-style: solid;
 border-color: rgba(0,0,0,0.4);
 border-width: .03em;
}

.cell .clr {
 opacity: 0;
 z-index: 1;
 transition: all 0.2s ease-in;
 -webkit-transition: all 0.2s ease-in;
 -moz-transition: all 0.2s ease-in;
 -o-transition: all 0.2s ease-in;
 -ms-transition: all 0.2s ease-in;
}

.cell:hover {
	background: black;
}

.cell:hover .responsive-image {
opacity: 1;
	background: black;
}

.cell:hover header .project-details {
	top: 14em;
}

.cell:nth-child(3n+1) {
 margin-left: 0;
}

.cell:nth-child(3n+2) {
 margin-right: 0;
}

.responsive-image {
 max-width: 100%;
}

@media screen and (min-width: 600px) {
 .portfolio-grid {
   display: flex;
   flex-flow: row wrap;
   -webkit-flex-flow: row wrap;
 }
 .portfolio-grid > * {
   flex: 1 1 17em;
 }
 .portfolio-grid header {
   height: 16.5em;
 }
 .cell {
   width: calc(50% - .2em);
 }
 .cell:hover header .project-details {
   top: 10em;
 }
}

@media screen and (max-width: 876px) {
  .cell:nth-child(3n+1) {
   margin: .2em;
  }

  .cell:nth-child(3n+2) {
   margin: .2em;
  }
}

@media screen and (min-width: 1000px) {
 .portfolio-grid header {
   height: 17.7em;
 }
 .cell {
   width: calc(100% /3 - .2em);
 }
}


/* ======================================================================================
   Modal
   =================================================================================== */

button.button:hover {
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  font-family: 'Montserrat' , sans-serif;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
}

.modal:target {
  opacity: 1;
  pointer-events: auto;
}

.modal > div {
  max-height: calc(100% - 100px);
  max-width: 71em;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: .3em;
  overflow: auto;
  background: #fff;
  background: -moz-linear-gradient (#fff, #999);
  background: -webkit-linear-gradient (#fff, #999);
  background: -o-linear-gradient (#fff, #999);
}

.modal header {
 height: 100%;
}

.close {
font-family: 'Crimson-text' , Serif;
font-size: 3em;
color: #000;
text-transform: uppercase;
float: right;
padding: .5em
}

.close:hover,
.close:focus {
 cursor: pointer;
}

.coffee-ring {
  position: relative;
}

.ring-image {
  width: 100%
}

.ring-image:after {
  content: '';
  display: block;
  position: absolute;
  background: url('../images/coffee-ring.png') no-repeat transparent;
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  width: 25em;
  height: 25em;
  top: 0;
  left: 0;
  opacity: 0.2;
  z-index: 1;
}

.detail-container {
  display: flex;
  flex-flow: row wrap;
  width: 58em;
  background-color: white;
  padding: 1em;
  margin: 0 auto;
}

.detail-container h2 {
  font-family: 'Montserrat' , sans-serif;
  font-size: 1.5em;
  text-align: justify;
}

.detail-h2 {
  color: #e98a02;
}

.detail-h3 h3 {
  font-size: .875em;
  font-weight: bold;
  letter-spacing: .1em;
  text-align: left;
  color: #9bcde8;
}

.detail-2-col img {
  width: 50%;
  float: left;
}

.detail-2-col img:nth-child(2n+1) {
  margin-left: 0;
  padding: 0 .5em 0 0;
}

.detail-2-col img:nth-child(2n+2) {
 margin-right: 0;
 padding: 0 0 0 .5;
}

.row-1-detail {
  font-family: 'Montserrat' , sans-serif;
  height: 100%;
  width: 100%;
  padding: 8em;
}

.col-1-detail {
  justify-content: space-between;
}

.col-1-detail ul {
  float: left;
  padding: 0;
  margin: 0;
}
.col-1-detail p {
  line-height: 1.5em;
}

.col-1-detail ul:first-child {
  padding-right: .4em;
}

.col-1-detail ul:last-child {
  border-left: solid 1px #4c4c4c;
  padding-left: .4em;
}

.col-2-detail {
  float: right;
  line-height: 2.5em;
  width: 35em;
}

.modal-content h2 {
  text-align: left;
}

.row-2-detail {
  position: relative;
  width: 50em;
  height: 40em;
  margin: 0 auto;
}

.row-2-detail:after {
  content: '';
  display: block;
  position: absolute;
  background: url('../images/27-display.png') no-repeat transparent;
  background-size: contain;
  background-position: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}

.hide {
  visibility: hidden;
  height: 100%;
  position: inherit;
  padding-top: 1em;
}

video {
  width: 38.3em;
  height: 25.6em;
}

.row-2-detail video {
  position: absolute;
  top: 1.5em;
  left: 5.6em;
  z-index: 5;
}

.graphic-space {
  visibility: visible;
  width: 50em;
  margin: 0 auto;
}

.label-overrides {
  width: 30em !important;
  border: solid .1em grey;
}

.row-3-detail {
  width: 50%;
  left: 0;
  margin: 0;
  padding: 2em 0;
}

.row-3-alt {
  width: 100%;
  left: 0;
  margin: 0;
  padding: 2em 0;
}

.detail-links {
  color: #e98a02;
}

.detail-links p {
  padding-top: 1em;
}

.detail-links a:-webkit-any-link {
  text-decoration: none;
}

.row-4-detail {
  position: relative;
  width: 58em;
  margin: 0 auto;
}

.project-image {
  width: 100%;
  padding: 2em 0 2em 0;
  z-index: 2;
}

.project-image img {
  margin: 0 auto;
}

.side-by-side-image:nth-child(n+3) {
  padding-top: 40em;
  z-index: 3;
  width: 100%;
}

.side-by-side-image img {
  width: 49%;
  float: left;
  margin: 0 5px;
}

.side-by-side-image img:nth-child(2n+1) {
  margin-left: 0;
}

.side-by-side-image img:nth-child(2n+2) {
 margin-right: 0;
}

#modal-bg {
  position: relative;
  width: 100vw;
  min-height: 400px;
  margin-left: calc(-100vw / 2 + 69.3em / 2);
  margin-right: calc(-100vw / 2 + 69.3em / 2);
  background-color: #ffffff;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}



/* .modal-bg-image {
  background-image: url(../images/shedu-logo-sketches2.png);
} */

.bg-title-wrapper {
  text-align: center;
  width: 100%;
}

.bg-title {
  font-family: 'Montserrat', sans-serif;
  color: #000;
  font-size: 2em;
  margin: 0;
  padding: 10px 0;
  text-transform: uppercase;
}

/* ======================================================================================
   About
   =================================================================================== */
.hello-services {
  background-color: #9bcde8;
  padding: 2em;
}

.service-title {
  font-family: 'Montserrat' , sans-serif;
  font-weight: bold;
  text-align: center;
  padding-top: 1em;
  margin: 0 auto;
}

.hello {
  background-color: #e98a02;
  font-family: 'Montserrat' , sans-serif;
  text-align: justify;
  letter-spacing: 1px;
  padding: 40px 40px 40px 40px;
}

.hello-title {
  background-color: #000000;
  padding: 2em;
}

.hello-title h2 {
  font-family: 'Special Elite', cursive, sans-serif;
  font-size: 2em;
  letter-spacing: .1em;
  color: #e98a02;
  text-align: center;
}

.hello p {
  padding-bottom: 1em;
}

.hello-col-1 {
  max-width: 100%;
  margin: 0 0 1em 0;
}

.hello-col-1 figure {
  margin: 0;
}

@media screen and (max-width: 550px) {
   .hello-services {
     display: none;
   }
}
@media screen and (min-width: 600px) {
  .hello {
    display: flex;
    flex-flow: row nowrap;
    -webkit-flex-flow: row nowrap;
  }
  .hello-services {
    display: flex;
    flex-flow: row nowrap;
    -webkit-flex-flow: row nowrap;
    justify-content: space-around;
  }
  .services-circle {
    width: 10em;
    height: 10em;
    overflow: hidden;
    margin: 0 auto;
    padding: 1em;
    border: none;
  }
  .hello-col-1 {
    width: 50%;
    margin: 0 2em 0 0;
  }
  .hello-col-1 figure {
    margin: 0;
  }
  .hello-col-2 {
    width: 50%;
    margin: 0 0 0 2em;
  }
}
@media screen and (min-width: 660px) {
  .services-box {
    width: calc(100%/3 - .2em);
  }
  .services-circle {
    width: 10em;
    height: 10em;
    margin: 0 auto;
    padding: 1em;
    border: solid .1em black;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
  }
}
@media screen and (min-width: 1000px) {
  .services-box {
    width: calc(100%/3 - 1em);
  }
  .services-circle img {
    display: block;
    width: 100%;
    margin: 0 auto;
    border-radius: 50%;
  }
  .roses-graphic img{
    margin: .3em 0 0 .1em;
    border-radius: 0;
  }
  .coffee-maker img{
    width: 7em;
    border-radius: 0 0 50% 0;
  }
}


/* ======================================================================================
   Footer and Copyright
   =================================================================================== */

footer {
  justify-content: space-between;
  background: #4c4c4c;
  max-width: 58rem;
  background-color: grey;
  font-family: 'Montserrat', sans-serif;
  font-size: .875em;
  color: #fff;
  letter-spacing: .1em;
  margin: 0 auto;
  padding: 1em;
}

.col-1-footer {
  flex: 1 1 auto;
  width: 50%;
}

address {
  font-style: normal;
  padding: 1em;
}

address p {
  text-align: left;
  padding-top: .2em;
}

address i {
  float: left;
  margin-right: 1em;
  padding-top: .2em;
}

address a {
  text-decoration: none;
  color: #fff;
}

address a:link {
  color: #fff;
}

address a:hover {
	color: #e98a02;
}

.social {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
	font-size: 1em;
  height: 100%;
}

.social ul {
  display: flex;
}

.social li {
	margin-right: 3em;
}

.social a {
  color: #fff;
}

.social a:hover {
	color: #e98a02;
}

@media screen and (max-width: 550px) {
  .col-1-footer {
    width: 100%;
    margin: 0 auto;
  }
  .social {
    justify-content: center;
    padding: 1em;
  }
}

@media screen and (min-width: 600px) {
  footer {
    display: flex;
    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
  }
}
@media all and (max-width: 780px) {
	.social {
    font-size: .875em;
  }
  footer {
    padding: .5em;
  }
}

#copyright {
    display: flex;
    justify-content: space-between;
    background: #4c4c4c;
    color: #d9d9d9;
    font-size: .750em;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .1em;
    max-width: 58rem;
    margin: 0 auto;
}

#copyright .col-1-footer {
  text-align: left;
  padding: .5em 2em .5em 2em;
}
