.template .bglogin {
    background-size: 100%;
    background-color: $color-bg !important;
    background-position: bottom !important;
    background-repeat: no-repeat !important;
    background: url('$background');
}

@media (max-width: 1000px) {
    .template .bglogin {
        background-size: 150% !important;
    }
}

.bglogin {
    position: relative;
    width: 100%;
    background-size: cover;
}


@media only screen and (min-width: 992px) {
    .toplogin {
        display: none !important;
    }
}



.template .logotipo {
    content: url('$logo');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% !important;
    z-index: 999999 !important;
    margin-top: 15px !important;
    margin: auto;
    /*width: 182px;
    height: 63px;*/
}

.template .app-header.navbar .navbar-brand:before {
    content: url('$logo')
}

.template .app-header.navbar .navbar-brand .app-name {
    display: none;
}


.template .app-header.navbar .navbar-brand {
    display: inline-block;
    width: 182px;
    height: 63px;
    padding: 0.5rem 1rem;
    margin-right: 20px;
    /* margin-left: 5px; */
    background-repeat: no-repeat;
    background-position: center center;
    border-bottom: none;
}

.template .navbar {
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: right;
    background-position-y: unset;
    background-size: 100%;
}

@media (max-width: 1169px) {
    .template .app-header.navbar .navbar-brand {
        margin-left: 45px !important;
        width: 220px !important;
        height: 45px;
    }
}

.template .card {
    background-color: $primary;
}

.template .card-inverse {
    background-color: white !important;
}

.template .input-group-addon {
    background-color: $secondary;
}

.template .bglogin .card .btn-primary,
.template .swal2-styled.swal2-confirm,
.template .swal2-styled.swal2-cancel {
    background-color: $secondary !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    font-weight: bold;
    text-transform: uppercase;
    border: 3px solid $secondary !important;
    border-radius: 5px;
}

    .template .bglogin .card .btn-primary:hover,
    .template .swal2-styled.swal2-confirm:hover,
    .template .swal2-styled.swal2-cancel:hover {
        background-color: #ffffff !important;
        border: 3px solid #ffffff !important;
        color: #353836 !Important;
    }

        .template .swal2-styled.swal2-confirm:hover
        .template .swal2-styled.swal2-cancel:hover {
            border: 3px solid $primary !important
        }

.template .spinner-layer {
    border-color: $primary;
}

.template .btn-primary,
.template .btn-info,
.template .btn {
    background-color: $primary !important;
    border-color: $primary !important;
    color: white !important;
    box-shadow: unset !important;
    padding: 10px;
}

.template .btn {
    background-color: $secondary !important;
    border-color: $secondary !important;
}

    .template .btn:hover {
        background-color: $primary !important;
        border-color: $primary !important;
    }

.template .form-control:disabled,
.template .form-control[readonly] {
    background-color: #e0e7ea;
    opacity: 1;
}

.template h1,
.template h4,
.template a {
    color: $primary !important;
}

.template .nav .open > .nav-dropdown-toggle,
.template .sidebar .nav .open > .nav-item .nav-link {
    background-color: rgba(0, 0, 0, 0.17) !important;
    border-color: $primary !important;
    margin-left: 4px !IMPORTANT;
    color: white !IMPORTANT;
}


.template .sidebar .nav .nav-dropdown-items .nav-item a,
.template .sidebar .nav .nav-item a,
.template .sidebar .nav .nav-dropdown-items .nav-item i {
    color: white !important;
    margin-left: 15px;
}

.template .sidebar .nav .nav-item.nav-dropdown.open .nav-dropdown-toggle {
    color: #ffffff !important;
    font-weight: 400;
}

.template .sidebar {
    background: $primary;
}

    .template .sidebar .nav .nav-item .nav-dropdown-toggle:hover,
    .template .sidebar .nav .nav-item .navbar .dropdown-toggle:hover,
    .template .navbar .sidebar .nav .nav-item .dropdown-toggle:hover {
        color: #fff !important;
        background: $secondary !important;
        margin-left: 10px;
    }


    .template .sidebar .nav .nav-item .itemmenu:hover {
        color: #fff !important;
        background: $secondary !important;
        margin-left: 18px;
    }

    .template .sidebar .nav .nav-item.nav-dropdown.open {
        background: linear-gradient(-90deg, rgba(0, 0, 0, 0.09), $primary);
    }


    .template .sidebar .nav .nav-item .nav-link.active,
    .template .sidebar .nav .nav-item .nav-link.active i,
    .template .sidebar .nav .nav-item .navbar .active.dropdown-toggle,
    .template .navbar .sidebar .nav .nav-item .active.dropdown-toggle {
        color: white !IMPORTANT;
        margin-left: 15px;
        font-weight: 600;
        background-color: rgba(0, 0, 0, 0.25);
    }

        .template .sidebar .nav .nav-item .nav-link.active i,
        .template .sidebar .nav .nav-item .navbar .active.dropdown-toggle i,
        .template .navbar .sidebar .nav .nav-item .active.dropdown-toggle i {
            color: $primary;
            background: unset;
        }

.template a:not([href]):not([tabindex]) {
    color: inherit !important;
}

.template #horadin {
    color: $secondary !important;
}



.template .page-item.active .page-link,
.template .pagination-datatables li.active .page-link,
.template .pagination li.active .page-link,
.template .page-item.active .pagination-datatables li a,
.template .pagination-datatables li .page-item.active a,
.template .pagination-datatables li.active a,
.template .page-item.active .pagination li a,
.template .pagination li .page-item.active a,
.template .pagination li.active a {
    background-color: $primary !important;
    border-color: $primary !important;
    color: white !important;
}

.template .page-loader-wrapper p {
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: -5px;
}



.template .fc-state-down,
.template .fc-state-active {
    background-color: $primary;
}

.template .fc th {
    background-color: $primary;
    border-color: #6f6e6e40;
}


.template .fc-state-default {
    background-color: $secondary;
}

.template .fc-toolbar h2 {
    color: #353836;
}

.template .fc-state-hover,
.template .fc-state-down,
.template .fc-state-active,
.template .fc-state-disabled {
    background-color: $primary;
}



.template input[type=text],
.template input[type=password] {
    border: 1px solid #CCCCCC !important;
    padding: 20px;
    box-shadow: unset !important;
    border-radius: 10px !important
}

.template select {
    border: 1px solid #CCCCCC !important;
    box-shadow: unset !important;
    padding-left: 20px;
    height: 42px;
    border-radius: 10px !important
}



.template .icon-user,
.template .icon-lock,
.template .icon-envelope-open {
    font-family: 'FontAwesome';
    padding-left: 4px;
}

.fa-user:before {
    content: "\f007" !important;
}

.fa-key:before {
    content: "\f023" !important;
}

.fa-envelope:before {
    content: "\f0e0" !important;
}

.template .table-head {
    background-color: $primary;
    color: white;
}

.template tbody,
.template tbody a,
.template .modal-dialog h4 {
    color: #353836 !important;
}

.template .table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 350px;
}

    .template .table tr th,
    .template .table tr td {
        border: 1px solid #eaeaea;
        padding: 5px;
        font-size: 10pt;
        font-weight: 400;
    }

        .template .table tr th:first-child,
        .template .table tr th:last-child {
            border-top: solid 1px #bbb;
        }

    .template .table tr th {
        text-align: left;
    }

    .template .table.Info tr th,
    .template .table.Info tr:first-child td {
        border-top: 1px solid #bbb;
    }

.template .table-bordered {
    border: unset;
}


.template .bglogin .input-group .form-control:last-child,
.template .input-group-addon:last-child,
.template .input-group-btn:last-child > .btn,
.template .input-group-btn:last-child > .dropdown-toggle,
.template .input-group-btn:first-child > .btn:not(:first-child) {
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
}


.template .form-control.form-control-label {
    overflow: auto;
    font-weight: unset;
    background-color: #FFF;
    border: unset;
    box-shadow: unset;
    margin-left: -10px;
    margin-top: -8px;
}

.template .form-control-label {
    height: unset;
}

.template label {
    font-weight: 400;
    font-size: 10pt;
}

.template .campoobrigatorio {
    color: red;
}


.template .switch.switch-icon {
    margin-left: -10px;
}

.template .switch-success > .switch-input:checked ~ .switch-label {
    background: $primary !important;
    border-color: $primary;
}

.template .switch-success > .switch-input:checked ~ .switch-handle {
    border-color: $primary;
}


.template .switch.switch-icon .switch-label::after {
    content: "SIM";
}

.template .switch.switch-icon .switch-label::before {
    content: "NÃO";
}

.template .switch.switch-icon .switch-label::before,
.template .switch.switch-icon .switch-label::after {
    font-family: monospace;
    font-size: 12px;
    font-weight: 300;
}

.template .switch-pill .switch-label,
.template .switch.switch-3d .switch-label,
.template .switch-pill .switch-handle,
.template .switch.switch-3d .switch-handle {
    height: 30px;
    width: 80px;
}

.template .switch.switch-icon .switch-input:checked ~ .switch-handle {
    left: 40px;
}

.template .switch.switch-icon {
    width: 80px;
    height: 45px;
}

    .template .switch.switch-icon .switch-handle {
        top: 0px;
        left: 0px;
        width: 40px !important;
        height: 30px !important;
    }


.template .text-percent {
    margin-left: -15px;
}

.template label {
    margin-top: 15px;
}

.template .modal .btn {
    padding: 8px;
    height: 42px;
}

.template .dropdown-item.active, .dropdown-item:active {
    background-color: #353836;
    color: white !important;
}

.template .dropdown-menu > li > a:hover,
.template .dropdown-menu > li > a:focus {
    color: white !important;
    background-color: $primary !important;
}


.template .sidebar .nav .nav-item .nav-link i,
.template .sidebar .nav .nav-item .navbar .dropdown-toggle i,
.template .navbar .sidebar .nav .nav-item .dropdown-toggle i {
    color: #ffffff !important;
}

.template .bglogin h1 {
    color: white !important;
}

/*new*/


.template .table tr:first-child th:first-child, .template .table.Info tr:first-child td:first-child {
    border-top-left-radius: 6px;
}

.template .table tr:first-child th:last-child, .template .table.Info tr:first-child td:last-child {
    border-top-right-radius: 6px !important;
}

.template .fc-state-default.fc-corner-left {
    border-radius: 10px 0px 0px 10px !important;
}

.template .fc-state-default.fc-corner-right {
    border-radius: 0px 10px 10px 0px !important;
}

.template .btn-search {
    border-radius: 0px 10px 10px 0px !important;
}



.template .form-control:disabled, .template .form-control[readonly] {
    border-radius: 10px!important;
}

.template .img-avatar {
    filter: saturate(1.0)
}


.template .app-header.navbar .navbar-brand {
    background-color: #ffffff !important
}
