/* Default styles for mobile */
:root {
  --tds-faceswap-primary:#F2F2F2;
  --tds-faceswap-secondary:#8b58ee,;
  --tds-faceswap-tertiary:#fff;
  --tds-text-white:#fff;
  --tds-btn-highlight:#0069A4;
  --tds-highlight-opac:#0068a429;
  --tds-hover: #e8dffd;
  --tds-btn-black:#000;
  --tds-btn-hover:#ad8eed;
  --tds-btn2-hover:#5f5ae5;
  --tds-btn-disabled:#c9c9c9;
  --tds-btn-grey:#eeeeee;
}
 html{
  font-size: 62.5%;
  line-height: 1.15;
  font-family: sans-serif;  
}
body {       
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-size:  1.6rem;  
  /*16px */
}
* {
  box-sizing: border-box;
} 
button{ 
  cursor: pointer !important;
  border: 0;
}
.floatRight{
  float: right;
}
.color-white{
  color: var(--tds-text-white);
}
.p-1{
  padding: 1rem;
}
.fa.size2{
  font-size: 2rem;
}
div#tryon_swap_container {
position: fixed;
top: 0;
width: 100vw;
height: 100vh;
font-size: 100%; 
font-family: sans-serif;
z-index: 99;
}

#tryon_swap_container .container {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}
#tryon_swap_container .navbar{
  height: 5rem;
  width: 100%;
  display: block;
  background: linear-gradient(95deg, #5f5ae5, #8b58ee);
  padding: 0.5rem 1rem;
  display: flex;
  position: absolute;
  top:0;
  color:var(--tds-text-white);
}
#tryon_swap_container .maincontent{
  background-color: var( --tds-faceswap-tertiary);
  height: calc(100vh);
  font-size: inherit;
  
}

#tryon_swap_container header .container{
display: flex;

align-items: center;
font-size: inherit;
}
#tryon_swap_container a.navbar-brand img {
width: 10.5rem;
height: auto;
}
#tryon_swap_container .btn-right{
  z-index: 2;
  cursor: pointer;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  position: relative;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  align-items: center;
}
#tryon_swap_container button.btn-right img {
  width: 1.5rem;
  height: 1.5rem;
}
#tryon_swap_container .Back_state {
  border-radius: 2.5rem;
  background: #dfdfdf;
  border: .1rem solid #0000;
  padding: 0.7rem 1.4rem;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: normal;
  cursor: pointer;
}
#tryon_swap_container .optionsfooter .btn:hover {
  background: var(--tds-btn-hover);
  cursor: pointer;
}
#tryon_swap_container .optionsfooter .btn:hover .fa{
  color: var(--tds-faceswap-tertiary);
}
button#bt_upload_inner:hover {
  background-color: var(--tds-btn-hover) !important;
  color: var(--tds-text-white)!important;
}
button#bt_upload_inner:hover .fa{
  color: var(--tds-text-white);
}
#tryon_swap_container .btn-semi-rounded{
border-radius: 2.5rem;
}
#tryon_swap_container .btn_outer {
display: flex;
align-items: center;
justify-content: end;
margin-bottom: 0.8rem;
}
#tryon_swap_container .btn-right:hover{
background-color: var(--tds-highlight-opac);
color: var(--tds-text-white);
}
#tryon_swap_container .btn-right.active {
background-color:var(--tds-highlight-opac);
}

#tryon_swap_container label {
font-size: 1.2rem;
font-weight: 400;
display: flex;
align-items: center;
white-space: nowrap;
}


#tryon_swap_container .optionsfooter {
position: fixed;
bottom: 0;
width: 100%;
background: #f3f3f3;
z-index: 9;
height: 5rem;
align-items: center;
/* display: flex; */
left: 0;
display: none;
}

#tryon_swap_container .object-operations .btn-group{
  grid-column-gap: 1rem  ;
      grid-template-columns: 1fr 1fr 1fr;
      justify-items: center;
      display: grid;
}
#tryon_swap_container .select_erase.active .optionsfooter {
 display: flex; 
}
#tryon_swap_container .select_transform.active .optionsfooter {
  display: flex;
}
.select_erase.active .rightButtons__btngroup--btn {
  background: #efe8ff;
  border: 3px solid #8658ed;
}
.select_transform.active .rightButtons__btngroup--btn {
  background: #efe8ff;
  border: 3px solid #8658ed;
}
.optionsfooter h6 {
  font-size: 1.3rem;
  padding:.5rem;
  margin: 0;
  background: #dfdfdf;
  display: flex;
  align-items: center;
}
.docs-buttonsA .btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr ;
  justify-items: center;
  grid-column-gap: 1rem;
  align-items: center;
}
.docs-buttonsB .btn-group{
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  grid-column-gap: 1rem;
  align-items: center;
} 
button.button.btn__done {
  background: var(--tds-faceswap-tertiary);
  padding: 1rem 2rem;
  border-radius: 1rem;
}
button.button.btn__done:hover{
  background-color: var(--tds-btn2-hover);
}
div#fitGarment, #mannequin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 99;
  transform: translate(-50%, -50%);
}
div#fitGarment {
  position: absolute;
  top: 50%;
  left: 40%;
  z-index: 99;
  transform: translate(-50%, -50%);
}
.object-operations .optionsfooter .btn, .docs-buttons .btn {
  background: #4e88a9;
}
#tryon_swap_container .optionsfooter .btn{
  background-color: none;
  width: 3.5rem;
  height: 3.5rem;
  padding: 1rem;
  display: flex;
  position: relative;
  background: var(--tds-faceswap-tertiary);
  border-radius: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}
#tryon_swap_container .optionsfooter .btn .fa{
  color: #000;
}
#tryon_swap_container .optionsfooter h2{
color: var(--tds-faceswap-tertiary);
font-size: 1.5rem;
text-align: center;
}
#tryon_swap_container .btn-fixed {
position: fixed;
right: 4rem;
z-index: 9;
top: 0.7rem;
}
#tryon_swap_container h2.page-title {
position: absolute;
transform: translate(-50%,-50%);
left: 50%;
top: 20%;
font-size: 1.8rem;
}
 #removeBg.layout__operationsBox, #transformCanvasBox{
display: none;
} 

.layout__operationsBox--optionsfooter.optionsBack {
  position: fixed;
  top: 2.4rem;
  left: 4rem;
  right: auto;
  color:var(--tds-btn-black);
  transform: translate(-50%, -50%);
  background: var(--tds-faceswap-tertiary);
  border-radius: 2rem;
  padding: 1rem 2rem;
  display: none;
}
.select_transform.active .optionsBack {
  display: block;
}
/* .layout__operationsBox--optionsfooter.optionsBack, .layout__operationsBox--optionsfooter.optionsNext {

  border-radius: 2rem;
  padding: 1rem 2rem;
  color: var(--tds-btn-disabled);
  background: var(--tds-btn-grey);
} */
/* .active .layout__operationsBox--optionsfooter.optionsBack, .active .layout__operationsBox--optionsfooter.optionsNext {
  background: linear-gradient(95deg, #5f5ae5, #8b58ee);
  border-radius: 2rem;
  padding: 1rem 2rem;
  color: var(--tds-text-white);
} */
/* .active .layout__operationsBox--optionsfooter.optionsBack:hover,  .active .layout__operationsBox--optionsfooter.optionsNext:hover{
  background: var(--tds-btn2-hover);
} */
/* .layout__operationsBox--optionsfooter.optionsNext button {
  background: linear-gradient(95deg, #5f5ae5, #8b58ee);
  border-radius: 2rem;
  padding: 1rem 2rem;
  color: var(--tds-text-white);
} */
#tryon_swap_container .viewinThreed{
display: none;
}
#tryon_swap_container div#tryon_swap_container {
position: absolute;
top: 0;
width: 100vw;
height: 100vh;
}
#tryon_swap_container .closeapp {
  width: 4rem;
  height: 4rem;
  display: block;
  right: 2.5rem;
  position: absolute;
  padding: 1rem;
  cursor: pointer;
}
#tryon_swap_container .closeapp img {
width: 100%;
}
#tryon_swap_container .canvas_outer {
/* background: red; */
width: 100%;
height: 100%;
}
#tryon_swap_container .mask_face {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
/* face mask */
#tryon_swap_container .round{
  width:10%;
  padding-top:10%;
  overflow:hidden;
  position:relative;
  border-radius:50%;
}
#tryon_swap_container .round img{
  position:absolute;
  top:50%;
  left:50%;
  min-width:100%;
  height:100%;
  transform:translate(-50%,-50%);  
}
/* new */
.undo_redo { 
  background: #fff;
  border-radius: 1rem;
  padding: 0rem;
  width: 100%;
  overflow: hidden;
  display: inline-flex;
    overflow: hidden;
    justify-content: space-between;
}
.undo_redo .btn {
  padding: 0 2rem !important;
  border-radius: 0 !important;
}
#tryon_swap_container .takePic {
  position: absolute;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  left: 50%;
  top: 50%;

  text-align: center;
}
#tryon_swap_container .pic_upload_section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
#tryon_swap_container .browse_pic {
  background: #f2f2f2;
  width: 14rem;
  height: 14rem;
  padding: 1rem;
  font-size: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: #0069a4;
  overflow: hidden;
    cursor: pointer!important;
}
#tryon_swap_container .browse {
  color: #0074d9;
  cursor: pointer;
  margin-left: 0.25rem;
}
#tryon_swap_container label.browse.browse_pic input {
  opacity: 0;
  position: absolute;
}
#tryon_swap_container .nextpre {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 97%;
  left: 2rem;
  transform: translate(0%, 0%);
  font-size: 1.5rem;
  font-weight: 600;
}


#tryon_swap_container .section_webcam{
  display: none;
  width: 100vw;
  height: 100vh;
  background: #000;
  position: absolute;
  z-index: 9;
  top: 0
  }
.docs-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.docs-buttons span span.fa {
  width: 2rem;
  height: 2rem;
  color: var(--tds-text-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.crop-right-option span span.fa{
  color: #000;
  
}
.crop-right-option span.fa{
  color: #000;
}
.docs-buttons .btn {
  background: none;
}
.crop-right-option {
  position: fixed;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 5rem;
  right: 0;
  z-index: 999;
  bottom: 5rem;
  color: #000;
}

.cropper-container{
  border-radius: 100%;
  overflow: hidden;
}
span.fa.fa-arrows-h, span.fa.fa-arrows-v {
  font-size: 600;
  font-weight: bold;
  font-size: 1.654rem;
}
.close-back{
  padding: 1rem 2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  cursor: pointer;
  width: auto;
}
.close-back:hover {
  background: #d5d2d2;
  border-radius: 10rem;
}
.head_title {
  font-size: 1.2rem;
  font-family: sans-serif;
  display: inline;
  margin-left: 0.5rem;
}
a.closeSwap {
  color: #000;
  font-size: 3rem;
  position: absolute;
  right: 1rem;
}
div#model {
  height: calc(100vh - 10rem);
  display: flex;
  justify-content: center;
}

div#model img {
  height: 100%;
  width: auto;
}
.layout__operationsBox--inner {
  width: 100vw;
  height: calc(100vh - 10rem);
  display: flex;
  margin-top: 5rem;
  justify-content: center;
  align-items: center;
}
.editor {
  display: flex;
  gap: 1rem;
}
.nextBack{
  display: none;
}

.nextBack.active{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
.disabled{
  background: var(--tds-btn-disabled)!important;
  color: var(--tds-text-white);
  border-radius: 2rem;
  padding: 1rem 2rem;
}
#download_image{
  display: none;
}
.btnAll {
  flex-direction: row;
  display: flex;
  gap: 2rem;
}
canvas {
  border: 2px solid #eeeeee70;
}
.layout__operationsBox--optionsfooter.nextBack {
  height: 5rem;
  background: #eee;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}
button.btn-bottom.btn.selectTool.active {
  background: var(--tds-btn-hover) !important;
  color: #fff!important;
}
button.btn-bottom.btn.selectTool.active .fa{
  color: #fff!important;
}
/* New*/

.rightButtons {
  position: absolute;
  /* right: calc(100vw / 2 - 60rem); */
 right: 1rem; 
  top: 6rem;
  z-index: 99;
}
.rightButtons__btngroup--btn {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #e5e5e5;
}
.rightButtons__btngroup {
  flex-direction: column;
  gap: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
span.rightButtons__btngroup--line {
  border-bottom: .1rem solid #dbd8d8;
}
button#bt_upload_inner {
  color: #605397;
  background: var(--tds-btn-grey);
  border: none;
  width: 8rem;
  height: 8rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}
button.button.btn__done {
  background: linear-gradient(95deg, #5f5ae5, #8b58ee);
  padding: 1rem 2rem;
  border-radius: 1rem;
  color: var(--tds-text-white);
  font-weight: 600;
}
.undo_redo .btn:first-child {
  border-right: 1px solid #eee;
}
.undo_redo .btn:nth-child(2) span {
  transform: scaleX(-1);
}
.circle {
  position: absolute;
  border-radius: 50%;
  width: .8rem;
  height: .8rem;
  background: linear-gradient(95deg, #5f5ae5, #8b58ee);
  display: none;
}
button.rightButtons__btngroup--btn.active .circle{
  display: block;
}
/* div#selectMethod {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
} */
div#selectMethod, div#selectModel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  position: relative;
}
.rightButtons__btngroup--btn img {
  width: 100%;
  padding: .21rem;
}
.rightButtons__btngroup--btn.model {
  padding: 0;
  overflow: hidden;
}
.rightButtons__btngroup--btn:hover {
  border: 3px solid var(--tds-btn-hover);
  transition: all .2s;
}
.rightButtons__btngroup--btn.model img{
  width: 107%;
}
.controler {
  display: flex;
  gap: 1rem;
}
button.btn.btnclose {
background: none;
  color: #fff;
  float: right;
  position: absolute;
  right: 30px;
  padding: 2rem;
  font-size: 2rem;
  top: 0;
  right: 0;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* new ends */

/* Media query for larger screens (desktop) */
@media screen and (min-width: 768px) {
  /* Additional styles for larger screens can be added here */
  #tryon_swap_container .navbar{
      height: 5rem;
      width: 100%;
      display: flex;
      background-color: linear-gradient(95deg, #5f5ae5, #8b58ee);
  }
}
@media screen and (min-width: 1024px) {
  .rightButtons{
    right: calc(50vw - 60rem);
  }
}
@media (max-width:767px){
  
}