﻿*, :after, :before {
    box-sizing: border-box;
}

body {
    background-color: #efefef !important;
}

user agent stylesheet
body {
    display: block;
    margin: 8px;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
}

*, :after, :before {
    box-sizing: border-box;
}

*, :after, :before {
    box-sizing: border-box;
}

fieldset label span.error {
    float: none;
    color: #c9302c;
    padding-left: .5em;
    vertical-align: middle;
    font-size: 13px;
}

.error {
    color: #f44336;
    font-size: 13px !important;
}

.imgWatermark {
    width: 700px;
}

/*Marca de agua*/
@media only screen and (max-width: 720px) {
    .imgWatermark {
        width: 100%;
    }
}

@media only screen and (max-width: 620px) {
    .imgWatermark {
        width: 100%;
    }
}

#watermark {
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    width: 100%;
    max-width: 900px;
    margin: auto;
    height: 100%;
    opacity: 0.2;
}

.fixedWatermark {
    padding-top: 90px;
    align-items: center;
    position: absolute;
}

/*Tablas */
.table-sm th, .table-sm td {
    padding: 0.15rem;
}

table.tablecustom tbody tr {
    /* cursor: pointer;*/
    font-size: 0.8rem;
    background-color: white;
}

table.tablecustom tbody tr:hover td {
    background-color: #000 !important;
}

table.tablecustom thead tr {
    cursor: pointer;
    background-color: white;
}

table.tablecustom tfoot tr {
    cursor: pointer;
    background-color: white;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 0.5px solid #dee2e6;
}

table.tablecustom tbody tr:hover {
    background-color: #2C3E50 !important;
    color: #fff !important;
}

table.tablecustom tbody tr:nth-child(even) {
    background-color: #d8e9f5 !important;
}

.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
    background-color: #2C3E50;
    color: #fff;
}

form {
    margin-bottom: 0rem;
}

.text-strong {
    font-weight: bolder;
}

.readonly {
    background-color: #e9ecef;
    opacity: 0.5;
    border-radius: 3px;
    cursor: not-allowed;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    pointer-events: none;
}

div.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 60px;
}

/*MODAL FULL SCREEN*/
.modal-dialog-full-width {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.modal-content-full-width {
    height: auto !important;
    min-height: 100% !important;
    border-radius: 0 !important;
    background-color: #fff !important
}

.modal-header-full-width {
    border-bottom: 1px solid #9ea2a2 !important;
}

.modal-footer-full-width {
    border-top: 1px solid #9ea2a2 !important;
}

.modal-body-full-width {
    height: 250px;
    overflow-y: auto;
}

div.dt-buttons .dropdown-item:hover, .dropdown-item:focus {
    background-color: #3498db;
}

#pnlTablero tbody > tr > td {
    white-space: nowrap;
    height: 23px;
}

#pnlTablero thead > tr > th {
    white-space: nowrap;
    height: 23px;
}

.clicTable {
    font-size: 14px;
    cursor: pointer !important;
}

.clicTable:hover {
    background-color: #18bc9c;
    cursor: pointer !important;
}

.dataTables_length {
    padding: 10px 0 10px 0;
}

.movIcon {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    width: 30px;
    height: 30px;
    margin: 0rem auto 0rem;
    border-radius: 50%;
    font-size: 0.75rem;
    color: #FFF;
}

table.tableroDoc .badge {
    font-size: 13px !important;
}

table.tablecustom .badge {
    font-size: 13px !important;
}

/*Boton flotante*/
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 20px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    border: none;
    color: #FFF;
}

.float button:focus {
    outline: 0px !important;
    outline: 0px auto -webkit-focus-ring-color;
}

#rFiltros .select2-container--default .select2-selection--single .select2-selection__arrow b {
    /* border-color: #fff transparent transparent transparent;*/
    top: 60%;
}

#rFiltros .select2-container--default .select2-selection--single .select2-selection__clear {
     color: #FFF;
    height: 34px;
    font-size: 18px;
}

#rFiltros .select2-container .select2-selection--single {
    height: 35.5px !important;
}

#rFiltros .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #FFF;
    line-height: 35.5px;
    text-align: center;
}

#rFiltros .dropdown-menu {
    height: 250px;
    overflow-y: scroll;
}

#rFiltros .dropdown-item {
    white-space: normal;
}

#dFiltroFecha.dropdown-menu.show {
    transform: translate3d(0px, 35px, 0px) !important;
}

button.dropdown-item {
    cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* 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;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

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%;
}

.centerVertical{
    display: flex;
    align-items: center;
}

.file-input-container {
    position: relative;
    display: inline-block;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.botonArchivos {
    cursor: pointer;
}

.elementoArchivo {
    display: flex;
    justify-content: space-between;
    margin: 5px;
}