/*gui_text.css*/
.gui-text {
    color: #0077ba;
    right: 0;
    height: 100%;
    width: 25vw;
    padding: 10px;
    background-color: white;
    border-left: 4px #0077ba solid;
    display: flex;
    align-items: center;
  }

.gui-text .heading {
  position: absolute;
  width: 25vw;
  padding: 3px 15px;
  background-color: #004F79;
  border: 4px #0077ba solid;
  color: white;
  font-size: medium;
  z-index: 1000;
  right:0;
  margin:0;
  top:0;
}

  .gui-text > * {
      margin: 5px;
      flex: auto;
  }
  .gui-text textarea {
      width: 100%;
  }
  .gui-text span {
    display: block;
    width: 100%;
    background-color: #21526e;
    color: white;
    padding-left: 10px;
    margin:15px 0 5px 0;
  }

  #textDeleteButton {
      background-color: #D75020;
      border-radius: 4px;
      color:white;
      border:none;
      padding: 10px;
      cursor: pointer;
      transition: all 0.15s ease-in-out;
      width: 100%;
      margin-top: 15px;
  }
  #textDeleteButton:hover{
      background-color: #B1421A;
  }
  #textContent{
      resize: none;
  }

  .newText {
    background-color: #8cc63f;
    border: none;
    color: white;
    border-radius: 4px;
    padding: 5px 10px;
    width: 100%;
    margin-top:10px;
}

/*SLIDER*/
.textSizeSlider {
    -webkit-appearance: none;
    height: 10px;
    border-radius: 5px;
    background: #d7dcdf;
    outline: none;
    padding: 0;
    width: 100%;
   box-sizing: border-box;
  }
  .textSizeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
            appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: black;
    cursor: pointer;
    transition: background .15s ease-in-out;
  }
  .textSizeSlider::-webkit-slider-thumb:hover {
    background: black;
  }
  .textSizeSlider:active::-webkit-slider-thumb {
    background: black;
  }
  .textSizeSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: black;
    cursor: pointer;
    transition: background .15s ease-in-out;
  }
  .textSizeSlider::-moz-range-thumb:hover {
    background: black;
  }
  .textSizeSlider:active::-moz-range-thumb {
    background: black;
  }
  .textSizeSlider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px black;
  }
  .textSizeSlider::-ms-thumb {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: black;
    cursor: pointer;
    transition: background .15s ease-in-out;
  }
  .textSizeSlider::-ms-thumb:hover {
    background: black;
  }
  .textSizeSlider:active::-ms-thumb {
    background: black;
  }/*https://codepen.io/seanstopnik/pen/CeLqA*/




/* COLOR PICKER */  
  .card {
    overflow: hidden;
  }
    .color-choices {
    width: 100%;
    float: left;
    position: relative;
  }
    .color-choices div {
    width: 33%;
    height: 55px;
    float: left;
    text-align: center;
  }
    .color-choices div input {
    width: 0px;
    height: 0px;
    position: absolute;
    top: -99999px;
    left: -99999px;
  }
  .color-choices div input:checked ~ label:after {
    width: 65px;
    height: 65px;
    margin-top: -32.5px;
    margin-left: -32.5px;
  }
  .color-choices div:nth-of-type(1) label:before {
    background-color: white;
  }
   .color-choices div:nth-of-type(1) label:after {
    background-color: lightgrey;
  }
   .color-choices div:nth-of-type(2) label:before {
    background-color: black;
  }
   .color-choices div:nth-of-type(2) label:after {
    background-color: darkslategrey;
  }
   .color-choices div:nth-of-type(3) label:before {
    background-color: #6e2c00;
  }
   .color-choices div:nth-of-type(3) label:after {
    background-color: #6e4123;
  }
   .color-choices div label {
    width: 55px;
    margin: 5px;
    height: 55px;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    z-index: 20;
    box-sizing: border-box;
  }
   .color-choices div label:before {
    content: "";
    width: 55px;
    height: 55px;
    display: inline-block;
    background: red;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -27.5px;
    margin-left: -27.5px;
    border-radius: 50%;
    border: 2px solid rgb(77, 77, 77);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    z-index: 10;
  }
   .color-choices div label:after {
    content: "";
    width: 52px;
    height: 52px;
    background-color: rgba(0, 0, 0, 0.3);
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -26px;
    margin-left: -26px;
    border-radius: 50%;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    z-index: 9;
  }
   .color-choices div label:hover {
    cursor: pointer;
  }
/*https://codepen.io/BeanBaag/pen/XKPoAy*/  






.radiosliderwrapper {
    background-color: #fff;
  }
  .pdx-radio-slider {
    display: inline-flex;
    position: relative;
    width: 100%;
  }
  .pdx-radio-slider .pdx-radio-slider__option {
    display: none;
  }
  .pdx-radio-slider label {
    z-index: 1;
    transition: color 0.4s ease;
    display: flex;
    color: #005687;
    width: 50%;
    height: 50px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    margin: 0;
  }
  .pdx-radio-slider .pdx-radio-slider__option:checked + label {
    color: #fff;
  }
  .pdx-radio-slider .pdx-radio-slider__option:nth-child(1):checked ~ .pdx-radio-slider__slider {
    left: 0;
  }
  .pdx-radio-slider .pdx-radio-slider__option:nth-child(3):checked ~ .pdx-radio-slider__slider {
    left: 50%;
  }
  .pdx-radio-slider__slider {
    z-index: 0;
    width: 50%;
    height: 100%;
    position: absolute;
    background-color: #005687;
    transition: left 0.4s ease;
  }
  /* //SLIDER/RADIOSELECT @ FONT */





  @media (max-width: 991px) { 
    .gui-text {
      height: 40vh;
      bottom: 0;
      background-color: white;
      width: 100%;
      border-top: 4px #0077ba solid;
      border-left: none;
      padding-top: 30px;
  }
  .gui-text .container-fluid {
    width: 100%;
    overflow-y: scroll !important;
  }
  
  .gui-text .heading {
    font-size: small;
    display: inline-block;
    position: absolute;
    bottom: 40vh;
    transform: translateY(100%);
    width: 100%;
    border-bottom: none;
    border-left: none;
    border-right: none;
    top:auto;
  }

  .gui-text .closeBtn {
    position: absolute;
    bottom: calc(40vh + 5px);
    right: 0px;
  }

  .gui-text .container-fluid {
    height: 100%;
  }
 

  }
  @media (min-width: 992px) { 

    .gui-text .closeBtn {
      transform: translateX(calc(100% - 305px))  rotate(-90deg)
    }

  }


  /*gui_type.css*/
  .gui-type {
    bottom: 0;
    height: 25vh;
    width: 100%;
    background-color: white;
    border-top: 4px #0077ba solid;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gui-type-label{
    position: absolute;
    bottom: calc(25vh - 4px);
    left: calc(20vw);
    padding: 5px 15px;
    background-color: #004F79;
    border: 4px #0077ba solid;
    color: white;
    font-size: larger;
}

.type-choice {
    margin-top: 7px;
    width: 100%;
    text-align: center;
}

.type-choice button {
    border: none;
    border-radius: 4px;
    padding: 3px 5px;
    color: white;
    margin: 0;
}

.type-choice button:nth-child(1) {
    background-color:#005687;
}
.type-choice button:nth-child(2) {
    background-color:#005687;
}
.type-choice button:nth-child(3) {
    background-color:#005687;
}

.type-images {
    height: 100%;
    padding: 5px;
    width: 100%;
    overflow-x: auto;
    display: flex;
}



.type-images img {
    height: 100%;
    margin: 0;
    transition: all 0.15s ease-in-out;
}

.type-images img:hover,
.type-images img.activeType {
    filter: blur(1px) opacity(0.3);
}



.gui-type .closeBtn {
    left: 75%;
    transform: translate(-50%);
    bottom: calc(25vh + 5px);
}



@media (max-width: 767.98px) { 
    .gui-type-label{
        position: relative;
        bottom: initial;
        left: initial;
        padding: 5px 15px;
        background-color: #004F79;
        border: none;
        color: white;
        font-size: small;
    }
    .gui-type .closeBtn {
        right: 5px;
        left:initial;
        transform: none;
        bottom: calc(25vh + 5px);
    }
}


/*gui_color.css*/
.gui-color {
    left: 0;
    top: 0;
    height: 75vh;
    width:15vw;
    background-color: white;
    border-right: 4px #0077ba solid;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gui-color .heading {
    padding: 3px;
    background-color: #004F79;
    color: white;
    font-size: large;
    text-align: center;
}

.img-wrap {
    margin: 2px 0;
    position: relative;
    width: 100%;
}
.img-wrap:after{
    content: "";
    display: block;
    padding-top: 100%;
}
.gui-color .img-content {
    position: absolute;
    border-radius: 50%;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-image: url("../images/type_preview/single/stones/1.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.15s ease-in-out;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: transparent;
}
.gui-color .img-content::before { 
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    border-radius: 50%;   
    background-color: transparent;
    border: none;
    transition: all 0.15s ease-in-out;
}


.gui-color .img-content:hover::before,
.gui-color .img-content.activeColor::before{
    background-color: rgba(255,255,255, 0.2);
    border:2px solid black;
}

.gui-color .img-content:hover {
    color: rgb(0, 0, 0);
}
.gui-color .img-text {
    z-index: 1;
    font-size: small;
}


.color-images {
    height:100%;
    width: 100%;
    padding: 5px;
    display: flex;
    flex-flow: column;
    overflow-y: auto;
}

@media (max-width: 767.98px) { 
    .gui-color .heading {
        font-size: small;
    }

}


/*index.css*/
body {
    margin: 0px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

#wrapper_all {
    height: 100%;
    width: 100%;
    overflow: hidden !important;
}

.gui{
    position: absolute;
  /*  overflow: hidden;*/
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}
.gui-left {
    left: 25%;
    top: 50%;
    transform: translateX(-50%), translateY(-50%);
}


.hidden {
    display: none !important;
}



#guiTextSelect{
    width: 100%;
}
.startConfigurationBtn {
    position: absolute;
    bottom: 5px;
    margin:5px;
    width: 100%;
    background-color: white;
    color: black;
    border: none;
}




.visibleBtn {
    position: relative;
    padding: 3px;
    border: none;
    word-break: break-all;
    flex: 1;
    background-color: rgba(211,211,211,0.8);
    border-right: lightgray solid 1px;
    border-left: lightgray solid 1px;
    color: black;
    transition: all 200ms ease-in-out;
}
.visibleBtn.current {
    color: white;
    background-color: rgba(0, 119, 186, 0.8);
}
.progressWrapper{
    width: 85vw;
    position: absolute;
    display: flex;
    flex-direction: row;
    left:15vw;
}

.visibleBtn:focus {
    outline: none !important;
}

.closeBtn {
    position: absolute;
    white-space: nowrap;
    border: none;
}



@media (min-width: 767.98px) { 
    
    
    .startConfigurationBtn {
        width: 50%;
        left:50%;
        transform: translateX(-50%);
    }

    .progressWrapper {
        width: 60vw;
    }
}
    
@media (max-width: 767.98px) { 
    .visibleBtn{
        font-size: 3vw;
    }

    


}


.ring {
  --uib-size: 30px;
  --uib-speed: 2s;
  --uib-color: white;
  
  height: var(--uib-size);
  width: var(--uib-size);
  vertical-align: middle;
  transform-origin: center;
  animation: rotate var(--uib-speed) linear infinite;
}

.ring circle {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: stretch calc(var(--uib-speed) * 0.75) ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes stretch {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dashoffset: -124px;
  }
}