.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.space-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.align-center {
   align-items: center;
}

/* News Cards */

.news-card {
    height: 75vh;
    width: 33.33%;
    flex: 0 1 33.33%;
}

.custom-post-grid .news-card {
    width: 100%;
    flex: 1 1 100%;
    padding: 24px;
}

.custom-post-grid .fl-post-grid-post {
    border: 0;
    background-color: transparent;
}

.news-card a {
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding: 32px;
    overflow: hidden;
    align-items: flex-start;
}

.news-card a:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgb(83,86,90);
    background: linear-gradient(180deg, rgba(83,86,90,0.5) 0%, rgba(83,86,90,1) 100%);
    z-index: 1;
    opacity: 80%;
    transition: opacity 0.25s;
}

.news-card a:hover:after {
    background: rgb(83,86,90);
    background: linear-gradient(180deg, rgba(83,86,90,0.5) 0%, rgba(83,86,90,1) 100%);
    opacity: 100%;
}

.news-card a:hover {
    text-decoration: none;    
}

.news-card .thumbnail-image {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: scale(1.0);
    background-size: cover;
    background-position: center;
    transition: transform 0.25s;
}
.news-card .more-button {
    padding: 12px 16px 12px;
    border-radius: 3px;
    color: #fff;
    font-size: 15px;
    margin-top: 40px;
    font-weight: 600;
    z-index: 3;
    position: absolute;
    bottom: 32px;
    opacity: 1;
    visibility: visible;
}

.news-card .more-button:hover {
    background-color: #fff;
}

.news-card h3 {
    font-size: 2.25rem;
    line-height: 1.2;
    width: 100%;
    margin-bottom: 0;
    transition: margin-bottom 0.25s;
    margin-top: 12px;
}

.news-card p {
    font-size: 1.5rem;
    line-height: 1.5;
    width: 100%;
    margin: 12px 0 64px;
    transition: margin-bottom 0.25s;
}

.news-card a:hover .thumbnail-image {
    transform: scale(1.05);
}

.senseslide .news-card a:hover .thumbnail-image {
    transform: scale(1.0);
}
.news-card .meta.date {
    font-size: 14px;
    margin-top: auto;
}

.news-card.bg-image h3, .news-card.bg-image .meta.date, .news-card p {
    color: #fff;
    position: relative;
    z-index: 2;
}

@media screen and (min-width: 980px) {
    .news-card .more-button {
        bottom: 12px;
        left: 32px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, visibility 0.25s, bottom 0.25s, background-color 0.25s, color 0.25s;
    }
    .news-card a:hover .more-button {
        bottom: 32px;
        opacity: 1;
        visibility: visible;
    }
    .news-card p {
        font-size: 1.5rem;
        line-height: 1.5;
        width: 100%;
        margin: 12px 0 0;
        transition: margin-bottom 0.25s;
    }
    .news-card a:hover p {
        margin-bottom: 64px;
    }
}

/* Progress bar */
#progress-container {
    width: 100%;
    background-color: #ccc;
}
#progress-bar {
    width: 0%;
    height: 30px;
    background-color: #4CAF50;
    text-align: center;
    line-height: 30px;
    color: white;
}

/* Product Card */

.prod-card {
    flex: 0 1 25%;
    padding: 20px;
    position: relative;
}

.prod-card .thumbnail-image {
    width: 100%;
    margin-bottom: 16px;
    text-align: center;
}

.prod-card .thumbnail-image img {
    object-fit: contain;
    display: inline !important;
    margin: 0 !important;
    height: calc(25vw - 20px) !important;
}

.prod-card .prod-title {
    font-size: 20px;
}

@media screen and (max-width: 980px) {
    .prod-card .prod-title {
        font-size: 18px;
    }
    .prod-card {
        flex: 0 1 50%;
        height: auto
    }
    .prod-card .thumbnail-image img {
        height: calc(50vw - 20px) !important;
    }
}

@media screen and (max-width: 767px) {
    .prod-card {
        flex: 0 1 50%;
        height: auto
    }
    .prod-card .thumbnail-image img {
        height: calc(50vw - 20px) !important;
    }
}

@media screen and (max-width: 540px) {
    .prod-card {
        flex: 0 1 100%;
        height: auto;
    }
    .prod-card .thumbnail-image img {
        height: calc(100vw - 20px) !important;
    }
}

/* Resource Card */

.latest-resources {
    flex-wrap: wrap;
}

.resource-card {
    flex: 0 1 25%;
    width: 25%;
    padding: 0 20px;
}

@media screen and (max-width: 1024px) {
    .resource-card {
        flex: 0 1 50%;
        width: 50%;
        padding: 10px 20px;
    }
}

@media screen and (max-width: 767px) {
    .resource-card {
        flex: 0 1 100%;
        width: 100%;
        padding: 10px 12px;
    }
}

.resource-card h3 {
    font-size: 18px;
    width: 100%;
    display: block;
}

.resource-card h3 a {
    transition: color 0.25s;
    display: block;
}

.resource-card a {
    text-decoration: none !important;
}

.resource-card .thumbnail-image {
    width: 100%;
    height: 400px;
    position: relative;
}

.resource-card .thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.resource-card.custom-list img {
    object-fit: cover;
}   

.resource-card .thumbnail-image span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s, background-color 0.25s;
    z-index: 2;
}

.resource-card .thumbnail-image span button {
    border-radius: 3px;
    padding: 14px 16px;
    color: #fff;
    font-weight: bold;
    border: 0;
    font-size: 15px;
    transition: opacity 0.25s, background-color 0.25s;
    z-index: 2;
}

.resource-card .thumbnail-image:hover span {
    opacity: 1;
}

.offset-bg {
    background-position: 58.33vw center;
    background-size: contain;
}

.offset-bg .fl-bg-video {
    left: 58.3%;
    right: 0;
}

.offset-bg .fl-row-content-wrap {
    background-position: 58.33vw center;
    background-size: auto 125%;
}

@media screen and (max-width: 1024px) {
    .offset-bg .fl-row-content-wrap {
        background-image: none !important;
    }
    .offset-bg .fl-bg-video {
        display: none;
    }
}

/* Projects Card */

.projects-card {
    height: 75vh;
    width: 33.33%;
    flex: 0 1 33.33%;
    position: relative;
}

.projects-card a {
    justify-content: flex-end;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding: 32px;
    overflow: hidden;
    align-items: flex-start;
}

.projects-card a:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #0F1A23;
    z-index: 1;
    opacity: 70%;
    transition: opacity 0.25s;
}

.projects-card a:hover:after {
    background-color: #0F1A23;
    opacity: 90%;
}

.projects-card a:hover {
    text-decoration: none;    
}

.projects-card .thumbnail-image {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: scale(1.0);
    background-size: cover;
    background-position: center;
    transition: transform 0.25s;
}

.projects-card:hover .thumbnail-image {
    transform: scale(1.05);
}

.projects-card h3 {
    font-size: 2.25rem;
    line-height: 1.2;
    width: 100%;
    margin-bottom: 0;
    transition: margin-bottom 0.25s;
    margin-top: 12px;
    z-index: 2;
    color: #fff;
    padding-right: 80px;
}

.projects-card:after {
    content: '';
    background-image: url(../images/brandmark-corner.svg);
    width: 36px;
    height: 36px;
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 2;
    transform: rotate(90deg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.25s;
}

.projects-card:hover:after {
    transform: rotate(90deg);
}

@media screen and (max-width: 1024px) {
    .projects-card h3 {
        font-size: 2rem;
        padding-right: 44px;
    }
    .projects-card:after {
        width: 24px;
        height: 24px;
        right: 36px;
        bottom: 36px;
    }
}

.bullet-border ul {
    padding-left: 0;
}

.bullet-border li {
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #ddd;
    list-style-position: inside;
}

.bullet-border li:last-of-type {
    padding: 20px 0 0;
    border-bottom: 0;
}

.ais-Hits-list {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
	padding-top: 50px;
	padding-right: 20px;
}

.ais-Hits-item {
	/* hit item */
	padding-top: 50px;
	margin: 0 0 2rem 0;
}

.article-list-feature {
    flex: 0 0 315px;
    margin-right: 32px;
}

.article-list-feature img {
    height: 210px;
    width: 100%;
    object-fit: cover;
}

.article-list-content {
    flex: 1 1 auto;
}

.article-list-content .meta {
    font-size: 14px;
    line-height: 12px;
    margin-bottom: 10px;
}

.article-list-content h3 {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.article-list-content .post-excerpt {
    font-size: 16px;
}

.fl-post-feed-post {
    border: none !important;
}

@media screen and (max-width: 767px) {
    .article-list-content .meta {
        margin-top: 20px;
    }
    .story-grid .article-list-content .meta {
        margin-top: 8px;
    }
    .article-list {
        flex-direction: column;
    }
    .article-list-feature {
        flex: 1 1 100%;
        margin-right: 32px;
    }
    .fl-post-feed-post {
        max-width: 100% !important;
    }
    .article-list-feature {
        margin-right: 0;
    }
    .article-list-feature img {
        height: 250px;
    }
}

.single .fl-page-content .fl-rich-text p {
    font-size: 16px;
    line-height: 1.6;
    margin: 16px 0;
}

.single .fl-page-content .fl-rich-text li {
    font-size: 16px;
}

.single-article .fl-page-content .fl-rich-text img {
    margin: 32px auto;
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
}

.single .fl-page-content .fl-module-content .fl-photo-content img {
    margin: 0;
    display: inherit;
}

/* Gutenberg Styles */

.single .fl-page-content .fl-rich-text h2:first-child, .single .fl-page-content .fl-rich-text h3:first-child, .single .fl-page-content .fl-rich-text h4:first-child, .single .fl-page-content .fl-rich-text p:first-child {
    margin-top: 0;
}

.single .fl-page-content .fl-rich-text h2, .single .fl-page-content .fl-rich-text h3, .single .fl-page-content .fl-rich-text h4, .single .fl-page-content .fl-rich-text h5 {
    margin: 2.5rem 0;
}

.single .fl-page-content .fl-rich-text p, .single .fl-page-content .fl-rich-text table {
    margin: 1.5rem 0;
}

.single .fl-page-content .fl-rich-text .wp-block-table {
    margin: 0;
}

.single .fl-page-content .fl-rich-text a {
    text-decoration: underline;
    transition: color 0.25s;
}

.single .fl-page-content .fl-rich-text a:hover {
    color: #111 !important;
}

.single .fl-page-content .fl-rich-text .wp-block-buttons {
    margin: 2.5rem 0;
}

.single .fl-page-content .fl-rich-text .wp-block-button__link {
    background-color: #00AE00;
    color: #fff !important;
    transition: background-color 0.25s, color 0.25s;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 24px;
}

.facetwp-load-more {
    background-color: #00AE00;
    color: #fff !important;
    transition: background-color 0.25s, color 0.25s;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 18px;
    border: 0 !important;
}

.single .fl-page-content .fl-rich-text .wp-block-button__link:hover {
    background-color: #0F1A23;
    color: #fff !important;
    transition: background-color 0.25s, color 0.25s;
}

.single .fl-page-content .fl-rich-text .wp-block-pullquote {
    padding: 0;
    margin: 0;
    border: 0;
    text-align: left;
}

.single .fl-page-content .fl-rich-text .wp-block-pullquote blockquote, .single .fl-page-content .fl-rich-text .wp-block-quote  {
    border: 0;
    padding: 0;
    margin: 4rem 0;
    font-size: 4rem;
    font-weight: 600;
}

.single .fl-page-content .fl-rich-text .wp-block-quote, .single .fl-page-content .fl-rich-text .wp-block-quote p {
    font-size: 2rem;
}

.single .fl-page-content .fl-rich-text ul, .single .fl-page-content .fl-rich-text ol {
    margin: 2.5rem 0;
}

.single .fl-page-content .fl-rich-text .wp-block-pullquote p {
    margin: 0;
    line-height: 1.2;
    font-size: 1em;
}

.single .fl-page-content .fl-rich-text cite {
    font-size: 1.5rem;
    font-weight: normal;
    text-transform: none;
    line-height: 1rem;
}

.single .fl-page-content .fl-rich-text cite:before {
    content: '';
    width: 50px;
    height: 2px;
    display: inline-block;
    margin-top: 0px;
    margin-right: 12px;
    background-color: #00AE00;
    position: relative;
    top: -4px;
}

.single .fl-page-content .fl-rich-text .wp-block-separator {
    background-color: #dddddd;
    height: 1px;
    width: 100%;
    margin: 6rem 0;
    border: 0;
    padding: 0;
}

.single .fl-page-content .fl-rich-text .wp-block-embed {
    margin: 4rem auto;
}

.single .fl-page-content .fl-rich-text .wp-block-embed.is-type-video iframe {
    width: 100%;
    height: 30vw;
}

.single .fl-page-content .fl-rich-text .twitter-tweet {
    margin: auto;
}

/* Single Product */

.single-product .fl-rich-text h2, .single-product .fl-rich-text h3 {
    font-size: 18px;
    margin: 3rem 0 1rem !important;
} 

.single-product .fl-rich-text ul, .single-product .fl-rich-text ol {
    margin: 1rem 0 2.5rem !important;
    padding-left: 20px;
}

.single-product .fl-rich-text p, .single-product .fl-rich-text li {
    font-size: 16px;
    margin: 2px 0;
}

/** Customer Area Override **/
body.customer-area-active.single .fl-page .cuar-css-wrapper.cuar-content-container {
    padding: 0;
}
body.customer-area-active .fl-page .cuar-css-wrapper, 
body.customer-area-active .fl-page .cuar-css-wrapper.cuar-content-container {
    border: 0;
    font-family: inherit;
    font-size: 14px;
}
body.customer-area-active .fl-page .advantage-data {
    margin-top: 60px;
}
body.customer-area-active .fl-page .advantage-graph {
    padding: 0;
    border-bottom: 0;
}

body.customer-area-active .cuar-css-wrapper .content-inner-single table>thead>tr>th, body.customer-area-active .cuar-css-wrapper th {
    text-transform: uppercase;
    font-size: 15px;
    text-align: center;
    color: #00AE00;
    border: 0px transparent;
}

body.customer-area-active .cuar-css-wrapper .content-inner-single table {
    border: 0;
}

body.customer-area-active .cuar-css-wrapper table>tbody>tr>td {
    border: 0px transparent;
    text-align: center;
}

body.customer-area-active .cuar-css-wrapper .navbar-default .navbar-toggle {
	border:0px solid transparent;

}

body.customer-area-active .advantage-graph .disclaimer ul {
    padding-left: 40px;
    list-style: disc;
}

/** Header and Menu Navigation **/
body.customer-area-active .fl-page .container {
    width: 100%;
    padding: 0;
    max-width: 100%;
}
body.customer-area-active .fl-page .container .row {
    margin: 0;
}
body.customer-area-active .fl-page .container .row .fl-content {
    padding: 0;
}
body.customer-area-active .fl-page .cuar-css-wrapper.cuar-content-container .cuar-menu-container {
    margin: 0;
    margin-bottom: 60px !important;
    display: block;
}
body.customer-area-active .fl-page .fl-post-title {
    margin-bottom: 20px;
}
body.customer-area-active .fl-page .post-edit-link {
    display: none;
}
body.customer-area-active .fl-page .fl-post-header,
body.customer-area-active .fl-page .cuar-css-wrapper.cuar-content-container .cuar-menu-container .navbar {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
    margin: auto;
}
body.customer-area-active .fl-page .cuar-css-wrapper.cuar-content-container .cuar-menu-container {
    border-bottom: 1px solid #d6d6d6;
}
body.customer-area-active .cuar-css-wrapper .cuar-menu-container .navbar .navbar-nav>li.current-menu-item>a, body.customer-area-active .cuar-css-wrapper .cuar-menu-container .navbar .navbar-nav>li.current-page-parent>a {
    background: #00AE00;
}
body.customer-area-active .cuar-css-wrapper .navbar-default .navbar-nav>.open>a, body.customer-area-active .cuar-css-wrapper .navbar-default .navbar-nav>.open>a:focus, body.customer-area-active .cuar-css-wrapper .navbar-default .navbar-nav>.open>a:hover {
    background: #00AE00;
}
body.customer-area-active .fl-page .cuar-css-wrapper .dropdown-menu,
body.customer-area-active .fl-page .cuar-css-wrapper .cuar-menu-container .navbar li {
    padding: 0;
}
body.customer-area-active .fl-page .cuar-css-wrapper .dropdown-menu {
    z-index: 8;
}
body.customer-area-active .fl-page .cuar-css-wrapper .dropdown-menu>li>a {
    padding: 10px 15px;
}
@media screen and (min-width: 768px) {
    body.customer-area-active .fl-page .cuar-css-wrapper .cuar-menu-container .nav-container>ul>li {
        margin-right: 5px;
    }
}
body.customer-area-active .fl-page .cuar-css-wrapper .cuar-single-post-wrapper .btn-default,
body.customer-area-active .fl-page .cuar-css-wrapper .cuar-single-post-wrapper .btn-default:hover {
    background: #00AE00;
    color: #fff;
    font-size: 14px;
    border: 0;
}

/** Page nav **/

.menu-wrapper {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
    margin: auto;
    margin-bottom: 60px;
}

.page-menu {
	justify-content: flex-start;
	flex-wrap: wrap;
}

.menu-wrapper .page-menu-container .page-menu .nav-container {
    padding: 0;
}
#menu-wp-customer-area-menu {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
	flex-wrap: wrap;

}

#menu-wp-customer-area-menu .menu-item a {
    padding: 8px 0;
    margin: 0px 16px;
	color: #0F1A23;
    font-weight: 600;
	font-size: 15px;
	transition: color 0.25s;
}


#menu-wp-customer-area-menu .menu-item .dropdown-menu>.active>a {
    background-color: #fff;
}
#menu-wp-customer-area-menu .menu-item .dropdown-menu {
    background-color: #f4f3f2;
    border: 1px solid #d6d6d6;
    box-shadow: 0px 5px 4px rgb(17 17 17 / 10%);
}

.page-menu .menu-item {
	margin: 8px 16px;

    font-weight: 600;
	font-size: 15px;
	transition: color 0.25s;
    
}

.page-menu .menu-item:hover {

	text-decoration: none;
}

#menu-wp-customer-area-menu .menu-item a:hover {
    background-color: transparent;
    color:#00AE00;
}

.mobile-menu-open {
    display: none;
}

@media screen and (max-width: 767px) {
	.page-menu-container {
		display: none;
	}
	.page-menu, #menu-wp-customer-area-menu {
		justify-content: flex-start;
		align-items: flex-start;
		text-align: left;
		flex-wrap: wrap;
		flex-direction: column;
	}
	.page-menu .menu-item {
		margin: 8px 0;
    }

    #menu-wp-customer-area-menu .menu-item a, #menu-wp-customer-area-menu .menu-item {
		margin: 0;
	}

	.mobile-menu-open {
		display: block;
		font-size: 16px;
		font-weight: 600;
		color: #00AE00;
		margin-bottom: 8px;
		position: relative;
	}
	.mobile-menu-open:after {
		position: absolute;
		right: 0;
		top: 4px;
		font-family: dashicons;
		display: inline-block;
		line-height: 1;
		font-weight: 400;
		font-style: normal;
		content: "\f347";
		width: 18px;
		height: 18px;
		background-repeat: no-repeat;
		background-size: contain;
		transition: transform 0.25s;
		transform: rotate(0deg);
	}
	.mobile-menu-open.active:after {
		transform: rotate(180deg);
	}
}

/** Edit Account **/
body.customer-area-active .cuar-css-wrapper .cuar-edit-account-form {
    position: relative;
    max-width: 860px;
    padding-left: 24px;
    padding-right: 24px;
    margin: auto;
}
body.customer-area-active .cuar-css-wrapper .cuar-page-customer-account-edit .cuar-page-content-main,
body.customer-area-active .cuar-css-wrapper .cuar-page-content-main {
    padding: 0;
}
body.customer-area-active .cuar-css-wrapper .cuar-page-customer-account-edit .panel-heading {
    height: inherit;
    background-color: #00AE00;
    font-size: 16px;
    color: #FFFFFF;
    border: 0;
    padding: 5px 16px;
}
body.customer-area-active .cuar-css-wrapper .cuar-page-customer-account-edit .btn-default {
    background-color: #00AE00;
    border: 0;
    border-radius: 3px;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    padding: 10px 16px;
    display: inline-block;
    text-decoration: none;
}

/** General Pages **/
body.customer-area-active .fl-page .cuar-single-post-wrapper {
    position: relative;
    max-width: 970px;
    padding-left: 24px;
    padding-right: 24px;
    margin: auto;
}

/** Private Page **/
@media screen and (min-width: 768px) {
    body.single-cuar_private_page .fl-page .cuar-single-post-wrapper {
        display: flex;
    }
}
body.single-cuar_private_page .fl-page .cuar-single-post-wrapper .content-inner-single { 
    width: 100%;
}
body.single-cuar_private_page .fl-page .cuar-single-post-wrapper .cuar-field {
    flex-shrink: 0;
    margin-left: 15px;
}

body.customer-area-active .fl-page .cuar-single-post-wrapper .cuar-field-label {
    display: none;
}
body.customer-area-active .fl-page .cuar-single-post-wrapper .cuar-field-value {
    padding: 0;
}

/** Collection Content Grid **/
body.customer-area-active .cuar-css-wrapper .collection .collection-content, body.customer-area-active .cuar-css-wrapper .collection .collection-content.list {
    max-width: 1296px;
    padding-left: 24px;
    padding-right: 24px;
    margin: auto;
}
body.customer-area-active.customer-area-grid-lg .fl-page .cuar-css-wrapper .collection-item {
    width: 25%;
}
body.customer-area-active .cuar-css-wrapper .collection .collection-content.list .mix, 
body.customer-area-active .cuar-css-wrapper .collection .collection-content .mix {
    margin-top: 0;
    margin-bottom: 18px;
}
body.customer-area-active .fl-page .cuar-css-wrapper .cuar-page-content-main form:not(.cuar-form) .panel-body {
    height: 199px;
    padding: 0;
}
body.customer-area-active .fl-page .cuar-css-wrapper .cuar-page-content-main .collection .collection-content.list .mix .panel img, 
body.customer-area-active .fl-page .cuar-css-wrapper .cuar-page-content-main .collection .collection-content .mix .panel img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
body.customer-area-active .fl-page .cuar-css-wrapper .collection-item-wrapper .panel-body {
    padding: 0;
    background: #FFFFFF;
}
body.customer-area-active .fl-page .cuar-css-wrapper .cuar-js-msnry-item {
    padding: 0;
    margin-top: 20px;
}
body.customer-area-active .fl-page .cuar-css-wrapper .advantage-graph h3 {
    margin-top: 0;
}

/* Product Archive */

.product-grid .fl-post-grid-post {
    border: 0;
}

.product-grid .fl-post-grid-post h2 {
    margin-top: 16px;
}

.filter-row .fl-rich-text {
    display: flex;
    align-items: center;
}

.filter-row .fl-rich-text .facetwp-facet {
    margin-left: 16px;
    margin-bottom: 8px;
}

.filter-row .fl-rich-text b, .filter-row .fl-rich-text strong {
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .filter-row .fl-rich-text {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }   
    .filter-row .fl-rich-text .facetwp-facet {
        margin-left: 0px;
        margin-top: 8px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1279px) {
    .green-prod-menu {
       margin-top: 52px;
    }
}

@media screen and (min-width: 951px) and (max-width: 991px) {
    .green-prod-menu {
       margin-top: 48px;
    }
}

/* Gravity Forms */

.gform_wrapper.gravity-theme .gfield_label, label {
    font-weight: 600 !important;
}

.gform_wrapper .gform_fields input, .gform_wrapper .gform_fields select {
    border-radius: 3px;
    border: 1px solid #ddd !important;
    color: #111;
    background: #fff;
}

.gform_wrapper.gravity-theme .gfield_label {
    border: 0;
}

.modal .gform_wrapper.gravity-theme .ginput_complex input, .modal .gform_wrapper.gravity-theme select {
    border: 0 !important;
}

.gform_wrapper .name_prefix {
    flex: 0 1 80px !important;
    padding-right: 0 !important;
}

.gform_wrapper .name_prefix select {
    height: 37px !important;
}

.gform_wrapper.gravity-theme .ginput_complex label, .ginput_container.ginput_container_consent label {
    font-weight: 500 !important;
    font-size: 14px !important;
    opacity: 0.75;
    padding-bottom: 0;
    margin-bottom: 0;
}

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
    padding: 15px 18px;
    border: 0;
    font-weight: 600;
}

input[type=text], input[type=password], input[type=email], input[type=tel], input[type=date], input[type=month], input[type=week], input[type=time], input[type=number], input[type=search], input[type=url], textarea {
    background-color: #fff !important;
    border-color: #ddd !important;
}

/* Table Styling */

.fl-module-rich-text table {
	width: 100%;
	margin: 32px 0;
}

.fl-module-rich-text table tr:nth-of-type(2n) {
	background-color: #f6f6f6;
}

.fl-module-rich-text table tr:first-of-type {
	color: #111;
	font-weight: 600;
}

.fl-module-rich-text table td, .product-table table th {
	flex: 1 1 auto;
	font-size: 14px;
	padding: 8px;
	min-width: 64px;
	text-align: left;
}
/* table fix for hours table */
table.wpsl-opening-hours tr:first-of-type  {
    font-weight: 400;
    color: #53565a;
}


@media screen and (max-width: 767px) {
	.fl-module-rich-text table td, .product-table table th {
		flex: 1 1 auto;
		font-size: 14px;
		padding: 6px;
		min-width: 40px;
	}
}

.basic-template .gform_wrapper.gravity-theme .gfield {
    margin: 10px 0;
}

.basic-template .gform_wrapper.gravity-theme input[type=color], .basic-template .gform_wrapper.gravity-theme input[type=date], .basic-template .gform_wrapper.gravity-theme input[type=datetime-local], .basic-template .gform_wrapper.gravity-theme input[type=datetime], .basic-template .gform_wrapper.gravity-theme input[type=email], .basic-template .gform_wrapper.gravity-theme input[type=month], .basic-template .gform_wrapper.gravity-theme input[type=number], .basic-template .gform_wrapper.gravity-theme input[type=password], .basic-template .gform_wrapper.gravity-theme input[type=search], .basic-template .gform_wrapper.gravity-theme input[type=tel], .basic-template .gform_wrapper.gravity-theme input[type=text], .basic-template .gform_wrapper.gravity-theme input[type=time], .basic-template .gform_wrapper.gravity-theme input[type=url], .basic-template .gform_wrapper.gravity-theme input[type=week], .basic-template .gform_wrapper.gravity-theme select, .basic-template .gform_wrapper.gravity-theme textarea {
    padding: 12px;
}

.basic-template .gform_wrapper .ginput_container_fileupload input {
    background: none !important;
    border: 0 !important;
    font-size: 16px;
}

.basic-template .gform_footer .gform_button {
    max-width: 300px;
    width: 100%;
}

.fl-slideshow-image-nav-left a {
    background-image: url(../images/arrows-prev.png) !important;
    background-size: 140px 55px !important;
}

.fl-slideshow-image-nav-right a {
    background-image: url(../images/arrows-next.png) !important;
    background-size: 140px 55px !important;
}

/* Image Position */

.pos-centre {
    object-position: center;
}

.pos-top {
    object-position: top;
}

.pos-bottom {
    object-position: bottom;
}

/* Algolia Styling */

#small-results {
        padding: 8px 20px;
}

#small-results .row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0 16.66%;
}

#small-results .ais-hits {
    padding: 0 16.6% 32px;
}

#small-results .mb-1 a {
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
}

#global-results {
    text-align: left;
}

#global-results h4 {
    font-size: 16px;
    margin: 32px 0 16px;
}

#global-results h6 {
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}

#global-results hr {
    display: none;
}

.d-none {
    display: none!important;
}

#large-results {
    max-width: 1920px;
    padding: 20px;
}

#large-results .row {
    padding: 0;
    margin: 0;
}

/** Payment Portal **/
.portal_description .gsection_description {
    font-weight: 600;
}

@media screen and (max-width: 1279px) {
    #small-results .row {
        padding: 24px 8.33% 0;
    }
    #small-results .ais-hits {
        padding: 0 8.33% 24px;
    }
}

@media screen and (min-width: 980px) and (max-width: 1200px) {
    #global-products .ais-hits .row,  #global-resources .ais-hits .row {
        column-count: 3;
    }
}

@media screen and ( min-width: 992px ) {
    .d-lg-block {
        display: block!important;
    }
    .d-lg-none {
        display: none!important;
    }
    #global-branches h6, #global-other h6 {
        border-top: 1px solid #ddd;
        padding: 16px 0;
    }
}

@media screen and ( max-width: 991px ) {
    #global-results h6 {
        border-top: 1px solid #ddd;
        padding: 16px 0;
    }
    #large-results .row {
        column-count: 1;
    }
}

@media screen and ( min-width: 768px ) {
    #small-results .mt-1 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 40px;
        -moz-column-gap: 40px;
        column-gap: 40px;
    }
    .d-md-none {
        display: none!important;
    }
    .d-md-block {
        display: block!important;
    }
}

@media screen and (max-width: 767px) {
    #small-results .row {
        padding: 24px 0 0;
    }
    #small-results .ais-hits {
        padding: 0 0 24px;
    }
}

body.search .article-list-content .meta {
    display: none;
}

.calculator {
    padding: 32px !important;
    border: 1px solid #eee;
    background-color: #f8f8f8;
    margin: 32px 0;
}

.calculator .nav-link {
    padding: 10px 14px;
    text-decoration: none !important;
    font-weight: bold;
    margin-right: 16px;
}

.calc-results button {
    padding: 8px 14px;
    border: 0;
    font-weight: 600;
}

.calc-results button:hover {
    color: #fff;
}

.calc-results div {
    margin-right: 24px;
}

.calc-row {
    margin: 16px 0;
}

.calc-row input[type="text"] {
    padding: 10px 14px;
    height: auto !important;
}

.calc-row .input-group-text {
    font-size: 16px;
}

@media screen and (max-width: 767px) {
    .calc-results {
        flex-wrap: wrap;
    }
    .calc-results button {
        margin-bottom: 16px;
    }
}

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    min-width: 400px;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (min-width: 1280px) {
    .resp-container {
        padding-top: 840px;
    }
}

@media screen and (min-width: 900px) and (max-width: 1836px) {
    .resp-container {
        min-height: 760px;
    }
}

@media screen and (min-width: 810px) and (max-width: 899px) {
    .resp-container {
        min-height: 860px;
    }
}

@media screen and (min-width: 551px) and (max-width: 809px) {
    .resp-container {
        min-height: 890px;
    }
}
@media screen and (max-width: 550px) {
    .resp-container {
        min-height: 1020px;
    }
}

.chakra-alert {
    padding: 1.5rem !important;
}

.chakra-input {
    padding: 2rem !important;
}

.chakra-input,
.chakra-button {
    font-size: 1.5rem !important;
}

/* Woocommerce */ 

.woocommerce-cart-form td a {
    color: #0E1922;
}

.woocommerce .coupon button {
    padding: 12px 16px;
    border: 0;
    font-weight: 600;
}

.woocommerce table.cart td.actions .coupon .input-text, .woocommerce-page table.cart td.actions .coupon .input-text {
    height: 43px !important;
}

.woocommerce table.cart td.actions .button, .woocommerce-page table.cart td.actions .button {
    padding: 12px 16px;
    border: 0;
    font-weight: 600;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order, #add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
    padding: 12px 16px !important;
    border: 0 !important;
    font-weight: 600 !important;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    padding: 12px 16px !important;
    height: auto !important;
}


/* Calendar Widget */
#calendar-widget {
    border: 1px solid #2c3e50;
    padding: 10px;
    width: 180px;
    background-color: #333741;
    color: white;
    font-family: Arial, sans-serif;
}

#calendar-header {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}

#calendar-header #month-name {
    display: inline-block;
    background-color: #34495e;
    padding: 5px 10px;
    border-radius: 5px;
}

#calendar-header #cal-title {
    text-align: center;
    color: #00aa13;
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}

#calendar-body {
    border-collapse: collapse;
    width: 100%;
}

#calendar-body th {
    background-color: #34495e;
    padding: 5px;
    font-size: 14px;
    width: 14.28%; /* Equal width for each day of the week */
}

#calendar-body td {
    text-align: center;
    padding: 1px;
    font-size: 14px;
    width: 14.28%; /* Equal width for each day of the week */
}

.highlighted {
    background-color: #00aa13;
    padding: 10px;
    color: white;
}

body.customer-area-active.single .cuar-css-wrapper .cuar-field.cuar-readonly-field.cuar-acf-field  {
    padding: 0px;
}

#loadingOverlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* semi-transparent black */
    display: none;              /* hidden by default */
    justify-content: center; 
    align-items: center;
    z-index: 9999;
  }
  
/* The spinner itself (circular) */
.spinner {
width: 60px;
height: 60px;
border: 8px solid #f3f3f3;       /* Light gray */
border-top: 8px solid #3498db;   /* Blue */
border-radius: 50%;
animation: spin 1s linear infinite;
}

/* Spinner animation keyframes */
@keyframes spin {
0%   { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.collection-item .collection-description .cuar-title a {
    display: inline-block;
    background-color: #00ae00;
    color: #FFFFFF;
    border-radius: 4px;
    padding: 15px 18px;
    transition: all 200ms linear;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;

    &:hover {
        text-decoration: none;
        background-color: #111111;
    }
}

.adv-program-thumb {
    max-width: 150px !important;
}

.justify-center {
    justify-content: center;
}

.ib-flex-container {
    display: flex;
    flex-wrap: wrap;
}

.sense-post p, .sense-post a, .sense-post a:visited {
    font-family: Inter, sans-serif !important;
    font-weight: 400 !important;
}

.sense-post header h1 {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.fl-page .sense-post .fl-content .fl-post header.fl-post-header {
    padding: 0px;
}

.sense-infographics {
    border: #00AA16 solid 1px;
    border-radius: 15px;
    padding: 20px;
}

.sense-infographics .has-x-large-font-size strong {
    font-size: 80px;
}