/* ============================================================= */
/* Block
/* ============================================================= */

/* Block Admin
/* ------------------------------------------------------------- */

.dp-woocommerce-block.is-admin {
    position: relative;
    border: solid 1px #eee;
    padding: 60px 0;
    overflow: visible;
    justify-content: center;
}

.dp-woocommerce-block.is-admin .block-label {
    position: absolute;
    bottom: 100%;
    right: 10px;
    font-family: Lato, Arial, sans-serif;
    background-color: #eee;
    color: #000000;
    font-weight: 400;
    padding: 3px 7px;
    font-size: 10px;
}

.dp-woocommerce-block.is-admin ul.wc-block-grid__products {
    list-style: none;
    display: flex;
}

.dp-woocommerce-block.is-admin ul > li.product {
    display: flex;
    flex-direction: column;
    flex: 1 0 25%;
    max-width: 20%;
    border-bottom: 16px solid transparent;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    float: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
    width: auto;
}

.dp-woocommerce-block.is-admin .attachment-woocommerce_thumbnail {
    margin: 0 0 12px;
}

.dp-woocommerce-block.is-admin h2.woocommerce-loop-product__title {
    font-size: 20px;
    margin: 0 0 12px;
}

.dp-woocommerce-block.is-admin p.price {
    color: #52a133;
}

.dp-woocommerce-block.is-admin a.button {
    display: none;
}


/* Block Frontend
/* ------------------------------------------------------------- */

.dp-woocommerce-block {
    display: flex;
    position: relative;
    outline: none;
    border: solid 0 transparent;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: scroll;
    padding: 60px 0;
    margin: 0;
}

.dp-woocommerce-block.has-background-color > .dp-woocommerce-block-inner:before {
    content: "";
    position: absolute;
    background-image: url("../../assets/images/logo-neumayer-mark-white.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 200px;
    height: 50px;
    top: 0;
    right: 0;
}

.dp-woocommerce-block.has-background-color > .dp-woocommerce-block-inner:after {
    content: "";
    position: absolute;
    background-image: url("../../assets/images/logo-neumayer-mark-white.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 200px;
    height: 50px;
    bottom: 0;
    left: 0;
}


.dp-woocommerce-block-inner {
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

.dp-woocommerce-block.alignfull > .dp-woocommerce-block-inner {
    padding-right: 15px;
    padding-left: 15px;
}

.dp-woocommerce-block.content-align-top > .dp-woocommerce-block-inner {
    align-self: flex-start;
}

.dp-woocommerce-block.content-align-center > .dp-woocommerce-block-inner {
    align-self: center;
}

.dp-woocommerce-block.content-align-bottom > .dp-woocommerce-block-inner {
    align-self: flex-end;
}

.dp-woocommerce-block .dp-woocommerce-block-inner.full-width {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.dp-woocommerce-block .dp-woocommerce-block-inner.narrow-width {
    max-width: 800px;
}


.dp-woocommerce-block ul.wc-block-grid__products {
    list-style: none;
    display: block;
	padding: 0;
	margin: 0;
}

.dp-woocommerce-block ul > li.product {
    /*flex: 1 0 25%;*/
    /*max-width: 25%;*/
    border-bottom: 16px solid transparent;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    float: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
    width: auto;
}

.dp-woocommerce-block .attachment-woocommerce_thumbnail {
    margin: 0 0 12px;
}

.dp-woocommerce-block h2.woocommerce-loop-product__title {
    font-size: 20px;
    margin: 0 0 12px;
}

.dp-woocommerce-block p.price {
    color: #52a133;
}

.dp-woocommerce-block ul > li.product span.onsale {
    display: none;
}

.dp-woocommerce-block a.button {
    display: none;
}


/* ============================================================= */
/* Heading
/* ============================================================= */

/* Heading Admin
/* ------------------------------------------------------------- */

.dp-woocommerce-block.is-admin .pc-heading-2-rows span {
    height: 50px;
    color: #52a133;
}

.dp-woocommerce-block.is-admin .pc-heading-2-rows.text-align-center {
    text-align: center;
}

.dp-woocommerce-block.is-admin .pc-heading-2-rows.text-align-left {
    text-align: left;
}

.dp-woocommerce-block.is-admin .pc-heading-2-rows.text-align-right {
    text-align: right;
}

.dp-woocommerce-block.is-admin h1.pc-heading-2-rows .is-style-heading-size-1 { font-size: 60px; }
.dp-woocommerce-block.is-admin h1.pc-heading-2-rows .is-style-heading-size-2 { font-size: 50px; }
.dp-woocommerce-block.is-admin h1.pc-heading-2-rows .is-style-heading-size-3 { font-size: 40px; }

.dp-woocommerce-block.is-admin h2.pc-heading-2-rows .is-style-heading-size-1 { font-size: 60px; }
.dp-woocommerce-block.is-admin h2.pc-heading-2-rows .is-style-heading-size-2 { font-size: 50px; }
.dp-woocommerce-block.is-admin h2.pc-heading-2-rows .is-style-heading-size-3 { font-size: 40px; }

.dp-woocommerce-block.is-admin h3.pc-heading-2-rows .is-style-heading-size-1 { font-size: 60px; }
.dp-woocommerce-block.is-admin h3.pc-heading-2-rows .is-style-heading-size-2 { font-size: 50px; }
.dp-woocommerce-block.is-admin h3.pc-heading-2-rows .is-style-heading-size-3 { font-size: 40px; }

.dp-woocommerce-block.is-admin .pc-heading-2-rows .is-style-heading-size-1:not(:first-of-type),
.dp-woocommerce-block.is-admin .pc-heading-2-rows .is-style-heading-size-2:not(:first-of-type),
.dp-woocommerce-block.is-admin .pc-heading-2-rows .is-style-heading-size-r:not(:first-of-type) {
    font-size: 40px;
}

/* Heading Frontend
/* ------------------------------------------------------------- */

#pc-heading-marker:first-of-type {
    display: flex;
    position: relative;
    background-image: url("./../../assets/images/logo-neumayer-mark-green.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    width: 100px;
    height: 100px;
    left: calc((100%/2) - (100px/2));
    top: 0;
    margin: 20px 0 -10px 0;
}

#pc-heading-marker:first-of-type::before {
    content: "";
    position: absolute;
    background-image: url("./../../assets/images/logo-neumayer-border.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    width: 100px;
    height: 100px;
    height: 100px;
    left: calc((100%/2) - (100px/2));
    top: 0;
    z-index: -1;
    transform: translate(0.5em, -0.75em);
}

h1.pc-heading-2-rows:first-of-type {
    margin-top: 0;
}

h1.pc-heading-2-rows .is-style-heading-size-1 { font-size: 34px; }
h1.pc-heading-2-rows .is-style-heading-size-2 { font-size: 28px; }
h1.pc-heading-2-rows .is-style-heading-size-3 { font-size: 26px; }

h2.pc-heading-2-rows .is-style-heading-size-1 { font-size: 34px; }
h2.pc-heading-2-rows .is-style-heading-size-2 { font-size: 28px; }
h2.pc-heading-2-rows .is-style-heading-size-3 { font-size: 26px; }

h3.pc-heading-2-rows .is-style-heading-size-1 { font-size: 34px; }
h3.pc-heading-2-rows .is-style-heading-size-2 { font-size: 28px; }
h3.pc-heading-2-rows .is-style-heading-size-3 { font-size: 26px; }

.pc-heading-2-rows {
    line-height: 0;
}

.pc-heading-2-rows span {
    position: relative;
    display: block;
    margin: 0;
}

.pc-heading-2-rows .is-style-heading-size-1:first-of-type::before,
.pc-heading-2-rows .is-style-heading-size-2:first-of-type::before,
.pc-heading-2-rows .is-style-heading-size-3:first-of-type::before {
    content: attr(data-title) "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: inherit;
    color: #FFFFFF;
    text-shadow:  1px  1px 1px #50AF47,
    1px -1px 1px #50AF47,
    -1px  1px 1px #50AF47,
    -1px -1px 1px #50AF47;
    opacity: 0.15;
    z-index: -1;
    transform: translate(0.125em, -0.3em);
}

.pc-heading-2-rows .is-style-heading-size-1:not(:first-of-type),
.pc-heading-2-rows .is-style-heading-size-2:not(:first-of-type),
.pc-heading-2-rows .is-style-heading-size-3:not(:first-of-type) {
    font-size: 28px;
}


/* ============================================================= */
/* Button
/* ============================================================= */

/* Button Admin
/* ------------------------------------------------------------- */

.dp-woocommerce-block-button.text-align-center.is-admin {
    text-align: center;
}

.dp-woocommerce-block-button.text-align-left.is-admin {
    text-align: left;
    left: 0;
}

.dp-woocommerce-block-button.text-align-right.is-admin {
    text-align: right;
    left: 100%;
}

/* Button Frontend
/* ------------------------------------------------------------- */

#dp-woocommerce-block-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

a.dp-woocommerce-block-button {
    position: relative;
    display: inline-block;
    color: #52a133 !important;
    font-size: 1.1em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    margin: 1em 0 2em;
    padding: 10px 20px;
    overflow: hidden;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: all 0.2s linear;
}

a.dp-woocommerce-block-button span {
    position: absolute;
    display: block;
}

/* Button Line bottom
/* ------------------------------------------------------------- */

a.dp-woocommerce-block-button span:nth-child(3) {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #52a133;
}

/* Button Line right animated
/* ------------------------------------------------------------- */

a.dp-woocommerce-block-button span:nth-child(2) {
    bottom: 0;
    right: 0;
    width: 1px;
    height: 0;
    background: #52a133;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.6s;
    -o-transition-delay: 0.6s;
    transition-delay: 0.6s;
}

a.dp-woocommerce-block-button:hover span:nth-child(2),
a.dp-woocommerce-block-button:active span:nth-child(2),
a.dp-woocommerce-block-button:focus span:nth-child(2),
a.dp-woocommerce-block-button:visited span:nth-child(2) {
    height: 100%;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
}


/* Button Line top animated
/* ------------------------------------------------------------- */

a.dp-woocommerce-block-button span:nth-child(1) {
    top: 0;
    right: -100%;
    width: 100%;
    height: 1px;
    background: #52a133;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.4s;
    -o-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

a.dp-woocommerce-block-button:hover span:nth-child(1),
a.dp-woocommerce-block-button:active span:nth-child(1),
a.dp-woocommerce-block-button:focus span:nth-child(1),
a.dp-woocommerce-block-button:visited span:nth-child(1) {
    right: 0;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.4s;
    -o-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

/* Button Line left animated
/* ------------------------------------------------------------- */

a.dp-woocommerce-block-button span:nth-child(4) {
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
    background: #52a133;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

a.dp-woocommerce-block-button:hover span:nth-child(4),
a.dp-woocommerce-block-button:active span:nth-child(4),
a.dp-woocommerce-block-button:focus span:nth-child(4),
a.dp-woocommerce-block-button:visited span:nth-child(4) {
    height: 100%;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-transition-delay: 0.6s;
    -o-transition-delay: 0.6s;
    transition-delay: 0.6s;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    /* ============================================================= */
    /* Block
    /* ============================================================= */

    .dp-woocommerce-block-inner {
        max-width: 540px;
    }

}



/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    /* ============================================================= */
    /* Block
    /* ============================================================= */

    .dp-woocommerce-block-inner {
        max-width: 720px;
    }

    .dp-woocommerce-block ul.wc-block-grid__products {
        display: flex;
		flex-wrap: wrap;
		padding: 0;
		margin: 0;
    }

    .dp-woocommerce-block ul > li.product {
        display: flex;
        flex-direction: column;
        flex: 1 0 25%;
        max-width: 25%;
    }


    /* ============================================================= */
    /* Heading
    /* ============================================================= */

    #pc-heading-marker:first-of-type::before {
        width: 150px;
        height: 150px;
        left: calc((100%/2) - (150px/2));
    }

    #pc-heading-marker:first-of-type {
        width: 150px;
        height: 150px;
        left: calc((100%/2) - (150px/2));
    }

    h1.pc-heading-2-rows .is-style-heading-size-1 { font-size: 50px; }
    h1.pc-heading-2-rows .is-style-heading-size-2 { font-size: 36px; }
    h1.pc-heading-2-rows .is-style-heading-size-3 { font-size: 32px; }

    h2.pc-heading-2-rows .is-style-heading-size-1 { font-size: 50px; }
    h2.pc-heading-2-rows .is-style-heading-size-2 { font-size: 36px; }
    h2.pc-heading-2-rows .is-style-heading-size-3 { font-size: 32px; }

    h3.pc-heading-2-rows .is-style-heading-size-1 { font-size: 50px; }
    h3.pc-heading-2-rows .is-style-heading-size-2 { font-size: 36px; }
    h3.pc-heading-2-rows .is-style-heading-size-3 { font-size: 32px; }

    .pc-heading-2-rows .is-style-heading-size-1:not(:first-of-type),
    .pc-heading-2-rows .is-style-heading-size-2:not(:first-of-type),
    .pc-heading-2-rows .is-style-heading-size-r:not(:first-of-type) {
        font-size: 36px;
    }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .dp-woocommerce-block-inner {
        max-width: 960px;
    }

}


/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    /* ============================================================= */
    /* Block
    /* ============================================================= */

    .dp-woocommerce-block.has-background-color > .dp-woocommerce-block-inner:before {
        width: 300px;
        height: 75px;
        top: 0;
        right: 0;
    }

    .dp-woocommerce-block.has-background-color > .dp-woocommerce-block-inner:after {
        width: 300px;
        height: 75px;
        bottom: 0;
        left: 0;
    }

    .dp-woocommerce-block-inner {
        max-width: 1140px;
    }


    /* ============================================================= */
    /* Heading
    /* ============================================================= */

    h1.pc-heading-2-rows .is-style-heading-size-1 { font-size: 80px; }
    h1.pc-heading-2-rows .is-style-heading-size-2 { font-size: 60px; }
    h1.pc-heading-2-rows .is-style-heading-size-3 { font-size: 50px; }

    h2.pc-heading-2-rows .is-style-heading-size-1 { font-size: 80px; }
    h2.pc-heading-2-rows .is-style-heading-size-2 { font-size: 60px; }
    h2.pc-heading-2-rows .is-style-heading-size-3 { font-size: 50px; }

    h3.pc-heading-2-rows .is-style-heading-size-1 { font-size: 80px; }
    h3.pc-heading-2-rows .is-style-heading-size-2 { font-size: 60px; }
    h3.pc-heading-2-rows .is-style-heading-size-3 { font-size: 50px; }

    .pc-heading-2-rows .is-style-heading-size-1:not(:first-of-type),
    .pc-heading-2-rows .is-style-heading-size-2:not(:first-of-type),
    .pc-heading-2-rows .is-style-heading-size-3:not(:first-of-type) {
        font-size: 40px;
    }

}

/* Extra extra large devices (x-large desktops, 1400px and up) */
@media (min-width: 1400px) {

    /* ============================================================= */
    /* Block
    /* ============================================================= */

    .dp-woocommerce-block-inner {
        max-width: 1320px;
    }

}