/*
Theme Name: To Seven Houses Away
Theme URI: http://www.tosevenhousesaway.com/
Author: Hamid Shavarean
Author URI: http://www.hamid.works/
Version: 1.0
License: GNU General Public License
*/

/* imports */

@import 'css/reset.css';
@import 'css/responsive.gs.24col.css';
@import 'css/font-awesome.min.css';
@import 'css/shop.css';
@import 'css/lightbox.css';


/* Fonts */

@font-face {
	font-family: "Badr Light";
	src: url("fonts/badrlight.woff") format("woff");
}

@font-face {
	font-family: "Badr Bold";
	src: url("fonts/badrbold.woff") format("woff");
}

@font-face {
    font-family: 'bodoni_regular';
    src: url('fonts/bodoni-r-58f55e8e861d6-webfont.woff2') format('woff2'),
         url('fonts/bodoni-r-58f55e8e861d6-webfont.woff') format('woff'),
         url('fonts/bodoni-r-58f55e8e861d6-webfont.svg#bodoni_regular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'bodoni_bold';
    src: url('fonts/bodoni-r-58f55eb5ec197-webfont.woff2') format('woff2'),
         url('fonts/bodoni-r-58f55eb5ec197-webfont.woff') format('woff'),
         url('fonts/bodoni-r-58f55eb5ec197-webfont.svg#bodoni_bold') format('svg');
    font-weight: normal;
    font-style: normal;

}


/* Body */

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
	content: '';
	display: table;
}

.clearfix:after {
	clear: both;
}

::selection {
	color:white;
	background:black;
	/* Safari */
}

::-moz-selection {
	color:white;
	background:black;
	/* Firefox */
}


Body {
	background:#e0e8e3;
	margin:0;
	padding:0;
	cursor:default;
	font-family: 'bodoni_regular';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

section {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	height: 100vh;
	position: relative;
}

.wrapper {
	width:100%;
	max-width:1230px;
	margin:0 auto;
	padding:1.5em;
}

.home {
	text-align: center;
/* 	background: url(img/mouse.svg) no-repeat left 50% bottom 30px; */
	height:auto;
	min-height:100vh;
}

.flower-top {
	height: 40px;
	background:url(img/flower-top.svg) no-repeat center center;
	margin-bottom:2em !important;
}

.flower-bottom {
	height: 40px;
	background:url(img/flower-bottom.svg) no-repeat center center;
	margin-top:2em !important;
}

.header {
	border-bottom:7px double black;
	margin-bottom:1em;
}

.header object {
	width:100%;
	height:auto;
	margin-bottom:2em;
}

.intro {
	padding:0 0 0 1em;
}

.intro p {
	font-family: "Badr Light";
	direction:rtl;
	text-align:justify;
	font-size:1.25em;
	letter-spacing: -.03em;
	line-height: 1.2em;
}

.home .english {
	padding:0 1em 0 0;
}

.home .english p {
	font-family: 'bodoni_regular';
	direction:ltr;
	text-align:justify;
	font-size: .94em;
	line-height: 1.3em;
}

.mouse-scroll {
    position: absolute;
    bottom: 1.5em;
    left: 50%;
    width: 25px;
    height: 40px;
    border-radius: 100px;
    border: 2px solid black;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.mouse-scroll .wheel {
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    width: 5px;
    height: 10px;
    background-color: black;
    border-radius: 4px;
    -webkit-animation: mouseWheel 1.4s infinite;
    animation: mouseWheel 1.4s infinite;
}
@-webkit-keyframes mouseWheel{
  50%{
    -webkit-transform: translateY(5px);
            transform: translateY(5px);
  }
  100%{
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes mouseWheel{
  50%{
    -webkit-transform: translateY(5px);
            transform: translateY(5px);
  }
  100%{
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

/* Map */

#gmap {
	width: 100%;
	height: 100%;
}

.map {
	padding:1em;
}

.gm-style h1 {
	font-family: "Badr Bold";
	font-weight:normal;
	text-align:center;
	font-size:1.8em;
	line-height:1.3em;
}

.gm-style h2 {
	font-family: 'bodoni_bold';
	font-weight:normal;
	text-align:center;
}

.gm-style h3 {
	font-family: 'bodoni_bold';
	font-weight:normal;
	text-align:center;
	display:inline-block;
	font-size:.9em;
	margin-top:.3em;
}

.gm-style h3:after {
	content:'—';
	padding:0 .3em;
}

.gm-style h4 {
	font-family: "Badr Bold";
	font-weight:normal;
	text-align:center;
	font-size:1.1em;
	line-height:1.3em;
	display:inline-block;
}

#cd-zoom-in, #cd-zoom-out {
	height: 32px;
	width: 32px;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 1);
	background-repeat: no-repeat;
	background-size: 32px 64px;
	background-image: url("img/cd-icon-controller.svg");
	transition:all .3s ease-in-out;
	margin-left: 15px;
}

#cd-zoom-in:hover, #cd-zoom-out:hover {
	background-color: rgba(0, 0, 0, .5);
	transition:all .3s ease-in-out;
}
.no-touch #cd-zoom-in:hover, .no-touch #cd-zoom-out:hover {
	background-color: black;
}

#cd-zoom-in {
	background-position: 50% 0;
	margin-top: 15px;
	margin-bottom: 1px;
}

#cd-zoom-out {
	background-position: 50% -32px;
}


/* Gallery */

.gallery {
	height:auto;
	min-height:100vh;
	padding:1em;
}


/* Shop */

.shop {
	background-color:#F9C2AA;
	height:auto;
	min-height:100vh;
	padding:1em;
}

.shop .span_24 {
	max-width:1400px;
	padding:0 2em;
}

.shopsign {
	height: 151px;
	background:url(img/shop.svg) no-repeat center center;
	margin-top:2em !important;
}


.shop object {
	width:100%;
	height:auto;
	max-height:413px;
}

.shop .span_12 {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	position: relative;
}

.shop .description {
	margin-top:1em;
	max-width:500px;
	direction:rtl;
	text-align: center;
}

.shop .description h1 {
	font-family: "Badr Bold";
	font-weight:normal;
	text-align:center;
	font-size:1.1em;
	line-height:1.3em;
}


.shop .description p {
	font-family: "Badr Light";
	text-align:center;
	font-size: 1.1em;
	line-height: 1.1em;
}


/* News */

.news {
	background-color:#f2f2f2;
	height:auto;
	min-height:100vh;
}

.newssign {
	height: 151px;
	background:url(img/news.svg) no-repeat center center;
	margin-top:2em !important;
}

.newssection {
	margin:2em 0 1.5em 0;
}

.newsitem {
	direction:rtl;
}

.newsitem:first-child {
	padding:0 1em 0 0;
}

.newsitem:last-child {
	padding:0 0 0 1em;
}

.newsitem h1 {
	text-align:right;
	font-family: "Badr Bold";
	font-size:1.4em;
	line-height:1em;
}

.newsitem h2 {
	text-align:left;
	font-family: "Badr Bold";
	font-size:1.1em;
	line-height:1em;

}

.newsitem .content {
	padding-top: .5em;
	margin-top: .5em;
	border-top:2px solid black;
}

.newsitem p {
	font-family: "Badr Light";
	text-align:justify;
	font-size: 1.15em;
	line-height: 1.2em;
}

/* Instagram */

.instagramtitle {
	border-bottom:7px double black;
	text-align:center;
	font-size:1.5em;
	margin-bottom:.5em !important;
	padding-bottom:.5em;
}

.instagramtitle h1 {
	font-family: 'bodoni_bold';
	display:inline-block;
}


.instagram .post {
	position:relative;
}


.instagram .post b {
	font-family: 'bodoni_bold';
}

.instagram .post img {
	width:100%;
	height:auto;
}

.instagram .post .magnifying {
  transition: .5s ease;
  -webkit-transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -85%);
  -ms-transform: translate(-50%, -85%);
  font-size: 1.5em;
  color: white;
  background: black;
  padding: .4em;
  border-radius: 1.5em;
  -webkit-border-radius: 1.5em;
  width: 48px;
  height: 48px;
  text-align: center;
}

.instagram .post:hover .magnifying {
  opacity: 1;
}

.instagram .likes {
	margin:.3em 0 1em 0;
	text-align:center;
	font-size:1em;
}

.instagram .post .likes i {
	color:#D64961;
	-webkit-animation: animateHeart 2.5s infinite;
    animation: animateHeart 2.5s infinite;
}

@-webkit-keyframes animateHeart {
  0%  { -webkit-transform: scale(1); }
  5%  { -webkit-transform: scale(1.2); }
  10% { -webkit-transform: scale(1.1); }
  15% { -webkit-transform: scale(1.3); }
  50% { -webkit-transform: scale(1); }
  100% { -webkit-transform: scale(1); }
}
@keyframes animateHeart {
  0%  { transform: scale(1); }
  5%  { transform: scale(1.2); }
  10% { transform: scale(1.1); }
  15% { transform: scale(1.3); }
  50% { transform: scale(1); }
  100% { transform: scale(1); }
}


/* Team */

.team {
	background-color:#f2e6c7;
	height:auto;
	min-height:100vh;
}

.teamsign {
	height: 151px;
	background:url(img/team.svg) no-repeat center center;
	margin-top:2em !important;
}

.team-en {
	background:url(img/team-01.svg) no-repeat top center;
}

.team-fa {
	background:url(img/team-02.svg) no-repeat top center;
}

.team-en h1, .team-en h2, .team-fa h1, .team-fa h2 {
	text-align:center;
}

.team-en h2 {
	font-family: 'bodoni_bold';
	font-size:1.4em;
	margin-top:1em;
	margin-bottom: .5em;
}

.team-en .title {
	margin-top:0;
	margin-bottom:1em;
}

.team-fa .title {
	margin-top:0;
	margin-bottom:.6em;
}


.team-fa {
	font-family: "Badr Bold";
	direction:rtl;
}

.team-fa h1 {
	line-height: 1.2em;
    font-size: 1.1em;
}

.team-fa h2 {
	font-size:1.6em;
	margin-top:1em;
	margin-bottom: .5em;
	line-height:1.1em;
}

/* Contact */
.contact {
	height:auto;
	min-height:100vh;
}

.contact .sideone {
	height:100%;
	min-height:100vh;
	background-color:#D64961;
	height:auto;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	position: relative;
	height:100vh;
	padding:1em 1.5em;
	color:#E0E8E3;
}

.contact .sidetwo {
	height:auto;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	position: relative;
	height:100vh;
	padding:0 1.5em;
}

.contact .sideone object {
	width:100%;
	max-width:510px;
	height:auto;
}


.contact .sidetwo object {
	width:100%;
	max-width:650px;
	height:auto;
}

.contactsign {
	width:230px;
	height: 230px;
	background:url(img/contact.svg) no-repeat center center;
	margin-top:2em !important;
	margin-bottom:2em;
}

.contacttitle {
	font-family: "Badr Bold";
	font-size:2.5em;
	text-align: center;
	letter-spacing: -.02em;
	border-bottom: 7px double #E0E8E3;
	width: auto;
	padding-bottom:.5em;
	line-height:1.15em;
}

.contactemail {
	font-size:2.05em;
	text-align: center;
	padding-top:.4em;
	width:auto;
	word-break: break-all;
	
}

.contactinstagram {
	font-size:1.7em;
	text-align: center;
	width:auto;
	word-break: break-all;	
}

.contact a {
	color:#E0E8E3;
	text-decoration:none;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
}

.contact a:hover {
	color:black;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
}



/* Order */
.order {
	text-align: center;
	height:auto;
	min-height:100vh;
}

.order .col {
	float:right;
}

.clientinfo {
	border-bottom:7px double black;
	margin-bottom:1em;
	font-family: "Badr Bold";
}

.clientinfo h1 {
	text-align:center;
	font-size:1.5em;
	direction:rtl;
}

.input {
	position: relative;
	z-index: 1;
	display: inline-block;
	max-width: 280px;
	width: calc(100% - 2em);
	vertical-align: top;
	float:right;
	margin-left:.5em;
}

.address {
	max-width: 568px;
}

.input__field {
	position: relative;
	display: block;
	float: right;
	padding: 0.8em;
	width: 60%;
	border: none;
	border-radius: 0;
	background: #f0f0f0;
	color: black;
	font-family: "Badr Bold";
	-webkit-appearance: none; /* for box shadows to show on iOS */
	direction: rtl;
	font-size: 1.2em;
	line-height: 1.1em;
	text-align: center;
}

.input__field:focus {
	outline: none;
}

.input__label {
	display: inline-block;
	float: right;
	padding: 0 1em;
	width: 40%;
	color: black;
	font-size: 70.25%;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: "Badr Bold";
}

.input select {
	margin:0;
	padding:0;
	height:34px;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	cursor:pointer !important;
}

.input__label-content {
	position: relative;
	display: block;
	padding: 1.6em 0;
	width: 100%;
}

/* Nariko */
.input--nariko {
	overflow: hidden;
	padding-top: 3em;
}

.input__field--nariko {
	width: 100%;
	background: transparent;
	opacity: 0;
	padding: 0.35em;
	z-index: 100;
	color: black;
}

.input__label--nariko {
	width: 100%;
	bottom: 0;
	position: absolute;
	pointer-events: none;
	text-align: left;
	color: black;
	padding: 0 0.5em;
}

.input__label--nariko::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 4em;
	top: 100%;
	left: 0;
	background: #fff;
	border-top: 2px solid black;
	-webkit-transform: translate3d(0, -3px, 0);
	transform: translate3d(0, -3px, 0);
	-webkit-transition: -webkit-transform 0.4s;
	transition: transform 0.4s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.input__label-content--nariko {
	padding: 0.5em 0;
	-webkit-transform-origin: 0% 100%;
	transform-origin: 0% 100%;
	-webkit-transition: -webkit-transform 0.4s, color 0.4s;
	transition: transform 0.4s, color 0.4s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	direction: rtl;
	text-align: center;
	font-size: 1.35em;
	line-height: 1.5em;
}

.input__field--nariko:focus,
.input--filled .input__field--nariko {
	cursor: text;
	opacity: 1;
	-webkit-transition: opacity 0s 0.4s;
	transition: opacity 0s 0.4s;
} 

.input__field--nariko:focus + .input__label--nariko::before,
.input--filled .input__label--nariko::before {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
	-webkit-transform: translate3d(0, -3.3em, 0);
	transform: translate3d(0, -3.3em, 0);
}

.input__field--nariko:focus + .input__label--nariko .input__label-content--nariko,
.input--filled .input__label-content--nariko {
	color: black;
	-webkit-transform: translate3d(0, -2.5em, 0);
	transform: translate3d(0, -2.5em, 0);
}

.order button {
	width:100%;
	outline:0;
	border:0;
	margin:0;
	padding:0;
	background:black;
	color:white;
	font-size:1.2em;
}

.order-info .col {
	direction:rtl;
	text-align:right !important;
}

.order .item-image img {
	width:100%;
	height:auto;
	max-height: 3.3em;
}

/* Landscape */
@media ( max-width : 634px ) {
.intro {
	padding:0 0 0 0;1
}

.home .english {
	padding:0 0 1em 0;
}

.shop .span_24 {
	padding:1em;
}

.newsitem:first-child {
	padding:0;
}

.newsitem:last-child {
	padding:1.5em 0 0 0;
}

.newsitem h1, .newsitem h2 {
	text-align:center;
	margin:.2em 0;
}

.instagram .span_4 {
	width: 48.2%;
	padding:0 .5em;
}

.instagram .post .likes {
	font-size:.9em;
}


.teamsign {
	margin-bottom:2em;
}

.team-en {
	padding-bottom:2em;
}

.team-en h1 {
	font-size:.9em;
	
}
.team-en h2 {
	font-size:1em;
	margin-bottom:.5em;
}

.team-fa h1 {
    font-size: 1em;
}

.team-fa h2 {
	font-size:1.4em;
	margin-bottom: .5em;
}

.contact .sidetwo, .shop .sideone {
	height:auto;
	padding:2.5em;
}

.contacttitle {
	font-family: "Badr Bold";
	font-size:1.45em;
}

.contactemail {
	font-size:1.15em;
	margin-bottom:.5em;
}

.contactinstagram {
	font-size:.95em;
	margin-bottom:1em 0;
}

}
@media ( max-width : 381px ) {
.instagramtitle {
	font-size:1.2em;
}
}

@media ( max-width : 1045px ) {
.contacttitle {
	font-size:2em;
}

.contactemail {
	font-size:1.63em;
	margin-bottom:.5em;
}

.contactinstagram {
	font-size:1.35em;
	margin-bottom:1em 0;
}

}

@media only screen and ( max-width : 767px ) {
.mouse-scroll {
	display:none;
}
.contacttitle {
	font-size:1.6em;
}

.contactemail {
	font-size:1.3em;
	margin-bottom:.5em;
}

.contactinstagram {
	font-size:1.07em;
	margin-bottom:1em 0;
}

}