/*
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('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url("https://use.typekit.net/sut1obg.css");
@import url( inc/font/stylesheet.css );

/* Content */

html {
    overflow-x: hidden;
}
body {
	font-family: 'Montserrat', sans-serif;
	background: #fff;
	color: #666;
}
#masthead {
	position: relative;
}
:focus {
    outline: none;
}

a {
    color: #466a42;
    text-decoration: none;
}
a:hover, a:focus {
    color: #111111;
    text-decoration: underline;
}
.site-content {
	float: left;
	position: relative;
	width: 100%;
}

.home p {
    margin: 4px 4px 20px 4px;
    padding: 0px 0px 0px 0px;
    font-size: 18px;
    line-height: 32px;
    color: #333;
}
p {
    margin: 4px 4px 30px 4px;
    padding: 0px 0px 0px 0px;
    font-size: 18px;
    line-height: 30px;
    color: #333;
	font-weight: normal;
}

h1 {
	font-family: 'breve_titlesemibold',Times New Roman,Times,serif;
    text-transform: none;
    letter-spacing: normal;
    font-size: 60px;
    font-weight: normal;
    text-align: left;
    color: #111111;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}
h2 {
	font-family: 'breve_titlesemibold',Times New Roman,Times,serif;
    text-transform: none;
    letter-spacing: normal;
    font-size: 40px;
    font-weight: normal;
    text-align: left;
    color: #558e4f;
    margin: 0 0 20px 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}
h3 {
	font-family: 'breve_titlesemibold',Times New Roman,Times,serif;
    text-transform: none;
    letter-spacing: normal;
    font-size: 30px;
    font-weight: normal;
    text-align: left;
    color: #333333;
    margin: 0 0 20px 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}
h4 {
	font-family: 'breve_titlesemibold',Times New Roman,Times,serif;
    text-transform: none;
    letter-spacing: normal;
    font-size: 24px;
    font-weight: normal;
    text-align: left;
    color: #558e4f;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}
.site-footer h4 {
	margin: 30px 0;
}
.altrow h2, .altrow h3, .altrow h4 {
	color: #e9ead8;
}
.altrow p {
	color: #fff;
}

ul {
    margin: 4px 0 0 28px;
    padding: 0px 0px 0px 0px;
    font-size: inherit;
    line-height: 21px;
    color: #444;
    list-style: initial;
}
ul {
	font-size: 18px;
    margin: 8px 0 34px 38px;
}
ul li {
	margin-bottom: 7px;
	    font-size: 16px;
    line-height: 28px;
    color: #333;
	font-weight: bold;
}
ol li {
	margin-bottom: 9px;
}
ul ul {
    list-style-type: circle;
    margin-block-end: 0px;
}
.home .contentrow {
	padding: 175px 0 155px 0;
}
.contentrow {
	padding: 75px 0 65px 0;
}
.altcontent p, .altcontent h2, .altcontent h3, .altcontent h4 {
	color: #fff;
}
.home .panel-grid {
	margin-bottom: 0 !important;
}

/* Sidebar */
#secondary {

}
#secondary h2 {
	font-size: 22px;
	margin: 0;
}
#secondary ul {
	margin: 4px 0 0 4px;
    list-style: none;
}
#secondary li a {
	font-size: 16px;
	/* background-color: #be8747;
    color: #fff;
    padding: 10px 20px;
    display: inline-block;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;*/
} 
#secondary section {
	    margin-bottom: 30px;
}


/* Navigation */
.site-branding {
	
}
.navbg {
	background-color: #fff;
    height: 110px;
    position: absolute;
    width: 100%;
}
.headlogo {
	top: 0;
    left: 100px;
    position: absolute;
    background-image: url(/wp-content/uploads/2020/07/SSCI-Environmental-Logo-Rev-Clr.png);
    height: 75px;
    width: 365px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
    margin: auto;
    display: block;
    margin-top: 97px;
	/* -webkit-mask-image: url(/wp-content/themes/johnnyo_design/inc/svg/hbtn.svg);
	mask-image: url(/wp-content/themes/johnnyo_design/inc/svg/hbtn.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-size: contain;
    background-color: #000000; */
}
.headlogo:after {
content: "";
    background-image: url(/wp-content/uploads/2026/01/SSCI-40th-Anniversary.png);
    height: 75px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
    position: absolute;
    top: 0;
    width: 110px;
    right: -130px;
}
.headlogo img {
	    margin: auto;
    display: block;
    margin-top: 97px;
}
.headlogo span {
	    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
	font-family: 'Montserrat', sans-serif;
    color: #abac8b;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 24px;
}
.navbar {
	z-index: 9999;
	width: 100%;
    position: relative;
	height: 0;
}
.widget_nav_menu {
	margin: 0 !important;
	padding-bottom: 0 !important;
}
.main-navigation {
	top: 110px;
    position: absolute;
    right: 100px;
}

#mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link {
	font-family: 'Montserrat', sans-serif !important;
    font-size: 22px !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
	font-size: 18px !important;
    padding-top: 8px;
    padding-left: 15px;
	padding-right: 15px;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
	    margin: -5px 0 0px 6px;
}

/* Footer */
.footerlogo {
    height: 70px;
    width: auto;
    margin-bottom: 10px;
}
.footer-top {
	padding: 0;
    padding-top: 50px;
}
.footer-content {

}
.site-footer {
    background-color: transparent;
    float: left;
    width: 100%;
	position: relative;
}

.site-footer p {
    color: #fff;
	font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: normal;
    line-height: 22px;
}
.site-footer b, strong {
    font-weight: 900;
    font-size: 20px;
	    color: #fff;
}
.siteinfo p {
	    font-size: 10px;
    margin-top: 10px;
	margin-bottom: 30px;
    color: #fff;
	font-weight: bold;
}
.site-footer {
	background-color: #777777;
	position: relative;
    background: -moz-radial-gradient(top center, ellipse cover, #cccccc 0%, #777777 100%);
    background: -webkit-radial-gradient(top center, ellipse cover, #cccccc 0%, #777777 100%);
    background: radial-gradient(at top center, #cccccc 0%, #777777 100%);
}
.site-info {
		margin-top: 0px;
}
.siteinfo {
	text-align: left;
}
.site-footer ul {
	padding: 0;
    margin: 0;
    list-style: none;
    color: #fff;
	font-size: 14px;
}
.site-footer a {
	color: #fff;
}
.site-footer ul a {
	    color: #fff;
    padding: 0px 10px;
    display: block;
        width: fit-content;
    width: -moz-fit-content;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border: 3px solid #fff;
    border-radius: 10px;
}
.site-footer ul a:hover {
	    color: #777;
		    background-color: #fff;
	text-decoration: none;
}
.socialfooter {
	float: right;
}
.socialfooter a {
    color: #fff;
    font-size: 18px;
    padding: 0 10px;
}
.socialfooter a:hover {
	color: #bd8748;
}

/* Slider */
.slick-slider {
	margin-bottom: 0 !important;
}
.slider h1 {
	text-align: left;
	color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 37px;
    line-height: 40px;
}
.slider p {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    line-height: 40px;
}
.slider a {
	  /**  color: rgba(153, 188, 65, 0.8);
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
	position: relative; **/
	padding: 10px 20px;
    display: block;
        width: fit-content;
    width: -moz-fit-content;
    margin-top: 10px;
    color: #99bc41;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    border: 3px solid #99bc41;
    border-radius: 10px;
}/**
.slider a:before {
    content: " ";
    height: 4px;
    width: 50px;
    background-color: rgba(153, 188, 65, 0.8);
    position: absolute;
    top: 14px;
    right: -60px;
}
.slider a:after {
    content: " ";
    border: solid rgba(153, 188, 65, 0.8);
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 6px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    position: absolute;
    top: 8px;
    right: -60px;
} **/
.slider a:hover {
	text-decoration: none;
	/**color: rgba(153, 188, 65, 1); **/
	color: #394821;
	background-color: #99bc41;
} /**
.slider a:hover:after {
	border: solid rgba(153, 188, 65, 1);
	border-width: 0 4px 4px 0;
}
.slider a:hover:before {
	background: rgba(153, 188, 65, 1);
} **/
.slidewrap {
position: absolute;
    bottom: 40px;
    right: 0px;
    left: 40px;
    width: 70%;
    padding: 30px;
}
.slide-interior {
	       position: relative;
}
.slide {
	height: 100vh;
	width: 100%;
	background-size: cover !important;
    background-position: center!important;
	display: block;
}
.entry-content .container {
	padding: 40px 0;
}
.altrow {
	background-color: #a2ac9f;
	position: relative;
}
.altrow .container {
	padding: 140px 0;
}

/* GENERAL SLIDES */

.slide1 {
    height: calc(100vh - 360px);
    min-height: 610px;
	width: 100%;
	background-size: cover;
    background-position: center;
	display: block;
	background-image: url(/wp-content/uploads/2020/07/Depositphotos_6136057_1920.jpg);
}
.slide2 {
    height: calc(100vh - 360px);
    min-height: 610px;
	width: 100%;
	background-size: cover;
    background-position: center;
	display: block;
	background-image: url(/wp-content/uploads/2020/07/Depositphotos_67893407_1920.jpg);
}
.slide3 {
    height: calc(100vh - 360px);
    min-height: 610px;
	width: 100%;
	background-size: cover;
    background-position: center;
	display: block;
	background-image: url(/wp-content/uploads/2020/07/Depositphotos_19466575_1920.jpg);
}
.slide4 {
    height: calc(100vh - 360px);
    min-height: 610px;
	width: 100%;
	background-size: cover;
    background-position: center;
	display: block;
	background-image: url(/wp-content/uploads/2020/07/Depositphotos_10023973_1920_1.jpg);
}
.slide5 {
    height: calc(100vh - 360px);
    min-height: 610px;
	width: 100%;
	background-size: cover;
    background-position: center;
	display: block;
	background-image: url(/wp-content/uploads/2020/07/Depositphotos_30585135_1920.jpg);
}
.slide6 {
    height: calc(100vh - 360px);
    min-height: 610px;
	width: 100%;
	background-size: cover;
    background-position: center;
	display: block;
	background-image: url(/wp-content/uploads/2020/07/Depositphotos_33831777_1920.jpg);
}

.slide1::after, .slide2::after, .slide3::after, .slide4::after {
    /**content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 100%);
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#4d000000',GradientType=0 ); **/

}

.slide-interior {
height: 50vh;
    min-height: 600px;
}
.interior-content {
	padding: 40px 0;
}
.socialmenu {
	position: absolute;
    bottom: 100px;
    right: 100px;
}
.fab {
    color: #fff;
    font-size: 24px;
    padding-left: 10px;
	    margin-left: 20px;
}
.fab:hover {
    color: #99bc41;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	padding-left: 30px;
	position: relative;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item a.mega-menu-link:hover::before {
    content: " ";
    background-color: #99bc41 !important;
    height: 25px !important;
    width: 5px !important;
    position: absolute !important;
    left: 18px !important;
    top: 6px !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link::before {
	    content: " ";
    background-color: #99bc41 !important;
    height: 100% !important;
    width: 5px !important;
    position: absolute !important;
    left: 0px !important;
    top: 0px !important;
}
.firstrow {
	background-color: #558e4f;
	color: #fff;
    font-size: 16px;
	background: rgb(85,142,79);
background: -moz-linear-gradient(15deg,  rgba(85,142,79,1) 0%, rgba(153,188,65,1) 100%);
background: -webkit-linear-gradient(15deg,  rgba(85,142,79,1) 0%,rgba(153,188,65,1) 100%);
background: linear-gradient(15deg,  rgba(85,142,79,1) 0%, rgba(123, 167, 71, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#558e4f', endColorstr='#99bc41',GradientType=1 );

}
title {
	display: block;
    font-size: 40px;
    font-weight: normal;
    text-transform: capitalize;
    padding: 20px 0;
    font-family: 'breve_titlesemibold',Times New Roman,Times,serif;
    text-transform: none;
    letter-spacing: normal;
}
.firstrow a {
padding: 10px 20px;
    display: block;
        width: fit-content;
    width: -moz-fit-content;
    margin-top: 10px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    border: 3px solid #fff;
    border-radius: 10px;
}
.firstrow a:hover {
	background-color: #fff;
	    color: #558e4f;
	text-decoration: none;
}
.firstrow span {
	color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
	display: block;
	font-weight: 600;
}
.itemimg {
	width: 60px;
    margin-bottom: 10px;
    display: block;
}
.downarrow {
	position: absolute;
	bottom: 0;
}
.para .container {
	padding: 0;
}
.footer-top h3 {
	color: #fff;
	    font-size: 24px;
}
.footright {
    text-align: right;

}
.footright h3 {
	color: #fff;
	font-family: 'breve_titlesemibold',Times New Roman,Times,serif;
    text-transform: none;
    letter-spacing: normal;
    font-size: 17px;
    font-weight: normal;
    line-height: 22px;
    text-align: right;
    margin-bottom: 7px;
}
.socialfoot {
display: inline-flex;
}
.socialfoot .fab {
    font-size: 30px;
    color: #fff;
    padding-left: 4px;
    padding-right: 4px;
}
.socialfoot .fab:hover {
    color:#99bc41;
}
.logorow p {
display: flex;
    justify-content: space-between;
    background-color: #eee;
    padding: 40px;
	margin: 0;
}
.logorow img {
    max-height: 70px;
    height: 5vw;
}
.illust {
	    width: 100%;
    padding: 60px;
}

#pg-w5ef8288f50c06-0 {
	padding-bottom: 40px;
}

.site-branding {
	    position: fixed;
    width: 100%;
	height: 200px;
}
.site-branding, .headlogo, .main-navigation {
	transition: all 0.5s ease;
}
.headtop {
	background-color: #fff;
	    height: 140px;
	transition: all 0.5s ease;
}
.headtop #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	color: #99bc41;
	transition: all 0.5s ease;
}
.headtop .headlogo {
	background-image: url(/wp-content/uploads/2020/06/logocolor.png);
	    margin-top: 28px;
	transition: all 0.5s ease;
}
.headtop .main-navigation {
    top: 54px;
	transition: all 0.5s ease;
}
@media only screen and (max-width: 2030px) {
	.logorow img {
    height: 4vw;
}
}
@media only screen and (max-width: 1200px) {
	.logorow p {
    display: block;
    text-align: center;
}
	.logorow img {
height: 50px;
    display: inline-block;
    margin: 10px;
}
}

.post-template-default .firstrow, .blog .firstrow, .archive .firstrow {
	margin-bottom: 80px;
}
.post-template-default .site-footer, .blog .site-footer, .archive .site-footer {
	margin-top: 80px;
}
.summary-info a {
	    margin-right: 10px;
}
.posts-navigation h2 {
	display: none;
}

.mega-menu-primary-mobile-open #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item a.mega-menu-link:hover::before{
	    content: " ";
    background-color: #99bc41 !important;
    height: 100% !important;
    width: 5px !important;
    position: absolute !important;
    left: 0px !important;
    top: 0px !important;
}
.mega-menu-primary-mobile-open #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link::before{
	    content: " ";
    background-color: #99bc41 !important;
    height: 100% !important;
    width: 5px !important;
    position: absolute !important;
    left: 0px !important;
    top: 0px !important;
}

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label .mega-toggle-label-closed, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label .mega-toggle-label-open {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 22px !important;
    color: #fff;
}
.headtop #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label .mega-toggle-label-closed, .headtop #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label .mega-toggle-label-open {
	    color: #99bc41;
}
.headtop #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1:after {
    color: #99bc41;
}
.mega-menu-primary-mobile-open .headtop #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	color: #fff;
}
.mega-menu-primary-mobile-open .mega-menu-primary-mobile-open #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
	color: #99bc41 !important;
}
@media only screen and (max-width: 1000px) {
	.slider p {
    font-size: 3vw;
    line-height: 4vw;
}
	.slider h1 {
    font-size: 3.7vw;
    line-height: 4vw;
}
	.home .textwidget {
		padding: 0 10px;
	}
}
@media only screen and (max-width: 750px) {
	.headlogo:after {
		display: none;
	}
}
@media only screen and (max-width: 670px) {
.headlogo {
    left: 40px;
	    margin-top: 47px;
	max-width: calc( 100% - 160px );
	background-position: center;
}
	.main-navigation {
    top: 70px;
    right: 50px;
}
}

@media only screen and (max-width: 550px) {
.socialmenu {
    position: absolute;
    bottom: 20px;
    right: 0;
    left: 0;
        width: fit-content;
    width: -moz-fit-content;
    margin: auto;
}
}

.company_logo {
	display: none!important;
}
.home-par {
	height: 50vh;
	max-height: 450px;
	background-image: url(https://dev.sscienvironmental.com/wp-content/uploads/2020/06/Depositphotos_218851336_1920.jpg);
	background-size: cover;
	background-attachment: fixed;
  	background-position: 50% 0;
	margin: 0 -15px;
}
@media only screen and (max-width: 1000px) {
.home .textwidget .home-par, .logorow {
    padding: 0 10px;
	margin: 0 -15px;
}
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
	color: #99bc41 !important;
}
.search .excerpt_part strong {
  color: #333;
      font-weight: bold;
}
#secondary {
      margin-top: 50px;
}
.headertop {
	width: fit-content;
    right: 100px;
    position: absolute;
    display: flex;
    align-items: center;
    top: 10px;
}
.headertop a {
	    color: #99bc41;
	    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
	    margin-right: 20px;
	text-transform: uppercase;
}
.headertop a i {
	margin-right: 10px;
}
@media only screen and (max-width: 1100px) {
.headertop {
    display: none;
}
}