/* DA-Formmaker Template Styles */
/* Ausgelagert aus template_bootstrap.htm */

/* .labelwrapper { } */ 

.labelleft {
    display: inline-block;
}

.labelright {
    display: inline-block;
    max-height: 20px;
}

.captcha {
    width: 15%;
    min-width: 120px;
    display: inline;
}

.form-control {
    margin-bottom: 5px;
}

.textend {
    margin-top: 15px;
    margin-bottom: 15px;
}

.checkbox {
    margin-top: 0px;
    margin-left: -15px;
}

.checkbox:first-child {
    margin-left: 15px;
}

.radio {
    margin-top: 0px;
}

input[type="radio"] {
    margin-left: 5px;
}

.zwtext {
    margin-top: 10px;
    margin-bottom: 10px;
}

.input-file {
    border-width: 0px;
    height: 100%;
    background-color: transparent;
}

body {
    margin-top: 15px;
    line-height: 1.5 !important;
}

h1 { 
    margin-top: 5px !important;
}

h3 {
    font-size: 1.0rem;
    padding: 5px 10px; 
    display: inline-block; 
    border-radius: .25rem; 
    color: #fff;
    font-weight: bold;
}

a {
    font-size: 100%;
    color: #0056b3;
}

.button {
    color: #fff;
}

.m-signature-pad--body277 canvas {
    position: relative;
    left: 0;
    top: 0;
    width: 480px;
    height: 175px;
    border: 1px dashed #CCCCCC;
}

.form-control:disabled, 
.form-control[readonly] {
    background-color: #fafafa;
    opacity: 1;
}

.datooltipleft {
    left: 110px;
}

.datooltiptext {
    bottom: 105%;
}

.datooltipcheckboxlist, 
.datooltipfile {
    left: 150px;
}

.container {
    max-width: 100%;
}

.form-control::placeholder {
    color: #ccc;
    opacity: 1;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px !important;
    }
}

.btn-outline-secondary {
    color: #fff;
}

.btn-default {
    color: #fff;
}

.btn:hover {
    color: #fff;
}

#saveButton {
    background-color: gold;
    color: white;
    padding: .375rem .75rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
}

#saveButton:hover {
    background-color: #BBA53D;
}

.modal-dialog {
    width: auto;
    max-width: 1040px !important;
}

.byline {
    text-align: center;
    font-size: smaller;
}

.input-file::-webkit-file-upload-button, 
.input-file::file-selector-button {
    background-color: #aaa;
    color: #fff;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    border-radius: .25rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.input-file:hover::-webkit-file-upload-button, 
.input-file:hover::file-selector-button {
    background-color: #bbb;
}

/* Button Tooltips - Modernes Design */
button[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2E4F75;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
    white-space: nowrap;
    z-index: 9999;
    animation: tooltipFadeIn 0.2s ease-in;
    margin-left: 90px;
    max-width: 350px;
    text-align: center;
}

button[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2E4F75;
    z-index: 9999;
}

button[title] {
    position: relative;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        bottom: 110%;
    }
    to {
        opacity: 1;
        bottom: 120%;
    }
}
