.form-group {
    margin-bottom: 20px;
    align-self: left;
    align-items: flex-start;
    justify-content: left;
    position: relative;
}

.flex {
    display: flex;
    gap: 10px;
    align-self: stretch;
    align-items: flex-start;
}

.form-field {
    position: relative;
    width: 100%;
}

.form-field label {
    z-index: 9;
    color: var(--green);
    padding: 0;
    padding-right: 5px;
    padding-left: 5px;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    border: none;
    margin-bottom: 0;
    margin-left: 10px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 50%);
}

.form-field label {
    display: inline-block;
    margin-bottom: 0;
    position: absolute;
    font-size: 14px;
    font-family: Barlow-regular;
    font-weight: normal;
    top: -15px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 10px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark-gray);
    background-color: #fff;
    background-clip: padding-box;
    border: var(--border);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 4px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background: white;
    height: auto;
}

.form-control:focus {
    border: 1px solid var(--green);
    box-shadow: none;
    color: var(--dark-gray);
    font-weight: 300;
    background: white;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: var(--white) !important;
    opacity: 1;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9Ii00NzMgMjc3IDEyIDgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgLTQ3MyAyNzcgMTIgODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6IzhBOTNBNjt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTS00NzEuNiwyNzcuM2w0LjYsNC42bDQuNi00LjZsMS40LDEuNGwtNiw2bC02LTZMLTQ3MS42LDI3Ny4zeiIvPg0KPC9zdmc+DQo=) calc(100% - 18px) / 11px no-repeat;
}

select.form-control {
    padding-top: 10px;
    transition: 0.15s;
}

.focused select.form-control {
    padding-top: 10px;
}

.select2-container--bootstrap4.select2-container--disabled.select2-container--focus .select2-selection,
.select2-container--bootstrap4.select2-container--disabled .select2-selection {
    background-color: var(--white) !important;
    cursor: not-allowed;
    border-color: var(--border);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    color: var(--dark-gray);
    border: none;
    border-radius: .2rem;
    padding: 0 5px 0 0;
    cursor: pointer;
    float: left;
    margin-top: .3em;
    margin-right: 5px;
}

.form-control:disabled .flatpicker-clear {
    display: none;
}

.flatpicker-clear {
    display: inline-block;
    position: absolute;
    top: 25%;
    right: 20px;
}

.label-checkbox {
    font-size: 15px !important;
    font-family: Barlow-regular !important;
    position: relative !important;
    top: auto !important;
    line-height: 16px;
    color: var(--dark-grey) !important;
    margin-bottom: 0;
    text-align: left;
    font-weight: normal;
    margin-top: -19px;
    vertical-align: -webkit-baseline-middle;
    height: 30px;
}

.select2-selection.select2-selection--single {
    min-height: 46px !important;
}

input[type="checkbox"] {
    height: 20px;
    width: 20px;
    margin: 0;
}

.checkbox-label {
    font-size: 14px;
    font-family: Barlow-regular;
    color: var(--headline-color);
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 10px;
    margin-left: 0;
    height: 30px;
    top: 0 !important;
    margin-right: 20px;
}

.checkbox-label span {
    font-size: 14px !important;
    font-family: Barlow-regular;
    color: var(--headline-color) !important;
    padding-left: 20px;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 5px;
    left: 0px;
    height: 22px;
    width: 22px;
    border: var(--border);
    border-radius: var(--border-radius);
}

.checkbox-label input:checked~.checkmark {
    background-color: var(--green);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked~.checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 8px;
    height: 14px;
    border: solid var(--white);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.select2-container .select2-selection--single .select2-selection__rendered {
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark-gray);
    font-size: 1rem;
    padding-top: 10px;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark-gray);
    font-size: 1rem;
    padding-top: 10px;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border: 1px solid var(--green) !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

select#id_prijatelja::after {

}