/* -------------------
   BODY GENERAL
--------------------*/
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f1f2f7;
  height: 100%;
  width: 100%;
}

a {
  color: #777;
  text-decoration: none;
}

.padding-top {
  padding-top: 20px;
}

/* -------------------
   LOGIN
--------------------*/
.login-page {
  width: 350px;
  margin: 7% auto; /* centra horizontal y verticalmente */
  padding: 20px;
  background-color: #8d9ea4;
  border: 1px solid #f2f2f2;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.login-page .text-center {
  margin-bottom: 10px;
}

/* -------------------
   BOXES
--------------------*/
.box {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #f2f2f2;
}

/* -------------------
   PAGINA GENERAL
--------------------*/
.page {
  position: relative;
  display: block;
  top: 50px;
  left: 0;
  padding: 35px 15px 20px 15px; /* default sin menú */
}

/* Solo aplica padding-left si usuario logueado */
body.logged-in .page {
  padding-left: 270px;
}

/* -------------------
   COLORES DE PANEL
--------------------*/
.bg-green { background-color: #A3C86D; }
.bg-blue { background-color: #7ACBEE; }
.bg-yellow { background-color: #FDD761; }
.bg-red { background-color: #FF7857; }

/* -------------------
   PANEL / ICONOS
--------------------*/
.panel-default > .panel-heading {
  background-color: #f5f5f5;
  border-bottom: 2px solid #3498DB;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 15px;
}

.panel-box {
  width: 100%;
  height: 20%;
  text-align: center;
  border: none;
  border-radius: 0.25rem;
  box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
  display: block;
  margin-bottom: 20px;
  position: relative;
}

.panel-value { width: 60%; }
.panel-icon { padding: 30px; width: 40%; border-radius: 0; }
.panel-icon { -webkit-border-radius: 3px 0 0 3px; -moz-border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px; }
.panel-value { -webkit-border-radius: 0 3px 3px 0; -moz-border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0; }
.panel-value h2 { margin-top: 30px; }
.panel-icon i { line-height: 65px; font-size: 40px; color: #fff; }

/* -------------------
   HEADER
--------------------*/
#header {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  height: 65px;
  line-height: 65px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

header > .logo {
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  width: 250px;
  background-color: #16a085;
}

.header-date {
  color: #9b9b9b;
  margin-left: 20px;
}

/* -------------------
   MENU USUARIO
--------------------*/
.info-menu {
  height: 60px;
  margin: 0;
  line-height: 60px;
  padding: 0 15px;
}

.info-menu li.profile { position: relative; }

.profile a.toggle {
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  color: rgba(150, 150, 158, 1.0);
  position: relative;
  padding: 10px 10px 10px 0;
  margin: 0;
  background: #f9f9f9;
  border-radius: 30px;
}

.info-menu li.profile a img { width: 30px; height: 30px; }

.dropdown-menu {
  margin-top: 4px;
  border-color: #fefefe;
  border-radius: 0;
  box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
}

.dropdown-menu li { margin: 0; padding: 0; display: block; line-height: 35px; }

.dropdown-menu li a {
  text-decoration: none;
  display: block;
  font-size: 14px;
  position: relative;
  line-height: 30px;
  width: 100%;
  border-bottom: 1px solid #f4faf9;
}

.dropdown-menu li a i { margin-right: 5px; }
.dropdown-menu li.last a { border-bottom: 0; }

/* -------------------
   SIDEBAR
--------------------*/
.sidebar {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  padding: 65px 0 0;
  height: 100%;
  width: 250px;
  background: #2a3542;
  border-right: 1px solid #ddd;
  text-align: center;
}

.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar ul li { display: block; }

.sidebar ul li a, ul.submenu li a {
  color: #aeb2b7;
  display: block;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
  padding: 15px 22px;
}
.sidebar ul li a i {
    color: #a4b1ff;
}
.sidebar ul li:hover, ul.submenu { background-color: #35404d; }

.sidebar ul li a span, .sidebar ul li a i {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-shadow: 0 1px rgba(0,0,0, 1);
}

ul.submenu { display: none; position: relative; }
ul.submenu li a:hover { background-color:#35404d; }
ul.submenu li a { padding-left: 45px; }

ul.submenu li:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 25px;
  top: 0;
  bottom: 0;
  border-left: 1px dotted #d7d7d7;
}

ul.submenu li a:before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 7px;
  left: 25px;
  top: 18px;
  border-top: 1px dotted #d7d7d7;
}

/* -------------------
   FORMULARIOS Y BOTONES
--------------------*/
.form-control {
  color: #646464;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  box-shadow: none;
  transition: all .15s ease-out;
}

.form-control:focus {
  background: #f8f8f8;
  border-color: #3498DB;
  outline: 0;
}

.btn {
  border-radius: 3px;
  transition: all 300ms ease-in-out;
}

.btn-info {
  background-color: #5bc0de;
  color: #fff;
  border-color: #46b8da;
}

.btn-info:hover {
  background-color: #31b0d5;
  border-color: #269abc;
}

.btn-success { background-color: #2ecc71; }
.btn-success:hover { background-color:#27ae60; }
.btn-warning { background-color: #e7c13e; }
.btn-warning:hover { background-color:#d0ac2c; }
.btn-danger { background-color: #ed5153; }
.btn-danger:hover { background-color:#bb282a; }

/* -------------------
   IMÁGENES
--------------------*/
.img-avatar { width: 50px; height: 50px; }
td img.img-thumbnail { width: 125px; height: 125px; vertical-align: top; }
img.img-size-2 { width: 125px; height: 125px; }

/* -------------------
   OTROS AJUSTES
--------------------*/
.jumbotron { margin-bottom: 0; }
.list-group-item:first-child, .list-group-item:last-child { border-radius: 0; }
.profile .jumbotron { border-radius: 3px 3px 0 0; }
.profile .jumbotron h3 { color: white; }

.mover-menu {
  left: -12px !important;
}