
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #585858;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    display: inline-block;
    vertical-align: middle;
    border:0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    padding:0;
    margin:0;
    font-size:14px;
}

.contentwrap {
    max-width:1200px;
    margin: 0 auto;
    position:relative;
    padding:40px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
header .contentwrap::after,
.page-content:after {
    content:"";
    display: table;
    width: 100%;
    height: 1px;
    float: none;
}
img {
    max-width:100%;
    height:auto !important;
}

a:link, a:visited {
    text-decoration: none;
    color: inherit;
}
.logo h1 {
    margin: 0;
}
.table {
    display:table;
    table-layout: fixed;
}
.col {
    display:table-cell;
}

/** hide form errors if js **/

/** only activate js effects if js is enabled **/
.js .fade-fx {
    opacity: 0;
    -webkit-transform: translateY(10%);
    -ms-transform: translateY(10%);
    transform: translateY(10%);
    -webkit-transition: opacity .25s ease-in, -webkit-transform linear .25s;
    -moz-transition: opacity .25s ease-in, -moz-transform linear .25s;
    transition: opacity .25s ease-in, transform linear .25s;
}
.js .fade-active {
    opacity:1;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
}
/*============ header ============*/
header .contentwrap {
    padding: 0;
}
header.top {
    font-family: "museo",serif;
    font-size:14px;
}
/** top bar **/
.header-bar-top {
    color:#818f88;
    height: 55px;
    background: #eeeded;
}
header div.cec {
    max-height: 53px;
    float: left;
    display: flex;
}
div.cec > img {
    display: inline-block;
    max-height: 53px;
}
/** both menus **/
header ul {
    list-style:none;
    text-align: right;
    text-transform: lowercase;
    width: 100%;
    padding:0;
    margin:0;
}
header li > a {
    transition: color ease-in-out 0.3s;
}
header li > a:hover {
    color: #f2682b !important;
}
header.top li {
    display: inline-block;
    vertical-align:top;
}
header.top nav a {
    display:block;
    color:inherit;
    text-decoration:none;
}

/** top menu **/
.header-bar-top {
    position: relative;
    z-index: 10;
}
.header-bar-top .contentwrap {
    position: relative;
    padding-right: 220px;
}
.header-menu {
    line-height: 53px;
}
.header-menu li {
    margin:0 20px;
}
header.top .phone {
    position: absolute;
    top:0;
    left: 85%;
    bottom: 0;
    display: flex;
    width: 100%;
    background: #FFF;
    border-left: 1px solid #818f88;
    align-items:center
}
header.top .phone span {
    padding-left: 20px;
}

/** bottom area **/
.header-bar-bottom {
    position: relative;
    background: rgb(153,153,153);
    background: rgba(0,0,0, 0.3);
    color:#fff;
    border-bottom: 1px solid #cdd4d2;
    z-index: 3;
}
.header-bar-bottom .contentwrap {
    position: relative;
    padding-left: 330px;
}
header .logo-wrap {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -28px;
}
header .logo,
header .solahart {
    display: inline-block;
}
header .solahart {
    width: 180px;
    margin-left: 10px;
}
header .logo img {
    width: 130px;
    height: 56px;
}
.main-menu {
    min-height: 100px;
}
/** top level **/
.main-menu li.depth-0 {
   display: inline-table;
   vertical-align:top;
   padding: 0 1.5%;
   height: 100px;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
}
.main-menu li.depth-0:first-of-type {
    padding-left: 0;
}
.main-menu li.depth-0:last-of-type {
    padding-right: 0;
}
header .main-menu li.depth-0 a {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    padding-left: 50px;
}
header .main-menu li.depth-0 .menu-icon,
header .main-menu li.depth-0 .menu-icon.hover{
    position: absolute;
    margin-top: -5px;
    left:0;
    width: 40px;
    height: 30px;
    max-height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
}
header .main-menu li.depth-0 .menu-icon,
header .main-menu li.depth-0 > a:hover .menu-icon.hover {
    opacity: 1;
    transition: opacity ease-in 0.3s;
}
header header .main-menu li.depth-0 a:hover .menu-icon,
header .main-menu li.depth-0 .menu-icon.hover {
    opacity: 0;
    transition: opacity ease-out 0.3s;
}

/** others **/
header .main-menu a {
    display: inline-block;
}
.main-menu li > ul {
    position:absolute;
    top: 100%;
    left:0;
    right:0;
    background:#f6f6f6;
    color:#082133;
    z-index:10000;
    text-align: left;
    display:none;
}
.main-menu li:hover > ul {
    display:block;
}
.main-menu li > ul::before,
.main-menu li > ul::after {
    content:"";
    background:#f6f6f6;
    position:absolute;
    top:0;
    bottom:0;
    width:0;
    height:100%;
}
.main-menu li > ul::before {
    left:0;
    padding-left:50vw;
    margin-left:-50vw;
    background:#f6f6f6;
}
.main-menu li > ul::after {
    right:0;
    padding-right:50vw;
    margin-right:-50vw;
    background:#f6f6f6;
}
.main-menu .depth-1 .title {
    font-size:18px;
}
.main-menu .depth-1 a {
    width: 160px;
    margin: 30px;
}

#mobile-menu {
    display: none;
    position: absolute;
    top:5px;
    left:10px;
    background: #000 url(https://storage.googleapis.com/kms-au.appspot.com/sites/nsenergy/app/2025-01-07T04%3A57%3A31.830765/img/menu-icon.svg) center no-repeat;
    background-size: 24px;
    font-size: 24px;
    padding: 8px;
    width: 24px;
    height: 24px;
    margin: 2px;
    margin-bottom: 0;
    cursor: pointer;
    z-index:100;
}
/***** Slide menu ****/
.slide-menu {
    display:none;
}
.slide-menu {
	background: #ccc;
    width:240px;
    z-index:1000;
	position: fixed;
	height: 100%;
	top: 0;
	left: -240px;
	overflow-y:scroll;
}
.slide-menu-active .slide-menu {
    left: 0px;
}
.site-content-menu-slide {
    overflow-x:hidden;
    position:relative;
    left:0;
}
/* transition for menu slide */
.slide-menu,
.site-content-menu-slide,
#mobile-menu {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.slide-menu h3 {
	padding: 1em;
	color:#fff;
	background:#999;
	margin:0;
}
.slide-menu ul {
    padding:0;
    margin:0;
    list-style:none;
}
.slide-menu ul ul {
	background:#999;
}
.slide-menu ul ul ul{
	background:#666;
}
.slide-menu li {
    position:relative;
}
.slide-menu li > ul {
    display:none;
}
.slide-menu li.expand-active > ul {
    display:block;
}
.slide-menu a {
	display: block;
	color: #fff;
	font-size: 16px;
	font-weight: 300;
	border-bottom: 1px solid #666;
	padding: 18px;
	text-decoration:none;
}
.slide-menu a:hover {
	background: #258ecd;
}
.slide-menu ul .expand {
    position: absolute;
    top: 0;
    right: 0;
    border-left: 1px solid #030b16;
    height: 59px;
    width: 50px;
    cursor: pointer;
}
.slide-menu ul .expand i {
    content:"";
    display: block;
    height: 62px;
    width: 48px;
    background: url('https://storage.googleapis.com/kms-au.appspot.com/sites/nsenergy/app/2025-01-07T04%3A57%3A31.830765/img/menu-drop.svg') no-repeat center center;
    background-size: 30%;
    -webkit-transition: -webkit-transform 500ms ease;
    transition: -webkit-transform 500ms ease;
    transition: transform 500ms ease;
    transition: transform 500ms ease, -webkit-transform 500ms ease;
}
.expand-active > .expand i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* banner used on all pages + projects */
.banner-wrap {
    position: relative;
    margin-top: -100px; /*height of header main*/
    min-height: 100px;
    background-color: #999;
}
/*============ footer ============*/
footer {
    background: #d77234;
    color: #FFF;
}
footer.bottom .contentwrap {
    position: relative;
    padding-right: 160px;
    padding-bottom: 0;
}
footer .logo {
    position: absolute;
    top: 30px;
    right: 0;
}
footer .logo img {
    width: 150px;
}
footer nav ul {
    list-style:none;
    padding:0;
    margin:0;
}
footer nav {
    display: inline-block;
    width: auto;
}
footer .contentwrap > .bottom {
    border-left: 1px solid #FFF;
}
footer nav > ul {
    display: table;
    width: 100%;
}

footer nav > ul > li {
    display:table-cell;
    white-space: nowrap;
}
footer nav.main > ul > li {
    padding-right: 30px;
}
footer nav.bottom > ul > li {
    padding-left: 30px;
}
footer nav li li {
    display:block;
    margin:10px 0;
}
footer nav a {
    color:inherit;
    text-decoration:none;
    display:block;
    padding: 5px 0;
    position:relative;
}
/** bykeo ***/
.bykeo {
    display: block;
    text-align: center;
    font-size: 12px;
    padding-top: 30px;
    padding-bottom: 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.bykeo a {
    text-decoration:none;
}
.bykeo img {
    vertical-align: middle;
    display: inline-block;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.bykeo a:hover img{
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transform: translateX(-200%) rotate(-360deg);
    -ms-transform: translateX(-200%) rotate(-360deg);
    transform: translateX(-200%) rotate(-360deg);
}

/*============ splash ============*/
.t-home h2 {
    font-size: 30px;
}
/* Home main Banner */
.banner-navigation {
    display:none;
}
.banners-home .banner {
    display: block;
    background-size: cover;
    background-position: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/** all other banners **/
.banner-content {
    display: none;
}
/** home banner only **/
.banners-home .banner-content {
    position: relative;
    display: block;
    text-align: center;
    padding-top: 32%;
    padding-bottom: 8%;
    color: #FFF !important;
    max-width: 1200px;
    margin: 0 auto;
}
.banners-home .banner-name {
    display: none;
}
.banner-title,
.banner-caption {
    display: block;
}
.banners-home .banner-title .banner-item-content,
.banners-home .banner-caption .banner-item-content {
     display: inline-block;
     padding: 10px 20px;
     margin-top: 20px;
}
.banners-home .banner-title .banner-item-content {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 66px;
    font-size: 460%;
    font-size: 4vw;
    text-transform: capitalize;
    padding-top:0;
    padding-bottom: 5px;
    background: #eb6f30;
}
.banners-home .banner-caption .banner-item-content {
    font-size: 30px;
    font-size: 215%;
    font-size: 2vw;
    background-color: #53c4fe;
    transition: background-color 0.3s ease-in-out;
}
.banners-home .banner-caption .banner-item-content:hover {
    background-color: #4cb2e6;
}

/**** Solar Panel Widget ****/
.solar-slider {
    position: relative;
    padding-top: 50%;
    background-image:url('https://storage.googleapis.com/kms-au.appspot.com/sites/nsenergy/app/2025-01-07T04%3A57%3A31.830765/img/Banner.jpg');
    background-repeat: no-repeat;
    background-size:cover;
}
.solar-slider .contentwrap {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    padding-top: 15%;
}
#slider {
    position: relative;
    color: #FFF;
    width: 100%;
    height: 10px;
    background: #FFF;
    border: 2px solid #d7d7d7;
    border-left: 0;
    border-radius: 10px;
}
#slider:before {
    content:"";
    position:absolute;
    left: -11px;
    top: 50%;
    margin-top: -11px;
    width: 20px;
    height: 20px;
    background-color: #f6813a;
    border: 2px solid #c5672e;
    border-radius: 50%;
}
#slider #marker {
    position: relative;
    top: -17px;
    left: -22.5px;
    width: 45px;
    height: 45px;
    background-image: url('https://storage.googleapis.com/kms-au.appspot.com/sites/nsenergy/app/2025-01-07T04%3A57%3A31.830765/img/marker.png');
    background-position:center;
    background-size:cover;
}
#slider #marker .amount {
    
}
#slider .benchmark {
    position:absolute;
    text-align: center;
}
#slider .benchmark.residential {
    left: 0;
    width: 40%;
}
#slider .benchmark.commercial {
    right:0;
    width: 50%;
}
#slider .benchmark hr {
    position:relative;
    margin-top: 40px;
    border-top: 2px solid #f9f9f9;
}
#slider .benchmark hr:before,
#slider .benchmark hr:after {
    content:"";
    position: absolute;
    top: -4px;
    width:5px;
    height:5px;
    background-color: #FFF;
    border-radius: 50%;
}
#slider .benchmark hr:before {
    left: -2px;
}
#slider .benchmark hr:after{
    right: -2px;
}
.benchmark  p {
    margin:0;
    font-size: 18px;
}

/** home page content **/
.home.page-content .contentwrap {
    padding-bottom:0;
}
.home.page-content h2 {
    font-size: 35px;
}
.home.page-content h3 {
    font-size: 25px;
    margin-top:0;
}
/** latest project + ad **/
.ad-row.contentwrap {
    padding: 0 0 2% 0;
}
.ad-row .top.table {
    table-layout:fixed;
    width: 100%;
    height: 400px
}
.latest-project,
.advert {
    display: table-cell;
    vertical-align:top;
}
.latest-project {
    position: relative;
    width: 80%;
    height:100%;
    padding-right: 3%;
}
.latest-project .scroller {
    display: block;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}
.latest-project a.project {
    display: none;
    width:100%;
    height:100%;
    white-space: normal;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    transition: left 0.5s, right 0.5s;
}
.latest-project .project.left {
    
display: table;
    
right: 100%;
    
left: -100%;
    
z-index: 1;
}
.latest-project .project.active {
    display: table;
}
.latest-project .project.right {

display: table;

left: 100%;

right: -100%;

z-index: -1;
}
.latest-project .col {
    font-size: 18px;
    padding: 2% 4%;
    background-color: #f3f4f4;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}
.latest-project .col.img {
    width:50%;
    height:100%;
}
.latest-project .img {
    height: 200px;
    background-color:#bbb;
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center;
}
.latest-project .grey {
    position:relative;
    min-height: 200px;
}
.latest-project .grey h3 {
    margin-top:0;
}
.latest-project .grey:after {
    content:"";
    position: absolute;
    top:50%;
    right:100%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 30px 30px 0;
    border-color: transparent #f3f4f4 transparent transparent;
    margin-top: -30px;
}
.subtitle {
    font-weight:bold;
}
.advert {
    position:relative;
    width: 240px;
    height:100%;
    background-color: #bbb;
}
.advert .banner-stage .banner {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    width:100%;
    padding-top: 400px;
    background-color: #f6813a;
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
}
.advert .banner-content {
    display: none;
}

/** video feed **/
.youtube-feed .contentwrap {
    overflow:hidden; /*for middle-rule heading*/
}
.youtube-feed h2 {
    margin-top: 0;
}
#vid-wrapper {
    margin-left: -10px;
    margin-right: -10px;
}
article.video {
    display: inline-block;
    vertical-align: top;
    width: 25%;
    padding: 20px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.yt-wrapper { /* responsive ratio */
    position: relative;
    width: 100%;
    padding-top: 56%;
}
.yt-iframe {
    position: absolute;
    top:0;
    left:0;
    width: 100% !important;
    height: 100% !important;
}
.video h4 {
    font-size: 18px;
    margin: 5px 0;
}
.video p {
    font-size: 16px;
}

/** home-feature pages **/
.ctas {
    background: #f3f4f4;
}
.ctas .contentwrap {
    padding: 60px 0;
}
.cta-item {
    display: inline-block;
    vertical-align: top;
    width: 48%;
    font-size: 18px;
    -webkist-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden; /*for middle-rule style*/
}
.ctas .contentwrap > div.cta-item:nth-of-type(odd){
    margin-right: 2%;
}
.ctas .contentwrap > div.cta-item:nth-of-type(even){
    margin-left: 2%;
}
.cta-item > a {
    display: inline-block;
    width: 100%;
    height: 100%;
}
.cta-item .icon-wrap {
    position: relative;
    padding-left: 41%;
}
.cta-item .page-icon {
    position: absolute;
    top:0;
    left:0;
    width: 40%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/** our partners content **/
.partners .contentwrap {
    padding-bottom: 60px;
}
.partners img {
    display: inline-block;
    max-height: 100px;
    width: auto;
    padding: 10px 2%;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    margin: 0 auto;
}

/*============ sub page============*/
.t-page #content {
    min-height: 37vw;
}
.page-content {
    padding:5px;
}
.page-graphic {
    padding-top:27.3%;
    min-height: 100px;
    background-size:cover;
    background-position:center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.page-content .contentwrap a:link,
.page-content .contentwrap a:visited {
    color: #da6027 !important;
}

/*============ contacts page============*/
.contentwrap.contact {
    padding-top: 0;
}
#contact {
    display: table;
    table-layout: fixed;
    width:100%;
}
.form-wrap,
.contact-map {
    display: table-cell;
    width:50%;
}
.form-wrap {
    vertical-align: middle;
    padding-right: 2%;
}
.form-wrap h2 {
    text-align: center;
    margin:0;
}
.details p {
    margin:0;
}
.page-content .contentwrap a.tel,
.page-content .contentwrap a.email,
.page-content .contentwrap a.tel:visited,
.page-content .contentwrap a.email:visited{
    color: #585858 !important;
}
/** form **/
form p {
    margin:0;
}
.form-wrap form {
    padding-top: 20px;
}
.form-wrap form p,
form span {
    position: relative;
    display: inline-block;
    vertical-align: top;
    padding-bottom: 18px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
form div.full-width {
    padding-bottom: 18px;    
}
.form-wrap form p {
    width: 50%;
}
.form-wrap form p:nth-of-type(odd){
    padding-right: 1%;
}
.form-wrap form p:nth-of-type(even){
    padding-left: 1%;
}
.form-wrap form span {
    width: 100%;
}
label.error {
    display: block;
    font-size: 14px;
}
label.infield {
    position: absolute;
    display: inline-block;
    font-size: 16px;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    z-index: 2;
}
input,
select,
textarea {
    border: 1px solid #585858;
}
input.error,
select.error,
textarea.error {
    border-color: red;
}
input,
select {
    display: inline-block;
    vertical-align: top;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
select {
    font-family: "museo",serif;
    background-color: #f6813a;
    color: #FFF;
    font-size: 16px;
    position: relative;
    height: 30px;
    padding-left: 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
textarea, button {
    display: inline-block;
    padding: 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
textarea {
    font-family: "museo",serif;
    font-size: 16px;
    height: 173px;
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
button {
    background-color: #f6813a;
    text-transform: uppercase;
    color: #FFF !important;
    transition: background-color 0.5s ease-in-out;
    cursor: pointer;
    border:0;
}
button:hover {
    background-color: #d77234;
}
/*** map col ***/
.contact-map {
    position: relative;
    height: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#map-click {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
}
.contact-map iframe {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    height: 500px;
}

/*============ competition form page============*/
.js p.error.js {
    display: none;
}
span.half {
    width: 50%;
}
span.half:nth-of-type(odd){
    padding-right: 0.5%;
}
span.half:nth-of-type(even){
    padding-left: 0.5%;
}
span.third {
    width: 33.33%;
    padding-left: 0.5%;
    padding-right: 0.5%;
}
p span.third:nth-child(1){
    padding-left:0;
}
p span.third:nth-child(3){
    padding-right: 0;
}
label.checkbox,
input[type="checkbox"]{
    position: static;
    display: inline;
    vertical-align: middle;
    line-height: 16px;
}
input[type="checkbox"]{
    width: 30px;
    height: 30px;
    margin:0;
    margin-right: 5px;
    float: left;
}

/*============ projects page============*/
.banners-projects .banner-stage {
    padding-top: 27.3%;
    min-height: 100px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.banners-projects .banner {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size:cover;
}
.spacer {
    height: 20px;
}
.project {
    display: inline-block;
    vertical-align: top;
    width: 25%;
}
.project a {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 4%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.project .graphic {
    padding-top: 60%;
    background-size: cover;
    background-position: center;
}
#other-projects {
    width: 100%;
    float: none;
}
.load_more {
    cursor: pointer;
}
ul.pager {
    text-align: center;
    list-style-type: none;
    padding: 0;
    padding-top: 4%;
    margin: 0;
}
.pager li.disabled {
    display: none;
}
.pager > li {
    display: inline-block;
    vertical-align: top;
    color: #FFF;
    background-color: #f6813a;
    padding: 10px 15px;
    margin: 5px;
    transition: background-color 0.2s ease-in-out;
}
.pager li > a {
    display: block;
}
.pager li.active,
.pager li > a:hover {
    background-color: #d77234;
}
/*============ categories ============*/
.categories {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}
.category {
    padding: 20px 40px;
}
.category:hover {
    color:#d77234;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1500px){
    /** home banner text sizes adjust **/
    .banners-home .banner-title .banner-item-content {
        font-size: 50px;
        font-size: 400%;
        font-size: 4vw;
    }
    .banners-home .banner-caption .banner-item-content {
        font-size: 20px;
        font-size: 150%;
        font-size: 2vw;
    }
}
@media only screen and (max-width: 1290px){
    .contentwrap {
        width: 90%;
        padding: 40px 0;
    }
    .banners-home .banner-content {
        width: 90%;
    }
}
@media only screen and (max-width: 1200px){
    /** home banner text sizes adjust **/
    .banners-home .banner-title .banner-item-content {
        font-size: 40px;
        font-size: 350%;
        font-size: 4vw;
    }
}
@media only screen and (max-width: 1160px) {
    #mobile-menu {
        display:block;
    }
    .header-menu,
    .main-menu,
    header div.cec {
        display:none;
    }
    .slide-menu {
        display:block;
    }
    .slide-menu-active .site-content-menu-slide {
        left: 240px;
    }
/** header **/
    .header-bar-top {
        background-color: #FFF;
    }
    .header-bar-top .contentwrap,
    .header-bar-bottom .contentwrap {
        padding: 0;
    }
    header.top .phone {
        position: static;
        text-align: center;
        border-left:0;
        justify-content: center;
        height: 53px;
    }
    header .logo-wrap {
        position: static;
        text-align: center;
        padding: 20px 0;
        margin-top:0;
    }
}
@media only screen and (max-width: 960px) {
    .t-page #content {
        min-height: 0;
    }
/*** home ***/
    .banners-home .banner-title .banner-item-content {
        font-size: 30px;
        font-size: 250%;
        font-size: 4vw;
    }
    article.video {
        width: 50%;
    }
    .cta-item {
        width: 100%;
        padding-bottom: 20px;
    }
    .ctas .contentwrap > div.cta-item:nth-of-type(odd),
    .ctas .contentwrap > div.cta-item:nth-of-type(even) {
        margin-right:0;
        margin-left:0;
    }
    .cta-item .icon-wrap {
        padding-left: 0;
    }
    .cta-item .page-icon {
        float: left;
        position: static;
        display: inline-block;
        width: 150px;
        height: 150px;
        background-position: left;
        margin-right: 3%;
    }
/*** projects page ***/
    article.project {
        width: 50%;
    }
/* === contact page ===*/
    .form-wrap,
    .contact-map {
        display: block;
        width: 100%;
        padding:0;
        margin-bottom: 20px;
    }
    .contact-map,
    .contact-map iframe{
        height: 300px;
    }
    #map-click {
        display: block;
    }
}
@media only screen and (max-width: 900px) {
/** footer **/
    footer nav {
        width: 100%;
    }
    footer .contentwrap > .bottom {
        border-left:0;
    }
    footer nav.bottom > ul > li {
        padding-left:0;
        padding-right: 30px;
    }
}
@media only screen and (max-width: 760px) {
    a {
        /* These are technically the same, but use both */
        overflow-wrap: break-word;
        word-wrap: break-word;

        -ms-word-break: break-all;
        /* This is the dangerous one in WebKit, as it breaks things wherever */
        word-break: break-all;
        /* Instead use this non-standard one: */
        word-break: break-word;

        /* Adds a hyphen where the word breaks, if supported (No Blink) */
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
/*** home **/
    /* set banner height by percentage not content */
    .banners-home .banner {
        position: relative;
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
    }

    .banners-home .banner-caption .banner-item-content {
        font-size: 14px;
        padding: 2%;
    }
    .home.page-content h2,
    .t-home h2 {
        font-size: 25px;
    }
    .home.page-content h3 {
        font-size: 18px;
    }
    .latest-project .table,
    .latest-project .col {
        display: block;
        width: 100%;
    }
    .latest-project .col.img {
        height: 200px;
        width: 100%;
    }
    .latest-project .col.grey:after {
        top: -30px;
        right: 50%;
        margin-top: 0;
        margin-right: -30px;
        border-width: 0 30px 30px 30px;
        border-color: transparent transparent #f3f4f4 transparent;
    }
    .ctas .contentwrap {
        padding: 0;
    }
/** footer **/
    footer.bottom .contentwrap {
        padding-right: 0;
        padding-top: 20px;
    }
    footer .logo {
        position: static;
    }
    footer .logo img {
        display: block;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    footer nav {
        text-align: center;
    }
    footer nav > ul {
        display: block;
    }
    footer nav > ul > li {
        display: inline-block;
        white-space: normal;
    }
    footer nav.main > ul > li,
    footer nav.bottom > ul > li {
        padding: 0 10px;
    }
}
@media only screen and (max-width: 650px){
/** competition form **/
    p span.third:nth-child(1){
        width: 100%;
        padding-left:0;
        padding-right:0;
    }
    span.state,
    span.pcode {
        width: 50%;
    }
    span.state {
        padding-left: 0;
    }
    p.last span.half {
        width: 100%;
    }
    p.last span.half:nth-of-type(odd),
    p.last span.half:nth-of-type(even){
        padding-right:0;
        padding-left:0;
    }
}
@media only screen and (max-width:600px){
/** home **/
    .t-home .banner-wrap {
        margin-top:0;
    }
    .ad-row .top.table {
        display: block;
        height: auto;
    }
    .latest-project {
        display: block;
        padding-right: 0;
        width: 100%;
    }
    .advert {
        display: block;
        width: 240px;
        padding-top: 420px;
        margin: 0 auto;
        margin-top: 20px;
    }
}
@media only screen and (max-width: 500px){
/** forms inputs full width **/
    .form-wrap form p,
    form span.half,
    span.state,
    span.pcode {
        width: 100%;
    }
    .form-wrap form p:nth-of-type(odd),
    .form-wrap form p:nth-of-type(even),
    form span.half:nth-of-type(odd),
    form span.half:nth-of-type(even),
    span.state, span.pcode{
        padding-left:0;
        padding-right:0;
    }
/*** home ***/
    #vid-wrapper {
        margin:0;
    }
    article.video {
        width: 100%;
    }
    .youtube-feed article {
        padding-left:0;
        padding-right:0;
        padding-bottom:0;
    }
/*** projects page ***/
    article.project {
        width: 100%;
    }
    .project a {
        padding: 10px 0;
    }
}
@media only screen and (max-width: 400px){
/** header **/
    header .solahart {
        width: 140px;
    }
/*** home ***/
    .banners-home .banner-caption .banner-item-content {
        margin-top: 0;
    }
    .advert {
        width: 100%;
        padding-top: 170%;
        height: 0;
    }
    .cta-item .page-icon {
        display: block;
        margin: 0 auto;
    }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}