@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,700,900,900i');
html,
body {
    min-height: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* background-image: linear-gradient(to right, #c53e3a, #da4139, #c82a21, #a92320, #8c1e1d); */
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    padding-bottom: 5rem;
    margin: 0 auto -211px;
}

.push {
    height: 211px;
    clear: both;
}

header {
    /* max-width: 960px; */
    margin: 0 auto;
    background: #1d1d26;
    padding: 10px;
    position: relative;
    z-index: 1;
    background: url(../images/topbanner.jpg);
    height: 180px;
    background-size: cover;
    background-repeat: no-repeat;
}

header ul {
    float: right;
    margin: 0 !important;
    width: 100%;
    display: flex;
}

header ul li {
    display: inline-block;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
    flex-grow: 1;
    text-align: center;
    margin: 0 20px;
    border-right: solid 1px #ffb4b4;
    background: rgba(255, 255, 255, 0.56);
    border-radius: 16px;
    font-size: 15px;
    text-transform: uppercase;
    position: relative;
    top: 0;
    transition: top 150ms ease-in-out;
}

header ul li:last-child {
    border-right: none;
}

.mainMenu a {
    color: #c32727;
    text-decoration: none;
    display: inline-block;
    transition: top 200ms ease-in-out, border-bottom 200ms ease-in-out;
    top: 0;
    position: relative;
    border-bottom: 0px solid transparent;
    font-weight: 600;
    width: 100%;
    padding: 6px;
    white-space: nowrap;
}

.mainMenu a:hover {
    color: #c32727;
}

.mainMenu li:hover {
    top: -4px;
}

a.facebook,
a.ausbuy {
    position: absolute;
    bottom: 10px;
    background-image: url(../images/navIco.png);
    height: 23px;
    background-repeat: no-repeat;
}

a.ausbuy {
    width: 24px;
    background-position: 0 0;
    right: 27px;
}

a.facebook {
    width: 10px;
    background-position: -32px 0;
    right: 10px;
}

a.logo {
    display: block;
    float: none;
    margin: 20px auto 50px auto;
    max-width: 330px;
    width: 90%;
}

a.logo img {
    width: 100%;
}

#scrollerTabs,
.banner img {
    margin: 0 !important;
    position: relative;
    z-index: 0;
}

#scrollerTabs li {
    position: absolute;
    margin: 0;
    width: 100%;
}

#scrollerTabs li h2,
#scrollerTabs li h3 {
    position: absolute;
    color: #fff;
    width: 100%;
    max-width: 960px;
    padding: 0 10px;
    text-align: center;
}

#scrollerTabs li h2 {
    font-size: 4em;
    white-space: nowrap;
    text-align: center !important;
    width: 100%;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    max-width: 100%;
    color: #fff;
    display: flex;
    font-style: italic;
    top: 60%;
    /* text-shadow: 0px 0px 2px #fff, 1px 1px #000; */
}

.new+#scrollerTabs li h2 {
    font-size: 3em;
    white-space: nowrap;
    text-align: center !important;
    width: 100%;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    max-width: 100%;
    color: #fff;
    display: flex;
    font-style: normal;
    top: 69%;
    background: rgba(29, 29, 38, 0.91);
    padding: 25px 0;
    border-left: 0;
    overflow: hidden;
    border-right: 0;
}

.old+#scrollerTabs li h2 {
    display: block;
}

#scrollerTabs li h2 span {
    flex-grow: 1;
    user-select: none;
}

.new+#scrollerTabs li h3 {
    font-size: 3em;
    left: 50%;
    top: 75%;
    transform: translate(-50%, -93%);
    line-height: 1.6em;
    text-transform: inherit;
    color: #fff;
    background: rgb(36, 34, 40, 0.9);
    border-radius: 60px;
    font-family: Fira Sans;
    font-weight: 400;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    padding: 10px;
}

#scrollerTabs li h3 {
    font-size: 2em;
    left: 50%;
    top: 89%;
    transform: translate(-50%, -89%);
    line-height: 1.6em;
    text-transform: inherit;
}

#scrollerTabs li h3.short {
    top: 85%;
}

#scrollerTabs li img {
    width: 100%;
}

.pushdown {
    display: block;
}

.home {
    max-width: 100%;
    margin-top: 80px !important;
    padding: 0;
}

.home .column p {
    /* min-height: 14.4em; */
    font-size: 19px;
}

.home .column a img {
    /* box-shadow: 0 4px 11px -1px rgba(0,0,0,0.4); */
    width: 450px;
}

.home .one-third.column {
    width: 1200px;
    clear: both;
    margin-bottom: 80px !important;
}

.home .column>a {
    /* text-align: center; */
    /* width: 100%; */
    display: block;
    float: left;
    /* margin-top: 4em; */
}

.home .column h3 {
    text-align: left;
    margin-top: 0;
}

.home .column .inner-box {
    float: left;
    width: 60%;
    margin: 60px;
    padding: 30px 30px;
    background-color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
}

.home .container .column,
.home .container .columns {
    float: none;
    display: block;
    margin-left: 1%;
    margin-right: 11%;
}

.home .one-third.column {
    background-size: cover;
    background-position: center;
    background-repeat: none;
    width: 100%;
    margin: 0;
}

.home .one-third.column:first-child {
    background-image: url('../images/mission-hme.jpg');
}

.home .one-third.column:nth-child(2) {
    background-image: url('../images/services-hme.jpg');
}

.home .one-third.column:nth-child(3) {
    background-image: url('../images/products-hme.jpg');
}

.home .column .rm {
    padding: 9px 20px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
    font-family: Fira Sans;
    width: auto !important;
    float: right;
    margin-top: 15px;
    color: #d72c22;
    border-bottom: 2px solid;
}

@media(max-width: 768px) {
    header {
        height: 120px;
    }
    .home .column .inner-box {
        width: 100%;
        margin: 0;
    }
}

.internal {
    max-width: 760px !important;
}

.banner img {
    width: 100%;
}

section h2 {
    color: #464646;
    font-weight: 400;
    margin: 30px 0 20px 0;
    font-size: 2.5em;
    text-align: center;
}


/* section h3 {
  color: #103e69;
  margin: 5px 0;
} */

section h3 {
    margin: 20px 0 15px 0;
    text-transform: capitalize;
    color: #565656;
    font-weight: 400;
    font-size: 20px;
    text-align: center;
}

section p {
    font-size: 16px;
    line-height: 1.6em;
    font-family: Fira Sans;
    letter-spacing: 0.02em;
    margin-bottom: 15px;
}

section aside {
    width: 31.91%;
    margin-left: 2.12%;
    float: left;
}

section .cForm {
    float: left;
    width: 65.96%;
}

section.contact h2 {
    text-align: left !important;
}

section form span {
    border-radius: 3px;
    border: 1px solid #d2d2d2;
    padding: 0 10px;
    float: left;
    width: 48.38%;
    margin: 0 3.23% 10px 0;
    position: relative;
}

section form span:nth-of-type(2n) {
    margin-right: 0 !important;
}

section form span.message {
    width: 100%;
    padding: 10px;
}

section form label {
    cursor: pointer;
}

section form textarea,
section form input[type="text"],
section form input[type="number"],
section form input[type="email"] {
    border: none;
    width: 75%;
    padding: 10px;
}

section form input[type="submit"] {
    padding: 10px;
    color: #fff;
    border-radius: 3px;
    background: #1c75bc;
    border: none;
    float: right;
    clear: both;
    cursor: pointer;
}

form label.error {
    background: url(../images/validation.png) top right no-repeat;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    top: 12px;
    right: 10px;
    text-indent: -9999px;
    overflow: hidden;
}

form label.error.allGood {
    background-position: 0 0;
}

.back {
    padding: 10px;
    color: #fff;
    border-radius: 3px;
    background: #6c6c6c;
    margin-left: 10px;
    cursor: pointer;
}

#recaptcha_privacy {
    width: auto !important;
    border: none !important;
    font-size: 0.75em;
}

.rm {
    color: #1d1d26;
    border-bottom: 2px solid;
    padding: 8px;
    text-decoration: none;
    font-weight: bold;
    float: left;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

.rm:hover {
    text-decoration: none;
}

footer {
    background: #1d1d26;
    color: #fff;
    text-align: center;
    overflow: hidden;
    padding: 0 10px;
    background: url(../images/topbanner.jpg);
    background-size: auto auto;
    background-size: cover;
    font-weight: 700;
}

footer a {
    color: white;
}

footer .container {
    text-align: right;
    margin-top: 60px;
    margin-bottom: 40px;
    font-size: 16px;
}

footer .container p {
    float: right;
    max-width: 600px;
    clear: right;
}

.division {
    font-size: 20px;
    letter-spacing: 0.07em;
    font-family: Fira Sans;
    line-height: 1.6em;
    font-weight: 400;
}

footer .logos {
    float: left !important;
}

a {
    color: #ee2e24;
    text-decoration: none;
    transition: color 200ms;
}

a:hover {
    color: #989898;
}

p.logos {
    display: block;
    margin: 0 0 10px auto;
    text-align: center;
}

p.logos img {
    display: inline;
    margin-bottom: 20px;
}

a.mobmenu {
    display: none;
}

section ul {
    margin-left: 40px;
}

section ul li {
    font-size: 14px;
    line-height: 24px;
    list-style: url(../images/point.png);
}

#confirmEmail {
    display: none;
}

.branchDetails {
    padding: 60px 0;
}

.branchDetails:nth-last-of-type(1) {
    border-bottom: none;
}

.branchDetails img {
    display: block;
    margin: 5px auto;
}

.contactDetails {
    padding: 10px 0;
    border-top: 1px solid #dadada;
    margin-top: 20px;
}

.contactDetails:nth-of-type(1) {
    border-top: none;
    margin-top: 0px;
}

#map-canvas,
#map-canvas-vic {
    height: 200px;
}

#map-canvas {
    padding: 10px 0;
    border-bottom: 1px solid #dadada;
}


/*ipad changes////////////////////////////////////////////////////////////*/

@media screen and (min-width: 681px) and (max-width: 1024px) {}


/*mobile changes////////////////////////////////////////////////////////////*/

@media screen and (max-width: 768px) {
    html {
        overflow-x: hidden;
    }
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    .wrapper {
        margin: 0 auto -136px;
    }
    .push {
        height: 136px;
    }
    .cForm,
    section aside {
        float: none !important;
        width: auto !important;
    }
    section form span {
        float: none;
        width: 100%;
        display: block;
    }
    section form input[type="submit"] {
        display: block;
        float: none;
        width: 100%;
    }
    #scrollerTabs {
        margin: 0 !important;
    }
    #scrollerTabs li h3,
    p.division,
    p.logos {
        display: none;
    }
    #scrollerTabs li h2 {
        font-size: 3.6em;
        display: none !important;
    }
    a.mobmenu {
        display: block;
        width: 31px;
        height: 22px;
        background: url(../images/mobMenu.png);
        float: right;
        margin-top: 16px;
        position: absolute;
        top: 0;
        right: 20px;
    }
    a.logo {
        margin-bottom: 0;
    }
    nav {
        width: 230px;
        position: absolute;
        right: -230px;
        top: 0;
        /* box-shadow: 17px 0 71px 22px rgb(37, 37, 51); */
        font-weight: 400;
        color: #fff;
        border-left: solid 1px #323248;
        background: #1d1d26;
        z-index: 100;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        text-align: right;
        height: 100%;
    }
    nav ul li {
        margin-bottom: 0;
    }
    nav ul li:nth-of-type(even) {
        background: #252533;
    }
    nav ul li a {
        width: 100%;
        display: block;
        color: #fff !important;
        padding: 15px 10px 15px 0;
        font-family: Lato;
        text-decoration: none !important;
        font-size: 19px;
    }
    a.facebook,
    a.ausbuy {
        position: relative;
        float: right;
        right: 0;
        margin-right: 10px;
    }
    header,
    .container {
        width: 100%;
    }
    .home,
    .banner img {
        margin-top: 0 !important;
    }
    .home .column img {
        max-width: 100%;
        width: 100%;
        margin: auto;
        display: block;
    }
    .home .rm {
        float: right;
        margin: 6px 0;
    }
    footer {
        width: 100%;
    }
}


/*misc changes///////////////////////////////////////////////////////////////*/


/* @media screen and (min-width: 900px) and (max-width: 1310px) {
  #scrollerTabs li h2 {
    font-size: 4.6em;
    top: 69%;
    transform: translate(-50%, -69%);
  }
  #scrollerTabs li h3 {
    font-size: 1.7em;
    top: 89%;
    transform: translate(-50%, -89%);
    line-height: 1.3em;
    text-transform: inherit;
  }
  #scrollerTabs li h3.mining {
    top: 85%;
  }
} */

@media screen and (min-width: 681px) and (max-width: 899px) {
    /* #scrollerTabs li h2 {
    font-size: 3.6em;
    top: 57%;
    transform: translate(-50%, -57%);
  } */
    #scrollerTabs li h3 {
        font-size: 1.2em;
        top: 82%;
    }
    #scrollerTabs li h3.short,
    #scrollerTabs li h3.mining {
        top: 80%;
    }
}


/*v large screens/////////////////////////////////////////////////////////////*/

@media screen and (min-width: 900px) and (max-width: 1310px) {
    #scrollerTabs li {
        max-width: 1800px;
    }
}


/*ie fixes///////////////////////////////////////////////////////////////////*/

.ie8 #scrollerTabs li h2,
.ie8 #scrollerTabs li h3 {
    margin-left: -480px;
    width: 960px;
}

.ie8 #scrollerTabs li h2 {
    top: 62%;
}

.ie8 #scrollerTabs li h3 {
    top: 70%;
}

.contactDetails+#map-canvas+.contactDetails,
.contactDetails+#map-canvas-vic {
    display: none;
}

footer>.container>p:nth-child(4) {
    display: none;
}