/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */


/* Start class css */

.hilfe-text-right {
    text-align: right;
}

.hilfe-text-center {
    text-align: center;
}

.hilfe-d-flex {
    display: flex !important;
}

.hilfe-flex-row {
    flex-direction: row !important;
}

.hilfe-d-none {
    display: none;
}

.hilfe-justify-center {
    justify-content: center;
}

.hilfe-align-center {
    align-items: center !important;
}

.hilfe-align-end {
    align-items: end;
}

.hilfe-mr-05 {
    margin-right: 0.5rem;
}

.hilfe-btn {
    margin: 0.25rem;
    padding: 0.5rem 0.75rem;
    border: none;
    color: #ffffff;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    height: 32px;
    transition: all ease-in-out 0.3s;
}

.hilfe-btn img {
    width: 16px;
    filter: brightness(0) invert(1);
    margin-right: 0.25rem;
}

.hilfe-btn-primary {
    background: #1D4C65;
}

.hilfe-btn-primary:hover,
.hilfe-btn-primary:active {
    background: #CD8B63;
}

.hilfe-btn-extra {
    background: #CD8B63;
}

.hilfe-btn-extra:hover,
.hilfe-btn-extra:active {
    background: #1D4C65;
}

.hilfe-w-50 {
    width: 50%;
}

.hilfe-w-100 {
    width: 100%;
}

.hilfe-row {
    display: flex;
    row-gap: 0.5rem;
    flex-wrap: wrap;
}

.hilfe-col {
    width: 100%;
}

@media(min-width: 1000px) {
    .hilfe-col-lg-8 {
        width: calc((100% / 12) * 8);
    }
    .hilfe-col-lg-6 {
        width: calc((100% / 12) * 6);
    }
    .hilfe-col-lg-4 {
        width: calc((100% / 12) * 4);
    }
    .hilfe-col-lg-3 {
        width: calc((100% / 12) * 3);
    }
    .hilfe-col-lg-2 {
        width: calc((100% / 12) * 2);
    }
}


/* End class css */


/* Start loading */

#hilfeOverlay {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999998;
}

#hilfeLoading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(50%, 50%);
    color: white;
    z-index: 999999;
    font-size: 2rem;
}


/* End loading */


/* Start wrap */

.hilfe__wrap {
    margin-top: 2rem;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 5%);
    padding: 2rem;
    margin-right: 1rem;
    min-height: calc(80vh - 100px);
}

.hilfe__wrap h2 {
    margin: 0;
    margin-right: 0.5rem;
    text-transform: uppercase;
}

.hilfe-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed silver;
}

.hilfe__wrap .updated,
.hilfe__wrap .error {
    margin-left: 0;
    margin-bottom: 1rem;
}


/* End wrap */


/* Start form */

.hilfe-form h3 {
    margin: auto;
    margin-bottom: 0.5rem;
    text-align: left;
    min-width: 150px;
    font-size: 0.9rem;
}

.hilfe-form-block {
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px dashed silver;
}

.hilfe-input-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.hilfe-input-wrap label {
    margin-bottom: 0.5rem;
}


/* End form */


/*
  STYLE SHORTCODE IN ADMIN
*/


/* START HEAD */

.hilfeShortcode__table-head--name {
    width: 20%;
}

.hilfeShortcode__table-head--banner {
    width: 10%;
}

.hilfeShortcode__table-head--link {
    width: 30%;
}

.hilfeShortcode__table-head--shortcode {
    width: 30%;
}

.hilfeShortcode__table-head--tool {
    width: 10%;
}


/* START BODY */

.hilfeShortcode__table-body--banner {
    width: 100%;
}

.hilfeShortcode__table-body--banner img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
}


/* START EDIT */

.hilfe-shortcode-edit-upload {
    position: relative;
}

.hilfe-shortcode-edit-upload a {
    outline: none;
}

.hilfe-shortcode-edit-upload img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    height: 250px;
}

.hilfe-shortcode-edit-upload input {
    margin-top: 0.5rem !important;
}

.hilfe-shortcode-edit-upload label {
    display: block;
    margin-bottom: 0.5rem;
}

.hilfe-shortcode-edit-form-body {
    border-bottom: 1px dashed silver;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}


/* STYLE GUIDE IN ADMIN */

.hilfe-guide-form-body .wp-picker-container .wp-color-result.button {
    margin: 0;
}


/* STYLE DASHBOARD IN ADMIN */

.hilfe-dashboard {
    position: relative;
}

.hilfe-dashboard--tools {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hilfe-dashboard--tools a {
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0.5rem;
    background-color: #CD8B63;
    color: white;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all ease-in-out 0.3s;
}

.hilfe-dashboard--tools a:hover {
    background-color: #1D4C65;
}

.hilfe-guide-app-wrap {
    position: relative;
}

.hilfe-guide-app-wrap:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    border-left: 1px dashed silver;
}