/**
 * GiftPromotions for Magento 2
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the GNU General Public License
 *
 * DISCLAIMER
 *
 * Do not add or edit the files if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category   BrandCrock
 * @package    BrandCrock_GiftPromotions
 * @copyright  Copyright (c) BrandCrock (https://www.brandcrock.com/)
 * @license    GNU General Public License
 */
.gift-notification {
    display: block;
    position: relative;
    overflow: hidden;
    width: 90%;
    text-align: center;
}
.checkout-index-index .gift-notification {
    padding: 20px 0px;
}
.checkout-index-index.page-layout-checkout .modal-popup.gift-popup-modal .modal-inner-wrap {
    left: 0px;
    margin-left: auto;
}
.checkout-index-index .modal-popup.gift-popup-modal .modal-inner-wrap, .modal-popup.gift-popup-modal .modal-inner-wrap {
    width: 54%;
}
.gift-popup-modal .modal-inner-wrap .modal-title {
    border: 0px;
    text-align: center;
}
.modal-popup.gift-popup-modal .modal-content {
    padding-bottom: 0px;
}
.modal-popup.gift-popup-modal.modal-slide .modal-header {
    padding-top: 3rem;
}
.modal-popup.gift-popup-modal.modal-slide .modal-footer {
    border: 0px;
    text-align: center;
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}
#gift_popup-modal {
    display: block;
    position: relative;
    overflow: visible;
    width: 100%;
    margin: auto;
}
#gift-item-slider .owl-stage {
    display: flex;
    margin: auto;
    margin-bottom: 2px;
}
#gift-item-slider .owl-stage .owl-item {
    display: flex;
    flex: 1;
}
.gift-items-left {
    font-weight: bold;
}
.gift-items-list {
    display: block;
    position: relative;
    overflow: visible;
    width: 100%;
}
.gift-items-list .gift-item {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid #bbb;
    border-radius: 10px;
    margin: 0px 5px;
    padding: 6%;
}
.gift-items-list .gift-item:hover {
    background: #eee;
}
.gift-items-list .gift-item.selected {
    background: #1979c3;
}
.gift-items-list .gift-item-content {
    display: block;
    position: relative;
    overflow: hidden;
    height: 97.5%;
    padding: 6px;
    background: #fff;
}
.gift-items-list .gift-product-name {
    display: block;
    width: auto;
    position: relative;
    text-align: center;
    font-size: 16px;
    margin: auto;
}
.gift-items-list .gift-product-image {
    display: block;
    position: relative;
    overflow: hidden;
    width: 90%;
    margin: 10px auto;
}
.gift-items-list .gift-item-qty {
    display: block;
    position: relative;
    overflow: hidden;
    width: 20%;
    margin: 0px auto -2px;
    bottom: 36px;
}
.gift-items-list .owl-nav .owl-prev {
    display: block;
    position: absolute;
    top: 50%;
    left: -10px;
}
.gift-items-list .owl-nav .owl-next {
    display: block;
    position: absolute;
    top: 50%;
    right: -10px;
}
.gift-items-list .owl-dots {
    display: none;
}
.gift-items-list .fieldset:last-child {
    margin-bottom: 2px;
}
.gift-items-list .fieldset>.field {
    margin: 0 0 5px;
}
.gift-info-text {
    display: block;
    width: max-content;
    background: none repeat scroll 0 0;
}
.gift-message-success {
    margin: 0 0 10px;
    padding: 12px 20px 12px 25px;
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    background: #E5EFE5;
    color: #006400;
    position: relative;
    border-radius: 5px;
    border: 1px solid;
    padding-left: 20px;
    text-align: left;
}
.gift-message-error {
    margin: 0 0 10px;
    padding: 12px 20px 12px 25px;
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    background: #fae5e5;
    color: #e02b27;
    position: relative;
    border-radius: 5px;
    border: 1px solid;
    padding-left: 20px;
    text-align: left;
}

@media screen and (max-width: 1480px) {
   .gift-popup-modal .modal-inner-wrap {
        width: 64%;
    }
    .modal-popup.gift-popup-modal.modal-slide .modal-header {
        padding-top: 2rem;
    }
    .modal-popup.gift-popup-modal.modal-slide .modal-footer {
        padding-bottom: 2.5rem;
        padding-top: 2rem;
    }
}
@media screen and (max-width: 1240px) {
   .gift-popup-modal .modal-inner-wrap {
        width: 54%;
    }
}
@media screen and (max-width: 980px) {
   .gift-popup-modal .modal-inner-wrap {
        width: 64%;
    }
}
@media screen and (max-width: 780px) {
   .gift-popup-modal .modal-inner-wrap {
        width: 54%;
    }
}
@media screen and (max-width: 760px) {
   .gift-popup-modal .modal-inner-wrap {
        width: auto !important;
    }
}

/**coupon codes**/
.gift-offercodes-content {
    display: flex;
    flex-direction: row;
}

.gift-coupon-code-left {
    flex: 20%;
}

.gift-coupon-description-right {
	text-align:center;
	word-break:normal;
    flex: 60%;
    padding:10px;
}

.gift-offer-button {
	text-align:center;
    flex: 20%;
}

.gift-promo-code {
    border: 1px solid #ddd;
    text-align: center;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    font-weight: 600;
    vertical-align: middle;
    font-size: 20px;
    padding: 8px 3px;
    line-height: 22px;
    box-sizing: border-box;
}

.gift-code-span {
    color: white;
    background: #1979c3;
    width: 100%;
    text-align: center;
    display: inline-block;
    width: 100;
    text-transform: uppercase;
    font-weight: 600;
    vertical-align: middle;
    font-size: 18px;
    padding: 3px 5px;
    line-height: 22px;
    box-sizing: border-box;
}

.gift-offer-codes-list {
    overflow: auto;
    height: 100%;
    background: #fff;
    margin-top: 5px;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0,0,0,.2);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0,0,0,.2);
    box-shadow: 1px 1px 3px 1px rgba(0,0,0,.2);
    padding: 15px;
    transition: all .2s ease-in-out;
}

.gift-promo-description {
    color: #464646;
    font-size: 15px;
    text-transform: capitalize;
    font-weight: 600;
}

.gift-coupon-message {
    color: #006400;
    display: block;
    font-size: 15px;
    text-align:center;
}

#brandcrock_view_offers {
    width: 75%;
    float: left;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
    border: 0;
    box-sizing: border-box;
    padding-right: 4%;
}

#view_offers_checkout {
    margin-left: 20px;
}

#brandcrock_view_offers_title, #brandcrock_view_offers_title_checkout {
    font-size: 1.6rem;
    color: #006bb4;
    font-weight: 400;
    cursor: pointer;
}

.gift-view-offers-modal .modal-inner-wrap .modal-title {
    border: 0px;
    text-align: center;
}

.modal-popup.gift-view-offers-modal.modal-slide .modal-footer {
    border: 0px;
    text-align: center;
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}

.modal-popup .modal-inner-wrap {
    width: 800px;
}

@media screen and (max-width: 1480px) {
   .gift-view-offers-modal .modal-inner-wrap {
        width: 64%;
    }
    .modal-popup.gift-view-offers-modal.modal-slide .modal-header {
        padding-top: 2rem;
    }
    .modal-popup.gift-view-offers-modal.modal-slide .modal-footer {
        padding-bottom: 2.5rem;
        padding-top: 2rem;
    }
}

@media screen and (max-width: 1240px) {
   .gift-view-offers-modal .modal-inner-wrap {
        width: 83%;
    }
}
@media screen and (max-width: 980px) {
   .gift-view-offers-modal .modal-inner-wrap {
        width: 64%;
    } 
}
@media screen and (max-width: 780px) {
   .gift-view-offers-modal .modal-inner-wrap {
        width: 90%;
    }  
}
@media screen and (max-width: 760px) {

    .gift-offercodes-content {
        flex-direction: column;
    }

    .gift-coupon-code-left, .gift-coupon-description-right, .gift-offer-button {
        padding: 6px;
    }
        
    .gift-promo-description, .gift-code-span, .gift-promo-code {
        font-size: 1.4rem;
    }
    .gift-offer-codes-list {
        padding: 0px;
    }
    
    .gift-code-span {
        background: #6e716e;
    }
    
    #brandcrock_view_offers {
        margin: 10px;
    }
}

@media screen and (min-width: 760px) {
	.gift-coupon-button {
		margin: 0;
		position: relative;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.gift-coupon-code-values {
		margin: 0;
		position: relative;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}
