#slider_mask {
  background-position: center;
  background-repeat: no-repeat;
  height: 440px;
  background-image: url('loading.gif');
}

/* Events slider starts */

.slider-section .slick-footer,
.slider-section .slick-header,
.slider-section .slick-slider {
    background: #fff;
}

.slider-section {
  position: relative;
  margin-bottom: 70px;
  margin-top: 45px;
  display: none;
}

.slider-section h3.event-category {
    font-size: 18px !important;
    font-weight: bold  !important;
    text-transform: uppercase;
    color: #fff;
}

.slider-section h3.event-title {
  font-size: 20px  !important;
  font-weight: 400  !important;
  text-transform: none;
  color: #fff;
  font-family: NeoTechStd-light!important;
}

.slider-section button:focus {
  outline: 0;
}

.slider-section .slide {
  outline: 0;
}

.slider-section .btn {
  background-color: #4bbb87;
  color: #fff;
  border-radius: 2px;
  padding: 10px 35px;
  white-space: nowrap;
  text-transform: lowercase;
}

.slider-section .btn:hover {
  color: #fff;
}

.slider-section .btn:focus {
  outline : 0;
  box-shadow: none;
}

/* carousel-logo overflow */

.slider-section .slick-list {
  overflow: hidden;
}


/* carousel-logo hover hand */

.slider-section .slick-list.draggable {
  cursor: hand;
}

.slider-section .slider-image {
  opacity: 50%;
  height: 273px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 25px;
  margin-right: 0;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  width: 614px;
  padding: 50px;
  float: left;
  position: relative;
}

.slider-section .slider-image .row {
  display: none;
}

.slider-section .slider-image.slick-active .row {
  display: flex;
}


.slider-section .slider-image::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background:linear-gradient(360deg, #000000 -8.28%, rgba(0, 0, 0, 0) 54.48%);
border-radius: 2px;
}

.slider-section .slider-image p {
  color: #fff;
}

.slider-section .slick-active.slider-image {
  opacity: 100%;
  height: 323px;
  width: 614px;
  margin: 0;
}

.slider-section .slick-prev {
  position: absolute;
  font-size: 0;
  bottom: -50px;
  border: 0;
  top:0;
  background-color: transparent;
  cursor: pointer;
  color: var(--grey-light);
  z-index: 1;
  width: 22%;
  height: 100%;
}

.slider-section .slick-next {
  position: absolute;
  font-size: 0;
  right: 0;
  top: 0;
  bottom: -50px;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  color: var(--grey-light);
  z-index: 1;
  width: 22%;
  height: 100%;
}


@media only screen and (min-width: 1200px) {
  .slider-section {
    max-width: 1140px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media only screen and (min-width: 576px) {
.form-inline label {
  justify-content: left!important;
}
}

@media only screen and (max-width: 991px) {
  .slider-section .slick-active.slider-image {
      height: 350px;
      width: 600px;
  }
  .slider-section .slider-image {
      height: 300px;
      margin-top: 25px;
      width: 600px;
  }
}

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

  .footer-height {
    height: 990px;
  }

  .slider-section .slider-image {
      height: 260px;
      width: 500px;
      margin-top: 20px;
  }
  .slider-section .slick-active.slider-image {
      height: 300px;
      width: 500px;
  }
  .slider-section .slick-prev,
  .slider-section .slick-next {
      width: 15%;
  }
  .post-type-archive-scube_events .form-field{
    width: 100%;
    display: inline-block;
  }
  .post-type-archive-scube_events .form-field .bootstrap-select{
    width: 100% !important;
  }
}

@media only screen and (max-width: 500px) {
  .slider-section .slider-image {
      width: 400px;
  }
}

@media only screen and (max-width: 600px) {
  .slider-section .slick-active.slider-image {
      width: 400px;
  }
}

@media only screen and (max-width: 415px) {
  .slider-section .slick-active.slider-image {
      width: 300px;
  }
  .slider-section .slider-image {
      width: 300px;
  }
  .slider-section h3 {
      font-size: 24px;
  }
}


/* Events slider ends */

@media (max-width: 800px) {
  .form-inline input {
      margin: 10px 0;
  }
  .form-inline {
      flex-direction: column;
      align-items: stretch;
  }
}

@media screen and (min-width: 768px) {
  .events-filter .filter:last-child {
      border-right: none;
  }
  .event-form .col-md-2 {
      padding-left: 0px !important;
  }
}

@media screen and (max-width: 767px) {
  .event-featured {
      background-position: 80%;
  }
  .event-form .wpcf7-form .wpcf7-text {
      margin-bottom: 10px;
  }
  .events-filter .filter:after {
      width: 100.5% !important;
  }
  .events-filter .filter {
      border-width: 1px 1px 0px 1px !important;
  }
}
