/*Стилизация бесячей плашки*/

:root {
  --btn-goto-bcgck-clr: #af3e3e;
  --default-white: #fff;
  --btn-or-hover: transparent;
  --btn-or-hover-txt: #010101;
  --btn-or-hover-brd: #af3e3e;
  --btn-bcgck-clr: #df4f54;
  --btn-txt-clr: #df4f54;
  --plashka-txt-clr: #3c3e8b;
}

.sticky-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    position: relative;
    z-index: 15;
    background-color: var(--default-white);
    -webkit-box-shadow: 0px 1px 6px -2px #000;
    box-shadow: 0px 1px 6px -2px #000;
  }
  
  .sticky-info__container-item {
    max-width: 1270px;
    margin: 0 auto;
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
  }
  
  .sticky-info__content-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 1.25rem 0;
  }
  
  .sticky-info__event-name {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-wrap: break-word;
    margin-left: 0.9375rem;
    margin-right: 0.9375rem;
    width: calc(80% - 1.875rem);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  
  .sticky-info__event-name .alert-elem {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 1.375rem;
  }
  
  .sticky-info__event-name .alert-elem::before {
    content: '';
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 2.5625rem;
    height: 2.625rem;
    background-image: url("../img/icons/alert-plashka.svg");
    background-repeat: no-repeat;
  }
  
  .sticky-info__txt-block > h1 {
    font-size: 1.625em;
    font-weight: 400;
    color: var(--plashka-txt-clr);
  }
  
  .sticky-info__txt-block > h2 {
    font-size: 1.625em;
    font-weight: 400;
    color: var(--plashka-txt-clr);
  }
  
  .sticky-info__txt-block > h3 {
    font-size: 1.625em;
    font-weight: 400;
    color: var(--plashka-txt-clr);
  }
  
  .sticky-info__txt-block > h4 {
    font-size: 1.625em;
    font-weight: 400;
    color: var(--plashka-txt-clr);
  }
  
  .sticky-info__txt-block > h5 {
    font-size: 1.625em;
    font-weight: 400;
    color: var(--plashka-txt-clr);
  }
  
  .sticky-info__txt-block > h6 {
    font-size: 1.625em;
    font-weight: 400;
    color: var(--plashka-txt-clr);
  }
  
  .sticky-info__txt-block > p {
    font-size: 0.9375em;
    font-weight: 400;
    color: var(--plashka-txt-clr);
  }
  
  .sticky-info__switcher-item {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-wrap: break-word;
    margin-left: 0.9375rem;
    margin-right: 0.9375rem;
    width: calc(20% - 1.875rem);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  
  .sticky-info__link-item {
    margin-right: 1rem;
    font-size: 1em;
    background-color: var(--btn-goto-bcgck-clr);
    color: var(--default-white) !important;
    border: 0.0625rem solid var(--btn-goto-bcgck-clr);

    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.625rem 2.75rem;
    border-radius: 1.5625rem;
    border: none;
    text-decoration: none;
    -webkit-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
    -webkit-transition-property: background, color, border;
    -o-transition-property: background, color, border;
    transition-property: background, color, border;
  }
  
  .sticky-info__link-item:hover {
    background-color: var(--btn-or-hover);
    color: var(--btn-or-hover-txt) !important;
    border: 0.0625rem solid var(--btn-or-hover-brd);
  }
  
  .sticky-info__close-btn {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
    font-size: 1em;
    background-color: var(--btn-cls-bcgck-clr);
    color: var(--default-gray);
    border: 0.0625rem solid var(--btn-cls-brd-clr);
  }
  
  .sticky-info__close-btn .close-icon {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: 1.5rem;
  }
  
  .sticky-info__close-btn .close-icon::before {
    content: '';
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 0.75rem;
    height: 0.8125rem;
    background-image: url("../img/icons/close-icon.svg");
    background-repeat: no-repeat;
  }

  @media screen and (max-width: 48rem) {
    .sticky-info__event-name {
      width: calc(66.66667% - 1.875rem);
    }
  
    .sticky-info__txt-block {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
    }
  
    .sticky-info__txt-block > h1 {
      font-size: 1.25em;
    }
  
    .sticky-info__txt-block > h2 {
      font-size: 1.25em;
    }
  
    .sticky-info__txt-block > h3 {
      font-size: 1.25em;
    }
  
    .sticky-info__txt-block > h4 {
      font-size: 1.25em;
    }
  
    .sticky-info__txt-block > h5 {
      font-size: 1.25em;
    }
  
    .sticky-info__txt-block > h6 {
      font-size: 1.25em;
    }
  
    .sticky-info__txt-block > p {
      font-size: 0.875em;
    }
  
    .sticky-info__switcher-item {
      width: calc(33.33333% - 1.875rem);
    }
  
    .sticky-info__link-item {
      padding: 0.3125rem 0.75rem;
      font-size: 0.875em;
    }
  
    .sticky-info__close-btn {
      padding: 0.3125rem 0.75rem;
      font-size: 0.875em;
    }
  
    .sticky-info__close-btn .close-icon {
      margin-left: 0.75rem;
    }
  }
  
  @media screen and (max-width: 36rem) {
    .sticky-info__event-name {
      width: calc(100% - 1.875rem);
    }
  
    .sticky-info__switcher-item {
      width: calc(100% - 1.875rem);
    }
  
    .sticky-info__switcher-item {
      margin-top: 1.25rem;
    }
  }