
@media (max-width: 767px) {
	
	.nav a{ color:#000 !important}
	.hr-toggle {
        background: none;
        color: #000;
        height: 30px;
        line-height: 0;
        right: 10px;
				top:12px;
        width: 20px;
		font-size:20px;
        z-index: 10000;
    }
	.horizontal-menu {
    width: 100%;
	position:absolute; 
	background:#fff;
	margin-top:0px; 
	border-bottom:1px solid #ccc;
	}
	.brand{ float:inherit}
	
	.m_none{ display:none}
	.m_none{ display:none !important;}
	
	.horizontal-menu > .nav > li a{ color:#000 !important }
	.horizontal-menu > .nav > li{ padding:0 20px; border-bottom:1px solid #eee }
	.horizontal-menu > .nav > li:last-child{ margin-bottom:20px}
	.horizontal-menu>.navbar-nav>li>.dropdown-menu {
    margin-top: 0px;
    box-shadow: 0 0 0px rgba(0,0,0,0.1) !important;
    border: none;
	width:100%;
	background:#f5f5f5; 
	}
	.horizontal-menu .navbar-nav>li>a.active{
		border-bottom:none;
		color: #000 !important
	}
	.horizontal-menu .navbar-nav>li>a:hover{
		border-bottom:none;
		color: #000 !important
	}
	.horizontal-menu > .nav > li a.button{ color:#fff !important}
	.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: #f5f5f5;
    color: #0057bb;
    text-decoration: none;		
	}
	
	.horizontal-menu>.navbar-nav>li>.dropdown-menu {
    width:100%;
	}
	.dropdown-menu.extended {width:100% !important; background: #eee}
	.top-nav li.dropdown .dropdown-menu {
    	float: inherit;
		background: inherit !important;
	}	
	.horizontal-menu .dropdown-menu:before {
    display:none;@media (min-width: 768px) and (max-width: 980px) {
    /*-*/
    .prd-row .action {
        right: 25px;
    }

    .hr-menu .brand{
        width: 100%;
    }

    .hr-menu .horizontal-menu {
        margin: 10px 0;
    }

    .hr-menu .hr-top-nav {
        margin-top: 10px;
        float: right;
    }
    .media-gal .item {
        width: 100%;
    }

    .media-filter {
        margin: 25px 0;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
  .header{
    position: relative! important;
    margin-top: 80px ! important;
}
    .merge-header{
        margin-right: 0px !important;
    }
.brand{
    width: 100%;
    float: none;
    position: fixed;
    top: 0px;
    z-index: 1005;
}
    .sidebar-toggle-box{
        right: 10px;
    }
    .top-nav{
        margin-bottom: 20px;
    }
    .top-menu{
        margin-right: 10px;
    }
    .wrapper{
        margin-top: 0px;
    }
    ul.sidebar-menu {
        margin-top: 0px;
    }
    #sidebar{
        position: fixed !important;
        z-index: 1002;
        top: 80px;
    }
    #main-content{
        margin-left: 0px;
    }
    /*calendar*/
    .fc-button-inner {
        padding: 0;
    }
    /*-*/
    .prd-row .action {
        right: 25px;
    }

    .weather-full-info ul li {
        width: 15.8%;
    }

    .today-status {
        margin-bottom: 10px;
    }

    .hr-toggle {
        background: #32D2C9;
        color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        -webkit-border-radius: 50%;
        height: 30px;
        line-height: 0;
        margin-top: -58px;
        position: fixed;
        right: 10px;
        width: 30px;
        z-index: 10000;
    }

    .hr-top-nav {
        display: inline-block;
        float: right;
        margin: 10px 0;
    }

    .horizontal-menu {
        width: 100%;
    }

    .horizontal-menu .navbar-nav > li {
        margin-bottom: 10px;
    }
    .lock-wrapper {
        padding: 0 20px;
    }

    .lock-wrapper img {
        width: 140px;
        height: 140px;
        margin-top: 10px;
    }

    .lock-pwd input {
        width: 70%;
    }

    #time {
        font-size: 100px;
    }
    .media-gal .item {
        width: 100%;
    }
    .media-filter {
        margin: 25px 0;
    }

    .media-filter + .pull-right, .media-filter + .pull-right + .btn  {
        float: left !important;
    }


}
@media (max-width:767px){

    .fixed-width #container, .fixed-width #container .header {
        width: 100%;
    }

    #sidebar{
        margin-left:-240px;
        -webkit-transition:all .3s ease-in-out;
        -moz-transition:all .3s ease-in-out;
        -o-transition:all .3s ease-in-out;
        transition:all .3s ease-in-out;
    }
    .hide-left-bar {
        margin-left:0px!important;
    }
    ul.sidebar-menu{
        padding-top: 0px;
    }
    /*-*/
    .prd-row .action {
        right: 25px;
    }
    .lock-wrapper {
        padding: 0 20px;
    }
    .lock-wrapper img {
        width: 140px;
        height: 140px;
        margin-top: 10px;
    }
    .lock-pwd input {
        width: 70%;
    }

    #time {
        font-size: 100px;
    }

    .media-gal .item {
        width: 100%;
    }
    .media-filter {
        margin: 25px 0;
    }

    .media-filter + .pull-right, .media-filter + .pull-right + .btn  {
        float: left !important;
    }

}
@media (max-width: 479px) {
    body{
        margin-top:80px !important;
    }
    .header{
        position: relative !important;

    }
    .merge-header{
        margin-right: 0px !important;
    }
    .brand{
        width: 100%;
        float: none;
        position: fixed;
        top: 0px;
        z-index: 1005;
    }
    .sidebar-toggle-box{
        right: 10px;
    }
    .top-nav{
        margin-bottom: 20px;
    }
    .top-menu{
        margin-right: 10px;
    }
    .wrapper{
        margin-top: 0px;
    }
    ul.sidebar-menu {
        margin-top: 0px;
    }
    #sidebar{
        position: fixed !important;
        z-index: 1002;
        top: 80px;
    }
    #main-content{
        margin-left: 0px;
    }
    .notify-row{
        float: none;
    }
    /*calendar*/
    .fc-button-inner, .fc-button-content {
        padding: 0;
    }
    .fc-header-title h2 {
        font-size: 12px!important;
    }
    .fc .fc-header-space {
        padding-left: 0;
    }
    .fc-state-active, .fc-state-active .fc-button-inner, .fc-state-active, .fc-button-today .fc-button-inner, .fc-state-hover, .fc-state-hover .fc-button-inner {
        background: none repeat scroll 0 0 #FFFFFF !important;
        color: #32323A !important;
    }
    .fc-state-default, .fc-state-default .fc-button-inner {
        background: none repeat scroll 0 0 #FFFFFF !important;
    }

    /*-*/
    .prd-row .action {
        right: 25px;
    }

    .weather-full-info ul li {
        width: 30%;
        margin-bottom: 10px;
    }

    .today-status {
        margin-bottom: 10px;
    }

    .hr-toggle {
        background: #32D2C9;
        color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        -webkit-border-radius: 50%;
        height: 30px;
        line-height: 0;
        margin-top: -58px;
        position: fixed;
        right: 10px;
        width: 30px;
        z-index: 10000;
    }

    .hr-top-nav {
        display: inline-block;
        float: right;
        margin: 10px 0;
    }
    .horizontal-menu {
        width: 100%;
    }

    .horizontal-menu .navbar-nav > li {
        margin-bottom: 10px;
    }

    .lock-wrapper {
        padding: 0 20px;
    }
    .lock-wrapper img {
        width: 100px;
        height: 100px;
        margin-top: -25px;
    }

    .lock-pwd input {
        width: 70%;
    }

    #time {
        font-size: 50px;
    }

    .lock-pwd {
        padding: 0;
    }

    .media-gal .item {
        width: 100%;
    }

    .media-filter {
        margin: 5px 0;
    }

    .media-filter + .pull-right, .media-filter + .pull-right + .btn  {
        float: left !important;
    }

    .media-filter li a {
        margin-bottom: 10px;
        display: inline-block;
    }
}



}
	
	.top-nav li.dropdown .dropdown-menu {
    	position: inherit;	
	}
	.dropdown-menu.extended {
    max-width: 100% !important;
    min-width: 100% !important;
    top: 0px;
    padding: 0 10px;
    box-shadow: 0 0px 5px rgba(0,0,0,0.1) !important;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    background: #fff;
    border: none;
    left: -10px;
	}
	

	.col-sm-12{ float:inherit}
	.mf0.four li{ width:50%}
	.mf0.four li:nth-child(even) .form-wrap dd{ padding:0}
	.mf0.five li{ width:50%}
	.mf0.four > li:nth-child(n+3){ margin-top:10px}

	.mf-both > .mf-L{ width:100%; margin-bottom:10px}
	.mf-both > .mf-R{ width:100%}
	.md_none{ display:block !important}
	.search-wrap{ width:100%; margin-top:0px !important }
	.table, .table th { font-size:12px}	
	.table td { font-size:11px}		
	
	.modal{top:70px; }
	.modal-xl {
		width:90%;
		margin: 0 auto
	}
	.modal-lg {
		width: 90%; 
		margin: 0 auto
	}
	.modal-lm {
		left:50%; margin-left: -320px
	}
	.modal-sm {
		left:50%; margin-left: -210px
	}
}

@media (max-width: 999px) {
    #sidebar{
        position: fixed !important;
        z-index: 100;
    }
    #main-content{
        margin-left: 0px;
    }
	
	.modal-lm {
		width: 90%;
		left:0;
		margin: 0px auto
	}
	
	.modal-sm {
		width: 90%;
		left:0;
		margin: 0px auto
	}
	
    .fixed-width #container, .fixed-width #container .header {
        width: 100%;
    }

    #sidebar{
        margin-left:-240px;
        -webkit-transition:all .3s ease-in-out;
        -moz-transition:all .3s ease-in-out;
        -o-transition:all .3s ease-in-out;
        transition:all .3s ease-in-out;
    }
    .hide-left-bar {
        margin-left:0px!important;
    }
    ul.sidebar-menu{
        padding-top: 0px;
    }

    .media-filter + .pull-right, .media-filter + .pull-right + .btn  {
        float: left !important;
    }

}




