/* General */
h1,h2,h3,h4,h5,h6 {font-weight: 400; color: #3b3a3c;}
#g-page-surround h2 {margin-bottom: 10px;}
#g-page-surround h3 {line-height: 44px;}
#g-page-surround h2.entry-title {margin-bottom: 30px;}
body #g-page-surround p {margin: 0 0 1.3rem;}
body #g-page-surround p, body #g-page-surround ul, body #g-page-surround ol {font-size: 14px; line-height: 27px; font-weight: 300;}
body #g-page-surround a {text-decoration: underline;}

#g-page-surround .wp-block-button a {background: transparent; border: 3px solid #3b3a3c; color: #3b3a3c; border-radius: 0; font-weight: 400; position: relative; padding: 16px 47px 16px 24px; font-size: 13px; transition: all 0.2s;}
#g-page-surround .wp-block-button a:hover {background: #3b3a3c; color: #fff;}
#g-page-surround .wp-block-button a:before {content:"\f061"; font-family: FontAwesome; position: absolute; top: 50%; transform: translateY(-50%); right: 20px;}
#g-page-surround #g-main .section-white-button .wp-block-button a {color: #fff; border-color: #fff;}
#g-page-surround #g-main .section-white-button .wp-block-button a:hover {background: #3b3a3c; border-color: #3b3a3c; color: #fff;}
#g-page-surround .caldera-grid .form-control {border-radius: 0; box-shadow: none;}

#g-page-surround .entry-meta {display: none;}
#g-page-surround .platform-content .post-thumbnail {display: none;}

#g-page-surround .g-offcanvas-toggle {z-index: 9999;font-size: 44px; top: 18px; right: 50px; left: auto; position: absolute;}

@keyframes contentfadein {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
/*@keyframes circlesfadedown {
	0% {opacity: 0; top: -500px;}
	100% {opacity: 1; top: -400px;}
}
@keyframes circlesfadeup {
	0% {opacity: 0; top: -200px;}
	100% {opacity: 1; top: -300px;}
}*/

/* Header */
#g-header {display: none !important;}
#g-page-surround .g-offcanvas-toggle i {color: #000; font-size: 44px; transform: rotate(90deg); margin-top: 6px;}
body:not(.home) #g-page-surround .g-offcanvas-toggle i {color: #fff;}

/* Navigation */
#g-page-surround #g-navigation {height: 90px; padding: 22px 50px; z-index: 0;}
.home #g-page-surround #g-navigation {animation: contentfadein 0.5s both 5.7s;}
body:not(.home) #g-page-surround #g-navigation {box-shadow: 0 -3px 15px #4e4e4e; background: #3b3a3c; z-index: 999; padding: 16px 50px;}
body:not(.home) #g-page-surround #g-navigation .logo {width: 360px;}
body:not(.home) #g-page-surround #g-navigation .logo svg {filter: brightness(900%);}
.home #g-page-surround #g-navigation {background: transparent;}
#g-page-surround #g-navigation .g-container {width: 100%;}
#g-page-surround #g-navigation .g-content {margin: 0; padding: 0;}
#g-page-surround #g-navigation .logo {width: 300px;}
#g-page-surround #g-navigation .social-icons-top {text-align: right;}
#g-page-surround #g-navigation .social-icons-top i {color: #000; font-size: 44px; transform: rotate(90deg); margin-top: 6px;}
/*#g-page-surround #g-navigation .grey-circle {content:""; display: block; position: absolute; top: -400px; right: -300px; background: #eee; height: 900px; width: 900px; border-radius: 50%; z-index: -1; animation: circlesfadedown 2s both 4.7s;}*/
body:not(.home) #g-page-surround #g-navigation .grey-circle {display: none;}

/* Main */
#g-main {margin-top: 90px; padding: 1.5rem 50px;}
.home #g-main {padding: 0; margin-top: 0;}
.home #g-page-surround .entry-header {display: none;}

body:not(.home) #g-main {padding-left: 0; padding-right: 0;}
body:not(.home) #g-main .g-grid {max-width: 100%; margin: 0;}
body:not(.home) #g-main #g-mainbar {padding-left: 0; padding-right: 0; }
body:not(.home) #g-main #maincontent {padding: 70px 9%; min-height: 800px;}
body:not(.home) #g-main .feature-image-right {height: 100vh; width: 100%; position: fixed; right: 0; top: 0; width: 50%; background-size: cover; background-repeat: no-repeat; background-position: center; z-index: 1;}

#g-page-surround #g-main .g-container {margin: 0; width: 100%;}
#g-page-surround #g-main .g-container .g-content {margin: 0; padding: 0;}
#g-page-surround #g-main .wp-block-group {padding: 80px 50px; position: relative;}
#g-page-surround #g-main .wp-block-group__inner-container {max-width: 1200px; margin: 0 auto; width: 100%;}
#g-page-surround .wp-block-group.container-900 .wp-block-group__inner-container {max-width: 900px;}

#g-page-surround #g-main .section-intro-animation {position: fixed; text-align: center; max-width: 700px; top: 50%; transform: translateY(-50%); left: 0; right: 0; margin: 0 auto; animation: sectionfadein 4s both;}
@keyframes sectionfadein {
	0% {opacity: 0;}
	30% {opacity: 1;}
	70% {opacity: 1;}
	100% {opacity: 0;}
}

#g-page-surround #g-main .section-slideshow {padding: 120px 50px; z-index: 3;}
#g-page-surround #g-main .section-slideshow .wp-block-column .wp-block-cover {min-height: 650px;}
#g-page-surround #g-main .section-slideshow .wp-block-column {position: relative; z-index: 0; transition: all 0.8s; cursor: pointer;}
#g-page-surround #g-main .section-slideshow .wp-block-column:hover {flex-basis: 30%; z-index: 2;}
#g-page-surround #g-main .section-slideshow .wp-block-column:nth-child(2) {top: 32px;}
#g-page-surround #g-main .section-slideshow .wp-block-column:nth-child(3) {top: -50px;}
#g-page-surround #g-main .section-slideshow .wp-block-column:nth-child(4) {top: 50px;}
#g-page-surround #g-main .section-slideshow .wp-block-column:nth-child(5) {top: -5px;}
#g-page-surround #g-main .section-slideshow .wp-block-column:nth-child(1) .wp-block-cover {background-position: 58%; animation: fadeup 1s both 4s;}
#g-page-surround #g-main .section-slideshow .wp-block-column:nth-child(2) .wp-block-cover {background-position: 44%; animation: fadedown 1s both 4.4s;}
#g-page-surround #g-main .section-slideshow .wp-block-column:nth-child(3) .wp-block-cover {background-position: 71%; animation: fadeup 1s both 4.3s;}
#g-page-surround #g-main .section-slideshow .wp-block-column:nth-child(4) .wp-block-cover {background-position: 13%; animation: fadedown 1s both 4.6s;}
#g-page-surround #g-main .section-slideshow .wp-block-column:nth-child(5) .wp-block-cover {background-position: 36%; animation: fadeup 1s both 4.1s;}
#g-page-surround #g-main .section-slideshow .wp-block-column .wp-block-cover h3 {color: #fff; position: absolute; bottom: -20px; left: 0; right: 0; opacity: 0; transform: translateY(20px); background: #3b3a3c; padding: 20px 53px 20px 20px; margin: 0 auto; width: max-content; pointer-events: none;}
#g-page-surround #g-main .section-slideshow .wp-block-column .wp-block-cover h3:before {content:"\f061"; font-family: FontAwesome; position: absolute; top: 50%; transform: translateY(-50%); right: 20px;}
#g-page-surround #g-main .section-slideshow .wp-block-column:hover .wp-block-cover h3 {animation: headingfadein 0.5s both 0.2s;}
#g-page-surround #g-main .section-slideshow .wp-block-column:hover .wp-block-cover h3 a {color: #fff;}

@keyframes headingfadein {
	100% {opacity: 1; transform: translateY(0); pointer-events: auto;}
}
@keyframes fadeup {
	0% {opacity: 0; transform: translateY(50px);}
	100% {opacity: 1; transform: translateY(0);}
}
@keyframes fadedown {
	0% {opacity: 0; transform: translateY(-50px);}
	100% {opacity: 1; transform: translateY(0);}
}

#g-page-surround #g-main .section-text-circle {z-index: 0; padding-top: 0; animation: contentfadein 0.5s both 5.7s;}
/*#g-page-surround #g-main .section-text-circle .grey-circle {content:""; display: block; position: absolute; top: -300px; left: -200px; background: #eee; height: 900px; width: 900px; border-radius: 50%; z-index: -1; animation: circlesfadeup 2s both 4.8s;}*/
#g-page-surround #g-main .section-text-circle h3 {max-width: 600px;}

#g-page-surround #g-main .section-cover-photo {padding: 0;}
#g-page-surround #g-main .section-cover-photo .wp-block-group__inner-container {max-width: 100%;}
#g-page-surround #g-main .section-cover-photo .wp-block-cover__inner-container {max-width: 600px;}
#g-page-surround #g-main .section-testimonials {text-align: center;}
#g-page-surround #g-main .section-testimonials .wp-block-group__inner-container {max-width: 800px;}
#g-page-surround #g-main .section-testimonials .owl-carousel .owl-item {position: relative;}
#g-page-surround #g-main .section-testimonials .owl-carousel .owl-item:after {content: "\f005\f005\f005\f005\f005"; font-family: FontAwesome; position: absolute; bottom: 0; left: 0; right: 0; margin: 0 auto;}

#g-page-surround #g-main .ol-fancy {padding-left: 35px; border-left: 8px solid #03b7ba;}
#g-page-surround #g-main .ol-fancy li {margin-bottom: 10px;}

#g-page-surround #g-main .process-col .wp-block-column:first-child {flex-basis: 20% !important; min-width: 70px;}
#g-page-surround #g-main .process-col .wp-block-column:last-child {flex-basis: 80% !important;}
#g-page-surround #g-main .process-col i {font-size: 30px; border: 4px solid #03b7ba; border-radius: 50%; padding: 19px; color: #03b7ba; text-align: center; margin: 0 0 1.3rem; width: 80px; height: 80px;}

body:not(.home) #g-page-surround #g-main .wp-block-image {margin-left: 0; margin-right: 0;}

#g-page-surround #g-main .section-home-gallery {padding: 0;}
#g-page-surround #g-main .section-home-gallery > .wp-block-group__inner-container {display: flex; flex-wrap: wrap; max-width: 100%;}
#g-page-surround #g-main .section-home-gallery .wp-block-group {width: 50%;}
#g-page-surround #g-main .section-home-gallery .wp-block-group h2 {max-width: 500px;}
#g-page-surround #g-main .section-home-gallery .wp-block-group .wp-block-image {margin: 0;}
#g-page-surround #g-main .section-home-gallery .wp-block-group .wp-block-image img {max-width: 500px;}
#g-page-surround #g-main .section-home-gallery .section-home-gallery-1 {text-align: right; padding: 110px 50px 0;}
#g-page-surround #g-main .section-home-gallery .section-home-gallery-2 {text-align: left; padding: 50px; background: #eee; display: flex; align-items: flex-end;}
#g-page-surround #g-main .section-home-gallery .section-home-gallery-3 {text-align: right; padding: 50px 50px 110px;}
#g-page-surround #g-main .section-home-gallery .section-home-gallery-4 {text-align: left; padding: 50px 30px 110px 0;}

#g-page-surround #g-main .section-home-gallery .wp-block-group .wp-block-image img {width: 100%;}

/* Footer */
#g-page-surround #g-footer {padding-top: 50px; padding-bottom: 50px; position: relative; z-index: 9;}
#g-page-surround #g-footer a {color: #fff;}
#g-page-surround #g-footer p {font-size: 16px;}
#g-page-surround #g-footer .g-grid {max-width: 900px; margin: 0 auto;}
#g-page-surround #g-footer a i {font-size: 33px; margin-right: 10px;}
#g-page-surround #g-footer .widgettitle {font-size: 30px; color: #fff;}
#g-page-surround #g-footer img {max-width: 160px; margin-right: 10px; margin-bottom: 10px; vertical-align: bottom;}

/*---------------- Media Queries------------------*/
@media (max-width: 1500px){
	#g-page-surround #g-navigation .g-main-nav {margin: -22px 0 0 80px;}
}

@media (max-width: 1200px){
	#g-page-surround #g-main h2.entry-title, #g-page-surround #g-main h2, #g-page-surround #g-footer .widgettitle {font-size: 25px;}
	#g-page-surround #g-main h3 {font-size: 20px;}
	#g-page-surround #g-navigation .social-icons-top {display: none;}
	#g-page-surround #g-main .section-text-box .wp-block-group {width: 70%;}
}

@media (max-width: 1000px){
	#g-page-surround #g-main .process-col {flex-wrap: wrap;}
	#g-page-surround #g-main .process-col .wp-block-column:first-child {flex-basis: 100% !important; min-width: 0;}
	#g-page-surround #g-main .process-col .wp-block-column:last-child {flex-basis: 100% !important; margin: 0;}
}

@media (max-width: 815px){
	body:not(.home) #g-main .feature-image-right {height: 50vw; position: relative; width: 100%;}
	body:not(.home) #g-main #maincontent {min-height: auto; padding: 30px 0 0;}
	body:not(.home) #g-main {padding-left: 40px; padding-right: 40px;}
	#g-page-surround #g-main .section-text-box {padding: 0;}
	#g-page-surround #g-main .section-text-box .wp-block-image {display: none;}
	#g-page-surround #g-main .section-text-box .wp-block-group {position: relative; transform: none; top: auto; right: auto; width: 100%; max-width: 100%; text-align: center; padding: 40px;}
	#g-page-surround #g-main .section-text-box img {width: 100%; min-width: auto;}
	#g-page-surround #g-main .section-cover-photo .wp-block-cover__inner-container {padding: 40px; width: 100%;}
	#g-page-surround #g-main .section-slideshow .wp-block-columns {flex-direction: column;}
	#g-page-surround #g-main .section-slideshow .wp-block-column {top: 0 !important; margin-bottom: 25px; margin-left: 0;}
	#g-page-surround #g-main .section-slideshow .wp-block-column .wp-block-cover {min-height: 200px;}
	#g-page-surround #g-main .section-slideshow .wp-block-column .wp-block-cover h3 {bottom: 0; opacity: 1; transform: none;}
	#g-page-surround #g-main .section-slideshow .wp-block-column .wp-block-cover h3 a {color: #fff;}
	#g-page-surround #g-main .section-slideshow {padding: 60px 50px 30px;}
	#g-page-surround #g-main h3 {font-size: 14px;}
	#g-page-surround #g-main .section-text-circle {text-align: center;}
	#g-page-surround #g-main .section-home-gallery .section-home-gallery-1 {display: none;}
	#g-page-surround #g-main .section-home-gallery .wp-block-group {width: 100%; padding: 30px !important; text-align: center !important;}
	#g-page-surround #g-main .section-home-gallery .wp-block-group h2 {max-width: 100%;}

@media (max-width: 480px){
	#g-page-surround #g-main #slider_118 .sa_hover_container {min-height: 427px !important;}
	body:not(.home) #g-main #maincontent {padding: 30px 0;}
	body:not(.home) #g-page-surround #g-navigation, #g-page-surround #g-navigation.fixnavi {padding: 27px 20px;}
	#g-page-surround #g-navigation .logo {max-width: 170px;}
	#g-page-surround .g-offcanvas-toggle {font-size: 35px; top: 23px; right: 20px;}
}