﻿form {
    width: calc(max-content * 0.3);
}

div.field-validation-error {
    color: red;
    display: block;
    font-weight: 700
}

.field-placemark {
    display: none;
}

.submitbtn-placement {
    display: none;
}

@font-face {
    font-family: Core-icons;
    font-style: normal;
    font-weight: 400;
    src: url(/Kentico/Scripts/builders/Core-icons.eot?4bfc4fa95b906c7f2991a71cfc9e873a);
    src: url(/Kentico/Scripts/builders/Core-icons.svg?171eb859bcd65eb3f409cccb45f96f89#Core-icons) format("svg"), url(/Kentico/Scripts/builders/Core-icons.eot?4bfc4fa95b906c7f2991a71cfc9e873a?#iefix) format("embedded-opentype"), url(/Kentico/Scripts/builders/Core-icons.woff?12a37fd82ed15fc12bf21afe2a420fcb) format("woff"), url(/Kentico/Scripts/builders/Core-icons.ttf?5d057cd285de0035d08c809b014c112e) format("truetype");
}

.ktc-file-component-wrapper {
    display: inline-block;
    width: 100%;
}

.ktc-file-component-wrapper label {
    background-color: #f3f4f5;
    box-sizing: border-box;
    color: #262524;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    height: 42px;
    line-height: 20px;
    max-width: 320px;
    padding: 10px 12px;
    position: relative;
    text-overflow: ellipsis;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    vertical-align: baseline;
    width: 100%;
}

.ktc-file-component-wrapper label:focus {
    background-color: #fff;
    border-color: #7d95e3;
    outline: 0;
}

.ktc-file-component-wrapper label[disabled],
.ktc-file-component-wrapper label[readonly] {
    background-color: #dde0e4;
    border-color: #dde0e4;
    color: #4d535c;
    cursor: not-allowed;
    opacity: 1;
}

.ktc-file-component-wrapper label[disabled]::placeholder,
.ktc-file-component-wrapper label[readonly]::placeholder {
    color: #4d535c;
    opacity: 0.5;
}

.ktc-file-component-wrapper label::placeholder {
    color: #504e4c;
    opacity: 0.5;
}

.ktc-file-component-wrapper .ktc-uploader-icon-button {
    color: #504e4c;
    font-family: Core-icons;
    font-size: 18.4px;
    line-height: 20px;
    position: absolute;
    right: 6px;
}

.ktc-file-component-wrapper .ktc-uploader-icon-button[data-icon=select]:before {
    content: "\e6d3";
}

.ktc-file-component-wrapper .ktc-uploader-icon-button[data-icon=loading]:before {
    animation: spin 1.2s linear infinite;
    content: "\e61a";
    display: inline-block;
}

.ktc-file-component-wrapper .ktc-uploader-icon-button[data-icon=remove] {
    cursor: pointer;
}

.ktc-file-component-wrapper .ktc-uploader-icon-button[data-icon=remove]:before {
    content: "\e6d0";
}

.ktc-file-component-wrapper .ktc-uploader-replacement,
.ktc-file-component-wrapper .ktc-uploader-text-button,
.ktc-file-component-wrapper input[type=file] {
    display: none;
}

.ktc-file-component-wrapper .ktc-uploader-text {
    display: inline-block;
    max-width: calc(100% - 26px);
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.ktc-control-label,
.ktc-control-label-top {
    white-space: normal;
}

.checkbox-list-vertical {
    display: flex;
    flex-direction: column;
}
