/* ============================================================
   portfolio.css — original karinlizana.com CSS rules
   Ported verbatim from Adobe Portfolio source files.
   ============================================================ */

/* 1. .cfix:after */
.cfix:after {
  clear: both;
  content: ' ';
  display: block;
  height: 0;
  line-height: 0;
  overflow: hidden;
  visibility: hidden; }

/* 2. .site-container, .site-wrap .site-container */
.site-container {
  float: none;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px; }

.site-wrap .site-container,
.site-container {
  position: relative;
  width: 100%; }

/* 3. .site-content */
.site-content {
  margin-left: 2%;
  margin-right: 2%;
  width: 96%; }

/* 4. .site-header */
.site-header {
  position: relative; }

.site-header {
  display: -webkit-flex;
  display: flex;
  position: relative; }

.site-header {
  -webkit-align-items: center;
  align-items: center;
  background-color: #fff;
  border-bottom: 5px solid #f2f2f2;
  height: 100px;
  padding-bottom: 0px;
  padding-left: 0%;
  padding-right: 0%;
  padding-top: 30px; }

/* 5. .logo-wrap (both blocks), .logo-text, .logo, .logo a, .logo a:hover */
.logo-wrap {
  flex: 1; }

.logo-wrap {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0px;
  padding-top: 0px;
  width: 1.5%; }

.logo-text {
  margin-left: auto;
  margin-right: auto;
  text-align: center; }

.logo {
  font-family: "Arimo", sans-serif;
  font-size: 23px;
  font-style: normal;
  line-height: 30px;
  padding-bottom: 0px;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 0px; }

.logo,
.logo a {
  color: #191919; }

.logo a:hover {
  color: #191919;
  font-style: normal;
  font-weight: 700; }

/* 6. nav (float/width/padding/text-align block), nav .gallery-title, nav .page-title, nav .link-title (padding blocks) */
nav {
  float: left;
  max-width: 100%;
  width: 80%; }

nav {
  padding-left: 0%;
  padding-right: 0%;
  text-align: left; }

  nav .gallery-title {
    padding-left: 0px;
    padding-right: 20px; }

  nav .project-title {
    padding-left: 0px;
    padding-right: 20px; }

  nav .page-title {
    padding-left: 0px;
    padding-right: 20px; }

  nav .link-title {
    padding-left: 0px;
    padding-right: 20px; }

/* 7. nav .gallery-title a, a:hover, a.active — same for .page-title and .link-title */
nav .gallery-title a {
  color: #999;
  font-family: "Arimo", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; }

  nav .gallery-title a:hover {
    color: #999;
    font-style: normal;
    font-weight: 400; }

  nav .gallery-title a.active {
    color: #191919;
    font-style: normal;
    font-weight: 500; }

nav .project-title a {
  color: #999;
  font-family: "Arimo", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; }

  nav .project-title a:hover {
    color: #999;
    font-style: normal;
    font-weight: 400; }

  nav .project-title a.active {
    color: #191919;
    font-style: normal;
    font-weight: 500; }

nav .page-title a {
  color: #999;
  font-family: "Arimo", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; }

  nav .page-title a:hover {
    color: #999;
    font-style: normal;
    font-weight: 400; }

  nav .page-title a.active {
    color: #191919;
    font-style: normal;
    font-weight: 500; }

nav .link-title a {
  color: #999;
  font-family: "Arimo", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; }

  nav .link-title a:hover {
    color: #999;
    font-style: normal;
    font-weight: 400; }

/* 8. nav .page-title, nav .gallery-title, nav .project-title, nav .link-title, nav .social, nav .social li (inline-block block) */
nav .page-title,
nav .gallery-title,
nav .project-title,
nav .link-title,
nav .social,
nav .social li {
  display: inline-block;
  vertical-align: middle; }

nav .project-title:first-child,
nav .gallery-title:first-child,
nav .page-title:first-child,
nav .link-title:first-child {
  padding-left: 0 !important; }

nav .project-title:last-child,
nav .gallery-title:last-child,
nav .page-title:last-child,
nav .link-title:last-child {
  padding-right: 0 !important; }

/* 9. .pf-nav-social and all its modifiers */
.pf-nav-social {
  text-align: right;
  width: 18.5%; }

  .pf-nav-social li {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 10px;
    padding-right: 0px; }

  .pf-nav-social a:hover svg {
    fill: #191919;
    opacity: 1; }

  .pf-nav-social svg {
    fill: #191919;
    height: 30px;
    opacity: 1;
    width: 30px; }

  @media (max-width: 768px) {
    .pf-nav-social li {
      padding-top: 0px;
      padding-bottom: 0px;
      padding-left: 8px;
      padding-right: 0px; } }

  @media (max-width: 540px) {
    .pf-nav-social li {
      padding-top: 0px;
      padding-bottom: 0px;
      padding-left: 7px;
      padding-right: 0px; } }

/* 10. .masthead (all blocks including flex block), .masthead-contents, .masthead-text, .masthead h1, .masthead p, .masthead-contents { max-width: 800px } */
.masthead {
  overflow: hidden;
  position: relative; }

.masthead,
.masthead-placeholder {
  width: 100%; }

.masthead-contents,
.masthead-text {
  width: 100%; }

.masthead-contents {
  height: 100%;
  top: 0;
  z-index: 1; }

.masthead,
.masthead-contents {
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -ms-flex-align: center; }

.masthead {
  background-color: #fff;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  box-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  margin-bottom: 0px;
  padding-left: 0%;
  padding-right: 0%;
  padding-bottom: 100px;
  padding-top: 110px; }

  .masthead:after {
    display: none; }

  .masthead h1 {
    color: #787878;
    font-family: "Arimo", sans-serif;
    font-size: 40px;
    font-weight: normal;
    line-height: 40px;
    margin-bottom: 15px;
    margin-top: 0px;
    text-align: center;
    text-transform: none; }

  .masthead p {
    color: #999;
    font-family: "Arimo", sans-serif;
    font-size: 20px;
    font-style: normal;
    line-height: 20px;
    margin-bottom: 0px;
    margin-top: 0px;
    text-align: center;
    text-transform: none; }

.masthead-contents {
  max-width: 800px; }

/* 11. Responsive masthead rules */
@media (max-width: 768px) {
  .masthead {
    margin-bottom: 0px;
    padding-bottom: 40px;
    padding-top: 44px;
    padding-left: 0;
    padding-right: 0; }

    .masthead h1 {
      font-size: 20px;
      line-height: 20px;
      margin-bottom: 11px;
      margin-top: 0px; }

    .masthead p {
      font-size: 14px;
      line-height: 14px;
      margin-bottom: 0px;
      margin-top: 0px; } }

@media (max-width: 540px) {
  .masthead {
    padding-bottom: 34px;
    padding-top: 38px;
    margin-bottom: 0px; }

    .masthead h1 {
      font-size: 18px;
      line-height: 18px;
      margin-bottom: 10px;
      margin-top: 0px; }

    .masthead p {
      font-size: 14px;
      line-height: 20px;
      margin-bottom: 0px;
      margin-top: 0px; } }

/* 12. .project-cover .details transition (from main.css) */
.project-cover .details {
  transition: background 0.2s ease; }

/* 13. .project-cover title/fields/custom/description/date transitions (from main.css) */
.project-cover .title,
.project-cover .fields,
.project-cover .custom,
.project-cover .description,
.project-cover .date {
  transition: color 0.2s ease; }

/* 14. .project-covers */
.project-covers {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 0px;
  padding-top: 0px; }

/* 15. .project-cover — all blocks */
.project-cover .details-inner:after, .project-covers:after {
  clear: both;
  content: '';
  display: table; }

.project-cover {
  display: block;
  position: relative; }

  .project-cover.hold-space .cover-image:before {
    content: '';
    display: block;
    width: 100%; }

  .project-cover.hold-space .cover {
    left: 0;
    min-height: 100%;
    position: absolute;
    top: 0; }

  .project-cover .cover-image-wrap {
    overflow: hidden;
    position: relative; }

  .project-cover .cover-image {
    position: relative;
    -webkit-transform: translateZ(0); }

    .project-cover .cover-image:after {
      -webkit-transition: background-color 0.2s ease, opacity 0.2s ease;
      -moz-transition: background-color 0.2s ease, opacity 0.2s ease;
      transition: background-color 0.2s ease, opacity 0.2s ease;
      content: '';
      display: block;
      height: 100%;
      left: 0;
      position: absolute;
      top: 0;
      width: 100%; }

  .project-cover .cover {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    min-height: 100%;
    overflow: hidden;
    width: 100%; }

    .project-cover .cover .cover__img {
      font-family: 'object-fit: cover;';
      height: calc(100% + 2px);
      left: 50%;
      object-fit: cover;
      position: absolute;
      top: 50%;
      transform: translate(-50%, -50%);
      width: calc(100% + 2px); }

  .project-cover .title,
  .project-cover .date,
  .project-cover .custom1,
  .project-cover .custom2,
  .project-cover .description {
    clear: both; }

  .project-cover .description {
    white-space: pre-line;
    word-wrap: break-word; }

  .project-cover .details-inner {
    overflow: hidden; }

.project-cover .cover-image {
  background-position: center center;
  background-size: cover;
  height: 100%; }

  .project-cover .cover-image:before {
    display: none; }

.project-cover .details-wrap {
  -webkit-backface-visibility: hidden;
  height: 100%; }

.project-cover .details {
  display: flex;
  height: 100%;
  position: relative;
  width: 100%; }

.project-cover .details-inner {
  width: 100%; }

.project-cover .details-wrap {
  position: absolute; }

.project-cover .details {
  height: 100%; }

.project-cover {
  margin-right: 0px;
  width: calc(100% - 0px); }

  .project-cover.hold-space .cover-image:before {
    padding-bottom: 74.925%; }

  .project-cover .cover {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%); }

  .project-cover .cover-image {
    width: 100%; }

    .project-cover .cover-image:after {
      background-color: #191919;
      opacity: 0; }

  .project-cover .cover-image,
  .project-cover .cover-image:after,
  .project-cover .cover {
    border-radius: 0px; }

  .project-cover .details-wrap {
    padding-top: 0%;
    width: 40%; }

  .project-cover .details {
    background: #f2f2f2; }

  .project-cover .details-inner {
    padding-bottom: 6%;
    padding-left: 8%;
    padding-right: 8%;
    padding-top: 6%; }

  .project-cover .title {
    color: #464646;
    float: none;
    font-family: "Arimo", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    margin: auto;
    padding-bottom: 3px;
    padding-left: 0%;
    padding-right: 0%;
    padding-top: 0px;
    text-align: center;
    text-transform: none;
    width: 100%; }

  .project-cover .date {
    color: #999;
    float: none;
    font-family: "Arimo", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    margin: auto;
    padding-bottom: 0px;
    padding-left: 0%;
    padding-right: 0%;
    padding-top: 0px;
    text-align: center;
    text-transform: none;
    width: 100%; }

  .project-cover:nth-child(1n) {
    margin-right: 0; }

  .project-cover:nth-child(1n + 1) {
    clear: left;
    margin-left: 0; }

.project-cover .cover-image-wrap {
  height: 450px; }

.project-cover .details-wrap {
  padding-bottom: 0%; }

.project-cover .details {
  align-items: center; }

/* 16. .project-cover:hover */
.project-cover:hover .cover, .project-cover.touch-hover .cover {
  -webkit-filter: none;
  filter: none; }

.project-cover:hover .cover-image:after, .project-cover.touch-hover .cover-image:after {
  background-color: #191919;
  opacity: 0.5; }

.project-cover:hover .details {
  background: #191919; }

.project-cover:hover .title {
  color: #fff;
  font-style: normal;
  font-weight: 500;
  text-transform: none; }

.project-cover:hover .date {
  color: #999;
  font-style: normal;
  font-weight: 400;
  text-transform: none; }

/* 17. .project-cover:nth-child(even) and :nth-child(odd) */
.project-cover {
  margin-bottom: 20px;
  margin-top: 0px; }

  .project-cover:nth-child(even) .cover-image-wrap {
    float: right; }

  .project-cover:nth-child(even) .details-wrap {
    left: 0; }

  .project-cover:nth-child(odd) .cover-image-wrap {
    float: left; }

  .project-cover:nth-child(odd) .details-wrap {
    right: 0; }

  .project-cover .cover-image-wrap {
    width: 60.1%; }

  @media (min-width: 541px) {
    .project-cover.hold-space .cover-image:before {
      display: none; } }

/* 18. Responsive project-cover rules */
@media (max-width: 768px) {
  .project-cover .cover-image-wrap {
    height: 360px; } }

@media (max-width: 540px) {
  .project-cover .cover-image-wrap,
  .project-cover .details-wrap {
    float: none !important;
    height: auto;
    position: relative;
    width: 100%; }

  .project-cover .details-inner {
    position: static;
    transform: none; } }
