/*
Style over-rides
*/

@import url('https://fonts.googleapis.com/css?family=Karla');
@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,700');

/* global */
body, small, #primary-menu ul ul li>a, .wp-caption, .feature-box.fbox-center.fbox-italic p, .skills li .progress-percent .counter, .nav-tree ul ul a, .font-body, .entry-meta li, .entry-link span, .entry blockquote p, .more-link, .comment-content .comment-author span, .button.button-desc span, .testi-content p, .team-title span, .before-heading, .wedding-head .first-name span, .wedding-head .last-name span, .font-secondary {
    font-family: lato,  Helvetica, Arial, sans-serif !important; /*Karla,*/
    font-size: 20px;
    line-height: 32px;
    font-weight: 300;
    color: #444;
    _background: #FFF;
    text-rendering: optimizeLegibility;
    vertical-align: baseline;
}

#content p {
    line-height: 1.7;
}
.feature-box.fbox-center p {
    font-size: 16px;
    margin-top: 13px;
}
h1, h2, h3, h4, h5, h6, #logo, #primary-menu ul li>a, #primary-menu ul li .mega-menu-content.style-2 ul.mega-menu-column>li.mega-menu-title>a, #top-search form input, .entry-link, .entry.entry-date-section span, .button.button-desc, .counter, label, .nav-tree li a, .wedding-head .first-name, .wedding-head .last-name, .font-primary {
    font-family:lato,Helvetica, Arial, sans-serif !important;
}
.serif {
    _font-family: "Libre Baskerville", serif;
    font-size: 20px;
    _font-weight: bold;
}

h2.red, i.red {#190710
    color: #190710; 
}

a.red:hover {
    _color: #190710 !important; 
}

.hidden {
    display: none;
}

.red-pull-right {
    float: right;
}

.mobile {
    display: none;
}

.page-section {
    padding: 30px 0 0 0;
}

.section.nomargin {
    padding: 30px 0;
}

.section {
    background-color: #77BE42;
    color: white;  
}

.section h2 {
    color: white;
}

.sidepadded {
    padding: 0 20px 0 20px;
    margin-top: 0 !important;
}

.sidepadded-big {
    padding:0 10% 0 10%;
}

#paul {
    display: flex; 
    align-items: center;
}

/* menus */

#header-container {
       
        max-width: 2560px;
    }

#logo {
    margin-top: 13px;
    margin-bottom:10px;
    /*padding-right:0;
    margin-right:0;*/
}

#logo img {
    display: inline-block;
    vertical-align: inherit;
    width: auto;
    height:100px;
    
}

#primary-menu {
     margin-right: -20px;     
}
a {
    color: #000;
    font-weight: normal;
    font-size: 14px;
}
.fa-align-justify:before {
	color:#77BE42;
}
#primary-menu .one-page-menu li a {
    color: #000;
    font-weight: normal;
    font-size: 28px;
    padding-bottom: 0;
    padding-top:10px;
    text-transform: none;
	color:#77BE42;
} 

 #primary-menu ul li>a:active, #primary-menu ul li.current>a {
    color: gray !important;
}

#primary-menu ul li>a:hover {
    color: black !important;
}

#header, #header-wrap {
    height: 180px;
}
.rounded {
    border-radius: 0.5rem !important;
}
.home iframe a.lightwidget__link{
    pointer-events: none;
    cursor: default;
}


/* social icons */
.mobile_icons {
    display: none;
    position: absolute;
    top: 30px;
    right: 0px;
    float: right !important;
    
}
.mobile_icons a.social-icon{
    float:left !important;
    margin-left:3px;
}
.desktop_icons {
    display: inline-block;
    float: right;
    margin-top:13px;
}

.social-icon.si-large {
    margin: 0;
    float: right;
}

.social-icon.si-small {
    margin: 0;
    float: right;
}

.social-icon {
    _color: #fff;
}

/* hero text */
.emphasis-title {
    margin-bottom: 50px;
}

#hero-text {
    font-size: 30px;    
    color: #444;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;   
}

.full-width {
    width: 100%;
}

/* ABOUT */
#about-text {
    background: #A9A9A9;
    max-width: 4096px;
    padding-top: 20px;
    padding-bottom: 20px;
    
}

#about-text p, #about-text a {
    color: white;
    text-align: left !important;
    position: relative;
    left: 10px;    
}

.match-height {
	display:flex;
	justify-content:space-between;
}
.match-height-img, .text {
	flex: 0 0 50%;
	padding:2px;
}
.match-height-img {
	padding:0;
	position:relative;
	overflow:hidden;
}
.match-height-img img {
	position:absolute;
	left:0;
	top:0;
	min-width:100%;
	min-height:100%;
	width:auto;
	height:auto;
}
.text {
	_background:blue;
}

.team-image {
    cursor: pointer;
    opacity: 0.85;
}

.team {
    border-radius: 20px;
}

.team:hover .team-overlay {
    opacity: 1;
}

.team-overlay {
    height: 20%;
}

._vertical-middle {
    padding-top: 100px;
}

#paul {
    padding-top: 20px; padding-bottom: 20px;
}

/* SERVICES */

p.line2 {
    line-height: 2!important;
}

p.line3 {
    line-height: 3!important;
}

p.line4, ul.line4 {
    line-height: 4!important;
}

p.line5, ul.line5 {
    line-height: 5!important;
}

.feature-box {
    padding: 10px !important;
    text-align: left !important;    
}

.feature-box h3 {
    font-weight: 400;
}

.feature-box p, .feature-box ul {
    margin: 8px 0 0;
    color: #999;
}

 .sside3, .sside4, .sside5 {
    display: none;
}

 .our-story .col-lg-4{

     _min-height:570px;
 }


 .services {
     padding: 20px;
 }
 
.services p, .services ul li {
    
    font-size: 16px !important;
}
.services ul li {
    _line-height: 22px !important;
}

.services.consult.active {
    background: #927740;
    
}

.services.active p, .services.active ul {
    color: white;
}

.services.domestic.active {
    background: #8c0000;
}

.services.commercial.active {
    background: #464646;
}

.services.develop.active {
    background: #505050;
}

.services.rectify.active {
    background: #87898C;
}
.services.sustain.active {
    background: #927740;
}


.services.active .feature-box.fbox-plain.fbox-dark .fbox-icon i, .services.active .feature-box.fbox-plain.fbox-dark .fbox-icon img,.services.active h3 {
    color: white;
}

#services_container {
    padding-top: 20px;
    margin: 0;
    background: #464646;
    color: white;
    width: 100%;
}

.services_text {
    display: none;
}

.services_text.active {
    display: block;
}

/* gallery */
#portfolio {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}




.p-img  {
    flex: none;
    max-width: 19%;
    margin: 0.5%;
}

.h-img {
    flex: none;
    max-width: 45%;
    margin: 0.5%;
}

.p-img img, .h-img img {
    max-width: 100%;
}

article.portfolio-item {
    _align-self: auto;
}

/* FOOTER */
#footer.redearth, .redearth #footer {
    _background: #8c0000;   
    background: #1c1c1c;
    border-top-color: rgba(0,0,0,.2);
}
#footer p, #footer h2, #footer h4, #footer a, #footer abbr, #footer strong {
    color: white;
}

#footer a:not(.social-icon) {
    opacity: 0.9;
}

#footer p.medium {
    font-size: 16px;
}

#footer .footer-widgets-wrap {
    padding: 0 0;
}

#copyrights {
    background: #444;
    color: white;
}
.site-links a {
	font-family: Helvetica, Arial, sans-serif !important;
}
.vertical-flex-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.flex-container {

    display: flex;
    flex-flow: row wrap;
    align-content: space-around;
    align-items: center;
    justify-content:center;
}
#footer .widget>h4 {
    margin-bottom: 25px;
	text-transform: none;
	color:#77BE42;
}
#footer .widget ul.footer-site-links li {
    margin: 5px auto;
    font-size: 17px;
    letter-spacing: 1px;
    font-weight: 300;
    width: 122px;
    text-align: left;
}
#gotoTop:hover {
    background-color: rgb(169, 169, 169);
}
.pinterest_icon_after:after {
    font-family:font-icons;
    content: "\e83e";
    margin-left:24px;
}
.instagram_icon_after:after {
    font-family:font-icons;
    content: "\e889";
    margin-left:24px;
}

element.style {
    background-color: rgb(230, 230, 230);
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 601px;
}
.our-story .col-lg-4 {
    _min-height: 570px;
}
@media (min-width: 992px) {

    .desktop-text-block-padding {
        padding:60px 20px;
    }

}

