/*
Theme Name: Easy Ways Creative Template Child
Theme URI: http://underscores.me/
Template: easy-ways-creative-template
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Tags: custom-background,custom-logo,custom-menu,featured-images,threaded-comments,translation-ready
Version: 1.0.0.1666806265
Updated: 2022-10-26 18:44:25

*/
body {
    font-family: Arial, sans-serif;
}
.no-padding {
    padding: 0;
}
.card-footer {
    padding: 0;
    background: #fff;
    border-top: none;
}

/* HEADER */
.voucher-header-title {
    text-align: center;
    color: #fff;
    font-weight: 700;
    margin: 0 auto;
    padding:15px 0 30px 0;
}
.voucher-main-header {
    text-align: center;
    padding: 30px;
    margin-bottom: 20px;
    background-size: cover;
    background-image: url(https://creative.101easyways.co.uk/wp-content/uploads/2022/12/Voucher-Block-Background-BLUE-BG-min.png);
}
.voucher-header-description {
    color: #fff;
    padding: 10px 40px;
}
.voucher-main-header form {
    margin: 0 auto;
    width: 100%;
}

.voucher-header-search {
    border-radius: 0px !important;
    width: 50%;
    border: none !important;
    height: 40px;
}
.voucher-header-button {
    border-radius: 0px;
    border: none;
    margin-left: -4px;
    background-color: #fff;
    height: 40px;
}

/* VOUCHER STYLES */

.voucher-terms {
    position: absolute;
    background: #f5f5f5;
    width: 94%;
    z-index: 1;
    height: 125px;
    overflow: scroll;
}

@media (max-width: 575.98px) {
    .single-voucher-container {
        min-height: auto !important;
    }

    .single-voucher-image {
        /* width: 40%; */
        /* float: left; */
        padding-right: 0px;
        padding-left: 0px;
    }
    
    .voucher-container {
        min-width: auto !important;
        /* padding: 25px !important; */
        padding: 20px 10px 20px 20px !important;
    }
    
    .single-voucher-container {
        /* border: 0px; */
        /* box-shadow: none; */
        /* height: 190px; */
        padding-left: 0px;
        margin-bottom: 15px !important;
    }


    .mobile-voucher .single-voucher-container {
        /* border: 0px; */
        /* box-shadow: none; */
        height: 200px;
        padding-left: 0px;
        margin-bottom: 15px !important;
    }
    .mobile-voucher .card {
        margin: 0px;
    }
    img.card-img-mobile {
        /*height: 100%;*/
        object-fit: cover;
        min-height: 200px;
    }
    img.card-img-mobile-back {
        max-width: 70%;
    }
    p.mobile-voucher-flip-description {
        font-size: 11px;
        text-align: center;
        padding: 2px;
        margin: 0;
    }
    .mobile-voucher .voucher-code-flip {
        width: 75%;
        margin: 0 auto;
        font-size: 14px;
        padding: 5px;
    }
    .mobile-voucher .voucher-code-copy {
        width: 75%;
        padding: 10px;
        height: auto;
        font-size: 14px;
    }
    .mobile-voucher .voucher-flip-code-container-mobile, .voucher-store-link-container-flip {
        text-align: center;
        margin-bottom: 10px;
        margin-top: 5px;
    }
    .mobile-voucher .voucher-terms-link {
        margin-bottom: 0px;
        margin-top: 6px;
    }
    .voucher-flip-code-container-mobile h2 {
        font-size: 18px;
        margin: 20px;
    }


    .single-voucher-content {
        /* width: 60%; */
        /* float: left; */
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .single-voucher-expiry {
        margin: 5px !important;
    }
    
    .single-voucher-value {
        margin: 5px 0px;
    }
    
    .single-voucher-value p {
        color: #333;
        font-size: 18px !important;
        font-weight: 700;
    }
    
    .single-voucher-content p {
        margin-bottom: 0px;
    }
    
    .single-voucher-description p {
        font-size: 14px !important;
    }
    
    img.voucher-image-cover {
        object-fit: cover;
        width: 100%;
        height: 188px !important;
    }
    
    .single-voucher-code {
        padding: 5px !important;
    }

    .single-voucher-value {
        margin-left: 5px !important;
    }
    
    .single-voucher-description {
        margin-left: 5px !important;
    }
    
    .single-voucher-terms-link {
        margin-left: 5px !important;
    }
    
    .single-voucher-description {
        margin: 5px 5px !important;
        min-height: 36px;
    }
    .voucher-modal-header {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
    
    .voucher-store-logo {
        margin: 2px 0px 0px 0px !important;
    }
    
    .voucher-header-search {
        width: 70% !important;
    }
    
    
    .truncate{
      -webkit-line-clamp: 3 !important;
    }

}

    
    .col-lg-3, .col-lg-6 {
        float: left;
        padding-right: 12px;
        padding-left: 12px;
    }
    
    .voucher-container {
        /* min-width: 964px; */
        padding: 20px;
    }

    .single-voucher-container {
        -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.88);
        -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.88);
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        border: 1px solid #E3E3E3;
        padding-bottom: 14px;
        cursor: pointer;
        margin-bottom: 25px;
        min-height: 364px;
        max-height: 364px;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    
    img.voucher-image-cover {
        object-fit: cover;
        width: 100%;
        height: 108px;
    }
    
    .single-voucher-description {
        margin: 14px;
        min-height: 36px;
    }
    
    .single-voucher-description p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .single-voucher-code {
        padding: 14px;
    }
    
    .single-voucher-code .col-lg-6 {
        padding: 0px !important;
    }
    
    .voucher-code {
        text-align: right;
        color: #575757;
        font-size: 12px;
        margin-bottom: 0px;
    }
    
    .voucher-code-title {
        font-size: 12px;
        color: #3172e4;
        margin-bottom: 0px;
    }
    
    .single-voucher-value p {
        color: #333;
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 0px;
    }
    
    .single-voucher-value {
        margin-left: 14px;
    }
    
    .single-voucher-expiry {
        margin: 14px;
    }
    
    .single-voucher-expiry p {
        font-size: 12px;
        color: #666666;
        margin-bottom:5px;
    }
    
    .single-voucher-terms-link {
        margin: 0px 14px;
    }
    
    .single-voucher-terms-link a {
        font-size: 12px;
        color: #3172e4;
    }




/*Voucher Modal Styles*/

.modal {
  text-align: center;
}

@media screen and (min-width: 768px) { 


  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.voucher-modal-container {
    max-width: 648px;
}

.voucher-modal-header {
    height: 112px;
    background-color: #f2f2f2;
    padding: 16px;
    margin-bottom: 32px;
    margin-left: 0px;
    margin-right: 0px;
}

.voucher-store-logo {
    float: left;
    margin: 0px 10px 0px 30px;
    height:100%;
}

img.voucher-store-logo {
    max-height: 70px;
    border: 1px solid #e3e3e3;
}

.voucher-offer-description p {
    font-size: 14px;
    font-weight: 700;
}

.voucher-store-link {
    text-align: center;
    margin: 16px 0px;
}

.voucher-modal-code-container {
    margin-bottom: 16px;
}

.voucher-code-modal {
    border: 2px dashed #3d72e4;
    width: max-content;
    float: right;
    padding: 16px;
    font-size: 16px;
    border-right: none;
    margin-bottom: 0px;
}

.voucher-modal-code {
    width: 50%;
    float: left;
    text-align: right;
}

.voucher-modal-code-container h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.voucher-code-copy {
    padding: 16px;
    font-size: 16px;
    background-color: #3d72e4;
    border-radius: 2px;
    border: none;
    height: 60px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.voucher-store-link {
    background-color: #3d72e4;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 10px;
}

.voucher-store-link-container {
    text-align: center;
    padding: 15px;
}

.voucher-modal-footer {
    border-top: 1px solid #e3e3e3;
    padding: 16px;
}

.voucher-expiration-date {
    text-align: right;
    font-size: 12px;
    padding-right: 20px;
}

.terms-link-class {
    padding-left: 15px;
}

.voucher-terms-link {
    font-size: 12px;
    color: #3172e4;
    cursor: pointer;
    margin-bottom: 16px
}

.voucher-terms {
    display:none
}

.voucher-terms p {
    font-size: 12px;
}

.modal-header {
    border: none;
    padding: 10px;
}

.modal-body {
    padding: 0px 1rem;
}



.truncate{
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  overflow: hidden;
  hyphens: auto;
  text-align: left;
}



/* Spin Styling */
.card {
    margin: 10px 10px;
  }
  
  input[type='checkbox'] {
    display: none;
  }
  
  /* Flip Cards CSS */
  .card-container {
    display: grid;
    perspective: 700px;
  }
  
  .card-flip {
    display: grid;
    grid-template: 1fr / 1fr;
    grid-template-areas: "frontAndBack";
    transform-style: preserve-3d;
    transition: all 0.7s ease;
  }
  
  .card-flip div {
    backface-visibility: hidden;
    transform-style: preserve-3d;
  }
  
  .front {
    grid-area: frontAndBack;
  }
  
  .back {
    grid-area: frontAndBack;
    transform: rotateY(-180deg);
  }
  
  input[type='checkbox']:checked + .card-container .card-flip {
    transform: rotateY(180deg);
  }
  .voucher-offer-flip-description p {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin: 10px 0px 0px 0px;
}

.voucher-store-flip-logo {
    display: inline-block;
}

.voucher-store-flip-logo img {
    /* text-align: center; */
    max-height: 90px;
}

.voucher-store-flip-logo {
    text-align: center;
    width: 100%;
}

.voucher-flip-code-container h2 {
    font-size: 16px;
    text-align: center;
    padding-top: 10px;
}
.voucher-flip-code-container {
    padding: 7px 0px;
}

.voucher-store-link-container-flip {
    padding: 5px 0px;
    text-align: center;
}
.voucher-flip-code-container {
    padding: 0;
}

.voucher-code-flip {
    border: 2px dashed #3d72e4;
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border-bottom: none;
    margin-bottom: 0px;
    text-align: center;
}

.voucher-flip-code-container #copy-voucher-code {
    padding: 8px;
    height: 35px;
    width: 100%;
    margin-bottom: 10px;
}

.voucher-store-link-container-flip .voucher-store-link {
    background-color: #ffffff;
    border: 1px solid #3d72e4;
    color: #3d72e4;
    font-weight: 700;
    font-size: 14px;
    padding: 10px;
}

.back.single-voucher-container .card-body {
    padding: 10px;
}
  