@media (min-width: 980px) {
    /*-----*/
    .custom-bar-chart {
        margin-bottom: 40px;
    }

}
/*@media (max-width: 767px) and (max-width: 979px) {*/
@media (max-width: 979px) {
    .adv-table table tr td{
        padding:10px; 
    }

    .navbar-collapse, .navbar-collapse.in, .mega-menu ul li a {
        width: 100%;
    }

    .mega-menu .navbar-nav {
        height: 100%;
    }

    .mega-bg {
        position: relative;
    }

    .mail-box .sm-side {
        width: 30%;
    }

    .mail-box .lg-side {
        width: 70%;
    }
    /*-----*/
    .custom-bar-chart {
        margin-bottom: 40px;
    }

    /*chat room*/

    .chat-room aside {
        display: block;
    }
    .chat-room .left-side, .chat-room .mid-side, .chat-room .right-side, .chat-room .left-side footer {
        width: 100%;
    }

    .chat-room .left-side footer {
        position: relative;
    }

    ul.chat-user {
        margin-bottom: 20px;
    }

    .chat-room .left-side , .chat-room .mid-side{
        margin-bottom: 10px;

    }

    .chat-room .left-side .user-head , .chat-room-head, .chat-room .right-side .user-head{
        border-radius: 4px 4px 0 0;
        -webit-border-radius: 4px 4px 0 0;
    }
    .chat-room .left-side footer {
        border-radius: 0 0 4px 4px;
        -webkit-border-radius: 0 0 4px 4px;
    }
    /**/
    .chat-room .right-side .user-head {
        float: left;
        width: 100%;
    }

    .chat-room .mid-side footer {
        position: relative;
        float: left;
        width: 100%;
        border-right: 0;
    }

    .chat-txt {
        width: 65%;
    }

    .chat-room .right-side footer {
        width: 100%;
        position: relative;
    }

    .chat-room .mid-side {
        margin-bottom: 0!important;
    }
    .op-area {
        width: 110px!important;
    }

}

@media (max-width: 768px) {
    .body{
        font-size: 14px;
    }
	#alert-success{ position: fixed !important; top: 28% !important;}
	.fm_zchlish{display: none;}
	.top-nav .spspan{line-height: 23px;font-size: 12px; color: #b3aeae;}
	#container{ margin-top: 0 !important;}
	.modal-body {padding: 5px; margin-top: 20px;}
	.panel-body {padding: 5px; margin-top: 20px;box-shadow: none;}
	.form_select{ position: relative !important;width: 100%; border-radius: 0;}
	.contactaddress .disflex{ display: block;padding:0;}
	.contactaddress .rightaddr{ width: 100%; overflow: hidden;}
	.contactaddress .leftaddr{ width: 100%;}
	.contactaddress .leftaddr dl dd{line-height: 20px;}
	.divfm_nr{padding: 0;}
	.contactaddress{padding: 0;}
	.pcsidebar-toggle-box{display: none;}
    .sidebar-toggle-box {
    display: block; left: 3px; position: absolute; top:-2px;z-index: 99999; padding: 5px;
    }
	.detailgoodsku li{padding: 5px; float: left;}
	.detailgoodsku_right .h4 span{float: none;}
	#btn_topmessage{ width: 100%;}
	#editForm{ display: block  !important;}
	.tabL_div{ padding-left: 20px;}
	.lc_lab{padding-left: 20px;}
	.reminderjpg{display: none;}
	.site-footer{ text-align: center;}
	.site-footer a{ display: none;}
	#index_rowxin1{ display: none;}
	#index_tabzshi{ display: none;}
	.search_navigations{padding: 0;}
	.card-box2{min-width: 120px;width: 49%;}
	.card-box{ width: 49%;margin: 0.5%;}
	.panel-body .h2span{ font-size: 14px;}
	.index_tabzshi li{ min-width: 50px;}
	#accesstype{position: relative!important;width: 100%!important;}
	.no-bottom{margin-left: 0 !important;}
	.tabList_tan{margin-top: 5px;}
	.tabList_tan ul li{font-size: 12px;line-height: 21px; height: 24px;padding: 0px 5px;  border-radius: 0;}
	.tabList_tan li.hover{height: 21px;font-size: 13px;}
	.tabL_div3{ padding-left: 10px;}
    .header {
        position: absolute;
        background:#1e2a6d;
        border-bottom: 0px; height: 45px;
        z-index: 1003;left: 0 !important;
    }
	.top-nav .souso{ display: none;}
	.header .paneltitle{display: none;}
    a.logo {
        display: none;
    }
    .panel-heading{
       
        position: relative; padding-left: 10px;
        font-size: 16px; line-height: 40px;
        background: #f5f7fa;font-family: "microsoft yahei";/* border-bottom: 1px solid #55ca7f; */
    }
     .fm_fontcenter{
       
       
        text-align: center; padding-left: 0 !important;
       
    }
	.top-nav .spspai{ display: none;}
	#queryKeyword{height: auto;
    background: #f5f8fa;
    border-radius: 0px;
    padding-left: 15px;
    font-size: 13px;
    line-height: 17px;
    padding-right: 15px;}
	#btn_query{
    border-radius: 0px;border-bottom-color: #1e2a6d;
    width: auto;
    color: #fff;
    font-size: 21px;
    margin-left: 0px;
    position: relative;
    z-index: 9; }

    /*sidebar*/


    #sidebar {
        display: none; 
    }
  
    .sidebar-close #sidebar {
        height: auto;
        /*overflow: hidden;*/ 
        overflow: auto;
        position: absolute;
      /*  width: 100%; */
        z-index: 1001; 
       /* display: block; */
      
    }
    .sidebar-closed #sidebar {
        height: auto; 
    }
	ul.sidebar-menu {
        margin-top: 0px;
    }
    #sidebar hr{
        border:white
    }


    /* body container */
	.wrapper{
		padding:0px;
        margin-top:0;
	}
    #main-content {
        margin: 60px 5px 0 5px!important;
        position: none !important; 
    }

    #sidebar ul li a span {
        line-height: 35px;
       
    }
   
    #sidebar>ul>li {
       /* margin: 1px 1%; */
    	width: 100%;
        clear: initial; overflow: hidden; 
    }
    #sidebar > ul >li> a {
      /*  height:50px; */
      line-height:30px;
        padding: 0 10px;
        text-align: left;
		text-indent: 5px;
        text-align: center;word-wrap: break-word;
    word-break: normal;
    }
    #sidebar ul li a i{
        display: none !important;
    }
	
#sidebar > ul > li > ul.sub {
   /* display: none !important; visibility: hidden; */
	position: fixed; z-index: 99999;
	top: 0;
	margin-left: 89px;
	width: 162px;height: 100%; background-color: #f1f1f1!important;
}
#sidebar > ul > li > ul.sub>li{ padding: 0; margin-right: 10px; height: auto;}
#sidebar > ul > li > ul.sub>li>a{ line-height: 25px!important;}
#sidebar > ul > li > ul.sub>li>ul.sub{
	position: absolute;
	    top: 0; margin-left: 80px; z-index: 9999999;
	    width: 90px;
	    background: #fff;
	    padding: 8px 0; border-radius: 0.675rem;
	    box-shadow: 0 2px 20px rgba(0,0,0,.1); display: none;
}

#sidebar > ul > li > ul.sub>li>ul.sub>li{ margin: 1px 2px;  }



    .mail-info, .mail-info:hover {
        display: none !important;
    }
    #sidebar ul > li > a .arrow, #sidebar > ul > li > a .arrow.open {
        margin-right: 10px;
        margin-top: 15px;
    }

    #sidebar ul > li.active > a .arrow, #sidebar ul > li > a:hover .arrow, #sidebar ul > li > a:focus .arrow,
    #sidebar > ul > li.active > a .arrow.open, #sidebar > ul > li > a:hover .arrow.open, #sidebar > ul > li > a:focus .arrow.open{
        margin-top: 15px;
    }

    #sidebar ul li a, #sidebar ul li ul.sub li {
        width: 100%;
        
    }
    #sidebar ul li ul.sub li a {
        line-height: 24px; padding-left: 10px;color: #333;
    text-align: left;
    }
    #sidebar ul li ul.sub li a:hover {
        /*background: #4A8BC2 !important ;*/
    }


    /* sidebar */
    #sidebar {
        margin: 0px !important;
    }

    /* sidebar collabler */
    #sidebar .btn-navbar.collapsed .arrow {
        display: none;
    }

    #sidebar .btn-navbar .arrow {
        position: absolute;
        right: 35px;
        width: 0;
        height: 0;
        top:48px;
        border-bottom: 15px solid #282e36;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
    }


    /*---------*/
    .modal-dialog {
    margin: 0px;
    }

    .modal-footer .btn {
        margin-bottom: 0px !important;
    }

    .form-group .btn {
        margin-bottom: 5px; padding: 3px 10px 3px; font-size: 15px;
    }
    .fm_gloginbtn {
        margin-top: 20px; width: 100%;
    }
    .fm_mtop10{ margin-top: 10px;}



    .mail-box aside {
        display: block;
    }

    .mail-box .sm-side , .mail-box .lg-side{
        width: 100% ;
    }

    /* full calendar fix */
    .fc-header-right {
        left:25px;
        position: absolute;
    }

    .fc-header-left .fc-button {
        margin: 0px !important;
        top: -10px !important;
    }

    .fc-header-right .fc-button {
        margin: 0px !important;
        top: -50px !important;
    }

    .fc-state-active, .fc-state-active .fc-button-inner, .fc-state-hover, .fc-state-hover .fc-button-inner {
        background: none !important;
        color: #FFFFFF !important;
    }

    .fc-state-default, .fc-state-default .fc-button-inner {
        background: none !important;
    }

    .fc-button {
        border: none !important;
        margin-right: 2px;
    }

    .fc-view {
        top: 0px !important;
    }

    .fc-button .fc-button-inner {
        margin: 0px !important;
        padding: 2px !important;
        border: none !important;
        margin-right: 2px !important;
        background-color: #fafafa !important;
        background-image: -moz-linear-gradient(top, #fafafa, #efefef) !important;
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#efefef)) !important;
        background-image: -webkit-linear-gradient(top, #fafafa, #efefef) !important;
        background-image: -o-linear-gradient(top, #fafafa, #efefef) !important;
        background-image: linear-gradient(to bottom, #fafafa, #efefef) !important;
        filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fafafa', endColorstr='#efefef', GradientType=0) !important;
        -webkit-box-shadow: 0 1px 0px rgba(255, 255, 255, .8) !important;
        -moz-box-shadow: 0 1px 0px rgba(255, 255, 255, .8) !important;
        box-shadow: 0 1px 0px rgba(255, 255, 255, .8) !important;
        -webkit-border-radius: 3px !important;
        -moz-border-radius: 3px !important;
        border-radius: 3px !important;
        color: #646464 !important;
        border: 1px solid #ddd !important;
        text-shadow: 0 1px 0px rgba(255, 255, 255, .6) !important;
        text-align: center;
    }

    .fc-button.fc-state-disabled .fc-button-inner {
        color: #bcbbbb !important;
    }

    .fc-button.fc-state-active .fc-button-inner {
        background-color: #e5e4e4 !important;
        background-image: -moz-linear-gradient(top, #e5e4e4, #dddcdc) !important;
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e5e4e4), to(#dddcdc)) !important;
        background-image: -webkit-linear-gradient(top, #e5e4e4, #dddcdc) !important;
        background-image: -o-linear-gradient(top, #e5e4e4, #dddcdc) !important;
        background-image: linear-gradient(to bottom, #e5e4e4, #dddcdc) !important;
        filter: progid:dximagetransform.microsoft.gradient(startColorstr='#e5e4e4', endColorstr='#dddcdc', GradientType=0) !important;
    }

    .fc-content {
        margin-top: 50px;
    }

    .fc-header-title h2 {
        line-height: 40px !important;
        font-size: 12px !important;
    }

    .fc-header {
        margin-bottom:0px !important;
    }

    /*--*/

    /*.chart-position {*/
        /*margin-top: 0px;*/
    /*}*/

    .timeline-desk .album a {
        margin-bottom: 5px;
        margin-right: 4px;
    }
	.timeline-item.alt .timeline-date, .timeline-item .timeline-date {
    position: inherit;
	}

    .stepy-titles li {
        margin: 10px 3px;
    }

    .mail-option .btn {
        margin-bottom: 0;
    }

    .boxed-page .container #sidebar {
        position:absolute;
    }

    /*--horizontal menu--*/
    .full-width .navbar-toggle {
        border: 1px solid #eaeaea;
    }
    .full-width .navbar-toggle .icon-bar {
        background: #c7c7c7;
    }

    .full-width .navbar-toggle {
        float: left;
        margin-top: 12px;
    }

    .horizontal-menu {
        float: left;
        margin-left:0px;
        width: 70%;
        margin-top: 10px;
    }

    .top-nav {
        position: absolute;
        right: 5px;
        top: 5px;
    }
	.fm_topmessage{right: 5px; }
	.pull-right{margin-right: 30px !important;}

    .horizontal-menu .navbar-nav > li > a {
        padding-bottom: 10px;
        padding-top: 10px;
    }
    /*-----*/
    .custom-bar-chart {
        margin-bottom: 40px;
    }

    /*menu icon plus minus*/
    .dcjq-icon {
        top: 10px;
    }
    ul.sidebar-menu li ul.sub li a {
        padding: 0;
    }

    /*---*/

    .img-responsive {
        width: 100%;
    }
	
	/*state-overview*/
	.state-overview .symbol i{
		font-size:18px;
	}
    .state-overview .value{
        padding-top: 30px;
    }
	.state-overview .value h1{
		font-size:18px;
	}
	.state-overview badge{
		font-size:10px;
	}
	.panel{
		margin-bottom: 10px;
	}
	.row{
		margin-right: 0px;
    	margin-left: 0px;
	}
	.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{
		padding-right: 0px;
    	padding-left: 0px;
	}
    .modal-header h4.modal-title{
        text-indent: 0px;
    }
    .op-area {
        width: 110px!important;
    }
	/* .fm_refreshlay{ text-align: center;position: fixed;
	 top: 0; left: 0;height: 100%; width: 100%;background:#fff;   opacity: 1; filter: alpha(opacity=100); z-index: 99999999999; } */

}



@media (max-width: 480px) {
	.table-advance tr td{white-space: inherit;}
	.titletopf{font-size: 14px;border-left: 3px solid orange; padding-left: 9px;}
	.top-nav .dropdown-menu.extended.logout{ top: 50px !important;}
	/* .form-control:focus{ border: 1px solid #6993ff !important;} */
	.no-bottom:hover .btn-white{background-color: #f64f60;}
	.btn-xs{color: #37469b;}
	/* .fm_refreshlay{ text-align: center;position: fixed;
	 top: 0; left: 0;height: 100%; width: 100%;background:#fff;   opacity: 1; filter: alpha(opacity=100);z-index: 99999999999; }
	.fm_refreshlay img {
	    position: fixed;
	    top: 50%;
	    margin-top: -50px;
	    z-index: 999999;
	} */
	body {font-family: Arial;}
	p {
	    margin: 0;
	}
	.hasmark_underline{color:orange; cursor: pointer;}
	.tabList_tan ul li{ border-radius: 0 !important;}
	.class480{ display: none;}
	input[type="checkbox"]:checked::before{background-color: #f64e60;border: 1px solid #f64e60; padding-top: 0;}
	.modal-header{font-size: 16px;}
	.fa-times{color: red;}
	.btn{ font-size: 15px; padding: 1px 13px 4px; line-height: 24px;}
	.table td{ font-size: 14px;}
	.table th{ font-size: 14px;}
	.tabLneur{font-size: 15px; color: #000000;line-height: 30px;}
	.fm_zchlish{display: none;}
	.panelheading{position: absolute;top:50px; }
	.panel-heading{ position: fixed;top: 0; width: 100%;z-index:999; color: #000000; font-family: "微软雅黑"; font-size: 16px;}
    .form-signin{
        max-width:100%;
        margin:0px;
        height: 100%;

    }.fm_col_sm_4{ width: 100%;}
	.top-nav .spspan{line-height: 40px;font-size: 15px; color: #b3aeae;}
    .fm_zchlish{ left: 11px;}
    .fm_buttonbc{position: fixed; bottom: 0; left: 0px; width: 100%; background: #fff; border: 0; }
	.fm_buttonbc div{ display: flex;justify-content: center; }
	.fm_buttonbc button{ margin: 10px 2px;}
    .fm_borderk button{ border: 0;}
    .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{border-left:none ;border-right:none ;border-top:none ; }
    .form_select{border-left:none ;border-right:none ;border-top:none ;margin: 8px 0;border-radius: 0; font-size: 15px;font-weight: bold;}
    .form-control{border-left:none ;border-right:none ;border-top:none ; border-radius:0px !important;font-size: 15px;font-weight: bold;}
    .form-control.borderleft{border-left:1px solid rgba(150,160,180,.2);}
    .fm_mtops5{ margin-top: 5px; margin-right: 5px; }
    .fm_widt100{ width: 100%;}
    .fm_widt49{ width: 48%; margin: 0 0.5%; overflow: hidden; }
    .btn-white{ border-left-color: transparent;border-right-color: transparent;border-top-color: transparent;}
    .fm_cent{ text-align: center;}
    .fm_yhbutton{display: flex;flex-direction:row;} 
    input[type="checkbox"]:checked::before{ padding-top: 2px;}
    .fm_yhbutton{ text-align: left;}
  /*  .table-advance tr td{min-width: 100px;} */
    .form-group{   border-bottom: transparent;}
    .form-group.widthfm330{ min-width: 330px;}
    .panel-body{padding:40px 5px 15px;border-color: transparent;}
    body {
	
	background: #fff;
	font-family: "Microsoft YaHei", Arial;
	
}  
    .input-group{ width: 100%;}
    .form-horizontal .form-group:hover{background-color:transparent; }
    div.btn{ margin-top: 5px;}
    .navbar-collapse, .navbar-collapse.in, .mega-menu ul li a {
        width: 100%;
    }

    .mega-menu .navbar-nav {
        height: 100%;
    }

    .mega-bg {
        position: relative;
    }

    .notify-row, .search, .dont-show , .inbox-head .sr-input, .inbox-head .sr-btn{
        display: none;
    }

    .mail-box aside {
        display: block;
    }

    .mail-box .sm-side , .mail-box .lg-side{
        width: 100% ;
    }

    #top_menu .nav > li, ul.top-menu > li {
        float: right;
    }
    .hidden-phone {
        display: none !important;
    }

    .dataTables_filter {
        float: left;
    }

    .dataTables_info {
        margin-bottom: 10px;
    }

    .mail-option .btn {
        margin-bottom: 0;
    }

    .mail-option .inbox-pagination {
        margin-top: 10px;
        float: left;
    }

    .chart-position {
       margin-top: 0px;
     }
    /*--horizontal menu--*/
    .full-width .navbar-toggle {
        border: 1px solid #eaeaea;
    }
    .full-width .navbar-toggle .icon-bar {
        background: #c7c7c7;
    }

    .full-width .navbar-toggle {
        float: left;
        margin-top: 12px;
    }

    .horizontal-menu {
        float: left;
        margin-left:0px;
        width: 100%;
    }

    .top-nav {
        position: absolute;
        right: 10px;
        top: 0px;
    }

    .horizontal-menu .navbar-nav > li > a {
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .ms-container {
        width: 100%;
    }

    .cmt-form {
        display: inline-block;
        width: 84%;
    }

    .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
        background-color: #ccc;
        border-color:#ccc ;
    }

    /*chat room*/

    .chat-room aside {
        display: block;
    }
    .chat-room .left-side, .chat-room .mid-side, .chat-room .right-side, .chat-room .left-side footer {
        width: 100%;
    }

    .chat-room .left-side footer {
        position: relative;
    }

    ul.chat-user {
        margin-bottom: 20px;
    }

    .chat-room .left-side , .chat-room .mid-side{
        margin-bottom: 10px;

    }

    .chat-room .left-side .user-head , .chat-room-head, .chat-room .right-side .user-head{
        border-radius: 4px 4px 0 0;
        -webit-border-radius: 4px 4px 0 0;
    }
    .chat-room .left-side footer {
        border-radius: 0 0 4px 4px;
        -webkit-border-radius: 0 0 4px 4px;
    }

    /**/
    .chat-room .right-side .user-head {
        width: 100%;
        float: left;
    }

    .chat-room .mid-side footer {
        position: relative;
        float: left;
        width: 100%;
        border-right: 0;
    }

    .chat-txt {
        width: 65%;
    }

    .chat-room .right-side footer {
        width: 100%;
        position: relative;
    }

    .chat-room .mid-side {
        margin-bottom: 0!important;
    }
    .filelist .file-name{
        max-width: 200px;
    }
    .table>thead:first-child>tr:first-child>th{
       /* display: none;*/
    }
    .op-area {
        width: 110px!important;
    }
    .form-horizontal .form-group{ border: 0; margin: 0;}
    .form-group .control-label{ font-size: 15px; padding-left: 12px;font-family: "microsoft yahei"; color: #444; font-weight: 500;}
    .form-group .col-sm-4 .form-control{ margin-bottom: 4px;}
    .form-group .col-sm-4 textarea{ margin-bottom: 4px;}
	.tabLneur{ font-weight: bold;}

}

@media (max-width:320px) {
    .login-social-link a {
        padding: 15px 17px !important;
    }

    .notify-row, .search, .dont-show, .inbox-head .sr-input, .inbox-head .sr-btn {
        display: none;
    }

    .mail-box aside {
        display: block ;
    }

    .mail-box .sm-side , .mail-box .lg-side{
        width: 100% ;
    }

    #top_menu .nav > li, ul.top-menu > li {
        float: right;
    }

    .hidden-phone {
        display: none !important;
    }

    .dataTables_filter {
        float: left;
    }

    .dataTables_info {
        margin-bottom: 10px;
    }

    .mail-option .btn {
        margin-bottom: 0;
    }

    .mail-option .inbox-pagination {
        margin-top: 10px;
        float: left;
    }

    .chart-position {
        margin-top: 0px;
    }

    .lock-wrapper {
        margin: 10% auto;
        max-width: 310px;
    }
    .lock-input {
        width: 82%;
    }

    .cmt-form {
        display: inline-block;
        width: 75%;
    }

    .chat-room .mid-side footer .btn-group {
        display: none;
    }

    .stepy-titles li.current-step div, .stepy-titles li div {
        width: 70px;
        height: 70px;
        line-height: 70px;
    }
    .op-area {
        width: 110px!important;
    }
}



