/*==================================================
            General Styles
==================================================*/
body {
    background: url(/img/gradient.jpg) repeat-x center top #9eb9da;
    font-family: Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
}
.mce-content-body { background: #fff !important }
a {
    color: #494E72;
    text-decoration: none;
}
h1, h2, h3, h4, h5 {
    line-height: 1.2;
    color: #494e72;
    font-weight: bold;
    font-style: italic;
    margin-top: 0;
}
h1 {
    font-size: 1.9em;
    border-bottom: 1px solid #f5b824;
    padding: 0 0 0.3em 0;
    margin-bottom: 0.3em;
    font-style: italic;
}
h2 {
    font-size: 1.4em;
    border-bottom: 1px solid #f5b824;
    padding: 0 0 0.3em 0;
    margin-bottom: 0.3em;
    font-style: italic;
}
h3, h4 {
    font-size: 1.3em;
    margin-bottom: 0.3em;
}
.text-img img {margin: 0 0 15px 15px;float:right;}
h5 { font-size: 1em }
hr {
    border: 0;
    margin: 0.5em 0;
    padding: 0;
    height: 1px;
    color: #cccccc;
    background: #cccccc;
}
.identifier small {font-size:85%;color:inherit;text-transform: initial;}
.thumbnail .caption {
    text-align: center;
    min-height: 4em;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.body-text {padding: 20px 15px}
#home .body-text {padding: 20px 15px 10px 20px} 
#content, nav { box-shadow: 0px 0px 6px 0px; rgba(0,0,0, 0.15):  }
#body-wrapper::after {
    content: "";
    background: url(/img/content-end-shadow.png) repeat center top transparent;
    height: 9px;
    position: relative;
    z-index: 99;
    width: 100%;
}
.navbar-static-top {
    z-index: 1;
    border: none;
}
.footer-text {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: 12px;
}
.footer-text #socials {margin: 0 0 0 5px;float:none;display: inline;}
.footer-text #socials .phone {display:none}
.footer-text div#socials img {max-width:15px;}
.footer-text a { color: #DDD;}
/*==================================================
            Layout Styles
==================================================*/
#content {
    background-color: #fff;
    padding: 15px;
}
#content table {
    min-height: .01%;
    overflow-x: auto;
}
table.labour-hire td {
    width: 20%;
}
/* Navbar Banners */
.navbar-banners a {
    margin-bottom: 20px;
    display: block;
}
/* Socials */
div#socials {
    float: right;
    margin: 20px 0;
}
#contact-page #socials {padding:15px 0}
div#socials, div#socials a {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    font-style: italic;
}
div#socials a:hover,div#socials a:focus {outline: none;text-decoration: ;}
div#socials img { display: inline-block }
div#socials .phone img { margin-right: 10px }
div#socials .phone i {font-size: 28px;position: relative;top: 4px;}
div#socials div {
    float: right;
    margin-left: 15px;
    line-height: normal;
    position: relative;
}
/*==================================================
            Bootstrap Overwriting
==================================================*/
#navbar{ padding:10px; }
.nav.navbar-nav ul{ list-style-type:none; padding: 0; }
.nav.navbar-nav li { margin-bottom: 5px; }
.nav.navbar-nav li:last-child{ margin-bottom:0; }
.nav.navbar-nav li a {
    text-transform: uppercase;
    font-style: italic;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    display:block;
}
.navbar-default .nav.navbar-nav li a,
.navbar-default .nav.navbar-nav li a:focus{ 
    color:#fff;
    background:#f5b824;
   transition: all 0.4s ease 0s;
}
.navbar-default .navbar-nav li.active a,
.navbar-default .nav.navbar-nav li a:hover{
    background:#494e72;
    color:#fff;
    text-decoration:none;
}

.identifiers .identifier {padding-bottom: 30px;}
.identifier a:hover {text-decoration: none}
.navbar-default .nav.navbar-nav li.has-child a{ margin-bottom:5px; }
.navbar-default .nav.navbar-nav li.has-child ul li a{
    background:#f3f3f3;
    padding: 10px 15px;
    color:#666;
    text-transform:initial;
    font-size: 13px;
    margin-bottom:0;
}
.navbar-default .nav.navbar-nav li.has-child ul li a:hover,
.navbar-default .nav.navbar-nav li.has-child ul li.active a{
    background:#d3d3d3; 
}
.navbar-banners a:last-child{ margin-bottom:10px; }


.table > tbody > tr > th { border-top: 0 }

.thumbnail .caption a:hover { text-decoration: none }
.thumbnail h3 {
    font-size: 16px;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 0;
}
.identifier .thumbnail {padding-bottom: 0;margin-bottom: 0;}
.thumbnail a:hover, .thumbnail a:focus {text-decoration: none;}
.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary,.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    color: #fff;
    background-color: #383C5A;
    border-color: #383C5A;
    outline: none;
}
.btn-primary {
    color: #fff;
    background-color: #494E72;
    border-color: #383C5A;
    transition: all .25s ease-in-out;
}
/*==================================================
            Page Related Styles
==================================================*/
/* Testimonials */
.quote p:first-of-type::before, .quote p:last-of-type::after { content: '"' }
.quote { margin-bottom: 40px }
.quote:last-of-type { margin-bottom: 0 }
.quote p { margin-bottom: 5px }
/* Home */
#pager {
    text-align: center;
    width: 100%;
    z-index: 9999;
    position: absolute;
    bottom: 0;
    overflow: hidden;
}
#pager span.cycle-pager-active {
    color: #494e72;
    cursor: pointer;
}
#pager span {
    font-size: 45px;
    display: inline-block;
    color: #f5b824;
    cursor: pointer;
}
/* Contact */
.contact-form { margin-top: 15px }
#contact-page div#socials, #contact-page  div#socials a {
    color: inherit;
    float: none;
    margin: 0;
}
#contact-page .phone { display: none }
/*==================================================
            Helper Classes
==================================================*/
.margin-bottom { margin-bottom: 20px }
.no-padding-row > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

.container-small, .container-large { max-width: 100% }
.display-table { display: table }
.table-cell {
    display: table-cell;
    position: relative;
    float: none!important;
}
.relative { position: relative }
.cell-middle { vertical-align: middle }
.cell-top { vertical-align: top }
.cell-bottom { vertical-align: bottom }
/*==================================================
            Bootstrap 3 Media Queries
==================================================*/
/* Large Devices, Wide Screens */
@media only screen and (min-width:1200px) { 
    
}
@media only screen and (max-width:1199px) { 
    .margin-bottom-lg { margin-bottom: 20px }
    section#content { max-width: 690px !important }330
}
/* Medium Devices, Desktops */
@media only screen and (min-width:992px) { 
    .thumbnail { margin-bottom: 0 }
}
@media only screen and (max-width:991px) {
    .flex-center, .flex {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    .identifier .caption {min-height: 4em;}
    .body-text {padding: 20px 10px} 
    #home .body-text {padding: 20px 0px 10px 20px} 
    .nav.navbar-nav li a {
        font-size: 14px;
    }
    #navbar .has-child.active ul li a {
        color: #666 !important;
        text-decoration: none;
        text-transform: initial;
        font-size: 12px;
        width: 100%;
        display: block;
        line-height: 1;
        font-weight: normal;
    }
    .margin-bottom-md { margin-bottom: 20px }
    section#content { max-width: 520px !important }
    nav, header { width: 200px !important }
}
/* Small Devices, Tablets */
@media only screen and (min-width:768px) {
    .staffmember { min-height: 7em }
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    footer {
        background: url(/img/footer.jpg) no-repeat center top;
        height: 850px;
        width: 100%;
        margin-top: -550px;
        z-index: -1;
    }
    #body-wrapper {
        overflow: hidden;
        position: relative;
    }
    #logo { margin-left: -15px; margin-bottom: 12px;}
    .navbar-default {
        background-color: #FFFFFF;
        border: none;
    }
    .infinite {
        padding-bottom: 99999px !important;
        margin-bottom: -99999px;
    }
    nav, header {
        width: 250px;
        float: left;
    }
    section#content {
        float: left;
        position: relative;
        max-width: 890px;
        z-index: 5;
        width: 100%;
    }
    .navbar-nav {
        float: none;
        margin: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .navbar-nav > li { float: none }
}
@media only screen and (max-width:767px) {
    .flex {-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;}
    .flex img {margin-bottom: 15px;}
    .flex .well {text-align: center;}
    .footer-text div#socials img {
        max-width: 18px;
        margin-right: 10px;
    }
.text-img { display: none}
    .footer-text #socials {margin: 0}
    .identifier {max-width: 300px; margin-left:auto;margin-right: auto;}
    .identifier .caption {min-height: 4em;}
    .staffmembers {margin-bottom: 20px;}
    #navbar {padding: 5px;}
    .footer-text a {color: #939393;}
    #pager span {line-height: 1;}
    .footer-text #socials {display: block;}
    #home .body-text {padding: 15px 010px 0} 
    .body-text {padding:15px 0}
    body { padding-top: 50px }
    #navbar .has-child.active ul li a { font-size: 11px;}
    .nav.navbar-nav li a { font-size: 12px }
    .navbar-banners { padding: 10px }
    div#header-sm {
        padding: 15px 15px;
        background: rgba(243, 243, 243, 0.95);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 50px;
        z-index: 10000; box-shadow: 0px 0px 6px 0px; rgba(0,0,0, 0.15): 
    }
    #header-sm img {margin-top:6px;}
    .navigation-wrapper {
        position: absolute;
        height: 100%;
        width: 100%;
        overflow-y: auto;
        max-width: 200px;
        top: 0;
    }
    .navbar-static-top { transition: all 0.4s ease 0s;
        margin-right: -250px;
        position: fixed;
        right: 0;
        z-index: 10002;
        min-height: 100vh;
        top: 0;
    }
    .navbar-static-top.active {
        top: 0;
        right: 200px;
        width: 200px; transition: all 0.4s ease 0s;
        height: 100vh;
        background-color: #fff;
        z-index: 10001;
    }
    nav.active #menu-close {
        position: fixed;
        right: 200px;
        top: 10px;
        background-color: #043f5b;
        width: 50px;
    }
    .active #menu-close {
        border-radius: 0;
        margin: 0;
    }
    #menu-toggle .fa-times { display: none }
    #menu-toggle i { padding-top: 5px }
    nav.active #menu-toggle .fa-times { display: block }
    nav.active #menu-toggle .fa-bars { display: none }
    #menu-toggle {
        border-radius: 0;
        color: #494E72;
        margin-right: 200px;
        position: relative;
        background-color: #F5B824;
        right: 50px;
        width: 50px;
        height: 50px;
    }
    #menu-toggle:focus {
        border:none;
    }
    .navbar-nav { margin: 5px;}
    footer.visible-xs {
        background-color: #F6F6F6;
        padding: 15px;
    }
    #container-main { padding: 0 }
    .footer-text {
        color: #333;
        position: static;
        margin-top: 15px;
    
        line-height: 1.6;
}
    .footer-text span { display: block }
    .nav > li { text-align: center }
    .nav.navbar-nav ul { padding: 0 }
    .nav.navbar-nav ul li a {
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 20px;
        display: block;
        color: #555;
    }
    .nav.navbar-nav ul li a:hover { text-decoration: none }
    .nav.navbar-nav ul li.active {
        font-weight: bold;
        color: #494e72;
    }
    .navbar-header { margin: 15px }
    .navbar-header img { margin-top: 6px }
    .navbar-toggle { margin: 0 }
    #pager { bottom: 0;}
    .margin-bottom-sm { margin-bottom: 20px }
    section#content, nav, header {
        max-width: 100% !important;
        width: auto !important;
    }
    body { background: #F6F6F6 }
    #content {
        box-shadow: none;
    }
}
/* Extra Small Devices, Phones */
@media only screen and (min-width:480px) { 
    
}
@media only screen and (max-width:480px) { 
    table {font-size:12px}
    .margin-bottom-xs { margin-bottom: 20px }
}
/* Custom, iPhone Retina */
@media only screen and (min-width:320px) { 
    
}
@media only screen and (max-width:320px) { 
    
}
#tinymce, body.mce-content-body { background: transparent }
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
h1 {

}

h2 {

}

h3 {

}

/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
h1 {

}

h2 {

}

h3 {

}

/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
h1 {

}

h2 {

}

h3 {

}

