.hide{ display:none; } .show { display:block; } .ng-valid[required], .ng-valid.required { border-left: 5px solid #42A948; /* green */ } .ng-invalid:not(form) { border-left: 5px solid #a94442; /* red */ } .navbar-center { position: absolute; width: 100%; left: 0; text-align: center; vertical-align: middle; margin:0 auto; } .invisible { display:none; } .visible { display:block; } .cursor{ cursor: pointer; } .navbar { -webkit-box-shadow: 0px 0px 12px 2px rgba(0,0,0,0.73); -moz-box-shadow: 0px 0px 12px 2px rgba(0,0,0,0.73); box-shadow: 0px 0px 12px 2px rgba(0,0,0,0.73); margin-bottom: 5px; } .navbar-title { position: absolute; width: 100%; left: 0; text-align: center; margin:0 auto; } .navbar-toggle { z-index:3; } .arrange-horizontally > * { display: inline-block; /*text-align: center;*/ white-space: nowrap } .arrange-vertically > * { display: block; } /* FOR THE SIDEBAR */ .parent_div{ height:100%; width:100%; float:left; } .child_div_left{ height:100%; float:left; } .child_div_right{ height:100%; float:right; } .sidenav { display:none; border-radius: 15px; z-index: 1; width: 0px; /* top: 0px; height: 100%; left: 0px; */ overflow-x: hidden; background-color: #f8f8f8; transition: 0.5s; padding-top: 60px; } .sidenav.expanded{ width: 15%; display: block; border-style: solid; border-width: thin; border-radius: 15px; padding-top: 60px; } #appBody { width : 100%; transition: 0.5s; } #appBody.expanded{ width: 85%; } .sidenav a { padding: 8px 8px 8px 32px; text-decoration: none; font-size: 25px; color: #818181; display: block; transition: 0.5s; } .sidenav a:hover { color: #000; } .sidenav .closebtn { position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; } #main { transition: margin-left .5s; /*padding: 16px;*/ } @media screen and (max-height: 450px) { .sidenav {padding-top: 15px;} .sidenav a {font-size: 18px;} }