/*!
Theme Name: ETF
Author: James Kim
Description: Emily Thompson Flowers Theme
Tags:
*/

html {
	font-family: 'EB Garamond', serif;
}

nav {
	font-family: 'Cantarell', sans-serif;
}

h1, h2, h3, h4 {
	font-family: 'Cantarell', sans-serif;
	font-weight: bold;
}

h2 {
	font-size: 1.98rem;
	letter-spacing: 10px;
}

/* used for paragraph headers */

h3 {
	font-size: 14px;
	letter-spacing: 2px;
}

h4 {
	font-size: 0.83rem;
	letter-spacing: 1px;
}

a {
	color: rgba(0, 0, 0, 0.87);
	text-decoration: underline;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}
	
nav.top-menu ul a {
	text-decoration: none;
	font-size: 11px;
	padding: 0 24px;
	letter-spacing: 1px;
	height: 39px;
}

.mobile-menu li {
	float: none;
}

.nav-wrapper {
	100%;
}
.primary-menu {
	display: none;
}
nav.top-menu {
	min-height: 50px;
	position: absolute;
	top: 0;
	background: transparent;
	box-shadow: none;
	/* background: rgba(0, 0, 0, .35); */
	z-index: 101;
	flex-direction: column;
	display: flex;
}
.top-menu a {
	text-decoration: none;
}
.mobile-menu {
	display: none;
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	-o-transition: all 0.75s ease;
	transition: all 0.75s ease;
}
nav.top-menu .mobile-menu li a {
	font-size: 21px;
	letter-spacing: 3px;
	height: auto;
}
.active .mobile-menu {
	display: block;
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	-o-transition: all 0.75s ease;
	transition: all 0.75s ease;
}
nav .button-collapse {
	display: block;
	float: none;
}
.menu-item-has-children>a::after {
	font-family: FontAwesome;
	content: "\f0d7";
	margin-left: 8px;
}
.menu-top-menu-container {
	flex: 1;
	align-self: center;
}
h1#logo.home {
	position: relative;
}
.sub-menu {
	position: static;
	margin-left: 20px;
	background-color: transparent;
	line-height: 25px;
}
nav.top-menu .sub-menu li a {
	font-size: 10px;
}
nav .nav-wrapper {
	width: 100%;
}
nav .inverse a {
	color: black;
}
nav .nav-wrapper {
	background: transparent;
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	-o-transition: all 0.75s ease;
	transition: all 0.75s ease;
	display: flex;
}
nav.active {
	height: 100%;
}
nav.active .inverse a {
	color: white;
}
nav.active .nav-wrapper {
	background: black;
	-webkit-transition: all 0.75s ease;
	-moz-transition: all 0.75s ease;
	-o-transition: all 0.75s ease;
	transition: all 0.75s ease;
}
nav .button-collapse i {
	padding-left: 18px;
	padding-top: 5px;
}
nav a.button-collapse {
	display: block;
}
.top-menu .instagram {
	margin-right: 32px;
	font-size: 30px;
	z-index: 10;
}
.top-menu, .top-menu .nav-wrapper i, .top-menu a.button-collapse, .top-menu a.button-collapse i {
	height: 64px;
	line-height: 64px;
}


hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #c6c6c6;
	margin: 1em auto;
	padding: 0;
}

figcaption {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

h1#logo {
	text-align: center;
	color: white;
	white-space: nowrap;
	height: 45px;
	margin: 29px auto 0;
	overflow: hidden;
	z-index: 102;
	top: 24px;
	left:50%;
	margin-left:-107.5px;
	position: absolute;
}

#logo a {
	width: 215px;
	display: block;
	margin: 0 auto;
}

#logo img {
	width: 100%;
	height: 100%;
	display: block;
}

#logo span {
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
}

body {
	z-index: 100;
}

.content-area {
	margin-top: 128px;
}

table.aligncenter td {
	text-align: center;
	width: 25%;
}

/* PART 1 - Before Lazy Load */
img[data-lazyloaded]{
	opacity: 0;
}
img.litespeed-loaded{
	-webkit-transition: opacity .5s linear 0.2s;
	-moz-transition: opacity .5s linear 0.2s;
	transition: opacity .5s linear 0.2s;
	opacity: 1;
}

/* Infinite scroll pagination */

nav.pagination {
	color: black;
	background-color: #fff;
	box-shadow: none;
}

nav.pagination .screen-reader-text {
	display: none;
}

.page-numbers {
	display: none;
}

.load-more {
	display: block;
	width: 100px;
	height: 50px;
	color: black;
	text-align: center;
	margin: 0 auto;
}

.grid-footer {
	margin: 20px 0;
}

.loading {
	text-align: center;
}

.forcefullwidth_wrapper_tp_banner, .top-image {
	z-index: -1;
	top: 0;
	position: absolute !important;
	width: 100%;
	height: 83%;
}

#infscr-loading {
	clear: both;
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
}

/*----- nav ----*/

#menu-top-menu {
	text-align: center;
	padding-bottom: 27px;
}

#menu-top-menu li {
}

#menu-top-menu li>ul li {
	text-align: left;
	display: block;
	float: none;
}


#menu-top-menu .instagram {
	margin-left: 40px;
}
#menu-top-menu li .fa-instagram {
	font-size: 28px;
}

.sub-menu {
	display: none;
	top: 100%;
	padding: 0;
	background: rgba(0, 0, 0, .55);
	z-index: 200;
}

.sub-menu li {
	float: none;
}


/*----- newsletter form -----*/

.es_lablebox {
	display: none;
}

.es_textbox_button {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-color: transparent;
	border: none;
	font-family: 'Cantarell', sans-serif;
	font-weight: bold;
	font-size: 12px;
}

.es_textbox {
	padding: 0;
	font-family: 'Cantarell', sans-serif;
	font-weight: bold;
}

#es_txt_email_pg {
	background-color: white;
	color: black;
	height: 25px;
	margin: 5px 0;
	padding: 5px;
}

.es_msg {
	color: white;
}

/*----- contact page ----*/

.parallax-window .content {
	color: white;
	position: absolute;
	z-index: 100;
	margin: 0 auto;
	width: 100%;
	text-align: center;
	top: 45%;
	background: transparent;
}

.parallax-window h2 {
	letter-spacing: 10px;
}

.parallax-window .article-date {
	letter-spacing: 3px;
	font-size: 17px;
}

.etf-content {
	position: absolute;
	top: 83%;
	width: 100%;
	text-align: center;
	margin-top: 20px;
}

.right-border {
	border-right: #ececec solid 1px;
}

#contact-map {
	width: 100%;
	height: 400px;
}

.contact .es_msg {
	color: black;
}

.contact .es_textbox {
	width: 60%;
	margin: 0 auto;
}

.contact .etf-content {
	padding-bottom: 0;
}

.contact .social-link {
	font-size: 12px;
	letter-spacing: 1px;
}

.contact .row {
	margin-bottom: 35px;
}

.soho {
	margin-top: 20px;
}

/* grid */

.grid-item {
	float: left;
	margin: 0 1% 10px 1%;
	overflow: hidden;
}

.grid-item img {
	width: 100%;
}

.grid-item .article-date {
	letter-spacing: 3px;
}

/*----- about page ----*/

.about .container {
	width: 65%;
}

.about hr {
	width: 40%;
	margin: 27px auto;
}

.about .footer {
	background: #000;
	color: #fff;
}

.about .footer.row {
	margin-bottom: 0;
}

.about .newsletter {
	width: 330px;
	margin: 0 auto;
	padding: 18px 0;
}

.about-icons {
	border-left: #242424 solid 2px;
	margin-top: 20px;
}

.about .clients .col {
	min-height: 66px;
}

.sn-icons {
	height: 112px;
	line-height: 112px;
	font-size: 23px;
}

.sn-icons i {
	padding: 5px;
	color: white;
}

/* work pages */

.gallery-footer {
	width: 100%;
	height: 43px;
	position: fixed;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.84);
	color: white;
}

.gallery-footer h2 {
	font-size: 11px;
	line-height: 43px;
	margin: 0 auto;
	text-align: center;
	letter-spacing: 1.5px;
	font-weight: normal;
}

.gallery-footer i {
	color: white;
	font-size: 28px;
	position: absolute;
	margin: 7px 0 0 38px;
}


#work-description {
	min-height: 100%;
	background: rgba(0, 0, 0, 0.65);
	color: white;
	text-align: center;
	display: block;
	opacity: 0;
	z-index: 200;
	letter-spacing: 1px;
	font-size: 15px;
	line-height: 30px;
}

.modal-trigger {
	float: left;
}

.modal-trigger img {
	height: 25px;
	width: 25px;
	margin: 7px 0 0 13px;
}

#work-description .modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 30px;
	color: white;
}

#work-description .modal-close img {
	height: 24px;
	width: 24px;
}

#work-description .content {
	width: 50%;
	margin: 22% auto 34px;
}

#work-description hr {
	margin: 3em auto;
}

.uranus.tparrows:before {
	font-size: 17px !important;
}
.container#work {
	width: 82%;
}

#work .work-item {
	width: 100%;
	height: 100%;
	display: block;
	text-align: center;
	line-height: 10px;
	margin-bottom: 40px;
}
#work .work-item-content {
	position: relative;
}
#work .work-item img {
	width: 100%;
	line-height: 0;
}
#work .work-item:hover .overlay {
	opacity: 1;
}
#work .work-item .overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0,0,0,0.5);
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	color: white;
	font-size: 13px;
	display: table;
}
#work .work-item .overlay .title {
	display: table-cell;
	vertical-align: middle;
	text-align:center;
	letter-spacing: 4px;
	font-size: 15px;
	text-transform: uppercase;
	font-family: 'Cantarell', sans-serif;
	line-height: 21px;
}
#work .page-numbers {
	display: inline-block;
	margin-left: 10px;
}
#work .pagination a {
	color: black;
}

#work-single {
	margin-top: 150px;
	text-align: center;
}
#work-single h2 {
	letter-spacing: 6px;
	font-size: 1.6rem;
}
#work-single hr {
	width: 40%;
	margin-bottom: 50px;
}
#work-single .description {
	
	letter-spacing: 0.75px;
	line-height: 33px;
	min-height: 25px;
}
#work-single .description p {
	width: 65%; 
	max-width: 973px;
	margin-left: auto;
  margin-right: auto;
	font-size: 17.5px;
}

#work-single .wp-block-gallery,
#work-single .navigation {
	max-width: 1400px;
	margin: 0 auto 0;
	padding: 0 45px;
	width: 100%;
}
#work-single .navigation {
	display: inline-block;
	width: 100%;
}
#work-single .navigation a {
	font-size: 18px;
}
#work-single .prev {
	float: left;
}
#work-single .next {
	float: right;
}
#work-single .credit {
	margin-top: 20px;
}
#work-single #work {
	width: 100%;
	max-width: 1400px;
	margin: 180px auto 0;
	padding: 0 23px;
}
#work .info {
	font-family: 'Cantarell', sans-serif;
}

.blocks-gallery-grid, .wp-block-gallery {
	width: 100%;
}

#work-single .blocks-gallery-grid .blocks-gallery-image img, 
#work-single .blocks-gallery-grid .blocks-gallery-item img, 
#work-single .wp-block-gallery .blocks-gallery-image img, 
#work-single .wp-block-gallery .blocks-gallery-item img {
	width: 100%;
}

#work-single .blocks-gallery-grid.columns-1 .blocks-gallery-image, 
#work-single .blocks-gallery-grid.columns-1 .blocks-gallery-item, 
#work-single .wp-block-gallery.columns-1 .blocks-gallery-image, 
#work-single .wp-block-gallery.columns-1 .blocks-gallery-item {
	margin-bottom: 30px;
}

.blocks-gallery-grid .blocks-gallery-image, 
.blocks-gallery-grid .blocks-gallery-item, 
.wp-block-gallery .blocks-gallery-image, 
.wp-block-gallery .blocks-gallery-item {
	margin-bottom: 30px;
}

/* press page */

.press .main {
	margin-top: 62px;
}

figcaption {
	text-align: center;
}

.press .grid-item h2 {
	margin: 0;
	font-size: 12px;
	font-family: 'Cantarell', sans-serif;
	font-weight: bold;
}

.press .grid-item .article-date {
	font-size: 12px;
}

/* journal */

.journal {
	text-align: center;
}

.journal .main {
	margin-top: 62px;
}

.journal a {
	text-decoration: none;
}

.journal .grid-item {
	text-align: center;
	border: solid 1px #ccc;
}

.journal .grid-item h2 {
	font-size: 22px;
	margin: 42px 0 20px;
	padding: 0 8px;
	letter-spacing: 1px;
}

.journal .grid-item .article-date {
	margin-bottom: 32px;
}

.journal .grid-content {
	margin-bottom: 50px;
	padding: 0 25px;
}

.etf-content .row .section p, 
.etf-content .row .section div.row {
	max-width: 827px;
	margin: 10px auto;
	font-size: 17.5px;
	letter-spacing: 0.75px;
	line-height: 33px;
	min-height: 25px;
}

.journal .etf-content .row .section p img {
	max-width: 100%;
	height: auto;
}

.journal .parallax-window .content {
	bottom: 45%;
}

.journal .parallax-window h2 {
	margin-bottom: 31px;
}

.journal .parallax-window .article-date {
	border-top: solid #fff 1px;
	display: inline;
	padding-top: 10px;
}

.no-featured {
	text-align: center;
}

.share-links {
	margin: 72px 0 70px;
}

.share-links a:first-child {
	margin-right: 48px;
}

/*---------------*/

/***** Zoe *****/

/*---------------*/

.zoe figcaption {
	top: auto;
	bottom: 0;
	padding: 1em;
	width: 100%;
	background: rgba(255, 255, 255, 0.85);
	color: #3c4a50;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0, 100%, 0);
	transform: translate3d(0, 100%, 0);
	position: absolute;
}

.zoe:hover p.icon-links a:hover, .zoe:hover p.icon-links a:focus {
	color: #252d31;
}

.zoe p.description {
	position: absolute;
	bottom: 8em;
	padding: 2em;
	color: #fff;
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
	-webkit-backface-visibility: hidden;
	/* Fix for Chrome 37.0.2062.120 (Mac) */
}

.zoe h2, .zoe p.icon-links a {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0, 200%, 0);
	transform: translate3d(0, 200%, 0);
}

.zoe p.icon-links a span::before {
	display: inline-block;
	padding: 8px 10px;
	font-family: 'feathericons';
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.zoe h2 {
	display: inline-block;
}

.zoe:hover p.description {
	opacity: 1;
}

.zoe:hover figcaption, .zoe:hover h2 {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.zoe:hover h2 {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

.zoe:hover p.icon-links a:first-child {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

/* promo bar */

.banner-message {
	background: #0a0000;
	color: #eded95;
	padding: 18px 36px 18px 18px;
	position: relative;
	z-index: 200;
	line-height: normal;
}

.close-button {
	position: fixed;
	right: 10px;
	top: 17px;
	text-align: center;
	height: 30px;
	width: 30px;
	border-radius: 0 0 2px 2px;
	z-index: 999999;
	cursor: pointer;
	color: #eded95;
	font-size: 18px;
}

.dwpb-content, .dwpbcd-content, .banner-message {
	font-family: 'EB Garamond', serif;
}

/* for masonary system */

@media only screen and (max-width: 420px) {
	.grid-item, .grid-sizer {
		width: 100%;
	}
}

@media only screen and (min-width: 421px) and (max-width: 1200px) {
	.grid-item, .grid-sizer {
		width: 48%;
	}
}

@media only screen and (min-width: 1201px) {
	.grid-item, .grid-sizer {
		width: 31%;
	}
}

/* for gallery */

.tp-tabs, .tp-thumbs, .tp-bullets {
	top: 98% !important;
}

.hephaistos .tp-bullet:hover, .hephaistos .tp-bullet.selected, .hephaistos .tp-bullet {
	border-color: transparent;
	width: 1px;
	height: 1px;
}

/* media query for mobile */

@media only screen and (max-width: 600px) {
	.parallax-window .content {
		bottom: 10%;
	}
	.contact .etf-content {
		text-align: left;
	}
	.contact .right-border {
		border: none;
	}
	.contact .es_textbox {
		width: 90%;
	}
	#logo a {
		width: 183px;
	}

	/* mobile menu */
	
	/* inverse nav */
	nav .inverse .button-collapse i {
		color: black;
		-webkit-transition: all 1.0s ease;
		-moz-transition: all 1.0s ease;
		-o-transition: all 1.0s ease;
		transition: all 1.0s ease;
	}
	nav.active .inverse .button-collapse i {
		color: white;
		-webkit-transition: all 1.0s ease;
		-moz-transition: all 1.0s ease;
		-o-transition: all 1.0s ease;
		transition: all 1.0s ease;
	}
	/*--- work page ---*/
	#work-single {
		margin-top: 130px;
	}
	#work-description .content {
		margin-top: 150px;
		width: 80%;
	}
	#work-single .wp-block-gallery {
		padding: 0 5px;
	}
	#work-single .description,
	#work-single h2
	{
		padding: 0 12px;
	}
	#work-single .description p {
		width: 100%;
	}
	#work-single .navigation {
		margin: 0;
		padding: 0 21px;
	}
	.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item
	{
		width: 100%;
		margin: 0 0 30px 0;
	}

	.container#work {
		width: 90%;
	}
	#work .work-item .overlay {
		display: none;
	}
	#work-single #work {
		margin: 40px auto 0;
		padding: 0 7px;
	}
	#work .info {
		margin: 14px 0 30px;
    line-height: 18px;
	}
	a.work-item {
		text-decoration: none;
		clear: both;
    letter-spacing: 4px;
    font-size: 13px;
	}

	/*-- about --*/
	.about .container {
		width: 85%;
	}
	/*--- contact ---*/
	.contact .row {
		text-align: center;
	}
}

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

	.primary-menu {
		display: flex;
		justify-content: center;
	}
	#menu-top-menu .instagram span {
		display: none;
	}
	.button-collapse {
		display: none;
	}
	#work .info {
		display: none;
	}
	.row .col.m6 {
		margin-left: 0px;
	}
	#work.row .col {
		padding: 0 20px;
	}
}