/* CSS Document */
body {
	margin: 0;
	padding: 0;
	font-size: 19px;
	line-height: 1.4em;
	font-family: 'Source Sans Pro', sans-serif;
	color: #2b2b2b;
}

.inner {
	position: relative;
	width: 1200px;
	max-width: 100%;
	padding: 60px 20px;
	margin: 0 auto;
	box-sizing: border-box;
	overflow: hidden;
}

.parallax-bg {
	background-size: cover;
	background-position: 0% 0;
	background-repeat: no-repeat;
}

.fixed-bg {
	background-attachment: fixed;
	background-size: auto 100vh;
	background-position: center center;
}

.clearfix::after {
	content: '';
	display: block;
	clear: both;
	height: 0;
	width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Libre Baskerville', serif;
	text-align: center;
	line-height: 1.2em;
}
h1 {
	font-size: 72px;
	font-weight: normal;
	margin: 0em auto .75em auto;
}
h2 {
	color: #fff;
	font-size: 72px;
	margin: 0;
	text-shadow: 2px 2px 6px #000, 0 0 2px #000;	
}
h3 {
	font-size: 32px;
	margin-top: 1.5em;
}
h4 {
	font-size: 20px;
}

hr {
	border: none;
	height: 50px;
	margin: 2em 0;
	clear: both;
	background: url("img/divider.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 450px 20px;
}

img {
	max-width: 100%;
}
.alignleft {
	float: left;
	margin: 0 2em 1em 0;
}
.alignright {
	float: right;
	margin: 0 0 1em 2em;
}
.alignfull {
	float: none;
	display: block;
	margin: 0 auto 1em auto;
}

.caption {
	font-size: 14px;
	line-height: 1em;
	color: #666;
	text-align: center;
	font-variant: small-caps;
}
.caption.portolan {
	text-align: right;
	width: 100%;
}

#loading {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background: #fff;
	z-index: 999;
}

.button {
	display: inline-block;
	padding: .33em 1em;
	border: 1px solid #645b24;
	border-radius: 5px;
	color: #000;
	font-size: 16px;
	text-decoration: none;
	font-variant: small-caps;
	font-family: 'Libre Baskerville', serif;
	background: #ffd83f;
	box-shadow: 0 4px 4px #bbb;
	text-shadow: 0px 1px 0 #ffecc9;
	transition: .3s ease-in-out all;
}
.button:hover {
	background: #ffba3f;
}
.button span {
	font-stretch: ultra-expanded;
	font-size: 13px;
	vertical-align: bottom;
	padding: 0 10px;
}

/* HEADER */
#header {
	text-align: center;
	box-sizing: border-box;
	height: auto;
	background-color: #fff;
	margin-bottom: -40px;
}
#header .inner {
	width: 100%;
	padding: 40px 20px;
}

/* SECTION TITLES */
.title {
	text-align: center;
	background-color: #fff;
	box-sizing: border-box;
	height: auto;
}
.title .inner {
	padding: 0px 20px;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* INTRO */
#intro h1 {
	margin-bottom: .5em;
	color: #645b24
}
#intro h3.tagline {
	color: #645b24; 
	margin-top: 0em; 
	margin-bottom: 0; 
	font-size: 36px;
}
#intro h3.tagline span {
	font-size: .5em;
	vertical-align: middle;
}
#intro h4 {
	margin-top: 2em;
}
#intro .summary p {
	margin: .75em auto;
	line-height: 1.3em; 
	text-align: center;
}
#intro .summary p:first-child {
	margin-top: 2.5em;
}
#intro .story-legacy {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	margin-top: 2em;
	height: 450px;
}
#intro .story-legacy > div {
	width: calc(100% - 400px);
	padding-right: 40px;
	box-sizing: border-box;
}
#intro .story-legacy > div:nth-child(3) {
	flex-basis: 100%;
	width: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: 40px;
}
#intro .story-legacy h3 {
	text-align: left; 
	margin-top: 0;
}
#intro .image {
	max-width: 300px;
	height: 280px;
	margin: 0 auto 0em auto;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: end;
}
#intro .image.portrait {
	max-width: 160px;
}
#intro .why-header {
	margin-bottom: -1.5em;
}
#intro .why-wrap {
	margin: 2em auto 0 auto;
	display: flex;
	justify-content: space-between;
}
#intro .why-wrap .col {
	flex-basis: 30%;
}
#intro .why-wrap .col:first-child img {
	width: 57%;
}

/* PROCESS */
#process-title {
	background-image: url(img/wedding-bg.jpg);
	background-color: #772700;
}
#process .process-list-wrap {
	margin: 0 auto;
	max-width: 900px;
}
#process .process-list {
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
#process .process-list .col {
	flex-basis: calc(100% - 230px);
}
#process .process-list .col:first-child {
	flex-basis: 200px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}
#process .process-list img {
	margin: 0 auto;
}
#process .process-list ul {
	margin: 0px;
	text-align: left;
	padding-left: 26px;
}
#process .process-list ul li {
	margin-bottom: .25em;
	padding-bottom: .33em;
}
#process .museum-wrap {
	margin: 0 auto;
	max-width: 800px;
}
.catalog {
	clear: both;
}
.catalog .alignfull {
	display: flex;
	justify-content: space-between;
}

/* ABOUT */
#about-title {
	background-image: url(img/tabriz-bg.jpg);
	background-color: #6c8fb8;
}
#about .image {
	max-width: 250px;
	margin: 0 auto 2em auto;
	text-align: center;
}

.signature {
	max-width: 200px;
}

.contactme {
	clear: both;
}
.contactme a {
	display: inline-block;
	color: #174c80;
	background: #eee;
	border: 2px solid #ccc;
	text-decoration: none;
	padding: .5em 2em;
	font-weight: normal;
	border-radius: 5px;
	transition: .3s all ease-in-out;
}
.contactme a:hover {
	background: #ccc;
}

.discretion-note {
	font-size: 17px;
	margin-top: -1.5em;
}

/* CONTACT FORM */
#contact-form {
	display: inline-block;
	width: 500px;
	max-width: 100%;
	border: 1px solid #ccc;
	padding: 2em;
	text-align: center;
	background: #eee;
	box-sizing: border-box;
}
#contact-form input {
	display: block;
	padding: .5em 1em;
	margin: 1em auto;
	width: 100%;
	max-width: 500px;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	color: #222;
	box-sizing: border-box;
}
#contact-form input[type="submit"] {
	cursor: pointer;
	background: #2b9ad0;
	color: #fff;
	border: none;
	padding: 1em;
	border-radius: 10px;
}
#contact-form input[type="submit"]:hover {
	background: #147db1;
}
#contact-form textarea {
	display: block;
	padding: .5em 1em;
	margin: 1em auto;
	width: 100%;
	max-width: 500px;
	min-height: 100px;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	color: #222;
	line-height: 1.3em;
	box-sizing: border-box;
}
#contact-form .errors {
	color: red;
	background: #ff000011;
	padding: 0 1em;
	border: 1px solid red;
}
#contact-form .success {
	color: green;
	background: #00800011;
	padding: 0 1em;
	border: 1px solid green;
}

/* FOOTER */
#footer {
	background: #2a2a2a;
	color: #fff;
	font-size: 14px;
	text-align: center;
}

@media (max-width: 1200px) {
	.inner {
		width: 100%;
	}
	#intro .story-legacy {
		height: 600px;
	}
}

@media (max-width: 960px) {
	#intro .story-legacy {
		height: auto;
	}
	#intro .story-legacy > div {
		width: 100% !important;
		padding: 0 0 1em 0 !important;
		text-align: center;
	}
	#intro .story-legacy > div.second {
		order: 3;
	}
	#intro .story-legacy > div.third {
		order: 2;
	}
	#intro .story-legacy h3 {
		text-align: center;
	}
	.caption.portolan {
		width: auto;
	}
}

@media (max-width: 900px) {
	#intro .why-header {
		margin-bottom: -3em;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 18px;
		line-height: 1.4em;
	}
	#header .inner {
		padding: 20px 10px;
	}
	.inner {
		padding: 30px 20px;
	}
	.title .inner {
		height: 200px;
	}
	h1 {
		font-size: 60px;
		margin-top: 20px;
	}
	h2 {
		font-size: 60px;
	}
	h3 {
		font-size: 32px;
	}
	h4, h4.subtitle {
		font-size: 20px;
	}
	h4 br {
		display: none;
	}
	h4.email br {
		display: block;
	}
	h4.email, h4.email a {
		font-size: 18px;
	}
	p {
		text-align: center;
	}
	.alignright, .alignleft {
		float: none;
		margin: 1em auto;
		display: block;
		text-align: center;
	}
	#intro h3.tagline {
		font-size: 32px;
	}
	#intro .story-legacy {
		flex-wrap: wrap;
	}
	#intro .story-legacy > div {
		flex-basis: 100%;
		text-align: center;
	}
	#intro .story-legacy > div:first-child {
		flex-basis: 100%;
	}
	#intro .story-legacy h3 {
		text-align: center;	
	}
	#intro .why-header {
		margin-bottom: -.5em;
	}
	#intro .why-wrap {
		flex-wrap: wrap;
	}
	#intro .why-wrap .col {
		flex-basis: 100%;
		text-align: center;
	}
	.image {
		height: auto;
		margin-top: 2em;
	}
	#intro .image {
		margin-top: 1em;
		height: auto;
	}
	.caption.portolan {
		text-align: center;
	}
	.caption.portolan span {
		display: inline-block;
		/*padding-left: 85px;*/
	}
	#process .process-list {
		flex-wrap: wrap;
	}
	#process .process-list .col {
		flex-basis: 100%;
		text-align: center;
	}
	#process .process-list .col:first-child {
		flex-basis: 100%;
		text-align: center;
	}
	#process .process-list ul {
		text-align: center;
		padding: 0 26px;
		list-style-position: inside;
	}
	.catalog .alignfull > div {
		flex-basis: 23%;
	}
}

@media (max-width: 540px) {
	#process .process-list {
		/*flex-direction: column-reverse;*/
	}
	#process .process-list .col {
		flex-basis: 100% !important;
	}
	#process .process-list img {
		margin-bottom: 1em;
	}
	#process .process-list ul {
		margin-bottom: 0;
	}
}

@media (max-width: 500px) {
	h1 {
		font-size: 50px;
	}
	h2 {
		font-size: 50px;
	}
	h3 {
		font-size: 26px;
	}
	h4, h4.subtitle {
		font-size: 18px;
	}
	h4.email, h4.email a {
		font-size: 15px;
	}
	.catalog .alignfull {
		flex-wrap: wrap;
	}
	.catalog .alignfull > div {
		flex-basis: 47%;
		text-align: center;
	}
}

@media (max-width: 420px) {
	.caption.portolan span {
		padding-left: 0;
	}
}

@media (max-width: 360px) {
	h4.email, h4.email a {
		font-size: 12px;
	}
}