/**
 * Filename: seravo-orders.css
 * Project: Seravo Orders
 * Copyright: (c) 2018 Seravo Oy
 * License: The MIT License (MIT) http://opensource.org/licenses/MIT
 */


.seravo-order-form .product-button input[type=radio] {
  opacity: 0;
  position: absolute;
}
.seravo-order-form .product-button input[type=radio]:focus + label {
  background: var(--wp--preset--color--seravo-blue);
  color: rgb(255, 255, 255);
}

 /* Titles-icons and wrapit */
 .order-tab .form-group > h2 {
  padding-top: 0.75em;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  margin-top: 0.5em;
}
.order-tab .form-group > h2 > i.fa::before {
    font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
    font-size: 0.825em;
    font-weight: bold;
    height: 1.5em;
    width: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: var(--wp--preset--color--seravo-blue);
    border-radius: 100%;
    border: 5px solid var(--wp--preset--color--seravo-blue);
}
*[aria-expanded="true"] > i.fa::before, *[aria-expanded="true"] + i.fa::before {
  background: var(--wp--preset--color--seravo-green) !important;
    border: 5px solid var(--wp--preset--color--seravo-green) !important;
  color: #fff !important;
}
.tab .fa-shopping-basket::before { content: "1"; }
.tab .fa-location-arrow::before { content: "2"; }
.tab .fa-globe::before { content: "3"; }
.tab .fa-envelope::before { content: "4"; }

.fas.fa-euro-sign.fa-xs:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='rgb(2, 122, 202)' class='bi bi-file-earmark-ruled-fill' viewBox='0 0 16 16'%3E%3Cpath d='M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0M9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1M3 9h10v1H6v2h7v1H6v2H5v-2H3v-1h2v-2H3z'/%3E%3C/svg%3E");
}

.fas.fa-wallet.fa-xs {
  display: none;
}
.wrapit {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms;
}
*[aria-expanded="true"]  ~  .wrapit {
  grid-template-rows: 1fr;
}
.wrapit > div {
  overflow: hidden;
}
.order-tab h2:not(h2[aria-expanded="true"]):hover {
  cursor: pointer;
  color: var(--wp--preset--color--seravo-blue);
}
.order-tab h2:not(h2[aria-expanded="true"]):hover > i.fa::before {
    background:  var(--wp--preset--color--seravo-blue);
    color: #fff;
}
.order-tab .form-group > h2::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='grey' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-chevron-down'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M6 9l6 6l6 -6' /%3E%3C/svg%3E");
  width: auto !important;
  border: 0;
  font-weight: 300;
  margin: 0;
  margin-left: 0px;
  margin-left: auto;
  display: block;
}
.order-tab .form-group > h2[aria-expanded="true"]::after {
  opacity: 0;
}
/*****/


.hero {
  min-height: 26vh !important;
  margin-bottom: 2.5em !important;
}
body .entry-content .form-parent {
  max-width: 1200px;
}
#seravo-reseller-order-form label.btn {
  min-width: 215px;
  color: white;
}
#seravo-reseller-order-form label.btn-default {
  background: #aea79f;
  margin-bottom: 6px;
}
#seravo-reseller-order-form label.btn.selected {
  background: #59aedf;
}
.seravo-order-form {
  display: flex;
  flex-flow: column-reverse;
  height: 100%;
  position: relative;
  margin-bottom: 50px;
  gap: 1em;
}

label {
  font-size: 0.881833em;
}
.seravo-order-form a {
  color: var(--wp--preset--color--seravo-blue);
  text-decoration: none;
}

.seravo-order-form a:hover,
.seravo-order-form a:focus {
  color: rgb(42, 100, 150);
  text-decoration: underline;
}

.seravo-order-form a:focus {
  outline-offset: -2px;
  outline: 5px auto -webkit-focus-ring-color;
  outline: thin dotted;
}

.seravo-order-form h2 {
  margin-top: 1em;
  margin-bottom: 0.625em;
  font-size: var(--wp--preset--font-size--2-x-large);
}
.seravo-order-form h3 {
  margin-bottom: 0.625em;
}

.seravo-order-form h2::after {
  display: none;
}

.seravo-order-form .form-group.has-success:after {
  content: attr(success_message);
}
.seravo-order-form .form-group.has-error:after {
  content: attr(error_message);
}
.seravo-order-form .radio-inline {
  display: block;
}
.seravo-order-form .input-inline {
  display: inline-block;
}

.seravo-order-form .hidden {
  display: none;
}
.seravo-order-form .form-control {
  display: block;
  border-radius: 5px;
  padding: 0.625em;
  border: 1px solid rgb(148, 148, 148);
  font-size: 1em;
}
.seravo-order-form .form-group.promotion label {
  display: block;
}
.form-group.promotion {
  padding-bottom: 20px;
}
.seravo-order-form .form-group.promotion input,
.seravo-order-form .form-group.promotion .promotion-ajax-loading {
  display: inline-block;
}
.seravo-order-form input + input {
  margin-top: 4px;
}
.seravo-order-form .input-repeat {
  margin-bottom: 4px;
  position: relative;
}
.seravo-order-form .input-repeat input {
  display: inline-block;
}

@media screen and (min-width: 1010px) {
  .seravo-order-form .products-container {
    display: flex;
  }
  .seravo-order-form .product-container {
    flex-grow: 1;
  }
}
.seravo-order-form .product-container {
  padding: 0px 0px 30px 0px;
  width: 100%;
}

.seravo-order-form .product-title {
  background-color: #083058;
  border: 1px solid rgb(237, 237, 237);
  border-radius: 5px 5px 0px 0px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
}
.seravo-order-form .product-price {
  border: 1px solid rgb(237, 237, 237);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.seravo-order-form .product-button {
  border: 1px solid rgb(237, 237, 237);
  padding: 10px;
  text-align: center;
  position: relative;
}
.seravo-order-form .form-message {
  max-width: 100%;
}
.seravo-order-form textarea.form-control {
  height: 8em;
  resize: vertical;
  width: 100%;
  /* max-height: 100px; */
}
.seravo-order-form .form-owner-company-info,
.seravo-order-form .company-location {
  margin-bottom: 30px;
}
@media screen and (min-width: 400px) {
  .seravo-order-form h2 {
    font-size: var(--wp--preset--font-size--3-x-large);
  }
}
@media screen and (min-width: 568px) {
  .seravo-order-form .form-owner-company-info,
  .seravo-order-form .company-location,
  .seravo-order-form .form-contact-info,
  .seravo-order-form .form-billing-contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .seravo-order-form h2 {
    font-size: var(--wp--preset--font-size--4-x-large);
  }
}

/** Buttons */
.seravo-order-form .remove-input-btn {
  display: inline-block;
  color: rgb(255, 0, 0);
  position: relative;
  top: 2px;
}
.seravo-order-form .btn-lg {
  padding: 14px 16px;
  font-size: 1em;
  line-height: 1.33;
  border-radius: 6px;
  cursor: pointer;
}
.seravo-order-form .btn-submit {
  margin-bottom: 15px;
}
.seravo-order-form .btn-info {
  background-color: var(--wp--preset--color--seravo-blue);
  border-color: var(--wp--preset--color--seravo-blue);
  color: white;
  padding: 10px 45px;
  border-radius: 6px;
  border: 2px solid;
  cursor: pointer;
}
.seravo-order-form .btn-info:hover {
  background-color: white;
  border-color: var(--wp--preset--color--seravo-blue);
  color: var(--wp--preset--color--seravo-blue);
}

.seravo-order-form .required-asterisk {
  color: var(--wp--preset--color--seravo-red);
  margin-left: 7px;
}
.seravo-order-form .form-group.has-error-required:after,
.seravo-order-form .form-group.has-error-invalid:after,
.seravo-order-form .form-group.has-error::after {
  color: rgb(185, 74, 72);
  display: block;
  margin-top: 4px;
}
.seravo-order-form .form-group.has-success:after {
  color: rgb(70, 136, 71);
  display: block;
  margin-top: 4px;
}
.seravo-order-form label.btn:hover {
  background: var(--wp--preset--color--seravo-blue);
  color: rgb(255, 255, 255);
}
.seravo-order-form .btn-submit:hover,
.seravo-order-form label.btn.selected,
.seravo-order-form label.btn.selected:hover {
  background: var(--wp--preset--color--seravo-blue);
  color: rgb(255, 255, 255);
}
.seravo-order-form label.btn.selected:hover {
  color: rgb(255, 255, 255);
}
.seravo-order-form .total-display {
  margin-top: 0;
  margin-bottom: 12px;
}
.seravo-order-form .form-group select,
.seravo-order-form .form-group input[type='text'],
.seravo-order-form .form-group input[type='tel'],
.seravo-order-form .form-group input[type='email'] {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .seravo-order-form .form-group.form-domains select,
  .seravo-order-form .form-group.promotion select,
  .seravo-order-form .form-group.form-domains input[type='text'],
  .seravo-order-form .form-group.promotion input[type='text'],
  .seravo-order-form #form-gmail input[type='text'],
  .seravo-order-form #form-gmail input[type='email'],
  .seravo-order-form #form-mailbox input[type='email'],
  .seravo-order-form .form-group.form-domains input[type='tel'],
  .seravo-order-form .form-group.promotion input[type='tel'],
  .seravo-order-form .form-group.form-domains input[type='email'],
  .seravo-order-form .form-group.promotion input[type='email'],
  .seravo-order-form .input-inline {
    width: 50%;
  }
}
.seravo-order-form .form-parent {
  padding-top: 50px;
}
.seravo-order-form .product-button .button,
.seravo-order-form .btn-submit {
  border: 2px solid;
  border-color: var(--wp--preset--color--seravo-blue);
  font-weight: 500;
  color: var(--wp--preset--color--seravo-blue);
}
.seravo-order-form .btn-submit {
  color: #fff;
  background: var(--wp--preset--color--seravo-blue);
  border-radius: 9999px;
  font-weight: 900;
  text-transform: uppercase;
  font-weight: 900;
  line-height: inherit;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.925em;
  margin: 1em 1em 2em;
}
.seravo-order-form .btn-submit:hover {
  animation: pulse_blue 1.5s infinite;
}
#seravo-public-order-form .seravo-ajax-spinner {
  margin-left: 5px;
}
#submit-ajax-spinner {
  margin: 25px 0;
}
.seravo-order-form form button {
  text-align: center;
  margin: auto;
}
.seravo-order-form .accordion-title {
  text-align: center;
  display: none;
}
.seravo-order-form .accordion-text {
  cursor: pointer;
  margin-bottom: 0px;
  font-weight: 500;
}
.seravo-order-form .accordion-switch {
  cursor: pointer;
  font-size: 23px;
  top: 2px;
  left: 6px;
  position: relative;
}
.seravo-order-form .tabs .product-details,
.seravo-order-form .tabs .customer-details {
  display: block;
  padding: 0;
  background-color: rgb(255, 255, 255);
  transition: background ease 0.2s;
  text-transform: uppercase;
  font-weight: 300;
  color: rgb(148, 148, 148);
  font-size: var(--wp--preset--font-size--x-large);
  margin-top: 1.5em;
}
.seravo-order-form .tabs .product-details {
  margin-bottom: 0;
}
.seravo-order-form .tabs .tab {
  width: 100%;
  padding: 0.5em 7% 3em;
  background: #fff;
  box-shadow: 0 7px 20px #0002;
}
.seravo-order-form .tab-container {
  padding-right: 30px;
  padding-bottom: 30px;
}
.seravo-order-form .tab-content {
  border-radius: 15px;
  margin-top: 15px;
}
.seravo-order-form .customer-tab {
  margin: 50px 0px 0px 0px;
}
.seravo-order-form .delete-button {
  text-align: center;
}
.seravo-order-form .fa-xs {
  color: var(--wp--preset--color--seravo-blue);
  padding-right: 20px;
}
.seravo-order-form .order-title-hr {
  border: 1.5px solid rgb(237, 237, 237);
  display: none;
}
.seravo-order-form .total-hr {
  /*! width: 90%; */
  border: 1.5px solid rgb(241, 241, 241);
  display: none;
}

.seravo-order-form .billing-container {
  background: #fff;
  width: inherit;
  margin-top: 15px;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 7px 20px #0002;
}
.seravo-order-form .billing-title-container {
  padding: 1.4em;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  background-color: #083058;
  border-radius: 15px 15px 0 0;
}
.seravo-order-form .form-container {
  width: 100%;
  z-index: 2;
}
.seravo-order-form .sticky-widget {
  width: inherit;
  position: sticky;
  top: calc(120px + 4vh);
  align-self: flex-start;
}
.seravo-order-form .content {
  display: block !important;
}
.seravo-order-form .service-terms {
  padding: 20px 10px;
}
.seravo-order-form .promotion-rate {
  color: rgb(76, 166, 76);
  text-align: center;
  font-weight: 500;
}
.seravo-order-form .price-paragraph {
  margin-bottom: 0px;
  text-transform: capitalize;
  margin-top: 7px;
}
.seravo-order-form .price-subtitle {
  color: black;
  word-break: break-all;
  margin-bottom: 5px;
  margin-left: 10%;
}
.seravo-order-form .price-product {
  margin-bottom: 7px;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.seravo-order-form .price-product-name {
  text-align: center;
}
.seravo-order-form .billing-title {
  color: rgb(255, 255, 255);
  font-weight: 500;
  margin: auto;
  text-transform: uppercase;
  font-size: var(--wp--preset--font-size--x-large);
}
.seravo-order-form .billing-hr {
  border-bottom: 2px solid rgb(255, 255, 255);
  margin: 0;
  display: none;
}
.seravo-order-form .total-container {
  text-align: center;
  padding: 10px;
}
.seravo-order-form .total-title {
  text-transform: uppercase;
  margin-top: 0;
  color: var(--wp--preset--color--seravo-blue);
}
.seravo-order-form .free-migration-display,
.seravo-order-form .trial-period-display {
  font-style: italic;
}

@media only screen and (max-width: 45em) {
  .seravo-order-form .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}

@media only screen and (max-width: 569px) {
  .seravo-order-form hr {
    display: block;
  }
  .seravo-order-form .product-details,
  .seravo-order-form .customer-details {
    justify-content: center;
    align-items: center;
  }
  .seravo-order-form .tabs {
    width: 100%;
  }
  .seravo-order-form .tab-container {
    max-width: 110%;
  }
  .seravo-order-form .product-container {
    /* max-width: 300px; */
  }
  .seravo-order-form .contact-person-container {
    padding-top: 0em;
  }
  .seravo-order-form .contact-person-title {
    padding-top: 0px;
  }

  .seravo-order-form .price-paragraph {
   font-size: 1em;
  }

  .seravo-order-form .price-subtitle {
    font-size: 12.8px;
  }
}

@media only screen and (max-width: 767px) {
  .seravo-order-form label.btn {
    width: 100%;
    margin-bottom: 4px;
  }

  .seravo-order-form .radio-inline + .radio-inline {
    display: block;
    margin-left: 0;
  }

  .seravo-order-form .contact-person-container {
    padding-top: 3em;
  }
}

@media only screen and (min-width: 1201px) {
  .seravo-order-form {
    display: flex;
    flex-flow: row wrap;
  }

  .seravo-order-form .seravo-order-form-wrapper {
    flex: 2 0px;
  }
}
@media only screen and (max-width: 1200px) {
  .seravo-order-form .product-container {
    margin-bottom: 20px;
    /* max-width: 200px; */
  }

  .seravo-order-form .sticky-widget {
    width: 100%;
    order: -1;
  }

  .seravo-order-form .billing-container {
    width: 100%;
  }
}

@media only screen and (min-width: 990px) {

  .seravo-order-form .price-subtitle {
    font-size: 13.6px;
  }
}

@media only screen and (min-width: 1200px) {

  .seravo-order-form .price-subtitle {
    font-size: 11.2px;
  }
}

@media only screen and (min-width: 1300px) {

  .seravo-order-form .price-subtitle {
    font-size: 11.2px;
  }
}

@media only screen and (min-width: 1400px) {
  .seravo-order-form .price-section-details {
    max-height: 130px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .seravo-order-form .price-subtitle {
    font-size: 13.12px;
  }
}

@media only screen and (min-width: 2000px) {
  .seravo-order-form .price-section-details {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .seravo-order-form .price-subtitle {
    font-size: 15.2px;
  }
}

/* RESELLER FORM STYLES */
.seravo-additional-info-form .toggle-domain-container {
  display: block;
  float: right;
  border: 0;
  background: 0 0;
  cursor: pointer;
}
.seravo-additional-services-wrapper .seravo-ajax-spinner {
  margin: 0 auto;
  display: block;
  margin-bottom: 10px;
}
.seravo-additional-info-form .domain-container {
  margin-bottom: 10px;
}
.seravo-additional-info-form .domain-success {
  border-left: 4px solid #4bb543;
}
.seravo-additional-info-form .domain-caution {
  border-left: 4px solid #ffcc00;
}
.nopadd {
  padding: 0px !important;
}

img.tooltip-icon {
  width: 20px;
  height: 16px;
  vertical-align: inherit;
}

.form-group .billing-information-checkbox {
  margin-bottom: 10px;
}
