/*
 Theme Name:     The Intersection of Our Lives
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* IMPORTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@font-face {
    font-family: 'BasierCircle-Regular';
    src: url('//theintersect.wpengine.com/wp-content/themes/Intersection/fonts/BasierCircle-Regular.woff2') format('woff2'),
        url('//theintersect.wpengine.com/wp-content/themes/Intersection/fonts/BasierCircle-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham-Black';
    src: url('//theintersect.wpengine.com/wp-content/themes/Intersection/fonts/Gotham-Black.woff2') format('woff2'),
        url('//theintersect.wpengine.com/wp-content/themes/Intersection/fonts/Gotham-Black.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham-Bold';
    src: url('//theintersect.wpengine.com/wp-content/themes/Intersection/fonts/Gotham-Bold.woff2') format('woff2'),
        url('//theintersect.wpengine.com/wp-content/themes/Intersection/fonts/Gotham-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
  --white: #ffffff;
  --white-40: rgba(255,255,255,0.4);	
  --blue-grey: #0d172d;
  --fire: #d52027;
  --rose: #ffc4c7;
  --gunmetal: #4f5155;
  --light-blue: #e6e8eb;
  --grey-purple: #868492;
  --light-purple: #b6b3c8;
  --pale-grey: #f7f8fa;
}


/* THEME BASE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

html {
  font-size: 1em;
}
body {
  font-family: 'BasierCircle-Regular', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
}
.img {
	max-width: 100%;
	transition: all 0.3s ease-out 0s;
}
.f-left {
	float: left
}
.f-right {
	float: right
}
.fix {
	overflow: hidden
}
a {
  color: #1EAEDB;
}
a:hover {
  color: #0FA0CE; 
}
a,
.button {
	-webkit-transition: all 0.3s ease-out 0s;
	-moz-transition: all 0.3s ease-out 0s;
	-ms-transition: all 0.3s ease-out 0s;
	-o-transition: all 0.3s ease-out 0s;
	transition: all 0.3s ease-out 0s;
}
a:focus,
.button:focus {
	text-decoration: none;
	outline: none;
}
a,
button {
	color: #1EAEDB;
	outline: medium none;
}
button:focus,input:focus,input:focus,textarea,textarea:focus{outline: 0}
.uppercase {
	text-transform: uppercase;
}
.capitalize {
	text-transform: capitalize;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Gotham-Bold', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-style: normal;
	color: #333;
	margin-top: 0;
	margin-bottom: 2rem;
	text-transform: none;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: inherit;
}
h1 { 
	font-size: 4.0rem;
	line-height: 1.2;
	letter-spacing: -.1rem;
}
h2 { 
	font-size: 3.6rem;
	line-height: 1.2;
	letter-spacing: -.1rem; 
}
h3 { 
	font-size: 3.0rem;
	line-height: 1.2; 
	letter-spacing: -.1rem;
}
h4 { 
	font-size: 2.4rem; 
	line-height: 1.2; 
	letter-spacing: -.05rem;
	margin-bottom: 1rem; 
}
h5 { 
	font-size: 1.8rem; 
	line-height: 1.4;  
	letter-spacing: -.05rem;
}
h6 { 
	font-size: 1.4rem; 
	line-height: 1.6;  
	letter-spacing: 0;
}
ul {
	margin: 0px;
	padding: 0px;
}
/*
li {
	list-style: none
}
*/
p {
	font-size: 1rem;
	font-weight: normal;
	line-height: 1.8em;
	color: var(--gunmetal);
	margin-bottom: 1em;
}
hr {
	border-bottom: 1px solid #eceff8;
	border-top: 0 none;
	margin: 30px 0;
	padding: 0;
}
label {
	color: #7e7e7e;
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
}
*::-moz-selection {
	background: #d6b161;
	color: #fff;
	text-shadow: none;
}
::-moz-selection {
	background: #444;
	color: #fff;
	text-shadow: none;
}
::selection {
	background: #444;
	color: #fff;
	text-shadow: none;
}
*::-moz-placeholder {
	color: #555555;
	font-size: 14px;
	opacity: 1;
}
*::placeholder {
	color: #555555;
	font-size: 14px;
	opacity: 1;
}
hr {
    border: none;
    display: block;
    height: 3px;
    background: #eeeeee;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}
.btn {
	font-family: 'Gotham-Bold', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: normal;
	color: var(--fire);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	line-height: 1;
	background-color: transparent;
	border: 2px solid var(--fire);
	border-bottom: 6px solid var(--fire);
	border-radius: 0px;
	margin-bottom: 0;
	padding: 1rem 3.12rem;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	white-space: nowrap;
	outline: none;
	-moz-user-select: none;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
}
.btn:hover,
.btn:focus,
.btn:active {
	color:var(--white);
}
.btn:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--fire);
	-webkit-transform: scaleY(0);
	transform: scaleY(0);
	-webkit-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
.btn:hover:before,
.btn:focus:before,
.btn:active:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}
.btn-gf { /* Make Gravity Forms button span full width */
	padding: 1.3rem 3.12rem;
	width: 100% !important;
	cursor: pointer;
}
.sub-link {
	font-family: 'Gotham-Bold', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: normal;
	color: var(--fire);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	line-height: 1;
	position: relative;
	padding: 0 0.6rem;
}
.sub-link:hover {
	color: var(--gunmetal);
}
/*
.sub-link:before {
	position: absolute;
	content: '';
	height: 1px;
	bottom: -8px; 
	margin: 0 auto;
	left: 0;
	right: 0;
	width: 100%;
	background: var(--fire);
	transition: all 0.3s ease-out 0s;
}
*/
.sub-link:after {
	color: var(--rose);
	transform: translate(0,0);
	transition: all 0.3s ease-out 0s;
}
.sub-link:hover:after {
	transform: translate(5px,0);
}
.dark-section h1, 
.dark-section h2, 
.dark-section h3, 
.dark-section h4, 
.dark-section h5, 
.dark-section h6 {
	color: var(--white);
}
.light-section h1, 
.light-section h2, 
.light-section h3, 
.light-section h4, 
.light-section h5, 
.light-section h6 {
	color: var(--blue-grey);
}
.dark-section p {
	color: rgba(255,255,255,0.6);
}
.light-section p {
	color: var(--gunmetal);
}
.dark-section .sub-link {
	color: var(--white);
}
.light-section .sub-link {
	color: var(--fire);
}
.dark-section .sub-link:after {
	color: var(--white);
}
.light-section .sub-link:after {
	color: var(--rose);
}
.dark-section .sub-link:before,
.light-section .sub-link:before {
	background: var(--fire);
}
.dark-section .sub-link:hover:after,
.light-section .sub-link:hover:after {
	color: var(--fire);
}
.negMarginBig {
	margin-top: -18em;
}
.negMarginMed {
	margin-top: -14em;
}
.negMarginSmall {
	margin-top: -10em;
}
.text-block-left {
	text-align: left;
}
.text-block-right {
	text-align: right;
}
.text-block-middle {
	text-align: center;
}
.awesome-icon { /* Font Awesome Icons */
	font-size: 4.8rem;
    color: var(--fire);
    margin-bottom: 1.2rem;
}


/* THEME MAIN NAVIGATION
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Menu */
#main-header {
	font-family: 'Gotham-Bold', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: var(--grey-blue);
	text-transform: uppercase;
}

#top-menu a {
	font-size: 1rem;
	color: var(--grey-blue);
	letter-spacing: 0.1rem;
}

.et-fixed-header#main-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.et-fixed-header #top-menu a {
	color: var(--blue-grey);
}

#top-menu a:hover, 
.et-fixed-header #top-menu a:hover, #top-menu li.current-menu-item>a {
	color: var(--fire);
	opacity: 1 !important;
}

/* Mobile Menu */

.mobile_menu_bar:before {
	color: var(--fire);
}

#main-header .et_mobile_menu {
	background-color: rgba(255,255,255,1) !important;
}

.et_mobile_menu {
	border-top: 3px solid var(--fore);
}

@media (max-width: 980px) {
.et_header_style_left #logo, .et_header_style_split #logo {
    max-width: 70%; /*Larger logo on mobile*/
}
}


@media only screen and ( max-width:1249px ) { /*Force Mobile Menu*/
#et_mobile_nav_menu { display:block }
#top-menu-nav { display:none; }
} 



/* THEME MAIN FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#footer-bottom {
	display: none; /*Hide Divi default footer*/
}

.main-site-footer { /*This is a custom footer, to be applied Globally*/
    background: #070E1E url(//theintersect.wpengine.com/wp-content/uploads/2019/01/barcode_pattern.png) repeat-x -50% 0;
    padding: 4.8rem 0;
}

.main-site-footer ul {
	margin: 0 auto;
    display: table;
    float: left;
    padding: 0;
    list-style: none;
}

.main-site-footer ul li {
	font-family: 'Gotham-Bold', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    color: var(--white);
    text-transform: uppercase;
    margin: 0 2.2rem 0 0;
    padding: 1rem 0;
	position: relative;
}

.main-site-footer ul li a {
	color: var(--white);
}

.main-site-footer ul li a:hover {
	color: var(--fire);
}

.main-site-footer p {
	color: var(--white-40);
	text-align: left;
}

.main-site-footer img {
	opacity: 0.4;
}


/* HEROS (For Hero areas on Main or Sub pages)
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.hero {
	padding-top: 0px !important;
}

.hero-home {
	min-height: 690px;
}

.hero-subpage {
	min-height: 410px;
}

.hero-special {
	min-height: 340px
}

/* TYPOGRAPHY (Custom H1, H2, etc)
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.hero h1 {
	font-size: 3.6rem;
	color: var(--white);
	line-height: 1.0;
	margin-bottom: 1.6rem;
	
}

.hero p, .hero-subpage, .header-special p {
	color: var(--light-purple);
}

.hero .hero_title svg {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    z-index: -1;
}

.hero .hero_title .cls-1 {
    fill: var(--fire);
    transition: fill .3s ease-in-out;
}

.hero-subpage h6 {
    font-size: 1rem;
    color: var(--fire);
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    margin: 0 0 0 0;
}

.hero-subpage h4 {
	font-size: 2.4rem;
	color: var(--white);
}

.hero-special h5 {
	font-size: 1.8rem;
	margin-bottom: 0;
}

.light-section .brush-title svg {
    max-width: 30%;
    margin-top: -1rem;
}

.light-section .brush-title .cls-1 {
    fill: var(--fire);
    transition: fill .3s ease-in-out;
}

.single-block {
    border-radius: 0;
    transition: all 0.3s ease;
}

.single-block.inner-block {
    background: var(--blue-grey);
    border: none;
    max-width: 100%;
    min-height: 400px;
    text-align: center;
}

.single-block .wrapper {
    padding: 8% 5%;
}

.single-block .wrapper p {
    font-family: 'BasierCircle-Regular', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
	color: var(--grey-purple);
    padding: 0;
	margin: 0;
	transition: all 0.3s ease;
}

.single-block .wrapper p span {
	font-family: 'Gotham-Black', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.4rem;
	color: var(--white);
}

.single-block .wrapper h6 {
    font-family: 'BasierCircle-Regular', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: var(--grey-purple);
	margin-bottom: 0;
}

.single-block a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}
/*
.single-block.inner-block:hover {
    background: var(--fire);
    color: var(--white);
}

.single-block.inner-block:hover a {
    color: var(--white);
}

.single-block:hover .wrapper p,
.single-block:hover .wrapper h6,
.single-block:hover .awesome-icon {
    color: var(--white);
    opacity: 1;
}
*/

/*Blog*/

.blogList .et_pb_post {
	margin-bottom: 6.4rem;
}


.blogList .et_pb_post .entry-title,
.blogList .et_pb_post .post-meta,
.blogList .et_pb_post .post-content p {
    transition: all 0.3s ease
}

.blogList .et_pb_post .entry-title {
    font-size: 2.6rem;
    color: var(--blue-grey);
    margin-bottom: 0;
}

.blogList .et_pb_post .entry-title a:hover {
    color: var(--fire)!important
}

.blogList .et_pb_post .post-meta, span.published {
	font-family: 'Gotham-Bold', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem !important;
    color: var(--fire) !important;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.blogList .post-content {
	display: none;
}

h1.entry-title {
	font-size: 3.2rem;
	color: var(--blue-grey);
	border-left: 5px solid var(--fire);
    margin: 0 0 60px -35px;
    padding-left: 30px;
}

/* BUTTONS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.sub-link:after {
	font-family: "Font Awesome 5 Free"; 
	font-weight: 400; 
	content: "\f35a";
	margin-left: 0.6em;
	display: inline-block;
}

.btn-white {
	color: var(--white);
	background-color: transparent;
	border: 2px solid var(--white);
	border-bottom: 6px solid var(--white);
}

.btn-white:hover,
.btn-white:focus,
.btn-white:active {
	color:var(--blue-grey);
}

.btn-white:before {
	background: var(--white);
}



/* GRAVITY FORMS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.divi_wrapper input.text,
.divi_wrapper input.title,
.divi_wrapper input[type=email],
.divi_wrapper input[type=password],
.divi_wrapper input[type=tel],
.divi_wrapper input[type=text],
.divi_wrapper select,
.divi_wrapper textarea {
	font-size: 1.0rem !important;
	border: 1px solid #E6E8EB;
	border-radius: 0;
	padding: 1.2rem !important;
	transition: all 0.3s ease-out 0s;
}

.divi_wrapper input.text:hover,
.divi_wrapper input.title:hover,
.divi_wrapper input[type=email]:hover,
.divi_wrapper input[type=password]:hover,
.divi_wrapper input[type=tel]:hover,
.divi_wrapper input[type=text]:hover,
.divi_wrapper select:hover,
.divi_wrapper textarea:hover {
	background: #e6e8eb;
	border: 1px solid #0D172D;
}

.divi_wrapper .top_label .gfield_label {
	display: none !important; /*Hide labels*/
}

img.gform_ajax_spinner {
    display: none !important; /*Hide spinner*/
}

/* Inline fields on Gravity Forms */

@media only screen and (min-width: 641px) {
.gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label.form_sublabel_above li.gfield, .gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label.form_sublabel_below li.gfield {
    vertical-align: middle;
    padding-right: 8px !important;
    width: 400px !important;
}
}

/*Placeholders*/

::-webkit-input-placeholder { /* Chrome */
  font-size: 1.0rem;	
  color: var(--gunmetal) !important;
}
:-ms-input-placeholder { /* IE 10+ */
  font-size: 1.0rem;
  color: var(--gunmetal) !important;
}
::-moz-placeholder { /* Firefox 19+ */
  font-size: 1.0rem;
  color: #1E1F22 !important;
  opacity: var(--gunmetal) !important;
}
:-moz-placeholder { /* Firefox 4 - 18 */
  font-size: 1.0rem;
  color: var(--gunmetal) !important;
  opacity: 1 !important;
}

/*Errors*/

.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent !important;
    margin-bottom: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper li.gfield_error textarea {
    border: 1px solid #d52027 !important;
}

.gform_wrapper .validation_message {
    color: #d52027 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2rem !important;
}

.gform_wrapper div.validation_error {
    color: #fff !important;
    font-size: 1rem !important;
    border-top: none !important;
    border-bottom: none !important;
    background: #d52027 !important;
}


/* QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
html {
  font-size: 1.2em;
}  
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
.negMarginBig {
	margin-top: -14em;
}
.negMarginMed {
	margin-top: -10em;
}
.negMarginSmall {
	margin-top: -6em;
} 
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
.negMarginBig, .negMarginMed, .negMarginSmall {
	margin-top: 0;
} 
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) {
.main-site-footer ul li {
	padding: 0;
	float: left;
} 
}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
.negMarginBig, .negMarginMed, .negMarginSmall {
	margin-top: 0;
} 
}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
.negMarginBig, .negMarginMed, .negMarginSmall {
	margin-top: 0;
}
}

