/**** bs4.css ***/
//Modifiche per BS4
html, body {
    height: 100%;
    width: 100%;
}

td.val {
    border: 0;
}

td.fld {
    background-color: #FAFFBD;
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: #bbb;
    font-weight: bold;
}

td.val {
    background-color: #FAFFBD;
    border-width: 0 0 0 0;
    border-style: solid;
    border-color: #bbb;
}


.btn.dropdown-toggle {
    font-weight: bold;
    background-color: #ddd;
    margin: 0px;
    padding: 2px 6px 2px 6px;
}

.form-control {
    padding: 0px 0px 0px 0px;
}

.table td {
    padding: 2px;
}

input[type=number] {
    width: 80px !important;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
}


.bs-select-all,.bs-deselect-all {
    border: 0 none !important;
    border-radius: 10px !important;
    padding: 1px 1px !important;
    margin: 1px 1px !important;
    font-size: .575rem !important;
  }

.container {
    max-width: 60%;
    margin: 20px auto;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    border: none;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 0.46875rem 2.1875rem rgba(90, 97, 105, 0.1), 0 0.9375rem 1.40625rem rgba(90, 97, 105, 0.1), 0 0.25rem 0.53125rem rgba(90, 97, 105, 0.12), 0 0.125rem 0.1875rem rgba(90, 97, 105, 0.1);
}

.card.waiting {
    background-color: rgba(255, 222, 56, 0.4);
}

.card.success {
    background-color: rgba(162, 255, 71, 0.4);
}

.card.danger {
    background-color: rgba(255, 77, 77, 0.4);
}

.progress {
    width: 200px;
}

.active-socket, .active-10-socket {
    background-color: var(--success);
    height: 40px;
    padding: 8px 15px 15px;
    border: 1px solid var(--success);
    border-radius: 5px;
    color: #0f6d4b;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}

.deactive-socket, .deactive-10-socket {
    background-color: var(--danger);
    height: 40px;
    padding: 15px;
    padding-top: 8px;
    border: 1px solid var(--danger);
    border-radius: 5px;
    color: #6f231c;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

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

.container.container-max-width {
    width: 100%;
    max-width: none;
}

div.row.no-margin {
    margin: 0 !important;
}

.margin-bottom {
    margin-bottom: 10px !important;
}

div.card-statistic-3 {
    overflow: hidden;
    position: relative;
}

.cards-bck {
    font-size: 4em;
    position: absolute;
    opacity: 0.4;
    right: 10px;
    top: 20px;
    color: #2a2a2a !important;
}

.col-4.col-xs-4.col-sm-4 a {
    color: unset;
    text-decoration: none;
}

.col-4.col-xs-4.col-sm-4 a:hover {
    text-decoration: none;
}

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

tr.selected td {
    font-weight: bold;
}

.select2-container {
    width: 100% !important;
}

.card {
    overflow: hidden;
    position: relative;
}

.container-center {
    margin-left: auto;
    margin-right: auto;
}

.width-100 {
    width: 35%;
}

td.is-error {
    background-color: var(--danger);
    color: #f2f2f2;
    font-weight: bold;
}

td.is-error:hover {
    background-color: var(--danger) !important;
    color: #f2f2f2 !important;
    font-weight: bold;
}

td.success {
    background-color: var(--success);
    color: #f2f2f2;
    font-weight: bold;
}

td.success:hover {
    background-color: var(--success) !important;
    color: #f2f2f2 !important;
    font-weight: bold;
}

p {
    margin-bottom: 5px !important;
}

#filtro1 *[class^="col-"] {
    margin-bottom: 10px;
}

#gvpanel0 {
    padding: 35px;
}

#gtssearch-desc-NEW_WORKERS {
    max-width: 50%;
    display: inline-block;
}

.mb-0, .my-0 {
    color: #2a2a2ac7;
}

.navbar-nav > li > a:hover {
    text-decoration: none !important;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* 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: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #33ce29;
}

input:focus + .slider {
    box-shadow: 0 0 1px #33ce29;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

a:hover {
    color: unset !important;
    text-decoration: unset !important;
}

.navbar-dark .navbar-brand {
    color: #fff !important;
}

#NEW_WORKERS {
    display: inline-block !important;
    width: 40% !important;
}

.margin-right {
    margin-right: 20px;
}

th div {
    white-space: nowrap !important;
}

.table-striped tbody tr:nth-of-type(odd), .table-striped tbody tr:nth-of-type(odd) td {
    /*background-color: rgba(0, 0, 0, .05);*/
}

/*#etichette {*/
/*    width: unset !important;*/
/*    max-width: unset !important;*/
/*    min-width: 100pc !important;*/
/*}*/

/*.dragscroll {*/
/*    overflow: hidden;*/
/*    overflow-x: scroll;*/
/*    white-space: nowrap;*/
/*}*/

/*!* Hide scrollbar for Chrome, Safari and Opera *!*/
/**::-webkit-scrollbar {*/
/*    display: none;*/
/*}*/

/*!* Hide scrollbar for IE, Edge and Firefox *!*/
/** {*/
/*    -ms-overflow-style: none; !* IE and Edge *!*/
/*    scrollbar-width: none; !* Firefox *!*/
/*}*/

/* modifiche per bottoni con angoli arrotondati e colore su ckick */
.btn-default {
    background-color: #ccc;
    border-radius: 20px;
}


.btn:hover {
  background-color: lightgreen !important;
}

.btn:focus {
    background-color: #ffc107 !important;
}


