/*
Swatch Compare
*/

.admin-bar .overlay {
  top: 32px;
}

.site-header {
  z-index: 10 !important;
}

.swatch-opac.active {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #000;
z-index: 9000;
opacity: .7;
}

.swatch_picker {
  width: 40px;
  margin: 2px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  max-width: calc(10% - 2px);
  aspect-ratio: 1;
  z-index: 10001;
  float:left;
  background-size: cover;
}

.swatch_compare {
  z-index: 10001;
  aspect-ratio: 1;
  height: 100px;
  position: absolute;
  background-size: cover !important;
  top: -1.5em;
  left: 2em;
  -webkit-border-radius: 12em;
  -moz-border-radius: 12em;
  border-radius: 12em;
}

.swatchly-swatch-selected {
  -webkit-border-radius: 12em !important;
  -moz-border-radius: 12em !important;
  border-radius: 12em !important;
}

.swatch_picker-selected {
  box-shadow: 0 0 0 3px rgba(99,20,100,.85);
  border: 1px solid #fff;
}

#mySwatchComp {
  background-color: #f2f2f2;
  overflow: hidden;
  z-index: 10000;
  max-width: 700px;
  width: 95%;
  display: none;
  height: 100%;
  left: -500px;
  position: fixed;
  top: 0;
  border: 1px solid;
  box-shadow: 0 4px 6px -3px grey;
  flex-direction: column;
}

#overlay-content-help {
  color: #949494;
  margin: 0;
  position: absolute;
  top: 50%;
  left:50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.overlay-content {
  position: relative;
  border: 3px;
  border-color: #c9c9c9;
  background-color: #fff;
  border-style: dashed;
  flex: auto;
  overflow: hidden;
  width: 100%;
  -webkit-border-radius:10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.overlay a {
  text-decoration: none;
  color: #000;
  display: block;
}

.overlay a:hover {
  color: #b0b0b0;
}
#deleteArea {
 width: 70px;
 height: 70px;
 float: left;
}

.overlay .closebtn {
position: absolute;
right: 0;
padding: 17px 15px 13px !important;
font-family: Arial,serif !important;
  z-index: 10100;
}

.swatch_compare_title {
padding: 10px !important;
font-weight: 500 !important;
font-size: 24px !important;
color: #333 !important;
border-bottom: 1px solid #ccc !important;
height: 50px;
width: 100%;
float: left;
background-color: #fff;
margin-bottom: 4px;
}
.swatch_compare_title::before {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: inherit;
  vertical-align: baseline;
  content: "\f5c3";
  margin-right: .5407911001em;
}
.overlay .ctrstbtn::before {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: inherit;
  vertical-align: baseline;
  content: "\f042";
  margin-right: .5407911001em;
}

.swatch_picker_content {
clear: both;
flex: none;
}

.overlay .ctrstbtn {
  position: absolute;
  bottom: 0px;
  left: 2px;
  font-weight: 600;
  font-size: 20px;
  padding: 10px;
  border: 1px #000 solid;
  z-index: 11100;
  color: #000;
  background: #fff;
}

@media screen and (max-width: 767px) {
  #deleteArea {
    width: 70px;
    height: 70px;
   font-size:25px;
  }
  .overlay .closebtn, .overlay .ctrstbtn {
    font-size: 14px;
  }
  .swatch_compare {
  top: -0.5em;
  left: 1em;
  -webkit-border-radius: 8em;
  -moz-border-radius: 8em;
  border-radius: 8em;
  }
  #overlay-content-help {
    font-size: 12px;
  }
}

