/*************** Moved from header.php SW - 12/8/22 ***************/
header{ width: 100%; }
header .nav-container { background-color: #437B4D; }

header .header-container > section,
nav {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
    max-width: 1440px;
}

nav { max-width: 1140px; }

header .header-container > section {
	display: flex;
	align-items: center;
	padding: .5rem 1rem;
    align-items: center;
    justify-content: center;
	flex-wrap: wrap;
    gap: 10px;
}

header .header-container > section > div{
	/* flex: 0 0 100%;
	text-align: center; */
	padding: 0.5rem 0;
}

header .header-container > section > div img {
	width: 300px;
	max-width: 100%;
}

.top-banner { 
    font-size: 15px;
    color: #fff;
    max-width: 651px;
    min-width: 320px;
    width: 100%;
    text-align: left;
    margin: 0 auto;
}

.top-banner h3 { 
    margin: 0; 
    color: #fff; 
    background-color: #9cc182; 
    display: inline-block;
    position: relative;
    padding: 2px;
    font-size: .9em;
}

.top-banner h3::after {
    content: '';
    background-color: #9cc182;
    width: 15px;
    height: 30px;
    -webkit-clip-path: polygon(0 0, 0% 100%, 100% 100%);
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    display: block;
    position: absolute;
    top: -.5px;
    right: -14.5px;
    z-index: -1;
}

.top-banner h2 { 
    font-weight: normal; 
    font-size: 1.3em;
    margin: 0 15px; 
    text-shadow: 1px 1px 10px #000;
    color: #fff;
    line-height: normal;
}

.top-banner .offer-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.top-banner .offer-badge-bg {
    background: url('../img/header-banner-bg.jpg') no-repeat;
    color: #fff;
    padding: 0 10px;
    background-size: cover;
}

.top-banner .leaf-end { position: relative; }
.top-banner .leaf-end::after {
    content: '';
    -webkit-mask: url(../img/leaf.svg) no-repeat 50% 50%;
    mask: url(../img/leaf.svg) no-repeat 50% 50%;
    -webkit-mask-size: contain;
    mask-size: contain;
    padding: 6px;
    width: 48px;
    background-color: #fff;
    display: inline-block;
}

.top-banner .offer-badge {
    font-size: 10px;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    text-align: center;
    -webkit-transform: rotate(-18deg);
    -moz-transform: rotate(-18deg);
    -ms-transform: rotate(-18deg);
    transform: rotate(-18deg);
    position: relative;
    background-color: #d78e28;
    flex: 0 0 85px;
}

.top-banner .offer-badge > div {
    position: absolute;
    border-radius: 50%;
    border: 3px dashed #fff;
    padding-top: 15%;
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    line-height: 1;
}

.top-banner .offer-badge > div > strong { font-size: 1.4em; }
.top-banner .offer-badge > div > span {
    font-size: 1em;
    white-space: nowrap;
}

.top-banner .cta-container { 
    margin: -10px auto 0 auto;
    display: flex;
    flex-direction: column; 
}

.top-banner .cta-container .logo { text-align: center; margin: 5px; }
.top-banner .cta-container .logo sup { position: relative; top: -5px; left: -10px; }
.top-banner .cta-container .logo > img { width: 150px; margin-left: 10px; }

.top-banner .cta-container .cta-button {
    background-color: #d78e28;
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
    border-radius: 7px;
    padding: 2px 10px;
    letter-spacing: 1px;
    margin: 0 auto;
    white-space: nowrap;
}

.top-banner .cta-container .cta-button::before {
	content: '';
	-webkit-mask: url(../img/phone-wht.svg) no-repeat 50% 50%;
	mask: url(../img/phone-wht.svg) no-repeat 50% 50%;
	-webkit-mask-size: contain;
	mask-size: contain;
	padding: 8px;
	width: 10px;
	background-color: #fff;
	display: inline-block;
}

.top-banner .cta-container .cta-button a,
.top-banner .cta-container .cta-button a:visited,
.top-banner .cta-container .cta-button a:focus { 
    color: #fff; 
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 4px;
}

@media only screen and (min-width: 370px) {
    .top-banner h2 { font-size: 6vw; }   
}

@media only screen and (min-width: 641px) {
    .top-banner h2 { font-size: 1.8em; }
    .top-banner .offer-badge-bg {
        display: flex;
        align-items: center;
    }
}

@media all and (min-width: 981px) {
	header .header-container > section { 
        justify-content: space-between;
    }
}
