/*---------------
 Structure
 ---------------*/
html{
	height:100%;
}
body {
	font-size: 16px;
	height: 100%;
}

.alt-body{
	overflow-y: hidden;

}

header {
	height: 50px;
	width: 100%;
	background-color: white;
	padding: 20px 7% 62px 7%;
	position: fixed;
	top: 0px;
	z-index: 99;
	box-sizing: border-box;
}


#logo {
	height: 46px;
	width: 126px;
	background: url('../images/logo-full.svg');
	display: inline-block;
}
#logo:hover {
	background: url('../images/logo-full.svg') 0 -50px;
}

::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	background-color: hsl(0, 0%, 60%);
}

/*---------------
 TYPOGRAPHY
 ---------------*/
 h1 {
	font-family: Questrial, arial, sans-serif;
	font-size: 32px;
	color: black;
 }

 .active-link{
	 color: hsl(47, 100%, 51%);
 }

 p, .contact-table td {
	font-family: Merriweather, garamond, serif;
	font-size: .9em;
	color: black;
	line-height: 1.5em;
	max-width: 40em;
	margin-bottom: 1em;
 }

 blockquote {
	font-style: italic;
    margin-top: -1em;
 }

/*---------------
 PROJECTS GRID
 ---------------*/
.loading{
	position:absolute;
	top:-4em;
	left:0;
	width:100%;
	height:100%;
	z-index:999999;
}
.loading img{
	margin:0 auto;
	display:table;
	width:128px;
	  position:relative;
  top:50%;
  transform:translateY(-50%);
}

.grid{
	width: 86%;
	margin: 80px auto;
	visibility:hidden;
}

.grid-sizer,
.grid-item {
  width: 25%;
}

.grid-item {
  float: left;
  position: relative;
  display: block;
  cursor:pointer;
}

.grid-item img{
	width: 100%;	height: 100%;
	display: block;
}

.grid-item:hover div{
	opacity: 1;
}

.overlay{
	opacity: 0;
	width: 100%;
	height: 100%;
	display: block;
	background-color: hsla(0, 0%, 0%, 0.7);
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transition: opacity 0.25s;
	transition: opacity 0.25s;
	text-align: center;
}

.grid-item:hover .overlay{
  opacity:1;
}

.overlay-text{
  color:white;
  display:table;
  margin:0 auto;
  text-align:center;
  position:relative;
  top:50%;
  transform:translateY(-50%);
  padding:0.5em;
  max-width:80%;
}

.overlay-text h2{
	font-family: Questrial, arial, sans-serif;
	font-size: 1.2em;
	text-transform: uppercase;
	color: white;
	font-weight: 800;
	letter-spacing: 4px;
	position: relative;
  	top: 35%;
	transform: translateY(-50%);;
	border-bottom:1px solid white;
	display:table;
	margin:0 auto;
	padding:0 0.5em 0.5em 0.5em;
}

.overlay-text p{
	font-family: garamond, serif;
	font-size: 1em;
	text-transform: lowercase;
	color: white;
	font-weight: 100;
	letter-spacing: 1px;
	position: relative;
  	text-align: center;
}

/*---------------
 Slider
 ---------------*/

.slider {
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	padding: 1em 7% 0;
	margin: 0 auto;
	overflow-y: auto;
}

.slider-content{
	height:100%;
}

.slider-text {
	width: 30%;
	padding: 2em 3em;
	position: relative;
}

.slider-photos img {
	width:100%;
}

.slider-text {
	display: inline-block;
	vertical-align: top;
	margin: 0;
	border: 0;
	box-sizing: border-box;
}

.slider-text h1{
	margin-bottom: .5em;
}


.close-button {
    height: 25px;
    width: 25px;
    position: absolute;
    top: 100px;
    right: 7.5em;
    background: url('../images/x-icon.png');
    display: inline-block;
    background-size: cover;
    opacity: 0.3;
	z-index: 900;
}

.close-button:hover {
	opacity: 0.8;
	cursor: pointer;
}

/*---------------
 Nano Scroller
 ---------------*/

 .slider-photos.nano {
 	width: 68%;
 	height: 100%;
	float:left;
	font-size:0px;
 	}


  .slider-photos.nano .nano-pane {
 	background: rgba(255,255,255,.25);

 	}


/*---------------
 Pages
 ---------------*/

.page {
	margin: 2em auto;
	width: 70%;
}


.about-img {
	width: 35%;
	display: inline-block;
}

.page h1 {
	margin-bottom: .5em;
}

.right-column {
	width: 60%;
	position: relative;
	display: inline-block;
	vertical-align: top;
	padding-left: 2em;
}
.client-container{
	width: 80%;
    margin: 0 auto;
	margin-top: 4em;
}

.client-container a{
    width: 33%;
    display: inline-block;
    padding: 2em;
    box-sizing: border-box;
	text-align: center;
	vertical-align: middle;
}

.client-container a img {
    max-height: 90px;
    max-width: 100%;
	filter: invert(0.2);
	-webkit-filter: invert(0.2);
	margin-bottom: 2em;
	opacity: 1;
   transition: opacity .15s ease-in-out;
   -moz-transition: opacity .15s ease-in-out;
   -webkit-transition: opacity .15s ease-in-out;
}

.client-container a img:hover {
	opacity: 0.6;
    filter: alpha(opacity=60);
}


td.descriptor {
    font-weight: bold;
	text-align: right;
}

td {
	padding:0.5em;
}

.contact-table {
	margin: 0 auto;
}

.about-text h2 {
	font-family: Questrial, arial, sans-serif;
	font-size: 1.2em;
	text-transform: uppercase;
	color: black;
	margin: 1em 0 .25em;
}

.about-text h3 {
	font-family: Merriweather, garamond, serif;
	font-size: .8em;
	color: black;
	margin: .35em 0 .25em;
	font-weight: bold;
}

.icons>a {
	display: inline-block;
	padding-right: 10px;
}

.insta-icon {
    background: url(../images/insta-icon.png);
}

.insta-icon:hover {
	background: url(../images/insta-icon.png) 0 -46px;
}

.linkedin-icon {
    background: url(../images/linkedin-icon.png);
}

.linkedin-icon:hover {
	background: url(../images/linkedin-icon.png) 0 -46px;
}

.insta-icon, .linkedin-icon {
	background-repeat: no-repeat;
	width: 45px;
    height: 45px;
}

.insta-icon:hover, .linkedin-icon:hover {
	background-repeat: no-repeat;
}
