
.xcontrol-group {
    display: inline-block;
}
.xcontrol {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
}
.xcontrol input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.xcontrol__indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border-radius: 6px;
    background: #d0d0d0;
}
.xcontrol--radio .xcontrol__indicator {
    border-radius: 50%;
}
.xcontrol:hover input ~ .xcontrol__indicator,
.xcontrol input:focus ~ .xcontrol__indicator {
    background: #aaa;
}
.xcontrol input:checked ~ .xcontrol__indicator {
    background: #0164a7;
}
.xcontrol:hover input:not([disabled]):checked ~ .xcontrol__indicator,
.xcontrol input:checked:focus ~ .xcontrol__indicator {
    background: #0164a7;
}
.xcontrol input:disabled ~ .xcontrol__indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}
.xcontrol__indicator:after {
    content: '';
    position: absolute;
    display: none;
}
.xcontrol input:checked ~ .xcontrol__indicator:after {
    display: block;
}
.xcontrol--checkbox .xcontrol__indicator:after {
    left: 10px;
    top: 3px;
    width: 5px;
    height: 15px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.xcontrol--checkbox input:disabled ~ .xcontrol__indicator:after {
    border-color: #7b7b7b;
}
.xcontrol--radio .xcontrol__indicator:after {
    left: 5px;
    top: 5px;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: #fff;
}
.xcontrol--radio input:disabled ~ .xcontrol__indicator:after {
    background: #7b7b7b;
}

.xcontrol--button--inline-block {
    display: inline-block;
}
.xcontrol--button--block {
    display: block;
    width: 100%;
    text-align: center
}

.xcontrol--button {
    padding: 0.4rem 1.5rem;
    color: #0164a7;
    background-color: #fff;
    font-weight: 300;
    border-radius: 12rem;
    border: .2rem solid #0164a7;
    -webkit-transition: color .3s,border .3s;
    transition: color .3s,border .3s;
    font-family: Roboto;
    cursor:pointer;
}


@media only screen and (max-width: 600px) {
    .xxxcontrol--button {
        border-radius:6rem;
        zoom:0.7;
        padding:0.3rem 1rem;
    }
}


.xcontrol--button--color--zhaw--white--framed {
    background-color: #fff;
    color: #0164a7;
    border-color: #0164a7
}
a.xcontrol--button--color--zhaw--white--framed,
a.xcontrol--button--color--zhaw--white--framed:hover,
a.xcontrol--button--color--zhaw--white--framed:focus {
    color: #0164a7;
}

.xcontrol--button--color--zhaw--white {
    background-color: #fff;
    color: #0164a7;
    border-color: #fff;
}
a.xcontrol--button--color--zhaw--white,
a.xcontrol--button--color--zhaw--white:hover,
a.xcontrol--button--color--zhaw--white:focus,
a.xcontrol--button--color--zhaw--white * {
    color: #0164a7;
}

.xcontrol--button--color--zhaw--blue {
    background-color: #0164a7;
    color: #fff;
    border-color: #0164a7;
}
a.xcontrol--button--color--zhaw--blue,
a.xcontrol--button--color--zhaw--blue:hover,
a.xcontrol--button--color--zhaw--blue:focus,
a.xcontrol--button--color--zhaw--blue * {
    color: #fff;
}

.xcontrol--button.bigger {
    font-size:1.4rem;
}
.xcontrol--button.smaller {
    padding: 0.2rem 1rem;
}