.czd-autoform-unit{
    position: relative;
}

.czd-auto-popup{
    position: absolute;
    top: 40px;
    left: 0;
    padding: 5px 12px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #bbb;
    -webkit-box-shadow: 0 6px 12px #ccc;
    box-shadow: 0 6px 12px #ccc;
    background-clip: padding-box;
    z-index: 1;
}

.czd-auto-popup-content{
    padding: 5px 8px 10px;
    max-height: 200px;
    overflow-y: auto;
}

.czd-unit-toggle-btn{
    margin: 0;
    padding: 0 3px;
    text-decoration: none;
    background: none;
    border: none;
}

.czd-auto-popup-actions{
    padding: 10px 0 5px;
    border-top: 1px solid #bbb;
}

.czd-unit-toggle-container{
    display: inline-block;
    float: left;
    margin-left: -20px;
    margin-right: 26px;
    width: 16px;
    text-align: center;
}

.czd-unit-toggle-collapse{
    font-size: 12px;
    cursor: pointer;
}

.czd-unit-item-level-2{
    margin-left: 30px;
}

.czd-unit-item-level-3{
    margin-left: 60px;
}

.czd-unit-item-level-4{
    margin-left: 90px;
}

.czd-unit-item-level-5{
    margin-left: 120px;
}

.checkbox-label{
    position: relative;
}

.czd-auto-popup .checkbox-label::before{
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../../img/checkbox_sprite.png');
    background-position: -16px 0;
    background-color: white;
}

.czd-auto-popup .checkbox-label:focus,
.czd-auto-popup .checkbox-label:focus-within{
    outline: 1px dotted #54678c;
}

.czd-auto-popup .checkbox-label.checkbox-label-checked::before{
    background-position: 0 0;
}

.czd-auto-popup .checkbox-label.checkbox-label-checked.checkbox-label-full::before{
    background-position: -32px 0;
}

.czd-auto-popup .checkbox-label.checkbox-label-has-selection{
    font-weight: bold;
}

.czd-auto-popup .checkbox-label.checkbox-label-disabled{
    opacity: 0.2;
}

.czd-auto-popup .checkbox-label.checkbox-label-focused::before{
    -webkit-box-shadow: 0px 0px 4px #333;
    box-shadow: 0px 0px 4px #333;
}

.czd-auto-popup input[type="checkbox"]{
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}