﻿
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 23px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 15px;
        width: 15px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: var(--gg-brand-strong);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--gg-brand-strong);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 23px;
}

    .slider.round:before {
        border-radius: 50%;
    }


.btn-outline-primary {
    color: var(--gg-brand-strong);
    border-color: var(--gg-brand-strong);
}

    .btn-outline-primary:hover {
        color: white;
        border-color: var(--gg-brand-strong);
        background-color: var(--gg-brand-strong);
    }


.button-group {
    background-color: silver;
    height: 34px;
    padding: 2px, 12px;
    border-radius: 17px;
    display: inline-block;
    vertical-align: middle;
    max-width: 280px;
    align-items: center;
    align-content:stretch;
}


.button-group-button {
    display: inline-block;
    font-weight: 400;
    color: white;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: blueviolet;
    border: 1px solid blueviolet;
    height:1.5em;
    
    font-size: 1rem;
    line-height: 1;
    width:120px;
    border-radius: 1rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}