/*
 Theme Name:   Simone Theme
 Description: Theme for Simone Solomon
Author: Nuri
Version: 1.0

*/
body.he .english-content {
  display: none !important;
}
body.en .hebrew-content {
  display: none !important;
}
.technical-info,
.section-subtitle {
  font-style: italic;
  margin: 20px 0;
  font-size: 0.8em;
}
a#igLink svg {
  height: 1.2em;
  fill: #edede3;
  padding: 0 5px;
  vertical-align: middle;
}
a#igLink:hover svg {
  fill: #695759;
}
#igLink {
  margin-top: 10px;
}
div.project:nth-child(odd) {
  background-color: #645148;
}
div.project:nth-child(odd) * {
  color: #edede3;
}
div.project:nth-child(odd) div.contractable-text div.overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 67%, #645148 100%);
}

.he #igLink,
.he #igLink * {
  direction: ltr !important;
  text-align: left !important;
  display: inline-block;
  vertical-align: middle;
}
.hero img {
  width: calc(100% - 60px);
  margin: 30px auto;
  position: relative;
  display: block;
  max-height: 65vh;
  object-fit: cover;
}

.next-arrow {
  rotate: -90deg;
  width: 15px;
}

.prev-arrow {
  rotate: 90deg;
  width: 15px;
}
span.year::after {
  display: inline-block;
  width: 15px;
  content: " ";
}
nav {
  transition: height 300ms ease;
  float: left;
}
#main section#hero {
  margin: 0 auto;
  padding: 0;
  display: block;
  position: relative;
  width: 100%;
  max-width: unset;
}
#quote blockquote {
  font-size: 1.3em;
  font-weight: 500;
}
#quote blockquote span small {
  margin: 20px 20px 0;
  display: block;
}
body.he blockquote {
  border-right: 2px solid;
}
body.en blockquote {
  border-left: 2px solid;
}
blockquote {
  font-size: 0.8em;
  font-style: italic;
  margin: 0 0 20px 0;
  padding: 1% 4%;
  color: #645148;
  font-weight: 400;
}
blockquote p {
  margin: 0 !important;
}

blockquote span.source {
  font-size: 0.6rem;
  font-weight: 600;
  margin: 10px 0 0;
  display: block;
}
img.portrait {
  height: 300px;
}
#expand img,
#collapse img {
  display: none;
  width: 25px;
  margin: 0px auto;
  z-index: 999;
  height: 25px;
}
.project-item > * {
  display: inline-block;
  vertical-align: top;
}
body {
  overflow-x: hidden;
}
h3 {
  /* line-height: 2; */
  margin-bottom: 10px;
  font-size: 1.4em;
}
.project-item {
  margin-bottom: 30px;

  display: flex;
  height: 200px;
}
.project-item img {
  display: inline-flex;
}
.project-item img {
  height: 100%;
}

#collapse img {
  transform: scaleY(-1);
  margin-top: 50px;
}
nav.expanded #expand {
  display: none;
}

nav.expanded,
.he nav.expanded {
  height: 100vh;
}
p,
.he p {
  text-align: justify;

  margin: 0 0 20px;
}
.he ul#contactfooter,
.en ul#contactfooter {
  display: none;
}

#contact img,
#contactfooter img {
  height: 1.2em;
  padding-right: 10px;
  vertical-align: inherit;
}
#contact img#phoneicon,
#contactfooter img#phoneiconfooter {
  height: 1.2em;
}
#contact li,
#contactfooter li {
  margin-bottom: 15px;
}
#contact li a {
  direction: ltr;
  display: inline-block;
  text-align: left;
}
#contact a span,
#contactfooter a span {
  -webkit-transition: ease 0.5s;
  -moz-transition: ease 0.5s;
  transition: ease 0.5s;
  vertical-align: text-top;
  line-height: 1;

  box-shadow: inset 0 0 0 0 #645148;
}
#contact a span:hover,
#contactfooter a span:hover {
  color: white;
  box-shadow: inset 400px 0 0 0 #645148;
}

body {
  font-family: "Miriam Libre", sans-serif;
}
a.nav-active {
  font-weight: bold;
}

#about a,
#instagram a {
  font-family: "Miriam Libre", sans-serif;

  -webkit-transition: ease 0.2s;
  -moz-transition: ease 0.2s;
  transition: ease 0.2s;
  color: white;
  font-size: 1.2em;
  padding: 5px 10px;
  border: 2px #645148;
  background: #645148;
  display: inline-block;
}
#about a:hover,
#instagram a:hover {
  color: #645148;
  background: white;
}
#lang a.active,
#lang a:hover {
  color: white;
  box-shadow: inset 400px 0 0 0 #645148;
}
.f-carousel-slide {
  width: 100%;
}

.f-carousel__slide {
  width: 500px;
  height: 500px;
  overflow: hidden;
}
/* .f-carousel__slide {

} */
.f-carousel__slide img {
  object-fit: cover;
  width: 500px;
  height: 500px;
}
.galleryContainer {
  display: flex;
  /* width: calc(100% + 5px); */
  position: relative;
  flex-wrap: wrap;
  width: calc(100%+ 7px);
  gap: 0 5px;
  width: 105%;
}
.galleryContainer a {
  display: inline-flex;
  flex: 1 0 14%;
  max-width: 14%;
  margin-bottom: 5px;
}
.galleryContainer img {
  /* max-width: 25%; */
  width: 100%;
  object-fit: cover;
  /* height: 100%; */
}
.galleryContainer a {
  display: inline-flex;
  flex: 1 0 14%;
  max-width: 14%;
  margin-bottom: 5px;
}
#lang a {
  padding: 5px 10px;

  box-shadow: inset 0 0 0 0 #645148;
  -webkit-transition: ease 0.5s;
  -moz-transition: ease 0.5s;
  transition: ease 0.5s;
}

#logo svg {
  width: 60px;
}
.f-button svg {
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.53));
}

h1 {
  margin-top: 0;
  font-size: 0.9em;
}

.navigation a {
  font-size: 0.9em;
}
h2 {
  font-size: 1.2em;
}
h1 span.subtitle {
  display: block;
  font-weight: normal;
}
.he h1 span.subtitle {
  text-align: right;
}
.en h1 span.subtitle {
  text-align: left;
}
#logo {
  display: block;
  height: fit-content;
}
#logo > * {
  display: inline-block;
}
h1 {
  margin-left: 12%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
a.nav-active {
  /* darker color */
  color: #695759;
}
h4 {
  margin-top: 0;
}
a,
h1 subtitle {
  /* lighter color */
  color: #786260;
}
body {
  color: rgb(48, 48, 48);
  position: relative;
  background-color: #fffcf9;
  font-size: 16px;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
#lang {
  margin-top: 30px;
  font-size: 20px;
}
iframe .lightwidget,
iframe .lightwidget__footer,
iframe .lightwidget__btn,
iframe .lightwidget__btn a {
  font-family: "Miriam Libre", sans-serif !important;

  font-weight: normal !important;
}
ul,
ul li {
  list-style-type: none;
  padding: 0;
  margin: 0 0 10px;
}
#contact a span {
  text-decoration: underline;
}

nav {
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 4vw;
  display: block;
  position: fixed;
  height: 100vh;
  width: 21vw;
  background-color: #edede3;
  overflow-y: auto;
}
.he #main {
  float: left;
}
.en #main {
  float: right;
}
.he ul#contactfooter {
  float: left;
}

.en ul#contactfooter {
  float: right;
}

#main {
  /* line-height: 1.5em; */
  vertical-align: top;
  float: right;
  /* padding-top: 30px; */
  text-align: justify;
  width: 72vw;
  display: block;
  position: relative;
}
#main section {
  display: block;
  position: relative;
  width: 100%;
}
#main section {
  width: 75%;
  padding: 0 30px 0;
  margin: 30px auto;
  max-width: 1200px;
}
#main section#gallery,
#main section#projects {
  width: 100%;
  padding: unset;
  margin: 0 auto 60px;
  max-width: unset;
}

.technical-info,
.project-text,
.project h3,
#projects h2,
#gallery h2,
#gallery .gallery-text {
  width: 75%;
  max-width: 1200px;
  margin: 10px auto;
}
#project h3 {
  margin-top: 60px;
}
div.f-carousel {
  width: calc(100% - 60px);
  margin: 20px auto 30px;
}
h2 {
  margin-bottom: 20px;
}
#logo img {
  width: 60px;
}

ul.navigation {
  font-size: 1.2em;
  padding: 50px 0;
}
ul.navigation li {
  padding: 0 0 12px;
}
div.contractable-text {
  max-height: 4000px;
  background: rgba(255, 255, 255, 0);
  -webkit-transition: max-height 200ms ease;
  -moz-transition: max-height 200ms ease;
  -ms-transition: max-height 200ms ease;
  -o-transition: max-height 200ms ease;
  transition: max-height 200ms ease;
}

div.contractable-text div.overlay {
  pointer-events: none;

  display: block;
  opacity: 0;
  background: unset;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 67%,
    rgba(255, 252, 249, 1) 100%
  );
  transition: opacity 400ms ease;
}
div.contractable-text.contracted-text div.overlay {
  height: 101px;
  width: 100%;
  position: absolute;
  opacity: 100%;
}
div.gallery-text.contractable-text {
  margin-bottom: 80px;
}
#about .read-more {
  width: 100%;
  display: block;
  margin: 20px auto 40px;
  padding: 0;
}

#projects .read-more,
#gallery .read-more {
  margin-bottom: 30px;
}
.read-more {
  display: none;
  /* width: 75%; */
  margin: 0 auto;
  font-weight: bold;
  color: #645148;
  max-width: 1200px;
  padding: 0 30px;
}
.read-more span {
  cursor: pointer;
}
.read-more-display.read-more {
  display: block;
}

.read-less-active.read-more span.read-less-label {
  display: block;
}
.read-less-active.read-more span.read-more-label {
  display: none;
}
.read-more-active.read-more span.read-more-label {
  display: block;
}

.read-more-active.read-more span.read-less-label {
  display: none;
}
div.contractable-text.contracted-text {
  max-height: 100px;
  overflow: hidden;
}
div.contractable-text {
  /* max-width: calc(100% - 60px); */
  width: calc(100% - 60px);
}
.he * {
  direction: rtl;
  text-align: right;
}
.he .f-carousel,
.he .f-carousel-slide,
.he .f-carousel__slide,
.he .fancybox__container,
.he .f-carousel__track {
  direction: ltr;
}
.he .fancybox__container * {
  direction: ltr;
  text-align: left;
}

.he nav {
  padding-right: 4vw;
  padding-left: 3.2vw;
  float: right;
  z-index: 999;
  right: 0;
}
.en nav {
  padding-left: 4vw;
  padding-right: 3.2vw;
  z-index: 999;
  float: left;
  left: 0;
}

.he #contact a img {
  float: right;
  padding-left: 10px;
}
.he #contact li {
  direction: rtl;
}

.he h1 {
  margin-right: 12%;
}
div.project {
  padding: 30px 0;
}
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
    top: 0;
  }
}

#projects h2 {
  padding: 0 30px;
}
div.project {
  padding: 15px 30px;
}
#main section#projects {
  margin: 0;
  width: 100%;
}
.technical-info,
.project-text,
.project h3,
#projects h2,
#gallery h2,
#gallery .gallery-text {
  width: 100%;
  margin: 15px auto;
  /* padding: 0 5% 20px; */
  padding: 0 30px;
}

#main section {
  width: 90%;
}
#main section#hero {
  width: 100%;
  margin: 0;
}
#logo img {
  width: 40px;
}
ul.navigation {
  font-size: 20px;
  padding: 50px 0;
}
ul.navigation li {
  padding: 0 0 5px;
}
#contact {
  /* padding: 0 5%; */
}
#contact li {
  margin-bottom: 15px;
}
#contact a {
  vertical-align: text-top;
  line-height: 1;
}
ul#contactfooter {
  background: #645148;
  padding: 5%;
  color: white;
  margin: 0;
  width: 100%;
}
#contactfooter a,
#contactfooter h2 {
  color: white;
}
#contactfooter img {
  fill: white;
}
#contact img,
#contactfooter img {
  height: 1.2em;
  vertical-align: inherit;
}
.en #contact img,
.en #contactfooter img {
  padding-right: 10px;
}
.he #contact img,
.he #contactfooter img {
  padding-left: 10px;
}
#contact li {
  margin-bottom: 15px;
}
#contact a {
  vertical-align: text-top;
  line-height: 1;
}
#lang a {
  padding: 5px 10px;
  box-shadow: inset 0 0 0 0 #645148;
  -webkit-transition: ease 0.5s;
  -moz-transition: ease 0.5s;
  transition: ease 0.5s;
}
#lang a.active,
#lang a:hover {
  color: white;
  box-shadow: inset 400px 0 0 0 #645148;
}
.galleryContainer {
  display: flex;
  /* width: calc(100% + 5px); */
  position: relative;
  flex-wrap: wrap;
  width: calc(100%+ 7px);
  gap: 0 5px;
  width: 100%;
}
#lang a {
  padding: 5px 10px;
  box-shadow: inset 0 0 0 0 #645148;
  -webkit-transition: ease 0.5s;
  transition: ease 0.5s;
}

.project-item img {
  display: block;
  height: 200px;
}
/* div.project {
    margin-bottom: 50px;
  } */
/* div.project:nth-last-child(n + 2) {
    margin-bottom: 30px;
  } */
#projects .read-more,
#gallery .read-mroe {
  margin-bottom: 40px;
}
h3,
.project-text p {
  margin: 0;
  margin-bottom: 10px;
}
.project-text h3 {
  margin-top: 30px;
}
#gallery .gallery-text {
  max-width: calc(100% - 60px);
}
#about .about-text {
  width: 100%;
}
div.section-subtitle {
  margin: 5px 0 15px;
}
@media screen and (max-height: 800px) {
  ul.navigation {
    font-size: 1.2em;
    padding: 20px 0 0 0;
  }
}
@media screen and (max-width: 960px) {
  #main section#gallery,
  #main section#projects {
    width: 100%;
  }

  #quote blockquote span small {
    margin: 10px 15px 0;
  }
  .f-carousel__slide {
    width: 300px;
    height: 300px;
    overflow: hidden;
  }
  .technical-info,
  .project-text,
  .project h3,
  #gallery h2,
  #gallery .gallery-text {
    padding: 0;
  }
  #projects h2 {
    padding: 0 30px;
  }
  /* .f-carousel__slide {
  
  } */
  .f-carousel__slide img {
    object-fit: cover;
    width: 300px;
    height: 300px;
  }
  .hero {
    width: 100vw;
    margin: 0;
  }
  .hero img {
    width: 100%;
    margin-top: 0;
  }
  div.f-carousel {
    width: 100%;
  }
  #main section#gallery {
    width: 90%;
  }
  #quote blockquote {
    width: 80%;
    margin: 30px 0 0;
  }

  nav.expanded #collapse img {
    display: block;
  }
  nav,
  .en nav,
  .he nav {
    padding-right: 0;
    padding-left: 0;
  }
  a.langSelector {
    font-size: 1.5em;
  }
  img.portrait {
    height: 200px;
  }
  .en ul#contactfooter,
  .he ul#contactfooter {
    display: block;
  }

  .navigation a {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.2em;
  }
  #expand,
  #collapse {
    width: calc(100% - 40px);
    padding: 20px;
  }
  #expand {
    padding-top: 0;
    cursor: pointer;
  }
  #collapse {
    padding-bottom: 0;
  }
  #expand img,
  #collapse img {
    display: block;
  }
  h1 {
    font-size: 0.8em;
    height: 1.6em;
  }

  .he #lang {
    direction: ltr;
  }

  nav {
    width: 100%;
    max-width: 100%;
    padding: 0;
    top: 0;
    position: fixed;
    height: auto;
    float: none;
    font-size: 1rem;
    z-index: 999;
  }

  nav,
  nav .navigation li,
  nav a,
  #contact li {
    text-align: center;
  }
  #contact h2 {
    text-align: center;
  }
  #contact li a img,
  .he #contact li a img {
    float: none;
    height: 1em;
  }

  nav,
  .he nav {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 2vh;
    overflow: hidden;
    height: 90px;
  }

  #lang {
    text-align: center;
  }
  #logo {
    text-align: center;
    display: block;
    width: 50%;
    margin: 0 auto;
  }

  #logo img,
  #logo h1,
  #logo h1 subtitle {
    top: unset;
    transform: unset;
  }

  #logo h1,
  #logo img {
    margin-top: 10px;
  }

  #logo h1 {
    /* top: 50%; */
    transform: translateY(-50%);
    margin-left: 3%;
    position: relative;
    height: 2.6em;
    margin-top: 0;
  }
  .he #logo h1 {
    margin-left: 0;
    margin-right: 3%;
  }
  #lang {
    font-size: 0.8em;
  }
  .read-more {
    width: 100%;
    margin: 20px 0;
    padding: 0;
  }
  #main {
    left: 0;
    width: 100%;
    float: none;
    padding: 0;
    margin: 0 0 20px 0;
    margin-top: calc(90px + 2vh);
    overflow: hidden;
  }
  .he #main {
    float: right;
  }
  .en #main {
    float: left;
  }
  .he ul#contactfooter {
    float: right;
  }

  .en ul#contactfooter {
    float: left;
  }
  #gallery .gallery-text {
    max-width: unset;
  }
  div.contractable-text {
    width: unset;
  }
  #main section {
    width: unset;
    padding: 0 5% 20px;
    margin: 20px auto 0;
    display: block;
    position: relative;
  }
  #main section#gallery {
    margin: 0 auto 40px;
  }
}
@media screen and (min-width: 961px) {
}
@media screen and (max-height: 600px) and (min-width: 768px) {
  #logo img {
    width: 50px;
  }
  nav * {
    font-size: 0.9em;
  }
  ul.navigation li {
    padding: 0 0 0px;
  }
  nav h2 {
    margin-bottom: 8px;
  }
  #contact li,
  #contactfooter li {
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  /* .hero {
    margin: 45px;
  } */
  .f-carousel-slide {
    width: calc(100% / 3);
  }
}
@media screen and (max-width: 1300px) {
  .en #contact img,
  .he #contact img {
    display: block;
    margin-bottom: 10px;
    height: 1.4em;
  }
}
@media screen and (min-width: 1750px) {
  #gallery .gallery-text {
    padding: 0 30px;
    margin: auto;
    max-width: 1200px;
  }
  /* body {
    font-size: 20px;
  } */
}
