/*
Theme Name: JohnnyoTheme
Theme URI: https://johnnyodesign.com/
Author: Johnnyo Design
Author URI: https://johnnyodesign.com/
Description: Sensible design solutions.
*/

/* Import the necessary CSS additions */
@import url( inc/bootstrap.css );
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');

/* Content */

html {
	scroll-behavior:smooth;
	overflow-x: clip;
}
body {
	font-family: "Inter Tight", sans-serif;
    font-weight: normal;
    background: #fafaf7;
    position: relative;
    overflow-x: clip;
    background-size: 1707px;
    z-index: 0;
}

:focus {
    outline: none;
}
p strong {
	color: #fff;
}
.panel-grid, .panel-grid-cell, .so-panel {
    position: relative;
}
a {
color: inherit;
	text-decoration: underline;
	transition: cubic-bezier(.4, 0, .2, 1) .15s;
}
p a {
   color: inherit;
	text-decoration: underline;
}
a:hover, a:focus {
	   color: inherit;
    text-decoration: underline;
	outline: none !important;
	color: #70ab83;
}
p a:hover, p a:focus {
	   color: inherit;
    text-decoration: underline;
	color: #70ab83;
}
.home .site-content {
    position: relative;
    width: 100%;
	margin-top: 0;
	margin-bottom: 0;
}
.site-content {
	margin-bottom: 0;
}
p {
    margin: 0px 0px 20px 0px;
    padding: 0px 0px 0px 0px;
    font-size: 18px;
    line-height: 28px;
    color: rgb(31 51 68 / 65%);
}
p:last-of-type {
	margin: 0px 0px 0px 0px;
}
h1 {
    font-family: "Libre Baskerville", serif;
    font-size: 36px;
	font-weight: 500;
    color: #1f3344;
    margin: 0px 0px 20px 0px;
}
h1 span {
	color: #2f6e22;
}
h2 {
	font-family: "Libre Baskerville", serif;
    font-size: 30px;
    color: #1f3344;
	font-weight: 400;
    margin: 0px 0px 20px 0px;
	line-height: 40px;
}
h2 span {
	color: #2f6e22;
}
h3 {
	font-family: "Libre Baskerville", serif;
    font-size: 18px;
	font-weight: 500;
    color: #1f3344;
    margin: 0px 0px 20px 0px;
}
h4 {
    font-size: 24px;
    font-weight: bold;
    color: #1f3344;
    margin: 0px 0px 10px 0px;
	text-transform: uppercase;
}
h5 {
    font-size: 22px;
    color: #1f3344;
	font-weight: normal;
    margin: 0px 0px 20px 0px;
	text-transform: uppercase;
}
h6 {
	font-size: 14px;
	color: #5a2d44;
	font-weight: 600;
	text-transform: uppercase;
	    letter-spacing: 1.5px;
}
.altcolor h1, .altcolor h2, .altcolor h3, .altcolor h4, .altcolor h5, .altcolor li {
	color: #fff;
}
.altcolor h6, .altcolor p {
	    color: rgb(255 255 255 / 65%);
}

ul {
	    padding: 0 0 0 30px;
    font-size: 20px;
    line-height: 30px;
    color: #282927;
}
hr {
	margin-top: 0px;
    margin-bottom: 25px;
    border: 0;
    border-top: 1px solid rgb(250 250 247 / 15%);
    width: 100%;
}
.navbar {
    position: relative;
    

}
.site-branding {
	    position: absolute;
	z-index: 10;

}

.main-navigation {

}
.site-header {
padding: 0px 60px;
	    border-bottom: 1px solid #ccc;
	    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fafaf7;
}
.mega-menu-link {
	font-family: "barlow-condensed", sans-serif !important;

}
.site-footer {
	background-color: #1f3344;

}
.site-info  {
	background-color: #1f3344;
	border-top: 1px solid rgb(255 255 255 / 10%);
}
.siteinfo p {
    color: rgb(255 255 255 / 65%);
    font-size: 16px;
    padding: 10px 0 10px 0;
    font-weight: normal !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
	background-color: #5a2d44;
    color: #fff;
    padding: 8px 16px 8px 16px !important;
    display: inline-block;
    margin-bottom: 10px;
	margin-top: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
	font-weight: 600;
    white-space: break-spaces;
	transition: cubic-bezier(.4, 0, .2, 1) .15s;
    width: fit-content;
	    margin-right: 10px;
}
.altcolor .btn {
	background-color: #fff;
	color: #5a2d44;
}
.secondarycolorright .btn {
	background-color: #fff;
	color: #1f3344;
}
.btn:hover, .altcolor .btn:hover, .secondarycolorright .btn:hover {
	background-color: #70ab83;
	color: #fff;
}
.callnow {
	display: inline-block;
}
.altcolor .callnow {
    color: #fff;
    text-decoration-line: underline;
    text-decoration-color: rgb(250 250 247 / 40%);
    font-weight: 500;
    font-size: 18px;
    text-underline-offset: 4px;
}
.callnow:hover, .altcolor .callnow:hover {
	color: #70ab83 !important;
	text-decoration-color: #70ab83;
}
.primarycolorright:after {
	content: "";
    position: absolute;
    background-color: #5a2d44;
    height: 100%;
    left: 0;
    width: 50vw;
    top: 0;
    z-index: -1;
}
.primarycolorleft:after {
	content: "";
    position: absolute;
    background-color: #5a2d44;
    height: 100%;
    right: 0;
    width: 50vw;
    top: 0;
    z-index: -1;
}
.primarycolorfull:after {
	content: "";
    position: absolute;
    background-color: #5a2d44;
    height: 100%;
    right: 0;
    width: 100vw;
    top: 0;
    z-index: -1;
}
.secondarycolorright:after {
	content: "";
    position: absolute;
    background-color: #1f3344;
    height: 100%;
    left: 0;
    width: 50vw;
    top: 0;
    z-index: -1;
}
.secondarycolorleft:after {
	content: "";
    position: absolute;
    background-color: #1f3344;
    height: 100%;
    right: 0;
    width: 50vw;
    top: 0;
    z-index: -1;
}
.secondarycolorfull:after {
	content: "";
    position: absolute;
    background-color: #1f3344;
    height: 100%;
    right: 0;
    width: 100vw;
    top: 0;
    z-index: -1;
}
.primarycolorright h3:first-of-type, .primarycolorleft h3:first-of-type, .secondarycolorright h3:first-of-type, .secondarycolorleft h3:first-of-type {
	    margin: 20px 0px 20px 0px;
}
.imgone, .imgonecol .widget_text {
	height: 100%;
}
.imgright {
	content: "";
    position: absolute;
	background-size: cover;
    top: 0;
    left: 0;
    height: 100%;
    width: 50vw;
    z-index: -1;
}
.imgrightcol .widget {
	height: 100%;
}
.imgleft {
	content: "";
    position: absolute;
	background-size: cover;
    top: 0;
    right: 0;
    height: 100%;
    width: 50vw;
    z-index: -1;
}
.imgleftcol .widget {
	height: 100%;
}
.rel .panel-grid-cell {
	position: relative;
}
.headlogo img{
    height: 80px;
    padding: 18px 0px;
}
.headerbutton {
	    position: absolute;
    top: 8px;
    right: 0;
}
.vertcent {
	display: flex;
    align-items: center;
}
.headertop {
	    background-color: #163a6b;
    color: #dceef8;
	    font-size: 12px;
    line-height: 1.33;
	    padding-block: 8px;
}
.headertop .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.headertop .container div {
	    gap: 8px;
    display: inline-flex;
}
.headertop .container div span{
	align-items: center;
    display: inline-flex;
    gap: 8px;
}
.headertop svg{
	    width: 14px;
}
.footer-bottom {
	    padding: 50px 0;
}
.footer-bottom p {
	font-size: 14px;
    color: rgb(255 255 255 / 65%);
    margin: 0px 0px 8px 0px;
    line-height: 24px;
}
.footer-bottom p a {
	font-size: 18px;
	color: rgb(255 255 255 / 65%);
	text-decoration: none;
    transition: cubic-bezier(.4, 0, .2, 1) .15s;
}
.footer-bottom p a:hover {
	color: #70ab83 !important;
}
.footer-bottom .widget-title {
    color: rgb(255 255 255 / 65%);
    font-size: 18px;
    text-transform: uppercase;
    margin: 0px 0px 10px 0px;
    font-family: "Inter Tight", sans-serif;
}    
#menu-practice-areas {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	    display: grid;
}
.site-footer ul {
	    list-style: none;
    margin: 0;
    padding: 0;
        line-height: 1.6;
}
.site-footer ul a {
	text-decoration: none;
	font-size: 18px;
	color: rgb(255 255 255 / 65%);
	    transition: cubic-bezier(.4, 0, .2, 1) .15s;
}
.site-footer ul a:hover {
	font-weight: normal;
	color: #70ab83;
}
.footsocial a {
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 15%);
    background-color: rgb(255 255 255 / 10%);
    height: 36px;
    width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
	transition: cubic-bezier(.4, 0, .2, 1) .15s;
}
.footsocial a:hover {
	background-color: rgb(255 255 255 / 15%);
}
.footsocial svg {
	    width: 16px;
    color: #fff;
}
#mega-menu-primary {
	margin-right: 20px !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	    font-family: "Inter", sans-serif !important;
	font-weight: 500;
}

.headlogo span {
	font-family: "DM Sans", sans-serif;
	color: #7394A8;
	font-weight: normal;
	text-transform: none;
	padding-left: 5px;
}


.sow-accordion-panel {
	border-bottom: 1px solid rgb(250 250 247 / 15%);
}
.sow-accordion-panel:last-of-type {
	border-bottom: none;
}
.threethings {
	grid-template-columns: repeat(3,minmax(0,1fr));
    display: grid;
    gap: 25px;
	    border-left: 1px solid rgb(31 51 68 / 10%);
}
.pullupthree .panel-grid-cell:nth-of-type(1) {
	border-right: 1px solid rgb(250 250 247 / 15%);
	padding-right: 20px;
}
.pullupthree .panel-grid-cell:nth-of-type(2) {
	padding-left: 20px;
	padding-right: 20px;
}
.pullupthree .panel-grid-cell:nth-of-type(3) {
	border-left: 1px solid rgb(250 250 247 / 15%);
	padding-left: 20px;
}
.pullupthree {
		border-top: 1px solid rgb(250 250 247 / 15%);
		border-bottom: 1px solid rgb(250 250 247 / 15%);
		padding-top: 20px;
		padding-bottom: 20px;
	}
.fivethings .panel-grid-cell {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	display: grid;
    gap: 25px;
}
.casegrid .panel-grid-cell {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	display: grid;
    gap: 15px;
}
.casegrid .panel-grid-cell .so-panel {
	transition: all .2s cubic-bezier(.4, 0, .2, 1);
}

.casegrid .panel-grid-cell .so-panel:hover {
	box-shadow: 0 16px 40px #0a143280;
	translate: 0 -8px;
}
.casegrid .panel-widget-style {
	height: 100%;
}
.so-widget-sow-editor {
	height: 100%;
}
.textwidget {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.callphone {
	width: 14px;
	    margin-right: 5px;
}
.learnlink {
	color: rgb(255 255 255 / 65%);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-top: 15px;
    transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.learnlinkalt {
	color: #70ab83;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-top: 15px;
    transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.casegrid .panel-widget-style:hover .learnlink {
	color: #fff;
}
.casegrid .panel-widget-style p {
	transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.casegrid .panel-widget-style:hover p {
	color: rgb(255 255 255 / 75%);
}
.casegrid .panel-widget-style:hover .learnlinkalt {
	color: #72df95;
}
.casegrid .learnarrow, .learnarrow {
    width: 14px;
    margin-left: 5px;
    transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.timeline {
	position: relative;
}
.timeline:before {
	content: "";
	position: absolute;
	top: 30px;
	width: 100%;
	height: 1px;
	background-color: rgb(250 250 247 / 15%);
}
.timeline h2 {
	color: #70ab83;
	font-size: 48px;
}
.mega-sub-menu .mega-menu-link {
	    display: flex !important;
    flex-direction: column !important;
	    line-height: 18px !important;
    padding: 10px !important;

}
.mega-menu-link span {
	    color: #62748e;
    font-size: 12px;
    font-weight: 500;
}
.widemap iframe {
	border: none;
    width: 100%;
    height: 460px;
	    margin-bottom: -90px;
}
.imgright iframe {
	    height: 100%;
    border: none;
}
.pullup {
	    margin: -120px 100px 100px 100px;
}
.footlogowrap {
	
}
.footerlogo img {
	    height: 36px;
}
.footlogowrap .textwidget {
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}
@media (min-width: 1300px) {
  .container {
    width: 1280px;
  }
}
@media screen and (max-width: 1200px) {
	#mega-menu-primary {
	margin-right: 0px !important;
		display: flex;
    justify-content: center;
    align-items: center;
	}
	.foursteps h5 {
		color: rgb(41 37 36 / 20%);
	}
}

@media screen and (max-width: 1130px) {
	.headerbutton {
		display: none;
	}
	.headlogo img {
    height: 65px;
    padding: 15px 0px;
}
}
@media screen and (max-width: 1000px) {
	.casegrid .panel-grid-cell {
		        grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.mapgrid .panel-grid-cell {
		 grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media screen and (max-width: 991px) {
	.redtext {
	    border-radius: 0 !important;
		    text-align: center;
	}	
	.trustrow {
		flex-wrap: wrap !important;
		width: 100% !important;
		margin: 0 !important;
        padding: 0 !important;
		flex-direction: unset !important;
	}
	.trustrow .panel-grid-cell {
		width: 50% !important;
		margin: 0 !important;
	}
	.sixthings .panel-grid-cell, .fourthings .panel-grid-cell {
		                grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.threethings .panel-grid-cell {
		        grid-template-columns: none;
	}
	.fieldgal .widget_text {
	    grid-column: span 12;
		aspect-ratio: 4 / 5;
	}
	.fieldgal .panel-first-child {
	    grid-column: span 24;
  		grid-row: span 1;  
		aspect-ratio: 4 / 3;
		min-height: auto;
	}
	.fieldgal .panel-first-child .panel-widget-style {
    	height: 100%;
		min-height: auto;
		aspect-ratio: auto;
	}
	.headertop {
		display: none;
	}
	#mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary {
        display: flex;
        visibility: visible;
    }
}
@media screen and (max-width: 850px){
	.fivethings .panel-grid-cell {
    	        grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.timeline:before {
		display: none;
	}
}
@media screen and (max-width: 780px){
	.casegrid .panel-grid-cell {
		        grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.container {
		padding-left: 0;
    	padding-right: 0;
	}
	.primarycolorleft:after, .primarycolorright:after, .secondarycolorleft:after, .secondarycolorright:after {
		    width: 100vw;
	}
	.imgbgright .widget_custom_html {
    	position: relative;
    	top: 0;
    	left: 0;
    	width: 100vw;
    	z-index: -1;
    	height: 350px;
	}
	.imgbgleft .widget_custom_html {
    	position: relative;
    	top: 0;
    	right: 0;
    	width: 100vw;
    	z-index: -1;
    	height: 350px;
	}
	.imgright {
		aspect-ratio: 4 / 3;
    width: 100%;
    position: relative;
	}
	.imgleft {
		aspect-ratio: 4 / 3;
    width: 100%;
    position: relative;
	}
	.imgone {
		aspect-ratio: 4 / 3;
    width: 100%;
    position: relative;
	}
	.sixthings .panel-grid-cell, .fourthings .panel-grid-cell {
		        grid-template-columns: none;
	}
	.pullup {
		    margin: -120px 60px 60px 60px;
	}
	#menu-practice-areas {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}
	.site-header {
padding: 0px 30px;
	}
	.threethings {
	    border-left: none;
}
.pullupthree .panel-grid-cell:nth-of-type(1) {
	border-right: none;
	padding-right: 0;
}
.pullupthree .panel-grid-cell:nth-of-type(2) {
	padding-left: 0;
	padding-right: 0;
}
.pullupthree .panel-grid-cell:nth-of-type(3) {
	border-left: none;
	padding-left: 0;
}
	.pullupthree {
		border-top: none;
		border-bottom: none;
		padding-top: 0;
		padding-bottom: 0;
	}
}
@media screen and (max-width: 740px) {
	
	.headerbutton {
    	position: relative;
    	width: calc(100% - 40px);
    	margin: 10px 20px 20px 20px;
		right: initial;
        top: initial;
	}
	.navbar {
    	height: inherit;
	}
}
@media screen and (max-width: 600px) {
	.fieldgal .panel-grid-cell {
		display: block;
	}
	.fieldgal .widget_text {
		aspect-ratio: 4 / 3;
		margin-top: 24px;
	}
	.fieldgal .panel-first-child {
		margin-top: 0;
	}
	.threethings {
		display: block;
	}
	
}
@media screen and (max-width: 500px) {
	.casegrid .panel-grid-cell {
		        grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	.fivethings .panel-grid-cell {
    	        grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	.pullup {
		    margin: -120px 30px 30px 30px;
	}
}
@media screen and (max-width: 420px) {
		.trustrow {
			flex-direction: column !important;
		}
	.trustrow .panel-grid-cell {
		width: 100% !important;
		margin: 0 !important;
		border-right: 0 !important;
	}

}
@media screen and (max-width: 290px) {
	.headlogo img {
    	max-width: 100%;
    	height: auto;
	}
	.site-branding {
    	position: relative;
	}
}