@import url(https://fonts.googleapis.com/css?family=Lato:900,300,100);

/*--- Base Tags ---*/

a {
    color: #666;
}

div {
    display: block;
}

body {
    background: #f7f7f7 url(../images/bg/whitegrainy.jpg);
    padding-top: 30px;
}

h1 {
    background-color: #e2e9f0;
    border-bottom: 1px #bdccdb solid;
    color: #369;
    font: 100 Helvetica, Arial, sans-serif;
    height: 44px;
    padding: 10px 0 0 20px;
    text-shadow: 0 1px 0 #fff;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*--- Header ---*/

body > header {
    background: #272727 url(../images/bg/graycloudy.jpg);
    height: 29px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

    body > header .brand {
        color: #eee;
        display: inline-block;
        font: 300 18px Lato, Helvetica, Arial, sans-serif;
        margin-left: 20px;
        opacity: 0;
        padding-top: 4px;
    }

    body > header .subbrand {
        color: #666;
        font: 900 14px Lato, Helvetica, Arial, sans-serif;
        opacity: 0;
    }

body.loaded > header span {
    -webkit-transition: opacity 1s ease-out;
}

body.hide-nav span {
    opacity: 1;
}

body > header > a {
    color: #999;
    display: inline-block;
    height: 24px;
    padding: 6px 10px 0 10px;
    text-shadow: 0 1px 0 #000;
}

    body > header > a:hover {
        color: #ccc;
        text-decoration: none;
    }



/*--- Navigation ---*/

body > nav {
    background: #333 url(../images/bg/grayfiber.jpg);
    box-shadow: inset -5px 0 3px #2d2d2d;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 175px;
    -webkit-transition: left 1s ease-out;
}

body.hide-nav > nav {
    left: -175px;
}

body > nav a#collapse {
    background-image: -webkit-linear-gradient(top, #2b2b2b 0%, #1b1b1b 100%);
    border-top: 1px #444 solid;
    bottom: 0;
    color: #666 !important;
    height: 25px;
    padding: 5px 0 0 10px;
    position: absolute;
    width: 165px;
}

body.loaded > nav a#collapse {
    -webkit-transition: width 1s ease-out, border-radius 1s ease-out;
}

body.hide-nav > nav a#collapse {
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    border-top-right-radius: 5px;
    width: 195px;
}

    body.hide-nav > nav a#collapse span#hide {
        visibility: hidden;
    }

    body.hide-nav > nav a#collapse span#show {
        opacity: 1;
    }

body > nav a#collapse:hover {
    color: #999 !important;
    text-decoration: none;
}

body.hide-nav > nav a#collapse:hover {
    color: #fff !important;
}

body > nav a#collapse span {
    position: absolute;
    top: 7px;
}

    body > nav a#collapse span#hide {
        left: 10px;
        visibility: visible;
    }

    body > nav a#collapse span#show {
        right: 10px;
        opacity: 0;
    }

body.loaded > nav a#collapse span#show {
    -webkit-transition: opacity 1s ease-out;
}

body > nav > header {
    background: #272727 url(../images/bg/graycloudy.jpg);
    height: 55px;
    margin-bottom: 10px;
    padding: 25px 0 0 10px;
    position: relative;
    width: 165px;
}

    body > nav > header span.brand {
        color: #eee;
        font: 100 23px Lato, Helvetica, Arial, sans-serif;
    }

    body > nav > header span.subbrand {
        color: #666;
        font: 900 14px/0.9 Lato, Helvetica, Arial, sans-serif;
        font-weight: bold;
        text-shadow: 0 1px 0 #000;
    }

body > nav .nav-header {
    color: #ccc !important;
    text-shadow: 0 1px 0 #000 !important;
}

body > nav a {
    color: #999 !important;
    text-shadow: 0 1px 0 #000 !important;
}

    body > nav a:hover {
        background-color: #2c2c2c !important;
        color: #f0f0f0 !important;
    }

body > nav .active a {
    background: #369 -webkit-linear-gradient(left, #369 97%, #264d73 100%) !important;
    color: #fff !important;
    position: relative;
}

    body > nav .active a:after {
        content: '\a0';
        position: absolute;
        right: -1px;
        top: 6px;
        width: 0px;
        height: 0px;
        border-right: 6px solid #f0f0f0;
        border-bottom: 6px solid transparent;
        border-top: 6px solid transparent;
    }



/*--- Main Content ---*/

body > section {
    margin-left: 175px;
}

body.hide-nav > section {
    margin-left: 0;
}

section#content {
    padding: 10px;
}

body.loaded > section {
    -webkit-transition: margin 1s ease-out;
}



/*--- Nav Pills ---*/

.nav-pills > .active > a,
.nav-pills > .active > a:hover {
    background-color: #999;
}



/*--- Buttons ---*/

.btn-primary {
    background-color: #2d5986;
    *background-color: #369;
    background-image: -ms-linear-gradient(top, #3973ac, #2d5986);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3973ac), to(#2d5986));
    background-image: -webkit-linear-gradient(top, #3973ac, #2d5986);
    background-image: -o-linear-gradient(top, #3973ac, #2d5986);
    background-image: -moz-linear-gradient(top, #3973ac, #2d5986);
    background-image: linear-gradient(top, #3973ac, #2d5986);
    background-repeat: repeat-x;
    border-color: #2d5986 #2d5986 #2d5986;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#3973ac', endColorstr='#2d5986', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

    .btn-primary:hover,
    .btn-primary:active,
    .btn-primary.active,
    .btn-primary.disabled,
    .btn-primary[disabled] {
        background-color: #2d5986;
        *background-color: #369;
    }

.btn {
    white-space: nowrap;
}



/*--- Font Awesome icons ---*/

[class^="icon-"],
[class*=" icon-"] {
    vertical-align: baseline;
}

[class^="icon-"], [class*=" icon-"] {
    background: none;
}

    [class^="icon-"]::before,
    [class*=" icon-"]::before {
        text-align: right;
    }



/*--- Alerts ---*/

.alert {
    border-width: 0;
    border-bottom-width: 1px;
    border-radius: 0;
    margin-bottom: 0;
}

    .alert p:last-of-type {
        margin-bottom: 0;
    }



/*--- Tables ---*/

.table {
    border-bottom: 1px #ddd solid;
    font-size: 13px;
}

    .table td strong {
        font-size: 13px;
    }

    .table th {
        background-color: transparent;
        border-bottom: 1px #999 solid;
        color: #333;
        font-weight: bold;
        padding: 3px 8px;
        text-shadow: 0 1px 0 #fff;
    }

    .table td {
        background-color: #fff;
        border-color: #ddd;
    }

        .table td p {
            color: #666;
            margin-bottom: 3px;
        }

            .table td p small {
                color: #999;
            }

    .table tbody tr:hover td,
    .table tbody tr:hover th {
        background-color: #fff !important;
    }



/*--- Labels ---*/

.label {
    background-color: #bbb;
    font-weight: normal;
}

.label-success {
    background-color: #468847;
    opacity: 1.0;
    -webkit-transition: opacity 0.5s linear 0.5s;
}

.label-warning {
    background-color: #F89406;
    opacity: 1.0;
    -webkit-transition: opacity 0.5s linear 0.5s;
}

.label-info {
    background-color: #2F96B4;
    opacity: 1.0;
    -webkit-transition: opacity 0.5s linear 0.5s;
}

.label-important {
    background-color: #B94A48;
}

.label strong {
    font-size: 11px !important;
}

div.btn-group ~ .label {
    display: block;
    margin-top: 10px;
}



/*--- Forms ---*/

section > form {
    margin-top: 20px;
}

input {
    box-sizing: content-box;
}

.form-actions {
    background: none;
    border: none;
}

input ~ .alert,
textarea ~ .alert,
select ~ .alert {
    margin-top: 5px;
}



/*--- Light/Dark Specific ---*/

.table tr td:last-of-type {
    /*width: 250px;*/ /* Hack to keep from wrapping */
}

.table .tools {
    opacity: 0;
}

.table * ~ .tools {
    margin-top: 10px;
}

.table .tools a:hover {
    color: #369;
    text-decoration: none;
}

body.loaded .table .tools {
    -webkit-transition: opacity 0.25s linear;
}

.table tr:hover .tools {
    opacity: 1;
}

.tools a {
    margin-right: 15px;
}

.tools i {
    margin-right: 3px;
}

.tools a:last-of-type {
    margin-right: 0;
}

th.shrink,
td.shrink {
    white-space: nowrap;
    width: 1%;
}

th.shrink_wrap,
td.shrink_wrap {
    white-space: wrap;
    width: 1%;
}

.strikethrough {
    text-decoration: line-through;
}

.feature_error_messages {
    margin-bottom: 18px;
}

.icon-disabled {
    color: #ddd;
}

.icon-td {
    text-align: center !important;
    vertical-align: middle !important;
}

.small {
    font-size: 10.998px;
}

.feature_group_name {
    color: #369;
}

#account_login .alert, #account_login legend {
    margin-bottom: 10px;
}

#account_login .alert {
    border-width: 1px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#account_login .well {
    background-color: #fff;
}

.field-validation-error {
    margin-bottom: 34px;
}
