﻿/* NB_ExternalPatterns > Toggle Inline Text 

.toggle-inline-text {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 152px;
    height: 42px;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 20px;
}

.toggle-inline-text > div {
    position: absolute;
    height: 40px;
    color: #9ba1a1;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: .3px;
    line-height: 40px;
    text-transform: uppercase;
    cursor: pointer;
    
    -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
                
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
             align-self: center;           
}

.toggle-inline-text > div.left-label { 
    left: 22px; 
}

.toggle-inline-text > div.left-label.active,
.toggle-inline-text > div.right-label.active { 
    z-index: 10;
    color: #fff;
    transition: .3s ease-in-out;
}

.toggle-inline-text > div.right-label { 
    right: 22px; 
}

.toggle-inline-text .toggle-button-label {
    height: 26px;
    width: 136px;
    padding: 7px;
    border: 20px;
}

.toggle-inline-text .checkbox {
    background-color: transparent;
    box-shadow: transparent;
    position: absolute;
    top: 0;
    left: -7px;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
}

.toggle-inline-text .checkbox:before {
    position: relative;
    width: 150px;
    height: 40px;
    background: transparent;
    border: transparent;
    box-shadow: transparent;
}

.toggle-inline-text .checkbox:hover:before {
    background-color: transparent;
    border: transparent;
    box-shadow: transparent;
}

.toggle-inline-text .checkbox:checked:before {
    background-color: transparent;
    border: transparent;
    box-shadow: transparent;
}

.toggle-inline-text .checkbox:after {
    z-index: 2;
    background-color: #c4dc3d;
    border-radius: 20px;
    height: 26px;
    width: 63px;
    left: 7px;
    opacity: 1;
    position: absolute;
    top: 7px;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
}

.toggle-inline-text .checkbox:checked:after {
    height: 26px;
    width: 63px;
    -webkit-transform: translateX(68px);
            transform: translateX(68px);
}

.checkbox:focus:before, 
.radio-button:focus:before {
    outline: 0;
    box-shadow: none;
} 

*/