﻿.not-support {
    display: none;
}

.font-red {
    color: #f00000;
}

.font-green {
    color: #008000;
}

.firefox body > div {
    display: none;
}

    .firefox body > div.not-support {
        display: block;
    }

.table tbody td input, .table tbody td select {
    margin-bottom: 0;
}

.table td {
    max-width: 250px;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.table tbody td label {
    margin-top: 5px;
    font-weight: normal;
}

.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
    background-color: rgba(217, 240, 159,0.4);
}

.table tbody td.head-left {
    max-width: 250px;
    width: 16.66%;
    background-color: #efefef;
    text-align: right;
    font-weight: bold;
}

.table.table-lefthead tbody tr td {
    line-height: 32px;
}

    .table.table-lefthead tbody tr td label {
        margin: 0;
    }

.pagination {
    margin-top: 0;
}

.badge-success {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background-color: #5cb85c;
    border-radius: 10px;
}

.badge-warning {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background-color: #ed9c28;
    border-radius: 10px;
}

.badge-primary {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background-color: #3276b1;
    border-radius: 10px;
}

.badge-danger {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background-color: #d9534f;
    border-radius: 10px;
}

.list-group-item span.btn:hover, .models-list span.btn:hover, .form-group a.btn.hover:hover {
    background-color: #3276b1;
    text-decoration: none;
    color: #ffffff;
    border-radius: 5px;
}

ul.sales-checklist .list-group-item {
    background-color: #f7fcf5;
    color: #ffffff;
}

.footer {
    padding-top: 10px;
    padding-left: 10px;
    color: #666;
    font-size: 11px;
    vertical-align: bottom;
    text-align: center;
    position: fixed;
    bottom: 0;
}

    .footer a:link, .footer a:visited {
        color: #999;
    }

    .footer .version {
        display: none;
    }

.debug footer .version {
    display: inline-block;
    color: #d22222;
}

td span.badge {
    margin: 0 2px;
}

body {
    /*font-family: "Microsoft Yahei UI", "Microsoft YaHei", SimHei, "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    background-position: center;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
}

    body.signin {
        background-image: url(img/bg2.jpg);
    }

.signin .panel {
    margin-top: 300px;
    border: 1px solid #999;
    background-color: rgba(255,255,255,0.8);
    box-shadow: rgba(0,0,0,0.4) 2px 2px 10px;
}

    .signin .panel .panel-footer,
    .signin .panel .panel-heading {
        background-color: rgba(245,245,245,0.5);
        background-image: none;
    }

#logs-row .panel a.btn-default, #settings-row .panel a.btn-default {
    margin: 5px;
    min-width: 163px;
}

.modal-animate {
    overflow-y: hidden;
}

.panel-heading {
    font-weight: bold;
}

.loading-spinner {
    min-height: 300px;
    height: 100%;
}

.spinner-text {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    margin-left: -40px;
    padding-top: 50px;
}

#main {
    margin-left: 180px;
    padding: 10px 10px 0 10px;
    background-color: rgba(255,255,255,0.8);
}

.delete-message span {
    margin: 10px 0 0 15px;
}

@media ( min-width: 1200px) {
    #main {
        min-height: 840px;
    }
}

@media (max-width:767px) {
}

@media (min-width: 768px) and (max-width: 979px) {
    #editor {
        margin-left: 0;
        width: 100%;
    }

    #props_div {
        width: 100%;
    }

    #pricehistory {
        width: 100%;
    }

    .widget-content .table {
        width: 92%;
    }
}

.navbar-fixed-top {
    z-index: 50;
}

#progress_indiactor {
    background-image: url(img/progress.gif);
}

h4.panel-title a.accordion-toggle {
    display: block;
}

/*-------------------*/

#unselectedlist, #selectedlist, ul.ullist, ul#currentlist, ul#nocurrentlist {
    margin-left: -2px;
    padding: 2px;
    min-height: 40px;
    list-style: none;
}

    #unselectedlist li, #selectedlist li {
        float: left;
        margin: 2px;
        padding: 2px;
        width: 278px;
    }

        #unselectedlist li div, #selectedlist li div {
            margin: 2px;
            padding: 2px;
            width: 268px;
        }

            #unselectedlist li div.btn, #selectedlist li div.btn {
                padding: 6px;
                -ms-text-overflow: ellipsis;
                -o-text-overflow: ellipsis;
                text-overflow: ellipsis;
            }

ul#pslist {
    margin-left: -10px;
    padding: 2px;
    list-style: none;
}

    ul#pslist li {
        float: left;
        margin: 2px;
        padding: 2px;
    }

        ul#pslist li div {
            margin: 2px;
            padding: 2px;
            width: 141px;
        }

        ul#pslist li a.ps {
            min-width: 96px;
        }

        ul#pslist li input {
            margin: 0;
            max-width: 110px;
        }

ul.ullist li {
    float: left;
    margin: 2px;
    padding: 2px;
    width: 235px;
}

    ul.ullist li div a {
        display: block;
        margin: 0;
        text-decoration: none;
    }

.placeholder {
    border: 1px dashed #333;
}

#currentlist, #nocurrentlist {
    min-height: 40px;
}

ul#currentlist li, ul#nocurrentlist li {
    float: left;
    margin: 2px;
    padding: 2px;
    width: 268px;
}

    ul#currentlist li div, ul#nocurrentlist li div {
        margin: 0,2px;
        padding: 2px;
        width: 260px;
    }

        ul#currentlist li div a, ul#nocurrentlist li div a {
            display: block;
            margin: 0;
            text-decoration: none;
        }

            ul#currentlist li div a:nth-child(2), ul#nocurrentlist li div a:nth-child(2) {
                margin: 0;
                padding: 2px;
                width: 150px;
                text-decoration: none;
                line-height: 28px;
            }
/**--------------DS---------------------*/
#create_node {
    margin-bottom: -2px;
}

#searchresult .btn {
    margin: 3px;
    width: 60px;
}

.btn-group a.nodename {
    width: 180px;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

#searchresult {
    margin: 10px 10px;
    min-height: 50px;
    background-color: #fff;
}

.tagsinput {
    margin-bottom: 10px;
}

label.btn input {
    margin-bottom: 5px;
}

label.btn {
    margin: 10px;
}

#dsLevellist {
    padding: 2px;
    list-style: none;
}

    #dsLevellist li {
        float: left;
        margin: 2px;
        padding: 2px;
        font-size: 12px;
    }

        #dsLevellist li div {
            width: 250px;
        }

            #dsLevellist li div a.levelname {
                width: 164px;
            }

select.equip_list:nth-child(2) {
    margin-bottom: 21px;
}

select.equip_list:last-child {
    margin-top: 21px;
}

.loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #ffffff;
    opacity: 0.3;
}

.btn-group.equip-hook {
    margin: 10px 0;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #f00;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00 !important;
    background-color: #fee !important;
}

.validation-summary-errors {
    margin-bottom: 20px;
    padding: 8px;
    border: 1px solid #fbeed5;
    border-color: #eed3d7;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: #fcf8e3;
    color: #b94a48;
    -webkit-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    font-weight: bold;
    font-size: 12px;
}

    .validation-summary-errors ul li {
        display: inline-block;
        margin: 5px 10px 0 0;
        padding: 5px 10px;
        min-width: 214px;
        border: 1px dashed #ddd;
        background-color: #fbefef;
        font-style: italic;
    }

.validation-summary-valid {
    display: none;
}

/*sidebar*/
.navbar-inverse {
    border-radius: 0;
}

.navbar .navbar-brand img {
    position: absolute;
    top: 5px;
    left: 40px;
    height: 50px;
}

.container {
    margin-right: 10px;
    margin-left: 10px;
    max-width: none;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 180px;
    background-color: rgba(34, 34, 34,0.9);
}

    .sidebar .logo {
        text-align: center;
        padding-top: 6px;
        padding-bottom: 6px;
        color: #292929;
        border-bottom: 1px solid #242424;
        background-color: #3d3d3d;
        background-image: linear-gradient(#4d4d4d 0px, #3d3d3d 100%);
        font-weight: bold;
        font-size: 140%;
        -webkit-text-shadow: 1px 1px 0 #555;
        text-shadow: 1px 1px 0 #555;
    }

    .sidebar .profile {
        padding: 8px;
        border-bottom: 1px solid #464646;
    }

        .sidebar .profile .avatar {
            display: table-cell;
            padding-right: 5px;
        }

            .sidebar .profile .avatar img {
                background-color: #464646;
                border-color: #262626;
                box-shadow: 0 0 2px 1px #262626 inset;
                margin-right: 5px;
            }

        .sidebar .profile .userinfo {
            display: table-cell;
            vertical-align: top;
        }

            .sidebar .profile .userinfo .signout {
                position: absolute;
                top: 82px;
                left: 140px;
            }

    .sidebar .nav li a {
        margin-left: 5px;
        padding: 0 0 0 15px;
        height: 40px;
        color: #999;
        line-height: 40px;
        border-radius: 0;
        background-color: rgba(99, 99, 99,0.3);
        -moz-transition-property: color;
        -o-transition-property: color;
        -webkit-transition-property: color;
        transition-property: color;
        -moz-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -moz-transition-timing-function: ease;
        -o-transition-timing-function: ease;
        -webkit-transition-timing-function: ease;
        transition-timing-function: ease;
        -moz-transition-delay: 0;
        -o-transition-delay: 0;
        -webkit-transition-delay: 0;
        transition-delay: 0;
    }

        .sidebar .nav li.active a,
        .sidebar .nav li a:focus,
        .sidebar .nav li a:hover {
            background-color: rgba(53, 126, 189, 0.70);
            background-image: linear-gradient(rgba(66, 139, 202,0.7) 0px, rgba(53, 126, 189,0.7) 100%);
            color: #ddd;
        }

        .sidebar .nav li a .glyphicon,
        .sidebar .nav li a .fa {
            margin-right: 10px;
        }

    .sidebar .nav li .glow {
        position: absolute;
        display: block;
        width: 5px;
        height: 40px;
        background-color: #537181;
        -webkit-box-shadow: #5d7b8a 0 0 2px 1px inset;
        box-shadow: #5d7b8a 0 0 2px 1px inset;
        -moz-transition-property: box-shadow;
        -o-transition-property: box-shadow;
        -webkit-transition-property: box-shadow;
        transition-property: box-shadow;
        -moz-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -moz-transition-timing-function: ease;
        -o-transition-timing-function: ease;
        -webkit-transition-timing-function: ease;
        transition-timing-function: ease;
        -moz-transition-delay: 0;
        -o-transition-delay: 0;
        -webkit-transition-delay: 0;
        transition-delay: 0;
    }

    .sidebar .nav > li + li {
        margin-top: 1px;
    }

    .sidebar .nav li:hover .glow,
    .sidebar .nav li.active .glow {
        background-color: #fff;
        -webkit-box-shadow: 0 0 2px 1px #ddd inset;
        box-shadow: 0 0 2px 1px #ddd inset;
    }

    .sidebar .nav li .nav li a {
        padding-left: 40px;
        height: 32px;
        font-size: 90%;
        line-height: 32px;
    }

.breadcrumb {
    margin-left: -15px;
    margin-top: -10px;
    margin-right: -25px;
    border-radius: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    background-image: linear-gradient(rgb(245, 245, 245) 0px, rgb(232, 232, 232) 100%);
    z-index: 1;
}

.bootstrap-tagsinput {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    display: inline-block;
    padding: 4px 6px;
    margin-bottom: 10px;
    color: #555;
    vertical-align: middle;
    border-radius: 4px;
    max-width: 100%;
    line-height: 22px;
}

    .bootstrap-tagsinput input {
        border: none;
        box-shadow: none;
        outline: none;
        background-color: transparent;
        padding: 0;
        margin: 0;
        width: auto !important;
        max-width: inherit;
    }

        .bootstrap-tagsinput input:focus {
            border: none;
            box-shadow: none;
        }

    .bootstrap-tagsinput .tag {
        margin-right: 2px;
        color: white;
    }

        .bootstrap-tagsinput .tag [data-role="remove"] {
            margin-left: 8px;
            cursor: pointer;
        }

            .bootstrap-tagsinput .tag [data-role="remove"]:after {
                content: "x";
                padding: 0 2px;
            }

            .bootstrap-tagsinput .tag [data-role="remove"]:hover {
                box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
            }

                .bootstrap-tagsinput .tag [data-role="remove"]:hover:active {
                    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
                }

/**************   reporting style  ********************/
#stepOne span.btn,
.panel-body button.equip {
    margin-left: 10px;
    margin-bottom: 10px;
}

.list-group-item.no-border {
    border: none;
}

ul.fields, ul.fields-lg {
    margin-top: 25px;
    margin-bottom: 10px;
    /*padding: 2px;*/
    min-height: 80px;
    list-style: none;
}

    ul.fields li {
        float: left;
        margin: 2px;
        padding: 2px;
        width: 278px;
    }

        ul.fields li div {
            margin: 2px;
            padding: 2px;
            width: 268px;
        }

/*ul.fields-lg li div{
             margin: 2px;
            padding: 2px;
            width: 308px;
        }*/

.btn-group a.field {
    width: 220px;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.dealers .btn {
    margin: 0 5px 5px 0;
}

.dealers {
    margin-bottom: 20px;
    max-height: 350px;
    overflow-y: scroll;
}

.step2-option {
    margin: 20px 0;
}

.postcodes .bootstrap-tagsinput {
    min-height: 100px;
    max-height: 250px;
    overflow-y: scroll;
}

.alert.bottom, .alert.bottom-left, .alert.bottom-right {
    position: fixed;
    bottom: 50px;
    z-index: 1050;
    margin: 20px;
}

.alert.bottom {
    right: 0;
    left: 0;
}

.alert.bottom-right {
    right: 0;
}

    .alert.bottom-right .close {
        padding-left: 10px;
    }

.alert.bottom-left {
    left: 0;
}

    .alert.bottom-left .close {
        padding-right: 10px;
    }