/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
   FONTS
   ========================================================================== */
    @font-face {
      font-family: 'Calibri';
      src: url('../fonts/Calibri.eot');
      src: url('../fonts/Calibri.eot?#iefix') format('embedded-opentype'),
           url('../fonts/Calibri.woff') format('woff'),
           url('../fonts/Calibri.ttf') format('truetype'),
           url('../fonts/Calibri.svg#Calibri') format('svg');
      font-weight: bold;
      font-style: normal;
    }

    @font-face {
      font-family: 'Calibri';
      src: url('../fonts/CalibriLightItalic.eot');
      src: url('../fonts/CalibriLightItalic.eot?#iefix') format('embedded-opentype'),
           url('../fonts/CalibriLightItalic.woff') format('woff'),
           url('../fonts/CalibriLightItalic.ttf') format('truetype'),
           url('../fonts/CalibriLightItalic.svg#CalibriLightItalic') format('svg');
      font-weight: 300;
      font-style: italic;
    }

    @font-face {
      font-family: 'Calibri';
      src: url('../fonts/CalibriBoldItalic.eot');
      src: url('../fonts/CalibriBoldItalic.eot?#iefix') format('embedded-opentype'),
           url('../fonts/CalibriBoldItalic.woff') format('woff'),
           url('../fonts/CalibriBoldItalic.ttf') format('truetype'),
           url('../fonts/CalibriBoldItalic.svg#CalibriBoldItalic') format('svg');
      font-weight: bold;
      font-style: italic;
    }

	@font-face {
        font-family: 'sciflysans';
        src: url('../fonts/scifly-sans-webfont.eot');
        src: url('../fonts/scifly-sans-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/scifly-sans-webfont.woff2') format('woff2'),
        url('../fonts/scifly-sans-webfont.woff') format('woff'),
        url('../fonts/scifly-sans-webfont.ttf') format('truetype'),
        url('../fonts/scifly-sans-webfont.svg#sciflysans') format('svg');
        font-weight: normal;
        font-style: normal;
        }

    @font-face {
      font-family: 'Swiss 721';
      src: url('../fonts/swiss_721_bold.eot');
      src: url('../fonts/swiss_721_bold.eot?#iefix') format('embedded-opentype'),
           url('../fonts/swiss_721_bold.woff2') format('woff2'),
           url('../fonts/swiss_721_bold.woff') format('woff'),
           url('../fonts/swiss_721_bold.ttf') format('truetype'),
           url('../fonts/swiss_721_bold.svg#swiss_721bold') format('svg');
      font-weight: bold;
      font-style: normal;

  }


/* ==========================================================================
   STYLES
   ========================================================================== */
   * {
        box-sizing: border-box;
        outline: 0;
    }
    .left { float:left; }
    .right { float:right; }
    .container { max-width: 990px; margin: auto; padding-left: 15px;padding-right: 15px;}
    .clearfix:after,
    .clearfix:before,
    .container:after,
    .container:before { display: block; content: ""; clear: both; line-height: 0; }

    body { font-family: 'Maven Pro', sans-serif; font-size: 16px; color: #454545; line-height: 18px;}
    /*h1, h2, h3, h4, h5, h6, p { padding: 0; margin: 0; }*/
    h1 { font-size: 36px; line-height: 39px; margin-bottom: 35px; }
    h1, 
    h2 { color: #87bc1f; font-family: 'sciflysans'; }
    h2 { font-size: 30px; line-height: 30px; }
	h3{font-size:25px;}
	h4{font-size:21px;}
	h3,h4{margin-bottom: 15px;font-family: 'sciflysans';color: #636363;}
    h5 { font-size: 18px; /*line-height: 25px; */ margin-bottom: 15px; font-family: 'sciflysans'; color: #636363; }
    h6 { font-size: 17px; line-height: 20px; font-weight: 300; font-style: italic; margin-bottom: 25px; color: #000000; }
    p { line-height: 21px; margin-bottom: 25px; }
    a { text-decoration: none; }
    a:hover { text-decoration: underline; }
    hr { height: 1px; border-color: #cae1bb; margin-bottom: 22px; }
    ul, ol { padding:0; margin: 0 0 15px 40px; }
    ul li { list-style: disc;}
    ul li,
    ol li { padding-left: 5px; padding-bottom: 10px; font-size: 16px; line-height:21px;}
    ol li { list-style: decimal; }

    .button,
    button, .home-content a { display: inline-block; color: #000000; font-size: 18px; font-weight: 300; font-style: italic; padding: 0 12px; line-height: 39px; border-radius: 8px; border: 1px solid #eceee8; background: #f2f8e7; font-family: 'Calibri'; }


/* ==========================================================================
   HEADER
   ========================================================================== */
   header { padding: 18px 0}
   header #menu ul { padding: 0; margin: 0; }
   header #menu ul li { float: left; list-style: none; padding: 0 16px; margin: 0; line-height: 1; font-family: 'Calibri'; }
   header #menu ul li a { font-size: 15px; font-weight: bold; color: #777777; font-family: 'Montserrat', sans-serif; }
   .header-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

/* ==========================================================================
   BANNER
   ========================================================================== */
   #banner { border-top: 7px solid #75c112; }
   #banner img { width: 100%; }
   .home-banner { background: url(../images/bg-home-banner.gif) 0 bottom repeat-x; padding-bottom: 12px; }
   .inner-banner { position: relative; }
   .inner-banner .page-title { position: absolute; width: 100%; left: 0; bottom: 0; z-index: 1; }
   .inner-banner .page-title.services { bottom: 24px; }
   .inner-banner h1 { text-transform: uppercase; padding: 11px 43px; line-height: normal; margin: 0; font-size: 26.74px; color: #ffffff; font-weight: normal; font-family: 'sciflysans'; background: rgba(150, 204, 82, .83); display: inline-block; }

   .banner-menu { position: absolute; left: 0; bottom: 12px; width: 100%; z-index: 5; }
   .project-categories { margin-bottom: 14px; }
   .project-categories,
   .project-sectors { float: right; padding: 0; }
   .project-sectors { margin: 0; }
   .project-categories li,
   .project-sectors li { list-style: none; float: left; padding-left: 14px; padding-bottom: 0; }
   .project-categories li a,
   .project-sectors li a { font-size: 25px; /*font-weight: 300; font-style: italic;*/font-weight:bold; color: #ffffff; display: block; padding: 0 19px; line-height: 40px; border: 1px solid transparent; font-family: 'Calibri'; }
   .project-categories li.selected > a,
   .project-sectors li.selected > a,
   .project-categories li a:hover,
   .project-sectors li a:hover { text-decoration: none; border-color: rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); }


/* ==========================================================================
   FOOTER
   ========================================================================== */
   footer { border-top: 7px solid #75c112; border-bottom: 1px solid #7e7e7e; box-shadow: 0 0px 0px 1px #7e7e7e inset; background: #404040; padding: 9px 0 56px; }
   .footer-logo { margin-right: 61px; }
   .footer-text { padding-top: 33px; }
   .footer-text p { line-height: 21px; padding: 0; margin: 0; font-style: italic; }
   .footer-text p,
   .footer-text p a { font-size: 15px; color: #aafd3f; font-family: 'Calibri'; }
   .site-by { padding-top: 47px; }
   .site-by span { font-family: 'Swiss 721'; font-size: 12px; font-weight: bold; color: #c2c2c2; }
   .site-by span,
   .site-by a { display: inline-block; line-height: 32px; vertical-align: top; }
   .site-by a { margin-left: 13px; }

/* ==========================================================================
   FEATURE
   ========================================================================== */
   .feature-box { width: 50%; float: left; }
   .feature-imageholder img { width: 100%; height: 100%; object-fit: cover; }
   .feature-descholder { background: #407c3a; position: relative; padding-top: 1px; }
   .feature-descholder .heading { float: right; height: auto; background: url(../images/bg-feature-heading.gif) 0 0 no-repeat #3a4838; border-bottom: 1px solid #3c5e39; padding: 10px 83px 10px 61px; margin-bottom: 13px; }
   .feature-descholder .heading h3 { line-height: 1.3; padding: 0; margin: 0; font-family: 'sciflysans'; font-size: 26px; font-weight: normal; color: #ffffff; }
   .feature-descholder .title { height: auto; background: url(../images/bg-feature-title.gif) right 0 no-repeat #5fa815; padding: 10px 56px 10px 26px; display: inline-block; background-size: contain; margin-right: 15px;}
   .feature-descholder .title h3 { font-size: 26px; font-weight: normal; color: #ffffff; line-height: 1.3; font-family: 'sciflysans'; padding: 0; margin: 0; display: inline-block; }
   .feature-descholder .context { padding: 15px 30px; }
   .feature-descholder .context p { margin-bottom: 30px; font-weight: 300; font-style: italic; }
   .feature-descholder .context p,
   .feature-descholder .context a { font-size: 19px; color: #ffffff; line-height: 25px; font-family: 'Calibri'; }
   .feature-descholder .context a { display: block; }

/* ==========================================================================
   DISPLAY AREA
   ========================================================================== */
   #display-area { padding: 70px 0 140px; min-height: 350px; position: relative; background: url(../images/bg-inner-content.png) right top no-repeat; }
   #display-area.home { padding: 48px 0; min-height: auto; background: none; }

   .content-home-bg { background: url(../images/bg-home-content.png) right bottom no-repeat; bottom: 0; position: absolute; right: 0; height: 385px; width:0; }

   .home-content { width: 495px; }

   .content-group { margin-bottom: 20px; }
   .heading-left { width: 25%; float: left; }
   .context-right { width: 75%; float: right; }

   .service { width: 40%; float: left; margin-bottom: 15px; }
   .services .service:nth-child(even) { float: right; }
   .service .heading { height: 54px; display: table; width: 100%; }
   .service .heading h5 { display: table-cell; vertical-align: middle; }
   .service .context { padding: 22px 0 0; }
   .service .context p { color: #707070; }

   #project-slider { position: relative; }
   #project-slider .slides { z-index: 1; }
   #project-slider .slide,
   #project-slider .slide img { width: 100%; }
   #project-slider .cycle-pager { position: absolute; display: block; bottom: 56px; left: 0; text-align: center; z-index: 5;padding: 0 10px;right: 0; }
   #project-slider .cycle-pager span { display: inline-block; margin-left: 18px; width: 17px; height: 17px; border-radius: 50%; background: #d7d8d7; text-indent: -9999px; cursor: pointer; }
   #project-slider .cycle-pager span:first-child { margin-left: 0; }
   #project-slider .cycle-pager span.cycle-pager-active { background: #79a02d; }

header #menu ul li a { text-transform: uppercase; }
header #menu ul li a:hover{color: #87bc1f;}
/*home banner 7-16-2015*/

#banner { position: relative; }
#banner .pager-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; }
#banner .pager-wrapper .container { height: 100%; display: table; }
#banner .pager-right { display: table-cell; vertical-align: middle; }
#banner .cycle-pager { float: right; }
#banner .cycle-pager span { display: block; margin-top: 18px; width: 17px; height: 17px; border-radius: 50%; background: #ffffff; text-indent: -99999px; cursor: pointer; }
#banner .cycle-pager span:first-child { margin-top: 0; }
#banner .cycle-pager span.cycle-pager-active,
#banner .cycle-pager span:hover,
#banner .cycle-pager span:focus,
#banner .cycle-pager span:active { background: #87bc1f; }
.home-banner .home-banner-slide { width: 100%; }
.content-home-bg { opacity:0; bottom: 0; position: absolute; right: 0; height: 385px; width: 565px; }
.content-home-bg .bg { width: 0; height: 385px; background: url(../images/bg-home-content.png) 0 bottom no-repeat; opacity: 0; }
.service h5 span { font-weight: normal; display: block; margin-bottom: 25px; line-height: 21px; }
.content-group ul{margin-left:40px;}
.content-group ul li{padding-left:5px;}
.home-content h6:empty,
.hamburger-menu,.hamburger-close {
    display: none;
}
.row {
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: -30px;
}
/*
.photogalleryTable .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
*/
.photogalleryItem {
    width: 33.33%;
    padding: 10px;
    text-align: center;
	float:left;
}
.photogalleryItem img{
    width: 100%;
}
figure img{margin:20px 0;max-width:100%;}

/* media query */
@media only screen and (max-width: 1199px){
    header #logo img{
        max-width: 170px;
    }
    .home-content {
        width: 50%;
    }
    .content-home-bg{
        width: 47%;
        background-size: contain;
    }
    footer{
        padding: 20px 0;
    }
    h1 {
        font-size: 34px;
        line-height: 38px;
        margin-bottom: 25px;
    }
    h2 {
        font-size: 30px;
        line-height: 1;
    }
    .home-banner{
        padding-bottom: 7px;
    }
    .inner-banner img {
        min-height: 200px;
        object-fit: cover;
    }
    #display-area{
        padding: 60px 0;
    }
    .feature-descholder .title h3,
    .feature-descholder .heading h3{
        font-size: 24px;
    }
    .inner-banner h1{
        padding: 10px 30px;
        font-size: 20px;
    }
    .project-categories li a, .project-sectors li a{
        padding: 0 15px;
        font-size: 18px;
        line-height: normal;
    }
    .project-categories li, .project-sectors li{
        padding-left: 0;
    }
    #project-slider .cycle-pager span{
        margin-left: 10px;
        width: 8px;
        height: 8px;
    }
    #project-slider .cycle-pager{
        bottom: 10px;
    }
}
@media only screen and (max-width: 991px){
    h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 28px;
    }
    .content-home-bg{
        width: 44%;
    }

}
@media only screen and (max-width: 767px){
    body{
        font-size: 14px;
    }
    h1 {
        font-size: 26px;
        line-height: 1.2;
    }
    p {
        line-height: 1.3;
        margin-bottom: 20px;
        font-size: 14px;
    }
    .home-content p span{
        font-size: 14px !important;
    }
    .home-content p:last-child{
        margin-bottom: 0;
    }
    .content-home-bg{
        display: none;
    }
    .home-content {
        width: 100%;
        text-align: center;
    }
    .footer-logo {
        float: none;
        margin: 0 auto;
    }
    .footer-text{
        display: block;
        float: none;
        padding-top: 20px;
    }
    footer{
        text-align: center;
    }
    #display-area.home {
        padding: 30px 0;
    }
    .button, button, .home-content a{
        font-size: 14px;
        line-height: normal;
        padding: 10px 15px 7px;
    }
    .site-by {
        padding-top: 10px;
    }
    .footer-logo img {
        max-width: 170px;
    }
    header #logo img {
        max-width: 140px;
    }
    .hamburger-menu,.hamburger-close {
        display: block;
    }
    header .hamburger-close {
        position: absolute;
        background-color: #87bc1f;
        padding: 12px;
        right: 0;
        top: 0;
    }
    header #menu ul{
        margin: 50px 0 0;
    }
    header .hamburger-close img{
        max-width: 20px;
    }
    header #menu ul li {
        display: block;
        float: none;
        padding: 20px 0 17px;
        border-bottom: 1px solid #87bc1f;
        margin: 0 20px;
    }
    #menu{
        opacity: 0;
        visibility: hidden;
        position: fixed;
        float: none;
        z-index: 9999;
        background-color: #fff;
        height: 100vh;
        left: -100%;
        top: 0;
        height: calc((var(--vh, 1vh) * 100));
        width: 100%;
        -webkit-transition: all .25s;
        -moz-transition: all .25s;
        -ms-transition: all .25s;
        -o-transition: all .25s;
        transition: all .25s;
    }
    #menu.open{
        opacity: 1;
        visibility: visible;
        left: 0;
    }
    header .hamburger-button img{
        max-width: 28px;
    }
    .heading-left {
        width: 100%;
        float: none;
        margin: 0 0 20px;
    }
    .context-right,.feature-box,
    .photogalleryItem, .service{
        width: 100%;
    }
    .content-group ul {
        margin-left: 30px;
    }
    #display-area{
        background-image: none;
        padding: 30px 0;
        min-height: auto;
    }
    #display-area .content-group{
        margin-bottom: 0;
    }
    #display-area .content-group .context-right p:last-child{
        margin-bottom: 0;
    }
    .inner-banner h1{
        padding: 7px 20px;
        font-size: 18px;
    }
    .inner-banner img{
        min-height: 140px;
    }
    .feature-imageholder img{
        height: auto;
    }
    .feature-descholder .title h3, .feature-descholder .heading h3 {
        font-size: 22px;
    }
    .feature-descholder .heading{
        padding: 5px 40px 5px 55px;
    }
    .feature-descholder .context p, .feature-descholder .context a{
        font-size: 14px;
    }
    .project-categories, .project-sectors{
        margin: 0;
    }
    .project-categories li a, .project-sectors li a{
        padding: 0 5px;
        font-size: 14px;
    }
    .banner-menu{
        top: 10px;
        bottom: auto;
    }
}