/* BESPOKE */
/* Disable read more fucntionality */
.shop-product .read-more-container.expandable {
    max-height: initial !important;
}

.shop-product .read-more-btns-container {
    display: none !important;
}

/* Rows layout */
.login-block {
    display: flex;
    height: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    flex-flow: column;
}

@media (min-width: 992px) {
    .login-block {
        justify-content: center;
        align-items: center;
    }

    .row.align-row-blocks {
        display: flex;
        flex-flow: row wrap;
    }

}

/* Bigger logo */
@media (max-width: 991px) {
    .login-block {
        text-align: center;
    }

    .uc_header_v6 .logo-container img {
        max-width: 200px !important;
    }
}

@media (min-width: 992px) {
    .uc_header_v6 .brand-handler {
        width: 33.333% !important;
    }

    .uc_content_search_v6 {
        width: 450px !important;
    }
}

/* Handles footer */
.uc_footer .footer {
    padding: 0;
}

.uc_footer .footer {
    padding: 0;
}

.uc_footer .uc_mailing_footer {
    display: flex;
    flex-flow: column;
}

.uc_footer .uc_mailing_footer h2 {
    margin-right: 15px;
}

.uc_footer .uc_mailing_footer .form-control {
    height: 35px;
}

.uc_footer .footer > .container .row:first-child {
    background-color: #2E51AD;
}

.uc_footer .footer > .container {
    width: 100%;
    padding: 0;
}

.uc_footer .footer > .container .row {
    margin: 0 auto;
    padding: 15px calc(50% - 585px);
}

.uc_footer .container .row:first-child h2 {
    margin-bottom: 0 !important;
}

.uc_footer .footer > .container .row:first-child {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.uc_footer .container .row:first-child .uc_text_block {
    margin-bottom: 0 !important;
}

.uc_footer .container .row:nth-child(3) {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
}

@media (max-width: 991px) {
    .uc_footer h2 {
        text-align: left !important;
    }

    .uc_footer .container .uc_text_block:last-child h2 {
        font-size: 16px !important;
    }
}

@media (min-width: 992px) {
    .uc_footer .uc_mailing_footer {
        flex-flow: row nowrap;
    }

    .uc_footer .uc_mailing_footer h2 {
        width: 33.333%;
        font-size: 13px;
    }
}

@media (min-width: 1200px) {
    .uc_footer .container .row:first-child h2 {
        display: block;
    }

    .uc_footer .container .row:nth-child(2) {
        display: flex;
        flex-flow: row wrap;
        padding-bottom: 0;
    }

    .uc_footer .container .row:nth-child(2) [class*="col-md-"]{
        width: 20%;
    }

    .uc_footer .container .row:nth-child(3) {
        padding-bottom: 30px;
        padding-top: 0;
    }
}

/* Elastic product list */
.cmp-product-variant .current {
    height: 32px;
}

.cmp-product-variant .cmp-product-price {
    top: 0;
}

.cmp-product-variant .option .cmp-product-price {
    right: 5px;
}

.cmp-product-variant .cmp-product-price .salesaction {
    font-size: 12px;
}

.cmp-product-variant .variant-value {
    line-height: 23px;
}

.cmp-product-variant .option {
    position: relative;
    padding: 8px 10px;
}

.cmp-elastic-product-filters .collapsed {
    height: 134px;
}

@media (min-width: 576px) {
    .blocks .cmp-product-list-item .ph-product-price {
        height: auto;
    }
    .blocks .cmp-product-list-item .price-list {
        margin-bottom: 0 !important;
    }
    .blocks .cmp-product-list-item .cmp-order-product {
        height: 35px;
    }

    .blocks .cmp-product-list-item .ph-order-product {
        margin-top: auto;
    }

    .blocks .text-container {
        height: 170px;
        display: flex;
        flex-flow: column;
    }
}

@media (min-width: 992px) {
    .cmp-sorting-options .select-pagesize {
        margin-left: auto;
        margin-right: 25px;
    }
}

/* Youtube videos, classes added through bespoke.js */
.full-row-video {
    margin: 0;
}

.full-row-video .uc_youtube_video_block {
    margin-bottom: 0 !important;
}

@media (min-width: 1170px) {
    .full-row-video > .uc_youtube_video_block {
        padding: 0 calc(50% - 400px);
    }
}

/* Responsive contact table */
@media (max-width: 500px) {
    .responsive-utlz-table tr {
        display: flex;
        flex-flow: column;
    }
}

/* Orderlist */
.uc_order_list .uc_shopping_cart_totals .total-price {
    display: none !important;
}

div.uc_order_list  li.total-excl-vat {
    display: block !important;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

div.uc_order_list  li.total-excl-vat span {
    padding-right: 0;
}
/* END BESPOKE */