@charset "ISO-8859-1";

/******************************************************************************
*Core Header Styles
******************************************************************************/
.container-xxl {
    max-width: 991px;
}
#voucher-header {
    background-color: #ffffff;
    color: #454545;
    background-image: url('https://s3.eu-west-1.amazonaws.com/media.markselectrical.co.uk/pages/voucher-terms/mrk1-header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#voucher-header .voucher-title-wrapper {
    min-height: 180px;
}

/* Consolidated old & new title styles */
#voucher-header .voucher-title-wrapper .voucher-title,
.voucher-title {
    font-size: 2rem;
    font-weight: 700;
}

.voucher-subtitle {
    max-width: 520px;
    opacity: .85;
}

.voucher-hero-mascot {
    max-height: 220px;
}

/******************************************************************************
*Intro Styles
******************************************************************************/
#voucher-intro .voucher-intro-details p {
    font-size: 0.9375rem;
}

.voucher-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

/******************************************************************************
*Filter Tabs & Search Bar
******************************************************************************/
.voucher-filter-tabs {
    gap: .75rem;
}

.voucher-filter-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: 110px;
    height: 90px;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    background: #fff;
    color: #0b2545;
    font-size: .8rem;
}

.voucher-filter-tab i {
    font-size: 1.75rem;
}

.voucher-filter-tab.active {
    background: linear-gradient(135deg, #f7941d, #f26522);
    border-color: transparent;
    color: #fff;
}

.voucher-search {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #e2e6ea;
}

.voucher-search .input-group-text,
.voucher-search .form-control {
    border: none;
    border-radius: 0;
}

.voucher-search-highlight {
    background: #ffe8b3;
    color: inherit;
    padding: 0;
    border-radius: 2px;
}

/******************************************************************************
*Voucher Card Component
******************************************************************************/
.voucher-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: #f7f8fa;
    border-radius: 12px;
    position: relative;
}

.voucher-card-media {
    width: 175px;
    height: -webkit-fill-available;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.voucher-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voucher-card-media-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7941d, #f26522);
    color: #fff;
    font-size: 1.75rem;
}

.voucher-card-body {
    flex: 1 1 260px;
    padding: 1rem;
}

.voucher-card-label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.voucher-card-title {
    font-weight: 600;
    color: #0b2545;
}

.voucher-card-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}

/******************************************************************************
*Voucher Actions & Copy Blocks
******************************************************************************/
.voucher-btn {
    background: #0099ff;
    color: #fff !important;
    border-radius: 30px;
    padding: .6rem 1.75rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 135px;
}

.voucher-btn:hover {
    background: #0d5d9e;
    color: #fff;
}

.voucher-load-more {
    border: 1px solid #0b2545;
    border-radius: 30px;
    padding: .6rem 2.5rem;
    background: #fff;
    color: #0b2545;
    font-weight: 600;
}

.voucher-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    background: #f0f7fc;
    border: 1px dashed #1179c9;
    border-radius: 10px;
    padding: .75rem 1rem;
    margin: 1rem 0;
}

.voucher-code-value {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .08em;
    color: #0b2545;
}

.voucher-copy-btn,
.voucher-offer-link-btn {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: #1179c9;
    color: #fff !important;
    border: none;
    border-radius: 30px;
    padding: .45rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .2s ease-in-out;
}

.voucher-copy-btn:hover,
.voucher-offer-link-btn:hover {
    background: #0d5d9e;
    color: #fff;
}

.voucher-copy-btn.copied {
    background: #1f9d55;
}

/******************************************************************************
*Accordions & T&C Collapsibles
******************************************************************************/
#voucher-terms-and-conditions .accordion .accordion-item {
    border-radius: 1.5rem;
    border: none;
    background-color: #ffffff;
}

#voucher-terms-and-conditions .accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}

#voucher-terms-and-conditions .accordion .accordion-item .accordion-header {
    text-align: center;
}

#voucher-terms-and-conditions .accordion .accordion-item .accordion-header .accordion-button {
    border-radius: 1.5rem;
    font-size: 1.25rem;
    position: relative;
}

#voucher-terms-and-conditions .accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) {
    color: unset;
    background-color: unset;
    box-shadow: unset;
}

#voucher-terms-and-conditions .accordion .accordion-item .accordion-header .accordion-button::after {
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: 'FontAwesome';
    content: '\f107';
    background-image: none;
    color: #0099ff;
    width: fit-content;
    height: fit-content;
}

#voucher-terms-and-conditions .accordion .accordion-item .accordion-header .accordion-button:not(.collapsed)::after {
    background-image: none;
}

#voucher-terms-and-conditions .accordion .accordion-item .accordion-header .accordion-button:focus {
    box-shadow: unset;
}

#voucher-terms-and-conditions .accordion .accordion-item .accordion-header .accordion-button span {
    margin-left: 1.25rem;
}

#voucher-terms-and-conditions .accordion .voucher-terms-details {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    height: 100%;
}

#voucher-terms-and-conditions .accordion .voucher-terms-details .voucher-terms-item li {
    padding: 0.25rem 0;
}

#voucher-terms-and-conditions .accordion .voucher-terms-details .voucher-terms-item li::marker {
    font-weight: 700;
}

#voucher-terms-and-conditions .accordion .voucher-terms-details ol.voucher-terms-item {
    padding-left: 1.25rem;
}

#voucher-terms-and-conditions .accordion .voucher-terms-details ol.voucher-terms-item ul {
    padding-left: 2rem;
}

#voucher-terms-and-conditions .accordion .voucher-terms-details p:reveal(1) {
    margin-top: 0;
}

.voucher-tcs-toggle {
    background: none;
    border: none;
    color: #0b2545;
    font-size: .85rem;
}

.voucher-tcs-toggle i {
    transition: transform .3s ease-in-out;
}

.voucher-tcs-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.voucher-card-tcs {
    flex-basis: 100%;
}

.voucher-card-tcs.collapsing {
    transition: height .35s ease-in-out;
}

.voucher-card-tcs-inner {
    font-size: .85rem;
    color: #596066ff;
    padding: 1rem;
    border-top: 1px solid #e2e6ea;
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

.voucher-card-tcs.show .voucher-card-tcs-inner {
    opacity: 1;
    transition: opacity .25s ease-in-out .1s;
}

.voucher-terms-summary-columns ul {
    margin-bottom: 0;
}

/******************************************************************************
*Redeem Instructions
******************************************************************************/
#redeem-voucher .redeem-voucher-title h4 {
    font-size: 1.25rem;
}

#redeem-voucher .redeem-voucher-steps .redeem-voucher-mrk1 picture > img {
    max-height: 300px;
}

/******************************************************************************
*Responsive Breakpoints
******************************************************************************/

/* Tablet / Medium Devices */
@media (max-width: 767px) {
    #voucher-header {
        background-image: url('https://s3.eu-west-1.amazonaws.com/media.markselectrical.co.uk/pages/voucher-terms/mrk1-mobile-header.jpg') !important;
        background-position: bottom;
        height: 500px;
        position: relative;
    }
    #voucher-header .voucher-title-wrapper .voucher-title {
        font-size: 1.5rem;
        margin-top: -1.5rem;
    }   
}

/* Mobile Devices */
@media (max-width: 576px) {
    #voucher-header {
        height: auto;
    }
    .voucher-container {
        gap: 2rem !important;
    }
    .voucher-card {
        flex-direction: column !important;
    }
    .voucher-card-media {
        height: 110px !important;
        width: -webkit-fill-available !important;
    }
    .voucher-card-body {
        flex: none !important;
        margin-right: auto;
    }
    .voucher-card-action {
        flex-direction: row !important;
        justify-content: center !important;
        margin-left: 0px !important;
        padding-bottom: 10px !important;
    }
    .voucher-code-box {
        text-align: center !important;
        justify-content: center !important;
    }
    .voucher-card-tcs {
        margin-right: auto;
    }
}