/*
Theme Name: Greenform Energy
Theme URI: http://www.greenformenergy.com.au/
Description: "Greenform Energy" responsive theme for WordPress.
Version: 1.0
Author: Evolution Design Agency
Author URI: http://www.evolutiondesign.com.au/
Tags: "Greenform Energy"
*/

@import url(bootstrap/css/bootstrap.min.css);
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400');
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css);
@import url(//evolutiondesign.com.au/assets/fonts/eda/eda.css);

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
    display:block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin:0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size:0.8em;
    margin:5px 0 0 0;
}

/**
 * 12.2 - Galleries
 */

.gallery {
	margin: 0 -1.1666667% 1.75em;
}

.gallery-item {
	display: inline-block;
	max-width: 33.33%;
	padding: 0 1.1400652% 2.2801304%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-icon img {
	margin: 0 auto;
}

.gallery-caption {
	color: #686868;
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}
/* end WordPress Core */


html {font-size: 1em;}

body {
  background-color: white;
  font-family: 'Montserrat', serif;
  font-weight: 300;
  line-height: 1.45;
  color: #333;
}

p {margin-bottom: 1.3em;}

h1, h2, h3, h4 {
  margin: 1.414em 0 0.5em;
  font-weight: inherit;
  line-height: 1.2;
}

h1 {
    margin-top: 0;
    font-size: 1.45em;
    font-weight: 400;
    text-transform: uppercase;
}

h2 {
    font-size: 1.6em;
    font-weight: 300;
}

h3 {
    font-size: 1.3em;
    font-weight: 400;
}

h4 {
    font-size: 1.2em;
    font-weight: 400;
}

small, .font_small {font-size: 0.707em;}


h2, h3, h4 {
    text-transform: uppercase;
}

h1, h1 a, h1 a:hover { color: #231f20; }
h2, h2 a, h2 a:hover { color: #231f20; } 
h3, h3 a, h3 a:hover { color: #231f20; } 
h4, h4 a, h4 a:hover { color: #231f20; } 






.navbar {
    margin-bottom: 0;
}

.navbar-brand {
    padding: 10px 15px;
}

.form-control,
.btn {
    border-radius: 20px;
}

.input-group-addon {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}


#navbar-search {
    position: relative;
}

#navbar-search button {
    position: absolute;
    right: 20px;
    top: 15px;
    border: none;
    background: transparent;
}

#navbar-search .form-group {
    width: 100%;
}

#navbar-search input {
    padding-right: 35px;
    width: 100%;
}



.come-in {
    transform: translateX(1170px);
    animation: come-in 1.2s ease forwards;
}

.come-in:nth-child(2) {
    animation-duration: 1.8s; /* So they look staggered */
}

.come-in:nth-child(3) {
    animation-duration: 2.4s; /* So they look staggered */
}

.come-in:nth-child(4) {
    animation-duration: 3.0s; /* So they look staggered */
}

.come-in:nth-child(5) {
    animation-duration: 3.6s; /* So they look staggered */
}

.come-in:nth-child(6) {
    animation-duration: 4.0s; /* So they look staggered */
}

.already-visible {
    transform: translateY(0);
    animation: none;
}

@keyframes come-in {
    to { transform: translateX(0); }
}



#header-container {
    position: fixed;
    width: 100%;
    z-index: 9999999;
}

#content-container {
    padding-top: 51px;
}


.homepage-section {
    padding: 0;
}


#homepage-header {
    background-position: top right;
    background-repeat: no-repeat;
}

#homepage-header h1 {
    margin: 0;
}

#homepage-callout {
    background-color: #86cc69;
    font-weight: 700;
    font-style: italic;
    border-bottom: 10px solid #000;
}

#homepage-callout-wrapper {
    padding: 30px 0;
}

#homepage-callout-wrapper p:last-child {
    margin: 0;
}
    
#homepage-gfe-logo {
    padding: 160px 0 80px 0;
}

#homepage-gfe {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 999;
}
    

.gfe-social-icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    background-color: #fff;
    color: #8FBF49;
    border-radius: 20px;
    position: relative;
    margin-top: 20px;
    margin-left: 20px;
}
    
.gfe-social-icon i {
    color: #8FBF49;
    position: absolute;
    bottom: -3px;
    right: 5px;
}


.gfe-service {
    display: block;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center center;
    padding: 40px 10px;
    margin: auto -15px;
    box-shadow: 3px 3px 10px #414042;
}

.gfe-service p {
    display: none;
}
    
.gfe-service,
.gfe-service:hover,
.gfe-service h3 {
    color: #fff;
    text-decoration: none;
}

.gfe-service h3 {
    margin: 0;
}


.gfe-showcase {
    border: 1px solid #54565b;
    margin-bottom: 30px;
}

.gfe-showcase h3 {
    margin: 0;
    padding: 10px;
    font-size: 1em;
    background-color: #86cc69;
    color: #fff;
}

.gfe-showcase:hover h3 {
    background-color: #54565b;
}

.gfe-showcase a,
.gfe-showcase a:hover,
.gfe-showcase a:focus {
    text-decoration: none;
    color: #fff;
}

.gfe-showcase-back {
    background-color: #86cc69;
    color: #fff;
    padding: 10px 0;
}

.gfe-showcase-back a,
.gfe-showcase-back a:hover,
.gfe-showcase-back a:focus {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    color: #fff;
}





#homepage-accreditation-affiliates {
    background-color: #f2f2f1;
    padding: 40px 0;
}

#homepage-accreditation-affiliates h2 {
    margin: 0 0 50px 0;
    font-weight: 400;
    font-size: 1.333333em;
}

.affiliate {
    margin: 40px auto;
    display: block;
    max-width: 100%;
}




.homepage-sub-content {
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
}

.homepage-sub-content,
.homepage-sub-content h3 {
    color: #fff;
}

   
#homepage-gallery {
    padding: 0;
}

#homepage-gallery .container {
    padding-left: 0;
    padding-right: 0;
}


.swiper-container {
    width: 100%;
    height: 33.333vh;
}

.gallery-slides-wrapper {
    max-width: 100%;
    position: relative;
}

    
.gallery-slides .swiper-slide {
    background-repeat: no-repeat;
    background-size: cover;
}

    
.gallery-slides .swiper-slide-meta {
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(255,255,255,0.75);
    width: 100%;
    height: 100%;
    padding: 0 40px 15px 15px;
    text-align: left;
}

.gallery-slides .swiper-slide-meta h2 {
    margin-top: 0.5em;
    margin-bottom: 0.25em;
}

.gallery-slides .swiper-slide-meta hr {
    border-top: 2px solid #414042;
    margin: 4px 0;
}

.gallery-pagination {
    right: 10px !important;
    left: auto !important;
    width: 20px !important;
    top: 50% !important;
}

.gallery-pagination .swiper-pagination-bullet {
    display: block;
    margin-bottom: 10px !important;
    background-color: transparent;
    border: 3px solid #fff;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    opacity: 1;
    box-shadow: 2px 2px 10px #000;
}

.gallery-pagination .swiper-pagination-bullet-active {
    background-color: #fff;
    border: 3px solid #fff;
}




main {
    min-height: 500px;
}


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


.pagination-wrapper {
    text-align: center;
}


.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}


#footer-quote {
    background-color: #cdcfd0;
    padding: 40px 0;
    text-align: center;
}

.quote-btn {
    padding-right: 40px;
    position: relative;
}

.quote-btn > span {
    border-radius: 50%;    
    width: 36px;
    height: 36px;
    display: inline-block;
    position: absolute;
    top: -1px;
    right: -1px;
    background-color: #414042;
}


#footer-contact-maps {
    padding: 20px 0;
    background-color: #8FBF49;
}

#footer-contact-maps a,
#footer-contact-maps h2,
#footer-contact-maps h3, 
#footer-contact-maps a:focus,
#footer-contact-maps a:hover {
    color: #fff;
    text-decoration: none;
}

#footer-contact-maps h2 {
    margin-top: 60px;
}

#footer-contact-maps .gfe-social-icon {
    position: absolute;
    bottom: 0;
}

.contact-map {
    margin: auto;
}

.site-footer-menu {
    list-style: none;
    padding: 0;
    text-align: center;
}

.site-footer-menu li {
    display: inline;
    margin: 0 20px;
}



#footer-legal {
    background-color: #414042;
}


.site-footer-nav {
    margin: 0;
    padding: 0 0 30px 0;
    list-style: none;
    font-size: 0.8em;
}

.site-footer-nav li {
    display: block;
    margin: 20px 0;
}

.site-footer-nav,
.site-footer-nav a {
    color: #fff;
}



/* sm and up */
@media (min-width: 768px) {

    
    #header-banner {
        height: 127px;
        background-color: #8fbf49;
        color: #fff; 
        border-bottom: 1px solid #7e9857;
        padding: 23px 0;
    }

    .homepage-section {
        padding: 0;
    }




    .swiper-container {
        height: 232px;
    }

    .gallery-slides .swiper-slide-meta {
        padding: 0 160px 20px 35px;
    }
    
    .gallery-slides .swiper-slide-meta h2 {
        margin-top: 1.414em;
        margin-bottom: 0.5em;
    }
    
    .gallery-slides .swiper-slide-meta hr {
        margin: 22px 0;
    }

    .gallery-pagination {
        right: 60px !important;
    }
    
    .gfe-services {
        padding: 60px 0;
        position: relative;
    }

    .gfe-service {
        padding: 20px;
        border-bottom: none;
        width: 243px;
        height: 252px;
        margin: auto;
        transition: all .2s ease-in-out;
        position: relative;
        display: table;
    }

    .gfe-service > .overlay {
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: #000;
        opacity: 0.4;
        top: 0;
        left: 0;
        display: none;
        z-index: -9;
    }

    .gfe-service:focus > .overlay,
    .gfe-service:hover > .overlay {
        display: block;
    }

    .gfe-service-content {
        display: table-cell;
        vertical-align: middle;
        transition: transform 1s;
    }

    .gfe-service:focus > .gfe-service-content,
    .gfe-service:hover > .gfe-service-content {
        transform: translate(0px,-20px);
    }


    .gfe-service-content h3 {
        padding-bottom: 10px;
        border-bottom: 2px solid #fff;
    }

    .gfe-service:focus p,
    .gfe-service:hover p {
        display: block;
    }
    

    #homepage-accreditation-affiliates {
        padding: 50px 0 100px 0;
    }


    .quote-btn {
        margin-top: 20px;
    }


    .contact-map {
        margin: 0;
    }

    .site-footer-menu {
        text-align: left;
        margin: 20px 0;
    }

    .site-footer-menu li {
        display: inline;
        margin: 0 30px 0 0;
    }
    
    

    .site-footer-nav {
        text-align: right;
        margin: 20px 0;
    }

    .site-footer-nav li {
        display: inline;
    }
    
    .site-footer-nav li:before {
        content: '|';
        padding: 0 5px;
    }
    
    .site-footer-nav li:first-child:before {
        content: '';
    }
    
    
    .made-by-eda {
        margin-top: 0px;
    }
}


/* md and up */
@media(min-width:992px) {
    .is-table-row {
        display: table;
        width: 100%;
    }

    .is-table-row [class*="col-lg"],
    .is-table-row [class*="col-md"] {
        float: none;
        display: table-cell;
        vertical-align: top;
    }

    
    
    .navbar {
        border-bottom: 1px solid #bababa;
        background-color: #fff;
        min-height: 38px !important;
    }
    
    .navbar-text {
        margin: 7px 0;
    }
    
    .navbar-collapse {
        background-color: transparent;
    }
    
    .nav>li{
        position: static;
    }
    
    .navbar-nav>li>a {
        padding: 8px 40px;
    }

    .navbar-default .navbar-nav>.active>a:hover, 
    .navbar-default .navbar-nav>.active>a:focus {
        background-color: #e2e3e4;
    }
    
    .navbar-nav>li>.dropdown-menu {
        width: 100%; 
        left: 0; 
        padding: 40px 5%;
        background-color: #e2e3e4;
        border-radius: 0;
    }


    .navbar-nav>li>.dropdown-menu>li>a {
        font-weight: bold;    
    }

    .dropdown-menu>li>a {
        white-space: normal;
    }
    
    .navbar-nav>li.dropdown:hover > .dropdown-menu,
    .navbar-nav>li.dropdown:focus > .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu>li>a:hover, 
    .dropdown-menu>li>a:focus,
    .dropdown-menu>.active>a, 
    .dropdown-menu>.active>a:hover, 
    .dropdown-menu>.active>a:focus {
        background-color: transparent;
        color: #343335;
    }

    .dropdown-menu-level-0>li {
        width: 33%;
        display: inline-block;
    }


    .dropdown-menu-level-1 {
        display: block;
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        text-transform: none;
    }
    
    .navbar-nav>li>a>.caret {
        display: none;
    }
    
    #navbar-search-activate {
        margin-right: 11px;
    }

    #navbar-search-wrapper {
        position: relative;
    }

    #navbar-search {
        position: absolute;
        top: 39px;
        right: -15px;
        background-color: #e2e3e4;
        padding: 15px 20px;
        margin: 0;
        display: none;
    }

    #navbar-search input {
        width: 200px;
        background-color: #e2e3e4;
        border-radius: 0;
        border: none;
        border-bottom: 2px solid #414042;
        box-shadow: none;
        padding: 6px 35px 6px 0;
    }

    #navbar-search button {
        top: 20px;
    }

    
    
    
    #header-container.shrink #header-banner,
    #header-container.shrink .gfe-social-icon,
    #header-container.shrink #header-logo-left {
        transition: all 0.2s linear;
    }
    
    #header-container.shrink #header-banner {
        height: 50px;
        padding: 5px;
    }
    
    #header-container.shrink .gfe-social-icon {
        margin: 0 0 0 20px;
    }
    
    #header-container #header-logo-left {
        height: 80px;
    }
    
    #header-container.shrink #header-logo-left {
        height: 40px;
        margin-right: 40px;
    }
    

    #content-container {
        padding-top: 166px;
    }


    .swiper-container {
        height: 303px;
    }

    
    .gallery-slides .swiper-slide-meta {
        top: 16.6666%;
        width: 66.6666%;
        height: 66.6666%;
    }

    .gfe-service:hover {
        transform: scale(1.1);
    }


    .quote-btn {
        margin-top: 0;
    }
}

/* lg and up */
@media(min-width:1200px) {
    
    
    .navbar-nav>li>a {
        padding: 8px 60px;
    }
    
    .navbar-nav>li>.dropdown-menu {
        padding: 40px 15%;
    }

    .swiper-container {
        height: 368px;
    }

    .gallery-slides .swiper-slide-meta {
        top: 20%;
        height: 60%;
    }

}   
