// fill the whole available space
#wpbody-content {
    transform: translateX(-20px);
    width: calc(100% + 20px);
    background: white;
    position: relative;
}

.sensei-panel-container {
    font-family: $main-font;
    background: $white;
    font-weight: 300;

    input,
    select,
    textarea {
        border: $noborder;
        box-shadow: 0 0 0 0 transparent;
        border-bottom: 1px solid $dm-gray;
        transition: .5s all ease;
        padding: 8px 0px;
        box-sizing: content-box;
        &:focus,
        &:active{
            box-shadow: 0 0 0 transparent;
            border: $noborder;
            border-bottom: 2px solid $dm-blue;
        }
    }
}

.sensei-tab-menu-container {
    @include shadow(1);
    background: $dm-blue;

    li {
        float: left;
        padding: 10px;
        font-size: 15px;
        font-weight: normal;
        cursor: pointer;
        margin-bottom: 0px;
        margin-right: 1px;
        transition: all 0.2s ease;
        color: white;
        border-bottom: 2px solid transparent;
        &:hover {
            background: darken($dm-blue, 3%);
        }
        &.tab-selected {
            color: white;
            border-bottom: 2px solid $white;
        }
        .tab-title {}
    }
}

.sensei-tab-content-container {
    padding: 15px;
    .tab-content {
        display: none;
    }
}

.clearfix {
    &:before {
        display: table;
        content: "";
        line-height: 0;
    }
    &:after {
        display: table;
        content: "";
        line-height: 0;
        clear: both;
    }
}

.spinner {
    background: url('../img/spinner.gif') no-repeat;
    background-size: 18px 18px;
    display: none;
    float: none;
    opacity: .7;
    margin: 0px 17px 0;
    padding-top: 5px;
    padding-bottom: 5px;
    visibility: visible;
}

// disabled, but visible
.sensei-option-blocker {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
    background-color: darken($white, 5%);
    opacity: 0.5;
    top: 0px;
}

.sensei-option-hidden {
    display: none;
}

.sensei-field-label {
    float: left;
    padding: 8px 0;
    font-weight: bold;
    color: $dm-gray;
    font-size: 17px;
    width: 290px;
    margin-right: 10px;
}

.sensei-field-container {
    float: left;
    .sensei-field-description {
        margin: 0px;
        font-size: 13px;
        color: $color-4;
    }
}

.field-text-container .field-text {
    max-width: 400px;
    width: 100%;
}

.field-select-posts-container {
    .field-select-posts, .field-select-categories {
        max-width: 400px;
        width: 100%;
        box-sizing: content-box;
    }
}

.sensei-option-container {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    .sensei-submit {
        font-size: 17px;
        font-weight: normal;
        color: white;
        cursor: pointer;
        padding: 6px 12px;
        border-radius: 2px;
        background: $dm-blue;
        @include shadow(null, $t: btn);

        &:hover{
            background: darken($dm-blue, 5%);
        }
    }
    .sensei-reset-buttons {
        float: right;
    }
}

.sensei-option-disabled {
    .field-text, .field-select, .field-select-posts, .wp-editor-container, .field-select-categories {
        border: 1px solid black;
    }
}

// switches
.switch{
    width: 40px;
    height: 15px;
    background: #818181;
    margin: 30px;
    position: relative;
    border-radius: 15px;
    transition: .4s all ease;

    &:hover{
        cursor: pointer;
    }

    .ball{
        box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.4);
        width: 21px;
        height: 21px;
        background: $white;
        position: absolute;
        top: -3px;
        left: -5px;
        // transform: translate(-50%, -50%);
        border-radius: 50%;
        transition: .4s all ease;
    }

    &.on{
        background: rgba($accent, .5);
        .ball{
            left: 24px;
            background: $accent;
        }
    }


    input[type="checkbox"]{
        opacity: 0;
    }
}
