:root {
  --background-main: #717075;
  --themed-background: #C4D600;
  --themed-text: #717075;
  --white: #ffffff;
  --social-background: #B9B8BE;
}

@font-face {
    font-family: 'FiveOakProjects';
    src: url('/webfonts/ITC Stone Sans Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
 
body {
	font-family: 'FiveOakProjects', Tahoma, Verdana, Segoe, sans-serif;
	font-size: 16px;
	color: #777;
	background-color: var(--background-main);
	overflow: hidden;
}

.left-leaf-wrap {
    background-repeat: no-repeat; 
    background-position: calc(-15vw) calc(-25vh); 
    background-size: 1024px;
}

.right-leaf-wrap {
    background-repeat: no-repeat; 
    background-position: calc(70vw) calc(60vh);
    overflow: hidden;
}

.site-wrap {
    overflow: auto;
	padding: 25px 0;
}

@media (max-width: 1635px) {
    .site-wrap {
        padding: 25px;
    }
}

.page-wrap {
	margin: auto;
    max-width: 1575px;
}

img {
    pointer-events: none;
}

h2, .h2 
{
	font-size: 1.25em;
	margin-top: 0;
	margin-bottom: 25px;
}

.themed-title {
    width: 100%;
    background-color: var(--themed-background);
    padding: 5px 10px;
}

.themed-title {
    color: var(--themed-text);
}

.themed-text {
    color: var(--themed-background);
}

a.themed-text {
    text-decoration: none;
}

.main-content {
    color: var(--white);  
    margin: 25px 50px;
}

.fopheader .navbar,
.fopheader .navbar-collapse .dropdown-menu {
	background-color: var(--themed-background);
}

.fopheader .navbar-collapse .dropdown-menu {
    position: absolute;    
}

.fopheader .navbar-toggler {
    float:right;
    border-style: none;
}

.fopheader .navbar-container {
    width: 100%;
    margin-left: 44px;
    margin-right: 25px;
}

@media (max-width: 1536px) {
    .fopheader .navbar-container {
        margin-left: 37px;
    }
}

@media (max-width: 1366px) {
    .fopheader .navbar-container {
        margin-left: 27px;
    }
}

@media (max-width: 1280px) {
    .fopheader .navbar-container {
        margin-left: 20px;
    }
}

@media (max-width: 1037px) {
    .fopheader .navbar-container {
        margin-left: 5px;
    }
}

@media (max-width: 1000px) {
    .main-content {
        margin: 25px 0;
    }
    
    .fopheader .navbar-container {
        margin-left: 0;
    }
}

.fopheader .navbar-collapse {
    min-height: 30px;
    height: 30px;
    clear:both;
}

.fopheader .navbar-collapse.show {
    display: inline-block;
}

.fopheader .navbar-nav {
    font-size: 1.1em;
}

.fopheader .navbar-nav > li a {
    color: var(--themed-text);
	text-decoration: none;
}

.fopheader .navbar-collapse .dropdown-menu > li .btn-group a {
	text-decoration: none;
    background: 0 0;
}

.fopheader .navbar-text {
    color: var(--themed-text);
    font-weight: bold;
}

.fopheader .navbar-nav > li a:hover,
.fopheader .navbar-nav > li a.active,
.s2 a:hover,
a:hover {
	color: #fff;
	text-decoration: none;
}

.fopheader .navbar-nav .nav-item {
    margin-right: 50px;
}

.s2 a {
    color: var(--themed-background);
	text-decoration: none;
}

.fopheader .navbar {
    margin-bottom: 0;
    padding: 0;
}

.fopheader .navbar-nav .home {
    color: white;
    margin-top: -2px;
}

@media (max-width: 1037px) {
    .fopheader .navbar-nav .nav-item {
        margin-right: 30px;
    }
}
@media (max-width: 925px) {
    .fopheader .navbar-right {
        display: none;
    }
}

@media (max-width: 888px) {
        .fopheader .navbar-nav .nav-item {
        margin-right: 20px;
    }
}

@media (max-width: 837px) {
        .fopheader .navbar-nav .nav-item {
        margin-right: 10px;
    }
}

@media (max-width: 787px) {
        .fopheader .navbar-nav .nav-item {
        margin-right: 5px;
    }
}

.navbar-collapse {
	padding: 0;
	margin: 0;
}

.navbar-collapse.in {
    overflow: hidden;    
}

.mobile-contact {
    padding-bottom: 10px; 
    color: white;
}

.mobile-contact span {
    float: right;
}

.mobile-contact:after {
    content: "";
    display: block;
    clear:both;
}

@media (min-width: 768px) {
    .mobile-contact {
        display: none;
    }
}

.header-panel {
    margin-bottom: 25px;
    padding-right: 25px;
    border: 2px solid #BAB9BE;
    box-shadow:  2px 3px #454545;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    background-size: 65%; 
    background-repeat: no-repeat; 
    background-position: 105% 40%;
    transition: 0.4s;
	background-color: var(--background-main);
}

.header-panel .logo {
    width: 33%;
    min-width: 200px;
    align-items: center;
}

.header-panel .logo img {
    display: block;
}

.header-panel h1 {
    color: white;
    padding-left: 40px;
    padding-bottom: 13px;
    font-size: 2.4em;
}

@media (max-width: 1590px) {
    .header-panel h1 {
        font-size: 2em;
    }
}

@media (max-width: 1400px) {
    .header-panel h1 {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .header-panel h1 {
        font-size: 1.4em;
    }
}

.navbar-toggle {
	margin-top: 28px;
}

.portfolio {
    margin-top: 50px;
    margin-bottom: 50px;
}

.portfolio-nav {
	text-align: center;
	color: white;
	min-height: 30px;
	margin-bottom: 25px;
	display: flex;
}

.portfolio-nav-item {
	margin-top: 10px;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .portfolio-nav {
    	min-height: 0;
    }
    
    .portfolio-nav-item {
        display:none;
    }
}

.portfolio-nav-item a {
	color: white;
	text-decoration: none;
}

.portfolio-nav-item > a:hover,
.portfolio-nav-item > a.active {
	color: #C1D72D;
	text-decoration: none;
}

.portfolio-category-nav {
	background-color: var(--themed-background);
	padding: 5px;
	margin-bottom: 25px;
	display: flex;
}

@media (max-width: 768px) {
    .portfolio-category-nav {
        display:none;
    }
}

.portfolio-category-nav .item-separator {
    padding: 0 5px;    
}

.portfolio-category-nav .parent-text {
    padding: 0 5px;
    color: white;
    font-size: 1.1em;
}

.portfolio-category-nav-item {
    padding-top: 3px;    
}

.portfolio-category-nav-item > a:hover,
.portfolio-category-nav-item > a.active {
	color: white;
	text-decoration: none;
}

.dropdown-menu {
    background-color: var(--background-main);
    padding-left: 5px;
}
.social-icons {
    padding-bottom: 23px;
    margin-left: auto;
}

.social-icons .fa-brands {
	font-size: 1.8em;
}

.social-icons .fa-brands {
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	color: #FFF;
	color: rgba(255, 255, 255, 0.8);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	border-radius:5px;
}

.social-icons .fa-brands:hover, .social-icons .fa-brands:active {
	color: #FFF;
	-webkit-box-shadow: 1px 1px 3px #333;
	-moz-box-shadow: 1px 1px 3px #333;
	box-shadow: 1px 1px 3px #333; 
}
.social-icons.icon-zoom .fa-brands:hover, .social-icons.icon-zoom .fa-brands:active { 
 	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1); 
}
.social-icons.icon-rotate .fa-brands:hover, .social-icons.icon-rotate .fa-brands:active { 
	-webkit-transform: scale(1.1) rotate(360deg);
	-moz-transform: scale(1.1) rotate(360deg);
	-ms-transform: scale(1.1) rotate(360deg);
	-o-transform: scale(1.1) rotate(360deg);
	transform: scale(1.1) rotate(360deg);
}
 
.social-icons .fa-brands {
    color: var(--social-background);
}
    

.fa-phone {
	color: white;
	padding-right: 10px;
}

.fop-brand {
	margin-left: -15px;
	float:left;
}

.fop-tagline {
	text-align: center;
	background-color: #717075;
	color: white;
	padding: 5px 0;
}

.about-container img {
    float: left;
    margin-right: 25px;
    margin-bottom: 25px;
    width: 25%;
    min-width: 150px;
    max-width: 450px;
}

.portfolio-container {
    display: inline-grid;
    grid-template-columns: repeat(4, minmax(150px, 450px));
    justify-content: space-between;
    column-gap: 25px;
    row-gap: 50px;
    text-align: center;
}

@media (max-width: 1000px) {
    .portfolio-container {
        grid-template-columns: repeat(3, minmax(150px, 450px));
    }
}

@media (max-width: 768px) {
    .portfolio-container {
        grid-template-columns: repeat(2, minmax(100px, 450px));
    }
}

#portfolio-categories {
    margin: 0 100px;    
}

@media (max-width: 810px) {
    #portfolio-categories {
        margin: 0;    
    }
}

.portfolio-category-title {
	background: var(--themed-background);
    line-height: 2em;
}

.portfolio-category a {
    display: block;
    color: var(--themed-text);
	font-size: 1.1em;
    text-decoration: none;
 }

@media (max-width: 480px) {
    .portfolio-category a {
    	font-size: 1em;
     }
}

.portfolio-category a:hover {
    color: var(--white);
 }
 
.portfolio-category > a > img {
	border:2px solid #c3c2ca;
	margin: 5px 0;
}

.portfolio-category-content p {
    color: white;
}

.portfolio-category-content p a {
    color: white;
    text-decoration: italic;
}

.portfolioItem-title {
    color: white;
}

@media (max-width: 768px) {
	.portfolio-category-content .twoImageLayout .secondImage {
		margin-left: 0;
		margin-top: 14px;
	}
	.portfolio-category-content .threeImageLayout .secondImage,
	.portfolio-category-content .threeImageLayout .thirdImage {
		margin-left: 0;
		margin-right: 0;
		margin-top: 14px;
	}
	.portfolio-category-content .threeImageLayout .secondImage img {
		padding-bottom: 0;
	}
	.portfolio-category-content .threeImageLayout .thirdImage img {
		padding-top: 0;
	}
}

.portfolio-category-content .details {
	margin-top: 14px;
	margin-bottom: 20px;
}
.portfolio-category-content img {
	max-width: 100%;
	display:block;
}

.portfolio-category-content img {
    border:2px solid #c3c2ca;
}


.beforeafter-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.twentytwenty-container {
	width: 100%;
}

@media (max-width: 1340px) {
    .beforeafter-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .beforeafter-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
}

.news-headline-title {
    padding-top: 10px;
    font-size: 1.25em;
}

.news-headline-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 350px));
    justify-content: space-between;
    column-gap: 25px;
}

@media (max-width: 1000px) {
    .news-headline-content {
        grid-template-columns: repeat(2, minmax(150px, 350px));
        row-gap: 25px;
    }
}

@media (max-width: 768px) {
    .news-headline-content {
        grid-template-columns: repeat(2, minmax(100px, 350px));
    }
}
.news-headline-content a {
    text-decoration: none; 
    color: var(--white);  
}
.news-headline-content  a  img {
	border:2px solid #c3c2ca;
}

/* Contact Us Section */
.contactus-grid {
    display: grid;
    grid-template-columns: max-content auto fit-content();
    column-gap: 20px;
}

.contactus-grid .address,
.contactus-grid .regOffice {
    grid-row: 1 / span 2;
    
}

.contactus-grid .address {
    grid-column: 1;
    border-right: 1px solid var(--themed-background);
    margin-right:-10px; 
    padding-right:10px; 
}

.contactus-grid .address p {
    margin: 0;
}

.contactus-grid .contactTels {
    grid-column: 2;
}

.contactus-grid .contactEmails {
    grid-column: 2;
    align-self: end;
}

.contactus-grid .regOffice {
    grid-column: 3;
    align-self: stretch;
    align-content: flex-end;
    border-left: 1px solid var(--themed-background);
    margin-left:-10px; 
    padding-left:10px; 
}

.contactus-grid .regOffice .copyright {
    font-size: 1.1em;
    float: right;
}

@media (max-width: 768px) {
    .contactus-grid .regOffice .copyright {
        float: left;
    }
}

@media (max-width: 1250px) {
    .contactus-grid .regOffice {
        grid-row: 3;
        grid-column: 1;
        padding-top: 10px;
        border-left: 0;
        border-right: 1px solid var(--themed-background);
        margin-right:-10px; 
        padding-right:10px; 
    }
    
}

@media (max-width: 998px) {
    .contactus-grid .address {
        grid-row: 1;
        border-right: 0;
    }

    .contactus-grid .contactTels {
        padding-top: 10px;
        grid-column: 1;
        grid-row: 2;
    }
    
    .contactus-grid .contactEmails {
        grid-column: 1;
        grid-row: 3;
    }

    .contactus-grid .regOffice {
        grid-row: 4;
        border: 0;
    }
}

.associations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 25px;
}

.association-item img {
    height: 80px;
}

.circle {
    width: 5px;
    height: 5px;
    background-color: var(--themed-text);
    border-radius: 50%;
    display:inline-block;
}


