body, html {
    margin:0;
    padding:0;
    height: 100%;
}
body {
    background-color:#d2d6de;
    font-family: Poppins,sans-serif;
}
.table {
    display: table;
    width: 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;
}
/* start pnav */
.logoAccesoweb {
    transition:all .2s;
    display: inline-block;
    vertical-align: middle;
}
.logoAccesoweb img {
    height:40px;
}
.toppage {
    height: 60px; 
    background:rgb(51, 103, 214);
}
#pnav {
    height: calc(100% - 98px);
    overflow: auto;
    border-right: 1px solid #DDD;
}
#pnav > li {
    border-bottom:1px solid #ddd;
    border-left: 5px solid transparent;
}
#pnav > li.open.submenu {
    border-left: 4px solid #3367d6;
}
#pnav > li.open > a {
    background: #fff;
}
.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;
}
#pnav > li.open > a {
    border-bottom: 1px solid #e6e6e6;
}

/* 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 {
    margin-right: 10px;
    display: inline-block;
    width: 15px;
    text-align: center;
}
#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;
}
/* subnav end */
.navlat {
    background: #FFF;
    height: 100%;
    width: 250px;
    position: fixed;
    height: 100%;
    font-size: 80%;
	transition: all .2s;
	z-index: 10;
}
.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 {
	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;
}
.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;
}
.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;
}
.togglenav {
    padding: 20px;
    display: inline-block;
    color: #FFF;
}
.pcon {
    background: #fff;
    margin-left: 250px;
    width: calc(100% - 250px);
    display: block;
    height: 100%;
	transition: all .2s;
}

/* fin pnav  */
/* start subview*/
.subview {
    padding: 10px 20px;
    position: fixed;
    overflow: auto;
    width: calc(100% - 250px);
    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;
}