.subscribe-box {
  width: 100%;
  max-width: 745px;
  margin: 0 auto;

  form {
    width: 100%;
    height: 50px;
    float: left;
    background: $white;
    -webkit-transition: all .25s ease-out;
    -moz-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
    position: relative;
    padding: 0 50px 0 0;
    margin: 0;
    border-radius: 360px;

    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="color"],
    .uneditable-input {
      height: 50px;
      font-family: $font-family-gotham;
      font-weight: $font-weight-bold;
      font-size: $font-size-18;
      color: $black;
      line-height: $line-height-24;
      background: none;
      border: none;
      box-shadow: $box-shadow-none;
      -webkit-transition: all .25s ease-out;
      -moz-transition: all .25s ease-out;
      -o-transition: all .25s ease-out;
      transition: all .25s ease-out;
      padding: 10px 35px;
      margin: 0;
    }

    .btn,
    .button,
    input[type="button"],
    input[type="submit"] {
      min-width: inherit;
      width: 50px;
      height: 50px;
      float: right;
      background: $secondary-color url(/fileadmin/user_upload/Clickdummy/drayton_manor/paper-plane.png) no-repeat center center;
      background-size: 30px auto;
      box-shadow: $box-shadow-none;
      border: none;
      text-indent: -9999px;
      position: absolute;
      top: 0;
      right: 0;
      z-index: 1;
      padding: 0;
      margin: 0;
      border-radius: 360px;

      &:hover,
      &:focus,
      &:active,
      &:active:focus,
      &.active,
      &.active:focus {
        background: $secondary-color url(/fileadmin/user_upload/Clickdummy/drayton_manor/paper-plane.png) no-repeat center center;
        background-size: 30px auto;
        box-shadow: 0 0 10px;
      }
    }
  }

  &.btn-disabled {
    form {

      .btn,
      .button,
      input[type="button"],
      input[type="submit"] {
        cursor: not-allowed;
        pointer-events: none;
        opacity: 1;
      }
    }
  }
}

.frame-type-news_newsliststicky {
  .news {
    .card {
   
    }

    .owl-carousel {
      .card {

        .content {
          @include media-breakpoint-down(md) {
            flex: 0 0 0%;
            padding-top: 25px;
            padding-bottom: 35px;
          }
        }
      }
    }
  }
}


.frame-type-news_newsdetail {
  .news.news-single {
    .hero-inner.hero-main.news-detail {
      .figure {
        @include media-breakpoint-down(lg) {
          border-radius: 0px 0px 0% 0% / 0 0 0% 0%;
          height: auto;
          position: static;

          img {
            position: static;
            transform: translate(0px, 0px);
            width: 100%;
            height: auto;
          }
        }
      }
      @include media-breakpoint-down (lg) {
        min-height: auto;
      }
      .hero-cont {
        @include media-breakpoint-down(lg) {
          padding-top: 30px;

          header {
            padding: 0 0 0px 0;

            h1 {
              font-size: 2.5rem !important;
              color: #000000;
            }
          }
        }
      }
    }

    .news {
      .news-body {
        @include media-breakpoint-down(lg) {
          padding-top: 20px !important;
        }
      }

      .news-custom-content-section {
        .row {
          .ce-textpic {

            &.ce-right,
            &.ce-left {
              @include media-breakpoint-down(md) {
                display: flex;
                flex-direction: column;

                .ce-gallery {
                  margin-left: 0px;
                  margin-bottom: 25px;
                }
              }

              @include media-breakpoint-down(sm) {
                .ce-gallery {
                  .ce-row {

                    .ce-column,
                    figure.image,
                    img.image-embed-item {
                      width: 100%;
                    }
                  }
                }
              }
            }
          }

          .ce-image {
            &.ce-center {
              .ce-gallery {
                .ce-row {
                  @include media-breakpoint-down(xl) {
                    --bs-gutter-y: 20px;
                    display: flex;
                    flex-wrap: wrap;
                    margin-top: calc(-1 * var(--bs-gutter-y));

                    .ce-column {
                      margin-right: 0px;
                      margin-top: var(--bs-gutter-y);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

@include media-breakpoint-down(sm) {

  .ce-image.ce-center.ce-above img.image-embed-item,
  .ce-image.ce-center.ce-above figure.image,
  .ce-image.ce-center.ce-above .ce-column {
    width: 100%;
    height: auto;
  }
}