/*------------------------------------*\
    CUSTOM
\*------------------------------------*/

[data-workspace-desktop-width="940"] [data-section="wrap"],
[data-section="wrap"] {
    width: 940px;
}

/* [ Button container ] */
div[data-editable="button"],
div[data-editable="webinarButton"],
div[data-editable="webform"] button,
div[data-editable="webformNewButton"] button {
    border-radius: 0;
    background-color: #dc495b;
}

/* [ Button text ] */
div[data-editable="button"] button,
div[data-editable="webinarButton"] button,
div[data-editable="webform"] button,
div[data-editable="webformNewButton"] button {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

/* [ Button :hover ] */
div[data-editable="button"].hover,
div[data-editable="webinarButton"].hover,
div[data-editable="webform"] div[data-type="submit"].hover button,
[data-editable="webformNewButton"].hover button {
    background-color: #f26879;
}
div[data-editable="button"].hover button,
div[data-editable="webinarButton"].hover button,
div[data-editable="webform"] div[data-type="submit"].hover button,
[data-editable="webformNewButton"].hover button {
    color: #ffffff;
}

/* [ Countdown timer ] */

[data-editable="countdownTimer"] [data-editable="countdownTimerBox"] {
    background: none;
}

[data-editable="countdownTimer"] [data-editable="countdownTimerDigit"] [data-editable-item="days-value"],
[data-editable="countdownTimer"] [data-editable="countdownTimerDigit"] [data-editable-item="hours-value"],
[data-editable="countdownTimer"] [data-editable="countdownTimerDigit"] [data-editable-item="minutes-value"],
[data-editable="countdownTimer"] [data-editable="countdownTimerDigit"] [data-editable-item="seconds-value"] {
    font-family: Roboto, sans-serif;
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
}

[data-editable="countdownTimer"] [data-editable="countdownTimerLabel"] [data-editable-item="days-label"],
[data-editable="countdownTimer"] [data-editable="countdownTimerLabel"] [data-editable-item="hours-label"],
[data-editable="countdownTimer"] [data-editable="countdownTimerLabel"] [data-editable-item="minutes-label"],
[data-editable="countdownTimer"] [data-editable="countdownTimerLabel"] [data-editable-item="seconds-label"] {
    font-family: Roboto, sans-serif;
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
}

/* [ Base text ] */
div.text-content,
div[data-editable="webform"] label,
div[data-editable="webform"] input[type="text"],
div[data-editable="webform"] input[type="email"],
div[data-editable="webform"] textarea,
div[data-editable="webform"] select,
div[data-editable="webformNew"] label,
div[data-editable="webformNew"] input[type="text"],
div[data-editable="webformNew"] input[type="email"],
div[data-editable="webformNew"] textarea,
div[data-editable="webformNew"] select,
div[data-editable="webformNew"] .directional,
div[data-editable="webinarNew"] label,
div[data-editable="webinarNew"] input[type="text"],
div[data-editable="webinarNew"] input[type="email"],
div[data-editable="webinarNew"] textarea,
div[data-editable="webinarNew"] select,
div[data-editable="webinarNew"] .directional {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Roboto', Helvetica, sans-serif;
    line-height: 1.3;
    color: #000000;
}

/* [ Webform text ] */
div[data-editable="webform"] label,
div[data-editable="webform"] input[type="text"],
div[data-editable="webform"] input[type="email"],
div[data-editable="webform"] textarea,
div[data-editable="webform"] select,
div[data-editable="webformNew"] label,
div[data-editable="webformNew"] input[type="text"],
div[data-editable="webformNew"] input[type="email"],
div[data-editable="webformNew"] textarea,
div[data-editable="webformNew"] select,
div[data-editable="webformNew"] .directional,
div[data-editable="webinarNew"] label,
div[data-editable="webinarNew"] input[type="text"],
div[data-editable="webinarNew"] input[type="email"],
div[data-editable="webinarNew"] textarea,
div[data-editable="webinarNew"] select,
div[data-editable="webinarNew"] .directional {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    line-height: 1.3;
}

/* Style placeholder */
div[data-editable="webform"] label,
div[data-editable="webformNew"] label,
div[data-editable="webformNew"] select,
div[data-editable="webformNew"] .directional,
div[data-editable="webinarNew"] .directional {
    color: #848484;
}

[data-editable="webformNew"] [data-editable-item="label"] label,
[data-editable="webinarNew"] [data-editable-item="label"] label {
    padding: 20px 0 0 4px;
}

div[data-editable="orderForm"] [data-editable="orderFormItem"] .input-style {
    padding: 18px 0 6px 11px;
}

/* [ Webform inputs ] */
div[data-editable="webform"] input[type="text"],
div[data-editable="webform"] input[type="email"],
div[data-editable="webform"] textarea,
div[data-editable="webform"] select,
div[data-editable="webformNew"] input[type="text"],
div[data-editable="webformNew"] input[type="email"],
div[data-editable="webformNew"] [data-item-what="phone"] .fix-table-bug,
div[data-editable="webformNew"] textarea,
div[data-editable="webformNew"] select,
div[data-editable="webinarNew"] input[type="text"],
div[data-editable="webinarNew"] input[type="email"],
div[data-editable="webinarNew"] [data-item-what="phone"] .fix-table-bug,
div[data-editable="webinarNew"] textarea,
div[data-editable="webinarNew"] select,
div[data-editable="orderForm"] [data-editable="orderFormItem"] .input-style-container {
    border-radius: 0;
    border: 0;
    background: #ffffff;
}

/* PRODUCT LIST */
[data-editable="productList"] .product-list-content {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding-right: 2px;
    color: #000;
}

[data-editable="productList"] .no-products {
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

div[data-editable="productList"] .product-list-content-container {
    top: 15px;
}

div[data-editable="productList"] [data-style-part="name"] {
    padding-left: 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding-right: 2px;
    color: #000;
}
div[data-editable="productList"] [data-style-part="price"] {
    padding-left: 5px;
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: #ff697b;
}

div[data-editable="productList"] .product-list-content-cell,
div[data-editable="productList"] .product-list-content-cell label {
    vertical-align: middle;
}

div[data-editable="productList"] .product-list-summary {
    border-top: 1px solid #e7e7e7;
}

div[data-editable="productList"] .product-list-total-price {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #ff697b;
    top: 0;
}


/* Product box */

[data-editable="productsBox"] [data-component-part="products-box-content"] {
    padding: 40px 0;
}

@supports (display: grid) {
    @media only screen and (min-width: 601px) {
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 460px;
        }
    }
}

/* Product box items */
[data-editable="productsBox"] [data-component-part="product-box"] {
    border: 4px solid #ffffff;
    background-color: #280047;
}
[data-editable="productsBox"] [data-dms-class="product-box-container"] {
    background-color: transparent;
}
[data-editable="productsBox"] [data-component-part="product-name"] .text-content {
    font-family: Raleway, sans-serif;
    font-weight: 900;
    color: #ffffff;
}
[data-editable="productsBox"] [data-component-part="product-event-start-date"] .text-content {
    font-size: 16px;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #ff697b;
}
[data-editable="productsBox"] [data-component-part="product-description"] .text-content {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
}
[data-editable="productsBox"] [data-component-part="product-price"] .text-content {
    font-size: 32px;
    font-family: Roboto, sans-serif;
    color: #ff697b;
    font-weight: 900;
    word-break: break-word;
    line-height: 1.3;
}
[data-editable="productsBox"] [data-component-part="product-delivery-token-title"] .text-content {
    font-size: 16px;
    font-family: Roboto, sans-serif;
    color: #ff697b;
    font-weight: 700;
    line-height: 1.3;
}
[data-editable="productsBox"] [data-component-part="product-delivery-token"] .text-content {
    font-size: 22px;
    font-family: Raleway, sans-serif;
    color: #ffffff;
    font-weight: 900;
    line-height: 1.3;
}

[data-editable="productsBox"] [data-component-part="product-event-start-date"] {
    text-align: center;
    margin-bottom: 17px;
}
[data-editable="productsBox"] [data-component-part="product-delivery-token-title"] {
    text-align: center;
    margin-bottom: 16px;
}
[data-editable="productsBox"] [data-component-part="product-delivery-token"] {
    text-align: center;
    margin-bottom: 16px;
}

[data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
[data-editable="productsBox"] [data-component-part="product-link"],
[data-editable="productsBox"] [data-component-part="product-external-url"],
[data-editable="productsBox"] [data-component-part="product-internal-url"],
[data-editable="productsBox"] [data-component-part="product-instruction"] {
    margin: auto;
}

[data-editable="productsBox"] div[data-editable="button"] {
    border-radius: 0px;
}
[data-editable="productsBox"] div[data-editable="button"] button{
    padding: 0.8em 2em;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
}

@supports (display: grid) {
    [data-editable="productsBox"] [data-component-part="product-logo"] {
        margin-bottom: 15px;
    }
    [data-editable="productsBox"] [data-component-part="product-name"] {
        margin-bottom: 10px;
    }
    [data-editable="productsBox"] [data-component-part="product-event-start-date"] {
        margin-bottom: 10px;
    }
    [data-editable="productsBox"] [data-component-part="product-description"] {
        margin-bottom: 9px;
    }
    [data-editable="productsBox"] [data-component-part="product-price"] {
        margin-bottom: 9px;
    }
    [data-editable="productsBox"] [data-component-part="product-delivery-token-title"] {
        margin-bottom: -4px;
    }
    [data-editable="productsBox"] [data-component-part="product-delivery-token"] {
        margin-bottom: 25px;
    }
    @media only screen and (min-width: 601px) {
        [data-column-count="1"][data-editable="productsBox"] [data-dms-class="product-box-container"] {
            padding: 31px 56px 56px;
        }
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-name"] {
            text-align: center;
        }
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-description"] {
            text-align: center;
        }
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-price"] {
            text-align: center;
        }
        [data-column-count="1"]
        [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
        [data-editable="productsBox"] [data-component-part="product-link"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-external-url"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-internal-url"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-instruction"] {
            margin: 0;
        }
    }
}

@supports (display: grid) {
    [data-editable="productsBox"] [data-dms-class="product-box-container"] {
        grid-template-areas:    "logo"
                                "name"
                                "date"
                                "description"
                                "price"
                                "token-label"
                                "token"
                                "button";
        grid-template-columns: auto;
        grid-template-rows: auto;
        justify-items: center;
    }
    [data-editable="productsBox"] [data-component-part="product-logo"] {
        grid-area: logo !important;
    }
    [data-editable="productsBox"] [data-component-part="product-name"] {
        grid-area: name !important;
    }
    [data-editable="productsBox"] [data-component-part="product-event-start-date"] {
        grid-area: date !important;
    }
    [data-editable="productsBox"] [data-component-part="product-description"] {
        grid-area: description !important;
    }
    [data-editable="productsBox"] [data-component-part="product-price"] {
        grid-area: price !important;
    }
    [data-editable="productsBox"] [data-component-part="product-delivery-token-title"] {
        grid-area: token-label !important;
    }
    [data-editable="productsBox"] [data-component-part="product-delivery-token"] {
        grid-area: token !important;
    }

    [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
    [data-editable="productsBox"] [data-component-part="product-link"],
    [data-editable="productsBox"] [data-component-part="product-external-url"],
    [data-editable="productsBox"] [data-component-part="product-internal-url"],
    [data-editable="productsBox"] [data-component-part="product-instruction"] {
        align-self: end;
    }

    [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
    [data-editable="productsBox"] [data-component-part="product-link"],
    [data-editable="productsBox"] [data-component-part="product-external-url"],
    [data-editable="productsBox"] [data-component-part="product-internal-url"],
    [data-editable="productsBox"] [data-component-part="product-instruction"] {
        grid-area: button !important;
    }

    [data-editable="productsBox"] [data-component-part="product-name"],
    [data-editable="productsBox"] [data-component-part="product-event-start-date"],
    [data-editable="productsBox"] [data-component-part="product-description"],
    [data-editable="productsBox"] [data-component-part="product-price"] {
        justify-self: stretch;
    }

    [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
    [data-editable="productsBox"] [data-component-part="product-link"],
    [data-editable="productsBox"] [data-component-part="product-external-url"],
    [data-editable="productsBox"] [data-component-part="product-internal-url"],
    [data-editable="productsBox"] [data-component-part="product-instruction"] {
        justify-self: stretch;
    }

    @media only screen and (min-width: 601px) {
        [data-column-count="1"][data-editable="productsBox"] [data-dms-class="product-box-container"] {
            grid-template-columns: auto;
            grid-template-rows: auto;
            justify-items: center;
        }
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-logo"] {
            justify-self: center;
        }

        [data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
        [data-editable="productsBox"] [data-component-part="product-link"],
        [data-editable="productsBox"] [data-component-part="product-external-url"],
        [data-editable="productsBox"] [data-component-part="product-internal-url"],
        [data-editable="productsBox"] [data-component-part="product-instruction"] {
            align-self: end;
        }
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-join-the-webinar"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-link"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-external-url"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-internal-url"],
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-instruction"] {
            justify-self: stretch;
        }
    }
}

@supports (display: grid) {
    @media only screen and (min-width: 601px) {
        [data-column-count="3"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 940px;
        }
    }
}
