html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Container */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

    /* Esconde o checkbox original */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Slider on=green off=gray */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

    /* Bolinha */
    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #18db76 !important;
}

input:focus + .slider {
    box-shadow: 0 0 1px #18db76 !important;
}

input:checked + .slider:before {
        transform: translateX(26px);
}

/* Slider arredondado */
.slider.round {
    border-radius: 24px;
}

    .slider.round:before {
        border-radius: 50%;
    }





/* Slider_red  on=red off=gray */
.slider_red {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

    /* Bolinha */
    .slider_red:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
    }

input:checked + .slider_red {
    background-color: #ed0606 !important;
}

input:focus + .slider_red {
    box-shadow: 0 0 1px #ed0606 !important;
}

input:checked + .slider_red:before {
    transform: translateX(26px);
}

/* Slider arredondado */
.slider_red.round {
    border-radius: 24px;
}

    .slider_red.round:before {
        border-radius: 50%;
    }



/* Slider_red_green  on=green off=red */
.slider_red_green {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ed0606;
    transition: .4s;
}

    /* Bolinha */
    .slider_red_green:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
    }

input:checked + .slider_red_green {
    background-color: #18db76 !important;
}

input:focus + .slider_red_green {
    box-shadow: 0 0 1px #18db76 !important;
}

input:checked + .slider_red_green:before {
    transform: translateX(26px);
}

/* Slider arredondado */
.slider_red_green.round {
    border-radius: 24px;
}

    .slider_red_green.round:before {
        border-radius: 50%;
    }