/*
.btn-xc {
  background-color: #69543c;
  border-color: #69543c;
  color: #fff;
}
*/

.btn-xc {
    background-color: #69543c;
    border-color: #69543c;
    color: #fff;
    padding: 3px;
    padding-right: 5px;
    padding-left: 10px;
    line-height: 27px;
    font-size: medium;
}

.btn-xc:hover, .btn-xc:not(:disabled):not(.disabled).active, .btn-xc:not(:disabled):not(.disabled):active, .show > .btn-xc.dropdown-toggle {
  background-color: #53422f;
  border-color: #53422f;
  color: #fff;
}

.btn-xc.focus, .btn-xc:focus {
  box-shadow: none;
}

/* .btn-primary {
  background-color: #2c89a0;
  border-color: #2c89a0;
}

.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
  background-color: #247284;
  border-color: #247284;
}

.btn-primary.focus, .btn-primary:focus {
  box-shadow: none;
}

.btn-primary.disabled, .btn-primary:disabled {
  background-color: #184d59;
  border-color: #184d59;
} */

.dropdown-item.active, .dropdown-item:active {
  color: #212529;
  font-weight: bold;
  background-color: #d0d0d0;
}

/* .card {
  border-radius: 0;
} */

.custom-file-input {
  cursor: pointer;
}

.custom-file-label {
  color: #6c757d;
}

.custom-file-label::after {
  content: 'Sfoglia';
}

.custom-switch-xl {
  padding-left: 4.25rem;
}

.custom-switch-xl .custom-control-label {
  height: 2.5rem;
  line-height: 2.5rem;
}

.custom-switch-xl .custom-control-label::after {
    left: calc(-4.25rem + 2px);
    width: calc(2rem - 4px);
    height: calc(2rem - 4px);
    border-radius: 1.5rem;
}

.custom-switch-xl .custom-control-label::before {
    left: -4.25rem;
    width: 3.75rem;
    border-radius: 1.5rem;
    height: 2rem;
}

.custom-switch-xl .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    -webkit-transform: translateX(1.75rem);
    transform: translateX(1.75rem);
}

.modal-content {
  box-shadow: 0 4px 6px 0 hsla(0, 0%,0%, 0.2);
  border: 0;
}

.modal-draggable .modal-content{
  margin: 0;
  box-shadow: 0px 0px 15px 0 hsla(0, 0%,0%, 0.8);
}

.modal-draggable .modal-header{
  cursor: move;
}

.modal-header {
  border: 0;
  background-color: #eaeaeb !important;
}

.modal-footer {
  border: 0;
}

.card {
  box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
  border: 0;
}

.card-header {
  background-color: #f5f5f5 !important;
}

.bg-light {
  background-color: #fafafa !important;
}

fieldset {
  border: 0;
  border-radius: 0.2rem;
  padding: 0 1.2rem 1.2rem 1.2rem;
  box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
  background-color: #f3f3f3;
}

fieldset .legend {
  display: block;
  width: auto;
  margin: 0.1rem 0 0.5rem -0.5rem;
  padding: 0 0.8rem;
  text-shadow: 1px 1px hsla(0, 0%, 0%, 0.2);
  font-size: 1.4rem;
}

.alert {
  box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
  border: 0;
}

/* 
###################
### CARD TO ROWS ###
###################
*/

.card-to-rows {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card-to-rows .activable-card {
  /* width: 18rem; */
  flex-shrink: 0;
  flex-grow: 0;
  background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

.card-to-rows .activable-card:hover {
  cursor: pointer;
}

.bck-color-1 {
  background-image: linear-gradient( 135deg, #0396FF 40%, #ABDCFF 100%) !important;
}

.bck-color-5 {
  background-image: linear-gradient( 135deg, #28C76F 10%, #81FBB8 40%) !important;
}

.bck-color-1.active, .bck-color-1:hover {
  background-image: linear-gradient( 135deg, #ABDCFF 40%, #0396FF 100%) !important;
}


.bck-color-2.active, .bck-color-2:hover {
  background-image: linear-gradient( 135deg, #FDEB71 10%, #F8D800 100%) !important;
}


.bck-color-3.active, .bck-color-3:hover {
  background-image: linear-gradient( 135deg, #FEB692 10%, #EA5455 100%) !important;
}


.bck-color-4.active, .bck-color-4:hover {
  background-image: linear-gradient( 135deg, #90F7EC 10%, #32CCBC 100%) !important;
}


.bck-color-5.active, .bck-color-5:hover {
  background-image: linear-gradient( 135deg, #81FBB8 10%, #28C76F 100%) !important;
}

/* 
###################
### CARD TO ROWS ###
###################
*/

.badge-magenta {
  color: #fff;
  background-color: #dc35b0;
}