.page-node-type-damm-promotion .header--with-bg,
.page-node-type-damm-promotion .footer {
  background-color: #eb0505;
  /*background*/
}

.promotions__header,
.promotions__footer {
  background-color: #eb0505;
  /*background*/
  left: 0;
  width: 100%;
}

.promotions__img_mobile {
  display: none;
  width: 100%;
}
.promotions__header__img {
  margin: 0 auto;
  padding: 63px 0 0;
  position: relative;
  width: 100%;
  max-width: 1100px;
  line-height: 0;
  overflow: hidden;
}
.promotions__img_mobile img,
.promotions__header__img img {
  /*height: 530px;*/
  width: 100%;
}
.promotions__text-info {
  margin: 78px auto 70px;
}

.promotion-participate-form__btns a {
  font-size: 20px;
  font-size: 1.25rem;
  width: 40%;
  margin: 10px 0;
}
.form-item-receipt-file .description {
  float: left;
}
.promotions__footer-content {
  margin: 0 auto;
}
/*
@media(max-width: 768px) {
  .promotions__header__img {
    display: none;
  }
  .promotions__img_mobile {
    display: block;
    margin: 0 auto;
    padding: 50px 10px 10px;
  }
  .promotions__img_mobile img {
    width: 100%;
  }
  .promotions__text-info {
    margin: 55px auto;
  }
  .promotions__footer-content h3, .promotion-participate-form p {
    font-size: 2em;
    margin-left: 10px;
  }
  .promotion-participate-form__btns a {
    width: 90%;
    font-size: 16px;
    font-size: 1rem;
    margin: 0 auto;
    text-align: center;
  }
  .form-item-receipt-file .description {
    clear: both;
    padding-top: 20px;
  }
  .promotions__footer-content {
    margin: 20px;
  }
}

@media(max-width: 520px) {
  .promotions__header__img {
    display: none;
  }
  .promotions__img_mobile {
    display: block;
    margin: 0 auto;
    padding: 70px 20px 20px;
  }
  .promotions__img_mobile img {
    width: 100%;
  }
  .promotions__text-info {
    margin: 55px auto;
  }
  .promotions__footer-content h3, .promotion-participate-form p {
    font-size: 2em;
    margin-left: 10px;
  }
  .promotion-participate-form__btns a {
    width: 90%;
    font-size: 16px;
    font-size: 1rem;
    margin: 0 auto;
    text-align: center;
  }
  .form-item-receipt-file .description {
    clear: both;
    padding-top: 20px;
  }
  .promotions__footer-content {
    margin: 20px;
  }
}
*/
.promotions__text {
  width: 100%;
  background-color: #fff;
}

.promotions__text-info {
  font-size: 28px;
}
.promotions__text-info p {
  line-height: 1.25;
  margin: 0 0 2.125rem;
}

.promotions__date {
  font-weight: bold;
  font-size: 19px;
}

.promotions__text-info h2 {
  display: block;
  margin: 0.125rem 0 1.125rem;
}

.promotion-participate-form {
  font-size: 1.25rem;
  position: relative;
}

.promo-legal-terms-head {
  margin: 15px auto 8px;
  padding: 1.125rem 0;
  border-top: 1px solid #000;
  position: relative;
}

.promo-legal-text-text {
  padding: 0.75rem 0;
  max-height: 300px;
  overflow-y: scroll;
  margin-bottom: 5.25rem;
  border-top: none;
  margin-right: 7px;
}

.promotion-participate-form {
  --scrollbarBG: #fbfbfb;
  --thumbBG: #000;
}
.promo-legal-text-text {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
.promo-legal-text-text::-webkit-scrollbar {
  width: 7px;
}
.promo-legal-text-text::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
  border: 1px solid #000;
}
.promo-legal-text-text::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  border-radius: 0;
}

.promo-legal-text-text p,
.promo-legal-text-text h2,
.promo-legal-text-text h3 {
  font-weight: bold;
  margin: 0 0 1rem;
  font-size: 0.925rem;
}
.promo-legal-text-text h3 {
  margin: 1.25rem 0;
}
.promo-legal-text-text p {
  font-weight: normal;
  font-size: 0.875rem;
}
.promo-legal-terms-head:after {
  content: "✕";
  border: none;
  color: #ccc;
  display: inline-block;
  font-size: 18px;
  margin-top: 2px;
  margin-right: 1px;
  text-align: right;
  float: right;
  width: auto;
  height: auto;
}
.promo-legal-terms-head.accordion-closed:after {
  font-family: monospace;
  content: "＋";
  color: #ccc;
  font-size: 22px;
  margin-top: -1px;
  margin-right: -3px;
}

.promotions__footer-content {
  max-width: 1140px;
  position: relative;
  padding: 78px 20px;
  color: #fff; /*secondary*/
}

.promotions__footer-content h3 {
  display: block;
  margin: 0 0 42px;
}

.promotion-participate-form__btns a {
  height: 45px;
  border: 1px solid #fff; /*secondary*/
}

.promotion-participate-form > p:first-of-type,
.promotions__text-info h2,
.promotions__footer-content h3 {
  font-family: "Bottles Titles", sans-serif;
  font-size: 3.625rem;
  font-weight: 400;
  margin: 10px 0 20px 0;
  letter-spacing: -0.25px;
  line-height: 3.625rem;
}

.promotion-participate-form {
  border-top: none;
}
.promotion-participate-form label {
  font-weight: bold;
  margin-bottom: 1rem;
  display: block;
}
.promotion-participate-form p.instructions,
.promotion-participate-form input,
.promotion-participate-form textarea {
  margin-bottom: 2.5rem;
  width: 50%;
  max-width: 28.5rem;
}
.promotion-participate-form select {
  width: 450px;
}
.promotion-participate-form p.instructions {
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  line-height: 1.25;
}

.promotion-participate-form input[type="submit"] {
  width: 16.5rem;
}
.promotion-participate-form .button,
.promotion-participate-form__btns .button {
  color: #eb0505;
  /*text*/
  text-decoration: none;
  background: none;
  background-color: #fff;
  border: 1px solid transparent;
  cursor: pointer;
  outline: 0;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 50px;
  overflow: hidden;
  z-index: 1;
  transition: 0.3s;
}

.upload-set,
.promo-legal-terms-head {
  font-size: 19px;
}

/**
 * File upload
 */
.upload-set .as-label {
  display: none;
} /*Porque en damm no tiene el título tipo "sube tu recibo"*/

.upload-set .form-managed-file,
.upload-set .form-managed-file div {
  position: relative;
}

.upload-set span.file,
label[for|="edit-receipt-file-upload"] {
  width: 50%;
  max-width: 28.5rem;
  float: left;
  border: 2px dashed currentColor;
  text-align: center;
  padding: 1.75rem;
  line-height: 1.4rem;
  position: relative;
  font-weight: bold;
  cursor: pointer;
}

.upload-set span.file {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  text-align: center;
  background: #333;
  padding: 0;
  height: 82px;
}
.upload-set div.throbber {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
}
.upload-set div.ajax-progress {
  position: absolute;
  left: 0;
  top: 0;
}
label[for|="edit-receipt-file-upload"]::before {
  content: "↑ ";
  font-weight: bold;
  display: inline-block;
  position: relative;
  right: 0.75rem;
}

label[for|="edit-receipt-file-upload"]::after {
  background: none;
}

.upload-set div.form-managed-file input[type="file"] {
  position: absolute;
  overflow: hidden;
  opacity: 0;
  top: 1rem;
  font-size: 1px;
  left: 1rem;
}
.form-item-receipt-file {
  overflow: hidden;
}
.upload-set .description {
  float: left;
  padding-left: 0;
  margin-left: 2rem;
  margin-top: 0.5rem;
  line-height: 1.4;
  font-size: 0.9375rem;
}
.form-item-receipt-file a {
  color: #fff;
  width: 100%;
  display: block;
  height: 100%;
  line-height: 4.5rem;
  text-shadow: 0 2px 0 rgba(128, 128, 128, 0.5), 2px 0 0 rgba(128, 128, 128, 0.5), 0 -2px 0 rgba(128, 128, 128, 0.5),
    -2px 0 0 rgba(128, 128, 128, 0.5), 2px 2px 0 rgba(128, 128, 128, 0.5), 2px -2px 0 rgba(128, 128, 128, 0.5),
    -2px -2px 0 rgba(128, 128, 128, 0.5), -2px 2px 0 rgba(128, 128, 128, 0.5);
}
.upload-set .description span {
  /*En este site está separado por lineas*/
  display: block;
}

.promotion-participate-form .upload-set .button[id|="edit-receipt-file-remove-button"],
.promotion-participate-form .upload-set .button[id|="edit-receipt-file-remove-button"]:hover {
  width: 2rem;
  height: 2rem;
  overflow: hidden;
  float: left;
  position: relative;
  left: -2rem;
  padding: 0;
  margin: 0 -2rem 0 0;
  color: transparent;
  background: none;
}

.upload-set span.file::after {
  display: block;
  content: "✕";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: rgba(128, 128, 128, 0.5);
}

/*checkboxes*/
.promotion-participate-form .form-type-checkbox {
  position: relative;
}
.promotion-participate-form input[type="checkbox"] {
  float: left;
  position: absolute;
  opacity: 0;
  width: auto;
}
.promotion-participate-form input[type="checkbox"] + label {
  display: inline-block;
  margin-left: 2rem;
  cursor: pointer;
}
.promotion-participate-form input[type="checkbox"] + label::before {
  content: " ";
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 3px solid transparent;
  position: relative;
  background: transparent;
  outline: 1px solid currentColor; /*foreground*/
  margin-left: -2rem;
  margin-right: 1rem;
}
.promotion-participate-form input[type="checkbox"]:checked + label::before {
  box-shadow: inset 1rem 1rem currentColor;
}

/*select box is*/
.promotion-participate-form .selectboxit-container,
.promotion-participate-form .selectboxit-container .selectboxit,
.promotion-participate-form .selectboxit-container .selectboxit .selectboxit-text,
.promotion-participate-form .selectboxit-container .selectboxit-options,
.promotion-participate-form .selectboxit-container .selectboxit-options a {
  width: 100%;
  line-height: 3.25;
  font-size: 18px;
  height: auto;
  border-radius: 0;
  background: none;
}
.promotion-participate-form .selectboxit-container .selectboxit-options a {
  line-height: 2.1;
  font-size: 30px;
}
.promotion-participate-form .selectboxit-container {
  width: 50%;
  max-width: 28.5rem;
  border: none;
}
.promotion-participate-form .selectboxit-container .selectboxit {
  border: 1px solid #c0c0c0;
  border-width: 0 0 1px;
}

.promotion-participate-form .selectboxit-container .selectboxit .selectboxit-text {
  text-indent: 0;
  font-size: 30px;
  line-height: 4rem;
  overflow: initial;
  padding: 6px 0 0 0;
}
.promotion-participate-form .selectboxit-container .selectboxit-options .selectboxit-option .selectboxit-option {
  width: 456px;
}

.promotion-participate-form .selectboxit-container .selectboxit-options {
  border-radius: 0;
  margin-top: 0.5rem;
}
.promotion-participate-form .selectboxit-container .selectboxit-option {
  border-bottom: 1px solid #000;
  font-size: 1.875rem;
  background: #fff;
  border-radius: 0;
}
.promotion-participate-form .selectboxit-container .selectboxit-option:last-child {
  border-bottom: none;
}
.promotion-participate-form .selectboxit-btn.selectboxit-enabled:hover,
.promotion-participate-form .selectboxit-btn.selectboxit-enabled:focus {
  color: currentColor;
}
.promotion-participate-form .selectboxit-list > .selectboxit-focus > .selectboxit-option-anchor {
  background: #e6e6e6;
  color: #333;
}

.promotion-participate-form .selectboxit-container .selectboxit-arrow-container {
  background-image: url(../img/arrow-down.png);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  display: block;
  height: 100%;
  right: 14px;
  top: 0;
  width: 30px;
}
.promotion-participate-form .selectboxit-container .selectboxit-open .selectboxit-arrow-container {
  transform: rotate(180deg);
}
.promotion-participate-form .selectboxit .selectboxit-arrow-container .selectboxit-arrow {
  margin: 0 auto;
  position: absolute;
  top: 32%;
  right: 0;
  left: 0;
  border: 1px solid currentColor;
  border-width: 0px 2px 2px 0;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
}

p.promotion__participation-end {
  font-size: 2rem;
}
/*
.form-item-receipt-file .js-form-file {
  color: transparent;
}

.form-item-receipt-file .js-form-file::-webkit-file-upload-button {
  visibility: hidden;
}

.form-item-receipt-file .js-form-file::before {
  color: #fff;
  content: '\2191 Subir recibo de compra';
  display: inline-block;
  border: 1px dashed #fff;
  border-radius: 3px;
  padding: 25px 40px;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
}

.upload-set label {
  display: none;
}
*/
.form-item-receipt-file .file--image {
  background-image: none;
  margin-bottom: 20px;
}
/*
.form-item-receipt-file .description {
  font-size: 15px;
  max-width: 200px;
}

.form-item-receipt-file .form-managed-file {
  float: left;
  margin-right: 20px;
  width: 25%;
}
*/

.promotion-participate-form .button:hover,
.promotion-participate-form__btns .button:hover {
  color: #fff; /*secondary*/
  background-color: #eb0505; /*background*/
  border: 1px solid currentColor;
}

/* PROMOTIONS - IBAN */

.iban-widget {
  clear: left;
  display: block;
  border: none;
  background: none;
  border-bottom: 1px solid currentColor;
  font-weight: normal;
  font-size: 1.5rem;
  line-height: 2.365rem;
}

/* PROMOTIONS - IBAN */

.cif-nif {
  clear: left;
  display: block;
  border: none;
  background: transparent;
  border-bottom: 1px solid currentColor;
  font-weight: normal;
  font-size: 1.5rem;
  line-height: 2.365rem;
}
/*
@media(max-width: 700px) {
  .ibangroup .promotion_iban_ic, .ibangroup input:first-child {
    width:30px;
  }
  .ibangroup .promotion_iban_part {
    width:48px;
  }
}
*/
.view-promotions-participations {
  overflow: hidden;
  font-size: 20px;
}
.row-promotion-user {
  overflow: hidden;
  margin-top: 52px;
  margin-bottom: 12px;
}
.view-promotions-participations .view-empty {
  margin-top: 52px;
}
.row-promotion-user {
  width: 48%;
  display: inline-block;
  vertical-align: top;
}
.row-promotion-user:nth-child(2n + 1) {
  margin-right: 2%;
}

.promo-block-1 {
  margin-bottom: 32px;
  line-height: 0;
}
.promo-block-1 img {
  width: 100%;
  height: auto;
}
.row-promotion-user .date {
  font-weight: bold;
  font-size: 15px;
}
.row-promotion-user .title {
  font-size: 40px;
  font-family: "Bottles Titles", sans-serif;
  margin-bottom: 11px;
}
.row-promotion-user p {
  margin-bottom: 26px;
}
.active-no,
.row-promotion-user .active {
  font-family: "Bottles Titles", sans-serif;
}
.active-no {
  color: #c4c4c4;
}
.row-promotion-user .active-no {
  margin-top: 20px;
}
.row-promotion-user .body {
  margin-bottom: 20px;
}
.row-promotion-user .active:after {
  content: " ";
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-left: 5px;
}

.view-promotions-participations .pager {
  clear: both;
  padding-top: 2rem;
}
.view-promotions-participations .pager ul {
  text-align: center;
}
.view-promotions-participations .pager li {
  display: inline-block;
  padding: 0 0.25em;
}
.view-promotions-participations .pager li.is-active {
  border: 1px solid #ccc;
}

/* Fix differents styles if you configure the html promotion message in backoffice */
.messages__item h1,
.messages__item h2,
.messages__item h3,
.messages__item h4,
.messages__item h5,
.messages__item h6 {
  font-family: "Bottles Titles", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;
} /*25px*/
.messages__item p {
  font-size: 1rem;
}

.promotion-participate-form__btns .button:hover {
  background: none;
}
.promotion-participate-form__btns .button:before {
  background: none;
}

.promotions__footer-content div.promotion-participate-form__btns > a.button.login,
.promotions__footer-content div.promotion-participate-form__btns > a.button.signup {
  font-size: 18px;
  font-weight: bold;
  background: #fff;
  color: #000;
  padding: 27px;
  width: 460px;
  max-width: 100%;
  text-align: center;
}

/*promo button on brand page complot and freedam included*/
div.buttons-area {
}
a.promotion-link-button {
  margin-right: 15px;
}
a.promotion-link-button:first-child:last-child {
  margin-right: 0;
}

#password-policy-status {
  display: none;
}

@media (max-width: 1023px) {
  .content__region .content__content .config_pages .buttons-area a {
    position: static;
    width: 45%;
    margin: 0 2.5%;
  }
  .content__region .content__content .config_pages .buttons-area a:first-child:last-child {
    width: 100%;
    margin: 0;
  }
  .content__region .content__content .config_pages div.buttons-area {
    position: fixed;
    width: 100%;
    padding: 0 5%;
    bottom: 1%;
    left: 0;
    display: flex;
    flex-wrap: inherit;
    flex-direction: row;
    align-content: start;
  }
}
/*end promo button complot way*/

@media (max-width: 1024px) {
  .promotion-participate-form__btns a.login,
  .promotion-participate-form__btns a.signup {
    width: auto;
    padding: 24px;
  }
  .view-promotions-participations {
    font-size: 16;
  }
  .row-promotion-user {
    margin-top: 40px;
    margin-bottom: 10px;
  }
  .row-promotion-user:nth-child(2n + 1) {
    clear: left;
    float: left;
  }
  .row-promotion-user .title {
    font-size: 30px;
  }
  .promo-block-1 {
    margin-bottom: 24px;
  }
  .promotions__header__img {
    padding-top: 42px;
  }
  p.promotion__participation-end {
    font-size: 1.5rem;
  }
  .messages__item h1,
  .messages__item h2,
  .messages__item h3,
  .messages__item h4,
  .messages__item h5,
  .messages__item h6 {
    font-family: "Bottles Titles", sans-serif;
    font-size: 1rem;
    font-weight: 400;
  } /*25px*/
  .messages__item p {
    font-size: 1rem;
  }
}
@media (max-width: 700px) {
  .promotions__footer-content div.promotion-participate-form__btns > a.button.login,
  .promotions__footer-content div.promotion-participate-form__btns > a.button.signup {
    font-size: 15px;
  }

  .view-promotions-participations {
    font-size: 13;
  }
  .row-promotion-user {
    margin-top: 32px;
    margin-bottom: 7px;
    width: 100%;
    float: none;
  }
  .row-promotion-user .title {
    font-size: 25px;
  }
  .promo-block-1 {
    margin-bottom: 19px;
  }

  .promotions__date {
    font-size: 13px;
  }
  .promotions__text-info {
    font-size: 18px;
  }
  .promotions__text-info {
    margin: 40px auto 40px;
  }
  .promotions__footer-content {
    padding: 40px 20px;
  }
  .promotion-participate-form {
    font-size: 13px;
  }
  .promotion-participate-form > p:first-of-type,
  .promotions__text-info h2,
  .promotions__footer-content h3 {
    font-size: 38px;
    line-height: 38px;
  }
  .promotion-participate-form .selectboxit-container {
    width: 100%;
  }
  .promotion-participate-form .selectboxit-container,
  .promotion-participate-form .selectboxit-container .selectboxit,
  .promotion-participate-form .selectboxit-container .selectboxit .selectboxit-text,
  .promotion-participate-form .selectboxit-container .selectboxit-options,
  .promotion-participate-form .selectboxit-container .selectboxit-options a {
    font-size: 18px;
  }
  .promotion-participate-form .selectboxit-container .selectboxit-options a {
    line-height: 2.1;
    font-size: 30px;
  }
  .upload-set,
  .promo-legal-terms-head {
    font-size: 13px;
  }
  .upload-set span.file,
  label[for|="edit-receipt-file-upload"] {
    width: 100%;
  }
  .upload-set .description {
    margin: 0;
    font-size: 10px;
  }
  .promotion-participate-form input[type="checkbox"] + label::before {
    width: 12px;
    height: 12px;
    margin-right: 0.5rem;
  }
  .promo-legal-text-text {
    margin-bottom: 2rem;
  }
  .promotion-participate-form .selectboxit-container .selectboxit .selectboxit-text {
    padding: 0;
  }
  .upload-set span.file,
  label[for|="edit-receipt-file-upload"] {
    padding: 14px;
  }
  .form-item-reward-options {
    margin-bottom: 1rem;
  }
  .promotion-participate-form .button,
  .promotion-participate-form__btns .button {
    font-size: 13px;
  }
  .promotion-participate-form .selectboxit .selectboxit-arrow-container .selectboxit-arrow {
    width: 12px;
    height: 12px;
  }
  .promotion-participate-form p.instructions,
  .promotion-participate-form input {
    margin-bottom: 1.5rem;
    width: 100%;
  }
  .iban-widget, .cif-nif {
    font-size: 13px;
  }
  .promotions__header__img {
    display: none;
  }
  .promotions__img_mobile {
    display: block;
    padding-top: 42px;
    line-height: 0;
  }
  p.promotion__participation-end {
    font-size: 1.25rem;
  }
}

.branding-Voll-Damm.page-node-type-damm-promotion .header--with-bg #block-botigaonline img {
  display: block;
}

.branding-Voll-Damm.page-node-type-damm-promotion .header--with-bg #block-botigaonline img.black-cart {
  display: none;
}

.promotions__footer-content h4 {
  font-size: 30px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.07;
  letter-spacing: normal;
  margin: 40px 0px 20px 0px;
}

/* Nuevos campos */
.field_phone, input.field_daybirth, .form-text, .form-textarea {
  clear: left;
  display: block;
  border: none;
  background: none;
  border-bottom: 1px solid currentColor;
  font-weight: normal;
  font-size: 13px;
  line-height: 2.365rem;
  padding-left: 0;
}

input.field_daybirth {
  padding: 0;
}

[id^=promotion-participate-form] .form-item-daybirth,
[id^=promotion-participate-form] .form-item-phone,
[id^=promotion-participate-form] .form-type-textarea,
[id^=promotion-participate-form] .form-type-textfield {
  margin-top: 25px;
}

[id^=promotion-participate-form] .form-item-daybirth label,
[id^=promotion-participate-form] .form-item-phone label,
[id^=promotion-participate-form] .form-type-textarea label {
  margin-bottom: 0px;
  font-size: 12px;
  font-weight: 900;
  line-height: 3.33;
  letter-spacing: -0.15px;
}

@media (min-width: 700px){
  [id^=promotion-participate-form] .form-item-daybirth,
  [id^=promotion-participate-form] .form-item-phone,
  [id^=promotion-participate-form] .form-type-textarea,
  [id^=promotion-participate-form] .form-type-textfield  {
    margin-top: 50px;
  }

  [id^=promotion-participate-form] .form-item-daybirth label,
  [id^=promotion-participate-form] .form-item-phone label,
  [id^=promotion-participate-form] .form-type-textarea label,
  [id^=promotion-participate-form] .form-type-textfield label {
    margin-bottom: 1em;
    font-size: 20px;
    line-height: 2;
    font-weight: 900;
  }
  .field_phone, input.field_daybirth, .form-text, .form-textarea {
    font-size: 1.5rem;
  }
}

input.field_daybirth { color-scheme: dark; }
