/* bootstrap overrides */
.bg-primary,
.dropdown-item.active,
.btn-primary,
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #d30145 !important;/*0074b1*/
}
a {
    color: #d30145;
}
.text-primary {
    color: #d30145 !important;
}
.btn-primary,
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #d30145;
}
.border-primary {
    border-color: #d30145 !important;
}
.rounded, .btn, .form-control, .alert, .dropdown-menu, .bg-light,
.qq-uploader, .qq-upload-button {
    /*border-radius: 1rem !important;*/
    /*border-radius: 0 !important;*/
}
.bg-light {
    background-color: #f2f3f4 !important; /* overwrites: f8f9fa */
}
.invalid-feedback {font-size: 100% !important;}

/* for checkbox selection */
[type="checkbox"].custom-control-input:checked ~ .custom-control-label {
    color: #d30145;
}
[type="checkbox"].custom-control-input:checked ~ .custom-control-label a {
    text-decoration: underline;
}
/* for invalid checkbox/radio */
.custom-control-input.is-invalid:checked ~ .custom-control-label::before {
    background-color: #dc3545 !important;
}
/*h1, .h1 { font-size: 2rem; }
h2, .h2 { font-size: 1.75rem; }
h3, .h3 { font-size: 1.5rem; }
h4, .h4 { font-size: 1.25rem; }
h5, .h5 { font-size: 1rem; }*/

/* helper */
.bg-main {background-color: #e9ecef;}
.red {color: red;}
.booked {color: #d30145;}
.underline {text-decoration: underline;}
table .th-sm {max-width: 3rem;}
.list-without-indent > ul {
    padding-left: 1rem;
}

.click-fullscreen {
    position: relative;
    cursor: pointer;
}
.click-fullscreen .fullscreen-icon {
    position: absolute;
    padding: 0.3rem;
    cursor: pointer;
    bottom: 0; 
    right: 0;
    background-color: rgba(255,255,255,0.4);
    color: #333;
}

.input-group-custom-file .input-group-prepend button,
.input-group-custom-file .input-group-append button {
    border: 1px solid #ced4da;
    background-color: #e9ecef;
}

/* charcounter */
.CharCounter INPUT {
    width: 4rem !important;
}

/* ComapnyText, CompanyContact */
.CompanyText .remove,
.CompanyContact .remove {
    text-align: right;
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid #ccc;
}
.CompanyTextEntry TR.correction TD {
    background-color: #ddd;
}

.mainForm ~ .mainForm {margin-top: 2rem;}

/* fine-uploader customizing for single file */
.single-file-uploader .qq-uploader {
    min-height: 0 !important;
    padding: 5px !important;
}
.single-file-uploader .qq-upload-button {
    margin-bottom: 0;
}
.single-file-uploader .qq-upload-list li:first-child {
    margin-top: 10px;
}
.single-file-uploader .qq-upload-pause, .qq-upload-continue {
    background-color: #e9ecef;
    color: #000;
    border-color: 1px solid #ced4da;
}
.single-file-uploader .qq-upload-pause:hover, 
.single-file-uploader .qq-upload-continue:hover,
.single-file-uploader .qq-upload-button-hover {
    background-color: inherit;
}
.single-file-uploader .qq-upload-button {
    background: #e9ecef;
    color: #000;
    border: 1px solid #ced4da;
    box-shadow: none;
}
.single-file-uploader BUTTON[type="submit"],
.single-file-uploader BUTTON[type="button"] {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    padding: 0.4em;
}
.single-file-uploader .qq-progress-bar {
    border-radius: 0;
}

/* Auth0 login form */
.auth0-lock.auth0-lock.auth0-lock-opened-in-frame,
.auth0-lock.auth0-lock .auth0-lock-widget {
    width: 100% !important;
}
.auth0-lock.auth0-lock {
    z-index: 500 !important;
}