/*------------------------------------*\
    TEMPLATES GLOBAL
\*------------------------------------*/

a {
    color: #f85200;
    text-decoration: underline;
}

a:hover {
    color: #ff864a;
}

div[data-editable="text"] ul,
div[data-editable="text"] ol {
    padding-left: 34px;
}

div[data-editable="text"] ol li,
div[data-editable="text"] ul li {
    margin: 6px 0;
}

/* [ 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: #f85200;
    color: #ffffff;
}

/* [ Button text ] */
div[data-editable="button"] button,
div[data-editable="webinarButton"] button,
div[data-editable="webform"] button,
div[data-editable="webformNewButton"] button {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 16px;
    font-weight: 700;
    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: #ff864a;

}

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;
}

/* [ Base text ] */
div.text-content,
div.font-styles,
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-family: 'PT Sans', Helvetica, sans-serif;
    color: #000000;
    line-height: 1.3;
}

/* [ 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-family: 'PT Sans', Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #070707;
}


/* 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: #070707;
}

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

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

/* [ 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-color: #f9f9f9;
    font-size: 14px;
}

div[data-editable="webformNew"] [data-item-what="phone"] input[type="text"],
div[data-editable="webinarNew"] [data-item-what="phone"] input[type="text"] {
    border: none;
}

div[data-editable="webformNew"] .directional::after {
    border-color: #fe2323 transparent transparent transparent;
}

[data-editable="webformNewItem"].opened .directional::after {
    border-color: transparent transparent #fe2323 transparent;
}

.custom-form [data-editable="webformNewItem"],
.custom-form [data-editable="webformNewButton"],
.custom-form [data-editable="webformNewItem"] [data-editable-item="label"],
.custom-form [data-editable="webformNewItem"] [data-editable-item="field"] {
    height: 50px;
}

.custom-form [data-editable="webformNewItem"][data-item-name="multi_checkbox"],
.custom-form [data-editable="webformNewItem"][data-item-name="multi_checkbox"] {
    height: auto;
}

.custom-form [data-editable="webformNewItem"] {
    width: 312px;
}

/* PRODUCT LIST */
[data-editable="productList"] .product-list-content {
    font-family: 'PT Sans', Helvetica, sans-serif;
    font-weight: 600;
    padding-right: 2px;
}

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

div[data-editable="productList"] .product-list-content-cell,
div[data-editable="productList"] .product-list-content-cell label {
    font-size: 17px;
    font-weight: 500;
    vertical-align: middle;
}

div[data-editable="productList"] .product-list-content-cell:nth-child(2) {
    padding-top: 2px;
    text-align: right;
}

div[data-editable="productList"] .product-list-content-cell[data-style-part="price"] {
    color: #070707;
}

div[data-editable="productList"] .product-list-total-price {
    font-family: 'PT Sans', Helvetica, sans-serif;
    font-weight: 700;
    color: #070707;
    font-size: 24px;
}

/* Product box */

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

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

        [data-column-count="2"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 80%;
        }

        [data-column-count="3"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 90%;
        }
    }
}

/* Product box items */
[data-editable="productsBox"] [data-component-part="product-box"] {
    box-shadow: none;
    border: 4px solid #070707;
    background-color: #ffffff;
    box-shadow: 0 0 25px 8px rgba(0, 0, 0, .05);
}

[data-editable="productsBox"] [data-dms-class="product-box-container"] {
    background-color: transparent;
    padding: 20px 20px 45px;
}

[data-editable="productsBox"] [data-component-part="product-name"] .text-content,
[data-editable="productsBox"] [data-component-part="product-name"] .font-styles {
    font-size: 26px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 700;
    color: #f24509;
}

[data-editable="productsBox"] [data-component-part="product-event-start-date"] .text-content,
[data-editable="productsBox"] [data-component-part="product-event-start-date"] .font-styles {
    font-size: 20px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #070707;
}

[data-editable="productsBox"] [data-component-part="product-description"] .text-content,
[data-editable="productsBox"] [data-component-part="product-description"] .font-styles {
    font-size: 16px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 400;
    line-height: 1.4;
    color: #070707;
    word-break: break-word;
}

[data-editable="productsBox"] [data-component-part="product-price"] .text-content,
[data-editable="productsBox"] [data-component-part="product-price"] .font-styles {
    font-size: 32px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    color: #070707;
    word-break: break-word;
    line-height: 1.9;
}

[data-editable="productsBox"] [data-component-part="product-delivery-token-title"] .text-content,
[data-editable="productsBox"] [data-component-part="product-delivery-token-title"] .font-styles {
    font-size: 16px;
    font-family: 'PT Sans', sans-serif;
    color: #070707;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

[data-editable="productsBox"] [data-component-part="product-delivery-token"] .text-content,
[data-editable="productsBox"] [data-component-part="product-delivery-token"] .font-styles {
    font-size: 22px;
    font-family: 'PT Sans', sans-serif;
    color: #070707;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

[data-editable="productsBox"] [data-component-part="product-logo"] {
    margin-bottom: 15px;
}

[data-editable="productsBox"] [data-component-part="product-name"] {
    margin-bottom: 16px;
}

[data-editable="productsBox"] [data-component-part="product-event-start-date"] {
    margin-bottom: 12px;
}

[data-editable="productsBox"] [data-component-part="product-description"] {
    margin-bottom: 8px;
}

[data-editable="productsBox"] [data-component-part="product-price"] {
    margin-bottom: 9px;
}

[data-editable="productsBox"] [data-component-part="product-delivery-token-title"] {
    margin-bottom: 5px;
}

[data-editable="productsBox"] [data-component-part="product-delivery-token"] {
    margin-bottom: 12px;
}


[data-editable="productsBox"] [data-component-part="product-logo"] {
    margin-top: 0;
}

[data-editable="productsBox"] [data-component-part="product-description"],
[data-editable="productsBox"] [data-component-part="product-price"],
[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-delivery-token-title"],
[data-editable="productsBox"] [data-component-part="product-delivery-token"],
[data-editable="productsBox"] [data-component-part="product-instruction"] {
    text-align: center;
}

[data-editable="productsBox"] div[data-editable="button"] {
    border-radius: 0px;
    margin-right: auto;
}

[data-editable="productsBox"] div[data-editable="button"] button {
    padding: .7em 1.5em;
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

@supports (display: grid) {
    @media only screen and (min-width: 601px) {
        [data-column-count="1"][data-editable="productsBox"] [data-dms-class="product-box-container"] {
            padding: 20px;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-name"] {
            text-align: left;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-description"] {
            text-align: left;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-price"] {
            text-align: left;
        }

        [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;
        }


        [data-column-count="2"][data-editable="productsBox"] div[data-editable="button"] button {
            padding: .7em 1.5em;
        }

        [data-column-count="3"][data-editable="productsBox"] div[data-editable="button"] button {
            padding: .7em 1.5em;
        }
    }
}

@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 auto auto 1fr auto  auto auto auto;
        grid-gap: 0;
        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-delivery-token-title"],
    [data-editable="productsBox"] [data-component-part="product-delivery-token"],
    [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: center;
    }

    @media only screen and (min-width: 601px) {
        [data-column-count="1"][data-editable="productsBox"] [data-dms-class="product-box-container"] {
            grid-template-areas:
                "logo name"
                "logo date"
                "logo description"
                "logo price"
                "logo token-label"
                "logo token"
                "logo button";
            grid-template-columns: 220px auto;
            grid-template-rows: auto auto 1fr auto  auto auto auto;
            grid-gap: 0;
            justify-items: center;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-logo"] {
            justify-self: start;
            margin: 0;
        }

        [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: left;
        }

        [data-column-count="1"][data-editable="productsBox"] [data-component-part="product-instruction"] {
            justify-self: stretch;
        }
    }
}
