﻿

/* Styles for basic forms
-----------------------------------------------------------*/
fieldset
{
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend
{
    font-size: 1.2em;
    font-weight: bold;
}

textarea
{
    min-height: 75px;
}

.editor-label
{
    margin: 1em 0 0 0;
}

.editor-field
{
    margin: 0.5em 0 0 0;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    padding-top: 7px;
    display: inline-block;
    color: #a94442;
    outline-color: Red 1px solid;
}


.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #a94442 !important;
    background-color: #fee !important;
    color: #a94442 !important;
    outline-color: Red 1px solid !important;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #a94442;
}

.validation-summary-valid
{
    display: none;
}


/*自定义的一些调整样式*/
*[onclick], a[data-toggle]
{
    cursor: pointer;
}
.table label
{
    font-weight: normal; /*margin: auto;*/
    cursor: pointer;
}
.table *[class^="icon-"]
{
    font-size: 15px;
    margin-right: 3px;
}
.table td[rowspan^=1]
{
    vertical-align: middle;
}



/*配合bootstrap的标签导航使用的标签内容页*/
.nav
{
    margin-bottom: 0px;
}

.tab-content
{
    border: 1px solid #ddd;
    border-top: none;
    padding: 15px;
}

.btn-primary .badge
{
    background: white;
    color: #428bca;
    font-weight: normal;
}

.btn-warning .badge
{
    background: white;
    color: #faa732;
    font-weight: normal;
}

.circle
{
    border-radius: 30px;
    min-width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: inline-block;
    background: #888;
    color: White;
    margin: 5px;
    padding: 5px;
}
.circle-primary
{
    background: #006dcc;
    color: white;
}
.circle-success
{
    background: #5bb75b;
    color: white;
}
.circle-danger
{
    background: #da4f49;
    color: white;
}
.circle-warning
{
    background: #faa732;
    color: White;
}
.table-noborderd td
{
    border-top: none;
}

.dropdown-menu-right
{
    right: 0;
    left: auto;
}
.project-buttons
{
    width: 100%;
    position: fixed;
    bottom: 0px;
    left: 1px;
    min-height: 30px;
    line-height: 30px;
    background-color: white;
    border-top: 1px solid black;
}

.grid
{
    margin: 10px auto;
}
/*BOOTSTRAP的全屏模态样式*/
@media (min-width:992px)
{
    .modal-lg
    {
        width: 900px;
        height: 500px;
    }
    .modal-lg .modal-content
    {
        height: 100%;
        overflow: hidden;
    }

    .modal-lg .modal-content .modal-body
    {
        height: 98%;
        height: calc(100% - 55px);
        overflow: auto;
    }
}


.modal-full
{
    top: 0px;
    margin: 8px;
    width: 98%;
    height: 98%;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
}

.modal-full .modal-content
{
    height: 100%;
    overflow: hidden;
}

.modal-full .modal-content .modal-body
{
    height: 98%;
    height: calc(100% - 55px);
    overflow: auto;
}

@media (min-width: 768px){
    .form-inline .form-group 
    {
        margin-bottom:5px;
    }
}
.inline-block
{
    display:inline-block;width:auto;
    }
    
/*add by timfeng 2017-7-12*/
.table td.align-left
{
    text-align: left;
}
/*列表的表格集合，全部居中显示*/
.table-list>thead>tr>th
{
    color:White;
    background:#2196f3;
    }
.table-list>tbody> tr>td, .table-list>thead>tr>th
{
    text-align: center;
}


/*编辑页或详细页的表格，th居右,td居左*/
.table-edit>tbody>tr>th
{
    text-align: right;
    color:#2196f3
}
.table-edit>tbody>tr>td
{
    text-align: left;
}
