/*! Importaciones  */
@import url('fonts.css');
@import url('libs/bootstrap/bootstrap.min.css');
@import url('libs/fontawesome/font-awesome.min.css');
@import url('libs/jqueryui/jquery-ui.min.css');
@import url('libs/jqueryui/jquery-ui-timepicker-addon.css');
@import url('libs/animate/animate.css');
@import url('plugins/datatables/datatables.bootstrap.css');

/*! Body  */
body, html {
  height: 100%
}

body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

/*! Listados en móviles  */
@media(max-width:767px) {
  #tab-productos .panel-body>.row, #tab-menu .panel-body>.row {
    position: relative;
    overflow: hidden
  }

  #tab-productos .col-sm-8.col-md-7, #menuitems {
    position: absolute;
    width: 100%;
    background-color: #FFF;
    top: 0;
    right: 0;
    z-index: 10
  }
}

/*! Login  */
#login {
  background-color: black;
  height: 100%;
  width: 100%
}

#login p, #login a:link {
  color: #FFF
}

@media(max-width:991px) {
  #login .container {
    max-width: 300px
  }

  #login .container .row {
    margin-top: 20%
  }
}

@media(min-width:992px) {
  #login .container {
    max-width: 500px
  }

  #login .container .row {
    margin-top: 35%
  }
}

#login a:hover {
  color: #fff;
  text-decoration: underline
}

#login form .form-control {
  font-size: 16px;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}

#login form select.form-control {
  -webkit-appearance: none;
  border-bottom-left-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  line-height: inherit
}

#login form input.form-control {
  border-top-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  border-top-right-radius: 0;
  -webkit-border-top-right-radius: 0
}

#login form .form-group {
  margin-bottom: 0
}

#login form button {
  margin-top: 1em
}

#login img {
  width: 100%
}

.vcenter {
  display: inline-block !important;
  vertical-align: middle !important;
  float: none !important
}

/*! Navegación  */
#wrapper {
  padding-left: 0
}

#page-wrapper {
  width: 100%;
  padding: 5px 15px
}

.side-nav i, .navbar-user i {
  width: 18px
}

.side-nav li i {
  margin-left: 10px;
  margin-right: 10px
}

.navbar-user .dropdown-menu a:link, .navbar-user .dropdown-menu a:visited {
  color: #FFF;
  font-weight: 200 !important
}

@media(min-width:992px) {
  #wrapper {
    padding-left: 220px;
    padding-right: 25px;
    padding-top: 55px
  }

  .side-nav {
    margin-left: -220px;
    left: 220px;
    width: 220px;
    position: fixed;
    top: 51px;
    height: 100%;
    border-radius: 0;
    border: 0;
    background-color: #383e4b;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: inset -10px 0 5px -5px hsla(0, 0%, 0%, .25)
  }

  .side-nav>li.dropdown>ul.dropdown-menu {
    position: relative;
    min-width: 220px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    -webkit-box-shadow: none
  }

  .side-nav>li>a, .side-nav>li.dropdown>ul.dropdown-menu>li>a {
    padding: 10px 5px 10px 15px;
    font-weight: 200 !important;
    font-size: .9em
  }

  .side-nav>li.dropdown>ul.dropdown-menu>li>a {
    padding-left: 55px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #FFF
  }

  .side-nav>li.dropdown>ul.dropdown-menu>li>a:hover, .side-nav>li.dropdown>ul.dropdown-menu>li>a.active, .side-nav>li.dropdown>ul.dropdown-menu>li>a:focus {
    color: #fff;
    background-color: #2d323d
  }

  .side-nav>li>a {
    width: 220px
  }

  .navbar-user li .dropdown-toggle {
    padding-left: 20px;
    padding-right: 30px
  }

  .navbar-user .dropdown-toggle img {
    width: 35px;
    height: 35px;
    margin-top: -8px;
    margin-right: 10px
  }

  .navbar-right .dropdown-menu {
    left: 0
  }

  .navbar-user .dropdown-menu a:link, .navbar-user .dropdown-menu a:visited {
    color: #404040
  }

  .navbar-user .dropdown-menu a:hover {
    color: #FFF
  }

  .navbar-brand {
    text-align: center;
    margin-left: 5px
  }

  #page-wrapper {
    margin-top: 10px
  }

  .user-dropdown img {
    margin-left: 10px
  }
}

@media(max-width:991px) {
  .navbar-inverse .navbar-nav .open {
    border-bottom: 0
  }

  .side-nav, .navbar-user {
    margin-top: 0;
    margin-bottom: 0;
    background-color: #383e4b
  }

  .navbar-nav .open .dropdown-menu {
    padding: 0
  }

  .side-nav>li.dropdown>ul.dropdown-menu>li>a {
    font-weight: 200 !important
  }

  .navbar-brand {
    padding-top: .6em;
    float: none;
    margin: 0 auto;
    text-align: center;
    width: 200px;
    display: block
  }

  .navbar-brand img {
    margin-top: -0.04em
  }

  .collapsing {
    -webkit-transition: none;
    transition: none
  }

  .fade {
    -webkit-transition: none;
    transition: none
  }

  #page-wrapper {
    margin-top: 60px
  }
}

@media(max-width:991px) {
  .cinco-columnas .col-xs-1 {
    width: 20%;
    *width: 20%
  }
}

/*! Alertas  */
#alertas {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 20
}

#alertas .alert {
  margin-left: 3%;
  margin-right: 3%;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05)
}

/*! Botones  */
.btn-parallevar {
  margin-right: 1.5em
}

.btn-producto {
  position: relative
}

.btn-eliminar-imagen {
  position: absolute;
  right: 40px;
  top: 20px
}

/*! AtencionView, inventario, medio de pago  */
#atenciones {
  padding-top: 5px
}

.mesas .mesa {
  width: 100%;
  display: inline-block;
  padding: 5px 0 0 0;
  margin: 0 0 1em;
  vertical-align: top;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .10);
  border-radius: 2px;
  color: #404040;
  overflow: hidden
}

.mesas .mesa.success {
  background-color: #007bff
}

.mesas .mesa.warning {
  background-color: #feab34
}

.mesas .mesa .footer {
  padding-top: 5px;
  background-color: #f1f3f6;
  height: 70px;
  margin-top: 10px;
  font-weight: 200
}

.mesas .mesa.active {
  box-shadow: 0 0 5px 2px #b5b5b5
}

.inventarios .inventario, .tipopagos .tipopago {
  height: 80px
}

.tipopagos .tipopago, .inventarios .inventario {
  width: 100%;
  display: inline-block;
  padding: 5px 0 0 0;
  margin: 0 0 1em;
  vertical-align: top;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .10);
  border-radius: 2px;
  color: #404040;
  overflow: hidden;
  background-color: #f0f2f5
}

.mesas .mesa .footer:hover, .inventarios .inventario:hover, .tipopagos .tipopago:hover {
  background: #ebebeb
}

.inventarios .inventario .inventario-label, .tipopagos .tipopago .tipopago-label {
  display: block;
  font-weight: 400;
  color: #404040;
  font-size: .9em
}

.tipopagos .tipopago i {
  color: #404040
}

/*! AppView  */
@media(min-width:992px) {
  #app-nav .list-group-item {
    padding: 10px 0
  }
}

@media(max-width:991px) {
  #app-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin: 0;
    left: 0;
    z-index: 9999
  }

  #app-nav .list-group-item {
    border-radius: 0
  }
}

/*! categoriaView menuView  */
#categorias a.btn-categoria, #menus a.btn-menu {
  padding-left: 35%;
  overflow: hidden
}

#categorias a.btn-categoria .imagen, #menus a.btn-menu .imagen {
  width: 30%;
  height: 120%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden
}

#categorias a.btn-categoria:after, #menus a.btn-menu:after {
  content: "\f138";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  position: absolute;
  right: 3%;
  top: 52%;
  margin-top: -13px;
  font-size: 1.2em;
  color: #ddd
}

#menus a.btn-menu.active:after, #categorias a.btn-categoria.active:after {
  color: #FFF
}

/*! pedidoView  */
#form-pedido .well, #form-pago .well {
  position: relative;
  box-shadow: none;
  border: 0;
  padding-bottom: 32px;
  background-color: #f1f3f6
}

#form-pedido .well:after, #form-pago .well:after {
  background: linear-gradient(-45deg, #fff 8px, transparent 0), linear-gradient(45deg, #fff 8px, transparent 0);
  background-position: left-bottom;
  background-repeat: repeat-x;
  background-size: 10px 16px;
  content: " ";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 16px
}

.input-cantidad-detalle[readonly="readonly"], .input-cantidad-detalle[readonly] {
  cursor: pointer;
  color: #aea79f
}

/*! pagoView  */
.btn-listar-tipopagos {
  background-color: #f3f3f3;
  color: #526273;
  border-bottom: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  text-shadow: none
}

.btn-listar-tipopagos:hover {
  background-color: #e8e8e8;
  color: #526273
}

#form-pago .well .table td {
  border-top-color: #f3f3f3 !important
}

#form-pago .label-incluir-propina {
  cursor: pointer;
  font-weight: inherit
}

.btn-propina {
  cursor: pointer
}

.input-propina {
  display: none
}

/*! Otros  */
.color-white {
  color: #FFF
}

.color-gray {
  color: gray
}

.anulado {
  text-decoration: line-through
}

.no-pointer {
  pointer-events: none;
  background: transparent
}

.avatar {
  background-color: black;
  width: 65%;
  margin: 0 auto;
  margin-top: -150px;
  padding: 20px;
  border: solid 10px white
}
