html {
    height: 100%;
}

html body {
    font-size: 1rem;
    height: 100%;
    overflow: hidden;
}

html body .container-fluid.body-content {
    position: absolute;
    top: 80px;
    bottom: 60px;
    right: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: auto;
}

header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 50px;
}

footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f5f5f5;
    height: 40px;
    line-height: 40px;
    width: 100%;
    padding-left: 250px;
}

.footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f5f5f5;
    height: 40px;
    line-height: 40px;
    width: 100%;
}

div.site-lock {
    position: absolute;
    bottom: 40px;
    right: 2px;
  }

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
   * Sidebar
   */

.sidebar {
    margin-top: 60px;
    width: 228px;
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh - 48px);
    z-index: 999;
    padding: 0;
    -webkit-transition: right .5s ease, left .5s ease;
    -moz-transition: right .5s ease, left .5s ease;
    -o-transition: right .5s ease, left .5s ease;
    transition: right .5s ease, left .5s ease;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
    /* Height of navbar */
    height: calc(100vh - 32px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: scroll;
    /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.1rem;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather, .sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar .nav-link:hover {
    color: #007bff;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.sidebar .sub-menu {
    background-color: lightgray;
}

/*
   * Navbar
   */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.menu-responsive .nav {
    position: relative;
    z-index: 999;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/*
   * Utilities
   */

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-row:before {
    top: 20px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-index: 0;
}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.btn-circle {
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.428571429;
    border-radius: 20px;
}

.modal-content {
    max-height: 100%;
    /*altura da modal*/
}

.modal-dialog {
    max-height: 100vh;
    /*altura da view da modal*/
    margin-top: 5px !important;
}

.modal-body {
    overflow: auto;
    /*habilita o overflow no corpo da modal*/
}

.modal .form-group {
    margin-bottom: 2px !important;
}

.modal label {
    margin-bottom: 2px !important;
}

.responsive-scroll {
    max-height: 420px;
    overflow-y: scroll;
}

.form-nfe-vendas fieldset {
    border: 1px solid #ccc !important;
    padding: 8px;
}

.form-nfe-vendas fieldset legend {
    width: auto !important;
    font-size: 24px !important;
    margin: 8px !important;
}

.form-nfe-vendas fieldset legend .btn {
    font-size: 14px !important;
}

#form-calculadora li {
    list-style: none;
}

#form-calculadora #container {
    width: 290px;
    text-align: center;
    height: auto;
    margin: 4px auto;
}

#form-calculadora #calculadora {
    width: 270px;
    height: 340px;
    margin: 0 auto;
    padding: 2px;
    background-color: #bfbfbf;
}

#form-calculadora .input-valor {
    margin: 8px auto;
    width: 80%;
    height: 30px;
    font-size: 16px;
    overflow: hidden;
    text-align: right;
    color: #48484D;
    padding: 4px;
    background-color: #fff;
    box-shadow: inset -1px -1px 4px 1px #eee;
}

#form-calculadora .input-resultado {
    margin: 8px auto;
    width: 80%;
    height: 90px;
    font-size: 16px;
    overflow: scroll;
    text-align: right;
    color: #48484D;
    padding: 4px;
    background-color: #fff;
    box-shadow: inset -1px -1px 4px 1px #eee;
}

#form-calculadora .keys {
    margin-left: -22px;
} 

#form-calculadora .key li {
    width: 50px;
    height: 30px;
    border-radius: 3px;
    color: #fff;
    background-color: #6C73FA;
    cursor: pointer;
    float: left;
    margin: 0px -3px 5px 8px;
    line-height: 30px;
    text-align: center;
    box-shadow: 0px 3px 1px 0px #444651;
}

#form-calculadora .key li:hover {
    background-color: #BEF9F0;
    color: #6C73FA;
    transition: 0.2s;
}

#form-calculadora .key li:active {
    box-shadow: 0px 1px 1px 0px #444651;
}

#form-calculadora .verificar {
    width: 65% !important;
}

@media(max-width: 600px) {
    .sidebar, #btn-toggle-sidebar {
        display: none;
    }

    footer {
        padding-left: 8px;
        font-size: .80rem;
    }

    .navbar-brand {
        width: auto;
    }

    .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
    }

    .sub-menu {
        background-color: #007bff;
    }
}