﻿@media (min-width: 768px) {
    a.sidebar-toggle {
        margin-left: -220px;
        font-size: 1.2em;
    }
}



@media (min-width: 992px) {
    .jconfirm-box-container {
        width: 40% !important;
    }
}

.tdMiddel {
    vertical-align: middle;
    text-align: center;
}

#btEnabledCam{
    display:none;
}

/*BAV 01102020, Flashing Css */
.blink {
    animation: blinker 1s linear infinite;
}

.blink_error {
    animation: blinker 1s linear infinite;
    color:red;
    font-weight:bold;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/*BAV 31072020, permite visualizar el tooltip como una tabla por medio de la etiqueta
    <div class="tooltip">Hover over me
      <span class="tooltiptext">Tooltip text</span>
    </div>
*/
.popUpTooltip {
    position: initial !important; 
}    
    .popUpTooltip .popUpTooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
    }

    .popUpTooltip .popUpTooltiptextArea {
        visibility: hidden;
        width: 250px;
        background-color: black;
        color: #fff;
        text-align: left;
        padding-left:10px !important;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        z-index: 100;
    }

    .popUpTooltip .popUpTooltiptextAreaCenter {
        visibility: hidden;
        width: 250px;
        background-color: black;
        color: #fff;
        text-align: left;
        padding-left: 10px !important;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        margin-left: -100px;
        z-index: 1;
    }

    .popUpTooltip .popUpTooltiptextAreaLeft {
        visibility: hidden;
        width: 250px;
        background-color: black;
        color: #fff;
        text-align: left;
        padding-left: 10px !important;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        margin-left:-200px;
        z-index: 1;
    }

    .popUpTooltip:hover .popUpTooltiptext {
        visibility: visible;
    }

    .popUpTooltip:hover .popUpTooltiptextArea {
        visibility: visible;
    }

    .popUpTooltip:hover .popUpTooltiptextAreaCenter {
        visibility: visible;
    }

    .popUpTooltip:hover .popUpTooltiptextAreaLeft {
        visibility: visible;
    }

body {
    /*padding-top: 50px;*/
    padding-bottom: 20px; 
    padding-right: 0 !important
}
.modal {
    padding-right: 0px !important;
}


.modal {
    padding-right: 0px !important;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

#alerts-container {
    z-index: 9999;
}

.select2 {
    width: 100% !important;
}

/*, se adiciona para que cuando la pantalla tiene varios elemento el label se observe correctamente  y no amontonado*/
.control-label {
    margin-top: 5px;
    margin-bottom: 2px;
}

/*Permite separar el boton cancelar del boton guardar dentro de los modales*/
.textCenter {
    text-align: center;
    vertical-align: central;
}

.cellSelectBtn {
    width: 32%;
}

.cellSelectBtnFull {
    width: 32%;
}

.modal-footer > button {
    margin-right: 2px;
}

@media (max-width: 769px) {
    table.gj-grid-table, table.gj-grid-table a {
        font-size: 1.6vh;
        padding: 2px;
    }

    label, h3[class=box-title] {
        font-size: 2.2vh !important;
    }
}

@media (max-width: 319px) {
    table.gj-grid-table, table.gj-grid-table a {
        font-size: 3.5vh !important;
        padding: 2px;
    }

    label, h3[class=box-title] {
        font-size: 4vh !important;
    }

    .cellSelectBtn {
        width: 40%;
    }

    .cellSelectBtnFull {
        width: 95%;
    }

        .cellSelectBtnFull div[data-role="display"] {
            width: 100%;
        }

    .modal-footer button {
        text-align: center;
        width: 100%;
        padding: 1px;
        margin: 2px;
    }

    .box-body {
        padding: 0px;
        margin: 0px;
        height: auto;
    }
}

@media screen and (min-width: 601px) {

    .modal-header {
        padding: 8px !important;
    }

    .modal-body {
        padding: 15px 15px !important;
    }
}

@media screen and (max-width: 600px) {
    #logoBannerWMS {
        display: none;
    }

    #mainSidebar {
        padding-top: 50px !important;
    }

    .modal-header {
        padding: 5px !important;
    }

    .modal-body {
        padding: 5px !important;
    }
}

/*LISTAS ORDENADAS DRAGAN DROP https://jqueryui.com/sortable/ */
#sortable {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 90% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

    #sortable li {
        vertical-align: central !important;
        margin: 0 3px 3px 3px !important;
        padding: 0 4px 3px 4px !important;
        padding-left: 1.5em !important;
        /*font-size: 1.4em !important;*/
        font-size: 1.0em !important;
        /*height: auto !important;*/
        background: #f39c12ad;
        border-radius: 3px;
        box-shadow: none;
        border: 1px solid transparent;
        font-family: sans-serif !important;
    }

        #sortable li span {
            position: absolute !important;
            margin-left: -1.3em !important;
        }



#column {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 90% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#column div {
    vertical-align: central !important;
    margin: 0 3px 3px 3px !important;
    padding: 0 4px 3px 4px !important;
    padding-left: 1.5em !important;
    /*font-size: 1.4em !important;*/
    font-size: 1.0em !important;
    /*height: auto !important;*/
    background: #f39c12ad;
    border-radius: 3px;
    box-shadow: none;
    border: 1px solid transparent;
    font-family: sans-serif !important;
}

#column div span {
    position: absolute !important;
    margin-left: -1.3em !important;
}

/* layout.css Style */
.upload-drop-zone {
    height: 200px;
    border-width: 2px;
    margin-bottom: 20px;
}

/* skin.css Style*/
.upload-drop-zone {
    color: #ccc;
    border-style: dashed;
    border-color: #ccc;
    line-height: 200px;
    text-align: center
}

.upload-drop-zone.drop {
    color: #222;
    border-color: #222;
}
.fullscreen-modal .modal-dialog {
    margin: 0;
    margin-right: auto;
    margin-left: auto;
    width: 90%;
}
.fieldFontSize13 {
    font-size: 13px !important;
}
.fieldFontSize12 {
    font-size: 12px !important;
}

.fieldFontSize11 {
    font-size: 11px !important;
}


.fieldFontSize10 {
    font-size: 10px !important;
}

.fieldFontSize14Bold {
    font-size: 14px;
    font-weight:bold ;
    color:#000;
}

.fieldFontSize16Bold {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.fieldFontSize13Bold {
    font-size: 13px;
    font-weight: bold;
    color: #000;
}

/*
Full screen Modal 
*/
.fullscreen-modal .modal-dialog {
    margin: 0;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

@media (min-width: 768px) {
    .fullscreen-modal .modal-dialog {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .fullscreen-modal .modal-dialog {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .fullscreen-modal .modal-dialog {
        width: 1170px;
    }
}
@media (max-width: 768px){
    div {
        font-size: 10px;
    }
}


/*****************************************************************/
/* The switch - the box around the slider */
/*****************************************************************/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

    /* 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: 23px;
        width: 23px;
        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: 30px;
}

    .slider.round:before {
        border-radius: 50%;
    }
/*****************************************************************/
.btn-flotante {
    font-size: 16px; /* Cambiar el tamaño de la tipografia */
    text-transform: uppercase; /* Texto en mayusculas */
    font-weight: bold; /* Fuente en negrita o bold */
    color: #ffffff; /* Color del texto */
    border-radius: 5px; /* Borde del boton */
    letter-spacing: 2px; /* Espacio entre letras */
    background-color: #E91E63; /* Color de fondo */
    padding: 18px 30px; /* Relleno del boton */
    position: fixed;
    bottom: 40px;
    right: 40px;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

    .btn-flotante:hover {
        background-color: #2c2fa5; /* Color de fondo al pasar el cursor */
        box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
        transform: translateY(-7px);
    }

@media only screen and (max-width: 600px) {
    .btn-flotante {
        font-size: 14px;
        padding: 12px 20px;
        bottom: 20px;
        right: 20px;
    }
}

.btn-circle.btn-xl {
    width: 50px;
    height: 50px;
    padding: 15px 0px;
    border-radius: 35px;
    font-size: 18px;
    line-height: 1.33;
    opacity: 0.9;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}
.btn-floating-container {
    right: 50px;
    bottom: 50px;
    position: fixed;
}
.btn-floating {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(245, 245, 245, 0.075);
    text-align: center;
    padding: 5px 10px;
    font-size: 44px;
   /* bottom: 40px;
    right: 40px;
    position: fixed;*/
}

div.floating-action-menu > .action-menu {
    visibility: hidden;
    transform: translateY(65px);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 300ms linear;
}

div.floating-action-menu.active > .action-menu {
    visibility: visible;
    transform: translate(0);
    opacity: 1;
    padding-bottom: 5px;
    max-height: 1000px;
}

div.floating-action-menu > .action-menu > .floating-action {
    padding-right: 0.45rem;
}

div.floating-action-menu > .action-menu .btn-floating,
div.floating-action-menu > .action-menu .badge {
    transform: scale(0.4);
    transition: all 500ms ease-in-out;
}

div.floating-action-menu.active > .action-menu .btn-floating,
div.floating-action-menu.active > .action-menu .badge {
    transform: scale(1);
}

div.floating-action-menu > .action-button > .btn-floating {
    transition: all 500ms linear;
}

div.floating-action-menu.active > .action-button > .btn-floating {
    background-color: #dc3545;
    border-color: #dc3545;
}

    div.floating-action-menu.active > .action-button > .btn-floating:hover {
        background-color: #c82333;
        border-color: #bd2130;
    }

div.floating-action-menu > .action-button > .btn-floating > i {
    transition: transform 500ms ease-in-out;
}

div.floating-action-menu.active > .action-button > .btn-floating > i {
    transform: rotate(-315deg);
}
.modal {
  text-align: center;
  padding: 0!important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px; /* Adjusts for spacing */
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.first-line {
    margin-top: 20px;
}

.btn-plus {
    padding: 4px 12px !important;
    margin-left: 3px;
}

.legend-document {
    border-bottom: 0px !important;
    width: 42% !important;
    border: 0 !important;
    font-size: 14px;
    font-weight: bold;
}

fieldset {
    padding: 0.35em 0.625em 0.75em !important;
    margin: 0 2px !important;
    border: 1px solid #c0c0c0 !important;
    min-height: 340px;
}

.row-documentfield {
    padding-right: 10px;
    position: relative;
    top: -8px;
}

.ul-rt-options {
    padding-top: 10px;
    list-style-type: none;
    padding-left: 0px;
}
figure.image > img {
    height:64px;
}

figure.image {
    text-align:center;
}