﻿h2 {
    font-weight: 900 !important;
    padding-top: 10px !important;
    font-size: 1.7em !important;
    margin-bottom: 2px !important;
}
.under-header {
    display: inline-block;
    min-width: 30%;
    min-height: 10px;
    background-color: var(--turquoise);
    color: var(--dark-color);
    padding: 2px 10px;
    font-size: 0.9em;
    margin-bottom: 1rem;
    border-top-right-radius: 15px;
}

.single-header {
    display: inline-block;
}

.single-header .under-header {
    width: 100%;
    min-width: 300px;
    margin-bottom: 10px;
}

form a {
    color: var(--dark-color);
}
form a:hover {
    color: var(--dark-color);
    text-decoration: none;
}
form label {
    padding-bottom: 1px !important;
    padding-top: 10px !important;
}
form label.form-check-label {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}
form .form-check-label {
    display: block;
}
form .link {
    margin: 10px 0;
    text-decoration: underline;
}
form input[type=file]::file-selector-button {
    background-color: var(--light-turquoise);
}
form input[type=file]::file-selector-button:hover {
    background-color: var(--light-turquoise-hover);
}
form .input-group button {
    border: 1px solid var(--default-border-color);
}

#hcaptcha {
    margin-top: 20px;
}

.form-success {
    color: var(--dark-color);
    background-color: var(--light-turquoise);
    padding: 5px 10px;
    display: table;
}

/* Search form on search pages */

.search-form-container {
    background-color: var(--white);
    display: inline-block;
    height: auto;
    width: 100%;
}
.search-form-container .search-form {
    padding: 15px 0;
}

/* Notification */

.toast-container {
    top: 45px !important;
}
.toast-container>:not(:last-child) {
    margin-bottom: 0.5rem !important;
}
.toast-container .toast,
.toast-container .toast button {
    color: var(--dark-color) !important;
}
.toast-container .toast button {
    filter: none;
}
.toast-container .toast.bg-info {
    background-color: var(--light-turquoise) !important;
}
.toast-container .toast.bg-info .toast-body:before {
    /* content: "Info: "; */
    font-weight: bold;
}
.toast-container .toast.bg-danger {
    background-color: var(--danger-notification) !important;
}
.toast-container .toast.bg-danger .toast-body:before {
    /* content: "Error: "; */
    font-weight: bold;
}
.toast-container .toast.bg-success {
    background-color: var(--success-notification) !important;
}
.toast-container .toast.bg-success .toast-body:before {
    /* content: "Success: "; */
    font-weight: bold;
}
.toast-container .toast.bg-warning {
    background-color: var(--warning-notification) !important;
}
.toast-container .toast.bg-warning .toast-body:before {
    /* content: "Warning: "; */
    font-weight: bold;
}

/* Extra */

.input-group.create-school-schedule .input-group-text,
.input-group.create-hall-schedule .input-group-text {
    padding: 0 .75rem;
}
.input-group.create-school-schedule .input-group-text:first-child,
.input-group.create-hall-schedule .input-group-text:first-child {
    width: 49px;
    background: var(--turquoise-50-a);
    padding-left: 8px;
}
.input-group.create-school-schedule .nbd-check label,
.input-group.create-hall-schedule .nbd-check label {
    padding-top: 2px !important;
}
.input-group.create-teacher-schedule,
.input-group.create-show-schedule {
    margin-bottom: 5px;
}
.input-group.create-competition-range .input-group-text:first-child,
.input-group.create-competition-range .input-group-text:nth-child(4) {
    background: var(--turquoise-50-a);
}

form .preview img {
    max-height: 150px;
    max-width: 150px;
}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.btn.social-dance-info {
    margin-bottom: 1rem;
}

@media (max-width: 868px) {
    .under-header {
        min-width: 50%;
        line-height: 120%;
    }
}

@media (max-width: 584px) {
    h2 {
        font-size: 1.5em !important;
        padding-top: 5px !important;
    }
    .under-header {
        width: 100%;
        font-size: 0.8em;
        margin-bottom: 5px;
        line-height: 120%;
    }
}