/*
 * Basics
 */
/**
 * The font softwares linked here below are the property of swiss typefaces Sàrl.
 * You may not download the font softwares.
 * Purchase and licensing informations are available at http://www.swisstypefaces.com/licensing/
 * Copyright (c) swiss typefaces Sàrl
 */
@font-face {
  font-family: 'Suisse Intl';
  src: url('https://valeriebovay.ch/wp-content/themes/valerie/fonts/SuisseIntl-Light-WebS.eot');
  src: url('https://valeriebovay.ch/wp-content/themes/valerie/fonts/SuisseIntl-Light-WebS.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Suisse Intl';
  src: url('https://valeriebovay.ch/wp-content/themes/valerie/fonts/SuisseIntl-Medium-WebS.eot');
  src: url('https://valeriebovay.ch/wp-content/themes/valerie/fonts/SuisseIntl-Medium-WebS.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
::selection,
::-moz-selection {
  background-color: rgba(0, 0, 0, 0.25);
  color: white;
}
html,
body {
  height: 100%;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smooth: always;
  text-rendering: optimizeLegibility;
  background-color: #fcfcfc;
  color: #606264;
  font: 14px/19px 'Suisse Intl', sans;
  overflow-x: hidden;
}
ol,
ul {
  list-style: none;
}
a {
  color: #606264;
  text-decoration: none;
}
.hidden {
  display: none;
}
.clear {
  clear: both;
}
.shadow {
  -webkit-box-shadow: 1px 1px 6px #C0C0C0;
  -moz-box-shadow: 1px 1px 6px #C0C0C0;
  box-shadow: 1px 1px 6px #C0C0C0;
}
/*
 * Where the magic appends
 */
header {
  position: fixed;
  height: 65px;
  left: 30px;
  right: 30px;
  padding-top: 20px;
  border-bottom: 1px solid #606264;
  background-color: #fcfcfc;
  z-index: 3;
}
header nav {
  display: inline-block;
}
header nav a {
  position: absolute;
  padding-left: 15px;
  top: 39px;
  -webkit-transition: color 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out;
  -o-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
header nav a:hover {
  color: #232021;
}
header nav a.selected {
  font-weight: bold;
}
header nav a.mobile {
  display: none;
}
section {
  min-height: 100%;
  position: relative;
  padding: 90px 30px 30px;
}
section:after {
  display: block;
  content: "";
  clear: both;
}
section article.preview {
  margin-bottom: 15px;
}
section article.preview:last-of-type {
  margin-bottom: 0;
}
section article.preview:after {
  content: "";
  display: block;
  clear: both;
}
section article.preview a .description {
  margin-top: -4px;
  position: relative;
  float: left;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
section article.preview a .description strong {
  display: block;
  font-weight: bold;
}
section article.preview a .description em {
  display: block;
  font-style: normal;
  text-transform: uppercase;
  margin-top: 1em;
  font-size: 12px;
  line-height: 12px;
}
section article.preview a .description time {
  font-size: 12px;
}
section article.preview a .images {
  position: relative;
  float: left;
  text-align: center;
  -webkit-transition: width 0.5s ease-in-out, opacity 0.3s ease-in-out;
  -moz-transition: width 0.5s ease-in-out, opacity 0.3s ease-in-out;
  -o-transition: width 0.5s ease-in-out, opacity 0.3s ease-in-out;
  transition: width 0.5s ease-in-out, opacity 0.3s ease-in-out;
}
section article.preview a .images img {
  width: 100%;
}
section article.preview a .images img.narrow {
  display: block;
  max-width: 100%;
  width: auto;
}
section article.preview a:hover > div {
  opacity: 0.4;
  filter: alpha(opacity=40);
}
section article.category {
  position: relative;
  float: left;
}
section article.category h1 {
  font-size: 1.4em;
  margin-bottom: 30px;
}
section article.category a {
  display: block;
  margin-bottom: 24px;
}
section article.category a:last-of-type {
  margin-bottom: 30px;
}
section article.category a img {
  display: block;
  width: 100%;
  margin: 0 auto 5px;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
section article.category a strong {
  display: block;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
section article.category a.narrow img {
  width: 70%;
}
section article.category a.narrow strong {
  position: relative;
  left: 15%;
}
section article.category a:hover > img,
section article.category a:hover > strong {
  opacity: 0.4;
  filter: alpha(opacity=40);
}
section article.work:after {
  content: "";
  display: block;
  clear: both;
}
section article.work .empty {
  height: 1px;
  float: left;
}
section article.work .description {
  position: fixed;
  margin-top: -4px;
  padding-right: 20px;
}
section article.work .description strong {
  display: block;
  font-weight: bold;
}
section article.work .description em {
  display: block;
  font-style: normal;
  text-transform: uppercase;
  margin-top: 1em;
  font-size: 12px;
  line-height: 12px;
}
section article.work .description a {
  -webkit-transition: color 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out;
  -o-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
section article.work .description a:hover {
  color: #232021;
}
section article.work .description time {
  font-size: 12px;
}
section article.work .images {
  position: relative;
  float: left;
  text-align: center;
  -webkit-transition: width 0.5s ease-in-out;
  -moz-transition: width 0.5s ease-in-out;
  -o-transition: width 0.5s ease-in-out;
  transition: width 0.5s ease-in-out;
}
section article.work .images img {
  width: 100%;
  margin-bottom: 15px;
}
section article.work .images img:last-of-type {
  margin-bottom: 0;
}
section article.work .images img.narrow {
  display: block;
  max-width: 100%;
  width: auto;
}
section article.contact .infos {
  margin-top: -4px;
  position: relative;
  float: left;
}
section article.contact .infos div {
  margin-bottom: 20px;
}
section article.contact .infos strong {
  display: block;
  font-weight: bold;
}
section article.contact .infos em {
  display: block;
  font-style: normal;
  text-transform: uppercase;
  margin-top: 1em;
  font-size: 12px;
  line-height: 12px;
}
section article.contact .about {
  margin-top: -4px;
  position: relative;
  float: left;
  -webkit-transition: width 0.5s ease-in-out, opacity 0.3s ease-in-out;
  -moz-transition: width 0.5s ease-in-out, opacity 0.3s ease-in-out;
  -o-transition: width 0.5s ease-in-out, opacity 0.3s ease-in-out;
  transition: width 0.5s ease-in-out, opacity 0.3s ease-in-out;
}
section footer {
  position: absolute;
  bottom: 30px;
  left: 30px;
  font-size: 0.7em;
  line-height: 1.3em;
}
section footer a:hover {
  color: #232021;
}
#grid {
  position: fixed;
  top: 0;
  right: 30px;
  bottom: 0;
  left: 30px;
  z-index: -1;
  display: none;
}
.rule {
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  border-right: 1px solid red;
}
/**
 * Custom grid system (4-columns)
 */
.column-1 {
  left: 0;
}
.column-2 {
  left: 25%;
}
.column-3 {
  left: 50%;
}
.column-4 {
  left: 75%;
}
.width-1 {
  width: 25%;
}
.width-2 {
  width: 50%;
}
.width-3 {
  width: 75%;
}
.width-4 {
  width: 100%;
}
.left {
  padding-right: 15px;
}
.middle {
  padding: 0 15px;
}
.right {
  padding-left: 15px;
}
/**
 * Media queries
 */
@media only screen and (min-width: 1440px) {
  .infos.width-1.left {
    width: 15%;
  }
  .about.width-2.middle {
    width: 35%;
  }
}
@media only screen and (min-width: 701px) and (max-width: 1024px) {
  .images.width-2.middle,
  .about.width-2.middle {
    width: 75%;
    padding-right: 0;
  }
}
@media only screen and (max-width: 700px) {
  body {
    overflow: hidden;
  }
  header {
    position: relative;
    left: 0;
    right: 0;
    margin: 0 15px;
    padding: 20px 0 5px;
    height: auto;
    max-height: 65px;
    overflow: hidden;
    -webkit-transition: max-height 0.5s ease-in-out;
    -moz-transition: max-height 0.5s ease-in-out;
    -o-transition: max-height 0.5s ease-in-out;
    transition: max-height 0.5s ease-in-out;
  }
  header nav {
    display: block;
  }
  header nav a {
    position: static;
    padding-left: 0;
  }
  header nav a.mobile {
    display: block;
  }
  header nav a.no-mobile {
    display: none;
  }
  header nav a#openMenu {
    position: absolute;
    right: 0;
    top: 20px;
    cursor: pointer;
  }
  section {
    height: -webkit-calc(100% -  60px);
    height: -moz-calc(100% -  60px);
    height: calc(100% -  60px);
    min-height: 0;
    position: relative;
    padding: 15px 15px 0;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }
  section article.preview {
    margin-bottom: 30px;
  }
  section article.preview:last-of-type {
    margin-bottom: 15px;
  }
  section article.preview a .description {
    position: static;
    float: none;
    width: 100%;
    margin-bottom: 15px;
  }
  section article.preview a .images {
    position: static;
    float: none;
    width: 100%;
    padding: 0;
  }
  section article.preview a .images img.narrow {
    display: inline;
    width: 100% !important;
    height: auto !important;
  }
  section article.category {
    position: static;
    float: none;
    width: 100%;
    padding: 0;
  }
  section article.category h1 {
    margin-bottom: 30px;
  }
  section article.category a {
    margin-bottom: 30px;
  }
  section article.category a strong {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  section article.category a.narrow img {
    width: 100%;
  }
  section article.category a.narrow strong {
    left: 0%;
  }
  section article.work:last-of-type {
    margin-bottom: 15px;
  }
  section article.work .empty {
    display: none;
  }
  section article.work .description {
    position: static;
    float: none;
    width: 100%;
    margin-bottom: 15px;
  }
  section article.work .images {
    position: static;
    float: none;
    width: 100%;
    padding: 0;
  }
  section article.work .images img.narrow {
    display: inline;
    width: 100% !important;
    height: auto !important;
  }
  section article.contact .infos {
    position: static;
    width: 100%;
    float: none;
    margin-bottom: 15px;
  }
  section article.contact .about {
    position: static;
    width: 100%;
    float: none;
    padding: 0;
  }
  section footer {
    display: none;
  }
}
#button-more {
  display: block;
  margin: 100px auto 75px auto;
  font-weight: bold;
  text-align: center;
}
#button-more:hover {
  color: black;
}
