html{
  height: 100%;
}
body{
  min-height: 100%;
  min-width: 800px;
  position: relative;
  font-family: open_sans,arial,sans-serif;
}
h1,h2,h3,h4,h5,h6,
input[type=text], input[type=password], input[type=number], textarea,
.select select{
  font-family: open_sans,arial,sans-serif;
}

.header{
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 64px;
  background: #666;
  transition: all .2s;
}
.scrolled .header{
  background: hsla(0,0%,0%,0.6);
  box-shadow: 0 -5px 5px 5px hsla(0,0%,0%,0.5);
}
.header .actions{
  float: left;
}
.header .actions .button{
  background: transparent;
  margin: 12px 0;
  border-radius: 2px;
  color:#fff;
  text-decoration: none;
  vertical-align: middle;
}
.header .actions .button:hover,
.header .actions .button.active{
  background: hsla(0,0%,100%,0.2);
}
.header .actions .button:focus{
  box-shadow: none;
}
.header .menu_button{
  float: right;
  border-radius: 24px;
  padding: 0;
  margin: 8px;
  background: #f0f0f0;
}
.header .menu_button .button{
  display: block;
  padding: 8px 10px;
  background: transparent;
}
.header .menu_button .button:hover{
  background: #aaa;
  color: #fff;
}

.profile_icon{
  background: url(../../../files/profile/user_0.png) center center no-repeat #f6f6f6;
  background-size: cover;
  box-shadow: inset 0 1px 3px hsla(0,0%,0%,0.5); 
  overflow: hidden;
}
.header .sw_sidebar{
  float: left;
  font-size: 21px;
  width: 64px;
  line-height: 64px;
  text-align: center;
  color: #eee;
}
.header .logo{
  background: url(../../../files/logo/logo.png) left center no-repeat;
  background-size: contain;
  font-size: 20px;
  float: left;
  display: block;
  line-height: 48px;
  text-decoration: none;
  text-transform: uppercase;
  color: #eee;
  padding-left: 64px;
  margin: 8px;
}

.topbar{
  position: absolute;
  right: 0;
}
.sidebar{
  position: fixed;
  z-index: 1;
  width: 235px;
  top:64px;
  bottom:0;
  background: #f0f0f0;
    -webkit-transition: all 0.1s ease-in-out;
            transition: all 0.1s ease-in-out;
}
.alternative .sidebar{
  width: 64px;
  overflow: hidden;
}
.alternative .sidebar:hover{
  width: 235px;
  box-shadow: 0 0 5px hsla(0,0%,0%,0.35);
}

.sidebar .button{
  display: block;
  background: transparent;
  white-space: nowrap;
}
.sidebar .button .fa{
  width: 32px;
  margin: 8px 16px 8px 0;
  text-align: center;
  font-size: 20px;
}
.sidebar .button.active{
  background:#ccc;
  box-shadow:inset 5px 0 #999;
}
.alternative .sidebar .button.active{
  background:#ccc;
  box-shadow: none;
}
.sidebar .button:hover,
.alternative .sidebar .button:hover{
  background:#ddd;
}

.menu .fa{
width: 24px;
font-size: 20px;
}

.sw_alerts{
  display: table;
  background: hsla(0,0%,80%,0.25);
  color: #999;
  float: right;
  width: 48px;
  height: 48px;
  margin: 8px 0 8px 8px;
  border-radius: 32px;
  text-align: center;
}
.sw_alerts .fa{
  display: table-cell;
  vertical-align: middle;
}
.sw_alerts.active{
  background: #444;
  color: #f66;
}
.sw_alerts.active:hover{
  background: #222;
}
body.alerts .sw_alerts{
  background: #444;
  color: #fff;
}

#alerts{
  position: fixed;
  overflow: hidden;
  right: 0;
  top: 64px;
  width: 300px;
  height: 0;
  z-index: 2;
}
#alerts .alert{
  position: relative;
  padding:10px;
  width: 300px;
  margin: 5px 0 0 300px;
  background: hsla(0,0%,0%,0.65);
  border-radius: 5px;
  box-shadow: 0 3px 5px hsla(0,0%,0%,0.35);
  color: #eee;
  text-align: left;
  opacity: 0;
  font-size: 14px;
  -webkit-transition: all 0.2s ease-in;
          transition: all 0.2s ease-in;
}
body.alerts #alerts .alert[data-index="1"] {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
body.alerts #alerts .alert[data-index="2"] {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}
body.alerts #alerts .alert[data-index="3"] {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}
body.alerts #alerts .alert[data-index="4"] {
}

.alert .alert_close{
  right: 8px;
  top: 8px;
  position: absolute;
  width: 20px;
  height: 20px;
  text-align: center;
  background: hsla(0,0%,100%,0.5);
  color: hsla(0,0%,0%,0.6);
  border-radius: 10px;
}
.alert .alert_close:hover{
  background:#eee;
}
.alert .alert_close:before{
  font:14px/20px FontAwesome;
  content: "\f00d";
}
body.alerts #alerts{
  bottom: 0;
  height: auto;
  overflow: auto;
  overflow-x: hidden;
}
body.alerts #alerts .alert{
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
  margin-left: 0;
  opacity: 1;
}

.scrollup {
  display: block;
  opacity: 0;
  position: fixed;
  z-index: 5;
  bottom: 50px;
  right: 50px;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: hsla(0,0%,0%,0.8);
  border: 5px solid #eee;
  color: #eee;
  text-align: center;
  font-size: 2em;
  box-shadow: 0 2px 5px #000;
  margin-bottom: -100px;
  cursor: pointer;
  -webkit-transition: all 0.6s ease-in-out;
          transition: all 0.6s ease-in-out;
}
.scrolled .scrollup{
  opacity: 1;
  margin-bottom: 0;
}

/* CONTENT */

.controls{
  background: #eee;
  margin: -20px -20px 20px;
}
.controls .button{
  background: transparent;
  text-transform: uppercase;
  font-weight: bold;
}

.main{
  padding: 69px 5px 5px 240px;
  background: #fff;
}
.alternative .main{
  padding: 69px 5px 5px 69px;
}
/* BOTTOM */

#bottom{
  position: absolute;
  z-index: 3;
  height: 120px;
  bottom:0;
  left: 0;
  right: 0;
  background: #222;
  color:#fff;
  padding: 20px;
  box-shadow: 0 0 3px hsla(0,0%,0%,0.2);
}
.authed #bottom{
  left: 64px;
}
.authed.menu #bottom{
  left: 240px;
}

#footer{
  margin: 0 auto;
}
#footer .block{
width: 25%;
float: left;
}
#footer .item{
color: #fff;
display: inline-block;
text-decoration: none;
padding: 5px;
}
#footer .item .fa{
  margin: 0 10px 0 0;
}
#footer h1{
font-size: 20px;
font-weight: normal;
margin-top: 16px;
color: #aaa;
}
.content{
  padding: 15px;
}
.login{
  background: #03A9F4;
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
}
.login_panel{
  background: #fff;
  border-radius: 3px;
  width: 400px;
  margin: 100px auto;
  padding: 30px;
}
