
#cookie-bar .cb-selectors {
    display: table;
    padding: 10px 0 5px 0;
    position: relative;
    margin: 0 auto;
}
#cookie-bar .cb-checkbox {
    margin: 0 auto;
    display: flex;
    align-items: center;
    float: left;
    padding: 0 10px;
}
#cookie-bar .cb-checkbox span {
    margin-left: 10px;
}
#cookie-bar .cb-form-switch {
    display: flex;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
}
#cookie-bar .cb-form-switch i {
    position: relative;
    display: inline-block;
    margin-right: .5rem;
    width: 46px;
    height: 26px;
    background-color: #e6e6e6;
    border-radius: 23px;
    vertical-align: text-bottom;
    transition: all 0.3s linear;
}
#cookie-bar .cb-form-switch i::before {
    content: "";
    position: absolute;
    left: 0;
    width: 42px;
    height: 22px;
    background-color: #ddd;
    border-radius: 11px;
    transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
    transition: all 0.25s linear;
}
#cookie-bar .cb-form-switch i::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.65);
    transform: translate3d(2px, 2px, 0);
    transition: all 0.2s ease-in-out;
}
#cookie-bar .cb-form-switch:active i::after {
    width: 28px;
    transform: translate3d(2px, 2px, 0);
}
#cookie-bar .cb-form-switch:active input:checked + i::after { transform: translate3d(16px, 2px, 0); }
#cookie-bar .cb-form-switch input { display: none; }
#cookie-bar .cb-form-switch input:checked + i { background-color: #4BD763; }
#cookie-bar .cb-form-switch input:checked + i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); }
#cookie-bar .cb-form-switch input:checked + i::after { transform: translate3d(22px, 2px, 0); }

#cookie-bar .cb-buttons {
    padding: 10px 0 5px 0;
    text-align: center;
    clear: both;
}
#cookie-bar .cb-buttons a {
    margin-bottom: 5px;
}

@media (max-width: 847px) {
	#cookie-bar { padding-top: 10px; }
}

@media only screen and (max-width: 600px) {
	#cookie-bar{ padding-top: 0; }
	#cookie-bar p { font-size: 0.75rem !important; line-height: 1.1rem !important; }
	#cookie-bar .cb-enable, 
	#cookie-bar .cb-disable, 
	#cookie-bar .cb-policy { font-size: 12px; }
    #cookie-bar .cb-form-switch i::before { width: 28px; height: 16px; border-radius: 8px; }
    #cookie-bar .cb-form-switch i::after { width: 16px; height: 16px; border-radius: 8px; }
    #cookie-bar .cb-form-switch input:checked + i::after { transform: translate3d(16px, 2px, 0); }
    #cookie-bar .cb-form-switch i { width: 34px; height: 20px; border-radius: 10px; }
    #cookie-bar .cb-checkbox span { font-size: 0.75rem; }
    #cookie-bar .cb-buttons a { display: block; font-size: 0.85rem; padding: 5px; }
}