#vtmas-trigger {
    background: #fff;
    border: 1px solid #000;
    border-radius: 0;
    color: #000;
    font: inherit;
    font-weight: bold;
    max-width: 100%;
    margin: 4px 0;
    padding: 6px 10px;
    vertical-align: baseline;
    white-space: normal;
}

#vtmas-trigger.vtmas-beside { margin-left: 8px; }
#vtmas-trigger:hover { background: #f2f2f2; }
#vtmas-trigger:focus,
.vtmas-overlay button:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

#vtmas-alert[hidden],
#vtmas-trigger[hidden],
.vtmas-overlay[hidden],
.vtmas-overlay [hidden] { display: none !important; }

body.vtmas-open { overflow: hidden; }

.vtmas-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(0, 0, 0, .28);
}

.vtmas-dialog {
    width: 100%;
    max-width: 400px;
    max-height: 100%;
    overflow: auto;
    background: #fff;
    color: #161921;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, .2);
}

.vtmas-heading {
    position: relative;
    padding: 15px 46px 15px 23px;
}

.vtmas-heading h2 {
    margin: 0;
    color: #111;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.vtmas-close {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0 5px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 24px;
    line-height: 1;
}

.vtmas-body { padding: 18px 27px 24px; }
.vtmas-product { overflow-wrap: anywhere; }
.vtmas-dialog .form-group { margin-bottom: 12px; }

.vtmas-dialog label {
    display: block;
    margin-bottom: 5px;
    color: #161921;
    font-size: 12px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.vtmas-required { color: #d00; }

.vtmas-dialog .form-control {
    width: 100%;
    min-height: 28px;
    height: auto;
    padding: 4px 6px;
    border: 1px solid #d6d6d6;
    border-radius: 0;
    box-shadow: none;
}

.vtmas-footer { margin-top: 17px; text-align: right; }

.vtmas-dialog .vtmas-submit {
    max-width: 100%;
    padding: 7px 16px;
    border: 1px solid #86130e;
    border-radius: 0;
    background: #a41b15;
    color: #fff;
    white-space: normal;
}

.vtmas-dialog .vtmas-submit:hover:not(:disabled) { background: #86130e; }
.vtmas-dialog .vtmas-message { margin: 10px 0 0; }
.vtmas-message:empty { display: none; }

@media (max-width: 480px) {
    #vtmas-trigger.vtmas-beside { margin-left: 4px; }
    .vtmas-body { padding: 14px 20px 20px; }
}
