/*
Theme Name: JSG v1.0
Author: Matthew Gideon
Author URI: http://www.matthewgideon.com
Description: Jacob Scott Gideon Custom Wordpress Template</a>.
*/

/* MAIN STYLES  ----------------------*/

* { margin: 0; }



html {
	height: 100%;
	margin-top:0px;
	margin-bottom:0px;
	padding:0;
}

body {
	height: 100%;
	margin-top:0px;
	margin-bottom:0px;
	padding:0;
	background-color: #ffffff;
}

hr {
	width: 100%;
	height: 2px;
	border: 0 none;
	clear: both;
}

hr {
	margin-left: auto;
	margin-right: auto;
	background-color: #dddddd;
	color: #dddddd;
	margin: 30px 0px 30px 0px;
	border: 0 none;
	clear: both;
}

/* FONTS  ----------------------*/

h1, h2, h3, h4, #quickLinkContent A:link, #quickLinkContent A:visited, #quickLinkContent A:active, #quickLinkBlock A:hover { font-family: 'Lora', serif!important; }

p, li, blockquote p, #button A:link, #button A:visited, #button A:active, #button A:hover { font-family: 'Rubik', sans-serif; }

#footer p, #footer A:link, # footer A:visited, #footer A:active, #footer A:hover { font-family: 'Nunito Sans', sans-serif; }

#button A:link, #button A:visited, #button A:active, #button A:hover { font-family: 'Barlow', sans-serif; }

#content.secondary blockquote p, #content.secondary p, #content.secondary li, #footer p, #footer A:link, #footer A:visited, #footer A:active, #footer A:hover, #content, #button A:link, #button A:visited, #button A:active, #button A:hover, #date, #month { color: #ffffff; }

.primary h1, .primary h2, .primary h3, .primary h4, #featureBlock h1,  { color: #333333; /* Charcoal */ }

p, A:link, #content li, #featureBlock h2 { color: #888888; /* Gray */ }

#quickLinkContent A:link, #quickLinkContent A:visited, #quickLinkContent A:active, #quickLinkContent A:hover, .secondary h1, .secondary h2, .secondary h3, .secondary h4, #meta p { color: #d9b142; /* Gold */ }

A:link, A:visited, A:active, A:hover  { color: #f95696; /* Pink */ }

p, h1, h2, A:link, #content li { text-align: left; }

h4, #featureBlock h1, #featureBlock h2, #quickLink h1 , #quickLink p, #quickLinkContent p, #featureBlock p, #footer p { text-align: center; }

h1, h1.trigger a, h4, #footer p, #footer A:link, #footer A:visited, #footer A:active, #footer A:hover, #featureBlock h1, #featureBlock h2, #quickLinkContent A:link, #quickLinkContent A:visited, #quickLinkContent A:active, #quickLinkContent A:hover { text-transform: uppercase; }

h2 { text-transform: none; }

A:link, #date, #month, #eventTitle  { text-decoration: none; }

p, h1, h2, A:link, #content li, #date, #month { letter-spacing: 1px; }

h1, #footer p, #footer A:link, #footer A:visited, #footer A:active, #footer A:hover, #featureBlock h2, #testimonial p, #testimonial h1, #featureBlock h1, #featureBlock p { font-style: normal; }

blockquote p, #meta p { font-style: italic; }

#featureBlock h1 { font-weight: 300; }

p, A:link, #content li, #quickLinkContent A:link, #featureBlock h1, .ninja-input, #testimonial h1 { font-weight: 400; }

#footer p, #footer A:link, #footer A:visited, #footer A:active, #footer A:hover, #featureBlock h1, .nf-error-msg, .nf-error-required-error, .nf-error-msg, .nf-error-required-error, A:link, #eventTitle, #featureBlock h2 { font-weight: 500; }

h1, h2, h3, h4 { font-weight: 600; }

#featureBlock h1, #date, #month { font-weight: 700; }

h4, #featureBlock h1, #date { font-size: 36px; line-height: 42px; }

h1, h1.trigger a, h2, #quickLinkContent A:link { font-size: 22px; line-height: 28px; }

h3, #featureBlock h2 { font-size: 18px; line-height: 22px; }

p, A:link, #content li, #month { font-size: 14px; line-height: 20px; }

#footer p, #footer A:link, #footer A:visited, #footer A:active, #footer A:hover, #meta p { font-size: 12px; line-height: 18px; }

p { padding: 0px 0px 15px 0px; }

h1, h2, h3, h4 { padding-bottom: 5px; }


/* HEADER -----*/
#headerWrapper {
    width: 100%;
    height: 120px;
    z-index: 15;
    position: absolute;
}

/* LOGO -----*/

#logoWrapper {
    display: inline-block;
    float: left;
    height: 130px;
}

#logo, #logo a { display: block; }

#logo { padding: 20px 20px 20px 40px; }

#logo, #logo a { display: block; }

/* NAV -----*/

#navWrapper {
    float: right;
    display: block;
    z-index: 15;
    height: 50px;
    margin-top: 35px;
    padding-right: 35px;
}

/* BANNERS -----*/

#featureBannerWrapper {
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	z-index: 5;
}

#featureBanner img { width: 100%; }

#featureBlockWrapper {
	margin-left: auto;
	margin-right: auto;
	align-self: center;
}

#pageBannerWrapper {
	width: 100%;
	height: 400px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	z-index: 5;
}

#featureBlock hr {
	background-color: #d9b142;
	color: #d9b142;
	margin: 20px 40px 20px 40px;
	width: -moz-calc(100% - 80px)!important; width: -webkit-calc(100% - 80px)!important; width: calc(100% - 80px)!important;
}

@media screen and (max-width: 768px) { 
	#pageBannerWrapper.mobile { width: 100%; height: 200px; }
	#pageBannerWrapper.desktop { display: none; }
}

@media screen and (min-width: 769px) { 
	#pageBannerWrapper { width: 100%; height: 400px; }
	#pageBannerWrapper.mobile{ display: none; }
}

@media screen and (max-width: 768px) { 
	#featureBlockWrapper { 
		position: none; 
		display: block; 
		padding: 60px 60px 0px 60px;
		width: -moz-calc(100% - 120px); width: -webkit-calc(100% - 120px); width: calc(100% - 120px);
		z-index: 10; 
	}
}

@media screen and (min-width: 769px) and (max-width: 874px) { 
	#featureBlockWrapper { 
		padding: 60px;
		width: -moz-calc(100% - 120px); width: -webkit-calc(100% - 120px); width: calc(100% - 120px);
	}
}

@media screen and (max-width: 874px) { 
	#featureBannerWrapper { display: block; }
	#featureBlockWrapper { 
		position: none; 
		display: block; 
		z-index: 10; 
	}
	#featureBanner { position: none; display: block; }
	#featureBlock { float: none; width: 100%; }
	#featureBanner.desktop img { display: none; }
	#featureBanner.mobile img { display: block; }
}

@media screen and (min-width: 875px) { 
	#featureBannerWrapper { display: flex; }
	#featureBlockWrapper { 
		display: block; 
		padding: 0px 60px 0px 60px;
		width: -moz-calc(100% - 120px); width: -webkit-calc(100% - 120px); width: calc(100% - 120px);
		position: absolute; 
		z-index: 10; 
	}
	#featureBanner { position: relative; z-index: 5; display: flex; }
	#featureBlock { float: right; width: 50%; }
	#featureBanner.desktop img { display: block; }
	#featureBanner.mobile img { display: none; }
}

/* QUICK LINKS -----*/

#quickLinksWrapper {
	display: block;
	position: relative;
	background: #efd66e;
	overflow: visible;
	z-index: 10;
}

#quickLinksWrapper:before, #quickLinksWrapper:after {
  	content: '';
  	width: 100%;
  	height: 100%;
  	position: absolute;
 	 background: inherit;
  	z-index: -1;
  	top: 0;
  	transform-origin: right top;
  	transform: skewY(3deg);
}

#quickLinksWrapper:after {
  	bottom: 0;
  	transform-origin: left bottom;
  	transform: skewY(3deg);
	-webkit-box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
	-moz-box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
	box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
}

#quickLink {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
}

#quickLinkBlock { text-align: center; }

#quickLinkIcon {
	display: block;
	width: 100px;
	height: 100px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-image: url(https://www.restoration-experience.com/wp-content/uploads/icon-services-square-bk.svg;);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100 100;
	z-index: 5;
	position: relative;
}

#quickLinkIcon img { 
	height: 60px; 
	padding: 20px;
}

#quickLinkBlock A:hover img { opacity: 0.25; }

#quickLinkIcon A:link {
	line-height: 0px!important;
	padding: 0px!important;
}

#quickLinkContent { 
	display: block;
	margin-top: -50px;
	padding-top: 60px;
	background-color: #ffffff;
	outline: 5px solid #d9b142;
	z-index: 10;
	-webkit-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.1);
	box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.1);
}

#quickLinkContent p  { padding: 0px 30px 30px 30px; }

@media screen and (max-width: 768px) { 
	#quickLink { padding: 20px 40px 20px 40px; }
	#quickLinkBlock { padding: 20px 0px 20px 0px; }
}

@media screen and (min-width: 769px) and (max-width: 1023px)  { 
	#quickLink { 
		display: block;
		padding: 55px 55px 75px 55px;
		width: -moz-calc(100% - 110px); width: -webkit-calc(100% - 110px); width: calc(100% - 110px);
	}
	#quickLinkBlock {
		margin: 0px;
		width: 100%;
		float: none;
		padding: 20px 0px 20px 0px;
	}
}

@media screen and (min-width: 1024px) { 
	#quickLink { 
		display: flex; 
		padding: 50px 55px 75px 55px;
	}
	#quickLinkBlock {
		margin: 0px 20px 0px 20px;
		width: -moz-calc(33.3% - 40px); width: -webkit-calc(33.3% - 40px); width: calc(33.3% - 40px);
		float: left;
	}
}

/* CONTENT -----*/

#contentWrapper {
	display: block;
	width: 100%;
	background-color: #f1f1f1;
	z-index: 5;
	position: relative;
}

#primaryContentWrapper {
	display: block;
	width: 100%;
	position: relative;
	background-color: #f1f1f1;
	overflow: visible;
	z-index: 10;
}

#primaryContentWrapper:before, #primaryContentWrapper:after {
  	content: '';
  	width: 100%;
  	height: 100%;
  	position: absolute;
 	 background: inherit;
  	z-index: -1;
  	top: 0;
  	transform-origin: right top;
  	transform: skewY(3deg);
}

#primaryContentWrapper:after {
  	bottom: 0;
  	transform-origin: right bottom;
  	transform: skewY(-3deg);
	-webkit-box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
	-moz-box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
	box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
}

#primaryContentWrapper.nobanner:before, #primaryContentWrapper.nobanner:after {
  	content: '';
  	width: 100%;
  	height: 100%;
  	position: absolute;
 	 background: inherit;
  	z-index: -1;
  	top: 0;
  	transform-origin: right top;
  	transform: skewY(0deg);
}

#primaryContentWrapper.nobanner:after {
  	bottom: 0;
  	transform-origin: right bottom;
  	transform: skewY(-3deg);
	-webkit-box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
	-moz-box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
	box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
}

#secondaryContentWrapper {
	background-image: url(https://www.restoration-experience.com/wp-content/uploads/bg-secondaryContent.svg);
	background-position: top center;
	background-size: cover;
	background-repeat: none;
	background-color: #222222;
	position: relative;
	overflow: visible;
	z-index: 1;
}

#secondaryContentWrapper:before, #secondaryContentWrapper:after {
  	content: '';
  	width: 100%;
  	height: 100%;
  	position: absolute;
 	background: inherit;
  	z-index: -1;
  	top: 0;
  	transform-origin: left top;
  	transform: skewY(0deg);
}

#secondaryContentWrapper:after {
  	bottom: 0;
  	transform-origin: right bottom;
  	transform: skewY(-3deg);
	-webkit-box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
	-moz-box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
	box-shadow: 0px 50px 50px 0px rgba(0,0,0,0);
}

#content {
	max-width: 1130px;
	padding: 75px;
	margin-left: auto;
	margin-right: auto;
}

#content ul { padding: 10px 0px 10px 15px; }

#content li { 
	background-image: url(https://www.restoration-experience.com/wp-content/uploads/bullet.svg);
	background-repeat: no-repeat;
	background-size: 20px;
	background-position: top left;
	padding: 0px 0px 15px 25px;
	list-style-type: none;
}

blockquote {  
	margin: 20px auto 20px auto; 
	padding: 20px 0px 20px 0px!important; 
	display: flex;
}

.primary blockquote { 
	background-color: #ffffff;
	border: 8px solid #ffffff!important; 
	-webkit-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.1);
	box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.1);
}

.secondary blockquote { background-color: #000000; }

blockquote p {  
	margin-left: auto; 
	margin-right: auto; 
	padding: 20px 0px 20px 20px!important; 
	margin-left: 25px; 
	margin-right: 25px;
	border-left: 8px solid #d9b142!important;
}

.alignright, .ngg-right, .alignleft, .ngg-left, .aligncenter { 
	height: auto; 
	width: -moz-calc(33.3% - 20px); 
	width: -webkit-calc(33.3% - 20px); 
	width: calc(33.3% - 20px); 
	max-width: 500px;
	-webkit-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.1);
	box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.1);
	border: 8px solid #ffffff;
}

.noborder.alignright, .noborder.ngg-right, .noborder.alignleft, .noborder.ngg-left, .aligncenter.noborder {
	height: auto; 
	width: -moz-calc(33.3% - 20px); 
	width: -webkit-calc(33.3% - 20px); 
	width: calc(33.3% - 20px); 
	max-width: 500px;
	border: 0px solid #ffffff;
	-webkit-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0);
	-moz-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0);
	box-shadow: 10px 10px 20px 0px rgba(0,0,0,0);
}

.alignleft, .ngg-left { margin: 0px 30px 30px 0px; float: left; }

.alignright, .ngg-right { margin: 0px 0px 30px 30px; float: right; }

.aligncenter, .ngg-center { 
	display: block;
	margin: 0px auto 30px auto; 
}

@media screen and (max-width: 768px) {
	.alignright, .alignleft { width: -moz-calc(50% - 20px)!important; width: -webkit-calc(50% - 20px)!important; width: calc(50% - 20px)!important; max-width: none!important; margin: 0px 0px 20px 0px; display: inline-block!important;}
		.aligncenter { width: -moz-calc(75% - 20px)!important; width: -webkit-calc(75% - 20px)!important; width: calc(75% - 20px)!important; max-width: none!important; margin: 0px auto 20px auto; display: block!important;}
	.alignright { margin: 0px 0px 20px 20px!important; float: right; }
	.alignleft { margin: 0px 0px 20px 20px!important; float: left; }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
	.alignright, .alignleft { width: -moz-calc(50% - 20px)!important; width: -webkit-calc(50% - 20px)!important; width: calc(50% - 20px)!important; max-width: none!important; margin: 0px 0px 20px 0px; display: inline-block!important;}
		.aligncenter { width: -moz-calc(75% - 20px)!important; width: -webkit-calc(75% - 20px)!important; width: calc(75% - 20px)!important; max-width: none!important; margin: 0px auto 20px auto; display: block!important;}
	.alignright { margin: 0px 0px 20px 20px!important; float: right; }
	.alignleft { margin: 0px 0px 20px 20px!important; float: left; }
}

@media screen and (max-width: 768px) { 
	#content { padding: 40px; 
	width: -moz-calc(100% - 80px); width: -webkit-calc(100% - 80px); width: calc(100% - 80px);
	}
}

@media screen and (min-width: 769px) { 
	#content { padding: 75px; 
	width: -moz-calc(100% - 150px); width: -webkit-calc(100% - 150px); width: calc(100% - 150px);
	}
}

/* BUTTON -----*/

#button, .ninja-button, .fd-btn {
	text-align: center;
}

#button A:link, #button A:visited, #button A:active, #button A:hover, .ninja-button, .fd-btn {
	display: inline-block;
	font-size: 14px;
	line-height: 50px;
	height: 50px;
	text-transform: uppercase;
	padding: 0px 20px 0px 20px;
}

#button A:link, #button A:visited, #button A:active, .ninja-button, .fd-btn {
	background-color: #f95696!important;
	color: #ffffff!important;
	border: 0px!important;
}

#button A:hover, .ninja-button:hover, button:hover, .ninja-button:hover, .fd-btn:hover {
	background-color: #f8c9d4!important;
	color: #ffffff!important;
	transition: all .125s!important;
	cursor: pointer!important;
}

.ninja-button, .fd-btn {
	margin-left: 10px;
	-webkit-appearance: none!important;
	-moz-appearance: none!important;
	appearance: none!important;
}

.nf-field-elementButton { margin-left: 10px!important; padding: 0px 20px 0px 20px !important;}

/* ICONS -----*/

	.st0 {fill:#FFFFFF;}  /* White */
	.st0 {fill:#f8c9d4;}  /* Light Pink */
	.st0 {fill:#f95696;}  /* Med Pink */
	.st0 {fill:#efd66e;}  /* Yellow */
	.st0 {fill:#d9b142;}  /* Gold */

/* FOOTER -----*/

#footerWrapper {
	display: flex;
	width: 100%;
	min-height: 150px;
	background-color: #f95696;
	border-top: 5px solid #f8c9d4;
	text-align: center;
	z-index: 10;
	position: relative;
}

#footer {
	padding: 40px 0px 40px 0px;
	align-self: center;
	margin-left: auto;
	margin-right: auto;
}

#copyright { display: block;}

#copyright h1  {
	font-family: 'Nunito Sans', sans-serif;
	font-style: normal;
	font-weight: lighter;
	color: #ffffff;
	text-align: center;
	padding: 0;
	font-size: 13px;
	line-height: 20px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

#copyright.mobile { display: none;}

#copyright.desktop { display: block;}

/* FADEIN ANIMATION -----*/

.animated {
	-webkit-animation-duration: 3s;
	animation-duration: 3s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
         
@-webkit-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }
         
@keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }
         
.fadeIn { -webkit-animation-name: fadeIn; animation-name: fadeIn; }

/* CALENDLY -----*/

.calendly-inline-widget { 
	width: 100%;
	height: 650px;
}

@media screen and (max-width: 730px) { 
	.calendly-inline-widget { height: 550px; }
}

@media screen and (min-width: 731px) { 
	.calendly-inline-widget { height: 650px; }
}

/* RESPONSIVE MENU -----*/

#responsiveMenu {
  display: inline-block;
  float: right;
  padding-right: 40px;
}

#rmp-container { top: 25px!important; }

#rmp-menu-title { height: 25px!important; }

.rmp-menu-item-link { 
	font-weight: 600px!important;
	text-transform: uppercase!important;
}

.rmp-trigger-box { display: block!important;  }

.rmp-trigger-box img { width: 40px!important; height: 40px!important; }

button.rmp-trigger-box:hover { background-color: none!important; }