@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

:root {

    --primary-color: #7d40e7;
    --secondary-color: #6931ca;
    --title: #333;
    --text: #666;
    --gray: #E5E6F0;

}

* {

    font-family: Roboto, fontAwesome, 'Glyphicons Halflings', sans-serif !important;

}

.sidebar-menu {

    padding: 0 15px 0 15px;

}

.sidebar-mini.sidebar-collapse .sidebar-menu {

    padding: 0 5px 0 5px;

}

.sidebar-menu li.header{

    color: var(--title);
    font-weight: bold;
    font-size: 14px !important;
    padding: 10px 0 0 0;

}

.sidebar-menu li:not(.header)  {

    background-color: white;
    margin: 10px 0 10px 0;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.5s;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

}

.sidebar-menu li:not(.header) a {

    color: var(--title);

}

.sidebar-menu li:not(.header):hover {

    background: #E5E6F0;

}

.sidebar-menu li:not(.header).active  {

    background-color: var(--primary-color);
    border: none;

}

.sidebar-menu li:not(.header).active:hover {

    background-color: var(--secondary-color);

}   

.sidebar-menu li:not(.header).active a {

    color: white;

}

.tab-content {

    padding: 10px 20px !important;

}

.my-4 {

    margin-top: 1.5rem;
    margin-bottom: 1.5rem;

}

.navbar a {

    color: white !important;

}

.btn-purple {

    background-color: var(--primary-color);
    border-radius: 2px;
    color: white !important;
    cursor: pointer;
    transition: background 0.5s;

}

.btn-purple:hover, .btn-purple:focus, .btn-purple:active {

    background-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 .2rem rgba(125,64,231,.5) !important;

}

.btn-border {

    background-color: transparent !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;

}

.btn-border:hover, .btn-border:focus, .btn-border:active {

    box-shadow: none !important;
    color: white !important;

}

.small-box .icon {

    font-size: 80px;

}

/* FORMULARIOS */

.form-wrapper > label {

    color: var(--title);
    font-size: 14px;
    font-weight: bold;
    display: block;

}

.campo-descricao {

    cursor: pointer;
    margin-left: 5px;

}

.form-wrapper label.important::after {

    content: " *";
    color: #f00;
    font-weight: bold;

}

.form-wrapper input:not([type='checkbox']), .form-wrapper select, .form-wrapper textarea, .form-wrapper .selectpicker {

    height: 32px;
    font-size: 14px;
    color: #666 !important;
    border: none;
    border-bottom: 1px solid #aaa;

    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;

}

.form-wrapper .bootstrap-select {

    width: 100% !important; 

}

.form-wrapper textarea {

    min-height: 64px;
    resize: vertical;

}

.form-wrapper input:focus, .form-wrapper select:focus, .form-wrapper .selectpicker:focus {

    -webkit-box-shadow: none;
    box-shadow: none;

    border-bottom: 1px solid var(--primary-color);

}

.form-wrapper textarea:focus {

    box-shadow: 0 0 0 .2rem rgba(125,64,231,.5) !important;

}

.form-wrapper .custom-checkbox .custom-control-input:checked~.custom-control-label::before {

    background-color:var(--secondary-color);
    border-color: var(--secondary-color);

}

.form-wrapper .custom-checkbox .custom-control-input:focus~.custom-control-label::before {

    border-color: var(--secondary-color);
    box-shadow: 0 0 0 .2rem rgba(125,64,231,.5) !important;

}

.form-wrapper .custom-checkbox .custom-control-input:active~.custom-control-label::before {

    border-color: var(--secondary-color);
    background-color:rgba(125,64,231,.5);
    box-shadow: 0 0 0 .2rem rgba(125,64,231,.5) !important;

}

.salvar-dados {

    height: 100px;

}

.salvar-dados button {

    width: 180px;
    margin-top: 30px;
    padding: 15px 20px;

}

.custom-select {

    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

}

.custom-select:disabled {

    color: #6c757d;
    background-color: #e9ecef;

}

.select2-container--default .select2-selection--multiple { 

    border: none;
    border-bottom: 1px solid #aaa;

}

.select2-container--default .select2-selection--multiple .select2-selection__choice {

    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {

    background-color: var(--primary-color);
    color: white;

}

.select2-container--default .select2-results__option[aria-selected="true"]:hover {

    color: white;

}

/*https://www.w3schools.com/howto/howto_css_custom_checkbox.asp*/

.cc-container {

    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

/* Hide the browser's default checkbox */
.cc-container input {
        
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;

}

/* Create a custom checkbox */
.cc-checkmark {

    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eeeeee;
    border-radius: 3px;
    cursor: pointer;

}

/* On mouse-over, add a grey background color */
.cc-container:hover input ~ .cc-checkmark {

    background-color: #ccc;

}

/* When the checkbox is disabled, change its color */
.cc-container input:disabled ~ .cc-checkmark {

    background-color: #d7dcde;
    cursor: not-allowed;

}

/* When the checkbox is checked, add a blue background */
.cc-container input:checked ~ .cc-checkmark {

    background-color: var(--primary-color);

}

/* Create the checkmark/indicator (hidden when not checked) */
.cc-checkmark:after {

    content: "";
    position: absolute;
    display: none;

}

/* Show the checkmark when checked */
.cc-container input:checked ~ .cc-checkmark:after {

    display: block;

}

/* Style the checkmark/indicator */
.cc-container .cc-checkmark:after {

    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

}

.datepicker td.active.active, .datepicker td.active:hover.active, .datepicker td span.active.active {

    background-image: none;
    background-color: var(--primary-color);

}

.table-edit tr:first-child > td {

    border: none;

}

.table-edit {

    cursor: pointer;

}

.table-edit {

    color: #666;

}

.table-edit tr td:first-child {

    color: #444;
    font-weight: bold;

}

.table-edit tr > td:last-child {

    color: white;

}

.table-edit tr:hover > td:last-child {

    color: #666;

}

.table-edit tr td > i:hover {

    color: var(--primary-color);

}

.lista {

    list-style-type: none;
    padding: 0px;

}

.noselect {
    
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.panel-scroll {

    max-height: 250px;
    overflow-y: scroll;
    /* scrollbar-width: none; */

}

#sidebar_usuarioFoto {

    object-fit: cover;
    border-radius: 50%;
    height: 45px;
    width: 45px;

}

#header_usuarioFoto {

    object-fit: cover;
    border-radius: 50%;
    height: 25px;
    width: 25px;

}

.flex-row {

    display: flex;
    flex-direction: row;

}