/* 
    SWITCH STYLES
  */

.container-autosd {
    display: none !important;
}

label {
    display: inline-block;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    opacity: 0 !important;
}

.switch {
    opacity: 0 !important;
    position: absolute;
    z-index: 1;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.switch+.lable {
    position: relative;
    display: inline-block;
    margin: 0;
    line-height: 20px;
    min-height: 18px;
    min-width: 18px;
    font-weight: normal;
    cursor: pointer;
}

.switch+.lable::before {
    cursor: pointer;
    font-family: fontAwesome;
    font-weight: normal;
    font-size: 12px;
    color: #32a3ce;
    content: "\a0";
    background-color: #fafafa;
    border: 1px solid #c8c8c8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    display: inline-block;
    text-align: center;
    height: 16px;
    line-height: 14px;
    min-width: 16px;
    margin-right: 1px;
    position: relative;
    top: -1px;
}

.switch:checked+.lable::before {
    display: inline-block;
    /*content: '\f00c';*/
    background-color: #f5f8fc;
    border-color: #adb8c0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05), inset 15px 10px -12px rgba(255, 255, 255, 0.1);
}


/* CSS3 on/off switches */

.switch+.lable {
    margin: 0 4px;
    min-height: 24px;
}

.switch+.lable::before {
    font-weight: normal;
    font-size: 11px;
    line-height: 17px;
    height: 20px;
    overflow: hidden;
    border-radius: 15px;
    background-color: #f5f5f5;
    -webkit-box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    text-align: left;
    float: left;
    padding: 0;
    width: 52px;
    text-indent: -21px;
    margin-right: 0;
    -webkit-transition: text-indent 0.3s ease;
    -o-transition: text-indent 0.3s ease;
    transition: text-indent 0.3s ease;
    top: auto;
}

.switch.switch-bootstrap+.lable::before {
    font-family: FontAwesome;
    /*content: "\f00d";*/
    box-shadow: none;
    border-width: 0;
    font-size: 16px;
    background-color: #a9a9a9;
    color: #f2f2f2;
    width: 52px;
    height: 27px;
    line-height: 21px;
    text-indent: 32px;
    -webkit-transition: background 0.1s ease;
    -o-transition: background 0.1s ease;
    transition: background 0.1s ease;
}

.switch.switch-bootstrap+.lable::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 3px;
    border-radius: 12px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    width: 22px;
    height: 22px;
    text-align: center;
    background-color: #f2f2f2;
    border: 4px solid #f2f2f2;
    -webkit-transition: left 0.2s ease;
    -o-transition: left 0.2s ease;
    transition: left 0.2s ease;
}

.switch.switch-bootstrap:checked+.lable::before {
    /*content: "\f00c";*/
    text-indent: 6px;
    color: #fff;
    border-color: #b7d3e5;
}

.switch-primary>.switch.switch-bootstrap:checked+.lable::before {
    background-color: #0f2d54;
}

.switch-success>.switch.switch-bootstrap:checked+.lable::before {
    background-color: #5cb85c;
}

.switch-danger>.switch.switch-bootstrap:checked+.lable::before {
    background-color: #d9534f;
}

.switch-info>.switch.switch-bootstrap:checked+.lable::before {
    background-color: #0f2d54;
}

.switch-warning>.switch.switch-bootstrap:checked+.lable::before {
    background-color: #f0ad4e;
}

.switch.switch-bootstrap:checked+.lable::after {
    left: 27px;
    background-color: #fff;
    border: 4px solid #fff;
    text-shadow: 0 -1px 0 rgba(0, 200, 0, 0.25);
}


/* square */

.switch-square {
    opacity: 0;
    position: absolute;
    z-index: 1;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.switch-square+.lable {
    position: relative;
    display: inline-block;
    margin: 0;
    line-height: 20px;
    min-height: 18px;
    min-width: 18px;
    font-weight: normal;
    cursor: pointer;
}

.switch-square+.lable::before {
    cursor: pointer;
    font-family: fontAwesome;
    font-weight: normal;
    font-size: 12px;
    color: #32a3ce;
    content: "\a0";
    background-color: #fafafa;
    border: 1px solid #c8c8c8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    display: inline-block;
    text-align: center;
    height: 16px;
    line-height: 14px;
    min-width: 16px;
    margin-right: 1px;
    position: relative;
    top: -1px;
}

.switch-square:checked+.lable::before {
    display: inline-block;
    /*content: '\f00c';*/
    background-color: #f5f8fc;
    border-color: #adb8c0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05), inset 15px 10px -12px rgba(255, 255, 255, 0.1);
}

.switch-square.switch-bootstrap+.lable::after {
    border-radius: 2px;
}

.switch-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 14px;
    color: #828282;
}

select {
    color: #616161 !important;
    font-size: 15px !important;
    min-width: 200px;
    max-width: 300px;
    width: 100%;
    padding: 13px 18px !important;
    border: solid 1px #828282 !important;
    border-radius: 5px !important;
}

.radio {
    display: grid;
    grid-template-columns: -webkit-min-content auto;
    grid-template-columns: min-content auto;
    grid-gap: 2px;
    font-size: 16px;
    color: #337ab7;
    padding-top: 2px;
}

.radio:focus-within .radio__label {
    transform: scale(1.05);
    opacity: 1;
}

.radio__label {
    line-height: 1;
    transition: 180ms all ease-in-out;
    color: #505050;
}

.radio__input {
    display: flex;
}

.radio__input input {
    opacity: 0;
    width: 0;
    height: 0;
}

.radio__input input:focus+.radio__control {
    box-shadow: 0 0 0 0.05em #fff, 0 0 0.15em 0.1em currentColor;
}

.radio-gradient input:checked+.radio__control {
    background: radial-gradient(currentcolor 50%, rgba(255, 0, 0, 0) 51%);
}

.radio-before .radio__control {
    display: grid;
    place-items: center;
}

.radio-before input+.radio__control::before {
    content: "";
    width: 0.5em;
    height: 0.5em;
    box-shadow: inset 0.5em 0.5em currentColor;
    border-radius: 50%;
    transition: 180ms transform ease-in-out;
    transform: scale(0);
}

.radio-before input:checked+.radio__control::before {
    transform: scale(1);
}

.radio__control {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: 0.1em solid currentColor;
    transform: translateY(-0.05em);
}