﻿
body {
    padding-top: 70px;
    padding-bottom: 20px;
}

/* Colours
    #f0fffb
    #c0af01
    #827700
    #aa9b00
*/

.row-sm-gutters {
    padding: 0 10px;
}
.row-sm-gutters [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.fullscreen .body-content {
    margin-left: auto;
    margin-right: auto;
    width: auto !important;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Colours ordered lighter - darker */
/*.panel-info > .panel-heading {
    color: #827700;
    background-color: #f0fffb;
    border-color:  #aa9b00;
}*/
.navbar-toggle .icon-bar,
.btn-primary,
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #c0af01;
}

    .navbar-header .navbar-toggle,
    .btn-primary,
    .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
        border-color: #aa9b00;
    }

a,
.page-header h1,
.page-header h2,
.page-header h3,
.page-header h4,
.pagination > li > a,
.pagination > li > span,
.navbar-text {
    color: #c0af01;
}

.btn-primary:hover, .btn-primary.hover,
.btn-primary:focus, .btn-primary.focus,
.btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
    background-color: #aa9b00;
}

.btn-primary:hover {
    border-color: #827700;
}

a:hover,
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #827700;
}

.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open > .dropdown-toggle.btn-primary.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover {
    background-color: #675e00;
    border-color: #4b4400;
}

.btn-group-justified .glyphicon {
    float: left;
    line-height: inherit;
}

/* Panel */
.panel-primary {
    border-color: #b7a600;
}
.panel-primary > .panel-heading {
    color: #fff;
    background-color: #c0af01;
    border-color: #b2a200;
}

/* Navigation */
.navbar {
    background: rgba(74, 74, 74,1);
    background: -moz-linear-gradient(top, rgba(74, 74, 74,1) 0%, rgba(56,56,56,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(74, 74, 74,1)), color-stop(100%, rgba(56,56,56,1)));
    background: -webkit-linear-gradient(top, rgba(74, 74, 74,1) 0%, rgba(56,56,56,1) 100%);
    background: -o-linear-gradient(top, rgba(74, 74, 74,1) 0%, rgba(56,56,56,1) 100%);
    background: -ms-linear-gradient(top, rgba(74, 74, 74,1) 0%, rgba(56,56,56,1) 100%);
    background: linear-gradient(to bottom, rgba(74, 74, 74,1) 0%, rgba(56,56,56,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#464646', endColorstr='#383838', GradientType=0 );
    border-bottom: 1px solid #ddd;
    border-bottom: 2px solid #c0af01;
    box-shadow: 0px 5px 5px 0 rgba(0,0,0,0.2);
}

.navbar-brand {
    line-height: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Header */
.jumbotron > :first-child {
    margin-top: 0;
    font-weight: bold;
}

.page-header {
    margin-top: 0;
}

    .page-header .btn.pull-left {
        margin-right: 10px;
    }

/* Forms */
.form-group .help-block,
.form-block .help-block {
    margin-bottom: 0;
}

.search-form {
    position: relative;
    margin-bottom: 20px;
}

    .search-form .row {
        position: relative;
    }

    .search-form > div {
        margin-bottom: 0;
    }

    .search-form .actions {
        position: absolute;
        bottom: 0;
        right: 0;
    }

/* Messages */
.alert .title {
    font-weight: bold;
    font-size: 140%;
    margin-bottom: 10px;
    margin-top: -5px;
}
/*.panel .form-block:last-child,
.panel .form-group:last-child,
.panel .table:last-child,
.well dl:last-child,
.well .form-block:last-child,
.well .form-group:last-child,*/
.panel p:last-child,
.panel dl:last-child,
.panel-body > :last-child,
.well-body > :last-child {
    margin-bottom: 0;
}
.alert-danger a {
    color: inherit;
}

/* Tables */
.table > tbody > tr > td {
    vertical-align: middle;
}

.selectable-row {
    cursor: pointer;
}

tr.saved {
    background-color: #f0fffb !important;
}

tr.removed {
    text-decoration: line-through;
    color: #ddd;
}

/* Training */
.training-editor .form-group {
    margin-bottom: 0;
    padding-bottom: 5px;
    padding-top: 5px;
    border-top: 1px solid #ddd;
}

    .training-editor .form-group:nth-child(odd) {
        background-color: #fafafa;
    }

    .training-editor .form-group:nth-child(even) {
        background-color: #fff;
    }

    .training-editor .form-group .control-label {
        padding-top: 7px;
    }

.training-editor .training-header {
    font-size: 18px;
    text-align: center;
    padding: 10px 0;
}


.report-table {
    border: 2px solid #888;
}

    .report-table th,
    .report-table td {
        border: 1px solid #eee !important;
        padding: 2px !important;
        text-align: center;
        vertical-align: middle !important;
    }

    .report-table tr:last-child,
    .report-table .row-underline {
        border-bottom: 2px solid #888 !important;
    }

    .report-table .row-title {
        font-size: 18pt;
        border-right: 2px solid #888 !important;
        line-height: 44px;
    }

        .report-table .row-title .pull-left {
            height: 34px;
            margin: 5px;
        }

        .report-table .row-title .pull-right {
            font-size: 14px;
            margin-right: 5px;
        }

    .report-table .row-location {
        width: 75px;
        white-space: nowrap;
    }

        .report-table .row-location div {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
            width: 70px;
        }

    .report-table .row-total {
        border-left: 2px solid #888 !important;
        border-right: 2px solid #888 !important;
    }

    .report-table .row-heading {
        text-align: left;
        border-right: 2px solid #888 !important;
    }

    .report-table .row-footer {
        border-top: 2px solid #888 !important;
    }

    .report-table .col-section {
        border-right: 2px solid #888 !important;
    }

    .report-table .row-section {
        text-align: left;
        border-bottom: 2px solid #888 !important;
        border-right: 2px solid #888 !important;
    }

    .report-table .row-section-bottom {
        text-align: left;
        border-top: 2px solid #888 !important;
        border-right: 2px solid #888 !important;
    }

    .report-table .row-value {
        width: 30px;
    }

    .report-table .text-center {
        text-align: center;
    }

    .report-table .text-left {
        text-align: left;
        padding-left: 10px !important;
    }

/* dog checkboxes */
.select-boxes {
    padding: 0;
    margin: 10px 0;
}

    .select-boxes .checkbox {
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 7px 10px;
    }
        .select-boxes .checkbox label { display: block; }

        .select-boxes .checkbox.selected {
            background: #c0af01;
            border-color: #aa9b00;
            color: white;
        }

    .select-boxes .col-md-4 {
        margin-bottom: 10px;
    }

/* Validation fixes */
.field-validation-valid {
    margin-top: 0;
}
.has-error .field-validation-error {
    margin-top: 5px;
}
.validation-summary-errors > .panel-heading + .panel-heading { display: none; }
.validation-summary-errors > .panel-body > .panel-body { padding: 0 !important; }
.validation-summary-errors > .panel-body { color: #a94442; }

.remove-scent-btn {
    padding-left: 0;
    padding-right: 0;
}

/* Hides */
.hides-editor .hat-hide-row {
    margin-bottom: 0;
    padding-bottom: 5px;
    padding-top: 5px;
    border-top: 1px solid #ddd;
}

.hides-editor .hat-hide-row:nth-child(odd) {
    background-color: #fafafa;
}

.hides-editor .hat-hide-row:nth-child(even) {
    background-color: #fff;
}

.hides-editor .hat-hide-row .control-label {
    padding: 5px 0;
    display: block;
}
.hides-editor .hat-hide-row .form-group { margin-bottom: 0; }
