/* input group */
.input-group {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 40px;
  position: relative;
  font-size: 1rem;
  transition: opacity 0.2s ease-in-out, filter 0.2s ease-in-out,
    box-shadow 0.1s ease-in-out;
  /*  border-bottom: 1px solid rgba(255, 255, 255, 0.3); */
  background-color: #2e2f36;
  border-radius: 4px;
  /* overflow: hidden; */

  float: left;
  clear: both;

  margin-bottom: 15px;
}

.input-group.field-error {
  border: 1px solid red;
}

.input-group.text-area {
  height: 100px;
  /*  background-color: tan; */
}

.input-group.newsletter label i {
  font-size: 1rem;
}

/* .input-group:hover {
  box-shadow: 0 14px 44px 0 rgba(0, 0, 0, 0.077);
} */

.input-group input,
.input-group textarea {
  position: absolute;
  border: 0;
  box-shadow: none;
  background-color: transparent;
  top: 0;
  height: 40px;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  z-index: 3;
  display: block;
  /* color: #8b8c94; */
  color: white;
  transition: top 0.1s ease-in-out;
  font-size: 0.9rem;

  font-family: "Open Sans", sans-serif;
}

.input-group textarea {
  height: 100px;
  resize: none;
  /*  border: 1px solid red; */
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(0, 0, 0, 0);
}

.input-group input:focus,
.input-group input:not(:placeholder-shown) {
  top: 5px;
}

.input-group textarea:focus,
.input-group textarea:not(:placeholder-shown) {
  top: 0px;
}

.input-group label {
  position: absolute;
  border: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
  transition: all 0.1s ease-in-out;
  cursor: text;
  color: #8b8c94;
  font-family: "Open Sans", sans-serif;
}

.input-group.text-area label {
  align-items: flex-start;
  padding-top: 10px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: -25px;
  font-size: 10px;
  opacity: 0.7;
}

.input-group .req-mark {
  position: absolute;
  pointer-events: none;
  top: 0;
  right: 10px;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: white;
  opacity: 0.5;
}

.input-group .error-msg {
  position: absolute;
  pointer-events: none;
  top: 0;
  right: 10px;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: red;
  opacity: 1;
  font-size: 0.9rem;
  font-weight: 400;
  /*  font-family: var(--aktiv-medium-italic-font); */
}

.input-group.text-area .req-mark,
.input-group.text-area .error-msg {
  align-items: flex-start;
  padding-top: 10px;
}

/* select */
.custom-select {
  height: 40px;
  position: relative;
  clear: both;
}

select {
  cursor: pointer;
}

.custom-select .error-msg {
  color: red;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  text-align: right;
  width: 100%;
  display: block;
  margin-bottom: 0px;
}

/* .custom-select:hover {
  box-shadow: 0 5px 5px 0 rgba(255, 255, 255, 0.077);
} */

.selectdiv {
  position: relative;
  width: 100%;
  height: 40px;
  background-color: #2e2f36;
  border-radius: 4px;
}

.custom-select::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.3); */
}

.selectdiv.error {
  border: 1px solid red;
}

.selectdiv:after {
  right: 10px;
  top: 50%;
  transform: translateY(-40%);
  padding: 0;
  position: absolute;
  pointer-events: none;
  content: "";

  /**/
  background-color: transparent;
  text-align: center;
  width: 15px;
  height: 15px;
  background-image: url("../img/svg-icons/arrow-down.svg");
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  background-position: center;
}

.selectdiv select {
  width: 100%;
  height: 40px;
  margin-top: 0px;
  margin-bottom: 0px;
  outline: none;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  border-radius: 4px;
  color: #8b8c94;
  border: none;
  background-color: transparent;
  font-size: 1rem;
  padding: 0 10px;
  line-height: 1.75;
  background-image: none;
  -ms-word-break: normal;
  word-break: normal;
  font-family: "Open Sans", sans-serif;
}

.selectdiv select option {
  direction: ltr;
}

/*  */
.contact-form > ul > li > select::-ms-expand {
  display: none;
}

/* radio */
.input-hidden {
  position: absolute;
  left: -9999px;
}

input[type="radio"]:checked + label > img {
  cursor: default;
  border: 2px solid #ccc;
  box-shadow: 0 0 5px 5px rgb(255, 255, 255, 0.3);
  transform: scale(1);
}

/* Stuff after this is only to make things more pretty */
input[type="radio"] + label > img {
  cursor: pointer;
  padding: 10px;
  border: 2px solid rgb(255, 255, 255, 0.5);
  width: 80px;
  height: 40px;
  transition: 500ms all;
  object-fit: contain;
  border-radius: 7px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #8b8c94;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 2px;
  bottom: 2px;
  background-color: #212128;
  /*  border: 2px solid #999; */
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #a7a7fa;
}

input:focus + .slider {
  box-shadow: 0 0 1px #a7a7fa;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* form */
.config-form.disabled {
  pointer-events: none;
}

.config-form .form-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.config-form .form-buttons.continue-mode {
  justify-content: center;
  align-items: center;
}

.config-form .form-buttons.continue-mode #generate-url-btn {
  display: none;
}

.config-form .form-buttons.continue-mode #submit-config-btn {
  width: 100%;
}

/*  */
.status-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #2b2c2d;
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  padding: 10px 15px;
  border-radius: 4px;
  /* overflow: hidden; */
  display: none;
}

.status-wrapper.active {
  display: flex;
}

.form-status {
  padding: 10px 0;
  display: inline-block;
  color: #fff;
  font-size: 0.7rem;
  color: #8b8c94;
  width: 86%;
  word-break: break-all;
  /* background-color: #19e783; */
  padding: 0 5px;
  font-family: "Open Sans", sans-serif;
  line-height: 16px;
}

#copy-url-btn {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: #333; */
  padding: 7px;
  width: 35px;
  height: 40px;
  /* border-radius: 50%; */
  display: none;
}

#copy-url-btn:hover img {
  filter: invert(63%) sepia(20%) saturate(857%) hue-rotate(202deg)
    brightness(105%) contrast(96%);

  /**/
  -webkit-transition: all 0.3s cubic-bezier(0.75, 0, 0.125, 1);
  -moz-transition: all 0.3s cubic-bezier(0.75, 0, 0.125, 1);
  -ms-transition: all 0.3s cubic-bezier(0.75, 0, 0.125, 1);
  -o-transition: all 0.3s cubic-bezier(0.75, 0, 0.125, 1);
  transition: all 0.3s cubic-bezier(0.75, 0, 0.125, 1);
}
/* https://codepen.io/sosuke/pen/Pjoqqp */

#copy-url-btn.active {
  display: block;
}

#copy-url-btn.disabled {
  opacity: 1;
}

/* Tooltip container */
#copy-url-btn .tooltip {
  opacity: 0;
  position: absolute;
  top: 7px;
  right: -7px;
}

/* Tooltip text */
#copy-url-btn .tooltip .tooltiptext {
  width: 90px;
  background-color: white;
  color: #191a21;
  text-align: center;
  padding: 5px 0;
  border-radius: 4px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

#copy-url-btn .tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 7px;
  width: 0px;
  height: 0px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid white;
}

/* Show the tooltip text when you mouse over the tooltip container */
#copy-url-btn.disabled .tooltip {
  opacity: 1;
}

/*preloader*/
.form-preloader {
  float: right;
  display: none;
}

.form-preloader.active {
  display: block;
}

.form-preloader svg {
  width: 20px;
  height: 20px;
  transform-origin: center;
  animation: rotate 2s linear infinite;
  /* background-color: red; */
}

.form-preloader svg {
  width: 2em;
  stroke: white;
}

.form-preloader circle {
  fill: none;
  stroke: var(--primary--font-color);
  stroke-width: 3;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

/* submit */
.submit-btn {
  display: inline-block;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
  font-size: 1rem;
  color: #9e9fa6;
  border: 0;
  border-radius: 5px;
  background-color: transparent;
  border: 2px solid rgb(255, 255, 255, 0.5);
  border-radius: 4px;

  width: 45%;
  height: 48px;
}

.submit-btn:hover {
  color: white;
  border: 2px solid rgb(255, 255, 255, 1);
}

.submit-btn.continue {
  color: #9e9fa6;
  background-color: #2e2f36;
  border: 0px solid rgb(255, 255, 255, 0.5);
}

.submit-btn.continue:hover {
  color: white;
  background-color: #6767e6;
}

.submit-btn.disabled {
  cursor: default;
  pointer-events: none;
}

/* form grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1em;
}

.grid-item.full-width {
  width: 100%;
  grid-column: 1 / -1;
}

.form-grid.col2 {
  grid-template-columns: repeat(2, 1fr);
}

.form-grid.col4 {
  grid-template-columns: repeat(4, 1fr);
}

.form-grid.col3 {
  grid-template-columns: repeat(3, 1fr);
}

.form-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.form-group.switch span {
  color: #fff;
  padding-right: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
}

.form-group .ml {
  margin-left: 20px;
}

.form-field {
  margin-bottom: 15px;
}

/*  */
.hidden-disabled-field {
  display: none;
}
.hidden-field {
  visibility: hidden;
}
/*-------------Responsive------------------*/

@media only screen and (max-width: 1400px) {
}
@media only screen and (max-width: 1200px) {
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
  /* form grid */
  .form-grid.col2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }
  /* form grid */
  .form-grid.col4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }

  .form-grid.col3 {
    grid-template-columns: repeat(1, 1fr);
    gap: 1em;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  /* form grid */
  .form-grid.col2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 1em;
  }
  /* form grid */
  .form-grid.col4 {
    grid-template-columns: repeat(1, 1fr);
    gap: 1em;
  }

  .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }

  input[type="radio"] + label > img {
    padding: 7px;
    width: 60px;
  }

  .form-group.switch span {
    color: #fff;
    padding: 0 7px;
  }

  /*  */
  .input-group {
    font-size: 1rem;
  }

  .input-group .error-msg {
    font-size: 0.7rem;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 410px) {
  .submit-btn {
    font-size: 0.8rem;
    padding: 5px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
}

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

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

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

.transition-fast {
  /**/
  -webkit-transition: all 0.4s cubic-bezier(0.75, 0, 0.125, 1);
  -moz-transition: all 0.4s cubic-bezier(0.75, 0, 0.125, 1);
  -ms-transition: all 0.4s cubic-bezier(0.75, 0, 0.125, 1);
  -o-transition: all 0.4s cubic-bezier(0.75, 0, 0.125, 1);
  transition: all 0.4s cubic-bezier(0.75, 0, 0.125, 1);
}

sup {
  font-size: smaller;
  color: #555;
}
