.popup__overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
      /* transition: opacity 5ms; */
  visibility: hidden;
  opacity: 0;
  z-index: 11000;
}

.popup__overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup__overlay  .popup__background {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
}

.popup__overlay:target .popup__background {
  /* visibility: visible;
  opacity: 1; */
}

.popup {
  margin: 80px auto;
  padding: 30px;
  background: #fff;
  position: relative;
  border-radius: 4px;
  max-width: 700px;
}

.popup h2 {
  font-size: 20px;
  font-family: HelveticaNeue_light;
  /* margin-top: 0; */
  color: #333;
  margin-bottom: 12px;
}

.popup h4 {
  font-family: HelveticaNeue_light;
  margin: 30px 0 10px;
  color: #333;
}

.js-popup__student_id_card {
  display: none;
}

.popup__products {
  display: flex;
}

.popup__products input {
  display: none;
}

.popup__products input:checked + label {     /* white background for selected tab */
  border: 1px solid gray;
  background-color: #f6f4f4;
}

.popup__one_product {
  font-size: 12px;
  text-transform: uppercase;
  border: 1px solid #e2e2e3;
  border-radius: 5px;
  padding: 8px 10px;
  margin-right: 8px;
  cursor: pointer;
}

.popup__one_product:hover {
  background-color: #f6f4f4;
}

.popup__product_price {
  color: red;
}

.popup > p {
  margin: 10px 0;
}

.popup p {
  color: #000000;
  font-size: 14px;
  line-height: 23px;
}

.festival_pass_checkbox {
  font-size: 14px;
}

.popup label.popup__radio-label {
  display: block;
  border: 1px solid #e9e9e9;
  border-radius: 6px;
  padding: 7px 10px 7px 11px;
  transition: .3s background-color;
  cursor: pointer;
  margin: 10px 0;
}

.popup label.popup__radio-label:hover {
  background-color: #f5f8f1;;
}

.popup label.popup__radio-label input {
  /* vertical-align: middle;
  height: 12px; */
  position: relative;
  top: -1px;
}

.popup label.popup__radio-label strong {
  color: #202020;
}

.popup__inputs input[type=text].popup_warn,
.popup__inputs input[type=email].popup_warn,
.popup__inputs input[type=textarea].popup_warn,
.popup__inputs textarea.popup_warn {
  border-bottom-color:#ffa680;
}

.popup__inputs input[type=text],
.popup__inputs input[type=email],
.popup__inputs input[type=textarea],
.popup__inputs input[type=number],
.popup__inputs textarea {
  font-size: 14px;
  padding: 6px 8px;
  margin-bottom: 4px;
  border: 1px solid #d6d6d6;
  border-radius: 3px;
}

.popup__donate {
  width: 80px;
}

.popup__inputs textarea {
  height: 60px;
  width: 365px;
}

.popup__is_student {
  position: relative;
  bottom: 1px;
}

.popup__student_id {
  display: none;
}

.popup button:disabled{
  opacity: .8;
  background-color: #ccc;
  color: #f3f3f3;
}

.popup button {
  margin-top: 16px;
  font-size: 12px;
  padding: 12px 24px;
  background-color: #054561;
  border: 1px solid #ccc;
  color: white;
  transition: .3s opacity;
  text-transform: uppercase;
  opacity: .8;
}

.popup button:not(:disabled):hover {
  opacity: 1;
}

.popup .close {
  position: absolute;
  width: 40px;
  height: 40px;
  text-align: center;
  top: 4px;
  right: 4px;
  transition: color .2s;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #666;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px) {
  .popup {
    width: 88%;
    padding: 15px;
  }

  .popup__inputs textarea {
    width: 97%;
  }

  .festival_pass_field input[type=text],
  .festival_pass_field input[type=email] {
    width: 100%;
  }
}

.souvenir-popup__address {
  display: none;
}

.popup__amount {
  width: 2em;
}

.souvenir-popup__warning-message {
  border: 1px dashed rgba(255,0,0,0.3);
  padding: 10px 14px;
  background-color: rgba(255,0,0,0.02);
  display: none;
}

.popup__delivery_details {
  padding-left: .5em;
  margin-top: .5em;
  border-left: lightgray solid 4px;
  display: none;
}

.popup__radio,
.popup__delivery_option {
  margin: revert;
  margin-left: 0;
  /* margin-top: 4px; */
  float: left;
  position: relative;
  top: 1px;
}

.popup__radio-description,
.popup__delivery_description {
  display: block;
  margin-left: 20px;
}

.popup__radio-description > ul,
.popup__radio-description > ol {
  margin-left: 20px
}

.popup__radio-label {
  margin-top: .3em;
  margin-bottom: .3em;
}

.popup__warning_message {
  padding: 16px 16px;
  background-color: rgb(255 165 0 / 10%);
  border-radius: 5px;
  display: none;
}

.tab__content > div {
  display: none;
}

.tab__content p {
  margin: 10px 0;
}

.tab__radio {
display: none;
}

label.tab {
  display: inline-block;
  margin: 2px 0;
  padding: 8px 10px;
  color: #abc;
  border: 1px solid #e2e2e3;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 5px;
}

label.tab:before {
font-family: fontawesome;
font-weight: normal;
margin-right: 10px;
}

label.tab:hover {
color: #789;
cursor: pointer;
}

input.tab__radio:checked + label.tab {
  border: 1px solid #abc;
  color: #333;
  background-color: #f6f4f4;
}



#tab1:checked ~ .tab__content #content1,
#tab2:checked ~ .tab__content #content2,
#tab3:checked ~ .tab__content #content3,
#tab4:checked ~ .tab__content #content4 {
  display: block;
}

input.tab__radio:checked + label .tab_description {
  color: red;
}

.tab__content {
  border-top: 1px solid #c4c4c4;
  margin-top: 14px;
}

@media screen and (max-width: 500px) {

  label.tab:before {
    margin: 0;
    font-size: 18px;
  }
}

.email_for_pass {
  display: none;
}

.festival_pass_form {
  margin: 16px 0;
}

.popup__confirmation_code_card {
  display: none;
}

.popup__confirmation_code_card input[type=text] {
  background-color: transparent;
}

.festival_pass_field {
  margin-top: 8px;
  font-size: 10px;
  text-transform: uppercase;
  display: block;
}

.festival_pass_field input[type=text],
.festival_pass_field input[type=email] {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #666;
  width: 50%;
  box-sizing: border-box;
  padding: 4px 0;
  font-weight: bold;
  color: #2f2f2f;
}

.festival_pass_field .festival_pass_checkbox {
  text-transform: initial;
}

@media screen and (max-width: 1024px) {
  .festival_pass_field input[type=text],
  .festival_pass_field input[type=email] {
    width: 100%;
  }
}

.popup__products .ticket_count {
  display: none;
}

.popup__products .ticket_count:checked + label {
  border: 1px solid gray;
  background-color: #f6f4f4;
}