/*@import url("https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600,700,800");*/

* {
  box-sizing: border-box;
}

body {
    /*background-color: #FFE53B;*/
    /*background-image: linear-gradient(147deg, #FFE53B 0%, #fd3838 74%);*/
    /*min-height: 100vh;*/
    font-family: "aileronregular", sans-serif;
    /*display: flex;*/
}
.header__height {
    min-height: 100vh;
    height: 100vh;
}
.blog-slider {
  width: 95%;
  position: relative;
  max-width: 80rem;
  margin: auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 2.5rem;
  border-radius: 2.5rem;
  height: 40rem;
  transition: all 0.3s;

}
.blog-slider-padding-top{
    padding-top: 12rem;
}
/*Added in for custom arrows*/
.swiper-button-next, .swiper-button-prev {
    width: 5rem;
    height: 5rem;
    background-image: none;
    /* background-color: #e4e4e4;*/
    background-color: #ae0707;
    z-index: 2;
    cursor: pointer;
    top: 40%;
}

    .swiper-button-next i, .swiper-button-prev i {
        position: relative;
        left: 50%;
        top: 50%;
        /*color: #21272b;*/
        color: #fff;
        transform: translate(-50%,-50%);
        transition: all .3s ease-in-out;

    }

.blog-slider__item {
  display: flex;
  align-items: center;
}

.blog-slider__item.swiper-slide-active .blog-slider__img img {
  opacity: 1;
  transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > * {
  opacity: 1;
  transform: none;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
  transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
  transition-delay: 0.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
  transition-delay: 0.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
  transition-delay: 0.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
  transition-delay: 0.7s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
  transition-delay: 0.8s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
  transition-delay: 0.9s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
  transition-delay: 1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
  transition-delay: 1.1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
  transition-delay: 1.2s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
  transition-delay: 1.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
  transition-delay: 1.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
  transition-delay: 1.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
  transition-delay: 1.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
  transition-delay: 1.7s;
}
.blog-slider__img {
    width: 300px;
    flex-shrink: 0;
    height: 200px;
    background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
    box-shadow: 4px 13px 30px 1px rgba(252, 56, 56, 0.2);
    border-radius: 2rem;
    transform: translateX(-80px);
    overflow: hidden;
    
}
    .blog-slider__img:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);*/ /*dah*/
        border-radius: 2rem;
        opacity: 0.8;
        border-style: solid; /*Added*/
        border-width: medium; /*Added*/
    }
.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  border-radius: 2rem;
  transition: all 0.3s;
 
}

.blog-slider__content {
  padding-right: 2.5rem;
}

.blog-slider__content > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.4s;
}
.blog-slider__code {
  color: #7b7992;
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 500;
}
.blog-slider__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0d0925;
  margin-bottom: 1rem;
}
.blog-slider__text {
  color: #4e4a67;
  margin-bottom: 3rem;
  line-height: 1.5em;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 2rem;
}
.blog-slider__button {
  display: inline-flex;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  padding: 1rem 3.5rem;
  border-radius: 5rem;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
  text-decoration: none;
  font-weight: 400;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}

.blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
  bottom: 1rem;
  left: 0;
  width: 100%;
}
.blog-slider__pagination {
    position: absolute;
    z-index: 21;
    right: 2rem;
    width: 1.1rem !important;
    text-align: center;
    /*left: auto !important;*/
    /*top: 80%;*/
    bottom: auto !important;
    transform: translateY(-50%);
    /*margin: 0 auto;*/
    padding-top: 0px;
}

.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: .8rem 0;
}

.blog-slider__pagination .swiper-pagination-bullet {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  border-radius: 1rem;
  background: #062744;
  opacity: 0.2;
  transition: all 0.3s;
}
.blog-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #fd3838;
  height: 3rem;
  box-shadow: 0px 0px 20px rgba(252, 56, 56, 0.3);
}


/*Overrides (initially for all - but see other media rules below)*/
/*@media screen and (max-width: 10000px) {*/
    .blog-slider {
        /*max-height: 56rem;*/
        /*height: 50rem;*//*dah rules overides above blog-slider*/
        height:auto;
        /*margin: 180px auto;*/ /*dah*/
    }
    .blog-slider__content {
        /*margin-top: -80px;*/
        margin-top: -8rem;
        text-align: center;
        padding: 0 3rem;
    }
    .blog-slider__item {
        flex-direction: column;
    }
.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    /*margin: 0 .5rem;*/
    margin: 0 .5rem;
    margin-top: 1rem;
}
   .blog-slider__pagination .swiper-pagination-bullet-active {
        height: 1.1rem;
        width: 3rem;
    }
    .blog-slider__img {
        /*transform: translateY(-50%);*/
        transform: translateY(-40%);
        width: 90%;
    }
    .blog-slider__pagination {
        transform: translateX(-50%);
        left: 50% !important;
        /*top: 180px;*/
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
/*}*/

/*For large screen TV etc 1900 10-2022*/
@media only screen and (min-width: 1500px) {
    .blog-slider {
       max-width: 100rem;
    }
    .blog-slider-padding-top {
        padding-top: 30rem;
    }
}

/*Iphone 11 414 Iphone 12 390*/
/*Iphone 11*/
    @media screen and (min-width: 391px) and (max-width: 420px) {
        .blog-slider {
            /*min-height: 450px;*/
            max-height: 56rem;
            height: 50rem;
            /*height: auto;*/
            /*margin: 180px auto;*/ /*dah*/
        }

        .blog-slider__text {
            color: #4e4a67;
            /*margin-bottom: 30px;*/
            margin-bottom: 2rem;
            line-height: 1.5em;
            padding-left: 3rem;
            padding-right: 3rem;
            font-size: 1.4rem;
        }

        .blog-slider__title {
            font-size: 2rem;
        }

        .blog-slider__img {
            width: 95%;
        }

        .blog-slider__content {
            padding: 0;
        }

        .swiper-button-next, .swiper-button-prev {
            width: 4rem;
            height: 3rem;
            top: 50%;
        }
    }

    /*Iphpone 12  390 Galaxy S10 360*/
    @media screen and (min-width: 360px) and (max-width: 390px) {

        .blog-slider {
            /*min-height: 450px;*/
            max-height: 56rem;
            height: 50rem;
            /*height: auto;*/
            /*margin: 180px auto;*/ /*dah*/
        }

        .blog-slider__text {
            color: #4e4a67;
            /*margin-bottom: 30px;*/
            margin-bottom: 2rem;
            line-height: 1.5em;
            padding-left: 3rem;
            padding-right: 3rem;
            font-size: 1.4rem;
        }

        .blog-slider__title {
            font-size: 2rem;
        }

        .blog-slider__content {
            padding: 0;
        }

        .swiper-button-next, .swiper-button-prev {
            width: 4rem;
            height: 3rem;
            top: 50%;
        }
    }
    /*Iphone SE IPhone5 320 */
    @media only screen and (min-width: 321px) and (max-width:359px) {

        .header__height {
            min-height: 150vh;
            height: 150vh;
        }

        .blog-slider {
            /*min-height: 450px;*/
            max-height: 66rem;
            height: 60rem;
            /*height: auto;*/
            /*margin: 180px auto;*/ /*dah*/
            background-color: #d5d1d1;
        }

        .blog-slider__title {
            font-size: 1.8rem;
        }

        .blog-slider__text {
            color: #4e4a67;
            /*margin-bottom: 30px;*/
            margin-bottom: 2rem;
            line-height: 1.5em;
            padding-left: 3rem;
            padding-right: 3rem;
            font-size: 1.4rem;
        }

        .blog-slider__img {
            width: 95%;
        }

        .blog-slider__content {
            padding: 0;
        }

        .swiper-button-next, .swiper-button-prev {
            width: 4rem;
            height: 3rem;
            top: 35%;
        }
    }
    /*Iphone 5 */
    @media only screen and (max-width: 320px) {
        .container__padding {
            margin-top: 60rem;
        }

        .header__height {
            min-height: 150vh;
            height: 150vh;
        }

        .blog-slider {
            /*min-height: 450px;*/
            max-height: 66rem;
            height: 64rem; /*bit for space than 60rem*/
            /*height: auto;*/
            /*margin: 180px auto;*/ /*dah*/
            background-color: #d5d1d1;
        }

        .blog-slider__title {
            font-size: 1.8rem;
        }

        .blog-slider__text {
            color: #4e4a67;
            /*margin-bottom: 30px;*/
            margin-bottom: 2rem;
            line-height: 1.5em;
            padding-left: 3rem;
            padding-right: 3rem;
            font-size: 1.4rem;
        }

        .blog-slider__img {
            width: 95%;
        }

        .blog-slider__content {
            padding: 0;
        }

        .swiper-button-next, .swiper-button-prev {
            width: 4rem;
            height: 3rem;
            top: 35%;
        }
    }
    /*For Ipad air or something similar in portrait*/
    @media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation : portrait) {
        .blog-slider {
            /*min-height: 450px;*/
            max-height: 76rem;
            height: 70rem;
            /*height: auto;*/
            /*margin: 180px auto;*/ /*dah*/
        }

        .blog-slider__text {
            color: #4e4a67;
            /*margin-bottom: 30px;*/
            margin-bottom: 2rem;
            line-height: 1.5em;
            padding-left: 4rem;
            padding-right: 4rem;
            font-size: 2.4rem;
        }

        .blog-slider__img {
            width: 95%;
        }

        .blog-slider__title {
            font-size: 3.4rem;
        }

        .blog-slider__button {
            font-size: 2.4rem;
        }

        .blog-slider__content {
            padding: 0;
        }
    }