﻿
.radio-form-template .help-text {
    display: normal;
}


.radio-form-template .invalid-feedback:last-child {
    margin-left: -10px;
}


.form-group {
    border: 0 !important;
    margin-top: 17px;
}

.field-label {
    font-weight: bold;

    margin-bottom: 3px;
}

.form-uploaded-file a {
    font-size: 0.9rem;
    text-decoration: underline;
    color: #0094ff !important;
}

.form-uploaded-file .glyphicons {
    font-size: 15px;
    margin-top: 5px;
}

.form-control {
    font-size: 0.9rem;
}

label {
    /*font-size: inherit !important;*/
}

.tag-items {
    border: 1px solid #ced4da;
    padding: 10px;
    border-radius: 4px;
}

.tag-items-focus {
    outline: 2px solid #4ca6e8;
}

.tag-item {
    border: 1px solid black;
    padding: 4px;
    display: inline-block;
    border-radius: 5px;
    background-color: #1648be;
    color: white;
}

.tag-title {
    display: inline-block
}

.tag-item .glyphicons {
    margin-left: 4px;
    margin-top: 3px;
    cursor: pointer;
}


.tag-addnew {
    display: inline-block;
    outline: 1px solid transparent;
}

.tag-selector-popup {
    border: 1px solid grey;
    min-width: 140px;
    position: absolute;
    background-color: white;
}

.tag-selector-popup-item {
    font-weight: bold;
    color: #1648be;
    padding: 6px;
    cursor: pointer;
}

    .tag-selector-popup-item.selected {
        background-color: #ffe764 !important;
    }

.tag-placeholder {
    display: inline-block;
    color: #808080 !important;
}

.tag-selector-popup-notfound {
    font-weight: bold;
    color: #ff0000;
    padding: 6px;
}

.tag-addnew {
}

.tag-item {
    margin: 3px;
}

.tag-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.invalid-tag-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.form-sections li div {
    padding: 0;
}

.form-sections li {
    margin: 0;
}

.site-field.is-invalid, .is-invalid {
    border-color: #c4626c;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

select.is-invalid, select.is-valid {
    background-position: right calc(0.375em + 0.775rem) center !important;
}

.site-field.is-valid, .is-valid {
    border-color: var(--highlight);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23b3c195' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.question-title {
    max-width: 700px;
}


.question-actions {
    min-width: 200px;
}

.radio-style-horizontal {
    display: inline-block !important;
    margin-right: 15px;
}

    .radio-style-horizontal:last-child {
        margin-right: 0 !important;
    }

.stmz-dropdown {
    position: relative;
    cursor: pointer;
}

.stmz-dropdown-popup {
    position: absolute;
    top: 41px;
    left: 0px;
    width: 100%;
    border: 1px solid #808080;
    background-color: white;
    box-sizing: border-box;
    height: 150px;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 999;
}

.stmz-dropdown-items {
    padding: 6px 4px 6px 8px;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently */
}

    .stmz-dropdown-items:hover, .stmz-dropdown-items:active {
        background-color: #5fd8f5;
    }


.stmz-dropdown-clear, .stmz-dropdown-search {
    font-size: 18px;
    top: 12px;
    right: 11px;
    position: absolute;
    color: #808080;
}

.stmz-form-section-title {
    font-size: 17px;
    font-weight: bold;
    margin-top: 30px;
    border-bottom: 1px solid var(--secondary1)!important;
}


.stmz-preview-field {
    border: 1px solid #adaaaa;
    position: relative;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    margin-top: 5px;
}

.stmz-preview-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: 15px;
    margin-bottom: 0;
}


.form-select.is-valid, .was-validated .form-select:valid {
    border-color: var(--success)!important;
}

    .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"], .was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"] {
        border-color: var(--highlight);
        padding-right: calc(1.5em + 0.75rem);
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23b3c195' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right calc(0.375em + 0.1875rem) center;
        background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }

.custom-file{
    border: 1px solid #ced4da;
    padding: 5px;
    
}

.custom-file-input{
    display:none;
}

