html,body{
    height: 100%;
}
a{
    color: #666;
}
.flex{
    display: flex;
}
.btn{
    border-radius: 2px;
}
.form-control{
    border-radius: 2px;
}
.content-main{
    width: 100%;
    height: calc(100vh - 60px);
    display: flex;
}
.system-menu{
    width: 220px;
    max-height: 100%;
    display: flex;
    overflow-x: hidden;
    z-index: 9999;
}
.side-left{
    width: 90px;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: #2384e5;
}
.sidebar > li {
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.sidebar > li.active > a,.sidebar > li:hover > a {
    background-color: #fff;
    color: #2384e5;
}
.sidebar > li.active:after{
    border-right-color: #2384e5;
}
.sidebar > li:first-child.active:after {
    border-right-color: #2384e5;
}

.content-section{
    width: calc(100% - 220px);
    flex: auto;
    display: flex;
}
.content-submenu{
    width: 130px;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    float: left;
    display: inline-block;
}
.content-body{
    flex: auto;
    overflow-y: auto;
    padding: 15px 0 !important;
}

.content-submenu .nav-tabs{
    height: 100%;
    border-bottom: 0;
    border-right: 1px solid #ddd;
}
.content-submenu .nav-tabs > li {
    width: 100%;
    background-color: #fff;
    margin-bottom: 0;
    border-right: 2px solid #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.content-submenu .nav-tabs > li.active {
    border-right: 2px solid #13A89E;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.content-submenu .nav-tabs > li.active > a,.content-submenu .nav-tabs > li:hover > a{
    color: #2384e5;
    background-color: #eee;
}
.content-submenu .nav-tabs > li:hover {
    border-right: 2px solid #666;
}
.content-submenu .nav-tabs > li > a:hover{
    border: 0;
}
.content-submenu .nav-tabs > li > a{
    border-radius: 0;
    text-align: center;
    border: 0;
    font-size: 14px;
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*white-space: nowrap;*/
}

.content-submenu .nav > li > a{
    padding: 10px 5px;
}

.menu-click{
    display: none;
}
.header-brand {
    margin-right: 0;
}
@media screen and (max-width: 768px){
    .system-menu{
        width: 0;
        height: calc(100vh - 60px);
        position: absolute;
        top: 60px;
        left: 0;
    }
    .menu-click{
        display: inline-block;
    }
    .sidebar > li {
        margin-right: 0;
        padding-bottom: 0;
    }
}

/*分页控件样式*/
.pager {
    width: 100%;
    margin: 0;
}

.pager > div{
    width: 100%;
    display: inline-block;
}

.pager .item a {
    padding: 1px 2px;
    font-size: 14px;
}

/*数字页索引样式*/
.pager .cpb {
    padding: 1px 2px;
    font-size: 14px;
}

/*当前页样式*/
.pager a,.pager span{
    text-decoration: none;
    text-align: center;
    min-width: 28px;
    border: 1px solid #b3b1b1;
    color: #394264;
    font-weight: normal;
    display: inline-block;
    margin: 3px;
    padding: 0 5px;
    border-radius: 2px;
    line-height: 26px;
}

.pager label {
    color: #333;
}

.pager a:hover,.pager span.current{
    background-color: #2384e5;
    color: #fff;
    border: 1px solid #2384e5;
    text-decoration: none;
    font-weight: normal;
}

.btn{
    opacity: 0.9;
    transition: all 0.2s;
}
.btn:hover{
    opacity: 1;
}
a.btn:hover{
    color: #fff;
}

/*下拉框美化*/
.select {
    border: 1px solid #ccc;
    padding: 4px 3px;
    font-size: 12px;
    height: 32px;
    *margin: -1px;
    border-radius: 2px;
    box-shadow: 2px 2px 2px #e7f1f7 inset;
    float: left;
}

.select_border {
    height: 29px;
    *background: #fff;
    background: #fff;
    *border: 1px solid #bac7d2;
    *padding: 4px;
    *height: 20px;
}

.select_containers {
    *border: 0;
    *position: relative;
    *height: 18px;
    *overflow: hidden;
}

.select_border, .select_containers {
    display: inline-block;
}

/*==========以下部分是Validform必须的===========*/
.valid_form_tip {
    margin-left: 8px;
    line-height: 20px;
    height: 20px;
    overflow: hidden;
    color: #999;
    font-size: 12px;
}

.Validform_right {
    color: #71b83d;
    padding-left: 20px;
    background: url(../Images/formValidHelper/right.png) no-repeat left center;
}

.Validform_wrong {
    color: red;
    padding-left: 20px;
    white-space: nowrap;
    background: url(../Images/formValidHelper/error.png) no-repeat left center;
}

.Validform_loading {
    padding-left: 20px;
    background: url(../Images/formValidHelper/onLoad.gif) no-repeat left center;
}

.Validform_error {
    background-color: #ffe7e7;
}

#Validform_msg {
    color: #7d8289;
    font: 12px/1.5 tahoma, arial, \5b8b\4f53, sans-serif;
    width: 280px;
    -webkit-box-shadow: 2px 2px 3px #aaa;
    -moz-box-shadow: 2px 2px 3px #aaa;
    background: #fff;
    position: absolute;
    top: 0px;
    right: 50px;
    z-index: 99999;
    display: none;
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#999999');
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

#Validform_msg .iframe {
    position: absolute;
    left: 0px;
    top: -1px;
    z-index: -1;
}

#Validform_msg .Validform_title {
    line-height: 25px;
    height: 25px;
    text-align: left;
    font-weight: bold;
    padding: 0 8px;
    color: #fff;
    position: relative;
    background-color: #999;
    background: -moz-linear-gradient(top, #999, #666 100%);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#999), to(#666));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#999999', endColorstr='#666666');
}

#Validform_msg a.Validform_close:link, #Validform_msg a.Validform_close:visited {
    line-height: 22px;
    position: absolute;
    right: 8px;
    top: 0px;
    color: #fff;
    text-decoration: none;
}

#Validform_msg a.Validform_close:hover {
    color: #ccc;
}

#Validform_msg .Validform_info {
    padding: 8px;
    border: 1px solid #bbb;
    border-top: none;
    text-align: left;
}

.ratting_bar {
    display: inline-block;
    width: 16px;
    height: 16px;
}

/*** 菜品设置图片尺寸大小 */
.pic_cpt {
    width: 80px;
    height: 60px;
    border: 1px solid #ccc;
    padding: 1px;
    display: block;
    margin: 8px 0;
}

.pic_cpt img {
    width: 80px;
    height: 60px;
}

/*form*/
.textarea, .input-text {
    border: 1px solid #ccc;
    background: #f7fcfe; /* #f7fcfe #f3fafd*/
    border-radius: 2px;
    box-shadow: 2px 2px 2px #EFEBEB inset;
}

.input-text {
    height: 34px;
    width: 68%;
    box-sizing: border-box;
    padding: 0 4px;
}

.textarea, .input-text2 {
    border: 1px solid #ccc;
    background: #f7fcfe; /* #f7fcfe #f3fafd*/
    border-radius: 2px;
    box-shadow: 2px 2px 2px #EFEBEB inset;
}

.input-text2 {
    height: 34px;
    width: 140px;
    box-sizing: border-box;
    padding: 0 4px;
    float: Left;
}

.textarea, .input-text3 {
    border: 1px solid #ccc;
    background: #f7fcfe; /* #f7fcfe #f3fafd*/
    border-radius: 2px;
    box-shadow: 2px 2px 2px #EFEBEB inset;
}

.input-text3 {
    height: 34px;
    width: 100px;
    box-sizing: border-box;
    padding: 0 4px;
    float: Left;
}

.textarea, .input-text4 {
    border: 1px solid #ccc;
    background: #f7fcfe; /* #f7fcfe #f3fafd*/
    border-radius: 2px;
    box-shadow: 2px 2px 2px #EFEBEB inset;
}

.input-text4 {
    height: 34px;
    width: 220px;
    box-sizing: border-box;
    padding: 0 4px;
    float: Left;
}

.w100 {
    width: 100px;
}

.w120 {
    width: 120px;
}

.w140 {
    width: 140px;
}

.w160 {
    width: 160px;
}

.w180 {
    width: 180px;
}

.w200 {
    width: 200px;
}

.h34 {
    height: 34px;
}

.mleft10 {
    margin-left: 10px;
}

.mleft20 {
    margin-left: 20px;
}

.mleft30 {
    margin-left: 30px;
}

.mleft40 {
    margin-left: 40px;
}

.mleft50 {
    margin-left: 50px;
}

.mleft60 {
    margin-left: 60px;
}

.pd5 {
    padding: 0 5px;
}

.pd10 {
    padding: 0 10px;
}

.pd15 {
    padding: 0 15px;
}

.pt5 {
    padding-top: 5px;
}

.pt10 {
    padding-top: 10px;
}

.pt15 {
    padding-top: 15px
}

.pt20 {
    padding-top: 20px
}

.pb5 {
    padding-bottom: 5px;
}

.pb10 {
    padding-bottom: 10px;
}

.pb15 {
    padding-bottom: 15px
}

.pl20 {
    padding-bottom: 20px
}

.pl5 {
    padding-left: 5px;
}

.pl10 {
    padding-left: 10px;
}

.pl15 {
    padding-left: 15px
}

.pl20 {
    padding-left: 20px;
}

.pr5 {
    padding-right: 5px;
}

.pr10 {
    padding-right: 10px;
}

.pr15 {
    padding-right: 15px;
}

.pr20 {
    padding-right: 20px;
}
.alert{
    width: 100%;
    display: inline-block;
}
.alert .form-group{
    margin-bottom: 0;
}
table.table {
    width: 100%;
}
.wd_btn{
    margin: 5px 0;
    float: left;
}
.wd_input,.wd_select{
    width: 50%;
    height: 34px;
    float: left;
    margin: 5px 0;
}
p#wait,p#notice{
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #aaaaaa;
    background: white;
    color: #7DD43C;
}
p.error{
    color: #d9534f;
}
p.success{
    color: #5cb85c;
}
a.dropdown-toggle{
    font-size: 16px;
}
a.dropdown-toggle img{
    width: 40px;
    height: 40px;
    margin: 5px;
    border-radius: 50%;
    border: 1px solid #ccc;
    vertical-align: middle;
}

.edui-container{
    overflow-x: scroll;
}

.panel-body{
    width: 100%;
    overflow-x: auto;
}

.panel-body table thead tr th,
.panel-body table tbody tr td{
    white-space: nowrap;
}

.alert .form-group{
    margin: 0;
}

.row{
    margin: 0;
}

@media screen and (min-width: 768px){
    .wd_input,.wd_select{
        width: 33.33333%;
    }
}
@media screen and (min-width: 992px){
    .wd_input,.wd_select{
        width: 20%;
    }
}
@media screen and (min-width: 1200px){
    .wd_input,.wd_select{
        width: 12.5%;
    }
}
