/* gerais ------------------------------------------- */
* {
    box-sizing: border-box;
}

body {
    padding-top: 60px;
}

.form-control:focus {
    box-shadow: none !important;
}

.range-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.range-container i {
    margin-right: 10px;
}

.range-container input[type="range"] {
    flex: 1;
}

.range-value {
    margin-left: 10px;
    width: 50px;
    text-align: right;
}

.footer {
    color: #999999;
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-label-doc {
    font-size: 0.75rem;
    text-align: left;
    display: block;
    margin-bottom: 0.5rem;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

#dataTable .text-search tr,
td,
th {
    font-size: 0.8em;
}

tfoot input,
tfoot select {
    width: 98%;
    box-sizing: border-box;
}

.border-custom {
    border-right: 1px solid rgb(240, 240, 240);
}

.modal-dialog-custom {
   /* width: auto;
    max-width: 85%;
    max-height: 85%;*/
}

.modal.custom-modal .modal-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
  }

.modal-content-custom {
    width: 80vw;
    max-height: 70vh;
    max-width: 85vw;
}

.modal-content-custom img{
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 60vh;
}

 
.modal-body-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; 
    max-height: 90%;
    max-width: 100%;
    overflow: auto;

}

.modal-footer-custom {
    display: flex;
    justify-content: space-between;
}

embed {
    width: 90vw;
    height: 60vh;
}


#formEditScanner .modal-dialog, #modalViewScanner .modal-dialog{
    max-width: 60vw;
    margin: auto;
}

 #modalViewScanner .modal-dialog{
    max-width: 50vw;
    margin: auto;
}

#formEditScanner .modal-content, #modalViewScanner .modal-content{
    max-height: 80vh;
}


#formEditScanner .modal-body, #modalViewScanner .modal-body {
    overflow-y: auto;
}

textarea {
    resize: none;
}

/* media queries ------------------------------------------- */
@media (max-width: 767px) and (orientation: portrait) {
    .custom-mobile-portrait {
        width: 91.66667%;
    }

    #formEditScanner .modal-dialog {
        max-width: 95vw;
        margin: auto;
    }
    #modalViewScanner .modal-dialog {
        max-width: 95vw;
        margin: auto;
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .custom-mobile-landscape {
        width: 83.33333%;
    }

    #formEditScanner .modal-dialog {
        max-width: 95vw;
        margin: auto;
    }

    #modalViewScanner .modal-dialog {
        max-width: 95vw;
        margin: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .custom-tablet-portrait {
        width: 83.33333%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .custom-tablet-landscape {
        width: 66.66667%;
    }
}


/* login ------------------------------------------- */
.bg-login {
    border: 0px;
    padding: 0px;
    background-image: url("../img/fundo.jpg");
    background-size: 100% 100%;
}

.bg-form {
    background-color: rgba(255, 255, 255, 0.75);
}

.custom-border {
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 40px;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
}

.bt-50 {
    width: 50%;
}