/* fix spacing between fields */

.woocommerce-product-details__short-description {
  display:none;
}

.single-product div.product form.cart {
  padding-top: 0px;
}

.yith-wapo-addon.yith-wapo-addon-type-file .yith-wapo-ajax-uploader {
  margin: 0px 0px;
}

h6.wapo-addon-title {
  margin-bottom: 6px;
}

#yith-wapo-option-39 h6.wapo-addon-title {
  margin-bottom: 0px;
}

#wapo-total-price-table {
  margin-top:0px;
}

table.only_final {
  margin-bottom:0px;
}

#yith-wapo-option-37-0, #yith-wapo-option-39-0 {
  max-width:100%;
}

.woocommerce-variation.single_variation {
  display:none !important;
}

.yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-select .option-image {
  margin-bottom:0px;
}

.woocommerce-variation.single_variation {
  display:none;
}

#wapo-total-price-table .wapo-total-order th{
  padding-left: 0px;
  padding-bottom:0px;
  padding-top: 0px;
  color: #222 !important;
  font-weight: bold !important;
  font-size: 15px !important;
}

#wapo-total-price-table .wapo-total-order #wapo-total-order-price{
  padding-left: 0px;
  padding-bottom:0px;
  padding-top: 0px;
  color:green;
  font-size: 15px;
  font-weight: bold;
}

.ywdpd-table-discounts-wrapper .ywdpd-table-discounts-label{

  margin-bottom: 5px;

}

table#ywdpd-quantity-table {

  margin-bottom: 0px;

}

.option-description {

  font-size:12px;

}

.woocommerce-tabs .wc-tabs{

  padding-top:0px;

}

.product_title.entry-title {

  font-size: 21px;

}

form.variations_form table.variations .selectric .label .item_price{

  display:none;

}

/* fix spacing between fields ends */



/* price table fix */

#ywdpd-quantity-table th {

  display:none;

}

#ywdpd-quantity-table td {

  border-left: none;

  border-right: none;

  border-bottom: none;

}

#ywdpd-quantity-table tr:last-child td {

  border-bottom: 1px solid #efefef;

}



#ywdpd-quantity-table td:first-child {

  text-align: left;

  padding-left: 10%;

}

#ywdpd-quantity-table td:last-child {

  text-align: right;

  padding-right: 10%;

}

#ywdpd-quantity-table tr td.ywdpd_active {

  border: 1px solid #efefef;

  background-color: #e0f0ff;

}

/* price table fix ends */

/* buttons overlapping fix */

.product .cart .single_add_to_cart_button {

  width: 140px !important;

}

/* .ywsfl_button_container button {

  width: 140px;

  padding: 0.6180469716em 0.51575em;

} */

/* buttons overlapping fix ends*/



.woocommerce-notices-wrapper {

  display: none !important;

}



.ywsfl_single_remove {

  padding: 6px 12px;

}

#img-align-options {
  display: none;
}

.align-img {
  display: inline-block; 
  width: 20px;
  height: 20px;
  background-size: contain;
}

#img-align-container{
  position: relative;
}

#img-align-options {
  position:absolute;
  background-color: #fefefe;
  padding: 10px;
  width: 200px;
  top: -221px; 
}

#img-align-left, #img-align-center, #img-align-bottom, #img-align-middle, #img-align-right, #img-align-top{
  display: flex;
  margin-bottom: 5px;
  padding-top: 5px
}

.align-label {
  padding-left:20px;
}

#img-align-left .align-img{
  background-image: url('https://novaprintsupply.com/wp-content/plugins/jesmar-custom-objects/assets/img/align-left.png'); 
}

#img-align-center .align-img{
  background-image: url('https://novaprintsupply.com/wp-content/plugins/jesmar-custom-objects/assets/img/align-center.png'); 
}

#img-align-bottom .align-img{
  background-image: url('https://novaprintsupply.com/wp-content/plugins/jesmar-custom-objects/assets/img/align-bottom.png'); 
}

#img-align-middle .align-img{
  background-image: url('https://novaprintsupply.com/wp-content/plugins/jesmar-custom-objects/assets/img/align-middle.png'); 
}

#img-align-right .align-img{
  background-image: url('https://novaprintsupply.com/wp-content/plugins/jesmar-custom-objects/assets/img/align-right.png'); 
}

#img-align-top .align-img{
  background-image: url('https://novaprintsupply.com/wp-content/plugins/jesmar-custom-objects/assets/img/align-top.png'); 
}

#img-edit-container{
  position: relative;
}

#img-edit-options {
  display: none;
  position:absolute;
  background-color: #fefefe;
  padding: 10px; 
  width: 242px;
  top: -183px; 
  padding-top: 0px;
}

#img-edit-options .edit-option-row{
  display: flex;
  margin-bottom: 5px;
  padding-top: 5px;
  align-items: center; 
}

#edit-width-height-container {
  display: flex;
  flex-wrap: wrap; 
  gap:2%;
}

.edit-columns {
  display: flex;
  flex-direction: column; 
  width: 49%; 
}

.edit-label {
  text-align: left; 
}

.edit-fields {
  display: flex;
  flex-direction: row; 
  justify-content: space-between; 
}

.edit-plus, .edit-minus {
  cursor: pointer; 
  text-align: center;
  border: 1px solid #DDD;
}

.edit-minus:focus-visible, .edit-plus:focus-visible {
  border: 1px solid #DDD;
}

#edit_art_width, #edit_art_height {
  width: 50%; 
  text-align: center; 
  height: 25px;
  border: 1px solid #DDD;
}

#edit_art_width, #edit_art_height {
  -webkit-appearance: textfield; /* Chrome, Safari, Edge */
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield;
}

/* For Firefox */
#edit_art_width::-webkit-inner-spin-button,
#edit_art_width::-webkit-outer-spin-button,
#edit_art_height::-webkit-inner-spin-button,
#edit_art_height::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* For other browsers */
#edit_art_width::-webkit-inner-spin-button,
#edit_art_width::-webkit-outer-spin-button,
#edit_art_height::-webkit-inner-spin-button,
#edit_art_height::-webkit-outer-spin-button {
  display: none;
}

.yith-wapo-custoom-html {

  /* display: flex; */

  display:none;

  gap: 2px;

  flex-wrap: wrap;

  margin-top: 20px;

}



.jso-scale-fields {

  min-width: calc(50% - 10px);

  max-width: 49%;

}



.jso-scale-fields .quantity-container {

    display: flex;

    align-items: flex-start;

    /* justify-content: end;

    flex: 1; */

}





.jso-scale-fields .qty_plus, .jso-scale-fields .qty_minus {

  width: 45px;

  color: #000;

  font-size: 30px;

  font-weight: 300;

  cursor: pointer;

  user-select: none;

  text-indent: unset;

  height: 40.5px;

  text-align: center;

  line-height: 1em;

  border: 1px solid #DDD;

  box-sizing: border-box;

  display: block;

  padding-top: 5px;

}



.jso-scale-fields .qty_variation {

  height: 40.5px;

  box-sizing: border-box;

  border: 1px solid #DDD;

  padding: 5px 2px;

  color: #000;

  width: 60px;

  outline: none;

  box-shadow: none;

  font-size: 13px;

  font-family: inherit;

  display: inline-block;

  text-align: center;

  line-height: 1em;

  -moz-appearance: textfield;

}



.jso-scale-fields .label {

  color: #222 !important;

  font-weight: bold !important;

  font-size: 15px !important;

  margin-bottom: 6px;

}



.qty_variation::-webkit-inner-spin-button,

.qty_variation::-webkit-outer-spin-button {

  -webkit-appearance: none;

  margin: 0;

}



.qty_variation {

  -moz-appearance: textfield;

}



.jso-scale-fields .qty_variation {

  width:80px;

}





#canvas-container {

  width:100%;

}



#canvas-options {

  padding: 5px 10px;

  display: flex;

  column-gap: 5px;

  width: 100%;

}

#canvas-options div{

  cursor: pointer;

  color: #1c4f74;

  font-size: 14px;

  flex-grow: 1;

}

#canvas-options div i{

  

  margin-right: 5px;

  font-size: 12px;

}



#zoom {

  min-width: 50px;

  display: flex;

  justify-content: center;

}

#zoom-current {

  min-width:40px;

}



#main-site-wrapper {

  width:100%;

  /* max-width:1600px; */

  max-width: 100%;

  padding: 0px;

}



.yith-wapo-addon-type-colorpicker .yith-wapo-option .wp-picker-container {

  width: 100%;

}



#yith-wapo-addon-39 .options.per-row-1, #yith-wapo-addon-37 .options.per-row-1, #yith-wapo-addon-36 .options.per-row-1, #yith-wapo-addon-47 .options.per-row-1{

  grid-template-columns: repeat(1, minmax(0, 100%) ) !important;

}
#yith-wapo-option-47-0 {
  max-width: 100%;
}

#yith-wapo-option-47-0 label {
  display:none;
}

#yith-wapo-addon-37 .addon-header{
  display:none !important;
}
/* #yith-wapo-addon-38 .options.per-row-1 {

  min-width: 400px !important;

} */


#yith-wapo-addon-15.addon-header {
  display:none !important;
}
.yith-wapo-block .yith-wapo-addon-type-colorpicker input[type="text"].wp-color-picker {

  /* width: 16rem !important; */

  width: 100% !important;

}

.wp-picker-input-wrap {

  width:80%;

}



#yith-wapo-option-37-0 {

  max-width: 100%;

}



.single_add_to_cart_button {

  max-width: 150px;

  width: 150px !important;

  padding: 0px;

  height: 40px !important;

  font-size: 16px !important;

  line-height: 17px !important;

  margin-top: 8px;

  border-radius: 2px !important;

}



/* .ywsfl_button_container {

  float: right;

  margin-top: -66px;

} */



#yith-wapo-option-37-0 label {

  font-weight: bold;

  font-family: sans-serif;

  font-size: 15px;

}

div.elementor-location-footer, section.related-wrapper {

  display:none;

}



.product-details-wrapper {

  padding-bottom: 0px;

}



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



  .product-details-wrapper {

    display: flex;

    flex-direction: row-reverse;

    padding-right: 0px;

    padding-left: 0px;

    max-width: 100%;

  }



  .product-details-wrapper .woocommerce-canvas-product {

    flex: 0 0 70%;
    box-sizing: border-box;
    background-color: #f8f9fa;
    padding: 5px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 100vh;
    min-height: 100vh;
    max-width: 70%;
  }

  .product-details-wrapper .entry-summary {
    flex: 0 0 30%;
    box-sizing: border-box;
    max-height: 100vh;
    overflow-y: scroll;
    margin-bottom: 0px !important;
    overflow-x: hidden;
    margin-right: 0px !important;
    padding-right: 21px;
  }

  .archive-header {
    display: none;
  }

  #main-site-wrapper {
    padding-top:0px;
  }

  .single-product #page div.product .summary {
    padding-left: 32px;
  }

  #page .woocommerce-tabs ul.tabs {
    text-align: left;
  }

  #page .woocommerce-tabs ul.tabs {
    padding: 20px 0 0;
    border: 0;
  }

  #page .woocommerce-tabs ul.tabs li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    display: block;
    margin: 0;
    border: 0;
    position: relative;
    line-height: 1;
  }

  .woocommerce-tabs {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  #page .woocommerce-tabs .panel {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .woocommerce-tabs .tabs li.active a:after {
    display: none;
  }

  .col-full.topbar-wrapper, .full-header-top {
    display:none;
  }

  .site-content .full-header-top{
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    max-width: 30vw;
  }

  .site-content {
    margin-top: 0px !important;
  }

  .product_title.entry-title {
    margin-top:67px;
  }

  .site-content .full-header-top .main-header{
    display:flex;
    padding-left: 20px;
    padding-right: 10px;
    margin-left: 0px;
    margin-right: 0px;
    background-color: transparent !important;
    padding-top: 0px !important;
  }

  .site-header .custom-logo-link img {
    height: 35px;
    margin: 0 auto;
  }

  .site-content .full-header-top .main-header .menu-desktop{
    order: 1;
    width:33%;
  }

  .site-content .full-header-top .main-header .site-branding{
    order: 2;
    width:33%;
  }

  .site-content .full-header-top .main-header .site-header-cart{
    order: 3;
    width:33%;
  }

  .menu-desktop {
     margin-left: 0px;
  }

  #page .site-header-cart .cart-contents {
    display: flex;
    flex-direction: row-reverse;
  }

  header#masthead .menu-desktop .text-menu, header#masthead .site-search, header#masthead  .secondary-navigation, .site-header-cart .cart-contents .amount{
    display:none;
  }

  .header-5.wc-active .site-header-cart a.cart-contents{
    padding: 0px;
    border-left: none !important;
  }

  .product .cart .orthemes_custom_quantity + style + script + button {
    margin-left: 20px !important;
    min-width: 100px;
    font-size:14px !important;
    width: 120px;
    max-width: 120px;
  }

  #woocommerce-canvas-product #canvas-container {
    height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #woocommerce-canvas-product .canvas-container{
    margin:0 auto;
    overflow-y:scroll;
    overflow-x: hidden;
    max-height: 100%;
  }

}

@media screen and (max-width: 767px){

  #mobile-canvas-container .canvas-container{
    margin:0 auto;
  }

  #yith-wapo-addon-38 .options.per-row-1{
    min-width: 100% !important;
  }

  #canvas-options div{
    font-size: 13px;
  }

  .single-product div.product form.cart .single_add_to_cart_button  {
    font-size: 14px !important;
    width: calc(100% - 255px) !important;
  }

  .yith-wapo-block .yith-wapo-addon-type-colorpicker input[type="text"].wp-color-picker {
    width: 14rem !important;
    max-height: 35px;
    line-height: 1;
    min-height: 35px
  }

  #canvas-options {
    padding: 5px 2px;
  }

  .woocommerce-canvas-product {
    margin-bottom:20px;
  }

  #img-align-options {
    z-index: 9999;
  }

  #img-align-options {
    padding: 5px;
    width: 120px;
    top: -190px;
  }

  .align-img {
    width: 12px;
    height: 12px;
  }

  #img-align-left, #img-align-center, #img-align-bottom, #img-align-middle, #img-align-right, #img-align-top {
    margin-bottom: 4px;
    padding-top: 4px;
  }

  #page div.product .summary {
    width: 100% !important;
    margin-right: 0px;
  }

  #main-site-wrapper {
    padding-right: 1em;
    padding-left: 1em;
  }

  #mobile-canvas-container {
    margin-top: 20px;
    overflow-y: scroll;
  }

  #img-edit-options {
    top: -134px; 
  }

  #zoom-percentage, #zoom-out, #zoom-in, #img-remove, #img-edit, #img-align, #img-redo, #img-undo {
    width: 40px;
    max-width: 40px !important;
    text-align: center;
    font-weight: bold;
  }

  #canvas-options {
    column-gap: 0;
  }
  #canvas-options div i {
    font-size: 14px;
  }

}
