@import './variable/variable';

@import './mixin/mixin';

#epress-admin-settings-form {
    margin-top: 30px;
}

.epress_tab_wraper_group {

    // padding: 20px;
    margin: {
        right: 0;
        left: 0;
    }
}

.attr-tab-content {
    background-color: $color-white;
    padding: 32px 24px;
}

.epress-admin-section-heaer-title {
    margin-top: 0px;
}

.epress-admin-nav {
    .epress-admin-nav-link {
        text-decoration: none;

        &:focus {
            outline: none;
            box-shadow: none;
        }
    }

    .epress-admin-title {
        text-transform: uppercase;
    }
}

.attr-btn {
    cursor: pointer;
}

.epress_container {
    // max-width: 1450px;
    width: 100%;
    // padding-right: 15px;
    // padding-left: 15px;
}

.epress-admin-card-shadow {
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0px 6px 20px 0px rgba(194, 204, 222, 0.3);
}

.attr-input-switch {
    margin-bottom: 10px;
}

.epress-admin-input-switch {
    .epress-admin-control-label {
        justify-content: space-between;
        font-weight: 700;
    }
}

#adminmenu {
    .toplevel_page_elementpress {

        &:hover,
        &.current {
            .wp-menu-image {
                img {
                    opacity: 1;
                }
            }
        }

        .wp-menu-image {
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                opacity: .6;
                padding: 0px;
                width: 18px;
                @include transition;
            }
        }
    }
}

.epress-admin-input-text {
    margin-bottom: 0px;
    margin-top: 0 !important;

    &:not(:last-child) {
        margin-bottom: 2rem;
    }

    >label {
        font-weight: 700;
        margin-bottom: 7px;
        display: inline-block;
    }

    .attr-form-control {
        border-radius: 3px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0px 6px 20px 0px rgba(194, 204, 222, 0.3);
    }
}

.epress_logo {
    padding: 32px 0 24px;
}

.epress-admin-input-text {
    .attr-form-control {
        @include input-placeholder() {
            color: rgba($color: $color-black, $alpha: .3);
        }

        ;
    }
}

.epress_accordion_card {
    background-color: #f5f5f5;

    &:not(:last-child) {
        margin-bottom: 30px;
    }

    .card-header {
        padding: 0px;
        border-bottom: 0px solid #000;
    }

    .attr-btn {
        display: block;
        text-decoration: none;
        width: 100%;
        text-align: left;
        padding: 10px 20px;
        color: #333;
        font-weight: 700;
        cursor: pointer;

        &[aria-expanded="true"] {
            color: #f2295b;
        }

        &:focus {
            box-shadow: none;
        }
    }

    .attr-panel-heading {
        padding: 0px;
        border-radius: 0px;
        background-color: rgba(0, 0, 0, 0.03);
    }
}

[class^="attr"] {
    box-sizing: border-box;
}

.attr-btn-primary {
    color: #fff;
    background-color: #f2295b;
    border-color: #f2295b;
    text-decoration: none;
}

.attr-card-body {
    padding: 1.25rem;

    .attr-card-title {
        margin-top: 0px;
        margin-bottom: 0.75rem;
    }
}

.epress-admin-dashboard-banner {
    display: block;
}