/*
LMG IR Styles
This loads on all pages.
*/

/* General
--------------------------------------------- */

body {
    background-color: #037f79;
}

.site-container {
    background-color: #fff;
    overflow: hidden;
}

.section.alignfull > div {
    margin-inline: auto;
    max-width: 90%;
}



h1 {
	font-size: 36px;
}

h2 {
	font-size: 32px;
}

h3 {
	font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
	font-size: 21px;
}

h6 {
    font-size: 18px;
    letter-spacing: 1px;
}

.hideSVGs {
    height: 0;
    width: 0;
}

/* Site Header
--------------------------------------------- */

.site-header {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.site-header .wrap {
	align-items: center;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 0;
    justify-content: flex-start;
}

.site-header .title-area {
    flex: 0 0 350px;
}

.site-header .widget-area {
    color: #754c28;
    flex: 0 0 calc(100% - 350px);
    font-size: 14px;
    line-height: 1.25;
    text-align: right;
}

.site-header .widget {
    display: inline-block;
    margin: 0;
    padding-left: 50px;
}

.site-header .widget-title {
    color: #404041;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.site-header p {
    margin: 0;
}

.site-header .phone {
    border-bottom: 1px solid transparent;
    color: #009591;
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.site-header .phone:focus,
.site-header .phone:hover {
    border-bottom: 1px solid #404041;
    color: #404041;
}

.nav-secondary {
    background-color: #f6f6f6;
    margin: 0;
    padding: 6px 0;
    position: relative;
    text-align: right;
    z-index: 11;
}

.nav-secondary li.dashicons {
    height: auto;
    margin-left: 20px;
    width: auto;
}

.nav-secondary li.dashicons::before {
    position: absolute;
    left: 0;
    top: 3px;
    transition: color .2s ease-in-out;
}

.nav-secondary a {
    color: #231f20;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin: 0;
    padding-bottom: 6px;
    padding-left: 22px;
    padding-top: 6px;
    position: relative;
}

.nav-secondary li.dashicons:focus::before,
.nav-secondary li.dashicons:hover::before,
.nav-secondary li:focus a,
.nav-secondary li:hover a {
    color: #009591;
    cursor: pointer;
}


/* Feature
--------------------------------------------- */

.wp-block-cover.feature {
    min-height: 0;
    padding: 120px 0;
}

.feature {
    line-height: 1.25;
}

.feature .text {
    float: left;
    position: relative;
    width: 38%;
    z-index: 1;
}


/* Feature Curves
--------------------------------------------- */

.feature-curves {
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    transform: scaleX(-1);
    width: 100%;
    z-index: 0;
}

.feature-curves .curves {
    height: 100%;
    
    position: absolute;
    width: 100%;
}

.feature-curves .curve {
    height: 100%;
    opacity: .66;
    position: absolute;
    width: 100%;
}

.feature-curves .curve::before {
    background-color: #4bbfc0;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 1000%;
    
}

.feature-curves .curve::after {
    background-color: #4bbfc0;
    clip-path: url(#curve);
    -webkit-clip-path: url(#curve);
    content: '';
    display: block;
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translateZ(0);
    width: 320px;
}

.feature-curves .curve.one::before {
    left: 60%;
}

.feature-curves .curve.one::after {
    left: calc(60% + 1px);
    transform: translateX(-100%) translateZ(0);
}

.feature-curves .curve.two::before {
    left: 63%;
}

.feature-curves .curve.two::after {
    clip-path: url(#curve-2);
    -webkit-clip-path: url(#curve-2);
    left: calc(63% + 1px);
    transform: translateX(-100%) translateZ(0);
    width: 231px;
}

.feature-curves .curve.three::before {
    left: 95%;
}

.feature-curves .curve.three::after {
    left: calc(95% + 1px);
    transform: translateX(-100%) translateZ(0);
}


/* Posts
--------------------------------------------- */

body.single-post .wp-block-image .alignright {
	max-width: 50%;
}


/* Footer Curves
--------------------------------------------- */

.footer-curves {
    background-color: #009591;
    position: relative;
    z-index: 0;
}

.footer-curves .curves {
    height: 100%;
    position: absolute;
    width: 100%;
}

.footer-curves .curve {
    height: 100%;
    opacity: .5;
    position: absolute;
    width: 100%;
}

.footer-curves .curve::before {
    background-color: #4bbfc0;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 1000%;
    
}

.footer-curves .curve::after {
    background-color: #4bbfc0;
    clip-path: url(#curve);
    -webkit-clip-path: url(#curve);
    content: '';
    display: block;
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translateZ(0);
    width: 320px;
}

.footer-curves .curve.one::before {
    left: 55%;
}

.footer-curves .curve.one::after {
    left: calc(55% + 1px);
    transform: translateX(-100%) translateZ(0);
}

.footer-curves .curve.two::before {
    left: 58%;
}

.footer-curves .curve.two::after {
    clip-path: url(#curve-2);
    -webkit-clip-path: url(#curve-2);
    left: calc(58% + 1px);
    transform: translateX(-100%) translateZ(0);
    width: 231px;
}

.footer-curves .curve.three::before {
    left: 95%;
}

.footer-curves .curve.three::after {
    left: calc(95% + 1px);
    transform: translateX(-100%) translateZ(0);
}


/* Footer Widgets
--------------------------------------------- */

.footer-widgets {
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    padding: 90px 0 80px;
    position: relative;
    z-index: 2;
}

.footer-widgets .wrap {
    display: grid;
    grid-gap: 0 5%;
    grid-template-columns: 500px 1fr;
    grid-template-rows: auto;
    justify-content: space-between;
}

.footer-widget-area {
    margin: 0;
    padding: 0;
}

.footer-widgets .widget-area {
    line-height: 1.25;
}

.footer-widgets-1 {
    grid-column: 1;
    grid-row: 1;
}

.footer-widgets-2 {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-top: 15px;
    max-width: 425px;
}

.footer-widgets-1 img {
    max-width: 100%;
    width: auto;
}

.footer-widgets-1 .widget-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-widgets-1 p {
    margin: 0;
}

.footer-widgets-1 .phone {
    border-bottom: 1px solid transparent;
    color: #fff;
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.footer-widgets-1 .phone:focus,
.footer-widgets-1 .phone:hover {
    border-bottom: 1px solid #48BDBE;
    color: #48BDBE;
}

.footer-widgets-1 .simple-social-icons {
    margin-top: -25px;
}

.footer-widgets-1 .simple-social-icons ul li:first-child {
    margin-left: 0 !important;
}

.footer-widgets-2 #gform_widget-2:focus {
    outline: none;
}

.footer-widgets-2 .widget-title {
    color: #fff;
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
}


/* Site Footer
--------------------------------------------- */

.site-footer {
    background-color: #037f79;
    border: none;
    color: #d0d2d3;
    font-size: 14px;
    line-height: 1.33;
    padding: 17px;
    position: relative;
    text-align: left;
    z-index: 1;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #d0d2d3;
    text-decoration: none;
}

.site-footer a:focus,
.site-footer a:hover {
    color: #fff;
}

div.grecaptcha-badge {
	z-index: 99999;
}


/* Popup Maker
--------------------------------------------- */

.pum-content p {
    line-height: 1.5;
}

.pum-content .wp-block-image.wrap-circle figure {
    position: relative;
}

.pum-content .wp-block-image.wrap-circle figure::after {
    background: url("../../images/circle.svg") no-repeat center;
    background-size: 100% 100%;
    content: '';
    display: block;
    height: 0;
    left: 50%;
    padding-top: 105%;
    pointer-events: none;
    position: absolute;
    top: -2.5%;
    transform: translateX(-50%);
    width: 105%;
    z-index: 1;
}


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

@media only screen and (min-width: 768px) {

    .feature span.wp-block-cover__background.has-background-dim {
        display: none;
    }
    
}

@media only screen and (min-width: 1024px) {
    
    .section.alignfull > div {
        max-width: 960px;
    }
    
}

@media only screen and (min-width: 1230px) {
    
    .section.alignfull > div {
        max-width: 1170px;
    }
    
}

@media only screen and (max-width: 1023px) {
    
    .site-header .title-area,
    .site-header .widget-area {
        flex-basis: 100%;
        text-align: left;
    }
    
    .site-header .title-area {
        float: left;
        text-align: left;
    }
    
    .site-header .widget {
        margin-top: 30px;
        padding: 0 50px 0 0;
    }
	
	.site-header .widget {
		margin: 15px 0 0;
	}
    
    .nav-secondary {
        text-align: left;
    }
    
    .nav-secondary li.dashicons {
        margin: 0 10px 0 0;
    }
    
    .footer-widgets .wrap {
        grid-template-columns: 275px 1fr;
    }
    
}

@media only screen and (max-width: 767px) {
    
    .site-header .wrap {
        justify-content: center;
    }
    
    .site-header .title-area,
    .site-header .widget-area {
        text-align: center;
    }
    
    .site-header .title-area {
        text-align: center;
    }
    
    .site-header .widget {
        padding: 0 25px;
    }
    
    .nav-secondary {
        text-align: center;
    }
    
    .nav-secondary li.dashicons {
        margin-inline: 10px;
    }
	
	.feature .text {
        float: none;
        text-align: center;
        width: 100%;
    }
    
    .feature .text .wp-block-buttons.is-layout-flex {
        justify-content: center;
    }
	
	.feature-curves {
        display: none;
    }
    
    .footer-curves .curves {
        display: none;
        transform: translateX(-25%);
    }
    
    .footer-widgets {
        padding-bottom: 0;
    }
    
    .footer-widgets .wrap {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets-1 {
        grid-row: 1;
        text-align: center;
    }

    .footer-widgets-2 {
        grid-column: 1;
        grid-row: 2;
        margin-top: 80px;
        max-width: none;
        padding-bottom: 80px;
        padding-top: 40px;
        position: relative;
    }
    
    .footer-widgets-2::before {
        background-color: #31B1AF;
        bottom: calc(100% - 1px);
        clip-path: url(#curve-3);
        -webkit-clip-path: url(#curve-3);
        content: '';
        display: block;
        height: 256px;
        left: 50%;
        min-width: 1200px;
        pointer-events: none;
        position: absolute;
        transform: translateX(-50%) translateZ(0);
        width: 100%;
        z-index: 0;
    }
    
    .footer-widgets-2::after {
        background-color: #31B1AF;
        content: '';
        display: block;
        height: 100%;
        left: 50%;
        position: absolute;
        top: 0;
        transform: translateX(-50%);
        width: 100vw;
        z-index: 0;
    }
    
    .footer-widgets-1 .simple-social-icons ul {
        float: none;
        text-align: center;
    }
    
    .footer-widgets-1 .simple-social-icons ul li {
        display: inline-block;
        float: none;
    }
    
    .footer-widgets-2 .widget {
        position: relative;
        z-index: 1;
    }
    
    .site-footer {
        text-align: center;
    }
}

@media only screen and (max-width: 600px) {
	
	body.single-post .wp-block-image .alignright {
		float: none;
		margin: 1em 0 2em;
		max-width: 100%;
		width: 100%;
	}
	
}