/*!
Theme Name: PARA
Theme URI: https://thoughtandfound.co/
Author: Thought & Found
Author URI: https://thoughtandfound.co/
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/

@media screen and (min-width: 0) {
/*--------------------------------------------------------------
GLOBALS
---------------------------------------------------------------*/
	@font-face {
	  font-family: 'gt-sectra';
	  src: url('./fonts/GT-Sectra-Display-Bold.woff2') format('woff2'),
	       url('./fonts/GT-Sectra-Display-Bold.woff') format('woff'),
	       url('./fonts/GT-Sectra-Display-Bold.ttf')  format('truetype');
	}

	html {
		line-height: 1.15;
		-webkit-text-size-adjust: 100%;
	}

	body {
		margin: 0;
		padding: 0;
	}

	h1, h2, h3, h4, h5, h6 {
		font-family: 'gt-sectra', 'GT Sectra', serif;
		font-weight: normal;
		margin-top: 0;
		-webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
	}

	h1, h2, h3, h4, h5, h6, a, p, span, html, form input, label {
		color: #21372b;
	}

	h1, h2 {
    font-size: 29px;
  }

	h3 {
		font-size: 22px;
	}
	
	.home-entry-title h3 {
		margin-bottom: 0;
	}

	h4 {
		font-size: 20px;
	}

	h5 {
		font-size: 18px;
		margin: 0;
	}

	p, .item-content ul {
		font-size: 15px;
		line-height: 20px;
		margin-top: 0;
	}
	
	.item-content ul {
		padding-left: 16px;
		margin-top: -15px;
	}

	body, html, p, form input, form textarea {
		font-family: 'fieldwork-hum', sans-serif;
		font-weight: 100;
		font-style: normal;
  }

	strong, b {
		font-weight: 400;
	}

	img {
		display: block;
		width: 100%;
	}

	img.shape {
		width: 40px;
	}
/*--------------------------------------------------------------
HEADER
---------------------------------------------------------------*/
header#masthead  {
	background: #faf9f5;
	position: relative;
	z-index: 2;
}

.site-branding {
	padding: 40px;
}

.site-branding img {
	max-width: 297px;
	margin: auto;
}

.m-n-inner {
	position: relative;
}

.m-toggle {
	padding: 10px 0;
	color: white;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 400;
	text-align: center;
	background: #21372b;
	letter-spacing: 3px;
	cursor: pointer;
}

.bold {
	font-weight: bold;
}

nav#desktop-navigation {
	display: none;
}

nav#mobile-navigation {
	display: none;
  height: 100vh;
  height: calc(100vh - 94px);
  z-index: 1;
  background: #f0ebdf;
  padding: 20px 40px 40px 40px;
	overflow-y: scroll;
}

nav#mobile-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
	font-size: 18px;
}

nav#mobile-navigation ul.sub-menu li {
    font-weight: 100;
		padding-left: 30px;
}

nav#mobile-navigation ul li {
	border-top: 1px solid;
	padding: 15px 0;
}

nav#mobile-navigation ul li:first-child {
	border-top: none;
}

nav#mobile-navigation ul li:last-child {
	border-bottom: 1px solid;
}

nav#mobile-navigation ul a {
	text-decoration: none;
	display: block;
}

nav#mobile-navigation ul li.menu-item-has-children {
	/* background-image: url('./images/Arrow-Dark.svg');
	background-size: 17px auto;
	background-position: right 22.5px;
	background-repeat: no-repeat; */
	border-bottom: none;
	padding-bottom: 0;
	position: relative;
}

nav#mobile-navigation ul li.menu-item-has-children img {
	width: 17px;
  height: 10px;
  position: absolute;
  right: 0;
  top: 22px;
	transition: transform 500ms ease-in-out;
}

nav#mobile-navigation ul li.menu-item-has-children > a {
  margin-bottom: 15px;
  /* display: inline-block; */
}

nav#mobile-navigation ul ul.sub-menu li:first-child {
	border-top: 1px solid;
}

nav#mobile-navigation ul ul.sub-menu li:last-child {
	border-bottom: none;
}

nav#mobile-navigation ul.sub-menu {
  display: none;
}

.book.pop-up {
	display: none;
  max-width: 500px;
  margin: auto;
  position: fixed;
  left: 40px;
  right: 40px;
  top: 0;
  bottom: 0;
  z-index: 5;
  height: 75vh;
overflow-y: auto;
    border-radius: 20px;
    background: white;
}

.book-overlay {
	position: fixed;
	background: black;
	opacity: .5;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	display: none;
}

.book-overlay {
	z-index: 4;
}
/*--------------------------------------------------------------
BANNER
---------------------------------------------------------------*/
.scroll-drop img {
    width: 40px;
	margin: auto;
    margin-bottom: 15px;
	animation: bounce 2s ease infinite;
}

.scroll-drop {
    margin-top: -91px;
    margin-bottom: 35px;
    font-size: 16px;
	text-align: center;
	cursor: pointer;
	display: none;
}
	
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-20px);}
	60% {transform: translateY(-10px);}
}
	
.banner.para {
	position: relative;
}

img.banner.pattern.para-img {
	display: none;
}

.banner.para img.shape {
  position: absolute;
  bottom: -40px;
  right: 40px;
}

.banner.para img.shape.tr {
	right: 50%;
	right: calc(50% + 80px);
}

.banner.para img.shape.li {
	right: auto;
	left: 33%;
	left: calc(100% / 3);
}

.parallax-banner {
	min-height: 65vh;
	display: none;
}

.parallax-banner.pattern {
	min-height: auto;
	padding-top: 100%;
	display: block;
}

body.home .parallax-banner.pattern {
	min-height: auto;
	padding-top: 100%;
	background-size: 200% auto;
}

.parallax-banner.pattern {
	background-position: center 154px;
	background-size: 300% auto;
}

.para-inner {
	position: relative;
}

.para-inner img.shape.sq,
.para-inner img.shape.ci {
  position: absolute;
  left: 40px;
  top: -20px;
  z-index: 1;
}

.para-inner img.shape.ci {
	left: 50%;
	left: calc(50% - 20px);
}

.para-inner img.shape.tr {
  position: absolute;
  bottom: -40px;
  right: 40px;
}

.para-inner img.shape.left.sq {
	position: absolute;
  bottom: -20px;
  left: 40px;
  top: auto;
}

header.entry-header {
    position: absolute;
/*     top: 0; */
    left: 0;
    right: 0;
/*     bottom: 0; */
/* 	height: 100%; */
	width: 100%;
/* 	display: table; */
	text-align: center;
	webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
}
	
h1.entry-title {
  margin-bottom: 0;	
}

/* h1.entry-title, .home-entry-title {
  display: table-cell;
  vertical-align: middle;
  text-align:center;
} */
/*--------------------------------------------------------------
MODULES
---------------------------------------------------------------*/
	.fixed {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
    z-index: 5;
	}

	.pad {
		margin-top: 33px;
	}

	.d-inner {
	    padding: 80px 40px;
	}
	
	.entry-content .column-wrapper:first-child .col-1.reduce .d-inner {
		padding-top: 80px;
	}
	
	.col-1.reduce .d-inner {
        padding-top: 0;
    }
	
	.col-2.reduce .d-inner {
        padding-top: 40px;
    }

	.para .d-inner {
			padding: 0;
	}

	.img-shape-wrap {
		position: relative;
	}

	.img-shape-wrap img.shape {
		position: absolute;
		top: -20px;
	}

	.col-1 .d-inner h4:last-child {
		margin-bottom: 0;
	}

	.col-1	.d-inner {
		padding-bottom: 0;
	}

	.drop-row {
		border-top: 1px solid;
	}

	.line-item {
		font-size: 15px;
		line-height: 24px;
		padding: 7px 0 8px 0;
		clear: both;
	  overflow: hidden;
		cursor: pointer;
	}
	
	.line-item strong {
		float: left;
		width: 80%;
	}	

	img.drop-arrow {
	    float: right;
	    width: 18px;
	    margin-top: 8px;
		transition: transform 450ms ease-in-out;
	}

	.rotate {
		transform: rotate(180deg);
	}

	.drop-row:last-child {
		border-bottom: 1px solid;
	}

	.item-content {
	  display: none;
	}

	.spacer img.shape.tr {
    margin-left: 40px;
    margin-top: -20px;
  }

	/* form label {
    border-top: 1px solid;
    display: block;
    width: 100%;
  } */
	form {
		border-top: 1px solid;
		padding-top: 5px;
	}

	form p {
    margin: 0 0 5px 0;
  }

	form input, form textarea {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid;
    width: 100%;
    padding: 0;
    background: transparent;
		font-size: 13px;
  }

	input.wpcf7-form-control.has-spinner.wpcf7-submit {
    color: white;
    text-transform: uppercase;
    background: #21372b;
    font-weight: 400;
    width: 140px;
    padding: 4px 0 6px 0;
    letter-spacing: 1px;
		margin-top: 10px;
		font-size: 16px;
		border-radius: 0!important;
		-webkit-appearance: none;
	}
/*--------------------------------------------------------------
LOGO BLOCK
---------------------------------------------------------------*/
	hr {
	   margin: 0 40px;
	}

 .logos {
    text-align: center;
		max-width: 960px;
    margin: auto;
 }
	img.logo {
	    height: 35px;
	    width: auto;
	    display: inline-block;
	    padding: 5px 10px;
	}
/*--------------------------------------------------------------
FOOTER
---------------------------------------------------------------*/
  footer h5 {
		margin: 50px auto 15px auto;
		color: white;
		max-width: 320px;
	}

	footer h5 a, footer p, footer p a {
		color: white;
	}
	
/* 	footer p {
	  font-size: 18px;
      line-height: normal;
	} */

	footer {
		text-align: center;
		padding: 30px 30px 105px 30px;
		background: #21372b;
		color: white;
		position: relative;
	}

	footer img.shape {
		position: absolute;
		left: 20px;
		top: -20px;
	}

	footer img.shape.bot.sq {
		left: 50%;
		left: calc(50% + 120px);
	}

	footer span {
		font-size: 10px;
		line-height: 13px;
		display: inline-block;
		text-align: center;
		color: white;
	}
	
	.sticky-foot {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 5;
		background: #21372b;
    }
	
	.sf-inner {
		padding: 20px;
		text-align: center;
	}
	
	.sticky-foot h5, .sticky-foot h5 a {
		color: white;
	}
	
	.sticky-foot h5 a {
		text-decoration: unerline;
	}

}

@media screen and (min-width: 568px) {
/*--------------------------------------------------------------
GLOBALS
---------------------------------------------------------------*/
/*--------------------------------------------------------------
HEADER
---------------------------------------------------------------*/
/*--------------------------------------------------------------
MODULES
---------------------------------------------------------------*/
/*--------------------------------------------------------------
FOOTER
---------------------------------------------------------------*/
}

@media screen and (min-width: 768px) {
/*--------------------------------------------------------------
GLOBALS
---------------------------------------------------------------*/
/*--------------------------------------------------------------
HEADER
---------------------------------------------------------------*/
/*--------------------------------------------------------------
BANNER
---------------------------------------------------------------*/
.parallax-banner.pattern {
	min-height: auto;
	padding-top: 33.2%;
	background-size: 100% auto;
	display: block;
}

body.home .parallax-banner.pattern {
	min-height: auto;
	background-size: 100% auto;
	padding-top: 50%;
}

.parallax-banner.pattern {
	background-position: center 154px;
}

.para-inner img.shape.left.sq {
	left: 120px;
}
/*--------------------------------------------------------------
MODULES
---------------------------------------------------------------*/
.full-wh.txt-block .d-inner {
	padding: 40px 120px;
}

.column-wrapper {
  font-size: 0;
}

.col-1, .col-2 {
  display: inline-block;
	vertical-align: top;
}

.col-1 {
  width: 40%;
}

.col-1 .d-inner {
  padding-bottom: 80px;
}

.col-2 {
	width: 60%;
}
	
.col-2.reduce .d-inner {
	padding-top: 0;
}
	
.entry-content .column-wrapper:first-child .col-2.reduce .d-inner {
    padding-top: 80px;
}

.col-2 .tc .d-inner {
  padding-right: 80px;
}

.spacer img.shape.tr {
	margin-left: 0;
	margin-top: -10px;
}
/*--------------------------------------------------------------
LOGO BLOCK
---------------------------------------------------------------*/
img.logo {
    height: 45px;
    padding: 10px 20px;
}
/*--------------------------------------------------------------
FOOTER
---------------------------------------------------------------*/
footer h5 {
	width: auto;
	max-width: none;
}

}

@media screen and (min-width: 1024px) {
/*--------------------------------------------------------------
GLOBALS
---------------------------------------------------------------*/
/* h1, h2 {
	font-size: 65px;
}

h3 {
	font-size: 26px;
}

h4 {
	font-size: 29px;
	margin-bottom: 16px;
}

h5 {
	font-size: 24px;
	margin: 0;
}

p, .line-item, form input, form textarea {
    font-size: 16px;
    line-height: 21px;
	margin-top: 0;
} */
	
h1, h2 {
	font-size: 75px;
}

h3 {
	font-size: 32px;
}

h4 {
	font-size: 32px;
}

h5 {
	font-size: 26px;
}

p, .line-item, form input, form textarea, .item-content ul {
	font-size: 20px;
	line-height: 24px;
}
	
.item-content ul {
	padding-left: 19px;
    margin-top: -20px;	
}

/*--------------------------------------------------------------
HEADER
---------------------------------------------------------------*/
.site-branding img {
  max-width: 480px;
}
	
.pad {
	margin-top: 39px;
}

nav#desktop-navigation ul li {
  padding: 0 20px;
}

nav#desktop-navigation ul li.menu-item-has-children {
	margin-right: 15px;
	background-position: right 6.5px
}

nav#desktop-navigation ul li a {
  font-size: 16.5px;
}
/*--------------------------------------------------------------
BANNER
---------------------------------------------------------------*/
.scroll-drop {
    display: block;	
}
	
.parallax-banner.pattern {
	background-position: center 188px;
}

.banner.para img.shape {
  right: 20%;
	right: calc(20% - 40px);
}

.para-img {
	display: none;
}

.parallax-banner {
	display: block;
}

.para-inner img.shape.sq {
	left: 20%;
}

body.page-ortho-k .para-inner img.shape.sq,
body.page-dry-eye .para-inner img.shape.sq {
	left: 20%;
	left: calc(20% - 80px);
}

.para-inner img.shape.tr {
  right: 62.5%;
  right: calc(62.5% - 50px);
}

body.page-keratoconus .para-inner img.shape.tr,
body.page-myopia-and-myopia-control .para-inner img.shape.tr {
	bottom: -20px;
}

.para-inner img.shape.left.sq {
	left: 20%;
}
/*--------------------------------------------------------------
MODULES
---------------------------------------------------------------*/
.d-inner {
  padding: 150px 40px;
}

.full-wh.txt-block .d-inner {
	padding: 150px 20%;
}

.col-1 {
  width: 37.5%;
}

.col-1 .d-inner {
  padding-bottom: 150px;
}

.col-2 {
  width: 62.5%;
}

.col-2 .d-inner {
  padding: 150px 80px 150px 55px;
}

.col-2 .tc .d-inner {
  padding-right: 20%;
}
	
.entry-content .column-wrapper:first-child .col-1.reduce .d-inner,
.entry-content .column-wrapper:first-child .col-2.reduce .d-inner {
  padding-top: 150px;	
}
	
.col-1.reduce .d-inner, .col-2.reduce .d-inner {
  padding-bottom: 100px;	
}
	
.entry-content .column-wrapper:last-child .col-1.reduce .d-inner,
.entry-content .column-wrapper:last-child .col-2.reduce .d-inner {
  padding-bottom: 150px;	
}

.tc.img-block img {
  max-width: 330px;
}
	
input.wpcf7-form-control.has-spinner.wpcf7-submit {
  font-size: 15px;	
}
	
img.drop-arrow {
  width: 15px;	
}
/*--------------------------------------------------------------
LOGO BLOCK
---------------------------------------------------------------*/
.logo-block .d-inner {
	padding: 100px 40px;
}
/*--------------------------------------------------------------
FOOTER
---------------------------------------------------------------*/
footer {
  padding: 30px 30px 130px 30px;	
}
	
footer h5 {
  margin: 80px 0 15px 0;
}

footer img.shape {
	left: 20%;
}

}

@media screen and (min-width: 1025px) {
/*--------------------------------------------------------------
HEADER
---------------------------------------------------------------*/
.pad {
	margin-top: 38.4px;
}

.m-toggle, nav#mobile-navigation {
	display: none;
}

nav#desktop-navigation ul li a {
	text-decoration: none;
	color: white;
	font-weight: 400;
	font-size: 16.5px;
	position: relative;
	color: transparent;
}

nav#desktop-navigation li a .before {
	position: absolute;
  left: 0px;
  top: 3.5px;
  width: 102%;
  text-align: left;
	color: white;
}

nav#desktop-navigation li a .after {
	position: absolute;
  left: 0px;
  top: 3.5px;
  width: 102%;
  text-align: left;
  font-weight: 700;
	opacity: 0;
	color: white;
}

nav#desktop-navigation .sub-menu li a .before,
nav#desktop-navigation .sub-menu li a .after {
	color: #21372b;
}

nav#desktop-navigation {
  display: block;
	background: #21372b;
	padding: 13px 0;
}

nav#desktop-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

nav#desktop-navigation ul li  {
	display: inline-block;
	padding: 0 15px;
	vertical-align: top;
	position: relative;
	transition: height 250ms ease-in-out;
}

nav#desktop-navigation ul li.menu-item-has-children {
	padding-right: 15px;
	margin-right: 12px;
	background-image: url('./images/Arrow-Light.svg');
	background-size: 11px auto;
	background-position: right 7px;
	background-repeat: no-repeat;
}

nav#desktop-navigation ul.sub-menu li {
	display: block;
	text-align: left;
}

nav#desktop-navigation ul.sub-menu {
  position: absolute;
  left: 0;
  top: 33px;
	width: 300px;
	display: none;
	line-height: 26px;
}

/* .expand {
	height: 200px;
} */

nav#desktop-navigation ul.sub-menu li a {
 color: transparent;
}

.desk-nav-inner {
	position: relative;
}

.sub-menu-fill {
  position: absolute;
  top: 28px;
  background: #f0ebdf;
  width: 100%;
  left: 0;
  right: 0;
  height: 230px;
  z-index: -1;
	display: none;
}

.menu-overlay {
	position: fixed;
	background: black;
	opacity: .5;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	display: none;
}

}

@media screen and (min-width: 1200px) {
/*--------------------------------------------------------------
GLOBALS
---------------------------------------------------------------*/
/* h1, h2 {
	font-size: 75px;
}

h3 {
	font-size: 29px;
}

h4 {
	font-size: 29px;
}

h5 {
	font-size: 24px;
}

p, .line-item, form input, form textarea {
	font-size: 16px;
	line-height: 21px;
}

img.drop-arrow {
  width: 13px;
  margin-top: 8px;
} */
/*--------------------------------------------------------------
HEADER
---------------------------------------------------------------*/
/* .pad {
	margin-top: 39px;
}

nav#desktop-navigation ul li {
  padding: 0 20px;
}

nav#desktop-navigation ul li.menu-item-has-children {
	margin-right: 15px;
	background-position: right 6.5px
}

nav#desktop-navigation ul li a {
  font-size: 16.5px;
} */
/*--------------------------------------------------------------
BANNER
---------------------------------------------------------------*/
/*--------------------------------------------------------------
MODULES
---------------------------------------------------------------*/
.d-inner {
  padding: 200px 40px;
}

.full-wh.txt-block .d-inner {
  padding: 200px 20%;
}

.col-1 {
  width: 37%;
}

.col-1 .d-inner {
  padding-bottom: 200px;
}

.col-2 {
  width: 63%;
}

.col-2 .d-inner {
  padding: 200px 80px 200px 65px;
}
/*--------------------------------------------------------------
FOOTER
---------------------------------------------------------------*/
}

@media screen and (min-width: 1400px) {
/*--------------------------------------------------------------
GLOBALS
---------------------------------------------------------------*/
h1, h2 {
	font-size: 75px;
}

h3 {
	font-size: 32px;
}

h4 {
	font-size: 32px;
}

h5 {
	font-size: 26px;
}

p, .line-item, form input, form textarea, .item-content ul {
	font-size: 20px;
	line-height: 24px;
}
/*--------------------------------------------------------------
HEADER
---------------------------------------------------------------*/
.site-branding img {
  max-width: 550px;
}
/*--------------------------------------------------------------
BANNER
---------------------------------------------------------------*/
.parallax-banner {
	min-height: 60vh;
}

.parallax-banner.pattern {
	min-height: auto;
	background-position: center 192px;
}
/*--------------------------------------------------------------
MODULES
---------------------------------------------------------------*/
.c-w-inner, .f-t-inner {
    width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
/*--------------------------------------------------------------
FOOTER
---------------------------------------------------------------*/
}
