.bg-dark {
    /*background-image: ../images/bg.jpg;*/
     background-color: #333!important; 
}

.inputdark {
    font-size: 5rem;
    text-align: center;
    width: 150px; 
    border: 0px;
    -webkit-text-stroke-width: thin;
    background-color: #333;
    color: white;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
}
.list-group-item {
    position: relative;
    display: block;
    padding: 4px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #ddd;
}
/* si a colors e posa inherit agafa els colors per defecte
i el boto queda amb el textge de color negre.*/
a:not([href]):not([tabindex]) {
    color:#fff;
    text-decoration: none;
}
a:not([href]):not([tabindex]):hover {
    color: #fff;
    text-decoration: none;
}
.btn-grey {
    color: #eee;
    background-color: #333;
    border-color: #ddd;
}
.btn-grey:hover {
    color: #333;
    background-color: #ddd;
    border-color: #333;
}
.btn-grey:not(:disabled):not(.disabled).active, .btn-grey:not(:disabled):not(.disabled):active, .show>.btn-grey.dropdown-toggle {
    color: #333;
    background-color: #ddd;
    border-color: #333;
}
.btn-primary {
    color: #fff;
    background-color: #980000;
    border-color: #980000;
}
.btn-primary:hover {
    color: #fff;
    background-color: #540000;
    border-color: #540000;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #980000;
    border-color: #980000;
}
.navbar-dark .navbar-toggler {
   /* color: #980000;
    border-color: #980000;*/
}
button:focus {
    outline: 1px dotted;
    outline: 2px auto #fff;
}
a {
    color: #333;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}
a:hover {
    color: #980000;
    text-decoration: underline;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}
.card-footer {
    padding: .75rem 1.25rem;
    background-color: #eeeeee;
    border-top: 1px solid rgba(0,0,0,.125);
    color: #333;
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #eeeeee ;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #980000;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #e6d3d5;
}
.table td, .table th {
    padding: 1px;
    vertical-align: middle;
    border-top: 0px solid;
}
.table td, .table th {
    padding: 5px;
    vertical-align: middle;
    border-top: 0px solid;
}

#mainNav.navbar-dark .navbar-collapse .navbar-sidenav {
    background: #333;
}
.text-app {
    color: #980000!important;
}
/***********CHECKBOX PARTITS**************/
/* The container */
.container2 {
    display: ;
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

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

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

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

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

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

/* Style the checkmark/indicator */
.container2 .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);
}
.nav-link {
    display: block;
    padding: .5rem 1rem;
    padding: 4px;
}
/*****************************************/