/* reusable components - modals etc. */

/* modal */
.fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

.fade.show {
    opacity: 1;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal-open {
    overflow: hidden;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.625rem;
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out, -o-transform 0.3s ease-out;
    -webkit-transform: translate(0, 0);
       -moz-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
         -o-transform: translate(0, 0);
            transform: translate(0, 0);
}

@media (min-width: 36rem) {
    .modal-dialog {
        max-width: calc(100% - 60px);
        margin: 1.875rem auto;
    }
    .modal-sm {
        max-width: calc(100% - 60px);
        margin: 1.875rem auto;
    }
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
}

.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.9375rem;
}
.modal-header .close {
    padding: 1rem;
    margin: -1rem;
    font-size: 1.125rem;
}
.modal-title {
    margin-bottom: 0;
    line-height: 1.25;
    font-size: 1.25rem;
    color:#0E2029;
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0.9375rem;
    font-size: 1.0625rem;
    line-height: 1.411764705882353;
}

.modal-body.rot {
    color: #dc3545;
}
.modal-body h2 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
.modal-body p {
    margin-bottom: 1rem;
}
.modal-body .form-group {
    margin-top: 1rem;
}
.modal-body .form-label {
    font-weight: 700;
}
.moderators {
    list-style: none;
    margin-top:0.9375rem;
    margin-bottom:0.9375rem;
}
.modal-footer {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0.9375rem;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.show {
    opacity: 0.5;
}

/* dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1.0625rem;
    color: #5f676b;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 0.0625rem solid #e4e6e7;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.2);
}

.top-hdl .dropdown-menu, .dfd-header .dropdown-menu, .card-container .dropdown-menu  {
    top: 2.625rem !important;
    right: 0.75rem !important;
    font-family: var(--gi-font-medium);
    font-weight: normal;
    text-rendering: optimizelegibility;
}
.card-container .dropdown-menu  {
    top: 1.75rem !important;
}
.user-profile-img .dropdown-menu {
    top: 3.25rem !important;
    right: 0 !important;
    width: calc(100vw - 2rem);
    max-width: 30rem;
}
.languageswitch.show + .dropdown-menu-backdrop {
    background: rgba(14, 32, 41, 0.16);
    position: fixed;
    top: var(--dfd-header-height);
    left: 0;
    width: 100%;
    /* height: 100%; */
    display: block;
    z-index: 0;
    bottom: 4.875rem;
    backdrop-filter: blur(4px);
    transition: all .15s ease-in-out;
}
.dfd-header-hdl .dropdown-menu {
    top: 3.25rem !important; /* todo */
    right: 0rem !important;
}

.top-hdl .dropdown-menu:before, .dfd-header .dropdown-menu:before, .card-container .dropdown-menu:before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0.5rem 0.5rem 0.5rem;
    border-color: transparent transparent #e4e6e7 transparent;
    position: absolute;
    top: -0.5rem;
    right: 0.3125rem;
    content: "";
}

.top-hdl .dropdown-menu:after, .dfd-header .dropdown-menu:after, .card-container .dropdown-menu:after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0.4375rem 0.4375rem 0.4375rem;
    border-color: transparent transparent #fff transparent;
    position: absolute;
    top: -0.375rem;
    right: 0.375rem;
    content: "";
}

.dropdown-menu.show {
    display: block;
    cursor: pointer;
}

.top-hdl .dropdown-menu li, .dfd-header .dropdown-menu li, .card-container .dropdown-menu li {
    padding: 0.5rem 1.125rem 0.25rem 1.125rem;
    line-height: 1;
}

.dropdown-item {
    width: 100%;
    clear: both;
    color: #5f676b;
    text-align: inherit;
    white-space: nowrap;
    background: 0 0;
    border: 0;
    display: inline-block;
    position: relative;
}
.dropdown-item.add-item {
    color: #006EC9;
}
.dropdown-item.disabled {
    color: #ccc;
    cursor: not-allowed;
}
.dropdown-has-icon {
    display: flex;
    align-items: baseline;
    column-gap: 0.5rem;
}
.dropdown-has-icon .fas {
    flex-shrink: 0;
    min-width: 1.5rem;
}
.dropdown-divider {
    height: 0;
    margin: .5rem 0;
    padding: 0 !important;
    overflow: hidden;
    border-top: 0.0625rem solid #e9ecef;
}
.link-icon .fa-solid, .link-icon .fa-regular {
    margin-right: 0.625rem;
    position: relative;
    top: -0.0625rem;
}

/* alerts */
.alert {
    position: relative;
    padding: 1.375rem 0.875rem 1.375rem 1.375rem;
    border: 0px solid transparent;
    border-radius: .375rem;
    margin: 0 0 2rem 0;
}
.alert-info, .alert-success, .alert-danger, .alert-warning {
    line-height: 1.41176;
    background-color: rgba(14, 32, 41, 0.04);
    font-size: 1.125rem;
    border-radius: 0;
    font-family: var(--gi-font-medium);
    border-left: 8px solid #006EC9;
    position: relative;
    top: 2.5%;
    left: 0;
    z-index: 8;
    right: 1rem;
    /*margin-bottom:.5rem;*/
}
.alert-success {
    background-color: #EEF6D7;
    border-left: 8px solid #a0c814;
}
.alert-danger {
    color: #E10F05;
    border-color: #E10F05;
}
.alert-warning {
    color: rgba(14, 32, 41, 0.72);
    font-family: var(--gi-font-sans-serif);
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
}
.alert-i {
    margin-right: 22px;
}
.alert-icon {
    height: 2.875rem;
    width: 2.875rem;
    margin-right: 1.3125rem;
}
.alert .alert-icon:before {
    height: 2.875rem;
    width: 2.875rem;
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
}
.alert-success .alert-icon:before {
    content: "\e90a";
    font-family: 'DfD-Iconfont';
    color: #fff;
    background-color: #a0c814;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 3rem;
}
.alert-info .alert-icon:before {
    content: '\0021';
    color: #fff;
    background-color: #006EC9;
    border-radius: 50%;
    font-size: 2.375rem;
    line-height: 3rem;
}
.alert-danger .alert-icon:before, .alert-warning .alert-icon:before {
    content: "\e901";
    font-family: 'DfD-Iconfont';
    color: #fff;
    background-color: #E10F05;
    border-radius: 50%;
    font-size: 1.625rem;
    line-height: 2.65rem;
}
.alert h4 + p, .alert p + p, .alert .btn-gruen {
    margin-top:.625rem;
}
.alert-dismissible .close,
.global-message-dismissible .close {
    /*position: absolute;*/
    top: 0;
    right: 0;
    padding: .75rem 1.25rem;
    color: inherit;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 0.0625rem 0 #fff;
    opacity: .66;
    margin-top: -1.375rem;
    margin-right: -0.875rem;
}
.alert-dismissible .close:hover,
.alert-dismissible .close:focus,
.global-message-dismissible .close:hover,
.global-message-dismissible .close:focus {
    opacity: 1;
}
.alert-heading {
    margin-right: 2rem;
}
.group-teaser-image .alert {
    margin-top: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    font-family: var(--gi-font-sans-serif);
    font-size: 1rem;
    font-weight: bold;
}
.global-message-c {
    color: #5f676b;
    background-color: #f1f2f1;
    line-height: 1.411764;
    font-size: 1.0625rem;
    border-radius: 0;
    font-family: var(--gi-font-medium);
    border-top: 1px solid #e5e7e8;
    border-bottom: 1px solid #e5e7e8;
    position: relative;
    top: 2.5%;
    left: 0;
    z-index: 8;
    right: 1rem;
    padding: 1.375rem;
    border: 0.0625rem solid transparent;
    margin: 0 0 1.125rem 0;
}
.global-message-link {
    text-decoration: underline;
}
/* todo */
.sr-only {
    display: none;
}
.croppie-container .cr-viewport.cr-vp-square {
    border-radius: 50% !important;
}
.groupcrop .croppie-container .cr-viewport.cr-vp-square {
    border-radius: 0 !important;
}