/* Global Stuff */
body { color: #1d1f20; background-color: #1d2026; background-image: url(/templates/bd/images/background.jpg); text-align: left; font-family: Verdana, Geneva, "DejaVu Sans", sans-serif; font-size: 100%; margin: 0;}
.main p  { padding: 0; margin: 0; font-size: 0.9em; color: #1d1f20; line-height: 145%; }
ol { font-size: 0.9em; line-height: 135%; }
a:link { color: #191b1c; }
a:visited { color: #212324; }
h2 { padding: 0; margin: 0 0 6px 0; font-size: 1.6em; color: #292b2e; left: 16px; line-height:120%; }
h3 { padding: 0; margin: 32px 0 6px 0; font-size: 1.25em; color: #292b2e; left: 16px; line-height:120%; }
.normal { font-style: normal; }
.foot-text { color: #c2c5cc; font-size: 0.7em; text-align: center; top: 1px; width: 100%; display: block; position: relative; }
.foot-text > a { color: #16bfe1; }


/* colours */
.outer { border-left-color: #16181a; background-color: #c2c5cc; /* center colour */ }
.head { background-color: #131414; }

.menunav-pills > li {background-color: #0c233b; color: #8b9099; }
.menunav-pills > li > a { color: #8b9099; }
.menunav-pills > .active, .menunav-pills > .active:hover { background-color: #014f87; }
.menunav-pills > li:hover  { background-color: #0d3754; }

.sidebar-heading { color: #1c1d1f; background-color: #16bfe1; }
.sidebar-content { color: #6e7777; background-color: #0a0a0a; }
.sidebar-content > .menu > li > a { color: #6e7777; }
.sidebar-content > .menu > li > a:hover { color: #8b9099; }

.small > li > a { color: #6e7777; }
.small > li > a:hover { color: #8b9099; }
.pretext > p, .posttext > p { color: #6e7777; }

.lightblue-box1, .lightblue-box2 { background-color: #16bfe1; }

.controls > input, .controls > textarea, .input-small{ background-color: #f8f9fd; }
.alert-message { background-color: #e6e7ef; }

ul { padding-left: 30px; }
dd { margin-left: 12px; }


/* desktop_css */
.wrapper {
    min-width: 320px;
    max-width: 1696px;
}

/* Sets up the center viewing area */
.wrapper { padding: 20px 0 8px; margin-left: auto; margin-right: auto; width: 84%; }

.outer {
    border-left-width: 200px;  /* left column */
}
.left {
    width: 200px;              /* left column */
    margin-left: -200px;       /* _negative_ left column width */
    /*margin-left: -258px\9;*/
    margin-top: 12px;
}
.head {
    height: 230px;
}

/* Setup for columns */
.outer { width: auto; border-left-style: solid; }
.inner { margin: 0; width: 100%; }

.left { float: left; position: absolute; z-index: 10; }
.main { float: left; width: 100%; position: relative; z-index: 12; min-height: 500px; }
.content  {margin: 12px 16px; }

.head { position: relative; width: 100%; z-index: 13; }
.foot { position: relative; width: 100%; z-index: 13; }

.clear { clear: both; }
/* Mozilla code */
.outer > .inner { border-bottom: 1px solid transparent; }
.left { margin-right: 1px; }
.main { margin: 0 -3px 0 -2px; }

/* main_css */
/* header stuff */

.logo {
    margin-left: 12px;
    display: block;
    width: 505px;
    height: 125px;
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    position: relative;
    padding: 8px;
    top: 30px;
}

.sitename {
    font-size: 1.8em;
    color: #6e7777;
    padding: 8px;
    float: right;
    position: relative;
    top: -24px;
    margin-right: 2px;
}
/* menu bar */
.menunav-pills {
    position: absolute;
    padding-left: 2.2%;
    width: 96%;
    top: 150px;
}
.menunav-pills > li {
    display: block;
    height: 44px;
    width: 24.9%;
    top: 0px;
    position: relative;
    font-size: 1.3em;
    text-align: center;
    line-height: 225%;
    margin: 0px;
    float: left;
    text-transform: uppercase;
}
.menunav-pills > li > a {
    display: block;
    height: 44px;
    width: 100%;
    text-decoration: none;
}
.navbg {
    background-color: #0c233b;
    display: block;
    height: 44px;
    top: 166px;
    position: absolute;
    width: 100%;
}


/* sidebar + sidebar related */
.sidebar-heading {
    font-size: 1.1em;
    width: 192px;
    display: inline-block;
    text-transform: uppercase;
    text-align: right;
    padding: 1px 4px;
    margin-top: 18px;
}
.sidebar-content {
    font-size: 1em;
    width: 174px;
    text-align: right;
    padding: 8px;
    float: right;
    border: 0px;
    border-left: 1px;
    border-bottom: 1px;
    border-color: #16bfe1;
    border-style: solid;
}
.sidebar-content > .menu {
    list-style-type: none;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
}
.sidebar-content > .menu > li > a {
    text-decoration: none;
    font-size: 1.05em;
}
.sidebar-content > .menu > .active {
    margin-top: 2px;
    margin-bottom: 2px;
    font-weight: bold;
}
.small {
    list-style-type: none;
    font-weight: normal;
}
.small > .active {
    font-weight: bold;
}
.small > li > a {
    text-decoration: none;
    font-size: .9em;
}
.pretext > p, .posttext > p {
    font-size: .78em;
    margin: 8px;
}
.posttext > p {
    font-size: .7em;
}
.element-invisible {
    display: none;
}
.input-small {
    width: 90%;
}
.control-label {
    font-size: .85em;
}

.left p  { padding: 0; margin: 0; font-size: 0.9em; line-height: 145%; }


/* blue accent bars */
.lightblue-box1 {
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    top: 210px;
    box-shadow: 0 4px 8px #1d2026;
}
.lightblue-box2 {
    display: block;
    width: 100%;
    height: 12px;
    box-shadow: 0 -2px 4px #1d2026;
}


/* misc */
.pull-left {
    float: left;
}
.pull-right {
    float: right;
}

.cfootmodule {
    padding: 8px;
}

.controls > input, .controls > textarea, .input-small{
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    border: 2px solid;
    outline: none;
    font-family: Verdana, Geneva, "DejaVu Sans", sans-serif;
    padding: 2px;
}

.close {
    display: none;
}
.alert-message {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 8px;
}
.btn.hasTooltip {
    display: none;
}
.contact-form .hasTooltip {
    display: inline;
}
#login-form .unstyled {
    display: none;
}


/* *_UP TO HERE IN MOVING COLOURS OUT_* */


/* special body elements */
/* tabs */
.nav-tabs {
    padding-left: 2px;
}
.nav-tabs > li > a {
    display: none;
    background-color: #a3a9aa;
    padding: 2px 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    margin-top: 6px;
    font-size: 0.9em;
    text-decoration: none;
    border: none;
    border-right: 2px solid grey;
    border-bottom: 2px solid grey;
}
.nav-tabs > li > a:active {
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    margin-top: 7px;
}
.nav-tabs > li {
    list-style-type: none;
    padding: 0px 4px;
    margin: 4px;
    display: inline-block;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    float: left;
}
.nav-tabs > li:active {
    margin-left: 5px;
}
.btn-group {
    list-style-type: none;
}
.tab-content {
    background-color: #e6e7ef;
    padding: 48px 0;
}
.tab-content > .tab-pane {
    display: none;
}
.tab-content > .active {
    display: block;
}

.thumbnail {
    margin-left: 16px;
    margin-right: 8px;
    box-shadow: 1px 1px 6px 2px #2b2b2b;
    width: 35%;
    max-width: 300px;
}
.contact-form {
    margin: 12px;
}

/* special buttons */
/* download button */
.dl_btn {
    height: 30px;
    padding-right: 6px;
    top: -30px;
    left: 315px;
    display: inline-block;
    position: relative;
    background: #3a3c3d url(background.png);   background: -webkit-linear-gradient(#4a4c4d, #2b2d2d);    background: -moz-linear-gradient(#4a4c4d, #2b2d2d);   background: -o-linear-gradient(#4a4c4d, #2b2d2d);    background: -ms-linear-gradient(#4a4c4d, #2b2d2d);     background: linear-gradient(#4a4c4d, #2b2d2d);
    border-radius: 3px;
    
}
a.dl_icn {
    text-decoration: none;
    color: #c3cacc;
    padding-left: 18px;
    padding-right: 6px;
    
}
a.dl_icn:hover {
    color: #16bfe1;
}
.dl_icn {
    display: inline-block;
    height: 25px;
    padding-top: 5px;
    left: 6px;
    position: relative;
    background: url(/templates/bd/skin/down.png);
    background-repeat: no-repeat;
    line-height: 150%;
    font-size: 12px;
}
.dl_icn:hover {
    background-position-y: -30px;
}


/* edit icon */
.edit-icon {
    display: inline-block;
    background-color: #93999a;
    padding: 3px 5px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    float: right;
    list-style-type: none;
}
.edit-icon > a {
    text-decoration: none;
}
.tip {
    display: none;
}
.btn-toolbar > a {
    list-style-type: none;
    padding: 3px 5px;
    margin: 4px;
    display: inline-block;
    background-color: #93999a;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
}
.btn.jmodedit {
    display: none;
}

/* blog layout */
.leading-0 {
    margin-left: 12px;
    background-color: #e6e7ef;
    padding: 4px;
    border: 1px solid #d5d7de;
}
.leading-0 > .page-header > h2 {
    font-size: 1.5em;
}
.item > .page-header > h2 {
    font-size: 1.3em;
}
.column-1 {
    float: left;
    margin-left: 12px;
}
.column-2 {
    float: right;
}
.item {
    width: 46.5%;
    background-color: #e6e7ef;
    padding: 1%;
    border: 1px solid #d5d7de;
}
.row-fluid {
    display: inline-block;
    width: 100%;
    margin-bottom: 12px;
}
.clearfix {
    margin-bottom: 12px;
}
/* page buttons */
.btn, .pagination-next > a, .pagination-prev > a {
    display: inline-block;
    background-color: #a3a9aa;
    padding: 2px 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    margin-top: 6px;
    font-size: 0.9em;
    text-decoration: none;
    border: none;
    border-right: 2px solid grey;
    border-bottom: 2px solid grey;
}
.btn:active, .pagination-prev > a:active, .pagination-next > a:active {
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    margin-top: 7px;
}
.pagination > ul > li > a {
    margin-top: 0px;
}
.pagination > ul > li > a:active {
    margin-top: 1px;
}
.pagination {
    float: right;
    margin-top: 0px;
}
.pagination > ul {
    float: right;
    left: 104px;
    position: relative;
}
.counter {
    width: 100px;
    text-align: right;
}
.pagination > ul > li {
    float: left;
    position: relative;
    list-style-type: none;
    margin-top: 4px;
}
.pagenav {
    display: none;
}
.pagination-next, .pagination-prev {
    display: block;
    margin: 2px;
}


.dropdown-toggle {
    display: none;
}

/* table view */
div[itemprop="articleBody"] table {
    border-collapse: collapse;
    width: 100%;
}

div[itemprop="articleBody"] table td, div[itemprop="articleBody"] table th {
    border: 1px solid #ddd;
    padding: 8px;
}

div[itemprop="articleBody"] table tr {background-color: #f2f2f2;}

div[itemprop="articleBody"] table tr:nth-child(even){background-color: #ffffff;}

div[itemprop="articleBody"] table th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #16bfe1;
    color: white;
}

/* hire items table */
.item-pagehire table td {
    text-align: right;
}

.item-pagehire table td:first-child, .item-pagehire table th:first-child{
    text-align: left;
}

.item-pagehire table th:nth-child(2){
    width: 35px;
    text-align: center;
}

.item-pagehire table th:nth-child(3){
    width: 110px;
    text-align: center;
}

/* accordion */
div.accordiontitle {
    padding: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #16bfe1;
    color: white;
    border: 1px solid #ddd;
    font-weight: bold;
}
button.accordion {
    background-color: #ffffff;
    cursor: pointer;
    padding: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

button.accordion.active, button.accordion:hover {
    background-color: #ffffff;
}

button.accordion:after {
    content: "EXPAND";
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

button.accordion.active:after {
    content: "HIDE";
}

div.panel {
    padding: 0 18px;
    margin-bottom: 4px;
    background-color: #f2f2f2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
div.panel p {
    padding: 4px;
    
}

/* tablet friendly */
@media screen and (max-width: 1000px) {
    .wrapper {
        width: 100%;
        padding: 0px 0 8px;
    }
}
/* mobile friendly, landscape */
@media screen and (max-width: 766px) {
    .sitename {
        display: none;
    }
    .logo {
        margin-left: 0px;
        display: block;
        width: 100%;
        top: 20px;
        background-position: center;
        background-size: 60%;
        padding: 0px;
    }
    .menunav-pills > li {
        font-size: 1em;
    }
    
    
    
    h2 {
        font-size: 1.2em;
    }
    .main p{
        font-size: 0.8em;
    }
    .foot-text {
        font-size: 0.6em;
    }
    div[itemprop="articleBody"] table {
        font-size: 0.8em;
    }
}

/* mobile friendly, portrait */
@media screen and (max-width: 666px) {
    .outer {
        border-left-style: none;
    }
    .left {
        display: none;
    }
    .logo {
        height: 90px;
        background-size: 50%
    }
    .menunav-pills {
        top: 100px;
    }
    .menunav-pills > li {
        font-size: 0.75em;
        height: 30px;
    }
    .navbg {
        top: 116px;
        height: 30px;
    }
    .lightblue-box1 {
        top: 146px;
    }
    .head {
        height: 166px;
    }
    div[itemprop="articleBody"] table, div.accordiontitle, button.accordion, div.panel p {
        font-size: 0.7em;
    }
    .thumbnail {
        width: 30%;
    }
}

/* mobile friendly, tiny */
@media screen and (max-width: 374px) {
    
    .logo {
        height: 50px;
    }
    .foot-text {
        font-size: 0.55em;
    }
    .menunav-pills {
        top: 80px
    }
    .menunav-pills > li {
        font-size: 0.65em;
        height: 25px;
    }
    .navbg {
        top: 96px;
        height: 25px;
    }
    .lightblue-box1 {
        top: 121px;
    }
    .head {
        height: 141px;
    }
    .thumbnail {
        display: none;
    }
    
}

