
* {
    font-family: "Inconsolata", "Fira Mono", "Source Code Pro", Monaco, Consolas, "Lucida Console", monospace;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/glyphicons-halflings-regular.woff') format('woff'),
    url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),
    url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings', 'serif';
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -moz-osx-font-smoothing: grayscale;
}

html {
    margin: 0 auto;
}

body {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    min-width: 1300px;
}

.background_box {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(200, 200, 200, 0.1), rgba(0, 0, 0, 0.4));
    z-index: -10;
    min-width: 1300px;
}

a:hover {
    text-decoration: none;
    color: white;
}

.box {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: flex-start;
    position: relative;
}


/*右侧内容栏  start **************************************************/
.right {
    /*width: 89%;*/
    flex: 1;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    margin: 0 auto;
}

.right_mobile {
    width: 100%;
}

.right_item {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.btn {
    margin-right: 5px;
}

/*表格样式   start*/
.table {
    background-color: transparent;
    margin-top: 5px;
}

.table > thead > tr > th,
.table > tbody > tr > td {
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    padding: 8px 0;
}

th {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.table > thead > tr > th {
    border-bottom: 1px solid transparent;
}

th, td {
    color: black;
}

/*.table > thead > tr,
.table > tbody > tr{
    box-shadow: 2px 2px 2px gray;
    !*box-shadow: 0 0 3px gray;*!
}*/

.table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.table tr:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.tb_1 {
    width: 100px;
}

.tb_2 {
    width: 200px;
}

.tb_3 {
    width: 300px;
}

.tb_4 {
    width: 400px;
}

.tb_5 {
    width: 500px;
}

.tb_6 {
    width: 600px;
}

.tb_7 {
    width: 700px;
}

.tb_8 {
    width: 800px;
}

.tb_9 {
    width: 900px;
}

.tb_10 {
    width: 1000px;
}

.tb_id {
    width: 50px;
}

.tb_admin_name {
    width: 90px;
}

.tb_created_by {
    width: 100px;
}

.tb_datetime {
    width: 200px;
}

.tb_notes {
    width: 200px;
}

.tb_address {
    width: 200px;
}

.tb_action {
    width: 140px;
}

.tb_btn {
    cursor: pointer;
    box-shadow: 0 0 2px black;
    padding: 5px 5px 5px 5px;
    border-radius: 5px;
    color: whitesmoke;
}

.tb_btn:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.tb_btn_delete,
.btn_delete_icon,
.tb_btn_delete_district {
    color: #a90000;
}

.tb_btn_view {
    color: green;
}

.tb_btn_update {
    color: darkblue;
}

/*表格样式   end*/

/*搜索样式   start*/
.form_search {
    width: 100%;
    padding: 0 0 0 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}

.form_search_mobile {
    display: block;
    width: 95%;
}

.form_search .input-group {
    margin: 5px 5px 0 0;
}

.form_search_mobile .input-group {
    margin: 5px 0 0 0;
}

.form_search button {
    margin-top: 5px;
    width: 100px;
}

.form_search .input-group span {
    padding-right: 4px;
}

.form_search_sub_panel {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form_search_sub_panel .input_group_half_width {
    width: 49%;
}

.input-group .icon_select_btn {
    background-color: transparent;
}

.form_edit .icon_select_btn {
    margin-right: 8px;
}

.dropdown-menu {
    background: rgba(50, 50, 50, 0.6);
    color: white;
}

.dropdown-menu li a {
    color: whitesmoke;
}

.dropdown-menu li a:hover {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-weight: bold;
    width: 95%;
    border-radius: 5px;
    margin: auto;
    padding-top: 6px;
    padding-bottom: 6px;
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/*搜索样式   end *******************************************************/

.card-header {
    /*border: 1px solid grey;*/
    border-bottom: 1px solid grey;
    border-radius: 10px;
    margin-top: 2px;
    border-image: linear-gradient(to right, grey, silver, transparent, transparent) 1;
}

.card-header .btn label {
    margin: 0;
}

/* Modal 编辑样式   start *******************************************************/


.modal-title {
    font-weight: bold;
}

.input-group span {
    background-color: rgba(0, 0, 0, 0.1);
    color: black;
    border: 0;
    padding-right: 0;
}

.form_edit .input-group-sm span {
    padding-right: 0;
    /*padding-left: 5px;*/
}

.form_edit_sub_panel {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form_edit_sub_panel .input-group {
    width: 49%;
}

option {
    font-size: 16px;
}

.form_edit label.error {
    color: red;
    padding-left: 5px;
}

.form_edit .form-control.error {
    border: 1px solid red;
}

.form_edit #btnSubmitModal {
    width: 50%;
    margin-left: 25%;
    margin-top: 10px;
}

.color_gold {
    color: darkgoldenrod;
}

.color_red {
    color: #db0000;
}

.color_green {
    color: darkgreen;
    font-weight: bold;
}

.modal-content {
    background: linear-gradient(rgba(230, 230, 230, 1), rgba(200, 200, 200, 0.9));
    margin-top: 100px;
}

.modal-header {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.modal-header button {
    position: absolute;
    right: 10px;
    font-size: 30px;
}

.modal-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.form_edit_title_vendor {
    margin-top: 20px;
    border-bottom: 1px dashed green;
    padding-bottom: 5px;
}

.form_edit_title_profit {
    margin-top: 20px;
    border-bottom: 1px dashed red;
    padding-bottom: 5px;
    font-weight: bold;
}

/*Message Modal --------------------------------------------------*/
.modal .modal-body p {
    color: black;
}

/* Modal 编辑样式   end *******************************************************/

/*右侧内容栏  end **************************************************/

/* footer 底部 start ***************************************************/
.footer {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(white, silver); /* 标准的语法 */
    padding-top: 20px;
}

/* footer 底部 end ***************************************************/

/*loading*/
.loading {
    position: absolute;
    width: 100%;
    height: 750px;
    left: 0;
    top: 0;
    /*display: flex;*/
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.2);
}

