/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
* {
  margin: 0;
  padding: 0;
  border: none;
  list-style-type: none;
  text-decoration: none;
  outline: none;
}
body {
  line-height: 1;
  min-width: 320px;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
strong {
  font-weight: bold;
}
.underlined {
  text-decoration: underline;
}
.disabled {
  pointer-events: none;
  opacity: 0.3;
}
/* ------ Start orignal file ------ */
body {
  text-align: center;
  background: #FFF;
  color: #58595b;
  font-family: 'Lato', sans-serif;
  font-size: 1em;
  line-height: 1.5em;
}
body.overlay-active {
  overflow: hidden;
}
a,
a:link,
a:visited {
  color: #888;
}
#content h1 {
  font-size: 1.4em;
  text-transform: lowercase;
  margin-bottom: 1em;
  margin-top: 20px;
}
/* ------ Layout & Positioning ------ */
#wrapper {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
#header {
  display: block;
  z-index: 1;
  position: fixed;
  width: 90%;
  min-width: 320px;
  box-sizing: border-box;
  margin: 0;
  text-align: left;
  overflow: hidden;
  background: rgba(255, 255, 255, 1) none repeat scroll 0% 0%;
}
#content {
  padding-top: 0 !important;
  display: block;
  width: 84%;
  text-align: left;
  box-sizing: border-box;
  margin: 92px auto 45px auto;
  padding-bottom: 20px;
}
body.contact #content,
body.about-and-contact #content {
  width: 83%;
  margin-top: 100px;
  position:relative;
}
.page-copy {
  max-width: 400px;
  font-size: 0.7em;
  padding-top: 2em;
  padding-bottom: 10px;
}
.page-copy p {
  padding-bottom: 1em;
}
.page-copy ul {
  list-style-type: disc;
  padding: 0 1em;
  margin-left: 1em;
}
.page-copy ul li {
  list-style-type: disc;
  margin-left: 1em;
}
/* ------ Header & Navigation Styles ------ */
#header {
  position: fixed;
  top: 0px;
  margin: 0px;
  padding: 32px 0px 27px 0px;
  width: 100%;
  overflow: visible;
}
#header .header-inner {
  margin: 0 auto;
  width: 83%;
  position: relative;
}
#header .logo {
  font-size: 19px;
  letter-spacing: 0.7em;
  color: black;
}
#header .logo:hover {
  text-decoration: none;
}
#nav-container {
  right: 0px;
  top: 0px;
  position: absolute;
  z-index: 1999;
}
#nav-container .fa-bars {
  color: black;
  font-size: 23px;
  transition: all 200ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
#nav-trigger {
  display: none;
}
#header #nav {
  display: block;
  overflow: hidden;
  position: relative;
}
#header #nav li {
  display: block;
  float: left;
  overflow: hidden;
  height: 74px;
  box-sizing: border-box;
}
#header #nav li:nth-child(6) a, #header #nav li:nth-child(6) a:active, #header #nav li:nth-child(6) a:hover {
  padding-right: 0px;
}
#header #nav li:nth-child(1) a {
  margin-right: 20px;
}
#header #nav .mobile-view-link {
  display: none;
}
#header #nav li a,git status
#header #nav li a:visited,
#header #nav li a:active {
  display: block;
  font-weight: normal;
  text-transform: lowercase;
  font-size: 14px;
  padding: 0px 12px 28px 12px;
}
#header #nav li a.selected,
#header #nav li a:hover,
#header #nav li a.active {
  text-decoration: none;
  color: black;
}
#header #nav .art-director {
  border-bottom: 2px solid #D05E5E;
}
#header #nav .art-director:hover,
#header #nav .art-director.active {
  color: #D05E5E;
}
#header #nav .stylist {
  border-bottom: 2px solid #6196BB;
}
#header #nav .stylist:hover,
#header #nav .stylist.active {
  color: #6196BB;
}
/* ------ Grid Styles ------ */
.grid-cols {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
  -webkit-column-width: 150px;
  -moz-column-width: 150px;
  column-width: 150px;
}
.grid-cols li {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.grid-cols * {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  /*only in IE10*/
}
.post-grid * {
  box-sizing: border-box;
}
.post-grid {
  position: relative;
  height: auto;
  margin: 0 auto;
  margin-bottom: -30px;
}
.post-grid > li {
  overflow: hidden;
  padding: 5px 5px 30px 5px;
}
.post-grid > li.loading {
  opacity: 0.01;
}
.post-grid > li > a {
  display: block;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
}
.post-grid a img {
  width: 100%;
  display: block;
}
.post-grid figure {
  position: relative;
  margin: -1px;
  overflow: hidden;
}
.post-grid a figcaption {
  position: absolute;
  width: 100%;
  bottom: -150%;
  height: auto;
  padding: 100px 20px 20px 20px;
  z-index: 0;
  text-align: right;
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.8) 50%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.8) 50%);
  margin: 0;
  color: #FFF;
  font-size: 12px;
  line-height: 1.5;
  font-family: 'Fjalla One', sans-serif;
  -webkit-transition: all 500ms cubic-bezier(0.605, 0, 0.025, 1);
  /* older webkit */
  -webkit-transition: all 500ms cubic-bezier(0.605, 0, 0.025, 1.04);
  transition: all 500ms cubic-bezier(0.605, 0, 0.025, 1.04);
  /* custom *
  -webkit-transition-timing-function: cubic-bezier(0.605, 0.000, 0.025, 1); /* older webkit */
  -webkit-transition-timing-function: cubic-bezier(0.605, 0, 0.025, 1.04);
  transition-timing-function: cubic-bezier(0.605, 0, 0.025, 1.04);
  /* custom */
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.post-grid a figcaption span {
  display: block;
}
.prop-stylist a figcaption .role {
  color: #6196BB;
}
.art-director a figcaption .role {
  color: #D05E5E;
}
.post-grid > li:hover a {
  background: black;
}
.post-grid > li:hover a figcaption {
  bottom: 0px;
}
.post-grid > li:hover > a > figure > img {
  opacity: 0.8;
}
.post-grid a figcaption dl {
  overflow: hidden;
  margin: 10px auto 0px auto;
}
.post-grid a figcaption dt,
.post-grid a figcaption dd {
  display: inline-block;
  width: 40%;
}
.post-grid .homepage_sequence {
  display: none;
}
/* ------ Footer Styles ------ */
#footer {
  height: 38px;
  clear: both;
  margin: 0px auto 14px;
  overflow: hidden;
  width: 84%;
}

#footer .social-links {
  float: right;
  font-size: 30px;
}
#footer .social-links li {
  display: inline-block;
  line-height: 40px;
}
#footer .social-links i, #footer .admin-link {
  color: black;
  margin: 0px 4px;
  transition: all 200ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
#footer .social-links i:hover {
  opacity: 0.7;
}
/* ------ Form Styles ------ */
form {
  overflow: hidden;
}
form fieldset {
  border: 0;
}
form input[type="text"],
form input[type="password"],
form input[type="submit"],
form textarea,
form select {
  border: 1px solid #999;
  display: block;
  padding: 10px 0px 10px 10px;
}
form input[type="text"],
form textarea {
  width: calc(97% - 40px);
}
form textarea {
  width: calc(97% - 40px);
  height: 120px;
}
form input[type="submit"] {
  margin: 10px 0;
  cursor: pointer;
  width: 200px;
  padding-left: 0px;
  color: white;
  background: black;
  text-transform: uppercase;
}
form input[type="submit"]:hover {
  background: #c8c8c8;
}
label.error {
  display: block;
  color: red;
  padding-left: .5em;
  vertical-align: top;
}
/* ------ Gallery Modal ------ */
.slide-gallery {
  right: 100% !important;
}
.hidden {
  display: none !important;
}
.hidden-gallery {
  position: fixed;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9;
  margin: 0px !important;
  /* has to be scroll, not auto */
  -webkit-overflow-scrolling: touch;
}
.hidden-gallery a {
  font-size: 40px;
  color: whitesmoke;
  z-index: 4;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 43px;
  text-align: center;
}
.hidden-gallery a:hover {
  opacity: 0.7;
  text-decoration: none;
}
.hidden-gallery a.prev {
  position: fixed;
  left: 20px;
  top: 50%;
}
.hidden-gallery a.next {
  position: fixed;
  right: 20px;
  top: 50%;
}
.hidden-gallery a.close-gallery {
  position: fixed;
  right: 7px;
  top: 12px;
  background: none;
}
.hidden-gallery ul {
  width: 100%;
  height: 100%;
  white-space: nowrap;
  overflow-x: scroll;
}
.hidden-gallery ul li {
  width: 100%;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  height: 100%;
}
.hidden-gallery ul li:before {
  content: "";
  display: inline-block;
  width: 0px;
  margin-left: -10px;
  height: 100%;
  vertical-align: middle;
}
.hidden-gallery ul li h3 {
  position: absolute;
  color: whitesmoke;
  top: -30px;
}
.hidden-gallery ul li img {
  display: inline-block;
  vertical-align: middle;
  max-height: 100vh;
  max-width: 100%;
}
/* ------ Media Queries ------ */
/* 1024px break */

@media (min-width: 1023px) {
  .contact-section {
    position: absolute;
    top: -20px;
    left: 580px;
    width: 400px;
  }
}

@media (max-width: 1024px) {
  #header #nav li a {
    padding: 0px 8px 27px 8px;
  }
  .post-grid a figcaption {
    padding: 57px 7px 7px 7px;
    bottom: 0px;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.75) 50%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.75) 50%);
    position: absolute;
    color: white;
    font-size: 11px;
    -webkit-transition: none;
            transition: none;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin-top: 7px;
  }
  .grid-cols {
    -webkit-column-count: 2;
    -webkit-column-gap: 15px;
    -moz-column-count: 2;
    -moz-column-gap: 15px;
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
    -webkit-column-gap: 15px;
       -moz-column-gap: 15px;
            column-gap: 15px;
  }
  .post-grid > li {
    padding-bottom: 15px;
  }
  #header .logo {
    font-size: 16px;
    color: black;
  }
}

.alert {
  font-size: 1.5em;
  color: black;
  display: block;
  padding: 10px;
  background: #eee;
  width: calc(97% - 40px);
}


/* nav too long */
@media (max-width: 890px) {
  #content {
    margin-top: 58px;
  }
  .about-and-cv #content {
    margin-top: 86px;
    position: relative;
  }
  #header {
    padding: 16px 0px;
  }

  #header #nav {
    display: none;
  }

  #header #nav-container.open #nav {
    display: block;
  }

  #header #nav-container.open .fa-bars {
    transform: rotate(-90deg);
  }

  #nav-container {
    right: 0px;
    top: 0px;
    z-index: 9;
  }
  #nav-trigger {
    display: block;
    position: relative;
    top: -3px;
  }
  #nav-trigger a {
    font-size: 30px;
    float: right;
  }
  #header #nav li {
    display: block;
    height: auto;
    padding: 0px;
    background: white;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #888;
  }
  #header #nav li:nth-child(1) a {
    margin: 0px auto;
  }
  #header #nav li a,
  #header #nav li a:visited,
  #header #nav li a:active {
    display: block;
    text-align: right;
    font-weight: normal;
    text-transform: lowercase;
    font-size: 16px;
    line-height: 40px;
    border-bottom: none !important;
    padding: 0px;
    width: 83%;
    margin: 0 auto;
  }
  #header #nav li a.selected,
  #header #nav li a:hover {
    text-decoration: none;
    color: #4D4D4D;
  }
  #header #nav {
    position: fixed;
    width: 100%;
    z-index: 9999;
    left: 0;
    top: 49px;
  }
}


@media only screen and (max-width: 550px) {
  #content {
    width: 93%;
  }
  #header #nav li a,
  #header #nav li a:visited,
  #header #nav li a:active {
    width: 91%;
  }
  .grid-cols {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
  #header .header-inner {
    width: 91%;
  }
}


/* ------ LOADING ------ */
/* --- pulsating-tiles --- */
.post-grid li.loading a:nth-child(odd) {
  -webkit-animation: pulse 2s infinite;
}
.post-grid li.loading a:nth-child(even) {
  -webkit-animation: pulse2 2s infinite;
}
.post-grid li.loading a.art-director {
  background: #D05E5E;
}
.post-grid li.loading a.prop-stylist {
  background: #6196BB;
}
.post-grid li.loading a figure {
  position: relative;
}
@-webkit-keyframes pulse {
  0% {
    background-color: #e2e2e2;
  }
  50% {
    background-color: #efefef;
  }
  100% {
    background-color: #e2e2e2;
  }
}
@-webkit-keyframes pulse2 {
  0% {
    background-color: #efefef;
  }
  50% {
    background-color: #e2e2e2;
  }
  100% {
    background-color: #efefef;
  }
}
/* --- spinner icon --- */
.spinner {
  width: 50px;
  height: 50px;
  position: absolute;
  text-indent: -9999px;
  border-radius: 50%;
  border-top: 6px solid rgba(255, 255, 255, 0.2);
  border-right: 6px solid rgba(255, 255, 255, 0.2);
  border-bottom: 6px solid rgba(255, 255, 255, 0.2);
  border-left: 6px solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  top: calc(50% - 25px);
  left: calc(50% - 25px);
  -webkit-animation: load8 0.8s infinite linear;
          animation: load8 0.8s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
