.form-label {
    margin-bottom: .5rem;
    font-size: 16px;
}

/* Customize the label (the container) */
.container-radio {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Create a custom radio button */
.container-radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container-radio:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container-radio input:checked ~ .checkmark {
    background-color: #5156be;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.container-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container-radio input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.container-radio .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Customize the label (the container) */
.container-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container-checkbox.is-invalid {
    background: #ffd4d4;
    color: #aa2a2a;
}

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

/* Create a custom checkbox */
.container-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container-checkbox :hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked ~ .checkmark {
    background-color: #5156be;
}

/* Create the checkmark/indicator (hidden when not checked) */
.container-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.datepicker {
    padding: .47rem .75rem !important;
}

legend {
    font-weight: bold;
    border-bottom: 1px solid;
    padding-bottom: 6px;
    margin-bottom: 15px;
    margin-top: 20px;
    color: #5156be;
}

.dashboard-button {
    text-align: center;
    border: 1px solid;
    border-radius: 10px;
    width: 100%;
    float: left;
    height: 200px;
    margin-bottom: 30px;
    padding: 30px;
}

.dashboard-button:hover {
    background: #5156be;
    color: white;
    transition: background-color;
    transition-duration: 200ms;
}

.dashboard-button span {
    font-size: 28px;
    width: 100%;
    float: left;
}

.dashboard-button i {
    font-size: 50px;
    width: 100%;
    float: left;
}

.float-right {
    float: right;
}

.iti {
    width: 100% !important;
}

.avatar {
    border-radius: 50%;
    height: 80px;
    object-fit: cover;
    object-position: center;
    width: 80px;
}

.dashboard-button em {
    width: 100%;
    float: left;
}

sup {
    color: red;
}

span.twitter-typeahead .tt-dropdown-menu, span.twitter-typeahead .tt-menu {
    width: 100%;
    cursor: pointer;
    font-size: 20px !important;
}

.big-autocomplete {
    font-size: 22px;
}

.btn.close {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 30px;
    height: 100%;
    line-height: 30px;
}

.selected-team-label {
    font-size: 22px;
}

.badge.badge-secondary {
    background: #3f3f3f;

}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    background: none;
    border: none;
}

.place, .time {
    width: 100%;
    float: left;
}

hr.divider {
    width: 100%;
    float: left;
    height: 1px;
    background-color: #595959;
    margin-top: 10px;
    margin-bottom: 10px;
}

.text-right {
    text-align: right;
}

.selected-driver-label label {
    width: 100%;
    float: left;
    margin-bottom: 0px;
    font-weight: normal;
}

.selected-driver-label b {
    width: 100%;
    float: left;
    margin-bottom: 0px;
    font-size: 18px;
}

.btn.close {
    height: auto;
}

.violet {
    color: #5156BE;
}

.badge.badge-blue {
    background: #2a2ae1;
    color: #fff;
}

#name, #surname {
    text-transform: capitalize;
}

h5 {
    color: #5156be;
}

#my_driver_data b, #selected_copilot b {
    float: left;
    width: 100%;
    font-size: 16px;
}

.show-form label {
    display: block;
}

.show-form strong {
    display: block;
    font-size: 18px;
}

.radio-title {
    font-size: 18px;
    font-weight: bold;
}

#other_logistic_team {
    margin-bottom: 20px;
}

#tents_table .input-group-text {
    padding: 5px;
    height: 100%;
    font-size: 12px;
}

#tents_table .form-control {
    padding: 5px;
}

#fiscal_code {
    text-transform: uppercase;
}

.go-to-cart {
    background: #47aa47;
    color: white;
    width: auto;
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 20px;
    z-index: 9999;
    cursor: pointer;
}

.header-buttons em {
    display: block;
    line-height: 10px;
    font-size: 10px;
}

@media (max-width: 650px) {
    .header-buttons .btn.btn-outline-primary {
        padding-left: 3px;
        padding-right: 3px;
        font-size: 11px;
    }

    .header-buttons i {
        font-size: 20px;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
}

.accordion-header.not-verified button {
    color: #5b0000;
    background-color: #e1a5a5;
}

.accordion-header.is-verified button {
    color: #185b00;
    background-color: #aae1a5;
}


.modal-dialog-scrollable form {
    overflow-y: scroll;
}


.modal legend {
    font-size: 18px;
}


tr.grey {
    background: #e3e3e3;
}


tr.blue {
    background: #8ca6d6;
}

tr.blue td {
    color: #182a71;
}

tr.red {
    background: #d68c8c;
}

tr.red td {
    color: #530f0f;
}

tr.green {
    background: #71cb73;
}


tr.verifica-tecnica {
    background: #71cb73;
}



tr.light-green{
    background: #effff7;
}

.green .badge-soft-success {
    background: darkgreen;
    color: white;
}


.badge.badge-soft-default {
    background: darkgrey;
    color: black;
}


.select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

.select2-results__option--selected {
    background: #b1b1b1 !important;
    color: white !important;
}


.badge.badge-success {

}

input[type="radio"]:invalid ~ .checkmark {
    box-shadow: 0 0 0 2px red;
}

.badge-soft-violet {
    background: #a763d0;
    color: white;
}

.badge-soft-yellow {
    background: #ececc0;
    color: black;
}


input[type='checkbox']:invalid:before {
    border: 1px solid red;
}

.scroll-left, .scroll-right {
    border: 1px solid #ddd;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    width: 30px;
    height: 28px;
    z-index: 9999999;
    line-height: 0px;
    text-align: center;
    padding: 0;
    background: #5879fb;
    color: white;
}

.card-model label{
    cursor: pointer !important;
}
.card-model{
    width: 300px;
    cursor: pointer !important;
}

.accordion-button {
    font-size: 18px;
    font-weight: bold;
}

.card-model:hover{
    background: rgba(227, 227, 227, 0.6);
}

input:invalid,
textarea:invalid,
select:invalid {
    border: 1px solid red;
}

.swal2-html-container ul {
    text-align: left;
    width: 100%;
}


.accordion-item.has-error h2 button {
    background: #ff000024 !important;
}
