/* CHECKBOX MONOS modificados a medida */
/* https://www.cssscript.com/beautiful-checkbox-and-radio-button-replacement-with-pure-css-magic-check/ */

@keyframes hover-color {
    to {
    background-color: #eee;} }
  
input.magic-checkbox {
    position: absolute;
    opacity: 0;
}
  
.magic-checkbox + label {
    position: relative;
    display: block;
    padding-left: 30px;
    cursor: pointer;
}

.magic-checkbox + label:hover:before {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-name: hover-color; 
}

.magic-checkbox + label:before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    content: '';
    border: 1px solid #c0c0c0; 
}

.magic-checkbox + label:after {
    position: absolute;
    display: none;
    content: '';
}
  
.magic-checkbox:checked + label:before {
    animation-name: none; 
}
  
.magic-checkbox:checked + label:after {
    display: block;
}
  

.magic-checkbox + label:after {
    top: 2px;
    left: 7px;
    box-sizing: border-box;
    width: 6px;
    height: 12px;
    transform: rotate(45deg);
    border-width: 2px;
    border-style: solid;
    border-color: #fff;
    border-top: 0;
    border-left: 0; 
}
  
.magic-checkbox:checked + label:before {
    border: var(--color2);
    background: var(--color2); 
}

  