.md-radio {
    position: relative;
    /* handling click events */
    /* when radio is checked */
}

.md-radio input[type=radio] {
    visibility: hidden;
    position: absolute;
}

.md-radio label {
    cursor: pointer;
    padding-left: 30px;
}

.md-radio label > span {
    display: block;
    position: absolute;
    left: 0;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.md-radio label > span.inc {
    background: #fff;
    left: -20px;
    top: -20px;
    height: 60px;
    width: 60px;
    opacity: 0;
    border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
}

.md-radio label > .box {
    top: 0px;
    border: 2px solid #666;
    height: 20px;
    width: 20px;
    border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    z-index: 5;
}

.md-radio label > .check {
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: #d91e18;
    opacity: 0;
    z-index: 6;
    border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0);
}

.md-radio label > span.inc {
    -webkit-animation: growCircleRadio 0.3s ease;
    -moz-animation: growCircleRadio 0.3s ease;
    animation: growCircleRadio 0.3s ease;
}

.md-radio input[type=radio]:checked ~ label > .check {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
}

.md-radio input[type=radio]:disabled ~ label,
.md-radio input[type=radio][disabled] ~ label {
    cursor: not-allowed;
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.md-radio input[type=radio]:disabled ~ label > .box,
.md-radio input[type=radio][disabled] ~ label > .box {
    cursor: not-allowed;
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.md-radio input[type=radio]:disabled:checked ~ label > .check,
.md-radio input[type=radio][disabled]:checked ~ label > .check {
    cursor: not-allowed;
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.has-error .md-radio label,
.has-error.md-radio label {
    color: #e73d4a;
}

.has-error .md-radio label > .box,
.has-error.md-radio label > .box {
    border-color: #e73d4a;
}

.has-error .md-radio label > .check,
.has-error.md-radio label > .check {
    background: #e73d4a;
}

.has-success .md-radio label,
.has-success.md-radio label {
    color: #27a4b0;
}

.has-success .md-radio label > .box,
.has-success.md-radio label > .box {
    border-color: #27a4b0;
}

.has-success .md-radio label > .check,
.has-success.md-radio label > .check {
    background: #27a4b0;
}

.has-warning .md-radio label,
.has-warning.md-radio label {
    color: #c29d0b;
}

.has-warning .md-radio label > .box,
.has-warning.md-radio label > .box {
    border-color: #c29d0b;
}

.has-warning .md-radio label > .check,
.has-warning.md-radio label > .check {
    background: #c29d0b;
}

.has-info .md-radio label,
.has-info.md-radio label {
    color: #327ad5;
}

.has-info .md-radio label > .box,
.has-info.md-radio label > .box {
    border-color: #327ad5;
}

.has-info .md-radio label > .check,
.has-info.md-radio label > .check {
    background: #327ad5;
}

.form-md-radios {
    padding-top: 5px;
}

.form-md-radios > label {
    font-size: 14px;
    color: #888888;
    opacity: 1;
    filter: alpha(opacity=100);
}

.form-md-radios.has-error label {
    color: #fbe1e3;
}

.form-md-radios.has-info label {
    color: #e0ebf9;
}

.form-md-radios.has-success label {
    color: #abe7ed;
}

.form-md-radios.has-warning label {
    color: #f9e491;
}

.md-radio-list {
    margin: 5px 0 5px 0;
}

.form-horizontal .md-radio-list {
    margin-top: 5px;
}

.md-radio-list .md-radio {
    display: block;
    margin-bottom: 10px;
}

.md-radio-inline {
    margin: 5px 0 5px 0;
}

.form-horizontal .md-radio-inline {
    margin-top: 7px;
}

.md-radio-inline .md-radio {
    display: inline-block;
    margin-right: 20px;
}

.md-radio-inline .md-radio:last-child {
    margin-right: 0;
}

/* bubble animation */
@-webkit-keyframes growCircleRadio {
    0%, 100% {
        -webkit-transform: scale(0);
        opacity: 1;
    }
    70% {
        background: #eee;
        -webkit-transform: scale(1.25);
    }
}

@-moz-keyframes growCircleRadio {
    0%, 100% {
        -moz-transform: scale(0);
        opacity: 1;
    }
    70% {
        background: #eee;
        -moz-transform: scale(1.25);
    }
}

@keyframes growCircleRadio {
    0%, 100% {
        transform: scale(0);
        opacity: 1;
    }
    70% {
        background: #eee;
        transform: scale(1.25);
    }
}