.home.outline-_offline #g-container-main {display: block; background: transparent;}
.home.outline-_offline #g-container-main img {width: 500px; margin-bottom: 50px;}

/* General */
h1,h2,h3,h4,h5,h6 {font-family: 'Comfortaa', sans-serif; font-weight: 700;}
body h1 {font-size: 43px;}
body h2 {color: #00a79c;}
body h3 {color: #00a79c; font-size: 22px;}
#g-container-main h3 {color: #0b163a;}
html body p {font-family: 'Open Sans', sans-serif; font-weight: 300; color: #404040;}
html body ul {font-family: 'Open Sans', sans-serif; font-weight: 300; color: #404040;}

.flex-blocks, .flex-blocks .textwidget {display: flex; justify-content: center; width: 100%;}

#g-page-surround .g-offcanvas-toggle {top: 35px;}

#g-page-surround blockquote {margin: 50px 0;}
#g-page-surround blockquote p {color: #27b477; font-weight: 400;}

#g-page-surround hr {margin: 40px 0; border-bottom: 1px solid #e7e8ea;}

/* Theme default changes */
.g-main-nav .g-toplevel > li:hover > .g-menu-item-container, .g-main-nav .g-toplevel > li.active > .g-menu-item-container {top: 0;}
.g-main-nav .g-toplevel > li:hover > .g-menu-item-container .g-menu-item-title, .g-main-nav .g-toplevel > li.active > .g-menu-item-container .g-menu-item-title {text-shadow: none;}

/* Top */
#g-top {height: 116px; position: relative; padding: 0 50px;}
#g-top .g-grid {max-width: 1200px; margin: 0 auto; height: 100%; position: relative;}
#g-top .logo img {position: absolute; left: 0; top: 22px; width: 300px;}
#g-top .top-phone {position: absolute; top: 17px; right: 0;}
#g-top .top-phone a {font-size: 30px; font-family: 'Comfortaa', sans-serif; font-weight: 700;}
#g-top .g-main-nav {position: absolute; bottom: 14px; right: 0;}
#g-top .g-main-nav li .g-menu-item-container {font-family: 'Comfortaa', sans-serif; font-weight: 400; font-size: 16px; text-transform: lowercase; padding: 4px; transition: none; border-bottom: 3px solid transparent;}
#g-top .g-main-nav li:hover .g-menu-item-container, #g-top .g-main-nav li.active .g-menu-item-container {border-bottom: 3px solid #00a79c;}
#g-top .g-main-nav .g-sublevel > li > a {background: #00A79C; padding: 9px 18px;}
#g-top .g-main-nav .g-sublevel > li:nth-child(2) > a {padding-top: 18px;}
#g-top .g-main-nav .g-sublevel > li:last-child > a {padding-bottom: 18px;}

/* Slideshow */
#g-slideshow {padding: 0; position: relative;}
#g-slideshow .g-content {margin: 0; padding: 0;}
#g-slideshow .widget {margin: 0; padding: 0;}
#g-slideshow h2 {position: absolute; bottom: 0; margin: 0; left: 2%; font-size: 11vw; font-weight: 400; color: #fff; opacity: 0.5; line-height: normal;}

/* Header */
#g-header {background: #fff; padding-top: 0; padding-bottom: 15px; text-align: center;}
#g-header .g-grid {max-width: 900px; margin: 0 auto;}

/* Above */
#g-above {background: #eee; padding-bottom: 20px; padding-top: 20px;}
#g-above .g-grid {max-width: 1200px; margin: 0 auto;}
#g-above .facility-block {padding: 0 0 70px 0; width: 50%; background: #fff; border-radius: 15px; margin: 0 35px; overflow: hidden; box-shadow: 0 0 7px #cccccc; cursor: pointer; position: relative; transition: all 0.2s;}
#g-above .facility-block:hover {box-shadow: 0 0 7px 3px #cccccc;}
#g-above .facility-block:hover a {background: #2f3c67;}
#g-above .facility-block h2 {font-size: 25px; color: #0b163a; padding: 0 47px; margin-top: 26px;}
#g-above .facility-block p { padding: 0 47px;}
#g-above .facility-block a {display: block; width: 100%; position: absolute; bottom: 0; background: #0b163a; color: #fff; padding: 17px; text-align: center; font-family: 'Comfortaa', sans-serif;}

/* Showcase */
#g-showcase {background: #0b163a; padding-top: 10px; padding-bottom: 0;}
#g-showcase .g-grid {max-width: 1200px; margin: 0 auto;}
.service-block {width: 25%; padding: 40px; text-align: center; cursor: pointer;}
.service-block img {max-width: 150px;}
.service-block h3 a {color: #fff;}

/* Utility */
#g-utility {text-align: center; padding-top: 0; padding-bottom: 20px;}
#g-utility .g-grid {max-width: 1200px; margin: 0 auto;}
#g-utility .flex-blocks {margin-top: 0; padding-top: 0;}
#g-utility .reason-block {width: 30%; text-align: left; padding: 0 0 70px 0; margin: 0 15px; background: #eee; cursor: pointer; border-radius: 15px; overflow: hidden; position: relative; transition: all 0.2s;}
#g-utility .reason-block:hover {box-shadow: 0 0 7px 3px #cccccc;}
#g-utility .reason-block img {width: 100%;}
#g-utility .reason-block h3 {color: #0b163a; padding: 0 47px;}
#g-utility .reason-block p { padding: 0 47px;}
#g-utility .reason-block a {display: block; width: 100%; position: absolute; bottom: 0; background: #00a79c; color: #fff; padding: 17px; text-align: center; font-family: 'Comfortaa', sans-serif;}
#g-utility .reason-block:hover a {background: #36cac0; color: #fff;}

/* Feature */
#g-feature {background: #00a79c; padding-top: 10px; padding-bottom: 0; text-align: left;}
#g-feature .g-grid {max-width: 1200px; margin: 0 auto;}
#g-feature img {width: 40%; max-width: 100px;}
#g-feature .accredited-text {width: 60%; padding: 0 0 0 80px;}
#g-feature h2 {color: #fff; margin-top: 10px;}
#g-feature a {color: #055d57;}
#g-feature p {color: #fff;}

/* Main */
#g-container-main {max-width: 1200px; margin: 0 auto;}

#g-container-main figure {margin: 0}
#g-container-main .wp-block-image .alignright {margin: 0 0 20px 20px;}
#g-container-main iframe {border: none;}

/* Blog */
.blog-container {display: flex; flex-wrap: wrap; justify-content: flex-start; width: 100%;}
.blog-block {margin: 0 15px 30px; flex: 1 0 calc(33% - 30px); cursor: pointer; transition: box-shadow 0.2s; min-height: 300px; width: 100%; background-size: cover; background-repeat: no-repeat; background-position: top center; background-color: #13a89e; position: relative;}
.blog-block.two-across {flex: 1 0 50%; max-width: 50%;}
.blog-block .blog-details {padding: 22px; z-index: 2; position: absolute; top: 20px; left: 20px; max-width: 80%;}
.blog-block h3, #g-container-main .blog-block h3 {font-size: 25px; font-weight: 600; margin: 0 0 10px; line-height: normal; color: #fff;}
.blog-block a {color: #fff;}
.blog-block p {color: #888585;}
.blog-block:before {content:""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5);  z-index: 1; transition: background 0.2s;}
.blog-block a {display: inline-block; padding: 10px 20px; background: #fff; font-weight: 600; color: #13736d; font-size: 12px; margin-top: 10px;}
.blog-block:hover a {background: #13736d; color: #fff;}
.blog-block:hover:before {background: rgba(0, 0, 0, 0);}
#g-container-main .meta-author, #g-container-main .meta-comments-count, #g-container-main .meta-categories {display: none !important;}
.platform-content .post-thumbnail {display: none;}

/* Sidebar */
#g-sidebar .g-content {margin-right: 0; padding-right: 0;}
#g-sidebar .services-sidebar {margin-top: 155px;}
#g-sidebar ul {list-style: none; margin: 0;}
#g-sidebar ul li {margin-bottom: 10px; text-decoration: underline;}

/* Expanded */
#g-expanded {padding: 0;}
#g-expanded .g-content {margin: 0; padding: 0;}
#g-expanded .video-section {max-width: 1200px; margin: 0 auto; padding: 40px 4%;}
#g-expanded .team-slider {width: 100%; background: #eee; padding: 40px 4%;}
#g-expanded .team-slider .owl-carousel {max-width: 900px; margin: 0 auto;}
#g-expanded .team-slider .owl-carousel h2 {margin-top: 0; color: #0b163a;}
#g-expanded .team-slider .owl-carousel h3 {margin-top: 0;}

/* Extension */
#g-extension {padding: 0; text-align: center;}
#g-extension .g-content {margin: 0; padding: 0;}
#g-extension .instagram-section {max-width: 1200px; margin: 0 auto; padding: 40px 4%;}
#g-extension .testimonials-section {width: 100%; background: #eee; padding: 40px 4%;}
#g-extension .testimonials-section .owl-carousel {max-width: 1200px; margin: 0 auto;}

/* Bottom */
#g-bottom {background: none; padding: 0;}
#g-bottom .g-content {margin: 0; padding: 0;}
#g-bottom iframe {border: none; margin-bottom: -7px;}

/* Footer */
#g-footer {background: #0b163a; padding-top: 0; padding-bottom: 40px;}
#g-footer .g-grid {max-width: 1200px; margin: 0 auto;}
#g-footer .footer-block {width: 33%; padding: 20px 40px 20px 0;}
#g-footer .footer-block h3 {margin-top: 0;}
#g-footer p, #g-footer a {color: #fff;}

.caldera-grid .form-control {box-shadow: none;}
#g-footer .caldera-grid .form-control {border: none;}

/*-------------- Media Queries ------------*/


@media (max-width: 1200px){
	#g-top {height: 163px;}
	#g-top .g-main-nav {bottom: 14px; right: 0; left: 0; width: 100%; text-align: center;}
	#g-top .top-phone {top: 38px; right: 20px;}
	.blog-block {flex: 1 0 calc(50% - 30px);}
}

@media (max-width: 1199px) and (min-width: 969px){
	#g-showcase .service-block img, #g-feature .service-block img {max-width: 100px;}
	#g-showcase .service-block h3, #g-feature .service-block h3 {font-size: 20px;}
}

@media (max-width: 1100px) and (min-width: 815px){
	#g-footer .caldera-grid iframe {transform: scale(0.7); transform-origin: left;}
}

@media (max-width: 968px){
	body h1 {font-size: 32px;}
	#g-top .g-main-nav li a {font-size: 14px;}
	#g-showcase .flex-blocks .textwidget, #g-feature .flex-blocks .textwidget {flex-wrap: wrap;}
	#g-showcase .service-block, #g-feature .service-block {width: 50%;}
	#g-slideshow h2 {display: none;}
}

@media (max-width: 815px){
	#g-top {text-align: center; height: auto;}
	#g-top .g-content {margin: 0; padding: 0;}
	#g-top .logo img {position: relative; left: auto; top: 0; width: 85%; max-width: 300px; margin-top: 26px;}
	#g-top .top-phone {position: relative; top: 0; right: auto; margin: 24px 0;}
	#g-above .flex-blocks .textwidget {flex-wrap: wrap;}
	#g-above .facility-block {width: 100%; text-align: center; margin: 0;}
	#g-above .facility-block:first-child {margin-bottom: 30px;}
	#g-utility .flex-blocks .textwidget {flex-wrap: wrap;}
	#g-utility .reason-block {width: 100%; margin-bottom: 30px;}
	#g-utility .reason-block:last-child {margin-bottom: 0;}
	#g-container-main .wp-block-columns {flex-wrap: wrap;}
	#g-container-main .wp-block-column {flex-basis: 100%;}
	#g-container-main .wp-block-column:not(:last-child) {margin-right: 0;}
	#g-container-main .wp-block-column:not(:first-child), #g-container-main .wp-block-column:nth-child(2n) {margin-left: 0;}
	#g-footer .flex-blocks .textwidget {flex-wrap: wrap;}
	#g-footer .footer-block {width: 100%; padding: 0; margin-bottom: 20px;}
	#g-footer .footer-block h3 {font-size: 25px;}
	#g-sidebar .services-sidebar {margin-top: 0;}
	.page-id-21 #g-page-surround .page-header h2 {margin-top: 0;}
}

@media (max-width: 767px){
	body h1 {font-size: 26px;}
	#g-expanded .team-slider {display: none;}
	#g-extension .instagram-section {padding-top: 0;}
	.blog-block {flex: 1 0 100%; margin: 0 0 30px;}
}

@media (max-width: 600px){
	#g-showcase .service-block, #g-feature .service-block {width: 100%; padding: 20px;}
	#g-feature .flex-blocks .texwidget {display: block;}
	#g-feature .accredited-text {width: 100%; padding: 20px 0;}
	#g-feature {text-align: center;}
}

@media (max-width: 480px){
	body h1 {font-size: 20px;}
	body h2 {font-size: 18px;}
	body h3 {font-size: 15px;}
	body p {font-size: 12px;}
	#g-top .top-phone a {font-size: 20px;}
	#g-header .g-content {margin-top: 0; padding-top: 0; margin-bottom: 0; padding-bottom: 0;}
	#g-above .facility-block h2 {font-size: 20px;}
	#g-above .facility-block h2, #g-above .facility-block p {padding: 0 20px;}
	#g-footer .caldera-grid iframe {transform: scale(0.9); transform-origin: left;}
}

