:root { 
    --white: #ffffff;
    --green: #21a67d;
    --black: #18191c;
    --gris: #f4f4f4;
    --red:  #ff6647;
}
html, body{
    height: 100%;
}
body {
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: var(--black);
    font-weight: normal;
    padding-top: 80px;
}
body.admin {
    background: #fff;
}
a, a:hover, a:focus {
    color: var(--red);
}
.underline {
    text-decoration: underline;
}
.container, .container-fluid {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}
.red {
    color:var(--red);
}
.clear, .clearfix {
    display: block;
    clear: both;
}
.height10 {
    height: 10px;
}
.height20 {
    height: 20px;
}
.height30 {
    height: 30px;
}
.height50 {
    height: 50px;
}
img {
    max-width: 100%;
    height: auto;
}
.black {
    color: var(--black);
}
.white {
    color: var(--white);
}
.green {
    color: var(--green);
}
.grey {
    color: var(--grey);
}
.bg-black {
    background: var(--black);
}
.bg-white {
    background: var(--white);
}
.bg-green {
    background: var(--green);
}
.bg-gris {
    background: #f4f4f4;
}
a, a:hover {
    text-decoration: none;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 8px 0;
    -webkit-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.3);
}
.index .logo {
    width: 120px;
}
.index header .logo {
    width: 100px;
}
.index header .regresar {
    text-align: right;
    padding-top: 12px;
}
.index header a {
    color: #fff !important;
}
.index header a img {
    width: 12px;
}
.index header a span {
    text-decoration: underline;
}
.login {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
}
.login img {
    width: 160px;
}
.login input {
    width: 100%;
    border: 1px solid #CED4DA;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
    outline: none;
}
.boton {
    color: #fff;
    border: none;
    outline: none;
    border-radius: 4px;
    padding: 10px 30px;
    display: inline-block;
    background: var(--green);
}
.boton:hover, .boton:focus {
    color: #fff;
}
.btn {
    color: #fff;
    border: none;
    outline: none;
    border-radius: 4px;
    padding: 8px 24px;
    display: inline-block;
    background: var(--red);
    font-size: 14px;
}
.btn:hover, .btn:focus {
    color: #fff;
}
.btn2 {
    color: #fff;
    border: none;
    outline: none;
    border-radius: 4px;
    padding: 8px 24px;
    display: inline-block;
    background: var(--green);
    font-size: 15px;
}
.btn2:hover, .btn2:focus {
    color: #fff;
}
.login .boton {
    width: 100%;
}
.input-pass {
    position: relative;
}
.input-pass span {
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 14px;
    width: 24px;
}
.input-pass span {
    cursor: pointer;
}
.input-pass .ver img.hide {
    display: none;
}
.input-pass .ver img.show {
    display: block;
}
.input-pass .ocultar img.hide {
    display: block !important;
}
.input-pass .ocultar img.show {
    display: none !important;
}
h1, h2, h3, h4 {
    font-weight: bold;
    color: var(--black);
}
.top {
    background: var(--gris);
    color: #111;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
    z-index: 1000;
}
.top-logo {
    padding-top: 8px;
}
.top-logo img {
  width: 115px;
  margin-top: -8px;
}
.top-logo .ti-home {
    margin-right: 3px;
}
.top-logo .ti-menu {
    display: none;
    cursor: pointer;
}
.top-logo img {
    width: 46px;
}
.top-profile {
    padding-top: 8px;
}
.top-profile button, .top-profile button:hover, .top-profile button:focus {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    padding: 0 5px 0 5px;
    margin: 0;
    width: auto;
    outline: none;
    background: transparent;
    color: #111;
    line-height: 16px;
    text-align: left;
    box-shadow: none;
}
.top-profile button {
    position: relative;
}
.top-profile button img {
    width: 22px;
    height: 22px;
    margin-left: 10px;
    border-radius: 4px;
}
.top-profile .dropdown-menu {
    float: none;
    font-size: 14px;
    left: inherit;
    right: 0;
    min-width: 210px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 8px;
    border-radius: 0 !important;
    background: var(--gris);
}
.top-profile .dropdown-menu a {
    color: #111;
    display: block;
    padding: 8px 12px;
    border-bottom: 1px solid var(--dark-hover);
}
.top-profile .dropdown-menu a:hover {
    color: #fff;
    background: var(--green);
}
.main {
    padding-left: 20px;
    padding-right: 20px;
}
.sidenav {
    height: 100%;
    width: 250px; 
    position: fixed;
    z-index: 100; 
    top: 0; 
    left: 0;
    background-color: var(--gris);
    overflow-x: hidden; 
    padding-top: 80px; 
    transition: 0.2s;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
}
.sidenav a.link {
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    color: #111;
    display: block;
    position: relative;
    font-size: 15px;
    white-space: nowrap;
}
.sidenav a.link.has_sublinks {
    border-bottom: none;
    cursor: default;
}
.sidenav a.link span {
    font-size: 14px;
    margin-right: 5px;
}
.sidenav a.link:hover, .sidenav a.link.active {
    color: #fff;
    background: var(--green);
}
.sidenav a.link.sublink {
    padding: 5px 15px 5px 43px;
    text-decoration: none;
    color: #fff;
    display: block;
    position: relative;
    border-bottom: none;
    font-size: 14px;
}
.container-admin {
    padding-left: 276px;
    padding-right: 20px;
    font-size: 15px;
}
table {
    background: #fff;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04)
}
.border {
    border-top: 1px solid #c3c4c7;
    margin-bottom: 20px;
}
.table-view {
    border-spacing: 0;
    width: 100%;
    clear: both;
    margin: 0
}
.table-view * {
    word-wrap: break-word
}
.table-view td,
.table-view th {
    padding: 9px 10px
}
.table-view thead td,
.table-view thead th {
    border-bottom: 1px solid #c3c4c7
}
.table-view td, .table-view th {
    vertical-align: top;
    font-size: 14px;
    line-height: 1.5em
}
.table-view > tbody > :nth-child(odd) {
    background-color: #f6f7f7
}
.avatar {
    width: 24px;
    height: 24px;
    margin-right: 3px;
    border-radius: 4px;
}
.avatarmodel {
    width: 24px;
    height: 34px;
    margin-right: 3px;
    border-radius: 4px;
}
td.acciones {
    white-space: nowrap;
}
td.acciones a {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 1px solid #ccc;
    text-align: center;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #444;
}
td.acciones2 a:hover {
    background: var(--green) !important;
    color:#fff !important;
    border:1px solid var(--green) !important;
}
td.acciones2 a .fa {
    font-size: 12px;
    margin-right:4px;
}
.container-admin .alert-info, .container-admin .alert-danger, .container-admin .alert-warning {
  font-size: 14px;
}
.table-responsive {
    width: 100%;
    overflow-x: scroll;
}
.table-responsive table {
    min-width: 800px;
}
form .label {
    font-weight: normal;
    color: #333;
    text-align: right;
    font-size: 15px;
    padding-top: 12px;
}
@media(max-width: 767px) {
    form .label {
        text-align: left;
    }
}
form .label.col-sm-2, form .label.col-sm-3, form .label.col-sm-4, form .label.col-sm-6 {
    padding-left: 15px;
    padding-right: 15px;
}
.container-admin form input, .container-admin form select {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    margin-bottom: 16px;
    border-radius: 4px;
    padding: 9px 10px;
    outline: none;
}
.container-admin form input.error, .container-admin form select.error {
    border: 1px solid var(--red);
    background-image: url(data/alert.jpg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 24px;
    padding-right: 26px;
}
label.error {
  color: #ff6647;
  font-size: 13px;
  font-weight: normal;
  margin-bottom: 8px;
  position: relative;
  top: -12px;
}
.menucostos {
    padding-top: 8px;
}
.menucostos a {
    color: var(--black) !important;
    display: inline-block;
    margin: 0 12px 6px 0;
}
.menucostos a.active {
    font-weight: bold;
}
.descripcion {
    display: block;
    margin-top: -12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #777;
}
.ck.ck-editor__main > .ck-editor__editable {
  border-color: var(--ck-color-base-border);
  min-height: 100px;
  margin-bottom: 20px;
  border-top: none;
  font-size: 15px;
}
#uploadimageModal .content-modal {
    padding: 5px 0 5px 0;
}
#uploadimageModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0,0,0,0.5);
  padding-top: 30px;
}
.content-modal {
    background: #fff;
    width: 400px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 15px 10px 15px;
    text-align: center;
    position: relative;
}
a.closemodal, button.closemodal {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 15px;
    right: 8px;
    color: #333;
    width: 24px;
    height: 24px;
    border-radius: 24px;
    text-align: center;
    display: inline-block;
    font-size: 32px;
    line-height: 14px;
    text-decoration: none;
    background: #fff;
}
.modal-content {
  border-radius: 0;
}
.modal-body {
    padding: 34px 15px 15px 15px;
}
.modal-body button.closemodal {
  top: 10px;
}
.edit-avatar input {
    position: absolute;
    opacity: 0;
}
.croppie-container {
  width: 100%;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 12px;
}
.modal-dialog, .modal-content {
    border-radius: 0;
    width: 1000px;
    max-width: 96%;
    margin-left: auto;
    margin-right: auto;
}
.modal-body {
    padding: 0;
}
.modal-body button.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #000;
    -webkit-appearance: none;
    appearance: none;
    font-size: 25px;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    opacity: 1;
    text-shadow: none;
}
.uploadcatalogo {
    display: block;
    width: 100%;
    border-radius: 20px;
    border: 2px dashed #ccc;
    padding: 50px 30px;
    text-align: center;
    background: #f6f6f6;
}
.uploadcatalogo input {
    opacity: 0;
    position: absolute;
}
.uploadcatalogo .contenedor {
    text-align: center;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    font-weight: 300;
}
.uploadcatalogo .contenedor span {
    background: #e9e9e9;
    border: 1px solid #ccc;
    padding: 12px 30px;
    display: inline-block;
    border-radius: 4px;
    color: #000;
}
.panel-default > .panel-heading {
    background-color: #fff;
    border-color: #ddd;
    padding: 0;
}
.panel-heading a {
    color: #333 !important;
    display: block;
    position: relative;
    font-size: 17px;
    text-decoration: none;
    padding: 14px;
}
.panel-heading a::after {
    font-family: 'FontAwesome';
    content: '\f106';
    display: block;
    position: absolute;
    right: 12px;
    top: 10px;
    font-size: 22px;
}
.panel-heading a.collapsed::after {
    font-family: 'FontAwesome';
    content: '\f107';
    display: block;
    position: absolute;
    right: 12px;
    top: 10px;
    font-size: 22px;
}
.panel-heading a span {
    position: absolute;
    top: 16px;
    right: 50px;
    text-align: right;
    font-size: 0.8em;
    color: #333;
}
.panel-default {
  background: transparent;
  border: none;
}
.panel-group .panel-heading + .panel-collapse > .list-group, .panel-group .panel-heading + .panel-collapse > .panel-body {
  border-top: none;
}
.miform label {
    font-weight: normal;
    display: block;
    min-height: 20px;
}
.alert-danger {
    background: #fcded8;
    border-left: 4px solid #ff6647;
    color: var(--black);
    position: relative;
    padding-left: 40px;
    font-size: 0.9em;
}
.alert-danger .fa {
    color: #ff6647;
}
.alert-info {
    background: #eaf1fb;
    border-left: 4px solid #2f73da;
    color: var(--black);
    position: relative;
    padding-left: 40px;
    font-size: 0.9em;
}
.alert-info .fa {
    color: #2f73da;
}
.alert .fa {
    position: absolute;
    left: 15px;
    top: 19px;
}
h5 {
    font-size: 15px;
    font-weight: bold;
}
input[type="checkbox"] {
    display: inline-block;
    width: 22px !important;
    margin: 0 !important;
}
label.checkboxs {
    display: inline-block;
    width: auto;
    font-weight: normal;
}
.sidebar-admin {
    padding-left: 40px;
}
.fotoprincipal #crop-avatar {
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
}
.fotoprincipal .avatar label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#rotateLeft, #rotateRight {
    background: #777;
    padding: 8px;
    border: none;
    border-radius: 0;
    height: 38px;
    position: relative;
    width: 38px;
    color: #fff;
    font-size: 15px;
    line-height: 20px;
    border-radius: 4px;
}
#rotateRight {
  margin-right: 8px;
}
.btn.btn-primary.crop_image {
    border: none;
    height: 38px;
    padding: 8px 20px;
    background: #d93520;
    position: relative;
    top: -1px;
}
.imagenes .thumb {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
  float: left;
}
.imagenes .thumb img {
  border: 3px solid #fff;
  min-height: 100%;
  min-width: 100%;
}
.imagenes .thumb a {
  position: absolute; 
  top: 6px;
  right: 9px;
  color: #fff; 
  background: rgba(0,0,0,0.5);
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  opacity: 0.8;
}
.imagenes .thumb a:hover {
  opacity: 1;
}
.fa-star {
    color: #ff9d26;
}
.fa-star-o {
    color: #ccc;
}
.rating-buttons button {
    outline: none;
    background: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 8px;
}
.fa-reply {
    color: #666;
    transform: rotate(180deg);
    margin-right: 10px;
}
.card {
    -webkit-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.15);
    box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.15);
    border: 1px solid #e9e9e9;
    padding: 20px 12px;
    border-radius: 10px;
}
.passwordfield {
    position: relative;
}
.passwordfield a {
    position: absolute;
    right: 11px;
    top: 5px;
    color: #999;
    display: inline-block;
    padding: 4px;
}
.col-sm-5cols {
    float:left;
    width:20%;
    padding-left: 15px;
    padding-right:15px;
}
.col-sm-5cols h4 {
    margin-bottom:0;
    padding-bottom:0;
    min-height:48px;
}
.vistas {
    border-bottom:1px solid #ccc;
}
.vistas a {
    color: #000;
    font-size: 15px;
    display: inline-block;
    border-bottom: 2px solid #fff;
    padding: 15px 0;
    margin: 0 7px;
}
.vistas a.active {
    border-bottom: 3px solid var(--green);
}
.fa-bookmark {
    color:var(--green);
    margin-right: 5px;
}
.vista {
    padding-top: 40px;
}
.titulomes {
    font-size: 16px;
    border-bottom: 2px solid var(--black);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight:bold;
    text-transform:uppercase;
}
.contenido-reserva {
    position: relative;
    padding-left: 20px;
}
.contenido-reserva .nombres {
    font-weight:bold;
    font-size: 16px;
    margin: 3px 0;
}
.listaeventos {
    border-bottom:1px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom:20px;
}
.listaeventos span {
    color:#666;
    font-size: 13px;
    font-weight:500;
}
.calendar {
    width: 100%;
    max-width: 100%;
    border: none;
    background: #fff;
    font-size: 14px;
}
.calendar-td {
    position: relative;
    width: 100%;
    min-height: 80px;
    padding-top: 28px;
}
.calendar-td span.dia {
  position: absolute;
  top: -5px;
  left: 0;
  display: block;
  font-size: 16px;
}
.topcalendario {
    position: relative;
}
.topcalendario .botones {
    position: absolute;
    right: 0;
    top: -7px;
}
.vista .next, .vista .prev {
  text-transform: uppercase;
  font-size: 13px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 11px;
  padding: 10px 12px 8px 12px;
  border-radius: 8px;
  border: 1px solid #000;
  margin: 0 3px;
  float: left;
  line-height: 16px;
}
.vista .next i, .vista .prev i {
  font-size: 10px;
  position: relative;
  top: 1px;
}
.vista .ti-angle-right {
    margin-left: 4px;
}
.vista .ti-angle-left {
    margin-right: 4px;
}
.vista th, .vista td {
    padding: 8px;
    text-align: left;
    width: 14.28%;
    vertical-align: top;
}
.vista th {
    font-size: 20px;
    border: none;
}
.vista td {
    border: 1px solid #e9e9e9;
    min-height: 80px;
}
.vista td.day.disabled {
    opacity: 0.4;
}
.vista td.day {
    background: #fff;
}
.calendar-event {
  display: block;
  color: #fff !important;
  background: var(--green);
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 4px;
  font-size: 12px;
}
.calendar-event .fa-bookmark {
    color:#fff;
}
.mirow {
    magin: 0 -6px;
}
.mirow .col-sm-2, .mirow .col-sm-3, .mirow .col-xs-6 {
    padding: 0 6px;
}
.btn2 {
    margin-bottom:5px;
}
.horasbtns button {
  float: left;
  width: 24%;
  border: 1px solid #ccc;
  border-radius: 0;
  text-align: center;
  font-size: 14px;
  outline: 2px solid #fff;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  padding-top: 7px;
  padding-bottom: 7px;
  margin: 2px;
  color: #000;
}
.horasbtns button:hover {
    color:var(--green);
}
.horasbtns button.active, .horasbtns button.active:hover {
    background:var(--green);
    color:#fff;
    opacity: 1 !important;
    color:#fff !important;
}
.bglogin {
    background:url('../images/loginbg.jpg') no-repeat center center;
    background-size:cover;
}

@media(max-width: 767px) {
    header .regresar  {
        display: none;
    }
    .sidenav {
        width: 0;
    } 
    .container-admin {
        padding-left: 20px;
    }
    .top-logo .ti-menu {
        margin-left: 12px;
    }
    .top-logo .ti-menu.openmenu {
        display: inline-block;
    }
    .sidebar-admin {
        padding-left: 15px;
    }
    .card {
        margin-bottom:30px;
    }
}

@media(max-width: 498px) {
    .login img {
        width: 134px;
    }
    .h2, h2 {
        font-size: 26px;
    }
}