/* Input - SELECT */
.input-select {
    position: relative;
    max-width: 400px;
    width: 100%;
}
.input-select__content {
    list-style: none;
    margin: 0.5em 0 0;
    position: absolute;
    background: #fff;
    z-index: 2;
    padding: 1em 2em;
    border: 1px solid lightgray;
    width: 100%;
    max-height: 212px;
    overflow-x: hidden;
    overflow-y: auto;
}
.input-select__content::-webkit-scrollbar {
	width: 4px;
}
.input-select__content::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
.input-select__content::-webkit-scrollbar-thumb {
	background-color: var(--primary-color);
	outline: 1px solid transparent;
}

.input-select__content ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.5em;
}
.input-select__label {
    display: block;
    padding: 0 2em;
    cursor: pointer;
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    line-height: 3.1876em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.input-select .input-select__label::before {
    content: '';
    position: absolute;
    right: calc(100% - 8px);
    top: 0;
    width: 1px;
    height: 100%;
    background-color: var(--primary-color);
    transform: skewX(-16deg);
}
.input-select .input-select__label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: var(--primary-color);
}
.input-select:not(.active) .input-select__label {
    color: #000;
}
.input-select:not(.active) .input-select__label::before,
.input-select:not(.active) .input-select__label::after {
    background-color: lightgray;
}
.input-select:not(.active) .input-select__content {
    opacity: 0;
    visibility: hidden;
}

/* Input - CHECKBOX */
.input-checkbox {
    display: inline-flex;
    cursor: pointer;
}
.input-checkbox__mark {
    display: block;
    width: 1em;
    height: 1em;
    border: 1px solid lightgray;
    margin-right: 0.5em;
    position: relative;
    top: 0.26em;
}
input:checked ~ .input-checkbox__mark {
    border: 1px solid var(--primary-color);
    background: var(--primary-color) url('../images/mark.svg') center center no-repeat;
    background-size: contain;
}
.input-checkbox__label {

}
.input-checkbox input {
    display: none;
}

/* File */
#pxl-main .pxl-contact-form .pxl--item_file {
    display: grid;
    grid-template: auto / auto 1fr;
    grid-gap: 0.5em;
}
#pxl-main .pxl-contact-form .pxl--item_file span {
    display: block;
}
#pxl-main .pxl-contact-form .pxl--item_file input[type="file"] {
    height: auto;
    border: none!important;
    width: 100%;
    padding: 0;
}
@media screen and (max-width: 450px) {
    #pxl-main .pxl-contact-form .pxl--item_file {
        grid-template: auto / 1fr;
    }
}