/*
Theme Name: Fred Lahache
Theme URI: http://mariusjopen.com/
Author: Marius Jopen
Author URI: http://mariusjopen.com/
Description: Fred Lahache
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/



.repeater {
    margin-left: 50px;
}
.title-single {
   width: 100%;
    justify-content: center;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    position: fixed;
    display: flex;
    top: 50vh;
    left: calc(-50vw + 30px);
    z-index: 10000;
    font-family: StempelGaramondLTCom-Italic !important;
    font-weight: normal;
    font-style: italic;
    font-size: 16px;
}



/*
----------------------------
GENERAL
----------------------------
*/

body {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  font-family: OptimaLTPro-Roman;
  font-weight: normal;
  font-style: normal;
  font-size: 23px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  width: 100vw;
}



em {
  font-family: StempelGaramondLTCom-Italic !important;
	font-weight: normal;
  font-style: italic;
}

a {
  color: black;
  text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}


img {
  width: 100%;
  height: auto;
  user-drag: none;
user-select: none;
-moz-user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
-ms-user-select: none;


}



* {
  margin: 0px;
  padding: 0px;
}

li, ul {
    list-style: none;
}


.display {
  opacity: 1 !important;
}
.header a:hover,
.sidebar a:hover {
    border-bottom: 1px solid black;
}

.freeze {
  pointer-events: none;
  overflow: hidden;
  height: 100vh;
  padding: 0px;
  position: fixed;
  top: 0px;
}

.remove {
  opacity: 0;
  pointer-events: none;
}

.show {
  opacity: 1 !important;
  pointer-events: all !important;
  min-width: 100vw;
}



/*
----------------------------
HEADER
----------------------------
*/


.header {
  width: 100%;
  display: flex;
  justify-content: center;
  position: fixed;
  left: 0px;
  z-index: 100;
  pointer-events: none;
    top: 0px;
}

.cat-item {
  padding: 20px;
  pointer-events: all;
}

/*
----------------------------
SIDEBAR
----------------------------
*/
.tag-ind {
    display: none;
}

.underline a {
    border-bottom: 1px solid black;
}



.sidebar {
  width: 100%;
  display: flex;
  justify-content: center;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  position: fixed;
  display: flex;
  top: 50vh;
  left: calc(50vw - 30px);
  z-index: 100;
  font-family: StempelGaramondLTCom-Italic !important;
  font-weight: normal;
  font-style: italic;
  font-size: 16px;
}

.sidebar-link {
  padding: 0px 15px 0px 15px;
}

/*
----------------------------
BOTTOM
----------------------------
*/

.logo {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
}

.buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.email {
    float: left;
    margin-right: 30px;
}

.instagram {
    float: left;
}

/*
----------------------------
HOME POST
----------------------------
*/

.post-category {
    text-transform: uppercase;
    margin-bottom: 1px;
}

.post-title {
  font-family: StempelGaramondLTCom-Italic !important;
  font-weight: normal;
  font-style: italic;
}


.posts {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  padding: 180px 9% 0px 7%;
}

.post {
  width: 19%;
  margin: 0% 0% 18% 2%;
  float: right;
  transition: 0.2s ease;
  /* height: 51vh; */
  /*cursor: pointer;*/
}

.post:nth-child(1) {
    margin-left: 9vw !important;
}

.single-tag.post:nth-child(1) {
    margin-left: 0vw !important;
}

.post:nth-child(3) {
    margin-right: 4vw;
}

.post:nth-child(even) {
  margin-top: 0vh;
}

.post:nth-child(odd) {
  margin-top: -6vh;
  margin-left: 6vw;
  margin-right: 1vw;
}



.post.uncategorized {
  display: none;
}

.thumbnail {
  transition: 0.2s ease;
  cursor: none;
}

.info-box {
  opacity: 0;
  position: fixed;;
  text-align: center;
  pointer-events: none;
  font-size: 20px;
  width: 100vw ;
}

.info-box .child {
  position: absolute;
  top: 50%;
  resize: vertical;
  width: 100vw ;

}


/*
----------------------------
SINGLE POST
----------------------------
*/

.single {
  overflow-y: hidden;
}

.single img {
opacity: 0;
transition: 0.2s ease;
}


.text {
  font-family: StempelGaramondLTCom-Italic !important;
  font-weight: normal;
  font-style: italic;
  margin-top: 26px;
  font-size: 16px;
  line-height: 23px;
}

.single-title {
    margin-top: 13vh;
}

.end {
    width: 30px;
}


.row img {
    height: 100%;
    width: auto;
}

.row {
    float: left;
    margin-left: 30px;
    margin-top: 15vh;
    height: 70vh;
}

.text-box {
    width: 500px;
    padding-right: 20px;
    text-align: right;
    margin-left: 200px;
}

.size-small-top img {
    height: 50vh;
}

.size-small-medium img {
    height: 50vh;
    margin-top: 10vh;
}

.size-small-bottom img {
    height: 50vh;
    margin-top: 20vh;
}



/*
----------------------------
TAGS
----------------------------
*/

.back {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    top: initial;
    right: 49.5vw;
    bottom: 30px;
    font-size: inherit;
}

.back-show {
  opacity: 1;
  pointer-events: all !important;
  cursor: pointer;
  z-index: 100;
}


.move {
  position: fixed;
  left: 0px;
  top: 0px;
  font-family: OptimaLTPro-Roman !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 23px !important;
  opacity: 0;
}

.move-active {
  opacity: 1;
}

.image-back {
    display: none;
}

.image-show {
  display: block !important;
  width: 70vw;
  height: 70vh;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 15vw;
  margin-top: 15vh;
  background-position: 50%;
}

.image-hide {
  display: none !important;
}

.single-tag .image {
    height: 70vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;
    margin-top: 15vh;

}

.image {
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50%;
}
.responsive-container {
    position: relative;
    width: 80vw;
    height: 80vh;
    margin-top: 11vh;
    margin-left: 10vw;
}

.img-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align:center; /* Align center inline elements */
    font: 0/0 a;
}

.img-container:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.img-container img {
  width: auto;
max-width: 100%;
max-height: 100%;
height: auto !important;
    vertical-align: middle;
    display: inline-block;
}

.dummy-active {
    padding-top: 100%;
}




.page-template-tags img {
    cursor: pointer;
}

.page-template-tags .post {
  transition: 0s;

}

.single-tag {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    background: white;
    margin: 0px !important;
    text-align: center;
    float: none;
    z-index: 90;
}

.single-tag img {
    height: 70vh;
    width: auto;
    margin-top: 15vh;
    pointer-events: none;
}


.left {
    left: 0px;
    cursor:none;
}

.right {
    right: 0px;
    cursor:none;
}

.header-active {
  cursor:none;
}

.left,
.right {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  width: 50vw;
  height: 100vh;
  display: none;
  top: 0px;
  position: fixed;
  z-index: 95;
  opacity: 0.5;
}

.overlay-show {
  display: block !important;
}

.title {
  opacity: 0;
}

.single-tag .title {
  opacity: 1;
}

.title {
    width: 100%;
    justify-content: center;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    position: fixed;
    display: flex;
    top: 50vh;
    left: calc(-50vw + 42px);
    z-index: 100;
    font-family: StempelGaramondLTCom-Italic !important;
    font-weight: normal;
    font-style: italic;
    font-size: 16px;
}


/*
----------------------------
ABOUT
----------------------------
*/

.headline {
    margin-bottom: 6px;
}

.repeater-left {
    width: 40%;
    float: left;
    margin-left: 30px;
    margin-top: 15vh;
}

.repeater-right {
    width: 40%;
    float: right;
    text-align: right;
    margin-right: 115px;
    margin-top: 15vh;
}


.repeater-left a:hover,
.repeater-right a:hover {
border-bottom: 1px solid black;
}

.lines {
    font-size: 18px;
    margin-bottom: 36px;
}



@media only screen and (min-width : 2000px) {


.row {
    float: left;
    margin-left: 30px;
    margin-top: 30vh;
    height: 40vh;
}

.size-small-top img {
    height: 50vh;
}

.size-small-medium img {
    height: 50vh;
    margin-top: 5vh;
}

.size-small-bottom img {
    height: 50vh;
    margin-top: 10vh;
}



}

@media only screen and (min-width : 1500px) {

  .size-small-top img {
      height: 50vh;
  }

  .size-small-medium img {
      height: 50vh;
      margin-top: 5vh;
  }

  .size-small-bottom img {
      height: 50vh;
      margin-top: 10vh;
  }
.row {
    float: left;
    margin-left: 30px;
    margin-top: 20vh;
    height: 60vh;
}

}



@media only screen and (max-width : 800px) {

.single-tag .image {
      height: 70vh;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: 50%;
      margin-top: 15vh;
      width: calc(100vw - 120px);
      margin-left: 60px;
  }

}


@media only screen and (max-width : 500px) {


  .cat-item {
      padding: 10px;
      margin-top: 10px;
      font-size: 20px;
  }

  .sidebar {
    left: calc(50vw - 19px);
    font-size: 14px;
}

  .buttons {
      right: 15px;
      bottom: 15px;
      font-size: 20px;
  }

  .logo {
    bottom: 15px;
    left: 15px;
    font-size: 20px;
}

  .post:nth-child(1) {
      margin-left: 0vw !important;
  }

  .post:nth-child(3) {
    margin-right: 0vw;
}

.posts {
  display: block;
  flex-flow: none;
  justify-content: none;
  padding: 111px 2% 0px 10%;
}

.post {
  width: 43%;
  margin: 0% 0% 10px 6%;
  float: left;
  transition: 0.2s ease;
  height: 58vw;
}

.post:nth-child(even) {
  margin-top: 0px;
  /* margin-top: 20px; */
  margin-left: 0px;
}

.post:nth-child(odd) {
  margin-top: -24px;
  margin-left: 0px;
  margin-right: 15px;
}







.repeater-left {
  width: 65%;
  float: right;
  text-align: right;
  margin-right: 90px;
  margin-top: 15vh;
}

.repeater-right {
    width: 65%;
    float: right;
    text-align: right;
    margin-right: 90px;
    margin-top: 0px;
}


.single-tag {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    background: white;
    margin: 0px !important;
    text-align: center;
    float: none;
    z-index: 90;
}



.single-tag img {
    height: auto;
    width: 60vw;
    margin-top: 20vh;
    pointer-events: none;
}

.lines {
    font-size: 15px;
    margin-bottom: 36px;
}



.headline {
    font-size: 20px;
    margin-bottom: 3px;
}

.info-box {
  opacity: 0 !important;
}

.row {
    float: none;
    margin-left: inherit !important;
    margin-top: 20px;
    height: inherit;
}

.row img {
    height: inherit;
    width: 80vw;
    margin-left: 10vw;
}

.size-small-top img {
    height: inherit;
}

.size-small-medium img {
    height: inherit;
    margin-top: inherit;
}

.size-small-bottom img {
    height: inherit;
    margin-top: inherit;
}

.repeater {
    margin-top: 100px;
}

.text-box {
    width: 80vw;
    padding-right: 20px;
    text-align: right;
    margin-left: 10vw;
    padding-left: 10vw;
    margin-bottom: 50px;
}

.move {
  display: none;
}

.image-show {
    margin-top: 13vh;
}



.title {

    left: calc(-50vw + 25px);

    font-size: 14px;
}

.single {
    overflow: auto;
}

.back {
 top: initial;
    right: 48vw;
    bottom: 14px;
    font-size: 21px;
}

.repeater {
    margin-left: 0px;
}

.title-single {
   width: 100%;

    left: calc(-50vw + 20px);

}


}
