* { box-sizing: border-box; }

html {
	margin:0;
	padding:0;
	height: 100%;
}

body {
	height: 100%;
	padding: 0;
    font-size: 14px;
    font-weight: normal;
    font-family: arial, sans-serif;
}

body.grey {
	background-color: #f7f7f7;
}

@media (max-width: 512px) {
	body {
		min-width: 512px;
	}
}

/**
 * Navbar
 */
.page .navbar {
	height: 51px;
	line-height: 51px;
	padding-left: 2rem;
	padding-right: 2rem;
	margin: 0;
	top: 0rem;
	border-bottom: 1px #ddd solid;
}

#imgbar img.logo {
	display: inline;
}

#imgbar img.icon {
	display: none;	
}

@media (max-width: 1024px) {
	#imgbar img.logo {
		display: none;
	}
	#imgbar img.icon {
		display: inline;	
	}
}

#navbar {
	float: right;
    min-height: 35px !important;
    background-color: #fff;
}
#navbar a, #navbar .dropdown-menu a {
	font-size: 13px;
	font-weight: normal;
}
#navbar .dropdown-submenu {
    position: relative;
}
#navbar .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;
}
#navbar .dropdown-submenu:hover>.dropdown-menu {
    display: block;
}
#navbar .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;
}
#navbar .dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}
#navbar .menuLabel {
	color: #666;
	display: none;
}
#navbar .menu-folders li span.glyphicon {
	margin-right: 4px;
}
#navbar .menu-folders .tab_1 {
	margin-left: 0px;
}
#navbar .menu-folders .tab_2 {
	margin-left: 12px;
}
#navbar .menu-folders .tab_3 {
	margin-left: 24px;
}
#navbar .logout {
	float: left;
	color: #c00;
}

@media (max-width: 991px) {
	/*
	#navbar .menuLabel {
		display: none;
	}
	*/
	#navbar .navbar-brand {
		padding-top: 12px;
		padding-left: 2px;
		padding-right: 5px;
	}
}

@media (max-width: 767px) {
	#navbar {
		box-shadow: rgba(0, 0, 0, 0.12) 0px 10px 20px, rgba(0, 0, 0, 0.12) 0px 6px 6px;
	}
	#navbar .navbar-nav {
		margin-top: 0;
		margin-bottom: 0;
		border: 1px #d9d9d9 solid;
	}
	#navbar .menuLabel {
		display: inline;
	}
	#navbar .navbar-nav li {
		font-size: 15px;
	} 
}

/**
 * Footer
 */
#footer {
	width: 100%;
	min-height: 28px !important;
	padding: 5px;
	background-color: #f3f1ed;
	font-size: 12px !important;
	border-top: 1px #ccc solid !important;
}
