body, html {
    margin:0;
    padding:0;
    height: 100%;
}
body {
    background-color:#d2d6de;
    font-family: Poppins,sans-serif;
}
.table {
    display: table;
    width: 100%;
    height: 100%;
    table-layout: fixed;
}
.table-row {
    display: table-row;
    /*position: fixed;*/
    width: 100%;
    height: 100%;
}
.wfix {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;    
}
.table-cell {
    display: table-cell;
}
ul {
    margin: 0;
    padding: 0;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #333;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    animation: pulse 1s linear infinite;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto; 
  }
  .loader:after {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    border: 5px solid #333;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: scaleUp 1s linear infinite;
  }
  
  @keyframes scaleUp {
    0% { transform: translate(-50%, -50%) scale(0) }
    60% , 100% { transform: translate(-50%, -50%)  scale(1)}
  }
  @keyframes pulse {
    0% , 60% , 100%{ transform:  scale(1) }
    80% { transform:  scale(1.2)}
  }

/* start pnav */
.logoAccesoweb {
    transition:all .2s;
    display: inline-block;
    vertical-align: middle;
}
.logoAccesoweb img {
    height:40px;
}
.toppage {
    height: 60px; 
    background:#14b8ff;
}
#pnav {
    height: calc(100% - 98px);
}
#pnav > li {

}
#pnav > li > a.activo {
    background: #EEE;
}
#pnav > li.open.submenu {
}
#pnav > li.open > a {

}
.navlat img {
    max-width:100%;
    height:auto;
}
.navlat > div {
    padding: 0 5px;
    color: #333;
    font-size: 12px;
}
#pnav li.submenu:not(.open) ul {
    display: none;
}
li.submenu > a:before {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    display: block;
    font-family: "Font Awesome 5 Free";
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 10px;
}
li.submenu > a:before {
    width: 12px;
    height: 13px;
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 12px;
    color: #999;
    font-size: 12px;
}
li.submenu:not(.open) > a:before { 
    content: "▼";

}
li.submenu.open > a:before {
    content: "▲";
}

#pnav > li > a {
    color: #333;
    padding: 15px 20px;
    display: block;
    text-decoration: none;
    font-family: sans-serif;
    position: relative;
    text-align:center;
}


/* subnav */
#pnav ul li a {
    display: block;
    color: #333;
    padding: 10px 20px; 
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    border-top:1px solid #e6e6e6
}
#pnav ul li:first-child a {
    border-top:none;
}
#pnav > li > a > .fas, #pnav > li > a > .far {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 28px;
    margin-bottom:5px;
}
#pnav ul li a.activo {
    /* background: #191919; */
    color: #3367d6;
}

.hidde {
	display: none;
}
/*
#pnav ul li,
#pnav ul li a > .fas {
    margin-right: 8px;
}
*/
#pnav li.activo ul { 
/*    border-left:2px solid #ff008f;*/
}
#pnav ul { 
    padding: 0px 0;
    list-style: none;
    /* border-left: 1px solid #929292; */
    background: #fff;
    position: absolute;
    top: 0;
    left: 141px;
    box-shadow: 5px 4px 10px 0px rgb(0 0 0 / 10%);
    padding: 10px;
    border: 1px solid #EEE;
}
/* subnav end */
.navlat {
    background: #FFF;
    height: 100%;
    width: 140px;
    position: fixed;
    height: 100%;
    font-size: 80%;
	transition: all .2s;
	z-index: 10;
    border-right: 1px solid #DDD;
}
.minimized .navlat{
	width: 70px;
}
.minimized #pnav > li > a > span {
    display: none;
}
.minimized #pnav > li:hover > ul, .minimized #pnav > li:hover > a span {
	display: block;
}
.minimized #pnav > li:hover > a > span:not(.float_count) {
    position: absolute;
    left: 70px;
    top: 0;
    z-index: 10;
    padding: 0 10px;
    background: #fff;
    width: 180px;
    height: 46px;
    line-height: 46px;
    border-left: 1px solid #CCC;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
    text-align: left;
    width: auto;
    padding: 0 20px;
    font-weight: 600;
}
.minimized #pnav > li:hover ul {
    background: #FFF;
    margin: 0;
    border-left: 1px solid #CCC;
}
.minimized #pnav ul {
	display: none;
	position: absolute;
	width: 200px;
	left: 70px;
	top: 46px;
}
.minimized .pcon {
	margin-left: 70px;
	width: calc(100% - 70px);
}
.minimized .subview {
	width: calc(100% - 70px);
}
.minimized .hiddeonminimize {
	display: none;
}
#pnav li {
	position: relative;
}
.navlat .toppage {
    line-height: 60px;
    padding-left: 20px;
    font-family: sans-serif;
    color: #FFF;
    font-weight: 700;
    display: none;
}
.btn-logout {
    float: right;
    line-height: 60px;
    padding: 0 20px;
    color: #FFF;
}
.mainmenu {
    padding: 13px;
    color: rgb(51, 103, 214);
    font-family: sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    display:none;
}
.ver_mapa {
    display:none;
}
.volver_listado {
    display:none;
    position: fixed;
    z-index: 3000000000;
    background: #FFF;
    padding: 10px;
    font-size: 20px;
    color: #333;
    top: 0;
    left: 0;
    height: 40px;
    line-height: 40px;
    background: #14b8ff;
    color: #FFF;
    font-size: 17px;
    width: 55%;
    font-weight: 500;
}
.togglenav {
    display:none;
    vertical-align: top;
    padding: 20px;
    color: #FFF;
}
.pcon {
    background: #fff;
    margin-left: 140px;
    width: calc(100% - 140px);
    display: block;
    height: 100%;
	transition: all .2s;
}

/* fin pnav  */
/* start subview*/
.subview {
    padding: 10px 20px;
    position: fixed;
    overflow: auto;
    width: calc(100% - 140px);
    box-sizing: border-box;
    height: calc(100% - 60px);
    overflow-x: auto;
    transition: all .3s;
    border-left: 1px solid #DDD;
}
.subview.genericNew {
    height: calc(100% - 127px);
}
.subview > h1 {
    font-family: "open sans", sans-serif;
    font-weight: lighter;
    margin: 0;
    margin-bottom: 10px;
    font-size: 24px;
    padding: 10px 0;
}
.msg_trash {
    background: #fffca8;
    padding:10px;
}
/* chosen-ajax */
.input_tags  .chzn-single {
    display:none !important;
}
.chzn-container-single-nosearch .chzn-search {
    left:0 !important;
}
.input_tags .chzn-container .chzn-results {
    display:none;
    position: absolute;
    width: 300px;
    background: #FFF;
    border: 1px solid #999;
    margin-left: 4px;
}
.input_tags .chzn-container-single .chzn-search input {
    box-shadow: none;
    background: none !important;
    border: 1px solid rgb(118 118 118 / 1);
    border-radius: 2px;
    padding: 6px;
    width: auto;
}
.input_tags  .chzn-drop {
    left:0 !important;
    margin:0 !important;
    box-shadow:none !important;
    border:none !important;
    position: relative !important;

}
.active-result.highlighted { 
    background:#DDD !important;
}
.taglist .atag {
    display: inline-block;
    padding: 8px 17px;
    border-radius: 3px;
    border: 1px solid #DDD;
    line-height: 1.4;
    margin: 10px 15px 0 0;
    font-size: 15px;
}
.taglist .tag_remove {
    color: #c00;
    margin-left: 6px;
}
/* end subview */
.okeyBox {
    padding: 13px 18px;
    background: #69b96b;
    color: #FFF;
    margin: 12px 0;
    border-radius: 3px;
}
.errorBox {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: #ff7676;
    color: #FFF;
    font-family: sans-serif;
    box-sizing: border-box;
    margin-bottom: 15px;
    border: 1px solid #cc5757;
    border-radius: 4px;
}
.okeyBox{
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: #55bd74;
    color: #fff;
    font-family: sans-serif;
    box-sizing: border-box;
    margin-bottom: 15px;
    border: 1px solid #55bd74;
    border-radius: 3x;
}
.nav-content {
    position:relative;
}


.img-min-panel {
    max-width:300px;
    background:#EEE;
}
#back_button i{
    color: #000;
}
.shift_pharmacy tbody > tr {
    display: inline-block;
    margin: 5px;
    background: #e9e9e9;
    text-align: center;
}
.shift_pharmacy tbody > tr td {
    position: relative;
}
.bloque {
    width: 40%;
    border: 1px solid #DDD;
    background: #fafafa;
}
.bloque .bloque_titulo {
    padding: 10px;
    border-bottom: 1px solid #DDD;
    background: #EEE;
}
.bloque .bloque_contenido {
    max-height: 300px;
    overflow: auto;
}
.bloque table {
    border-spacing: 0;
}
.bloque table  {
    width:100%;
}
.bloque table thead th {
    background: #f5f5f5;
    border-bottom: 1px solid #DDD;
    font-weight: normal;
    text-align: left;
    padding: 0 10px;
    text-transform: uppercase;
    font-size: 15px;
}
.bloque table td {
    border-bottom:1px solid #CCC;
}
.bloque table td .title {
    font-size: 14px;
    display: block;
    padding: 3px 0;
    line-height: 1.3;
}
.bloque_contenido table td a {
    color: #3367d6;
}
.graphic > div {
    padding-bottom: 10px;
    border-bottom: 1px solid #CCC;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 13px;
    color: #444;
}
.graphic {
    display:inline-block;
    background:#FFF;
    border:1px solid #DDD;
    border-bottom:2px solid #DDD;
    padding:20px;
    border-radius: 2px;
    width:100%;
    max-width:400px;
    margin:10px 0 0 30px;
}

/*image gallery*/

.layout {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height:100%;
    background: rgba(0,0,0,.5);
    margin:0;
}
.layout #image-gallery {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height:100%;
    max-width: 800px;
    max-height: 600px;
    margin: auto;
    background: #FFF;
    box-shadow: 0 15px 22px -5px rgba(0,0,0,.5);
}
#image-gallery .header { 
    overflow: hidden;
    background: #272727;
    height: 70px;
    background: #222;
    border-bottom: 1px solid #DEDEDE;
}
#image-gallery .header h1 {
    font-weight: lighter;
    font-size: 1.5em;
    padding: 10px 22px;
    margin: 0;
    color: #E99426;
}
#image-gallery .body {
    height: calc(100% - 140px);
    position: absolute;
    margin-top: 70px;
    top: 0;
    width: 100%;
    overflow-y: auto;   
    padding: 15px;
    box-sizing: border-box;
}

#image-gallery .footer {
    height: 70px;
    bottom: 0;
    position: absolute;
    width: 100%;
    background: #FFF;
    padding: 15px;
    box-sizing: border-box;
    border-top: 1px solid #CCC;
}
#image-gallery .footer button {
    font-size: 10px;
    line-height: 38px;
    padding: 0 20px;
    font-size: 16px;
    background: #f0681e;
    border: none;
    border-radius: 3px;
    font-weight: bold;
}
#image-gallery .file {
    display: inline-block;
    vertical-align: top;
    width: 90px;
    height: 70px;
    margin: 5px;
    text-align: center;
    border: 2px solid transparent;
    padding: 7px 7px 7px 7px;
    cursor: pointer;
    transition: all .3s;
    border-radius: 5px;
    position: relative;
}
#image-gallery .file:hover {
    border: 2px solid #DDD;
}
#image-gallery .file > span {
    font-size: 11px;
    text-align: center;
}
#image-gallery .file > i  > .ext {
    display: block;
    background: #000;
    width: 28px;
    height: 13px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 10px;
    color: #FFF;
    font-family: "open sans";
    line-height: 13px;
}
#image-gallery .file > i {
    font-size: 40px;
    display: block;
    position: relative;
}
#image-gallery .file.selectable.selected {
    border: 2px solid #b5b5b5;
    box-shadow: 0 0 10px #AAA inset;
}

#image-gallery .file.selectable.selected .tick {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    background: #7cda7c;
    border-radius: 100px;
    font-size: 10px;
    color: #FFF;
    line-height: 21px;
}
.loadingbox {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.5);
}
.loadingtext {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 100px;
    height: 40px;
    top: 0;
    bottom: 0;
}
.gbutton {
    background: rgb(51, 103, 214);
    color: #FFF;
    text-decoration: none;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    padding: 0 10px;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}
.gbutton:hover {
	background:rgb(51, 103, 214);
}
/* fin image gallery */

.relationship .header {
    padding: 15px;
    background: #EEE;
    border-left: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}
.relationship .table-cell .body {
    height: 500px;
    overflow: auto;
}
/*modulos*/
.mod_description { 
	line-height: 1;
	font-size: 90%;
	color: #666;
}
/*fin modulos*/
.field.input_contenido {
    max-width: 800px;
}
.new_tag {
    display: none;
    margin-left: -94px;
    position: relative;
    z-index: 1100;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none; 
    color: #000;
    position: absolute;
    top: 0;
    left: 446px;
    margin: 0;
}
.displayblock {
    display:block;
}
.displaynone {
    display:none;
}
.subview.model_alert.alertas {
    padding: 0;
}
.alert_list {
    overflow: auto;
    height: calc(100% - 60px);
    position: fixed;
    width:400px;
}
.alert_list .row {
    padding: 10px;
    border-bottom: 1px solid #DDD;
    transition: all .2s;
    font-size: 15px;
    line-height: 1.4;
    position: relative;
}
.alert_list .row:hover {
    cursor:pointer;
    background:#EEE;
}
#map {
    height: 100%;
}
.row.alert_row.selected {
    background: #6e6e6e;
    color: #FFF;
}

@keyframes alert {
    0%   { background: #ff0000; }
    50%  { background: #b81313; }
    100%   { background: #ff0000; }
}
.alerton {
    animation: alert 4s infinite linear;
    color:#FFF;
}
.alert_info {
    box-sizing: border-box;
    margin:5px;
    margin-top:10px;
    border-radius: 10px;
    background:#FFF;
    color:#000;
    padding:5px;
    font-size:15px;
    position:relative;
    overflow: hidden;
}
.alert_info .table-cell {
    padding: 5px;
    font-size: 14px;
}
.alert_info .table-cell b {
    font-weight: 500;
}
span.float_count {
    background: #c00;
    color: #FFF;
    width: 20px;
    display: block !important;
    height: 20px;
    line-height: 20px;
    text-align: center;
    position: absolute;
    top: 28px;
    right: 43px;
    border-radius: 20px;
    border: 1px solid #FFF;
    font-size: 12px;
}
.mark_as_ready {
    border-radius: 10px;
    border: none;
    padding: 8px 15px;
    width: 100%;
    margin-top: 5px;
    background: #DDD;
    font-weight: bold;
    border-bottom: 3px solid #CCC;
    cursor: pointer;
    transition:all .2s;
}
.mark_as_ready:hover {
    background: #EEE;
}
.bload {
    display: block;
    width: 100%;
    height: 20px;
    background: #DDD;
    border-radius: 10px;
    margin-top: 5px;
}
.close_alert{
    position: absolute;
    right: 2px;
    top: 3px;
    width: 19px;
    height: 19px;
    text-align: center;
    line-height: 17px;
    border-radius: 20px;
    background: #DDD;
}



.mcontent {
    position: relative;
    margin-top: 10px;
    text-align: center;
}
.mcontent:before {
    content: "";
    border-top: 1px solid #333;
    top: 10px;
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
}
.mtitle {
    margin-bottom: 10px;
    margin: 0 auto;
    width: 180px;
    background: #FFF;
    padding: 0px 5px;
    position: relative;
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}
.mimagen {
    display:inline-block;
}
.maudio audio{
    display: block;
    margin: 10px auto;
}
.alert_comments {
    width: 500px;
    position: fixed;
    top: 120px;
    background: #FFF;
    height: 480px;
    left: 551px;
    z-index: 100;
    box-shadow: 0 2px 12px -6px rgb(0 0 0 / 50%);
    display:none;
    overflow: auto;
    height: 45px;
    overflow: hidden;
}
.alert_comments.open {
    height: 480px;
    overflow: auto;
}
.alert_comments > div {
    background:#f5f5f5;
    margin:10px;
    padding:10px;
    box-sizing: border-box;
    font-size:14px;
}
.alert_comments a {
    color:#000;
}
.dejar_comentario {
    position: absolute;
    width: 345px;
    height: 130px;
    background: #FFF;
    box-shadow: 0 -15px 15px -6px rgb(0 0 0 / 30%);
    opacity:0;
    bottom:-150px;
    transition:all .25s;
}
.dejar_comentario.open {
    opacity:1;
    bottom:45px;
}
.dejar_comentario textarea {
    width: 330px;
    margin: 0 auto;
    display: block;
    margin-top: 7px;
    font-family: sans-serif;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #999;
    border-radius: 3px;
    height: 120px;
}
.closed {
    background: #f5f5f5;
    margin: 5px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}
.alert_comments > div.comment_title {
    position: sticky;
    top: 0;
    margin: 0;
    background: #FFF;
    font-weight: 500;
    font-size: 16px;
    box-shadow: 0 5px 10px -6px rgb(0 0 0 / 20%);
    cursor:pointer;
}
.user_float {
    color:#FFF;
    float:right;
    line-height: 60px;
    padding: 0 10px;
}
.estado {
    position: absolute;
    left: 330px;
    top: 15px;
    height: 30px;
    line-height: 30px;
    text-align:center;
    width: 140px;
    border-radius: 3px;
    background:#666;
    color:#fff;
}
.estado.ok {
    background:#090;
}
.estado.error {
    background:#c00;
}