/*

Theme Name: Dickens Solutions
Theme URI: http://dickenssolutions.com.au
Author: Pictura Creative
Author URI: http://www.pictura.com.au
Description: 
Version: 1.0.0
Text Domain: dickens

*/

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    background-color: #aaaaaa;
    font-family: gibsonregular, sans-serif;
    margin: 0;
}
body.admin-bar #wpadminbar {
    display: none;
}

.noscroll {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

h1 {
    font-family: gibsonlight;
    font-size: 2.375em;
    letter-spacing: 1px;
}

h2 {
    font-family: gibsonsemibold;
    font-size: 1.25em;
}

strong {
    font-family: gibsonsemibold, sans-serif;
}

#top {
    position: absolute;
    top: 0;
}

.no-padding {
    padding: 0;
}

main {
    background-color: #ffffff;
}

section {
    overflow: hidden;
}

.row {
    margin: 0 auto;
    position: relative;
}

.container-fluid {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.navbar {
    height: 85px;
}

.navbar img {
    height: 100%;
    padding: 20px 0 20px 20px;
    float: left;
}

.navbar-fixed-top.active {
    background-color: #0f2a40;
}

.navbar-default {
    background-color: transparent;
    border-color: transparent;
}

.navbar-header button {
    z-index: 99;
}

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

.navbar-nav {
    margin-top: 0;
    border-color: transparent;
}

.navbar-nav ul {
    background-color: #0c365a;
}

.nav>li>a:active, .nav>li>a:hover {
    background-color: transparent;
    color: #96a9ba;
}

.navbar-toggle {
    border-color: transparent;
}

.nav>li>a:focus, .navbar-toggle:hover {
    background-color: transparent;
}

.navbar-toggle .icon-bar {
    width: 35px;
    height: 3px;
    border-radius: 0;
    margin-bottom: 7px;
    background-color: #ffffff;
}

.navbar-toggle:active .icon-bar, .navbar-toggle:hover .icon-bar {
    background-color: #ffffff;
}

.anchor {
    display: block;
    position: relative;
    visibility: hidden;
}

.hero {
    background: #0f3e61; /* Old browsers */
    background: -moz-linear-gradient(-45deg,  #0f3e61 0%, #072543 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#0f3e61), color-stop(100%,#072543)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  #0f3e61 0%,#072543 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  #0f3e61 0%,#072543 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  #0f3e61 0%,#072543 100%); /* IE10+ */
    background: linear-gradient(135deg,  #0f3e61 0%,#072543 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0f3e61', endColorstr='#072543',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    background-size: cover;
    background-image: url('images/bg-gradient.jpg');
    margin-top: -105px;
    padding-top: 130px;
}

.feature-text {
    color: #96a9ba;
    font-size: 1.3em;
    font-family: gibsonlight, sans-serif;
    width: 100%;
    text-align: center;
}

.hero-text {
    padding-top: 100px;
}

.hero-text img {
    margin: 0 auto 40px auto;
    width: 100%;
    max-width: 393px;
}

.body-copy {
    line-height: 1.5em;
}

.body-copy h2 {
    margin-top: 40px;
    letter-spacing: 0.5px;
}

.body-copy h2:nth-of-type(2) {
    margin-top: 60px;
}

.body-copy p {
    font-size: 1.15em;
    margin-bottom: 25px;
}

.body-copy ul {
    font-size: 1.15em;
    margin-bottom: 25px;
    list-style-position: inside;
    padding: 0;
}

.body-copy li {
    font-family: gibsonsemibold, sans-serif;
}

.waste-management, .procurement-services {
    padding-top: 20px;
}

.waste-management h1 {
    color: #12324c;
}

.waste-management p, .waste-management ul, .waste-management h2 {
    color: #95846c;
}

.procurement-services {
    background-color: #12324c;
}

.procurement-services h1 {
    color: #ffffff;
}

.procurement-services p, .procurement-services ul, .procurement-services h2 {
    color: #96a9ba;
}

.business-process {
    padding: 50px 0 40px 0;
}

.business-process h1 {
    color: #12324c;
    margin: 0;
}

.business-process h2 {
    color: #95846c;
}

.about {
    padding-top: 100px;
    background-color: #d0cec6;
}

.about h1 {
    color: #ffffff;
}

.about img {
    width: 100%;
    position: relative;
    right: -40px;
}

footer {
    background-color: #343434;
    padding-top: 90px !important;
}

footer h1 {
    color: #ffffff;
    text-align: center;
}

footer .contact-text {
    font-size: 1em;
    text-align: center;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 100px;
}

footer .contact-text a {
    color: #ffffff;
    text-decoration: none;
}

footer .copyright {
    font-size: 0.85em;
    color: #777777;
}

footer .createdby {
    font-size: 0.85em;
    color: #777777;
}

footer .createdby a {
    color :#777777;
}

/* MOBILE ONLY */
@media only screen and (max-width: 767px) {

    .navbar-fixed-top.active {
    transition: background 0.3s ease-in-out;
    }

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

    .navbar.active {
        height: 45px;
    }

    .navbar-nav>li>a {
        font-size: 1.75em;
    }

    .navbar.active .navbar-toggle {
        transition: all 0.3s ease-in-out;
    }

    .navbar img {
        height: 120%;
        margin-top: 15px;
    }

    .navbar.active img {
        height: 100%;
        margin-top: 0;
        padding: 3px 20px;
    }

    .hero-text img {
        display: none;
        width: 70%;
    }

    .hero-image img {
        width: 100%;
        display: block;
        margin: 0 auto;
        max-width: 400px;
        position: relative;
        right: 40px;
    }

    .business-process img {
        margin: 0px auto 10px 10px;
        max-width: 120px;
    }

    .about img {
        margin: 0 auto;
        display: block;
        max-width: 400px;
    }

    .anchor {
        top: -20px; 
    }

    .anchor#top {
        top: -60px;
    }

    footer h1 {
        font-size: 1.8em;
    }
}

/* CUSTOM BREAKPOINT FOR HERO SECTION */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .navbar img {
        height: 140%;
    }

    .feature-text {
        font-size: 1.8em;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-text {
        padding-top: 135px;
    }

    .hero-image {
        height: 100%;
        padding-top: 20px;
    }

    .hero-image img {
        max-width: 500px;
        right: 60px;
    }
}

/* CUSTOM BREAKPOINT FOR FLOATED IMAGES */
@media only screen and (max-width: 639px) {   
    .crop-image {
        display: inline-block;
        margin: 0 auto;
        position: relative;
    }

    .crop-image img {
        width: 100%;
    }

    .waste-management img, .procurement-services img {
        position: relative;
        right: 0;
        left: 0;
        width: 100%;
        padding: 0 15px;
    }
}

@media only screen and (min-width: 640px) and (max-width: 767px) {
    .waste-management .crop-image {
        right: -200px;
        top: 20px;
    }

    .procurement-services .crop-image {
        left: -200px;
        top: 20px;
    }

    .business-process img {
        float: right;
        display: block;
        margin: 60px auto 10px 10px;
    }
}

@media only screen and (min-width: 640px) {
    .crop-image {
        position: relative;
        overflow: hidden;
        width: 460px;
        max-width: 460px;
    }

    .waste-management .crop-image {
        position: absolute;
    }

    .procurement-services .crop-image {
        position: absolute;
        height: 780px;
    }

    .procurement-services .crop-image img {
        position: absolute;
        left: -350px;
    }

    .procurement-services .body-copy {
        float: right !important;
    }
}

/* MOBILE & TABLET ONLY */
@media only screen and (max-width: 959px) {

    .navbar-collapse {
        height: 100vh;
        max-height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        overflow: hidden;
        background-color: #0c365a;
    }

    .navbar-fixed-top .navbar-collapse {
        max-height: 100vh;
        position: absolute;
        width: 100%;
        top: 0;
        padding-top: 60px;
    }

    .navbar-nav li {
        padding: 10px 0;
        margin: 0 15px;
        border-bottom: 1px solid #ffffff;
        text-align: center;
    }

    .navbar-nav li:nth-of-type(1) {
        border-top: 1px solid #ffffff;
    }

    .navbar-nav>li>a {
        font-family: gibsonlight, sans-serif;
        color: #96a9ba;
        letter-spacing: 0;
    }

    .navbar-nav>li>a:active, .navbar-nav>li>a:hover {
        color: #ffffff;
    }

    .waste-management .body-copy p:last-child, .procurement-services .body-copy p:last-child {
        margin-bottom: 80px;
    }

    .waste-management h2, .procurement-services h2, .business-process h2 {
        margin-bottom: 30px;
    }

    .business-process h2 {
        margin-top: 60px;
    }

    .business-process img {
        float: right;
        display: block;
    }

    .about {
        padding-top: 60px;
    }

    .about h1 {
        margin: 0 0 30px 0;
    }

    footer .copyright {
        width: 100%;
        text-align: center;
    }

    footer .createdby {
        width: 100%;
        text-align: center;
    }    
}

/* TABLET ONLY */
@media only screen and (min-width: 768px) and (max-width: 959px) {

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

    .navbar-fixed-top .navbar-collapse {
        padding-top: 85px;
    }

    .navbar-nav>li>a {
        font-size: 2em;
    }

    .waste-management .crop-image {
        right: -150px;
        top: 20px;
    }

    .procurement-services .crop-image {
        left: -150px;
        top: 20px;
    }

    .business-process img {
        margin: 60px auto 10px 10px;
    }

    .about .body-copy {
        width: 50%;
    }

    .about-image {
        float: right;
        margin-top: -600px;
    }

    .about-image img {
        position: relative;
        right: -115px
    }

    footer h1 {
        font-size: 2.2em;
    }

}

/* TABLET & DESKTOP ONLY */
@media only screen and (min-width: 768px) {
    .hero-text {
        padding-top: 270px;
        max-width: 390px;
    }

    .feature-text {
        text-align: left;
        padding: 0;
        font-size: 1.5em;
    }

    .hero-text img {
        display: block;
        margin: 0 auto 40px auto;
        width: 100%;
        max-width: 393px;
        margin-bottom: 40px;
    }

    .hero-image {
        margin-top: 145px;
    }

    .hero-image img {
        float: right;
        margin-top: -480px;
    }

    footer .contact-text {
        font-size: 1.25em;
    }
}

/* DESKTOP ONLY */
@media only screen and (min-width: 960px) {
    .row {
        width: 960px;
    }

    .anchor {
        top: -80px;
    }

    ul.nav {
        float: right;
        margin-right: 20px;
    }

    ul.nav li {
        line-height: 20px;
        font-size: 0.75em;
        margin-top: 15px;
    }

    .navbar-nav>li>a {
        color: #ffffff;
    }

    .navbar-nav>li>a {
        text-transform: uppercase;
        color: #ffffff;
        letter-spacing: 0.1em;
        font-size: 1.2em;
    }

    .body-copy p {
        font-size: 1em;
    }

    .body-copy ul {
        font-size: 1em;
    }

    .waste-management .crop-image {
        right: -100px;
    }

    .procurement-services .crop-image {
        left: -100px;
    }

    .waste-management .body-copy p:last-child, .procurement-services .body-copy p:last-child {
        margin-bottom: 100px;
    }

    .waste-management, .procurement-services {
        padding-top: 80px;
    }

    .waste-management h1, .procurement-services h1, .about h1 {
        margin-bottom: 45px;
        margin-top: 0;
    }

    .waste-management h2, .procurement-services h2, .business-process h2 {
        margin-bottom: 25px;
    }

    .business-process {
        padding: 120px 0 80px 0;
    }

    .business-process img {
        width: 50%;
        display: block;
        margin: 40px 0 0 0;
    }

    .about img {
        width: 100%;
        max-width: 494px;
        display: block;
    }

    .about-image {
        float: none;
        margin: 0 auto;
    }

    .about p:last-child {
        margin-bottom: 90px;
    }

    .about-image {
        position: relative;
        float: right;
        margin-top: -600px;
    }

    .about-image img {
        position: relative;
        right: -75px;
        min-width: 494px;
    }

    footer .copyright {
        float: left;
        padding-left: 50px;
    }

    footer .createdby {
        float: right;
        padding-right: 50px;
    }
}