body, html, form {
    margin:0;
    padding:0;
	height: 100%;
}
body {
    font-family: sans-serif;
/*
    background-image: url(../images/bg.jpg);
    background-size: cover;
*/
    background: #AAA;
    color:#666;
}
.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;
}
.overflowauto {
    overflow: auto;
    height: calc(100% - 60px);
    padding-bottom: 70px;
    box-sizing: border-box;
}
/* start pnav */
.toppage { 
    height: 60px;
    background-color: #0c0c0e;
}
.toppage img {
    height: 25px;
    display: inline-block;
    vertical-align: middle;
}
.pcon .toppage {
    background: #18191d;
}
#pnav {
    position:relative;
}
#pnav > li > a {
    padding: 0 20px;
    display: block;
    text-decoration: none;
    font-family: sans-serif;
    color: #9a9a9a;
    border-left:4px solid transparent;
    line-height: 55px;
    /* margin-top: 1px; */
    transition: all .5s;
}
#pnav > li > a:hover:not(.activo) {
    background-color: rgba(0,0,0,.3);
    border-left-color: #fff;
    color: #fff;
}
#pnav > li > a.activo {
    border-left-color: #ff4081;
    color: #ff4081;
}
.name_zone {
    background: #323335;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    margin: 10px;
}
#change_zone {
    margin: 10px;
    padding: 10px 20px;
    border-radius: 20px;
    background: #a5a5a5;
    border: none;
    outline: none;
}
/* subnav */
#pnav ul li a {
    display: block;
    color: #CCC;
    padding: 10px 0 10px 60px;
    text-decoration: none;
    font-size: 11px;
}
#pnav > li > a > .fas {
    margin-right: 20px;
    display: inline-block;
    width: 15px;
    text-align: center;
    font-size: 15px;
}
#pnav ul li a.activo {
    color: #EEE;
    font-weight: bold;
}
.hidde {
	display: none;
}
#pnav li.activo ul { 
    border-left:4px solid #ff0000;
}
#pnav > li.activo a {
    background:#1d1d21;
}
#pnav ul li a i {
    margin-right: 5px;
}
#pnav .activo ul {
    background: #1d1d21;
}
#pnav ul {
    padding: 0px 0;
    list-style: none;
    padding-bottom: 10px;
}


/*
 *  STYLE 1
 */

 .scrollbars::-webkit-scrollbar-track
 {
     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
     border-radius: 10px;
     background: transparent;
 }
 
 .scrollbars::-webkit-scrollbar
 {
     width: 8px;
     margin:2px;
     background: transparent;
 }
 
 .scrollbars::-webkit-scrollbar-thumb
 {
     border-radius: 10px;
     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.2);
     background-color: #333;
 }

/* subnav end */
.navlat {
    height: 100%;
    width: 270px;
    position: fixed;
    height: 100%;
    font-size: 80%;
	transition: all .2s;
    z-index: 10;
    background: #0c0c0e;
}
.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: #000;
	width: 180px;
	height: 46px;
	line-height: 46px;
}
.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;
}
.minimized .navlat .btn-logout{
	margin: 0 5px 10px 5px;
}
#pnav li {
	position: relative;
}
.navlat .toppage {
    line-height: 60px;
    padding-left: 20px;
    font-family: sans-serif;
    color: #ff1538;
}
.navlat .btn-logout {
    background:#000;
    position: absolute;
    bottom: 0;
    margin: 20px;
    left: 10px;
    right: 10px;
    text-align: center;
    border-radius: 6px;
    border: 2px solid #777;
    padding: 8px;
    color: #777;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}
.mainmenu {
    position:relative;
    padding: 10px 14px;
    color: #DDD;
    font-family: sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    background-color: #0c0c0e;
    font-weight: bold;
}
.togglenav {
    padding: 0 15px 0 5px;
    display: inline-block;
    color: #FFF;
    font-size: 20px;
}
.pcon {
    margin-left: 270px;
    width: calc(100% - 270px);
    display: block;
    height: 100%;
	transition: all .3s;
}

/* fin pnav  */
/* start subview*/
.subview {
    padding: 10px 30px;
    position: fixed;
    overflow: scroll;
    width: calc(100% - 270px);
    box-sizing: border-box;
    height: calc(100% - 60px);
    overflow: auto;
	transition: all .3s;
}
.subview > h1 > i {
    margin-right: 10px;
}
.subview > h1 {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: lighter;
    color: #FFF;
}
/* end subview */
.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;
}
#back_button i{
    color: #FFF;
    margin-right: 10px;
}
.shift_pharmacy tbody > tr {
    display: inline-block;
    margin: 5px;
    background: #e9e9e9;
    text-align: center;
}
.shift_pharmacy tbody > tr td {
    position: relative;
}
.bloques > div {
    display: inline-block;
    padding: 20px 40px;
    background: #FFF;
    margin: 10px;
    border: 1px solid #DDD;
    border-bottom: 2px solid #DDD;
}
.bloques {
    margin:20px;
}
.bloques > div > label {

    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #666;

}
.bloques > div > span {

    font-size: 20px;

}
.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: #3399c7; /* celeste */
    background: #d45626; /* naranja */
	background: rgb(115, 0, 134); /* violeta oscuro */
    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(140, 19, 160); /* violeta oscuro */
}
/* fin image gallery */

.relationship .header {
    padding: 15px;
    background: #0e0f11;
}
.relationship .table-cell .body {
    height: 500px;
    overflow: auto;
}
.relationship .secondLine {
    display: block;
    padding: 0;
    line-height: 1;
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    color: #666;
}
/*modulos*/
.mod_description {
	line-height: 1;
	font-size: 90%;
	color: #666;
}
/*fin modulos*/

/* clientes */
.clientes .topbar {
    background:#000;
    height:60px;
    position:fixed;
    top:0;
    left:0;
    right:0;
    width:100%;
    z-index: 100;

}
.clientes .wf {
    max-width:1400px;
    margin:0 auto;
}
.clientes .subview {
    width:100%; 
    position: relative;
    height:auto;  
    margin-top:75px;
    overflow:hidden;
}
.clientes .logo, .dropdown, .dropdown i {
    display:inline-block;
    vertical-align: middle;
}
.clientes .divisor {
    height:20px;
    border:1px;
    width:0;
    border:1px solid #FFF;
    display:inline-block;
    margin: 20px 0;
    vertical-align: middle;
}
.admin.dropdown {
    background: #666;
    padding: 0 20px;
    line-height: 60px;
    display: inline-block;
    vertical-align: top;
    height: 72px;
}
.dropdown {
    color: #FFF;
    padding-left: 15px;
    line-height: 60px;
}
.dropdown ul {
    line-height: 1;
    position: absolute;
    background: #FFF;
    padding: 10px;
    color: #666;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 3px 13px rgba(0,0,0,.2);
    padding: 10px;
    margin-left: -10px;
    margin-top: -10px;
}
.dropdown:hover ul {
    display:block;
}
.dropdown ul {
    list-style: none;
    display: inline-block;
    cursor: pointer;
    display: none;
}
.dropdown ul:before {
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-top: 19px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 10px solid #FFF;
    content: "";
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    margin: auto;
}
.dropdown:hover ul li {
    padding: 10px;
    transition:all .3s;
}
.dropdown:hover ul li:hover, .dropdown:hover ul li:hover a {
    background: #EEE;
    color:#000;
}
.dropdown ul a {
    text-decoration: none;
    color: #666;
    transition:all .3s;
}

.clientes .logo img {
    height: 30px;
    margin: 15px;
    display: block;
}
.clientes .clogout {
    display: inline-block;
    background: #644d00;
    line-height: 1;
    padding: 5px 10px;
    margin: 13px;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
    transition:all .3s;
    font-size: 11px;
}
.clientes .clogout:hover {
    background:#ff1935;
    color:#FFF;
}
.clientes .user {
    float: right;
    height: 60px;
    line-height: 60px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
}
.clientes h1 {
    font-family: Roboto, sans-serif;
    font-weight: lighter;
    margin-top: 0;
    padding-left: 40px;
    font-size:22px;
}
.floatright {
    float: right;
}
.cblock {
    width: 100%;
    max-width: 150px;
    background: #000;
    font-family: Roboto, sans-serif;
    padding: 10px 20px;
    border-radius: 3px;
    display: inline-block;
    margin: 0 5px;
    color:#FFF;
    height:50px;
}
.cblock.var1{
    background: #686868;
}
.cblock.var2{
    background: #ff1933;
}
.cblock.var3{
    background: #070707;
}
.cblock.var4 {
    background: #797979;
}
.cblock span {
    display: inline-block;
    font-size: 13px;
    margin-left: 5px;
    line-height: 1;
}
.cblock .legend {
    font-size:13px;
    color:#fff;
}
.cblock .number {
    font-size:30px;
    display: inline-block;
    font-weight: bold;
}
.cblock select, .cblock input {
    padding: 4px 10px;
    margin-top: 8px;
    margin-bottom: 1px;
    outline: none;
    background: rgba(0,0,0,.5);
    color: #FFF;
    border: none;
    font-family: "open sans", sans-serif;
    width: 100%;
    box-sizing: border-box;
}
.cblock select option {
    background:#333;
}
.clientes .wf2 {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 0 40px;
    box-sizing: border-box;
    margin-bottom: 30px;
    height:72px;
}
.emptydata {
    text-align:center;
    margin-top:80px !important;
}
.imgfooter img {
    max-width: 100%;
    margin-top: 60px;
    display:block;
}
.dayNav a {
    display: inline-block;
    width: 30px;
    background: #EEE;
    text-align: center;
    height: 30px;
    line-height: 30px;
    border-radius: 3px;
    text-decoration:none;
    color:#f8192c;
}
.dayNav a[href="#"]{ 
    color:#999;
}

/* fin clientes */

/* media clientes */
.mobile {
    display:none;
}
.clientes .logo img.mobile {
    display:none;
}
@media (max-width: 600px) {
    .desktop {
      display: none !important;
    }
    .mobile {
        display: block !important;
      }
      .clientes .logo img { 
        max-width: 140px; 
        height: auto;
        margin-right:0;
    }
    .cblock {
        width: 100%;
        max-width: none;
        float: none;
        box-sizing: border-box;
        margin: 5px 0;
        height: auto;
    }    
    .clientes .wf2 {
        padding:0;
        height: auto;
    }
    .clientes h1 {
        font-size:18px;
        padding-left:0;
    }
  }
  
/* fin media clientes */
/* select toggle */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 35px;
    vertical-align: middle;
}

/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}

/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
height:28px;
}

.slider:before {
position: absolute;
content: "";
height: 20px;
width: 20px;
left: 8px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked + .slider {
background-color: #45c14c;
}

input:focus + .slider {
box-shadow: 0 0 1px #45c14c;
}

input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}
/* fin select toggle */
/* inicio clientes */
.toppage.clientes img {
    margin: 15px;
}
.clientes .floatright {
    margin: 20px;
    color: #CCC;
}
.clientes .floatright span {
    margin-right: 20px;
    text-transform: uppercase;
    font-size:13px;
}
.clientes .floatright a {
    color: #FFF;
    text-decoration: none;
}
.clientes.subview {
    padding: 10px 30px;
    position: fixed;
    overflow: scroll;
    width: calc(100% - 270px);
    box-sizing: border-box;
    overflow: auto;
    transition: all .3s;
    margin: 0 auto;
    display: block;
    width: 100%;
    position: relative;
    padding:20px;
}
/* fin clientes */