@media only screen and (max-width: 768px) {
    /* ========== Page Not Found Style ========== */
	.pagenotfound{
		width: 90%;
	}
	
	.pagenotfound label.heading1, .pagenotfound label.heading2, .pagenotfound label.errormessage{
		font-size: 140px;
		line-height: 140px;
	}
	
	.pagenotfound label.heading2{
		font-size: 30px;
		line-height: 40px;
	}
	
	.pagenotfound label.errormessage{
		font-size: 15px;
    	line-height: 20px;
	}
	
	.pagenotfound input[type="Button"] {
		font-size: 12px;
		padding: 10px;
		width: 130px;
	}
	
	/* ========== Login Style ========== */
	
	#Login .loginbody .loginform {
		width: 90%;	
	}
	
	#Login .loginfooter label{
		font-size: 9px;
		padding: 10px 0px;
	}
	
	/* ========== Header Style ========== */
	
	#header {
		box-shadow: none;
	}
	
	#header .group {
		border-bottom: solid 1px silver;
		display: table;
		float: none;
		width: 100%;
	}
	
	#header .logo img {
		padding: 10px;
    	width: 37px;
	}
	
	#header .logo label{
        font-size: 15px;
	    padding: 14px 10px;
	}
	
	#header .btn-navbar{
		cursor: pointer;
		display: table;
    	float: right;
    	margin: 10px;
	}
	
	#header .logininfo {
		margin: 0px;
		width: 100%;	
	}
	
	#header .group2{
		border-bottom: dotted 1px silver;	
	}
	
	#header .logininfo .userinfo label .usermenu{
		left: 0px;	
	}
	
	#header .logininfo .userinfo label .usermenu .menu-top {
		left: 10px;	
	}
	
	#header .logininfo .notification {
		border-right: none;
		float: right;
	}
	
	#header .logininfo .logout{
		float: right;
	}
	
	#titlebar .titlegroup{
		padding: 10px;	
	}
	
	/* ========== Menu Style ========== */
	
	#menu-container{
		display: table;	
	}
	
	#menubar{
		display: none;	
	}
	
	#navbar-container{
		display: none;
	}
	
	#menu-list{
		border: none;
	}
	
	#menu-list ul{
		width: 100%;	
	}
	
	#menu-list ul li{
		border-bottom: dotted 1px black;
		cursor: pointer;
		display: table;
		float: none;
	    width: 100%;
	}
	
	#menu-list ul li img.btnsubmenu, #menu-list ul li img.btnsubsubmenu{
	    position: absolute;
    	right: 10px;
    	top: 10px;
	}
	
	#menu-list ul ul, #menu-list ul ul ul{
		display: none;
		position: initial;
    	width: 100%;
	}
	
	#menu-list ul ul ul{
		border-right: 0px;
		border-left: 0px;	
	}
	
	#menu-list ul ul li, #menu-list ul ul ul li {
		display: table;
		width: 100%;
	}
	
	/* ========== Container ========== */
	
	#container{
		width: 100%;
	    height: initial;
		overflow: initial;
	}
	
	#titlebar{
		padding: 0px;
		width: 100%;	
	}
	
	#titlebar .titlegroup .title, #titlebar .titlegroup .subtitle{
		padding: 10px 10px 0px 10px;
	}
	
	#titlebar .titlegroup .subtitle{
		padding-left: 0px;	
	}
	
	#titlebar .actions{
		margin: 0px;
		padding: 10px 0px 10px 5px;
	}
	
	/* ========== Content ========== */

	#content{
		height: initial;
		overflow: initial;	
	}
	
	#content #Form{
		width: 98%;
	}
	
	#content #Form .fieldgroup label{
		float: none;
	}
	
	#content #Form .fieldgroup textarea{
		width: 92%;
	}
	
	#content #Form .fieldgroup #spnBalanceLeaves{
		margin: 5px 0px;
	}
	
	#content #Form .fieldgroup #shortleaves div{
		margin-top: 10px;
	}
	
	#content #Form .fieldgroup #shortleaves div span:first-child{
		display: none;
	}
	
	#content #Form .fieldgroup #longleaves input[type='text']{
		width: 125px;	
	}
}

@media only screen and (max-width: 400px) {
	#header .logo img {
		padding: 11px 4px;
    	width: 35px;
	}
	
	#header .logo label{
		font-size: 13px;
	    padding: 15px 10px;
	}
}