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

/* Import the necessary CSS additions */
@import url( inc/bootstrap.css );
/* @import url(" /wp-content/themes/johnnyo_design/inc/font-face/stylesheet.css"); */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i,800,800i');
@import url('https://fonts.googleapis.com/css?family=Questrial');
/* @import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700'); */

html {
    overflow-x: hidden;
}
body {
    background: #fff;
	height: 100%;
	text-align: left;
	font-family: 'Open Sans', serif;
	color: #333;
	margin: 0;
}
body,td,th {
	color: #333;
}
a {
    color: #1b386a;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
:focus {
	outline: none !important;
}
h1, .h1 {
		font-family: 'Questrial', sans-serif;
    font-size: 50px;
    line-height: 60px;
	    font-weight: bold;
	    color: #aa1746;
	font-weight: 600;

}
p {
    font-size: 16px;
    line-height: 24px;
    margin: 20px 80px 0 80px;
    font-family: 'Open Sans', sans-serif;
}
h2 {
	font-family: 'Questrial', sans-serif;
    font-size: 30px;
    color: #1b396a;
    margin-bottom: 20px !important;
	    font-weight: bold;
	font-weight: 600;

}

h3 {
	font-family: 'Questrial', sans-serif;
    font-size: 20px;
    color: #aa1746;
    font-weight: normal;
    margin-bottom: 20px !important;
	font-weight: 600;

}
h4 {
	color: #1b396a;
	font-size: 16px;
	font-weight: normal;
	line-height: normal;
	margin: 14px 0px 0px 0;
	text-align: left;
	padding: 0px;
	font-family: 'Questrial', sans-serif;
	font-weight: 600;

}
ul {
    margin: 4px 0 0 28px;
    padding: 0px 0px 0px 0px;
    font-family: 'Open Sans', sans-serif;
    font-size: inherit;
    line-height: 21px;
    color: #444;
    list-style: initial;
    display: inline-block;
}
.homecenter {
	padding: 160px 0 180px 0;
}
.homecenter h2, .homecenter p{
	text-align: center;
}
.homegrey {
	    background-color: #6d6e71;
	    margin-bottom: 80px;
}

.panel-grid-cell .so-panel {
    zoom: 1;
    margin: 0 !important;
}
.panel-grid {
	margin: 0 !important;
	
}
.headlogo {
    z-index: 1;
    position: relative;
}
.headlogo img {
max-width: 100%;
    height: 80px;
}
.btn {
	    font-size: 20px;
    line-height: normal;
    background-color: #ffffff;
    border: 3px solid #fff;
    color: #00a4ff;
    border-radius: 40px;
    text-shadow: none;
    padding: 14px 24px 12px 24px;
    margin: 30px;
	    font-family: 'Questrial', sans-serif;
	transition: all .25s cubic-bezier(.625,.125,.305,.875);
}
.btn:hover {
    background-color: transparent;
    border: 3px solid #fff;
    color: #fff;
	transition: all .25s cubic-bezier(.625,.125,.305,.875);
}

.intbg {
    background-image: url(/wp-content/uploads/2018/10/group1.jpg);
    background-size: cover;
    width: 100%;
    min-height: 500px;
    background-position: center;
    position: absolute;
}
.intbg::after {
    content: " ";
    width: 100%;
    height: 100%;
    background-color: rgba(56, 102, 148, 0.43);
    z-index: 0;
    position: absolute;
    left: 0;
}
.site-interior {
    margin-top: 40px;
    padding: 40px 0;
	text-align: left;
    position: relative;
}
.site-interior p {
	margin: 10px 0;
	    color: #222;
}
.site-footer {
    background-color: #111;
	    text-align: left;
}
.site-footer p{
	    text-align: center;
    margin: 0;
    font-size: 12px;
    line-height: 16px;
	    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-weight: bold;
	display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-content p {
	text-align: left;
}
.footlogo img {
	height: 40px;
	margin-bottom: 20px;
}
.socialfooter {
	float: right;
}
.socialfooter a {
    color: #fff;
    font-size: 16px;
    margin-left: 20px;
}
.socialfooter a:hover {
    color: #666;
}
.site-info {
	    padding: 30px 0;
}
.footer-top {
	    padding-top: 50px;
}
.footer-content .img-responsive {
	    display: block;
    max-width: 100%;
    height: auto;
    padding: 4px 14px 0px 0;
}
.footer-top ul {
	    list-style: none;
    margin: 0;
}
.footer-top h3 {
    margin-bottom: 10px !important;
    color: #aa1746;
    font-size: 14px;
	    margin-top: 20px !important;
}
.footer-top a {
    color: #ffffff;
    text-decoration: none;
}
.footer-top a:hover {
    color: #f0ba3c;
    text-decoration: none;
}
.footer-top .panel-first-child {
	margin-bottom: 20px !important;
}
.logos {
	    background-color: rgba(0, 14, 43, 0.05);
    padding: 0px 0;
    margin-top: 0;
}
.logos .img-responsive {
	    display: inline-block;
    height: 100px;
    margin: 0 20px;
}
#masthead {
	position: relative
}
.home #content {
    margin-top: 0px;
}
.topbar {
    background-color: rgb(242, 244, 244);
    width: 100%;
    height: 140px;
    z-index: 1;
}
.callus {
	display: inline-block;
    width: 285px;    
	color: #fff;
	display: none;
}
.callus a {
	    margin: 0;
    position: absolute;
    right: 50px;
    top: 40px;
}
.callus .phone {
	    font-size: 30px;
}
.slidepost {
	height: 80vh;
	background-size: cover !important;
	background-position: center !important;
}
.slide-content {
    padding: 50px;
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 14, 43, 0.8);
    width: 100%;
}
.slide-content h2{
	color: #fff;
	margin-top: 0;
}
.slide-content p{
	color: #fff;
	    margin: 0;
}
.slide-content .readmore {
color: #000e2b;
    background-color: #fff;
    padding: 20px 30px;
    display: inline-block;
    margin-top: 20px;
    font-size: 24px;
	    text-transform: uppercase;
}
.slide-content .readmore:hover {
	    background-color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	
color: #000e2b;
}
.slider-nav {
	    margin-top: -150px;
    padding-right: 50px;
}
.slider-nav .slick-track {
    width: fit-content !important;
    z-index: 1;
    float: right;
}
.slider-nav .slick-list {
	    width: fit-content;
    float: right;
}
.navpost {
    opacity: 1 !important;
    left: 0 !important;
    height: 180px;
    background-size: cover !important;
    background-position: center !important;
    margin: 0 10px;
    width: 230px !important;
    border-radius: 2px;
}
.border {
border: 3px solid transparent;
	    height: 100%;
    border-radius: 2px;
}
.slider-nav .slick-current .border {
border: 3px solid #000e2b;

}
.navpost h2 {
	position: absolute;
    bottom: 0;
    margin: 12px;
    padding: 0;
    color: #fff;
    line-height: 0px;
    font-size: 18px;
}
.site-branding {
    position: absolute;
    padding-right: 30px;
    padding: 30px;
    z-index: 1;
}
.navbar {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.socialbar {
	text-align: right;
}
.main-navigation {
	display: inline-block;
}
.socialbar a {
    color: #ffffff;
    background-color: #CC0000;
    font-family: 'Questrial', sans-serif;
    font-weight: bold;
    padding: 7px 14px;
    display: inline-block;
    font-size: 18px;
    margin-bottom: 4px;
	    font-weight: 300;
    text-transform: uppercase;
}

.socialbar a:hover {
    color: #ffffff;
    background-color: #666;
	text-decoration: none;
}
.homerow {
	padding: 80px 0;
}
.sidebtn {
	    color: #ffffff;
    background-color: #CC0000;
    font-family: 'Questrial', sans-serif;
    font-weight: bold;
    padding: 7px 14px;
    display: inline-block;
    font-size: 22px;
    margin-bottom: 30px;
	    font-weight: 300;
    text-transform: uppercase;
}
.sidebtn:hover {
    color: #ffffff;
    background-color: #666;
	text-decoration: none;
}

h1 {
text-align: left;
    position: relative;
    font-size: 40px;
	color: #aa1746;
}
h1::after {
    content: " ";
    position: absolute;
    width: 70px;
    border-top: 6px solid;
    left: 0;
    top: -10px;
    border-color: #000057;
}
p {
    font-size: 16px;
    line-height: 32px;
    margin: 0;
}

.homecontent a, .homecontent a {
    color: #000057;
    padding: 0;
    display: inline-block;
    margin-top: 20px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
	position: relative;
}
.homecontent a::after, .homecontent a::after {
    content: "»";
    font-size: 22px;
    font-weight: 600;
    position: absolute;
    top: -2px;
    right: -20px;
}
.homecontent a:hover, .homecontent a:hover {
	    color: #aa1746;
	text-decoration: none;
}
.homeleft {
	    padding: 100px 0;
}
.homecontent {
	padding: 0;
}
.home .entry-content .panel-grid:nth-child(3), .home .entry-content .panel-grid:nth-child(5), .home .entry-content .panel-grid:nth-child(7) {
	    background-color: rgba(0, 14, 43, 0.05);
	    margin: 0 !important;
}
.slidercta {
	    position: absolute;
    bottom: 0;
	    width: 100%;
}
.slidercta .so-widget-sow-editor {
	    margin: 30px 0px;
background-color: rgb(17 17 17 / 50%);
    padding: 20px;
    border-radius: 60px;
}
.home .slidercta .panel-grid-cell:first-child .so-widget-sow-editor {
	margin: 30px 0px 30px 30px;
}
.home .slidercta .panel-grid-cell:last-child .so-widget-sow-editor {
	margin: 30px 30px 30px 0px;
}

.calltoactionbar {
text-align: center;
    background-color: #f2f4f4;
    height: 100px;
	margin: 0 !important;
}
.calltoactionbar p, .calltoactionbar2 p{
	    font-size: 24px;
	line-height: 100px;
	    text-align: center;
}
.calltoactionbar a, .calltoactionbar2 a{
	    background-color: #aa1746;
    padding: 12px 16px;
    color: #fff;
    margin-left: 20px;
}


@media only screen and (max-width: 1800px) {
.slidetext p {
    font-size: 2vh;
    line-height: 3vh;
}
}
@media only screen and (max-width: 1100px) {
.home .slidetext {
    width: 100%;
	
}
.slidetext p {
    font-size: 2vh;
    line-height: 3vh;
}
}
@media only screen and (max-width: 800px) {
.navbar {
    position: absolute;
    top: 180px;
    right: 30px;
    z-index: 1;
	    margin-left: 30px;
}
	.slidetext p {
    text-align: left !important;
}
	.slidetextwrap {
    padding: 30px;
}
	.slidetext a {
    font-size: 5vw;
}
	.homecenter {
    padding: 80px 0 100px 0;
}
	.homegrey {
    margin-bottom: 40px;
}
	.homerow {
    padding: 40px 0;
}
	.home h2 {
    text-align: center;
}
	.home p {
    text-align: center;
}
	.homealt, .homealt h2 {
    text-align: center;
}
}

@media only screen and (max-width: 612px) {
.socialfooter {
    float: right;
    text-align: center;
    width: 100%;
}
	.site-info p {
		    text-align: center;
    width: 100%;
	}
	.footlogo {
    margin: auto;
    display: block;
}
}

@media only screen and (max-width: 500px) {
.home h2 {
    font-size: 10vw;
}
	
}
/* video {
	position: absolute;
	border-radius: 0;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	min-width: 100vw;
	min-height: 100vh;
}
.player {
	    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
} */


.footlogo {
	    max-width: 100%;
	width: 321px;
}
.footinfo {
	    padding-top: 20px;
}
.footsocial {
	text-align: right;
}
.site-interior .site-main img {
    max-width: 100%;
    border-radius: 3px;
    margin: 20px 0 20px 0;
}
.site-interior h1 {
	margin-top: 0;
}
.home .site-header .slick-slide {
	height: 70vh;
}

@media only screen and (max-height: 600px) {
video {
    min-height: 600px;
}
	
}
.slick-slider {
    margin-bottom: 0px;
}
.slide1 {
	background-image: url(/wp-content/uploads/2021/06/Front-elevation.jpg);
	    height: 500px;
    background-size: cover;
    background-position: center;
}
.slide2 {
	background-image: url(/wp-content/uploads/2021/06/DSC0012-scaled.jpg);
	    height: 500px;
    background-size: cover;
    background-position: center;
}
.slide3 {
	background-image: url(/wp-content/uploads/2021/06/9.11.15-FRONT-VIEW-scaled.jpg);
	    height: 500px;
    background-size: cover;
    background-position: center;
}
.slide4 {
	background-image: url(/wp-content/uploads/2021/06/1006-Montrose-Sarah-Plan-photo-14.jpg);
	    height: 500px;
    background-size: cover;
    background-position: center;
}

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block {
    padding: 0 30px;
}
#mega-menu-wrap-primary .mega-menu-open .mega-toggle-blocks-right .mega-toggle-block {

}
@media only screen and (max-width: 1850px) {
	.slider-nav {
    margin-top: 0;
    padding-right: 50px;
    padding-left: 50px;
}
	.slider-nav .slick-slide {
    display: block;
    margin-bottom: 20px;
}
}
@media only screen and (max-width: 1750px) {
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    padding: 0 30px !important;
}
}
@media only screen and (max-width: 1402px) {
	.logos .img-responsive {
    	margin: 20px 20px;
	}
}
@media only screen and (max-width: 867px) {
	.slider-nav {
		display: none;
	}
	.home #content {
    margin-top: 60px;
}
}
@media only screen and (max-width: 800px) {
	.callus {
    display: none;
	}
	
}
@media only screen and (max-width: 800px) {
	.slidetext p {
    text-align: left !important;
}
	.slidetextwrap {
    padding: 30px;
}
	.slidetext a {
    font-size: 5vw;
}
	.homecenter {
    padding: 80px 0 100px 0;
}
	.homegrey {
    margin-bottom: 40px;
}
	.homerow {
    padding: 40px 0;
}
	.home h1 {
    text-align: center;
}
	.home h2 {
    text-align: center;
}
	.home h3 {
    text-align: center;
}
	.home p {
    text-align: center;
}
	.homealt, .homealt h2 {
    text-align: center;
}
	h1::after {
    right: 0;
    margin: auto;
}
}
@media only screen and (max-width: 780px) {
	.homeright, .homeleft {
		    padding: 50px 50px;
	}
	.home .site-content h1 {
		text-align: center;
	}
	.homeright .img-responsive, .homeleft .img-responsive {
		    margin: auto;
	}
}

@media only screen and (max-width: 1000px) {
.navbar {
    position: absolute;
    top: 200px;
    right: 0;
    z-index: 1;
    margin-left: 0;
    width: 100%;
}
	.main-navigation {
    display: inline-block;
    text-align: right;
    width: 100%;
}
	#mega-menu-wrap-primary .mega-menu-toggle {
    background-color: rgba(0, 14, 43, 0.8);
}
}

@media only screen and (max-width: 550px) {

	.site-branding {
    position: absolute;
    padding-right: 30px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 1;
    width: 100%;
    text-align: center;
}
	.slidepost {
    height: 700px;
	}
	.home h2 {
    font-size: 5vw !important;
}
	.slide-summary {
		display: none;
	}
	.slide-content {
		text-align: center;
	}
}
.homecontent .widget_text {
	    height: 100%;
}
.imgright {
    padding-left: 100px;
    padding-bottom: 80px;
    padding-right: 0;
    padding-top: 100px;
    position: relative;
    height: 100%;
}
.imgright::before {
    content: " ";
    background: url(/wp-content/uploads/2021/06/305-Los-Laureles-58.jpg);
	background-position: center;
	background-size: cover;
    position: absolute;
    width: 45vw;
    height: 100%;
    left: 0;
    z-index: -1;
    top: 0;
}
.imgleft {
    padding-left: 100px;
    padding-bottom: 80px;
    padding-right: 0;
    padding-top: 100px;
    position: relative;
    height: 100%;
}
.imgleft::before {
    content: " ";
    background: url(/wp-content/uploads/2021/06/IMG_7634-scaled.jpg);
	background-position: center;
	background-size: cover;
    position: absolute;
    width: 45vw;
    height: 100%;
    right: 0;
    z-index: -1;
    top: 0;
}
.img3::before {
	background: url(/wp-content/uploads/2021/06/IMG_7678-scaled.jpg);
	background-position: center;
	background-size: cover;
}
.img4::before {
	background: url(/wp-content/uploads/2021/06/IMG_7621-scaled.jpg);
	background-position: center;
	background-size: cover;
}
.homecontentleft {
	padding: 120px 80px 110px 0;
}
.homecontentright {
	padding: 120px 0 110px 100px;
}
.slidercta .panel-grid-cell .widget-title {
margin-top: 0;
    color: #ffffff;
    font-size: 30px;
    text-align: center;
    margin: 0 !important;
}
.testimonial {
	    padding: 20px 26px;
    background-color: #ddd;
    border-radius: 2px;
    margin: 0px 40px;
	position: relative;
}
.testimonial h3 {
    color: #1b396a !important;
    margin: 0 !important;
    font-size: 20px;
    font-weight: normal;
    font-family: 'Questrial', sans-serif;
	    text-align: right;
	    font-weight: 600;
}
.testimonial p {
	color: #1a1a1a !important;
    line-height: 28px;
    font-size: 18px;
}
.testimonial:before {

    content: " ";
    position: absolute;
    display: block;
    background: url(/wp-content/uploads/2020/11/quote.png);
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    top: 15px;
    left: -15px;

}
.slidercta {
	display: none;
}
#envira-gallery-145 {
    width: 1340px;
}
.envira-gallery-wrap {
	    margin: 0 auto 0 auto !important;
}

.caption {
    display: none !important;
}
#envirabox-title-float-wrap tbody, #envirabox-title-float-wrap td {
    display: none;
}