/* .action {
  width: 100%;
  display: flex;
  justify-content: center;
} */
.action{
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin: 0 10% 0 10%;
 }
div#canvas {
  height: 30%;
  width: 100%;
}

.canvas-area{
  background: white;
  width: 100%;
  /* border-radius: 0% 0% 10% 10%; removed the cureves */
  /* margin-bottom: 20px; */  /*Removed the margin below the canvas*/
}

div#container {
  position: relative;
  width: 100%;
  height: 100%;
}

body, html {
  width: 100%;
  height: 100%;
}

.undo {
  height: 30%;
  width: 30%;
  background-image: url(../images/undoInactive.svg);
}

.redo{
  height: 30%;
  width: 30%;
  background-image: url(../images/redoInactive.svg);
}

.imgProperty {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 30px;
  margin: 21px;
  height: 30px;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #f0f0f0;
}

/* changes done to add verticall scrolling without affecting other category tabs */
.templates{
  /* display: grid;
  height: max-content;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
  overflow-x: scroll; */
  display: grid;
  max-height: 30%;  /* This looks more interactive as otherwise you can give 35% to completely stabilize*/
  /* grid-template-columns: 33% 33% 33%; */
  grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  grid-auto-flow: row;
  overflow-y: auto;
}
.pickColor {
  /* padding-top: 15px; */
  width: 100%;
  display: grid;
  /* grid-template-columns: 33% 33% 33%; */
  grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
}
.temp {
  height: 8.5vh;
  margin: 5px;
  padding: 5px;
  border-radius:  5px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

  /**
* Setting display to flex makes this container lay
* out its children using flexbox, the exact same
* as in the above "Stepper input" example.
*/
/* .tabs {
  width: 100%;
  display: grid;
} */

.tabs {
  background: #F2F4F8;	
  width: 100%;
  overflow-x: scroll;
  column-gap: 3%;
  /* padding: 0px 2px 0px 2px; */
  white-space: nowrap;
  display: grid;
}
/* .tab {
  color: #707070;
  font-size: 14px;
  text-align: center;
  padding: 5px;
  border-bottom: 3px solid transparent;
} */
.tab {
  color: #707070;
  font-size: 15px;
  text-align: center;
  /* border-bottom: 3px solid transparent; */
  padding: 0px 15px 0px 15px;
  min-width: 50px;
  width: max-content;
  font-weight: bold;
  border-radius: 5%;
  border-color: white;
  /* background: white;  removed to make look like vd*/ 
  border-spacing: 15px;
}

.tab.is-tab-selected {
  color: #000000;
  font-size: 17px;
  font-weight: bolder;
  min-width: 50px;
  width: max-content;
  text-align: center;
  /* border-bottom: 3px solid transparent; */
  padding: 0px 15px 0px 15px;
  font-weight: bold;
  border-color: white;
  /* background: white; */
  /* border-radius: 5%; */
    border-bottom: 4px solid #00816D;
  /* background-color: #F0C6C6; */
 

}

.save {
    position: absolute;
  width: 50%;
  left: 50%;
  bottom:10px;
  transform: translate(-50%,-50%);
  font-weight: bold;
  border-radius: 31px;
  background: #FAEB47;
  align-items: center;
  display: flex;
  justify-content: center;
  height: 8vh;
  font-size: 18px;
  color: #000000;
}

.dots {
  display: inline-block;
}

.activeCircle{
  background-image: url(../images/active.svg);
}
.inactiveCircle{
  background-image: url(../images/inactive.svg);
}

.pagination {
  position: absolute;
  top: 83%;
  display: flex;
  width: 100%;
  height: 5%;
  align-items: center;
  justify-content: center;
}

.parent-container{
  height: 28%;
  overflow-y: auto;
}

.tempGroup {
  background: #F2F4F8;	
  padding: 0 4% 0 4%;
  height: 100%;
}

.circleProperty {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 10px;
  height: 10px;
  margin: 1%;
}

.templates>div:hover, .templates>div:active {
    background-color: #B7DABD2E;
  border: 2px solid #00816D;
}

/* .emoji {
  margin: 0% 0% 0% 0%;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  text-align: center;
  color: #6e6e6e;
} */

.emoji {
  margin: 0% 5% 0% 5%;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  text-align: center;
  background: white;
  color: #6e6e6e;
}

#male {
  padding-left: 15%;
}

/* #female {
  padding-right: 15%;
} */
#female {
  border-left-style: outset;
  margin-right: 10px;
}

img.female {
  margin-top: 10%;
}

#textSize {
  padding: 16%;
  font-size: 18px;
}

.heading {
  color: #646464;
  font-size: 17px;
  padding: 6%;
  font-weight: bold;
  text-align: center;
}

.colorPalette {
  display: grid;
  grid-template-columns: 35% 65%;
  position: absolute;
  bottom: 12%;
  width: 100%;
  height: 6%;
}

.label {
  color: #646464 ;
  text-align: center;
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 5px;
}

.pickColorDots {	
  /* width: 10vh;
  height: 121px; */
  width: 6vh;
  height: 6vh;
  border-radius: 5px;
  /* margin: 15% 5% 15% 5%; */
  margin: 1vh 3vw 1vh 3vw;
 
  display: flex;
  align-items: center;
  justify-content: center;

  /* flex-wrap: nowrap;
  overflow: visible; */
}

.is-color-selected.pickColorDots{
  border: 2px solid #00816D;
  box-sizing: border-box; /*This ensures that rows will not move when color is selected*/
}

.extraSpace {
  align-items: center;
  width: 15%;
  display: flex;
  height: 100%;
  justify-content: center;
}

.temp>img{
height: 61px;
width: 115px;
}

/* Need to uncomment if there is some error while changing the sizes in js code */
/* .malehair>img{
height: 61px;
width: 115px;
} */

/* .maleaccessories2>img{
  height: 61px;
  width: 115px;

} */

/* 
.femalehair>img {
  height: 100px;
  width: 100px;
} */
@media screen and (max-width: 320px) {
  .temp {
    height: 70px;
  }

  .temp>img{
    height: 50px;
    width: 50px;
    }
    
    .femalehair>img {
      height: 70px;
      width: 70px;
    }

  /* .is-color-selected.pickColorDots {
    width: 10vh;
    height: 75px;
  }

  .pickColorDots {
    width: 10vh;
    height: 75px;
    border-radius: 5px;
    margin: 15% 5% 15% 5%;
  } */

  .label {
    font-size: 12px;
  }

  .tab {
    font-size: 13px;
}

.imgProperty {
  width: 35px;
}

img.male, img.female {
  width: 80px;
}

.heading {
  font-size: 15px;
}
}

@media only screen and (min-device-width: 350px) and (max-device-width: 360px){
    /* .is-color-selected.pickColorDots {
      width: 10vh;
      height: 75px;
    }
  
    .pickColorDots {
      width: 10vh;
      height: 75px;
    } */

    .tab {
      font-size: 13px;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 475px){
  /* .temp>img{
    height: 60px;
    width: 60px;
    }

    .temp {
      height: 80px;
    }
    
    .femalehair>img {
      height: 80px;
      width: 80px;
    } */
    .pickColorDots {
      width: 8vh;
      height: 8vh;
    } 
    .tab {
      font-size: 13px;
  }
}

@media screen and (max-height: 667px) {

  /* .pickColorDots{
    width: 10vh;
    height: 75px;
  } */

  .pickColorDots {
    width: 8vh;
    height: 8vh;
  } 
  .pagination{
    top:85%;
  }

}

@media screen and (min-height: 700px) and (max-height: 800px) {

  /* .pickColorDots{
    width: 10vh;
    height: 65px;
  } */

      .pickColorDots {
      width: 8vh;
      height: 8vh;
    } 
  .pagination{
    top:85%;
  }

}

.subHeading {
  margin: 35% 0% 5% 0%;
  text-align: center;
  font-weight: bold;
  color: #646464;
  font-size: 21px;
}
