@font-face {
    font-family: 'colaboratelightregular';
    src: url('/font/ColabLig-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body,
html {
    font-family: "Verdana", "Arial", "Sans-Serif";
    font-size: 10px;
    background: #000;
    color: #4d4c4c;
}

#header {
    background-color: #788794;
    background-image: url('/images/header.png');
    background-repeat: repeat-x;
    background-position: center top;
    background-attachment: scroll;
    border-bottom: 1px solid #333;
    color: #ddd;
}

#logo a {
    display: block;
    width: 280px;
    margin: 0 auto;
}

div.centre {
    position: relative;
}

#primary-menu a,
#primary-menu a:visited,
#primary-menu a:active {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.65em;
    text-decoration: none;
    padding: .5em 1em;
    display: block;
}

#primary-menu a:hover {
    background: #333;
}

#primary-menu ul {
    margin: 0;
    padding: 0;
}

#primary-menu li {
    display: inline-block;
}

#content {
    background-color: #f9f9f9;
}

#content > div {
    padding: 1.5em;
}

h3,
#intro {
    font-family: 'colaboratelightregular';
    font-weight: 100;
}

#intro {
    position: relative;
    font-size: 2.60rem;
    color: rgb(68, 68, 68);
    background-image: url('/images/intro_bottom.png');
    background-color: #e6e6e6;
    background-repeat: repeat-x;
    background-attachment: scroll;
    background-position: center bottom;
}

#intro a {
    width: 240px;
    margin: 0 auto 2rem auto;
    display: block;
}

#slider {
    background-image: url('/images/slider-background.png');
    background-color: #788794;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: center bottom;
    color: #aaa;
    font-size: 1.4rem;
    height: 360px;
}

#slider-frame {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

#slider img {
    z-index: 9;
    max-width: 100%;
    max-height: 250px;
}

#slider > .centre > div {
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

#slider > .centre > div:first-of-type {
    visibility: visible;
}

.slide {
    float: left;
    height: auto;
}

.slide > div {
    line-height: 1.7em;
    z-index: 5;
}

#outro {
    border-top: 1px solid #fff;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YyZjJmMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlMGUwZTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #f2f2f2 0%, #e0e0e0 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#e0e0e0)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f2f2f2 0%,#e0e0e0 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f2f2f2 0%,#e0e0e0 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f2f2f2 0%,#e0e0e0 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f2f2f2 0%,#e0e0e0 100%); /* W3C */
    padding: 1em 0;
}

#outro a:first-child img {
    margin-left: 0;
}

#outro a {
    opacity: .5;
    display: block;
    text-align: center;
    float: left;
}

#outro a:hover {
    opacity: 1;
}

#outro img {
    display: inline-block;
}

#logo-lloyd,
#logo-thornton,
#logo-loomis {
    margin: 12px;
}

#logo-melter {
    margin: 15px;
}

#copyright {
    background-color: #000;
    clear: both;
    padding: 1.5em 1em;
    text-align: justify;
    font-size: 10px;
    letter-spacing: 0pt;
    color: #fff;
}

form {
    display: block;
    margin: 1.5rem 0;
}

label {
    display: block;
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: #4d4c4c;
}

input,
select,
textarea {
    padding: 1rem;
    box-sizing: border-box;
    width: 100%;
    display: block;
    border: 1px solid #e9e9e9;
    background-color: #f2f2f2;
    border-radius: 2px;
    margin-top: .5rem;
}

textarea {
    height: 10rem;
}

input[type='text']:focus,
input[type='text']:active,
input[type='text']:hover,
input[type='email']:focus,
input[type='email']:active,
input[type='email']:hover,
input[type='password']:focus,
input[type='password']:active,
input[type='password']:hover,
textarea:focus,
textarea:active,
textarea:hover {
    border-color: #ccc;
}

input[type='text'],
input[type='submit'],
input[type='password'] {
    display: block;
    color: #222;
}

input[type='submit'] {
    margin-top: 2.5rem;
    background: #788794;
    color: #eee;
    font-weight: bold;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 1px 0 0 rgba(255, 255, 255, 0.05) inset, -1px 0 0 rgba(255, 255, 255, 0.05) inset;
    border-radius: 2px;
    border-color:rgba(0,0,0,0.12)ant;
    border-width: 1px;
    border-top:1px solid #7e8891;
    border-bottom:none;
    border-left:1px solid rgba(0,0,0,0.12);
    border-right:1px solid rgba(0,0,0,0.12);
    min-height: 40px;
    text-align: center;
    vertical-align: middle;
    padding: 0.5em 2em;
    background: linear-gradient(to bottom, #6b757f 0%,#606b74 50%, #525b64 100%);
}

input[type='submit']:focus,
input[type='submit']:hover {
    border-top-color: rgba(255,255,255,0.10);
    background: #576068;
}

div[class^='flash-'] {
    border: 1px solid #ccc;
    padding: .5rem;
    margin: 1rem 0;
}

.flash-error {
    background: red;
}

.form-error {
    padding: .5rem;
    color: red;
    font-weight: normal;
}

#contact-numbers > table,
#contact-page > p,
#contact-page > hr {
    width: 100%;
}

#contact-page > p {
    margin-bottom: 0;
}


#contact-numbers {
    font-size: 1.2rem;
}

#contact-numbers tbody tr:first-child th,
#contact-numbers tbody tr:first-child td {
    border-bottom: 0;
}

h1,
h2,
h3 {
    color: #4d4c4c;
}

h3 {
    font-size: 3.5rem;
    color: #fff;
    line-height: 4rem;
    margin: 1.5rem 0;
}

h2 {
    margin: 3rem 0 3rem 0;
}

th,
td {
    text-align: left;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e2e2;
    color: #4d4c4c;
}

td {
    padding-right: .75rem;
}

thead th {
    padding-top: 0;
}

#contact-page {
    font-size: 1.2rem;
}

hr {
    border-width: 1px 0 0 0;
    border-top: 1px solid #e2e2e2;
    margin: 3rem 0 0 0;
}

@media only screen and (min-width: 960px) {
    div.centre {
        width: 960px;
        margin: 0 auto;
    }

    #header {
        height: 125px;
    }

    #logo a {
        margin: 0;
    }

    #primary-menu {
        position: absolute;
        right: 14px;
        top: 21px;
    }

    #slider {
        height: 340px;
    }

    #slider img {
        width: auto;
        height: auto;
        max-height: initial;
    }

    .slide {
        width: 960px;
        height: 340px;
        margin: 0 auto;
    }

    .slide > div {
        position: absolute;
        top: 0;
        left: 630px;
    }

    #contact-page {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #intro a {
        margin-left: 3em;
        float: right;
    }

    #contact-form {
        width: 46%;
    }

    #contact-numbers {
        width: 50%;
    }

    td {
        white-space: nowrap;
    }
}
