
#dug_product_compare_list{
  position: fixed;
  bottom: 30px;
  left: -500px;
  z-index: 5000;
  background-color: #fff;
  transition: 0.3s all;
  padding: 20px;
  box-shadow: 2px 2px 4px 2px #8d8d8d66;
}

#dug_product_compare_list.show{
  left: 30px;
}

#dug_product_compare_list p{
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 15px;
}

#dug_product_compare_list ul{
  list-style-type: none;
  padding-left: 0;
}

#dug_product_compare_list ul li{
  margin-top: 5px;
}

#dug_product_compare_list .dug_compare_cta{
  border: 2px solid;
  padding: 10px 20px;
  margin-top: 10px;
  display: block;
  text-align: center;
  text-decoration: none;
  transition: 0.3s all;
}
#dug_product_compare_list .dug_compare_cta.disabled{
  opacity: 0.3;
  cursor: default;
}
#dug_product_compare_list .dug_compare_cta:not(.disabled):hover{
  background-color: #3d92c9;
  color: white;
  cursor: pointer;
}

#dug_product_compare_list .dug_compare_cta span{
  display: none;
}
#dug_product_compare_list > div{
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-frame{
  z-index: 26000!important;
}
.modal-overlay{
  z-index: 20000!important;
}

.modal-frame.state-appear .modal-inset,
.modal-frame.state-leave .modal-inset{
  animation-duration: 2ms!important;
}

.modal-body{
  transition-delay: 2ms!important;
  transition-duration: 2ms!important;
}

#dug_compare_products_modal{
  width: 85%;
  height: 85vh;
  overflow-y: auto;
  min-height: 600px;
}

#dug_compare_products_modal .modal-inset{
  width: 100%;
  padding: 30px;
}
#dug_compare_products_modal .modal-inset .close {
  top: 40px;
  right: 40px;
  width: 40px;
  z-index: 50;
}

#dug_compare_products_modal h2{
  text-transform: uppercase;
  font-size: 44px!important;
}

#compare_head, #compare_container{
  display: flex;
  justify-content: space-between;
}

#compare_head img{
  max-height: 280px;
}
#compare_head > div{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  min-width: 240px;
  background-color: #fff;
}
#compare_head a{
  color: #333;
  text-decoration: none;
}
#compare_head a p{
  text-align: left;
  font-size: 22px;
  font-weight: 800;
  margin-top: 15px;
  padding-bottom: 0;
  height: 40px;
  line-height: 24px;
  margin-bottom: 0;
}
#compare_head .dug_compare_price{
  color: #333;
  height: 40px;
  text-align: left;
  font-size: 24px;
  font-weight: 800;
  margin-top: 5px;
  padding-bottom: 10px;
  margin-bottom: 0;
}

#compare_head .dug_compare_stock{
  font-size: 18px;
  display: inline-block;
  margin: 0;
  font-style: italic;
  text-align: left;
}

#compare_container{
  margin-top: 30px;
}

#compare_container .dug_compare_attribute_labels p:nth-child(odd),
#compare_container .dug_compare_attribute_values p:nth-child(odd)
{
  background-color: #f1f1f1;
}

#compare_container .dug_compare_attribute_labels{
  border-right: 1px solid #ccc;
  min-width: 240px;
  background-color: #fff;
}

#compare_container p{
  text-align: left;
  font-weight: 800;
  padding: 10px 20px;
  height: 40px;
}

#compare_container .dug_compare_attribute_values{
  min-width: 240px;
  background-color: #fff;
}
#compare_container .dug_compare_attribute_values p{
  color: #999;
}

.w-33{
  width: 33.3%;
}
.w-25{
  width: 25%;
}
.w-20{
  width: 20%;
}

.modal-body.child_col_w-33{
  min-width: 1000px;
}
.modal-body.child_col_w-25{
  min-width: 1200px;
}
.modal-body.child_col_w-20{
  min-width: 1200px;
}

.modal-inset.child_col_w-33{
  min-width: 1100px;
}
.modal-inset.child_col_w-25{
  min-width: 1300px;
}
.modal-inset.child_col_w-20{
  min-width: 1300px;
}

.modal-body .dug_archive_separator {
  top: 30px!important;
}

.dug_compare_vitrine{
  max-width: 280px;
  text-align: left;
  font-style: italic;
  margin: 0;
}


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

  /* display add to compare without hover for touchscreen */
  .dug_add_to_compare{
    display: flex!important;
    position: relative;
    top: 60px;
    justify-content: center;
    align-items: center;
    width: 300px;
    right: 40px;
    background-color: #f1f1f1;
    padding: 10px;
    color: #333;
  }

  /*modal content and font smaller*/
  #dug_compare_products_modal h2 {
    font-size: 32px!important;
  }
  .modal-body .dug_archive_separator {
    top: 20px!important;
  }

  .modal-body.child_col_w-33{
    min-width: 800px;
  }
  .modal-body.child_col_w-25{
    min-width: 900px;
  }
  .modal-body.child_col_w-20{
    min-width: 900px;
  }

  .modal-inset.child_col_w-33{
    min-width: 900px;
  }
  .modal-inset.child_col_w-25{
    min-width: 1000px;
  }
  .modal-inset.child_col_w-20{
    min-width: 1000px;
  }

  #compare_head > div ,
  #compare_container .dug_compare_attribute_labels,
  #compare_container .dug_compare_attribute_values{
    min-width: 180px;
  }

  #compare_container p {
    font-size: 14px;
    padding: 5px 10px;
    line-height: 13px;
    display: flex;
    align-items: center;
  }

  #compare_head a p {
    line-height: 18px;
    font-size: 18px;
  }
  #compare_head .dug_compare_price{
    font-size: 22px;
  }
}

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

  /*product added to compare state showing better*/
  .dug_add_to_compare.added_to_compare{
    background-color: #D21116;
    color: white;
    font-weight: 700;
  }

  /*compare list with number and not list*/
  #dug_product_compare_list.show{
    bottom: 0;
    left: 0;
    width: 100%;
  }
  #dug_product_compare_list{
    padding: 0;
  }

  #dug_product_compare_list .dug_compare_cta{
    margin-top: 0;
    border: none;
    background-color: #D21116;
    color: white;
    font-weight: 700;
  }
  #dug_product_compare_list .dug_compare_cta.disabled{
    opacity: 0.5;
    cursor: default;
    background-color: #333;
  }
  #dug_product_compare_list .dug_compare_cta span{
    display: inline-block;
  }
  #dug_product_compare_list p,
  #dug_product_compare_list ul,
  #dug_product_compare_list .button.close{
    display: none;
  }

  .modal-body .dug_archive_separator {
    display: none;
  }
  #dug_compare_products_modal h2 {
    font-size: 24px!important;
  }

  #dug_compare_products_modal .modal-inset .close{
    right: inherit;
    left: 74vw;
    top: 0;
    position: sticky;
    margin-bottom: -35px;
    margin-top: -15px;
  }
  .modal-body .dug_archive_secondary_title{
    margin-bottom: -10px;
  }
  #compare_head img {
    max-height: 140px;
  }
  #compare_head a p{
    margin-top: 10px;
    height: 32px;
    font-size: 16px;
  }
  #compare_head .dug_compare_price {
    font-size: 20px;
    padding-bottom: 0;
    height: 30px;
  }
  #compare_head .dug_compare_stock {
    font-size: 14px;
  }
  #compare_container {
    margin-top: 15px;
  }
  .dug_compare_vitrine{
    font-size: 14px;
  }

}


@media only screen and (max-width :400px) {
  .dug_add_to_compare{
    width: 240px;
  }

  #dug_compare_products_modal .modal-inset .close{
    left: 70vw;
  }

  #compare_container p {
    font-size: 12px;
    height: 35px;
  }
}
