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

a {
    color:#7f7f7f;
    text-decoration: none;
}

a:hover {
    color:#00ffe4;
}

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 {
    min-width: 220px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    background-color:#ffe224;
    color: #3a3c47;

}

/* [ 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', Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #3a3c47;
}

/* [ 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: #ffe224;

}

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: #3a3c47;
}

/* [ 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: 22px;
    font-family: 'Roboto', Helvetica, sans-serif;
    color: #7f7f7f;
    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:'Roboto', Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color:#1e2a37;
}

/* [ Webform text ] */
div[data-editable="webform"] label,
div[data-editable="webformNew"] label,
div[data-editable="webinarNew"] label {
    font-size: 14px;
}

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

[data-editable="webformNew"] [data-editable-item="label"] label,
[data-editable="webinarNew"] [data-editable-item="label"] label {
    padding: 15px 15px 15px 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: 1px;
    background-color: transparent;
    border: 1px solid #abbdd8;
    font-size: 16px;
}

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: #989fa5 transparent transparent transparent;
}

[data-editable="webformNewItem"].opened .directional::after {
    border-color: transparent transparent #989fa5 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: 76px;
}

.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: 332px;
}

/* PRODUCT LIST */
[data-editable="productList"] .product-list-content {
    font-family:'Roboto', Helvetica, sans-serif;
    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;
    vertical-align: middle;
}

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

/* PRODUCTS BOX */
/* Jak potrzeba cos ostylowac to mozna dodawac swoje atrybuty - niestety nie da sie dodac "class" bo sysytem je usuwa - nie wiem dlaczego */

[data-editable="productsBox"] [data-dms-class="product-box-container"] {
    background-color: transparent;
}
[data-editable="productsBox"] [data-component-part="product-box"] {
    background-color: #ffffff;
    box-shadow: 0px 3px 73px 0px rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

[data-editable="productsBox"] div[data-editable="button"] button {
    font-size: 16px;
    font-weight: 500;
    padding: 0.7em 1.2em;
}

/* Stylowanie textu */
[data-editable="productsBox"] [data-component-part="product-name"] {
    text-align:center;
}
[data-editable="productsBox"] [data-component-part="product-name"] .font-styles {
    font-family:'Roboto', sans-serif;
    font-weight: bold;
    color: #3a3c47;
    font-size:18px;
    line-height: 1.3;
}

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

[data-editable="productsBox"] [data-component-part="product-description"] {
    text-align:left;
}
[data-editable="productsBox"] [data-component-part="product-description"] .font-styles {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    color: #666666;
    font-size:12px;
    line-height: 1.3;
}

[data-editable="productsBox"] [data-component-part="product-price"] {
     text-align:center;
}
[data-editable="productsBox"] [data-component-part="product-price"] .font-styles {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #3a3c47;
    font-size:40px;
    line-height: 1.2;
}

@supports (display: grid) {
    [data-editable="productsBox"] [data-component-part="products-box-content"] {
    padding: 40px 0;
    }
    @media only screen and (min-width: 601px) {
        [data-column-count="1"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 640px;
        }
        [data-column-count="2"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 620px;
        }
        [data-column-count="3"][data-editable="productsBox"] [data-component-part="products-box-content"] {
            width: 980px;
        }
    }
}
