.n-error {
    color: red;
}

/* n-button { */

.n-button {
  cursor: pointer;
}


.n-button{
  position: relative;
  background-color: black;
  border-radius: 4em;
  font-size: 16px;
  color: white;
  padding: 0.8em 1.8em;
  cursor:pointer;
  user-select:none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s; /* Safari */
}

.n-button:hover {
  transition-duration: 0.1s;
  background-color: #3A3A3A;
}

.n-button:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top:0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s;
  box-shadow: 0 0 10px 40px white;
}

.n-button:active:after {
  box-shadow: 0 0 0 0 white;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top:0;
  opacity: 1;
  transition: 0s;
}

.n-button:active {
  top: 1px;
}

/* } n-button */



/* Blink { */
.alerts {
    font-weight: bold;
    
    animation: alerts 1s;
    animation-iteration-count: 3;
}



@keyframes alerts { 
    0% { color:#fff ; } 
    50% { color: red ; } 
    100% { color:#fff ; } 
}

/* } Blink */



/* age birth container style { */

.birth-container {
    margin-bottom: 100px; /* Чтобы выпадающий список при выборе знаменитости не залезал на рекламу. */ 
}

.birth-container p {
  font-weight: 700;
  margin: 0 0 10px 0;
}

.targeted-day-input, .targeted-day-input td, .birthday-input, .birthday-input td {
  border: none !important;
}

.birth-container input,
.birth-container select {
  border: 1px solid #000;
}
.birth-container input::-webkit-outer-spin-button,
.birth-container input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.birth-container input[type=number] {
  -moz-appearance: textfield;
}
.birth-container #birth-day,
.birth-container #targeted-day {
  min-width: 70px;
}
.birth-container #birth-year,
.birth-container #targeted-year,
.n-input-number
{
  max-width: 70px;
}
.birth-container .n-button {
  background-color: var(--color-8);
  border-color: transparent !important;
}

.birth-date-block,
.currect-date-block,
.birth-general-button-block,
.birth-result {
  margin: 0 0 30px 0;
}
.birth-date-block label,
.currect-date-block label,
.birth-general-button-block label,
.birth-result label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.birth-date-block .birth-date-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.currect-date-block .currect-date-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.birth-general-button-block,
.widget__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 15px;
}

.ui-widget {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
.ui-widget label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
.ui-widget input {
  min-width: 150px;
  max-width: 320px;
}

@media (max-width: 670px) {
  .birth-container {
    max-width: 430px;
  }
  .birth-container .n-button {
    padding: 0.5em 1.3em;
  }
}
@media (max-width: 466px) {
  .birth-general-button-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .birth-general-button-block button {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
            flex: 1 0 100%;
  }

  .ui-widget .widget__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
  }
  .ui-widget .widget__buttons .n-button {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
  }

  .birth-date-content .birth-year-container {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
  .birth-date-content .birth-year-container input {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
  .birth-date-content .n-button {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }

  .currect-date-content .currect-year-container {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
  .currect-date-content .currect-year-container input {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
  .currect-date-content .n-button {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
}

/* } age birth container style */




.birth-date-label.n-result {
    margin-top: 45px;
    text-transform: uppercase;
}


.n-clear {
    background-image: url("/wp-content/plugins/n-age/img/cancel-1.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    padding: 15px;
    width: 58px;
    border: none;
    cursor: pointer;
}    

.n-clear:focus {
  outline: none;
}


#ui-id-1 {
    max-height: 90px;
    overflow-y: auto;
    overflow-x: hidden;
}

.n-occupation {
    font-weight: normal;
    background-color: var(--color-10);
    color: var(--color-6);
    border-radius: 10px;
    display: block;
    padding: 10px;
}

.n-occupation:first-letter {
    text-transform: capitalize;
}




.n-enter {
    background-image: url("/wp-content/plugins/n-age/img/enter-1.svg");
    width: 58px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border: none;
}

.n-enter:focus {
    outline: none;
}