/******************************************************************************
 * Cascading-Style-Sheets file for Admidio
 *
 * @copyright The Admidio Team
 * @see https://www.admidio.org/
 * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2.0 only
 *
 * Here you can edit the look and feel of Admidio
 *
 *****************************************************************************/

#installation-header {
    background-color: #349aaa;
    color: #ffffff;
}

.admidio-area {
    width: 100%;
}

#installation-body .admidio-container {
    background-color: #ffffff;
}

.admidio-container {
    max-width: 750px;
    padding: 10px 20px;
}

.admidio-container img {
    padding-right: 25px;
    padding-bottom: 10px;
}

#installation-headline {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    height: 100%;
    vertical-align: bottom;
}

.admidio-content {
    order: 1;
}

#installation-message h3, #installation-message p {
    margin-bottom: 30px;
}

/***********************************/
/* Default tags */
/***********************************/

body {
    color: #263340;
    background-color: #eeeeee;
}

a, .btn-link, .page-link, a.btn {
    color: #349aaa;
}

a:hover, .page-link:hover, a.btn:hover {
    color: #25717d;
}

a.btn-primary {
    color: #ffffff !important;
}

.btn-primary {
    background-color: #349aaa;
    border-color: #349aaa;
}

.btn-primary:hover {
    background-color: #25717d;
    border-color: #25717d;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #6b979f;
    border-color: #6b979f;
}

/* default distance between elements */
.admidio-blog, .admidio-field-group, .pagination,
.admidio-info-created-edited, .admidio-img-presenter,
.navbar-filter, .table-responsive, .admidio-content-header,
.dataTables_wrapper, .admidio-margin-bottom {
    margin-bottom: 40px;
}

/* add 5px distance to all icons within a icon text combination */
.admidio-icon-chain, .nav-link .fas, .btn .fas, .alert .fas,
.admidio-profile-user-right .fas, .checkbox .fas, input[type="radio"],
label img, .form-control-static img {
    margin-right: 5px;
}

.admidio-icon-link {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}

.admidio-reduced {
    padding-left: 15px;
    padding-right: 15px;
}

.btn-group-vertical {
    display: block;
}

/* show vertical btn group in mobile view */
@media (max-width: 767px)
{
    .btn-group {
        display: block;
    }

    .btn-group .btn {
        display: block;
        float: none;
        width: 100%;
    }
}

/***********************************/
/* Mark mandatory fields */
/***********************************/
.admidio-form-group-required label:after,
.admidio-form-required-notice span:after {
    font-family: "Font Awesome 5 Free", serif;
    font-size: 6pt;
    content: "\f111";
    color: #d91515;
    white-space: nowrap;
    vertical-align: super;
    margin-left: 3px;
}

.admidio-form-required-notice {
    font-size: 9pt;
    margin-top: 5px;
    margin-bottom: -10px;
    text-align: right;
    width: 100%;
    display: inline-block;
}

/***********************************/
/* Forms */
/***********************************/

.form-control:focus, .select2-container--bootstrap.select2-container--focus .select2-selection,
input[type=checkbox]:focus, button:focus {
    border-color: #349aaa !important;
    background-color: #d6ebee !important;
    box-shadow: none !important;
}

.btn-primary:focus {
    background-color: #25717d !important;
}

.btn-secondary {
    margin-right: 25px;
}

input[type=checkbox] {
    margin-right: 10px;
}

label {
    font-weight: bold;
    padding-right: 0 !important;
}

@media (min-width: 768px) {
    .offset-sm-3.btn {
        margin-left: 25.5%;
    }

    .form-control-small {
        width: 50%;
    }
}

.form-inline div {
    padding-right: 15px;
}

.form-inline label {
    padding-right: 5px;
}

.radio-inline {
    margin-right: 15px;
}

input[type=date] {
    width: 200px;
}

.datetime-date-control {
    display: inline-block;
}

.datetime-time-control {
    display: inline-block;
    width: 110px !important;
    margin-left: 20px;
}

.dropdown-menu .btn {
    text-align: left;
}

/***********************************/
/* Cards */
/***********************************/

.admidio-blog, .admidio-field-group {
    border: none;
}

.admidio-blog .card-header, .admidio-blog .card-body, .admidio-blog .card-footer,
.admidio-field-group .card-header, .admidio-field-group .card-body, .admidio-field-group .card-footer {
    border: none;
    background-color: #eeeeee;
}

.card-header {
    font-weight: bold;
    font-size: 150%;
}

.card-header .fas, .card-header .fab {
    margin-right: 10px;
}

.card-header .float-right .fas {
    margin-right: 0;
}

.card-header .dropdown .fas, .card-header .dropdown .fab {
    margin-right: 0;
}

.admidio-blog .card-footer {
    font-size: 80%;
}

.admidio-field-group .list-group-item {
    border: none;
    background-color: #eeeeee;
    padding: 0 0 1rem 0;
}

.admidio-field-group .list-group-item .list-group-item {
    padding: 0;
}

.card .admidio-info-created-edited {
    margin-bottom: 0;
    margin-top: 0;
}

.card-footer .admidio-info-created-edited {
    font-size: 100% !important;
}

/***********************************/
/* Nav-Bars */
/***********************************/

.navbar button {
    margin-bottom: 0;
}

.navbar label {
    margin-right: 10px;
}

/***********************************/
/* Accordion */
/***********************************/

.accordion .card-header:hover {
    color: #eeeeee;
    background-color: #263340;
}

.accordion .card-header {
    color: #349aaa;
}

/***********************************/
/* Various settings */
/***********************************/

.admidio-opacity-reduced {
    opacity: 0.4;
}

.badge {
    margin-left: 5px;
}

.admidio-info-created {
    display: block;
}

.admidio-info-created-edited {
    font-size: 80%;
}

/* Style for popover */
.popover-header {
    color: white;
    background-color: #263340;
}

.popover-body {
    background-color: #eeeeee;
}

.page-item.active .page-link {
    background-color: #263340;
    border-color: #263340;
}

#imprint {
    margin-bottom: 30px;
    font-size: 80%;
}

.admidio-info-icon {
    color: #4496dd;
    cursor: pointer;
    margin-left: 6px;
}

#admidio-password-strength {
    margin-top: 10px;
}

#admidio-password-strength-minimum {
    position: absolute;
    border: 9px solid transparent;
    border-left-color: #263340;
    border-right-width: 0;
    margin-top: -7px;
}

.progress {
    background-color: #dddddd;
}
