/* Toggle Text: VAT */

.toggle-vat {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-align: initial;
    width: 60px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.toggle-vat-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-vat-label {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 0px solid #999999;
    border-radius: 20px;

}

.toggle-vat-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;

}

.toggle-vat-inner:before, .toggle-vat-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 24px;
    padding: 0;
    line-height: 25px;
    font-size: 10px;
    color: white;
    font-family: app-font, Arial, sans-serif;
    font-weight: normal;
    box-sizing: border-box;
}

.toggle-vat-inner:before {
    content: "VAT";
    padding-left: 10px;
    background-color: #7fb33e;
    -webkit-box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.4);
    box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.4);
    color: #FFF;
}

.toggle-vat-inner:after {
    content: "EXCL";
    padding-right: 8px;
    background-color: #a8b4bf;
    -webkit-box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.4);
    box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.4);
    color: #FFF;
    text-align: right;
}

.toggle-vat-switch {
    display: block; width: 17px; margin: 4px;
    background: #FFFFFF;
    position: absolute;
    top: 0; bottom: 0;
    right: 34px;
    border: 0px solid #999999;
    -webkit-box-shadow: 0 2px 3px -2px rgba(128,128,128,0.5);
    box-shadow: 0 2px 3px -2px rgba(128,128,128,0.5);
    background: linear-gradient(135deg, rgba(255,255,255,1) 30%,rgba(230,230,230,0.9) 100%);
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.toggle-vat-checkbox:checked + .toggle-vat-label .toggle-vat-inner {
    margin-left: 0;

}

.toggle-vat-checkbox:checked + .toggle-vat-label .toggle-vat-switch {
    right: 0px;
}


/* Toggle On/Off */

.toggle-onoff {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-align: initial;
    width: 60px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.toggle-onoff-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-onoff-label {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 0px solid #999999;
    border-radius: 20px;

}

.toggle-onoff-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;

}

.toggle-onoff-inner:before, .toggle-onoff-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 24px;
    padding: 0;
    line-height: 24px;
    font-size: 10px;
    color: white;
    font-family: app-font, Arial, sans-serif;
    font-weight: normal;
    box-sizing: border-box;
}

.toggle-onoff-inner:before {
    content: "ON";
    padding-left: 10px;
    background-color: #7fb33e;
    color: #FFF;
    -webkit-box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.4);
    box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.4);
}

.toggle-onoff-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #a8b4bf;
    color: #FFF;
    text-align: right;
    -webkit-box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.4);
    box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.4);
}

.toggle-onoff-switch {
    display: block; width: 17px; margin: 4px;
    background: #FFFFFF;
    position: absolute;
    top: 0; bottom: 0;
    right: 34px;
    border: 0px solid #999999;
    -webkit-box-shadow: 0 2px 3px -2px rgba(128,128,128,0.5);
    box-shadow: 0 2px 3px -2px rgba(128,128,128,0.5);
    background: linear-gradient(135deg, rgba(255,255,255,1) 30%,rgba(230,230,230,0.9) 100%);
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.toggle-onoff-checkbox:checked + .toggle-onoff-label .toggle-onoff-inner {
    margin-left: 0;

}

.toggle-onoff-checkbox:checked + .toggle-onoff-label .toggle-onoff-switch {
    right: 0px;
}


/* Toggle Basic */

.toggle {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-align: initial;
    width: 40px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.toggle-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-label {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 0px solid #999999;
    border-radius: 20px;

}

.toggle-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.toggle-inner:before, .toggle-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 24px;
    padding: 0;
    line-height: 24px;
    font-size: 10px;
    color: white;
    font-family: app-font, Arial, sans-serif;
    font-weight: normal;
    box-sizing: border-box;
}

.toggle-inner:before {
    content: "";
    padding-left: 0px;
    background-color: #7fb33e;
    color: #FFF;
    -webkit-box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.3);
    box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.3);
}

.toggle-inner:after {
    content: "";
    padding-right: 0px;
    background-color: #a8b4bf;
    color: #FFF;
    text-align: right;
    -webkit-box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.3);
    box-shadow:inset 0 2px 3px -2px rgba(128,128,128,0.3);
}

.toggle-switch {
    display: block; width: 17px; margin: 4px;
    background: #FFFFFF; position: absolute;
    top: 0; bottom: 0;
    right: 15px;
    border: 0px solid #999999; border-radius: 20px;
    -webkit-box-shadow: 0 2px 3px -2px rgba(128,128,128,0.5);
    box-shadow: 0 2px 3px -2px rgba(128,128,128,0.5);
    background: linear-gradient(135deg, rgba(255,255,255,1) 30%,rgba(230,230,230,0.9) 100%);
    transition: all 0.3s ease-in 0s;
}

.toggle-checkbox:checked + .toggle-label .toggle-inner {
    margin-left: 0;

}

.toggle-checkbox:checked + .toggle-label .toggle-switch {
    right: 0px;
}

/* Toggle Basic Small */

.toggle-small .toggle {
    width: 30px;
}

.toggle-small .toggle-inner:before, .toggle-small .toggle-inner:after {
    height: 20px;
    line-height: 20px;
}

.toggle-small .toggle-switch {
    display: block; width: 12px; margin: 4px;
    right: 20px;
}

.toggle-container {
    display: inline-block;
    vertical-align: middle;
}

/* TOGGLE: TEXT */

.switch_contact {
    display: inline-block;
    background-color: rgba(var(--base-color-dark), 0.2);
    -webkit-box-shadow:inset 0 0 2px 2px rgba(150,150,150,0.09);
    box-shadow:inset 0 0 2px 2px rgba(150,150,150,0.09);
    width: 60%;
    height: 31px;
    font-size: 1rem;
    position: relative;
    line-height: calc(2.375rem * 0.8);
    border-radius: calc(2.375rem * 0.8);
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    text-indent: calc(2.375rem * 0.8 * 4 + .5rem);
}

.switch_contact__label {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: normal;
    line-height: 1.25;
    text-align: center;
    text-indent: 0;
    text-transform: none;
    color: #333;
    -webkit-transition: color 1s cubic-bezier(0.23,1,0.32,1);
    -o-transition: color 1s cubic-bezier(0.23,1,0.32,1);
    transition: color 1s cubic-bezier(0.23,1,0.32,1);
}

.switch_contact__label ~ .switch_contact__label {
    left: auto;
    right: 0;
}

.switch_contact__base {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 1;
    border-radius: 100px;
    background: #8cc14c;
    -webkit-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

.switch_contact input + .switch_contact__label + .switch_contact__label,.switch_contact input:checked + .switch_contact__label {
    color: #FFFFFF;
}

.switch_contact input:checked + .switch_contact__label + .switch_contact__label,.switch_contact input + .switch_contact__label {
    color: #555;
}

.switch_contact input:checked ~ .switch_contact__base {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.switch_contact input {
    position: absolute;
    height: 1px;
    width: 1px;
    background: none;
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    overflow: hidden;
    padding: 0;
}

.switch_contact input:disabled + label {
    color: #868e96;
    cursor: not-allowed;
}

.switch_contact input:disabled + label::before {
    background-color: #e9ecef;
}

.switch_contact.switch_contact-sm {
    font-size: 0.875rem;
}

.switch_contact.switch_contact-sm input + label {
    min-width: calc(1.9375rem * 0.8 * 4);
    height: calc(1.9375rem * 0.8);
    line-height: calc(1.9375rem * 0.8);
    text-indent: calc(1.9375rem * 0.8 * 4 + .5rem);
}

.switch_contact.switch_contact-sm input + label::before {
    width: calc(1.9375rem * 0.8 * 4);
}

.switch_contact.switch_contact-sm input + label::after {
    width: calc(1.9375rem * 0.8 - (5px * 2));
    height: calc(1.9375rem * 0.8 - (5px * 2));
}

.switch_contact.switch_contact-sm input:checked + label::after {
    margin-left: calc(1.9375rem * 0.8);
}

.switch_contact.switch_contact-lg {
    font-size: 1.25rem;
}

.switch_contact.switch_contact-lg input + label {
    min-width: calc(3rem * 0.8 * 4);
    height: calc(3rem * 0.8);
    line-height: calc(3rem * 0.8);
    text-indent: calc((3rem * 0.8 * 4) + .5rem);
}

.switch_contact.switch_contact-lg input + label::before {
    width: calc(3rem * 0.8 * 2);
}

.switch_contact.switch_contact-lg input + label::after {
    width: calc(3rem * 0.8 - (5px * 2));
    height: calc(3rem * 0.8 - (5px * 2));
}

.switch_contact.switch_contact-lg input:checked + label::after {
    margin-left: calc(3rem * 0.8);
}

.switch_contact + .switch_contact {
    margin-left: 1rem;
}

/* CHECKBOX: LOCK ICON */

.checkbox-lock  input[type='checkbox'] {
    display:none;
}

.checkbox-lock   input[type='checkbox']+ label:before {
    font-family: font-awesome-light;
    content: "\f023";
    font-size: 11pt;
    cursor:pointer;
}

.checkbox-lock  input[type='checkbox']:checked + label:before {
    font-family: font-awesome-light;
    content: "\f3c1";
    font-size: 11pt;
    cursor:pointer;
}
