/* 
###
BACKSTAGE 5.1 CSS > SHOP PLUGIN
###
*/

*.mob {
    display: none;
}

/* ##### */
/* ##### */
/* ##### */
/* PRODUCT_CATEGORY_LISTING > shopcategory.php */
.shop_products {
    width: 100%;
}
.shop_products h1 {
    width: 100%;
}
.shop_products .page_content {
    min-height: 0;
}
/*.shop_products .shop_products_intro {
    margin-bottom: 20px;
}*/
.shop_products .shop_products_container {
    width: 102%;
    margin-left: -1%;
    margin-top: 35px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;    
}
.shop_products .product {
    width: 31.333%;
    margin: 1%;
    box-sizing: border-box;
    background: var(--background);
    position: relative;
    border:  4px solid var(--light);
    border-radius: 6px;
}
.shop_products .product a {
    display: block;
    text-align: center;
    color: var(--main);
}
.shop_products .product span {
    display: block;
    line-height: 1.4;
}
.shop_products .product .product_info {
    padding: 30px 10px;
    border-top:  4px solid var(--light);
}
.shop_products .product span.title {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2em;
    display: block;
}
.shop_products .product span.price {
    
    margin-bottom: 20px;
}
.shop_products .product .img {
    height: 270px;
    background: #fff;
}
.shop_products .product .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    box-sizing: border-box;
    position: relative;
    padding: 10% 5%;
    object-position: 50% 50%;
    mix-blend-mode: multiply;
}
@media screen and (max-width: 1000px) {
    /* PRODUCT_CATEGORY_LISTING */
    .shop_products {
        width: 100%;
    }
    .shop_products .product {
        width: 100%;
        margin-bottom: 15px;
    }
 
}



/* ##### */
/* ##### */
/* ##### */
/* PRODUCT_SINGLE_ITEM > shopproduct.php */
.page_content.product {
    display: flex;
    width: 100%;
}
.page_content.product .product_column {
    width: 50%;
    box-sizing: border-box;
}
/* size/order two columns */
.page_content.product .product_column.first {
    width: 70%;
    padding-right: 100px;
}
.page_content.product .product_column.second {
    margin-top: 30px;
    width: 30%;
    position: sticky;
    top: 160px;
    align-self: flex-start;
}
/* elements in columns */
.page_content.product .product_column .productmedia {
    width: 100%;
    height: 500px;
    box-sizing: border-box;
}
.page_content.product .product_column .productmedia .product-images {
    height: 100%;
    border: 4px solid var(--light);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom: 0;
}
.page_content.product .product_column .productmedia .product-images a {
    display: flex;
    height: 100%;
}
.page_content.product .product_column .productmedia .product-images a img {
    display: block;
    object-fit: contain;
    object-position: 50% 50%;
    margin: auto;
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 80%;
}
.page_content.product .product_column .productmedia .product-images .owl-dots {
    display: none;
}

/* right column */

.page_content.product .product_column .description {
    border: 4px solid var(--light);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;    
    padding:  45px 30px;
    box-sizing: border-box;
}
.page_content.product .product_column .description,
.page_content.product .product_column .order {
    width: 100%;
}
.page_content.product .product_column .order {
    padding: 40px;
    border-radius: 6px;
    box-sizing: border-box;
    background: var(--light);
}

.page_content.product .product_column .free_shipment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
    padding: 25px 25px;
    font-size: 17px;
    font-style: italic;
    line-height: 1.2;
    border-radius: 6px;
    box-sizing: border-box;
    background: #f7efe4;
}
.page_content.product .product_column .free_shipment svg {
    display: block;
    width: 40px;
    height: 40px;
    fill: #122a33;
    opacity: 0.9;
}
.page_content.product .product_column .free_shipment span {
    padding-left: 20px;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.page_content.product .product_column .order:after {
    content: "";
    width: 0; 
    height: 0; 
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent; 
    border-right: 30px solid var(--light); 
    position: absolute;
    left:  -30px;
    top:  30px;
}


.page_content.product .product_column .order > span {
    display: block;
}
.page_content.product .product_column .order span.title {
    font-size: 1.4em;
}
.page_content.product .product_column .order span.price {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}
.page_content.product .product_column .order .product_variant,
.page_content.product .product_column .order .product_option,
.page_content.product .product_column .order .product_quantity {
    width: 100%;
    position: relative;
    margin-bottom: 10px;
    display: flex;
}
.page_content.product .product_column .order .product_quantity {
    border-top: 2px solid rgba(0,0,0,0.1);
    padding-top: 20px;
}
.page_content.product .product_column .order input[type=text],
.page_content.product .product_column .order textarea,
.page_content.product .product_column .order .product_option select,
.page_content.product .product_column .order .product_variant select,
.page_content.product .product_column .order .product_quantity select {
    margin-top: 0;
    padding: 10px;
    width: 65%;
    box-sizing: border-box;
    /*border: 1px solid #d5d5d5;*/
    border: none;
    background-color: #fff;
    font-family: inherit;
    font-size: inherit;
    -webkit-appearance: none;
    border-radius: 4px;
}
.page_content.product .product_column .order .product_option select {
    border: none;
}
.page_content.product .product_column .order .product_quantity select {
    border: none;
}
.page_content.product .product_column .order textarea {
    height: 100px;
    resize: none;
}
.page_content.product .product_column .order .product_option select,
.page_content.product .product_column .order .product_variant select,
.page_content.product .product_column .order .product_quantity select {
    margin-bottom: 0;
    background-image: url('../../images/icons/arrow-down.svg');
    background-size: 12px 12px;
    background-position: calc(100% - 10px) 50%;
    background-repeat: no-repeat; 
}
.page_content.product .product_column .order .product_variant select option:disabled {
    
}
.page_content.product .product_column .order .product_variant select + label.error {
    position: absolute;
    top: -50px;
    right: 0;
    display: inline-block;
    color: #fff;
    width: auto;
    padding: 12px 12px;
    line-height: 1;
    border-radius: 3px;
    font-size: 13.6px;
    background-color: #182d36;
}
.page_content.product .product_column .order .product_variant select + label.error:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #182d36;
    position: absolute;
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
}

.page_content.product .product_column .order .product_option span.opt_name,
.page_content.product .product_column .order .product_variant span.var_name,
.page_content.product .product_column .order .product_quantity span.opt_name {
    display: flex; align-items: center;
    width: 35%;
}
.page_content.product .product_column .order .btn {
    position: relative;
    left: -5px;
    margin-top: 30px;
    padding-left: 60px;
    width: calc(100% + 10px);
    background-image: url(../../images/icons/cart-submit-plus.svg);
    background-position: left 30px center;
    background-size: 13px;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1000px) {
    .page_content.product {
        flex-direction: column
    }
    .page_content.product .product_column.first {
        order: 1;
    }
    .page_content.product .product_column.second {
        order: 2;
        position: relative;
        top: auto;     
        margin-top: 2em;   
        margin-bottom: 0;   
    }
    .page_content.product .product_column,
    .page_content.product .product_column.first,
    .page_content.product .product_column.second {
        width: 100%;
        padding-right: 0;
    }
    .page_content.product .product_column .order {
        padding: 30px;
    }
    .page_content.product .product_column .order:after {
        content: none;
    }
    .page_content.product .product_column .order .btn {
        margin-top: 10px;
    }
    
    .page_content.product .product_column .productmedia {
        position: relative;
        padding-bottom: 75%;
        width: 100%;
        height: 0;
        box-sizing: border-box;
    }
    .page_content.product .product_column .productmedia .product-images {
        position: absolute;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }
    
    /*.page_content.product .product_column .productmedia {
        position: relative;
        top: auto;
        width: 100%;
        margin-bottom: 2em;
    }
    .page_content.product .product_column .productmedia a:hover:after {
        display: none;
    }
    .page_content.product .product_column .productmedia .product-all-media a {
        height: 30px;
    }  */
    .page_content.product .product_column .order .product_option,
    .page_content.product .product_column .order .product_variant,
    .page_content.product .product_column .order .product_quantity {
        flex-direction: column;
    }   
     .page_content.product .product_column .order input,
    .page_content.product .product_column .order textarea,
    .page_content.product .product_column .order .product_option select,
    .page_content.product .product_column .order .product_variant select,
    .page_content.product .product_column .order .product_quantity select,
    .page_content.product .product_column .order .product_option span.opt_name,
    .page_content.product .product_column .order .product_variant span.var_name,
    .page_content.product .product_column .order .product_quantity span.opt_name {
        width: 100%;
    }    
}


/* ##### */
/* ##### */
/* ##### */
/* SHOP-CTA-BUTTONS
.shopbtn,
.page_content.product .product_column .order input.shopbtn {
    background: var(--primarycta);
    border: 0 none;
    color: var(--background);
    cursor: pointer;
    margin-top: 30px;
    padding: 20px 25px!important;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    display: block;
    height: auto;
    font-weight: bold;
    text-align: center;
    border: 0;
    box-sizing: border-box;
    font-size: 1.2em;
    -webkit-appearance: none;
}
.shopbtn:hover,
.page_content.product .product_column .order input.shopbtn:hover {
    background: var(--main);
    color: var(--background);
}
.shopbtn.grey {
    background: #666;
}
.shopbtn.grey:hover {
    background: #999;
}
@media screen and (max-width: 1000px) {
}*/



/* ##### */
/* ##### */
/* ##### */
/** SHOP_CART > shopcart.php **/
.shop_cart {
    width: 100%;
    border: 4px solid var(--light);
    border-radius: 6px;
    box-sizing: border-box;
}
.shop_cart .header,
.shop_cart .row {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 4px solid var(--light);
}
.shop_cart .header {
    color: #999;
}
.shop_cart div {
    box-sizing: border-box;
    width: 17.5%;
}
.shop_cart div.artikel {
    width: 30%;
}
.shop_cart div.artikel span.title {
    font-weight: bold;
}
.shop_cart div.artikel span.option {
    display: block;
}
.shop_cart .row .img {
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 6.5%;
    width: 17.5%;
    height: 0;
}
.shop_cart div.img img {
    position: absolute;
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: 70%;
    height: auto;
    max-height: 100%;
}
.shop_cart div select {
    font-size: inherit;
    font-family: inherit;
    border-color: #ccc;
    padding: 5px;
}
.shop_cart div span.optname {
    color: #999;
}
.shop_cart select {
    background-image: url('../../images/icons/arrow-down.svg');
    background-size: 12px 12px;
    background-position: calc(100% - 10px) 50%;
    background-repeat: no-repeat; 
    -webkit-appearance: none;
    font-family: inherit;
    width: 60px;
    border-radius: 0;
    line-height: 1;
}
.shop_cart .row span.remove_item {
    position: relative;
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-top: 5px;
    margin-left: 6px;
    cursor: pointer;
    background-image: url(/images/icons/close.svg);
    background-size: 12px 12px;
    opacity: 0.5;
}
.shop_cart .row span.remove_item:hover {
    opacity: 1;
}
.shop_cart .totals {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    padding-bottom: 20px;
}
.shop_cart .totals span {
    display: block;
}
.shop_cart .totals span.value {
    font-weight: bold;
    font-size: 1.2em;
    white-space: nowrap;
}
.shop_cart .shopbtn-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 30px; 
    padding-top: 0;
}
.shop_cart .shopbtn-row a.shopbtn.toOrder {
    width: 25%;
    max-width: 100%;
    margin: 0;
}
@media screen and (max-width: 1000px) {
    /* CART */
    .shop_cart .header {
        display: none;
    }
    .shop_cart .row {
        flex-wrap: wrap;
        padding: 1em;
    }
    .shop_cart div,
    .shop_cart div.artikel {
        width: 100%;
    } 
    .shop_cart .row .img {
        padding-bottom: 50%; width: 100%;
    }
    .shop_cart div.img {
        margin-bottom: 10px;
    }
    .shop_cart div.img img {
        width: auto;
        margin: 0;
    }   
    .shop_cart .totals {
        padding: 1em;
    } 
    .shop_cart .totals span.value{
        font-size: 1em;
    }
    .shop_cart div span.optname,
    .mob {
        color: #999;
        display: inline-block;
        width: 50%;
    }
    .mob:after {
        content: ": ";
    }
    .shop_cart .shopbtn-row a.shopbtn.toOrder {
        width: 100%;
    }
}







/* ##### */
/* ##### */
/* ##### */
/** BESTELTRAJECT > shoporder.php **/
.shop_order_form {
    display: flex;
}
.shop_order .shop_order_form div.column {
    width: 33.333%;
    border: 4px solid var(--light);
    box-sizing: border-box;
    padding: 2em;
    position: relative;
    min-height: 250px;
}
.shop_order .shop_order_form div.column:nth-of-type(2) {
    border-left: 0;
    border-right: 0;
}
.shop_order .shop_order_form div.column.half {
    width: 50%;
}
.shop_order .shop_order_form div.column .shopbtn.bottomright /* add class to the button and get it out formelem */ {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 30px;
    width: calc(100% - 60px)
}
.shop_order .shop_order_form div.column div.formelem {
    width: 100%;
    display: block;
    margin-bottom: 15px;
    display: flex;
    position: relative;
}
.shop_order .shop_order_form div.column div.formelem.flexcolumnized {
    flex-direction: column;
}
#shippingcostcontainer {
    display: inline;
}
.shop_order .shop_order_form div.column div.formelem span {
    display: block;
    font-size: .8em;
    width: 50%;
    line-height: 2.1em;
    box-sizing: border-box;
    padding-right: 1em;
}
.shop_order .shop_order_form div.column h3 {
    font-size: 1.3em;
    font-weight: normal;
    margin-bottom: .4em;
}
.shop_order form input[type=text], .shop_order form textarea, .shop_order form select {
    border: 1px solid #d5d5d5;
    background-color: var(--background);
    border-radius: 0px;
    box-sizing: border-box;
    color: #333;
    float: left;
    font-family: inherit;
    font-size: inherit;
    padding: 10px;
    width: 50%;
    transition: border 150ms ease;
    -webkit-appearance: none;
    font-size: .9em;
}
.shop_order form select {
    background-image: url('../../images/icons/arrow-down.svg');
    background-size: 12px 12px;
    background-position: calc(100% - 10px) 50%;
    background-repeat: no-repeat; 
}
.shop_order form input.telefoon {
    width: 40%;
}
.shop_order form input.postcode {
    width: 30%;
}
.shop_order form input.huisnr {
    width: 15%;
}
.shop_order form input[readonly] {
    background: #f5f5f5;
}
.shop_order label.radiobtn, 
.shop_order label.checkbox {
    display: block;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 2px 0;
    padding-left: 35px;
    float: left;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    font-size: .8em;
    line-height: 1.4;
    cursor: pointer;
}
.shop_order label.radiobtn input,
.shop_order label.checkbox input {
    position: absolute;
    margin: 0;
    top: calc(50% + -1px);
    transform: translateY(-50%);
    left: 0;
    background: #ccbca0;
    /*border: 1px solid #ccbca0;*/
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    cursor: pointer;
}
.shop_order label.radiobtn input:checked,
.shop_order label.checkbox input:checked {
    background-image: url('../../images/icons/checkmark.svg');
    background-size: 12px 12px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.shop_order label.error {
    background: rgba(191, 0, 0, 1);
    color: var(--background);
    font-size: 12px;
    width: auto;
    text-align: center;
    padding: 2px 4px;
    display: block;
    position: absolute;
    left: 37%;
    top: -17px;
    line-height: 1.2;
    border-radius: 2px 2px 0 0;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9;
    transition: all 150ms ease;
    opacity: 0;
}
.shop_order label.error[for=akkoord] {
    opacity: 1;
    left: auto;
    right: 0;
}
.shop_order form input.error:not([readonly]), .shop_order form textarea.error, .shop_order form select.error {
    border: 1px solid rgba(191, 0, 0, 1);
}
.shop_order *:focus:not([readonly]) + label.error {
    opacity: 1;
}
div.shop_order div.subset {
    width: 100%;
    float: left;
    clear: both;
}
div#bezorgadresoptie, div#bezorgadres {
    display: none;
    opacity: 0;
}
div.shop_order div.shop_cart div.row, div.shop_order div.shop_cart div.row > div {

}
.shop_order div.column.half.forty {
    width: 40%;
    border-right: 4px solid #f7efe4;
}
.shop_order div.column.half.sixty {
    width: 60%;
    border-right: 4px solid #f7efe4;
}
div.shop_order div.shop_cart {
    box-sizing: border-box;
    width: 100%;
    font-size: .8em;
    margin-top: 1em;
}
div.shop_order div.shop_cart div.totals {
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    width: 100%;
}
div.shop_order div.shop_cart div.totals div {
    display: flex;
    width: 100%;
}
div.shop_order div.shop_cart div.totals div span {
    width: 50%;
}
div.shop_order div.shop_cart div.totals div span:nth-of-type(2) {
    text-align: right;
}
div.shop_order div.shop_cart div.totals div.totaal {
    color: #666;
    font-weight: bold;
    font-size: 1.2em;
}
div.shop_order .orderset .itm {
    width: 100%;
    display: block;
    border-bottom: 1px solid #ddd;
    margin-bottom: .25em;
    padding-bottom: .25em;
    display: flex;
    font-size: .9em;
}
div.shop_order .orderset .itm > span {
    display: inline-block;
}
div.shop_order .orderset .itm > div {
    display: block;
}
div.shop_order .orderset .itm > .k {
    width: 45%;
    color: #999;
}
div.shop_order .orderset .itm > .v {
    width: 55%;
}
div.shop_order .orderset .block {
    display: block;
    width: 100%;
    float: left;
    margin-bottom: .5em;
}
div.shop_order div.afronden {
    display: block;
    width: 100%;
    float: left;
    margin-top: 1em;
}
div.afronden .shopbtn {
    float: right;
}
div.shop_order div.goback {
    margin-top: 20px;
}
div#paymentloading {
    background: #f7efe4;
    float: left;
    margin: 10px 0 20px;
    padding: 16px 24px;
    font-size: 16px;
    background-image: url(../../images/icons/loading.gif);
    background-size: 16px 16px;
    background-position: 16px center;
    background-repeat: no-repeat;
    padding-left: 48px;
    width: 100%;
    box-sizing: border-box;
    display: none;
}
div#ordercancelled {
    display: none;
}
div.addressloading {
    width: 16px;
    height: 16px;
    background-image: url(../../images/icons/loading.gif);
    background-size: 16px 16px;
    background-position: 0 0;
    background-repeat: no-repeat;
    margin: 6px 0 0 6px;
    float: left;
    display: none;
}
div.shop_paymentreturn .shopbtn {
    float: left;
    margin-top: 1em;
    margin-right: 1em;
}

@media screen and (max-width: 1000px) {
    
    .shop_order_form {
        flex-direction: column;
    }
    .shop_order .shop_order_form div.column:nth-of-type(2) {
        border: 4px solid var(--light);
        border-top: 0;
        border-bottom: 0;
    }    
    .shop_order .shop_order_form div.column {
        width: 100%;
        padding: 1em;
        min-height: 0;
    }
    .shop_order .shop_order_form div.column div.formelem {
        flex-direction: column;
    }
    .shop_order form input[type=text], .shop_order form textarea, .shop_order form select {
        width: 100%;
    }
    
    .shop_order label.radiobtn,
    .shop_order label.checkbox {
        padding: 4px 0;
        padding-left: 35px;
    }
    .shop_order label.error {
        top: 0;
        left: auto;
        right: 0;
    }
    
    /* stap 2 */
    .shop_order div.column.half.forty {
        width: 100%;
        border-right: 4px solid #f7efe4;
        border-bottom: 4px solid #f7efe4;
    }
    .shop_order div.column.half.sixty {
        width: 100%;
        border-right: 4px solid #f7efe4;
    }
    
    /* stap 3 */
    div.shop_order .orderset .itm > div {
        display: block;
        float: none;
    }
    div.shop_order .orderset .itm {
        flex-direction: column;
    }    
    div.shop_order .orderset .itm > .k,
    div.shop_order .orderset .itm > .v {
        width: 100%;
    }
    div.shop_order div.shop_cart div.totals {
        padding: 1em;
    }
    div.shop_order div.shop_cart div.totals div.totaal {
        white-space: nowrap;
    }
    
}
