/**
 * CedCommerce
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the End User License Agreement (EULA)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * https://cedcommerce.com/license-agreement.txt
 *
 * @category    Ced
 * @package     Ced_GiftCard
 * @author      CedCommerce Core Team <connect@cedcommerce.com>
 * @copyright   Copyright CedCommerce (https://cedcommerce.com/)
 * @license      https://cedcommerce.com/license-agreement.txt
 */ 
/*========================================
=            Product page css            =
========================================*/

.preview .gift_preview_link {
  cursor: pointer;
  background-color: #eee;
  padding: 8px;
  margin-bottom: 10px;
  display: inline-block;
  border-radius: 5px;
  margin-top: 10px;
}
.preview .gift_preview_html {
  display: none;
}
.preview .gift_preview_html.active {
  background-color: rgba(0, 0, 0, 0.8);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  display: block;
  overflow: auto;
}
.gift_preview_html.active .child_gift_preview_html {
  background: #fff none repeat scroll 0 0;
  box-shadow: 0px 0 10px 4px #000;
  margin: 50px auto;
  max-width: 620px;
  position: relative;
  width: 90%;
}
.child_gift_preview_html .modal-close {
  background-color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  height: 30px;
  line-height: 30px;
  position: absolute;
  right: -10px;
  text-align: center;
  top: -14px;
  width: 30px;
  z-index: 9;
}
.gift-slider {
    margin: 0 auto;
    width: 100%;
}
.gift-slider .slick-prev,
.gift-slider  .slick-next {
    background: transparent;
}
.gift-slider .slick-prev:hover,
.gift-slider  .slick-next:hover,
.gift-slider .slick-prev:focus,
.gift-slider  .slick-next:focus{
    border:none;
}
.gift-slider .slick-prev:before,
.gift-slider .slick-next:before {
    color: #333333; 
}

/*added by -Ankit Srivastava*/
.gift-slider {
  cursor: pointer;  
}
.gift-slider ._active {
  border: 1px solid #c1c1c1;
}
 
/*=====  End of Product page css  ======*/


.gift-product-view .product.media .product-media-wrapper {
  width: 100%;
}

.gift-image-wrapper img {
  width: 100%;
}
.gift-wrapper-mail .gift-card-details .clearfix {
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 45px;
}
.gift-wrapper-mail .gift-card-details .clearfix {
  font-size: 0;
  margin-top: 40px;
}
.gift-wrapper-mail .child_gift_preview_html .gift-card-details .clearfix {
  border-bottom: unset;
}
.gift-wrapper-mail .gift-card-details .left {
  border-right: 1px solid #e4e4e4;
  display: inline-block;
  float: left;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  width: 50%;
}
.gift-wrapper-mail .gift-card-details .left div:not(.gift-id) {
  color: #252525;
  margin-bottom: 6px;
  margin-top: 20px;
}

.gift-wrapper-mail .gift-card-details .left > img {
  margin-bottom: 0;
  max-width: 140px !important;
}
.gift-wrapper-mail .gift-card-details .right {
  display: inline-block;
  font-size: 13px;
  padding: 0px;
  text-align: center;
  vertical-align: middle;
  width: 40%;
}
.gift-details-form label {
  color: #252525;
  display: block;
  font-size: 13px;
 
}
@media screen and (max-width: 768px){
  .gift-details-form label {
     width: 100px;
     display: inline-block;
  }
}
.gift-details-form .control {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 125px);
}
.gift-details-form .field {
  margin-bottom: 10px;
}
.gift-details-form .field:last-child {
  margin-bottom: 0;
}
.gift-wrapper-mail .gift-card-details .price-details {
  color: #252525;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
.gift-card-details .messages-wrapper {
  border-left: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
  border-right: 1px solid #e4e4e4;
  font-size: 13px;
  min-height: 100px;
  padding: 10px;
  text-align: left;
}
.gift-card-details .messages-wrapper {
    word-wrap: break-word;
    display: block;
}




.product-add-form .price-conroll-input input {
  background: #f3f3f3 none repeat scroll 0 0;
  border: 1px solid #e4e4e4;
  border-radius: 2px;
  color: #252525;
  display: inline-block;
  padding: 4px 10px;
  vertical-align: middle;
}
.product-add-form .price-conroll-input input[type="text"] {
  height: 30px;
  min-width: 150px;
  vertical-align: middle;
  width: 150px;
}
.product-add-form .fieldset .field {
  margin-bottom: 15px;
}
.product-add-form .price-slider {
  margin-bottom: 12px;
  margin-top: 10px;
}
.product-add-form .price-slider .note {
  color: #252525;
  display: inline-block;
  font-size: 11px;
  margin-bottom: 5px;
}
.product-add-form .price-slider .note.max {
  float: right;
}

.gift-price {
  font-weight: bold;
}
.gift-price span {
  font-size: 20px;
}
.item.custom-browse {
  position: relative;
  overflow: hidden;
  display: inline-block;
  float: right;
  width: 22%;
  padding-left: 35px;
  margin-right: 30px;
}
.product-add-form .product-options-wrapper .field .control .gift-slider {
  float: left;
  width: 73%;
  margin-top: 20px;
}
.field.images .item.custom-browse span {
  background-color: #1979c3;
  border: none;
  color: #fff;
  display: block;
  text-align: center;
  padding: 5px 12px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 13px;
}
.item.custom-browse input[type="file"] {
  position: absolute;
  opacity: 0;
  left: 0;
  top: 0;
  cursor: pointer;
}
.custom-browse [src=""] {
    visibility: hidden;
}
.field.images::after {
  display: table;
  content: "";
  clear: both;
}
.control::after {
  display: table;
  content: "";
  clear: both;
}


/* preview */
.gift-card-details.wrapper .mail-head {
  background: #f2f2f2 none repeat scroll 0 0;
  margin-bottom: 25px;
  padding: 15px;
}
.gift-card-details.wrapper .mail-head label {
  color: #252525;
  display: inline-block;
  font-size: 15px;
}
.gift-card-details.wrapper .mail-head span {
  color: #808080;
  display: inline-block;
  font-size: 14px;
  margin-left: 7px;
}


.gift-card-description {
  background: #fff none repeat scroll 0 0;
}
.gift-card-description h3 {
  border-bottom: 1px solid #e4e4e4;
  margin-top: 0;
  padding: 15px;
}
.gift-card-description p {
  line-height: 25px;
  padding: 0 15px 15px;
}

.gift-review-section .block.review-add .block-content {
  padding-top: 0;
}
.gift-review-section .review-form::after {
  clear: both;
  content: "";
  display: table;
}
.gift-review-section .fieldset.review-fieldset legend.legend {
  border-bottom: 1px solid #e4e4e4;
  font-size: 16px;
  padding: 15px;
}
.gift-review-section .fieldset.review-fieldset > .field {
  padding-left: 15px;
  padding-right: 15px;
}
.page-main .column .gift-review-section .review-add {
  margin-bottom: 20px;
}

.gift-review-section .block.review-list {
  padding-left: 0;
  padding-right: 0;
}
.gift-review-section .block.review-list .block-title{
  padding: 15px !important;
  border-bottom: 1px solid #e4e4e4;
  margin-bottom: 0px;
}
.gift-review-section .block.review-list .block-title strong {
  border: medium none;
  font-size: 16px;
  margin: 0;
  padding: 0;
  text-transform: capitalize;
}
.gift-review-section .block.review-list .block-content {
  padding-bottom: 15px;
  padding-left: 15px;
  padding-top: 0;
}

/* gift card landing page */
.gift-card-section .headings{
  background-image: url('../images/section.png');
}

/*===================================
=            Media Query            =
===================================*/
@media screen and (min-width: 1285px){
.gift-slider {
    max-width: 490px;
}
}

@media screen and (min-width: 991px) and (max-width: 1285px)
{
.gift-slider {
    max-width: 370px;
}
}

@media screen and (min-width: 768px) and (max-width: 991px)
{
  .gift-slider {
    max-width: 280px;
}
}
@media screen and (min-width: 600px) and (max-width: 768px)
{
  .gift-slider {
    max-width: 500px;
}
}
@media screen and (min-width: 400px) and (max-width: 600px)
{
  .gift-slider {
    max-width: 300px;
}
}
@media screen and (max-width: 400px){
    .gift-slider {
    max-width: 250px;
}
}

@media screen and (max-width: 768px) {
  .item.custom-browse {
    padding-left: 0;
    margin-right: 0;
    float: none;
    display: block;
    width: 80%;
    margin: 0 auto;
  }
  .field.images .item.custom-browse span {
    width: 38%;
  }
  .product-add-form .product-options-wrapper .field .control .gift-slider {
    float: none;
    width: 80%
  }
  .child_gift_preview_html .mobile-full{
    width: 100%;
  }
  .child_gift_preview_html .mobile-hide{
    display: none !important;
    height: auto !important;
  }
}
/*=====  End of Media Query  ======*/
@media screen and (min-width: 768px) {
  .child_gift_preview_html table.mobile-full {
    width: calc(50% - 1px);
  }
  .child_gift_preview_html table.mobile-hide {
    width: 1px !important;
  }
  .child_gift_preview_html table.mobile-hide td{
    padding: 0;
  }
}