/*
 * It is advised not to edit the smartadmin_production.css
 * as this will override any changes you make in the 
 * later versions of this theme. 
 * 
 * We advise that you use use this CSS to override 
 * SmartAdmin styles. 
 * 
 * Rename the stylesheet to whatever your liking so it will stay
 * unique to you with each update of SmartAdmin.
 */

/*
 * INDEX
 * 
 * - HTML
 * - BODY
 * - CUSTOM STYLES
 */

body {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

/* enable absolute positioning */
.inner-addon { 
  position: relative; 
}

/* style icon */
.inner-addon .glyphicon {
  position: absolute;
  padding: 10px;
  top: 6px;
  pointer-events: none;
}

/* align icon */
.left-addon .glyphicon  { left:  3px;}
.right-addon .glyphicon { right: 0px;}

/* add padding  */
.left-addon input  { padding-left:  24px; }
.right-addon input { padding-right: 30px; }


.modal-backdrop.in {
  opacity: 0;
}

body.modal-open {
  overflow: auto !important;
}

fieldset {
  padding-top: 0px !important;
}

table tbody td {
  cursor: default;
}


/* Se elimina el efecto "fade" en las ventanas modal */
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -0%);
  -ms-transform: translate(0, -0%);
  transform: translate(0, -0%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}

.SMALL_DIALOG {
    height: 300px;
}

.modal-fullscreen .modal-dialog {
  width: 90vw;
  height: 90vh;
  max-height: 90vh;
  overflow-y: hidden !important;
}

.modal-fullscreen .modal-content{
  width: 90vw;
  height: 90vh;
  max-height: 90vh;
  overflow-y: hidden !important;
	position: relative;
}

.modal-fullscreen .modal-body{
  /*height: calc(100vh - 210px);*/
  overflow-y: hidden !important;
}

.modal-fullscreen .modal-footer{
	position: absolute;
	bottom: 0;
	width: 100%;
}

@media (max-width: 320px) {
  .SMALL_DIALOG {
    height: 150px; 
  } 
}

.table > tbody > tr.active > td {
  background-color: #abb3c9;
}

.table-toolbar {
  margin-left: 6px;
  margin-right: 6px;
  margin-top: 8px;
  margin-bottom: 6px;
}

.table{
  margin: 0 auto;
  clear: both;
  border-collapse: collapse;
  word-wrap:break-word; // ***********and this
  table-layout: fixed;
}


.table th, .table td {
  overflow: hidden;
  min-width: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accession-dialog .modal-dialog {
  width: 400px;
}
.accession-dialog .modal-content {
  height: 80%;
}
.accession-dialog .modal-body {
  max-height: calc(80% - 120px);
}

.box-shadow {
    position: relative;
    text-align: center;
}

.box-shadow::after {
    -webkit-box-shadow: inset -25px 0px 25px -25px rgba(0, 0, 0, 0.6);
    -moz-box-shadow:    inset -25px 0px 25px -25px rgba(0, 0, 0, 0.6);
    box-shadow:         inset -25px 0px 25px -25px rgba(0, 0, 0, 0.6);
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.box-shadow img {
    max-width: 100%;
    width: auto;
}

.btn-success {
  background-color: #5CB85C;
}

.btn-warning {
  background-color: #F0AD4E;
}

.btn-danger {
  background-color: #D9534F;
}

.btn-primary {
  background-color: #337AB7;
}

#header > :first-child {
  width: 300px;
}


.logo-overlay {
  position: absolute; 
  bottom: 0; 
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1; 
  width: 100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

.box-shadow:hover .logo-overlay {
  opacity: 1;
}

.logo-overlay-icon {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1000;
}

.logo-overlay-icon .fa-edit {
  color: white;
}

.logo-overlay #logo-file {
  display: none;
}

.logo-overlay-icon .fa-edit:hover {
  color: rgb(187, 162, 162);
}

#autopatientdiv {
  padding-left: 0 !important;
}

#autopatient {
  width: 100% !important;
}

.dropZone{
  width: full;
  height: 150px;
  border: 2px dashed gray;
  border-radius: 5%;
  margin-top: 10px;
  overflow: hidden;
}

.upContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
}

.dropZone p {
  margin: 10px 10px 0px 10px;
  font-weight: bold;
}

.lista-archivos{
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.lista-archivos h3 {
  margin-top: 5px;
}

.archivo{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 2px;
  padding: 2px;
  align-items: center;
}

div.archivo:hover{
  background-color: lightslategray;
  color: white;
}

.nombrearchivo {
  overflow: hidden;
  max-width: calc(100% - 30px); 
}

.hovering{
  background-color: lightgray;
  color: white;
}

.cont1{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.contIzq{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 20px;
}

.contIzq1{
  display: flex;
  flex-direction: column;
  height: 150px;
  justify-content: flex-start;
  margin-top: 10px;
}

.contIzq2{
  margin-top: 20px;
}

.contDer{
  margin-top: 20px;
  width: 50%;
}

.fileList{
  overflow-y: scroll;
  height: 138px; 
  border: 1px solid #DADADA; 
  padding-left: 4px; 
  padding-right: 4px;
}

.flatpickr-input {
  width: 100%;
  height: 24px;
  padding-left: 2px;
  padding-right: 2px;
  margin-right: 2px;
  box-sizing: border-box;
  font-weight: normal;
  border: 1px solid gray;
  border-radius: 1px;
}

.flatpickr-element {
  width: 100%;
}

.flatpickr-element-50 {
  width: 50%;
}

.shortcut-buttons-flatpickr-wrapper {
  margin-bottom: 6px;
}
