/*
Theme Name: Haleh
Description: Haleh Chinikar Official website 
Developed by Farzin Mojaver
Developer URI: https://www.linkedin.com/in/farzin-mojaver-a687871a7/
Version: 1.0
*/
/***************************************************
				General
***************************************************/
body {
    width: 100%;
	padding:0;
	margin:0;
	-webkit-font-smoothing: antialiased;
    font-family: 'Montserrat', sans-serif;
	font-size:16px;
	-webkit-text-size-adjust: 100%;
	background:#fff;
	direction:ltr;
    overflow-x: hidden;
}
ul {
	margin:0;
	padding:0;
}
li {
	list-style:none;
}
a {
    font-family: 'Montserrat', sans-serif;
	font-size:16px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
a[href^=tel]{
	color:inherit;
	text-decoration:none;
}
input, textare{
    font-family: 'Montserrat', sans-serif;
}
textarea:focus, input:focus{
	outline: 0;
    font-family: 'Montserrat', sans-serif;
}
::-webkit-input-placeholder {
	color: #ccc;
    font-family: 'Montserrat', sans-serif;
}
:-moz-placeholder { /* Firefox 18- */
	color: #ccc;
    font-family: 'Montserrat', sans-serif;
}
::-moz-placeholder {/* Firefox 19+ */
	color: #ccc;
    font-family: 'Montserrat', sans-serif;
}
:-ms-input-placeholder {
	color: #ccc;
    font-family: 'Montserrat', sans-serif;
}
img {
	width: 100%;
    height: auto;
	border:0;
	border:none;
    outline: none;
}
figure img {
	width: 100%;
    height: auto;
}
p {
    font-family: 'Montserrat', sans-serif;
}
span {
    font-family: 'Montserrat', sans-serif;
}
iframe {
	border:none;
}
.clear{
	clear:both;
}
.loader-wrapper {
	width:100%;
	height:100%;
	background:#fff;
    position: fixed;
	top:0;
	left:0;
	z-index:9999;
}
.loader {
    color: #000000;
    font-size:30px;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: fixed;
	z-index:99999;
    top:50%;
    left:50%;
    margin: -15px 0 0 0;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;
    animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}
@-webkit-keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@-webkit-keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.noverlay {
    width: 100%;
    height: 100vh;
    position: fixed;
    background: rgb(0,0,0 , 0.2);
    display:flex;
    justify-content:center;
    align-items:center;
    align-content:center;
    z-index:990;
    top:0;
    left:0;
}
.newsletter {
	width:80%;
	max-width:320px;
    min-width: 280px;
    padding: 40px 20px 10px 20px;
    background: #fff;
    position:relative;
    z-index:991;
}
.nclose {
	width:20px;
    height:20px;
	position:absolute;
    top:10px;
    left:50%;
    margin-left:-10px;
    cursor:pointer;
    text-align:center;
}
.crossl,
.crossr  {
	width:22px;
    height:1px;
    background:#000;
    position:absolute;
    top:10px;
    left:0;
    transform:rotate(45deg);
}
.crossr {
    transform:rotate(-45deg);
}
/***************************************************
Header
***************************************************/
header {
    width:82px;
    height:100%;
    position: fixed;
    top:0;
    left: 30px;
}
header nav {
    position: fixed;
    top:30px;
    left: 30px;
}
header nav li {
    width: 20px;
    height: auto;
    float: left;
}
header li a{
    width: 20px;
    text-align: center;
    color:#000;
    font-weight: bold;
    font-size: 16px;
    float: left;
    opacity: 0.2;
    text-transform: uppercase;
}
.current a,
header li a:focus,
header li a:hover {
    opacity:1;
}
.lang {
    position: fixed;
    top:30px;
    right: 30px;
}
.lang .wpml-ls-legacy-list-horizontal {
    padding: 0;
    display: inline-block;
}
.lang li {
    width: 25px;
    height: auto;
    float: left;
    text-align: right;
    color:#000;
    font-weight: bold;
    font-size: 16px;
    float: left;
    opacity: 0.2;
    text-transform: uppercase;
    cursor: pointer;
    
}
.lang li a {
    padding: 0;
    margin: 0;
    color:#000 !important;
}
.lang li:hover,
.lang li:focus {
    opacity: 1;
}
#en {
    display: none;
}

/***************************************************
				main
***************************************************/
main {
    width: -moz-calc( 100% - 280px);
	width: -webkit-calc( 100% - 280px);
	width: -o-calc( 100% - 280px);
	width: calc( 100% - 280px);
    min-height: -moz-calc( 100vh - 150px);
	min-height: -webkit-calc( 100vh - 150px);
	min-height: -o-calc( 100vh - 150px);
	min-height: calc( 100vh - 150px);
    float: left;
    margin: 30px 140px;
}
/***************************************************
				Pages
***************************************************/
.home {
    text-align: center;
}
.home img{
    width: 85%;
    margin: 0 auto;
	max-width:1400px;
}
.bio p {
    font-size:16px;
    max-width: 960px;
}
.bio strong {
    font-weight: normal;
}
.bio h3 {
    margin: 0 0 20px 0;
    font-size: 16px;
    letter-spacing: 7px;
    text-transform: uppercase;
}
.wp-block-ub-content-toggle-accordion .wp-block-ub-content-toggle-accordion-title {
    padding: 0px 0px 0px 15px !important;
}
.wp-block-ub-math-plus{
    height: 1px !important;
}
.wp-block-ub-math-plus::after {
    width: 1px !important;
}
.contact {
    margin: 0 0 0 -25px;
}
.contact h3 {
    margin: 0 0 0 0;
}
.contact h3 a {
    width: fit-content;
    font-size: 16px;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: #000;
    opacity: 0.3;
    display: block;
}
.contact h3 a:hover,
.contact h3 a:focus {
    opacity: 1;
}

/***************************************************
				Category
***************************************************/
.cat-list {
    display: grid;
    display: grid;
    grid-column-gap:40px;
    grid-row-gap:5px;
    grid-template-columns: auto auto auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.images {
    margin: 5px 0 20px 0;
}
.shuffle-me label{
    color:#000;
    text-transform: uppercase;
    font-weight: bold;
}
.cloumn-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.cloumn-1 li figure {
    width: -moz-calc( 67% - 30px);
    width: -webkit-calc( 67% - 30px);
    width: -o-calc( 67% - 30px);
    width: calc( 67% - 30px);
    float: left;
}
.cloumn-1 li .excerpt {
    width: 33%;
    float: left;
    margin: 0 0 0 30px;
}
.cloumn-1 li .excerpt p {
    padding: 0;
    margin: 0;
    color:#000;
}
.cloumn-2  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
/***************************************************
				Single
***************************************************/
.single h3 {
    margin:0 0 20px 0;
}
.single .the_content {
    width: -moz-calc( 67% - 30px);
    width: -webkit-calc( 67% - 30px);
    width: -o-calc( 67% - 30px);
    width: calc( 67% - 30px);
    float: left;
}
.single .the_content .swiper-slide {
    margin: 0;
}
.ub_image_slider_image_caption {
    margin-top: 5px;
    text-transform: capitalize;
}
.swiper-button-prev,
.swiper-button-next{
    color: #000 !important;
    outline: 0;
}
.single .blocks-gallery-item figure{
    padding-bottom:0;
}
.blocks-gallery-item__caption {
    height: 28px;
    background: transparent !important;
    color: #000 !important;
    bottom:0;
    text-align: left !important;
    padding: 2px 0 0 0 !important;
    display: none;
}
.single .single-text {
    width: 33%;
    float: left;
    margin: 0 0 0 30px;
}
.single p {
	margin: 0 0 40px 0;
}
.single .single-text p {
    color:#000;
    margin: 0 0 0 0;
}
.single .wp-block-quote {
	max-width:320px;
	margin:10vh auto 30vh auto;
	clear:both;
}
.single .wp-block-quote p {
	font-size:1.2em;
}
.single .blocks-gallery-grid {
	clear:both;	
}
.single .wp-block-quote cite {
	float:right;
	color:#777;
}
.slider-nav .slick-slide {
  height: 100px;
  overflow: hidden;
  position: relative;
}
.slider-nav .slick-slide img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  max-height: 150%;
  max-width: 150%;
}
.fancybox-thumbs,
.fancybox-thumbs>ul {
    background: #000 !important;
}
.fancybox-thumbs>ul>li {
    border:5px solid #000 !important;
}
.fancybox-thumbs>ul>li:before {
    border:2px solid #ccc !important;
}
.fancybox-caption-wrap {
    padding-top: 0 !important;
}
.fancybox-caption {
    padding: 0 0 20px 0 !important;
    text-align:center;
    border:none !important;
}
footer {
    width: 210px;
    height: 20px;
    position: fixed;
    transform: rotate(90deg);
    top: 130px;
    right: -65px;
    text-align: left;
    opacity: 0.3;
	text-transform: uppercase;
    font-size: 0.9em;
}
@media screen and (max-width: 780px) {
    main {
        width: -moz-calc( 100% - 180px);
        width: -webkit-calc( 100% - 180px);
        width: -o-calc( 100% - 180px);
        width: calc( 100% - 180px);
        margin: 20px 20px 20px 130px;
    }
	.home img{
		width: 100%;
		margin: 0 auto;
	}
    header nav,
    header {
        left:20px;
        top:20px;
    }
    .lang {
        top:20px;
        right: 10px;
    }
    
    .cat-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width: 640px) {
    header {
        width: -moz-calc( 100% - 60px);
        width: -webkit-calc( 100% - 60px);
        width: -o-calc( 100% - 60px);
        width: calc( 100% - 60px);
        position: relative;
        top:inherit;
        left:inherit;
        margin: 20px 40px 20px 20px;
    }
    header nav {
        position: relative;
        top:inherit;
        left:inherit;
    }
    main {
        width: -moz-calc( 100% - 40px);
        width: -webkit-calc( 100% - 40px);
        width: -o-calc( 100% - 40px);
        width: calc( 100% - 40px);
    	min-height: -moz-calc( 100vh - 193px);
    	min-height: -webkit-calc( 100vh - 193px);
    	min-height: -o-calc( 100vh - 193px);
    	min-height: calc( 100vh - 193px);
        margin: 20px;
    } 
    .cat-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .cloumn-1 li figure {
        width: 100%;
    }
    .cloumn-1 li .excerpt {
        width: 100%;
        margin: 0 0 40px 0;
    }
    .contact {
        position: absolute;
        top: 20px;
        left: 105px;
        margin: 0;    
    }
    .single .the_content {
        width: 100%;
        margin: 0; 
    }
    .single .single-text {
        width: 100%;
        margin: 20px 0; 
    }
   footer {
      width: 190px;
      height: 20px;
      padding-bottom:20px;
      position: relative;
      transform: rotate(0);
      bottom: inherit;
      right: inherit;
      text-align: center;
      opacity: 0.3;
      margin:20px auto;
      clear:both;
  }
}