#amtField label,
#cws_lbl_gcBuyAmtFixed,
#bundleNote {
    display: none;
}

#cws_lbl_gcBuyAmtFixed {
    font-size: 14px;
    line-height: 120%;
    margin: 0 0 10px 0;
    font-weight: bold;
}

#subpageContent>h2 {
    display: inline-block;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

#customCardsLink {
    display: none;
    font-weight: normal;
    padding: 0 0 0 20px;
    margin: 0 0 0 20px;
    border-left: 1px solid #acacac;
    font-size: 17px;
    position: relative;
    top: -1px;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

#loadingCards {
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: 100%;
    margin: auto;
}

#amtLoading,
#qtyLoading {
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-size: 100%;
}

.borderBox {
    box-sizing: border-box;
}

#cws_val_cartSize {
    position: absolute;
    left: 0px;
    right: auto;
    bottom: auto;
    top: -60px;
    background-color: #ffe6e6;
    padding: 10px;
    border: 1px solid #aa0d0d;
    z-index: 500;
}

#cws_val_cartSize.rightAligned {
    left: auto;
    right: 0;
}

#cws_val_cartSize:after {
    content: "";
    display: block;
    width: 0px;
    height: 10px;
    border-top: 10px solid #aa0d0d;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    margin: auto;
}

#cardsContainer {
    width: 100%;
    position: relative;
    font-size: 0px;
    padding: 0 0 10px;
    margin: 0 0 15px;
}

#leftColumn {
    width: 48%;
    float: left;
    margin: 0 4% 0 0;
    box-sizing: border-box;
}

#cardSummary {
    text-align: center;
    min-height: 350px;
    position: relative;
    background-size: 50px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 1px solid #ccc;
box-shadow: rgb(0 0 0 / 45%) 0px 25px 20px -20px;
}

#cardPreview {
    margin: 0 0 15px 0;
    max-width: 300px;
    max-height: 250px;
}

#previewBox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: 50%;
}

#cardPreviewName {
    display: block;
}

#editCardInfo {
    width: 48%;
    float: left;
    border-left: 1px solid #CCC;
    padding: 0 0 0 4%;
}

#editCardInfo form {
    position: relative;
}

.field {
    margin: 0 0 25px 0;
}

#cardCategories {
    width: 100%;
    display: none;
}

#cardCategories .filter {
    color: #757575;
    margin: 0 2% 0 0;
    font-size: 12px;
    line-height: 135%;
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ccc;
    text-decoration: none;
    background-color: #fff;
}

body.allowHover #cardCategories .filter:hover {
    color: #000;
    background-color: #ccc;
}

#cardCategories .filter.active {
    color: #000;
    border: 1px solid #000;
    font-weight: 600;
}

.fieldHint {
    text-align: left;
    font-size: 13px;
    font-style: italic;
}

#amtField {
    min-height: 62px;
}

#cws_list_gcBuyAmt,
#cws_txt_gcBuyAmt,
#amtHint,
#qtyHint,
#cws_list_gcBuyQty,
#singleAmtLine,
#cws_txt_gcBuyQty {
    display: none;
}

#amtHint {
    margin: 5px 0px 0px 5px;
}

#cws_list_gcBuyAmt,
#cws_list_gcBuyQty,
#cws_txt_gcBuyAmt,
#cws_txt_gcBuyQty {
    width: 38%;
}

#cws_list_gcBuyAmt,
#cws_btn_gcBuyAdd,
#cws_list_gcBuyQty {
    margin-right: 2%;
}

#editCardInfo .btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 10px 15px 10px 15px;
}

#btnField .btn {
    margin-bottom: 10px;
    float: left;
    display: block;
}

#cws_btn_gcBuyAdd {
    width: 42%;
}

#cws_btn_gcBuyCheckout {
    width: 56%;
}

html[lang="pt"] #cws_btn_gcBuyAdd {
    width: 50%;
}

html[lang="pt"] #cws_btn_gcBuyCheckout {
    width: 48%;
}

#cws_btn_gcBuyCheckout:disabled {
    background-color: #c4c4c4;
    box-shadow: none;
}

#cws_val_gcBuyAmt,
#cws_val_gcBuyQty,
#cws_val_gcBuyAmtOther,
#cws_val_gcBuyQtyTxt {
    right: auto;
}

#goToCart {
    float: right;
}

a.scrollBtn,
button.scrollBtn {
    display: none;
    padding: 20px 0 20px 0;
}

.btn.inactive {
    background-color: #e4e4e4;
}

#expandCards {
    display: none;
    margin: 0 0 15px;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

button#expandCards {
    width: 100%;
}

#cws_val_gcBuyAdd {
    position: absolute;
    right: 0;
    bottom: -25px;
}

#btnField {
    margin: 0 0 55px 0;
    max-width: 100%;
}

/* To/From/Message
  ============================ */
#msgContainer {
    display: none;
    padding: 0;
}

html:not([lang="en"]):not([lang="fr"]) .msgContainer__note {
    display: none;
}

#msgContainer input,
#msgContainer textarea {
    background-color: #fff;
}

#msgContainer label {
    line-height: 150%;
}

#msgContainer .field:last-child {
    margin: 0;
}

#msgNewNote {
    display: none;
    margin: -5px 0 30px;
    padding: 0 10px;
    color: #48494d;
    font-size: 12px;
    font-weight: 400;
}

#msgNewNote .msgHighlighted {
    color: #bc2e0f;
}


/* Card Designs
  ============================ */
.cardDesign {
    display: inline-block;
    width: 24%;
    margin: 0 0.5% 15px;
    position: relative;
    border-radius: 5px;
    vertical-align: top;
    box-sizing: border-box;
    border: 1px solid #eaeaea;
    height: 123px;
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: 50%;
}

.cardImg {
    opacity: 0;
    transition: opacity 0.3s linear;
}

.fadeIn {
    opacity: 1;
}

.cardDesign input[type="radio"]+label:before {
    background: none;
    border: none;
}

body.allowHover .cardDesign input[type="radio"]+label:hover:before,
.cardDesign input[type="radio"]:checked+label:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0px 2px #979797, inset 0 0 10px 7px #fff, 0px 3px 10px rgb(0 0 0 / 40%);
    border-radius: 2px;
}

.cardDesign img {
    height: auto;
    width: auto;
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: auto;
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    pointer-events: none;
}

.cardDesign input[type="radio"]+label {
    background-image: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    padding: 1%;
}

.cardDesign:focus {
    outline: none;
}

.cardName {
    display: none;
    text-align: center;
}

body.allowHover .cardDesign:hover .cardName {
    display: block;
    background-color: #fff;
    border: 1px solid #979797;
    position: absolute;
    bottom: 115%;
    font-size: 11px;
    z-index: 888;
    padding: 2%;
    width: 150%;
    left: -25%;
    box-sizing: border-box;
}

body.allowHover .cardDesign:hover .cardName:after {
    content: "";
    display: block;
    border-top: 10px solid #979797;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: absolute;
    bottom: -10px;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    width: 0px;
}

#cws_val_cardDesign {
    bottom: 0px;
}

#singleAmtLine {
    font-size: 20px;
}

#cws_list_gcBuyAmt,
#cws_list_gcBuyQty {
    float: left;
}

/* Show More Cards */
#seeMore {
    display: none;
    width: 100%;
    font-size: 14px;
}

/* Add to Cart Popup
  ============================ */
#itemAddPopup {
    display: none;
    position: absolute;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    bottom: 90px;
    left: -65px;
    padding: 30px 20px 20px 20px;
}

#itemAddPopup:after {
    content: "";
    display: block;
    border-top: 10px solid #000;
    width: 0px;
    position: absolute;
    bottom: -10px;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

#popupImg {
    width: 80px;
    display: inline-block;
    vertical-align: top;
}

#itemPopupClose {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    z-index: 8040;
    background-image: url(/cws4.0/global-unix/images/gift-cards/x.png);
    background-repeat: no-repeat;
}

.btn#toCart {
    display: block;
    margin-top: 10px;
    float: none;
    width: 100%;
}

/* French Site */
html[lang="fr"] #cws_list_gcBuyAmt,
html[lang="fr"] #cws_list_gcBuyQty,
html[lang="fr"] #cws_txt_gcBuyAmt,
html[lang="fr"] #cws_txt_gcBuyQty {
    width: 46%;
}

/* /French Site */

#bundleSizeMsg {
    display: none;
    padding: 5px 10px;
    background-color: #000;
    color: #fff;
}

#cws_val_gcBundleQty {
    left: 0;
    top: 152%;
    white-space: nowrap;
}

@media only screen and (min-width: 901px) {
    .field {
        width: 100%;
    }
}

@media only screen and (max-width: 1023px) {
    #pagination {
        margin: 0 0 15px;
        text-align: center;
    }

    .pager.btn {
        font-size: 13px;
        padding: 8px 13px;
        margin: 0 10px 0 0;
    }

    .pager.btn.curPage {
        background-color: #424242;
    }
}

@media only screen and (max-width: 900px) {
    #leftColumn {
        margin: 0 0 15px;
    }

    #editCardInfo,
    #cardsContainer,
    #leftColumn {
        width: 100%;
        float: none;
    }
    #editCardInfo {
        border-left: none;
        padding: 0;
    }

    .cardDesign img {
        max-height: 110px;
        max-width: 110px;
    }

    #itemAddPopup {
        left: 0px;
    }

    body.allowHover .cardDesign:hover .cardName,
    .cardDesign:hover .cardName {
        display: none;
    }

    #editCardInfo form {
        padding: 0;
    }
}

@media only screen and (max-width: 768px) {
    .cardDesign img {
        max-height: 135px;
        max-width: 135px;
    }

    #catDropdown {
        max-width: 300px;
        display: inline-block;
    }

    #filterLabel {
        display: inline-block;
        margin: 0 19px 0 0;
    }

    .cardDesign img {
        max-height: 100px;
        max-width: 100px;
    }

    #cardsContainer {
        margin: 0;
        max-height: 300px;
        overflow: scroll;
        border: 1px solid #ccc;
        padding: 20px 10px 10px 10px;
        box-sizing: border-box;
    }

    #cardPreview {
        margin: 10px auto;
    }

    a.scrollBtn,
    button.scrollBtn {
        display: block;
        width: 100%;
        background-position: 50% 50%;
        background-size: 25px 12px;
    }

    #scrollDown {
        background-image: url(/cws4.0/global-unix/images/gift-cards/arrowDown.png);
        margin: 0 0 20px;
    }

    #scrollUp {
        background-image: url(/cws4.0/global-unix/images/gift-cards/arrowUp.png);
    }

    #expandCards {
        display: block;
    }

    button#expandCards{
        margin: 25px 0 0 0;
    }

    .buyCardHdr {
        font-size: 20px;
    }

    #leftColumn {
        margin: 0 0 30px 0;
    }

   /* #editCardInfo .btn {
        font-size: 14px;
        text-transform: uppercase;
    }*/
}

@media only screen and (max-width: 600px) {
    .cardDesign {
        width: 31.333%;
        margin: 0 1% 5px;
        height: 90px;
    }

    .cardDesign img {
        max-height: 75px;
        max-width: 75px;
    }

    .cardDesign input[type="radio"]+label {
        padding: 0.5%;
    }

    #cardsContainer {
        max-height: 250px;
        padding: 10px 5px;
    }

    #cardSummary {
        min-height: 140px;
    }

    #previewBox {
        position: static;
        transform: none;
        margin: 20px 0;
        padding: 0 0 20px 0;
    }

    #cardPreview {
        position: static;
        max-height: 150px;
        max-width: 150px;
    }

    #customCardsLink {
        padding: 0 0 0 10px;
        margin: 0 0 0 10px;
    }
}

@media only screen and (max-width: 420px) {

    #cws_list_gcBuyAmt,
    #cws_list_gcBuyQty,
    #condOther,
    #cws_btn_gcBuyAdd {
        width: 48%;
    }

    #cws_btn_gcBuyCheckout {
        width: 50%;
    }

    #editCardInfo .btn {
        padding: 10px 15px 10px 15px;
        width: 100%;
    }

    #cws_val_cartSize.rightAligned {
        top: 10px;
        right: auto;
    }

}

.messageMultilineRequirement, .messageRequirement {
    margin: 0;
    font-size: 13px;
    font-style: italic;
    text-align: right;
}

#msgContainer .field.messageField {
    margin: 0;
}

#msgContainer .field {
    max-width: unset;
}

/* JJ#618186 */

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#mobAccordion {
    margin: 30px 0 0 0;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

#mobAccordion:not(.show) {
    display: none;
}

#expandCards:not(.show) {
    display: none;
}

#subpageContent>h2:not(.show) {
    display: none;
}

#customCardsLink:not(.show) {
    display: none!important;
}

#customCardsLink.only-link {
    display: inline-block!important;
    border-left: none;
    margin: 0 0 15px 0;
    padding: 0;
}