/** ===================== general ===================== */

#adbutler-logo {
    background: url('../images/adbutler-logo.svg') no-repeat;
    background-size: auto 40px;
    height: 40px;
    width: 136px;
}

#adbutler-page-wrapper {
    color: #333;
    max-width: 800px;
}

#adbutler-page-wrapper * {
    box-sizing: border-box;
}

#adbutler-page-wrapper h3 {
    font: 700 12px/1.15 'pn-regular', Calibri, "Helvetica Neue", Helvetica, Optima, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
    color: #444;
}

#adbutler-page-wrapper h4 {
    font: 500 17px/1.15 'pn-semibold', Calibri, "Helvetica Neue", Helvetica, Optima, Arial, sans-serif;
    margin: 0;
    color: #333;
}

#adbutler-page-wrapper a {
    text-decoration: none;
}

.button.adbutler-button,
.button.adbutler-button:active,
.button.adbutler-button:hover,
.button.adbutler-button:focus {
    box-shadow: none;
    border-radius: 20px;
    border: 0;
    color: #eee;
    font-weight: bold;
    font-size: 11px;
    height: 34px;
    padding: 0 22px;
    text-transform: uppercase;
}

.adbutler-button.adbutler-button-blue {
    background-color: #087ffd;
}

.adbutler-button.adbutler-button-blue:hover {
    background-color: #086cd7;
}

.adbutler-button.adbutler-button-blue:active,
.adbutler-button.adbutler-button-blue:focus {
    background-color: #075bc3;
}

.adbutler-button.adbutler-button-black {
    background-color: #3c3c3c;
}

.adbutler-button.adbutler-button-black:hover {
    background-color: #323232;
}

.adbutler-button.adbutler-button-black:active,
.adbutler-button.adbutler-button-black:focus {
    background-color: #282828;
}

.adbutler-divider {
    margin: 30px 0;
    border: 1px solid #f7f7f7;
}

.adbutler-green-check::before {
    color: #7a4;
    content: "✔";
}

.adbutler-x-mark::before {
    content: "✖";
}

.adbutler-error-text {
    color: #c00;
}

#adbutler-page-wrapper .ab-col-50 {
    width: 50%;
    display: inline-block;
}

#adbutler-page-wrapper .left {
    float: left;
    padding-right: 10px;
}

#adbutler-page-wrapper .right {
    float: right;
    padding-left: 10px;
}

.adbutler_zone_select {
    max-width: 500px;
}

/** =================== widget ======================= */

.adbutler-dashboard-widget {
    min-width: 200px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.widget_adbutler {
    width: 100%;
}

.adbutler-widget-config-section {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

/** ===================== about ======================== */

#adbutler-about-wrapper {
    background-color: #fff;
    margin-left: -20px;
    width: 1000px;
    padding: 50px 100px 100px 100px;
}

/** ===================== settings page ============================ */

#adbutler-header {
    margin-top: 14px;
    margin-bottom: 14px;
}

#adbutler-header div {
    display: inline-block;
    vertical-align: middle;
}

#adbutler-header #adbutler-logo {
    margin-right: 20px;
}

.adbutler-help-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    width: 800px;
    margin: 2em 0;
}

.adbutler-setup-left,
.adbutler-setup-right {
    padding: 12px;
}

.adbutler-setup-left {
    border-right: 2px solid #eaeaea;
    padding-right: 24px;
    width: 70%;
    display: inline-block;
    margin-right: -1ch; /* fixes whitespace between inline-block elements */
    vertical-align: top;
}

.adbutler-setup-right {
    width: 30%;
    padding-left: 24px;
    display: inline-block;
    vertical-align: top;
}

.adbutler-setup-left p {
    margin-bottom: 18px;
}

.adbutler-setup-right p {
    margin-bottom: 20px;
}

.adbutler-key,
.adbutler-key-submitted {
    display: inline-block;
    margin: 0 0 -1px 0;
    height: 35px;
    width: 350px;
    vertical-align: middle;
}

.adbutler-key-label {
    color: #666;
    display: block;
    font-size: 10px;
    margin: 5px 0;
    text-transform: uppercase;
}

.adbutler-key-submitted {
    margin-top: 22px;
}

.adbutler-key-checkmark {
    display: inline-block;
    font-size: 30px;
    height: 100%;
    line-height: 25px;
    margin: 0 10px;
    vertical-align: middle;
}

.adbutler-clear-button {
    vertical-align: middle;
}

.adbutler-clear-button-x {
    display: inline-block;
    height: 100%;
    line-height: 31px;
    margin-left: -5px;
    margin-right: 10px;
    /*vertical-align: middle;*/
}

.adbutler-key-form [type="submit"] {
    display: inline-block;
    vertical-align: bottom;
    margin-left: 10px;
}

.adbutler-need-help-text {
    text-align: center;
    margin: 2em;
}

.adbutler-help-step-left,
.adbutler-help-step-right {
    display: inline-block;
    width: 50%;
    vertical-align: middle;
}

.adbutler-help-step-left {
    padding-right: 80px;
    margin-right: -1ch; /* fixes whitespace between inline-block elements */
}

.adbutler-help-step-right {
    background-color: #f1f1f1;
}

.adbutler-help-step-image {
    background: no-repeat center;
    background-size: 100%;
    margin: 0 auto;
}

.adbutler-help-step1 {
    background-image: url("../images/help_step_1.png");
    height: 190px;
    width: 250px;
}

.adbutler-help-step2 {
    background-image: url("../images/help_step_2.png");
    height: 260px;
    width: 400px;
}

.adbutler-help-step3 {
    background-image: url("../images/help_step_3.png");
    height: 260px;
    width: 400px;
}

.adbutler-shortcode-help {
    text-align: center;
    padding: 25px;
    margin-top: 60px;
}

/** ======================== Interval settings ==================== */

#adbutler-category-container {
    overflow: hidden;
    border: 0 solid #e5e5e5;
    margin-top: -1px;
    background-color: #f7f7f7;

    -webkit-transition-property: height, border;
    -o-transition-property: height, border;
    transition-property: height, border;
    -webkit-transition-duration: 0.5s, 0s;
    -o-transition-duration: 0.5s, 0s;
    transition-duration: 0.5s, 0s;
    -webkit-transition-timing-function: ease, ease;
    -o-transition-timing-function: ease, ease;
    transition-timing-function: ease, ease;
}

#adbutler-category-container.expanded {
    -webkit-transition-delay: 0s, 0s;
    -o-transition-delay: 0s, 0s;
    transition-delay: 0s, 0s;
}

#adbutler-category-container.collapsed {
    -webkit-transition-delay: 0s, 0.5s;
    -o-transition-delay: 0s, 0.5s;
    transition-delay: 0s, 0.5s;
}

#adbutler-category-restrict-settings {
    width: 550px;
}

#adbutler-category-content {
    padding: 1em;
}

#adbutler-category-content .category {
    display: block;
    margin: 8px 0;
}

#adbutler-categories-restrict-label {
    position: relative;
    display: block;
    margin: 1em 0;
}

#adbutler_hb_timeout {
    width: 5em;
}

.adbutler-restrict-list {
    margin-left: 1em;
}

.adbutler-restrict-section {
    margin-bottom: 1em;
}

.adbutler-restrict-section:last-child {
    margin-bottom: 0.5em;
}