#TB_window {
  left: 0 !important;
  margin: 0 auto !important;
  max-width: 600px !important;
  right: 0 !important;
  top: 10% !important;
  width: 95% !important;
  /*IOS issue(Mobile device)*/
  -webkit-overflow-scrolling: touch!important;
  z-index: 9999999;    
}
#TB_window iframe#TB_iframeContent {
  margin: 0 auto;
  max-width: 600px;
  width: 100% !important;
  height: 480px!important;
}
.product_cat-gift-card h1 {
 margin-bottom: 15px!important;
 /*text-transform: uppercase;*/
}
.mwb_wgm_added_wrapper > .mwb_wgm_section {
  /*color: #666666;
  font-family: Montserrat,"Helvetica Neue",sans-serif !important;*/
  margin-bottom: 25px !important;
}
.mwb_wgm_added_wrapper label {
 color: #666666 ;
 font-size: 14px;
 /*text-transform: uppercase;*/
}
.mwb_wgm_added_wrapper input {
 font-family: Montserrat,"Helvetica Neue",sans-serif!important;
/*padding: 15px !important;*/
height: auto;
padding: 6px 10px;
}
textarea#mwb_wgm_message {
    padding: 10px 10px;
}
.mwb_wgm_added_wrapper > p input.mwb_wgm_to_email {
 margin-bottom: 20px;
 margin-top: 7px;
}
.mwb_wgm_added_wrapper .mwb_wgm_message {
  display: block;
  margin-bottom: 3px;
  width: 100%;
  /*margin-top: 7px;*/
}
.mwb_wgm_info {
  display: block;
  margin-top: 3px;
}
/*.mwb_wgm_section {
  margin-bottom: 35px;
}*/

/*#mwb_wgm_message {
 border: 1px solid #dddddd !important;
 display: block;
 width: 100%;
}*/
.mwb_wgm_from_name, .mwb_wgm_send_date.hasDatepicker, .input-text.mwb_wgm_price {
  width: 100%!important;
}
.mwb_wgm_to_email {
  width: 100%!important;
}
#mwb_wgm_to_email, #mwb_wgm_to_ship, #mwb_wgm_to_download, #mwb_wgm_message, #mwb_wgm_to_name_optional, .mwb_wgm_added_wrapper .mwb_wgm_from_name, .mwb_wgm_send_date {
 border: 1px solid #f1f1f1 ;
}
#mwb_wgm_browse_img{
  border: 1px solid #f1f1f1 ;
}
.mwb_wgm_send_giftcard {
  margin-right: 5px;
}
#mwb_wgm_price {
 padding: 8px 15px;
 width: 100%;
}
.mwb_wgm_added_wrapper .mwb_wgm_msg_info {
 display: block;
 font-size: 13px;
}
.mwb_wgm_added_wrapper .mwb_gm_method{
  display:block;
}
.mwb_wgm_added_wrapper #mwb_wgm_send_date {
  border: 1px solid #f1f1f1;
  /*margin: 10px 0;*/
}.mwb_wgm_added_wrapper .mwb_wgm_to_email{
margin-bottom: 10px  !important;
}

.mwb_wgm_added_wrapper .mwb_wgm_disable:focus {
 background: #f7f7f7 linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)) repeat scroll 0 0;
 border-bottom: none;
}
.mwb_wgm_pre_selected_temp {
  border: 3px solid #9e9e9e !important;
  border-radius: 5px;
  margin-right: 12px;
}
.mwb_wgm_featured_img {
  margin-right: 12px;
  margin-bottom: 10px;
  border: solid 3px #d2d2d2 ;
  background-color: #00897b;
  display: inline-block;
}
.mwb_wgm_delivery_method {
  border: 1px solid #f1f1f1;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.12);
  margin-bottom: 25px;
  padding: 20px;
}

@media only screen and (max-width: 640px){
  #TB_window > iframe#TB_iframeContent {
  height: 400px !important;
  }
  /*IOS issue(Mobile device)*/
  #TB_window {
   height: 80vh;
   overflow-y: scroll;
 }
}
@media only screen and (max-width: 768px){
  .mwb_wgm_added_wrapper input[type="text"], .mwb_wgm_added_wrapper textarea{
    font-size: 12px;
  }
}
/*====================================
=            custom style            =
====================================*/
.product_cat-gift-card {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.14);
  padding: 30px;
}
 .product_cat-gift-card h1 {
 /* font-size: 42px;*/
  position: relative;
}

 .product_cat-gift-card h1.product_title.entry-title::before {
    background-color: #575757;
    bottom: -8px;
    content: "";
    height: 2px;
    position: absolute;
    width: 45%;
}
.product_cat-gift-card .woocommerce-product-gallery__image.flex-active-slide {
  max-width: 300px;
  width: 100%;
}
.product_cat-gift-card .price {
  margin: 15px 0;
}
.product_cat-gift-card .woocommerce form.cart, .woocommerce-page form.cart {
  margin-top: 20px!important;
}
.product_cat-gift-card .mwb_wgm_added_wrapper > p label {
  display: block;
  font-size: 15px;
  margin-top: 10px;
  padding-bottom: 6px;
}
.product_cat-gift-card input[type="text"], .product_cat-gift-card input[type="email"], .product_cat-gift-card input[type="url"], .product_cat-gift-card input[type="password"], .product_cat-gift-card input[type="search"] {
  padding: 7px !important;
}
.product_cat-gift-card .mwb_wgm_from_name, .product_cat-gift-card .mwb_wgm_send_date.hasDatepicker, .product_cat-gift-card .input-text.mwb_wgm_price {
  border: 1px solid #f1f1f1 ;
  width: 100% !important;
}
.product_cat-gift-card input,.product_cat-gift-card textarea{
  border: 1px solid #f1f1f1!important;
}
 /*.product_cat-gift-card span, .product_cat-gift-card p, .product_cat-gift-card a{
  font-size: 15px;
}*/
.product_cat-gift-card .woocommerce-product-gallery__image {
  border: 1px solid #f1f1f1;
  border-radius: 5px;
  padding: 5px;
}
.product_cat-gift-card input:active, .product_cat-gift-card textarea:active {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.product_cat-gift-card .mwb_wgm_send_giftcard {
  margin-bottom: 7px;
  margin-right: 7px;
}
/*.product_cat-gift-card .woocommerce-Price-amount span span, .product_cat-gift-card .woocommerce-Price-amount span {
  font-size: 24px;
}*/
/*=====  End of custom style  ======*/
.mwb_wgm_added_wrapper > p {
  margin-bottom: 3px;
}
.amount_wrapper{
  background: grey;
  background-color: grey;
  display: inline-block;
  padding: 2%;
  margin: 2%;
  font-weight: bold;
  color: white;
}
#mwb_check_balance{
  background: grey;
  background-color: grey;
  display: inline-block;
  padding: 2%;
  font-weight: bold;
  color: white;
}
#mwb_wgm_loader {
    background-color: rgba(255, 255, 255, 0.6);
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 99999;
}
#mwb_wgm_loader img {
    display: block;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: 40%;
}
.gift_card_balance_email, .gift_card_code{
  width: 50%;
}
.gift_card_balance_email {
  margin-bottom: 25px;
}
.gift_card_code {
  margin-bottom: 25px;
}
.mwb_check_balance {
  margin-top: 15px;
}
/* custom css for redeem iframe*/
.mwb_redeem_embed {
  width: 100%;
  height: 610px;
  display: block;
}