﻿@import url("https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,400i,600,700");
/*Ínicio RadioButton*/

.switch-field {
    display: flex;
    margin-bottom: 15px;
    overflow: hidden;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    background-color: white;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 6px 12px;
    margin-right: -1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.switch-field label:hover {
    cursor: pointer;
}
.switch-field input:checked + label {
    background-color: #337ab7;
    color: white;
}

.switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}

/*Fim RaddioButton*/

/*Início CheckBox*/


.switch {
    position: relative;
    display: block;
    vertical-align: middle;
    width: 70px;
    height: 25px;
    padding: 3px 3px 3px 0;
    border-radius: 4px;
    cursor: pointer;
}
.inline-switch {
    display: inline-block;
}

.switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.switch-label {
    position: relative;
    display: block;
    height: inherit;
    font-size: 12px;
    text-transform: uppercase;
    font-family: "Tahoma";
    background: gray;
    border-radius: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
    transition: 0.15s ease-out;
    transition-property: opacity background;
}
.switch-label:disabled {
    background-color: lightgray;
}

.switch-label:before, .switch-label:after {
    position: absolute;
    top: 45%;
    margin-top: -.5em;
    line-height: 1.2;
    transition: inherit;
    color: #fff;
}

.switch-label:before {
    content: attr(data-off);
    right: 8px;
}

.switch-label:after {
    content: attr(data-on);
    left: 8px;
    opacity: 0;
}

.switch-input:checked ~ .switch-label {
    background: #337ab7;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}

    .switch-input:checked ~ .switch-label:disabled {
        background: #6e9abf;
    }

.switch-input:checked ~ .switch-label:before {
    opacity: 0;
}

.switch-input:checked ~ .switch-label:after {
    opacity: 1;
}

.switch-input:checked ~ .switch-handle {
    left: 45px;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

.switch-handle {
    position: absolute;
    top: 5px;
    left: 2px;
    width: 20px;
    height: 21px;
    background: white;
    border-radius: 15%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to bottom, white 40%, #f0f0f0);
    transition: left 0.3s ease-out;
}

.switch-handle:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    width: 12px;
    height: 12px;
    background: #f9f9f9;
    border-radius: 4px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
    background-image: linear-gradient(to bottom, #eeeeee, white);
}

.switch-material-label {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 44px;
    background: #898989;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.switch-material-label:after {
    position: absolute;
    left: -2px;
    top: -3px;
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
    content: "";
    transition: all 0.3s ease;
}

.switch-material-label:active:after {
    transform: scale(1.15, 0.85);
}

.switch-material-input:checked ~ label {
    background: #6fbeb5;
}

.switch-material-input:checked ~ label:after {
    left: 20px;
    background: #179588;
}

.switch-material-input:disabled ~ label {
    background: #d5d5d5;
    pointer-events: none;
}

.switch-material-input:disabled ~ label:after {
    background: #bcbdbc;
}

.switch-material-input.is-hidden {
    display: none;
}

.switch.switch-lg {
    width: 90px;
}

.switch-lg .switch-handle {
    width: 12px;
}

.switch-lg .switch-input:checked ~ .switch-handle {
    left: 73px;
}

/*Fim CheckBox*/