/**  BUTTONS ctm */
.button_ctm {
    font-family: Jost;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;

    border: unset;
    outline: 1px solid transparent;
    border-radius: 32px;
    padding: 16px 32px;
    color: black;
}

/**  BUTTONS ctm - primary */
.button_ctm.primary {
    background: #FFBF3D;
    color: white;
    outline: 1px solid #FFBF3D;
}

.button_ctm.primary:hover {
    background: transparent;
    outline: 1px solid #FFBF3D;
    color: #FFBF3D;
}

.button_ctm.primary:disabled {
    background: #FFDB92;
    color: #FFFFFF;
}

/**  BUTTONS ctm - primary - end */


/**  BUTTONS ctm - secondary_b */
.button_ctm.secondary_b {
    background: #313131;
    color: white;
    outline: 1px solid #313131;
}

.button_ctm.secondary_b:hover {
    background: transparent;
    color: #313131;
}

.button_ctm.secondary_b:disabled {
    background: rgba(49, 49, 49, 0.48);
    outline: 1px solid rgba(49, 49, 49, 0.48);

}

/**  BUTTONS ctm - primary - end */

.button_ctm.searchbox {
    background: #FFBF3D;
    border-radius: 6px;
    height: 32px;
    padding: 0;
    border: 1px solid #FFBF3D;
    color:white;
}
.button_ctm.searchbox:hover {
    background: transparent;
    color: rgba(49, 49, 49);
}

/**  BUTTONS ctm - listing - start */
.button_ctm.listing {
    background: #313131;
    color: white
}

.button_ctm.listing:hover,
.button_ctm.listing:active {
    background: rgba(49, 49, 49, 0.8);
}

/**  BUTTONS ctm - listing - end */

/**  BUTTONS ctm -- end*/


/**  INPUT ctm */

.input_ctm.checkbox {
    position: relative;
    cursor: pointer;
    margin: 3px;
}

.input_ctm.checkbox:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: white;
    border-radius: 2px;
    outline: 2px solid rgba(49, 49, 49, 0.16);
}

.input_ctm.checkbox:hover:before {
    outline: 2px solid rgba(49, 49, 49, 0.48);
}


.input_ctm.checkbox:checked:before {
    outline: 2px solid #FFBF3D;
}

.input_ctm.checkbox:checked:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFBF3D;

}

.input_ctm.checkbox:checked:hover:before {
    outline: 2px solid #EFAA1C;

}

.input_ctm.checkbox:checked:hover:after {
    background-color: #EFAA1C;
}


/**  INPUT ctm - primary - checkbox */
.input_ctm.checkbox.primary:checked:after {
    background-image: url(/cdn/icons/checkbox_checked.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
}

/**  INPUT ctm - primary - checkbox - end */

/**  INPUT ctm - primary - checkbox */
.input_ctm.checkbox.dot:checked:after {
    background-image: url(/cdn/icons/checkbox_dot.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 9px;
}

/**  INPUT ctm - primary - checkbox - end */

/**  INPUT ctm - selectbox - start */
.input_ctm.selectbox {
    cursor: pointer;
    text-align: center;
    background: #FFBF3D;
    border: 1px solid #FFBF3D;
    box-sizing: border-box;
    border-radius: 6px;
    height: 32px;

    color: black;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    width: 100%;
}

.input_ctm.selectbox.second {
    border: 1px solid rgba(49, 49, 49, 0.16);
    background: transparent;
}

.input_ctm.selectbox:focus-visible,
.input_ctm.selectbox:hover {
    border: 1px solid #FFBF3D;
    background: transparent;

}

/**  INPUT ctm - selectbox - end */

/**  INPUT ctm - main - start */
.input_ctm.main {
    border-radius: 12px;
    border: 1px solid #313131;

    height: 56px;
    padding: 0 18px;
    font-size: 18px;
    line-height: 24px;
}

/**  INPUT ctm - main - end */


/**  INPUT ctm -- end*/

/** INPUT - checkbox */
.check-label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.check-label input[type="checkbox"]{
    all: unset;

    position: relative;
    cursor: pointer;

    width: 22px;
    height: 22px;
}
.check-label input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    border: 2px solid rgba(49, 49, 49, 0.16);
    border-radius: 2px;
    background: #fff;

    display: flex
;
    align-content: center;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 144%;
}
.check-label input[type="checkbox"]:checked::after {
    content: "";
    border-color: #ffcc66;
    background: #ffcc66;
    background-image: url("/cdn/icons/accept_check.svg");
    background-position: center;
    background-size: cover;
}
.check-label input[type="checkbox"]:hover {
    opacity: 0.6;
}
.check-label a {
    text-decoration: underline;
    text-decoration-color: #f3c870;
    text-underline-offset: 5px;
}
.check-label label {
    cursor: pointer;

    margin-bottom: 0;
    user-select: none;
}
/** INPUT - checkbox - end*/