﻿html {
    height: 100%;
}

body {
    /*padding-top: 30px;*/
    font-family: 'Microsoft YaHei';
    height: 100%;
}

h4.row-caption {
    margin-top: 48px;
    margin-bottom: 32px;
    font-family: 'Microsoft YaHei';
    font-weight: bold;
}
/* Set width on the form input elements since they're 100% wide by default */
select {
    max-width: 280px;
}

.search-box input {
    max-width: 280px;
}

.navbar-link {
    color: #0094ff;
}

.breadcrumb {
    margin-bottom: 10px !important;
}

textarea.form-control {
    height: 104px;
}

#page-body {
    /*padding-top: 40px;*/
    /*background: url('/Content/Images/cloud_bg.png') no-repeat #fff;*/
    background-size: contain;
    /*min-height: 90%;*/
}

#page-footer {
    display: block;
    padding-top: 20px;
    background-color: #eee;
    border-radius: 0px;
    color: #999;
    clear: both; /* 清除浮动元素格式 */
    width: 100%;
}

.portal-row {
    padding-left: 80px;
    padding-right: 80px;
}

.portal-content-row {
    padding-left: 200px;
    padding-right: 200px;
}

.portal-nav-row {
    padding-top: 16px;
    padding-left: 80px;
    padding-right: 80px;
}

dl.footer-menu {
    border-right: solid 1px #ddd;
    text-align: right;
    line-height: 34px;
    float: left;
    display: inline-block;
}

    dl.footer-menu > dt {
        line-height: 30px;
    }

    dl.footer-menu > dd > a {
        line-height: 30px;
        color: #666;
    }

.index-head {
    background-color: #fff;
    padding-top: 10px;
}

#formHead {
    background-color: #fff;
    padding-top: 10px;
}

    #formHead div.btn-toolbar.pull-right {
        padding-right: 15px;
    }

form .alert {
    margin-left: 15px;
    margin-right: 15px;
}

#syc-tanant {
    line-height: 1.4;
}

    #syc-tanant a {
        padding-right: 14px;
    }

.text-hilight {
    color: #ff6a00;
}

.text-gray {
    color: #999;
}

.syc-orange {
    color: #ff6a00;
}

.syc-darkred {
    color: #bd262d;
}

.syc-purple {
    color: #8f489a;
}

.syc-breadcrumb {
    background-color: transparent;
}

.syc-tag {
    display: inline-block;
    min-width: 10px;
    padding: 7px 7px;
    line-height: 1;
    color: #555;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #eee;
    border-radius: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.syc-tag-warning {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
    text-decoration: none;
}

    .syc-tag-warning:hover,
    .syc-tag-warning:focus,
    .syc-tag-warning:active,
    .syc-tag-warning.active {
        color: #fff;
        background-color: #ec971f;
        border-color: #d58512;
        text-decoration: none;
    }

.syc-tag-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
    text-decoration: none;
}

    .syc-tag-danger:hover,
    .syc-tag-danger:focus,
    .syc-tag-danger:active,
    .syc-tag-danger.active {
        color: #fff;
        background-color: #c9302c;
        border-color: #ac2925;
        text-decoration: none;
    }

.syc-tag-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    text-decoration: none;
}

    .syc-tag-success:hover,
    .syc-tag-success:focus,
    .syc-tag-success:active,
    .syc-tag-success.active {
        color: #fff;
        background-color: #449d44;
        border-color: #398439;
        text-decoration: none;
    }

.syc-tag-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
    text-decoration: none;
}

    .syc-tag-info:hover,
    .syc-tag-info:focus,
    .syc-tag-info:active,
    .syc-tag-info.active {
        color: #fff;
        background-color: #31b0d5;
        border-color: #269abc;
        text-decoration: none;
    }

.syc-alert-warning {
    display: inline-block;
    min-width: 10px;
    padding: 7px 7px;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #f0ad4e;
    border-radius: 8px;
    margin-top: 4px;
}

.syc-alert-danger {
    display: inline-block;
    min-width: 10px;
    padding: 7px 7px;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #d9534f;
    border-radius: 8px;
    margin-top: 4px;
}

.syc-alert-success {
    display: inline-block;
    min-width: 10px;
    padding: 7px 7px;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #5cb85c;
    border-radius: 8px;
    margin-top: 4px;
}

.dropdown-header {
    font-size: 14px;
    color: #fff;
    background-color: #bd262d;
}

.navbar-brand {
    padding-left: 15px;
    padding-top: 0px;
}

.form-validation {
    color: #ff6a00;
}

.form-nav {
    position: fixed;
    left: auto;
    right: 0;
    top: 60px;
    z-index: 999;
}

.form-group > .form-control > a {
    margin-left: 15px;
    margin-right: 15px;
}

.panel-group .panel-heading {
    border-left: solid 4px #f0ad4e;
}

.panel-group .panel-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

.panel-group .panel-has-grid .panel-body {
    padding-left: 0px;
    padding-right: 0px;
}

.panel-group .panel-body > .form-group:last-child {
    border-bottom: none;
}

.panel-group .form-group {
    margin-bottom: 0px;
    border-bottom: 1px solid #ccc;
}

.panel-group .form-control {
    border: none;
    border-radius: 0px;
    padding-left: 0px;
    box-shadow: none;
}

.panel-group .multiline {
    min-height: 34px;
    height: auto;
}

.panel-group .form-group .btn {
    margin-top: 4px;
    margin-bottom: 4px;
}

#panel-workflow span.form-control {
    text-overflow: ellipsis;
    height: auto;
}

#panel-comment {
    margin-top: 5px;
}

.form-control-static {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
}

/*适合移动端触摸*/
input[type="checkbox"] {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 18px;
    height: 18px;
    line-height: 1.42857143;
}

.panel-group label > input[type="checkbox"] {
    margin-left: 10px;
    margin-top: 10px;
    width: 16px;
    height: 16px;
    line-height: 1.42857143;
}
label.readonly{
    color: #999;
}
label.emphasized{
    color: #f00;
}
.table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    line-height: 1.42857143;
}

.table label {
    font-weight: normal;
    margin-bottom: 0px;
}

.table.table-editable > thead > tr > th,
.table.table-editable > tbody > tr > th,
.table.table-editable > tfoot > tr > th,
.table.table-editable > thead > tr > td,
.table.table-editable > tbody > tr > td,
.table.table-editable > tfoot > tr > td {
    padding: 4px;
    height: 38px;
    vertical-align: middle;
}

.table-editable > tbody > tr > td > .editable {
    width: 100%;
    height: 100%;
    min-height: 24px;
}

.table-editable .form-inline .form-group {
    margin-right: 0px;
    margin-left: 0px;
}

.panel-group .radio-label {
    font-weight: normal;
    vertical-align: top;
    padding-top: 1px;
    margin-right: 8px;
}

.panel-group input[type="radio"] {
    margin-top: -1px;
    width: 18px;
    height: 18px;
}

.no-border {
    border: none;
    border-radius: 0px;
    box-shadow: none;
}

.table-noborder > thead > tr > th,
.table-noborder > tbody > tr > th,
.table-noborder > tfoot > tr > th,
.table-noborder > thead > tr > td,
.table-noborder > tbody > tr > td,
.table-noborder > tfoot > tr > td {
    border-top: none;
}

.table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
}

    .table-responsive > .table {
        margin-bottom: 0;
    }

        .table-responsive > .table > thead > tr > th,
        .table-responsive > .table > tbody > tr > th,
        .table-responsive > .table > tfoot > tr > th,
        .table-responsive > .table > thead > tr > td,
        .table-responsive > .table > tbody > tr > td,
        .table-responsive > .table > tfoot > tr > td {
            white-space: nowrap;
        }

    .table-responsive > .table-bordered {
        border: 0;
    }

        .table-responsive > .table-bordered > thead > tr > th:first-child,
        .table-responsive > .table-bordered > tbody > tr > th:first-child,
        .table-responsive > .table-bordered > tfoot > tr > th:first-child,
        .table-responsive > .table-bordered > thead > tr > td:first-child,
        .table-responsive > .table-bordered > tbody > tr > td:first-child,
        .table-responsive > .table-bordered > tfoot > tr > td:first-child {
            border-left: 0;
        }

        .table-responsive > .table-bordered > thead > tr > th:last-child,
        .table-responsive > .table-bordered > tbody > tr > th:last-child,
        .table-responsive > .table-bordered > tfoot > tr > th:last-child,
        .table-responsive > .table-bordered > thead > tr > td:last-child,
        .table-responsive > .table-bordered > tbody > tr > td:last-child,
        .table-responsive > .table-bordered > tfoot > tr > td:last-child {
            border-right: 0;
        }

        .table-responsive > .table-bordered > tbody > tr:last-child > th,
        .table-responsive > .table-bordered > tfoot > tr:last-child > th,
        .table-responsive > .table-bordered > tbody > tr:last-child > td,
        .table-responsive > .table-bordered > tfoot > tr:last-child > td {
            border-bottom: 0;
        }
/* group & aggregate */
.table > tbody > tr > td.group-col {
    vertical-align: middle;
    padding: 8px;
    background-color: #eee;
    font-weight: bold;
}

.table > tbody > tr > td.category-col {
    vertical-align: middle;
    padding: 8px 4px 8px 32px;
    border-right: 1px solid #ddd;
}

tr.group-row {
    background-color: #eee;
    font-weight: bold;
}

tr.group-odd {
    background-color: #ffffff;
}

tr.group-even {
    background-color: #f9f9f9;
}

tr.aggregate-row {
    background-color: #ccc;
    color: #bd262d;
    font-weight: bold;
}

.login-panel {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* Janky fix for preventing navbar from overlapping 
h1[id] {
  padding-top: 90px;
  margin-top: -10px;
}
*/
.sidebar {
    position: fixed;
    z-index: 9999;
}

.sidebar-right {
    width: 24px;
    right: 0px;
}

    .sidebar-right > .nav-tabs > li > a {
        padding: 10px 4px;
        border-top: solid 1px #5cb85c;
        border-right: none;
        border-bottom: solid 1px #5cb85c;
        border-left: solid 1px #5cb85c;
        background-color: #5cb85c;
        color: #fff;
        border-bottom-left-radius: 4px;
        border-top-left-radius: 4px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        margin-right: 0px;
    }

    .sidebar-right > .nav-tabs > li.active > a,
    .sidebar-right > .nav-tabs > li.active > a:hover {
        color: #bd262d;
        border: solid 1px #ddd;
        background-color: #eee;
    }

    .sidebar-right > .nav-tabs > li > a:hover,
    .sidebar-right > .nav-tabs > li > a:focus {
        color: #fff;
        border: solid 1px #357ebd;
        background-color: #428bca;
    }

.nav-menu {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
    z-index: 1000;
    display: none;
    border-top: 3px solid #bd262d;
}

    .nav-menu.pull-right {
        right: 8px;
        left: auto;
    }

    .nav-menu .divider {
        height: 1px;
        margin: 9px 0;
        padding-top: 0px;
        padding-bottom: 0px;
        overflow: hidden;
        background-color: #a0a0a0;
    }

    .nav-menu > ul {
        float: left;
        list-style: none;
        width: 16.66%;
        height: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

        .nav-menu > ul > li {
            padding-top: 4px;
            padding-bottom: 4px;
        }

    .nav-menu > li > a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        line-height: 1.42857143;
        white-space: nowrap;
    }

    .nav-menu .module-item {
        font-weight: bold;
        font-size: 16px;
        line-height: 1.8;
        color: #bd262d;
    }

ul.barbeque-menu {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    width: 100%;
    list-style: none;
}

    ul.barbeque-menu > li {
        padding-top: 4px;
        padding-bottom: 4px;
        vertical-align: middle;
        line-height: 22px;
        height: 34px;
        border-top: solid 1px #eee;
    }

/*定义评论界面css*/
/*.panel-group .list-group-item {
    margin-left: -15px;
    margin-right: -15px;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-radius: 0px;
}

.panel-group .list-group-item .list-group-item-heading {
    background-color: #eee;
    padding: 4px;
    border-radius: 4px;
}*/
.form-group .progress {
    margin-top: 8px;
    margin-bottom: 10px;
    width: 280px;
}

.tab-content .list-group,
.tab-content .list-group-item,
.tab-content .jqx-widget,
.tab-content .tab-pane {
    border-top: 0px solid transparent;
}

.modal-header {
    background-color: #bd262d;
    color: #fff;
}

.nav-tabs.nav-justified > li > a {
    border-bottom-color: transparent;
}

.nav-tabs.nav-justified > li.active > a,
.nav-tabs.nav-justified > li.active > a:hover,
.nav-tabs.nav-justified > li.active > a:focus {
    color: #e47601;
    font-weight: bold;
    border-top-color: transparent;
    border-bottom-width: 2px;
    border-bottom-color: #e47601;
    border-left-color: transparent;
    border-right-color: transparent;
}

#folder-tab.nav-tabs > li.active > a,
#folder-tab.nav-tabs > li.active > a:hover,
#folder-tab.nav-tabs > li.active > a:focus {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-right-color: transparent;
}

.grid-row-deleted {
    color: #999;
}

.filter-container {
    margin-bottom: 8px;
}

.filter-expand-btn {
    color: #000;
    width: 60px;
}

.filter-remove-btn {
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 16px;
}

    .filter-remove-btn:hover {
        color: #bd262d;
    }

.filter-title {
    font-weight: bold;
    float: left;
    margin-left: 8px;
    padding: 4px 0px 4px 0px;
    width: 100px;
}

.filter-option {
    float: left;
    padding: 4px 16px 4px 16px;
}

.filter-applied {
    background-color: #f8f8f8;
    line-height: 30px;
}

    .filter-applied > span {
        padding-top: 4px;
        padding-bottom: 4px;
    }

.filter-option-applied {
    float: left;
    color: #d9534f;
    background-color: #eee;
    padding: 4px 8px 4px 16px;
    margin-top: 4px;
    margin-bottom: 4px;
    text-decoration: none;
}

    .filter-option-applied:hover {
        background-color: #bd262d;
        color: #fff;
        text-decoration: none;
    }

.filter-option-applied-none {
    float: left;
    color: #d9534f;
    padding: 2px 16px 2px 16px;
    text-decoration: none;
}

.filter-remove-all {
    float: right;
    color: #d9534f;
    padding: 0px 16px 0px 16px;
    margin-top: 4px;
    margin-bottom: 4px;
    text-decoration: none;
}

    .filter-remove-all:hover {
        background-color: #bd262d;
        color: #fff;
        text-decoration: none;
    }

.nav > li > a.tree-head {
    padding: 10px 6px;
}

.nav > li.active > a.tree-head {
    background-color: #ddd;
    color: #000;
}

.validation-summary-errors {
    color: #ff6a00;
}

.pagination > .PagedList-pageSizeControl {
    float: left;
}

.pagination > li > div > button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border-top: 1px solid #428bca;
    border-bottom: 1px solid #428bca;
    border-left: none;
    border-right: none;
    color: #fff;
    background-color: #428bca;
}

i.btn-sort {
    cursor: pointer;
}

    i.btn-sort:hover {
        color: #428bca;
    }

ul#news {
    padding: 0px;
    margin: 0px;
    /*list-style: none;*/
}

.news-item {
    padding: 4px 4px;
    margin: 0px;
    border-bottom: 1px dotted #555;
}

#campaign-slider.slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

    #campaign-slider.slider .slide {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        float: left;
        position: absolute;
    }

        #campaign-slider.slider .slide .slidecontent {
            position: absolute;
            top: 50%;
            width: 1000px;
            padding: 0 100px;
            margin-top: -125px;
        }

    #campaign-slider.slider #slideposition {
        position: absolute;
        bottom: 50px;
        left: 50%;
    }

        #campaign-slider.slider #slideposition ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
        }

            #campaign-slider.slider #slideposition ul li.indicator {
                display: inline-block;
                height: 10px;
                width: 10px;
                background: #222;
                margin: 0px 7px;
                padding: 0;
                -webkit-border-radius: 999px;
                -moz-border-radius: 999px;
                border-radius: 999px;
                overflow: hidden;
                cursor: pointer;
            }

                #campaign-slider.slider #slideposition ul li.indicator.active {
                    background: white;
                }

/*点赞按钮*/
#praiseBtn {
    cursor: pointer;
}

/*jqx表格中锚点颜色改为绿色，以区分表格行选中的蓝色*/
.jqx-grid.jqx-grid-bootstrap a {
    color: green;
}

.gridselector input[type="checkbox"][id^="cb"] {
    display: none;
}

.gridselector label {
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
}

    .gridselector label:before {
        background-color: white;
        color: white;
        content: " ";
        display: block;
        border-radius: 50%;
        border: 1px solid grey;
        position: absolute;
        top: -5px;
        left: -5px;
        width: 25px;
        height: 25px;
        text-align: center;
        line-height: 28px;
        transition-duration: 0.4s;
        transform: scale(0);
    }

    .gridselector label img {
        height: 100px;
        width: 100px;
        transition-duration: 0.2s;
        transform-origin: 50% 50%;
    }

.gridselector :checked + label {
    border-color: #ddd;
}

    .gridselector :checked + label:before {
        content: "✓";
        background-color: grey;
        transform: scale(1);
    }

    .gridselector :checked + label img {
        transform: scale(0.9);
        box-shadow: 0 0 5px #333;
        /*z-index: -1;*/
    }

#selector-imagepreview {
    margin: 0 auto;
    position: absolute;
    /*border: 1px solid #ccc;*/
    background: #333;
    padding: 5px;
    display: none;
    color: #fff;
    z-index: 9999;
}
/*字段名为thumbnail*/
th.thumbnail,
td.thumbnail {
    display:table-cell;
    margin-bottom:0px;
    border-radius: 0px;
}
