/*------------------------------------*\
    ACM Blog Slider CSS
\*------------------------------------*/
.acm-blog-slider-container {
  width: 100%;
  background-color: #fff;
  padding: 60px 0 160px;
}

.acm-blog-slider-content {
  max-width: 1590px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: normal;
}

.acm-blog-slider-headline {
  width: 100%;
  margin: 0 auto;
  max-width: 1240px;
}

.acm-blog-slider-headline h2 {
  font-size: 42px;
  line-height: 51px;
  font-weight: 900;
  color: #000000;
  text-align: left;
  letter-spacing: 0;
  /* margin: 0 auto 0 4%; */
  width: 90%;
}

.acm-blog-slider-description {
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: #000000;
  text-align: left;
  letter-spacing: 0.36px;
  width: 100%;
  margin: 40px auto 60px auto;
  max-width: 1240px;
}

.acm-blog-slider-block {
  margin: 1%;
  background: #000;
  overflow: hidden;
}

.acm-blog-slider-text-block {
  padding: 0 40px 30px;
}

.acm-blog-slider-block-padding {
  padding: 10px;
  background: #E6EAEE;
  border: 1px solid #D1D6DA;
}

.acm-blog-slider-image {
  height: 366px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0px 12px 32px #00000029;
  margin: 0 0 20px 0;
}

.acm-blog-slider-title {
  color: #fff;
  font-size: 26px;
  line-height: 31px;
  height: 40px;
  font-weight: 500;
  letter-spacing: 0px;
  margin: 40px 0 28px 0;
}

.acm-blog-slider-category{
  color: #fff;
  font-size: 20px;
  line-height: 1.1em;
  margin: 34px 0 20px 0;
}

.acm-blog-slider-bio {
  color: #fff;
  font-size: 14px;
  line-height: 1.7em;
  width: 90%;
  min-height: 220px;
  padding-bottom: 20px;
}

.acm-blog-slider-text-block a {
  font-size: 16px;
}
.acm-blog-slider-text-block a button {
  margin: 0;
  padding: 1rem 1.2rem;
}

.acm-blog-slider-text-block a button {
  margin: 0;
  padding: 1rem 1.2rem;
  border: 1px #fff solid;
	color: #fff;
	transition: all .5s ease;
}

.acm-blog-slider-text-block a button:hover {
  margin: 0;
  padding: 1rem 1.7rem;
  border: 1px var(--light-gray) solid;
	color: var(--light-gray);
}

.acm-cta-blog-slider {
  background-color: #000;
  border: 1px solid #000 !important;
  border-radius: 0;
  font-size: 18px;
  font-weight: 500 !important;
  line-height: 26px;
  height: 65px;
  letter-spacing: 0.36px;
  color: #fff;
  text-align: left;
  margin: 0;
  padding: 20px 22px 0 22px;
  position: relative;
  overflow: hidden;
}
.acm-cta-blog-slider:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: darkorange;
	z-index: -1;
	transform: translateX(-100%);
	transition: all 1s;
}
.acm-cta-blog-slider:hover {
	border-radius: 0;
	font-weight: 500;
	border: 1px darkorange solid !important;
	z-index: 1;
}

.acm-cta-blog-slider:hover a {
  color: #000;
}

.acm-cta-blog-slider:hover .acm-arrow-icon {
  filter: brightness(1) invert(1);
}

.acm-cta-blog-slider:hover:before {
	transform: translateX(0);
	z-index: -1;
}

.acm-arrow-icon {
  margin-left:15px; 
  content: url(/wp-content/themes/anvil/partials/acm-blog-slider/WhiteArrow.svg);
  float: right;
  top: 5px;
  position: relative;
}

.acm-blog-slider-cta {
  width: 29.3%;
  margin: 0 3% 0 auto;
}

.acm-blog-slider-cta-1 a {
  color: #fff;
}

/* Slider */
.splide__slide.is-visible {
  opacity: 1;
  transition: all .5s ease;
}

.splide__slide:not(.is-visible){
  opacity: 0.2;
  transition: all .5s ease;
}
.splide__arrow--prev {
  left: 40%!important;
}
.splide__arrow--next {
  right: 40%!important;
}
.splide__arrow {
  top: 105%!important;
}
.splide__pagination {
  bottom: -10%!important;
}

.splide__arrow {
  background: transparent!important;
  border-radius: 0!important;
}

.splide__arrow svg {
  fill: #000!important;
  height: 1em!important;
  width: 1em!important;
}

.splide:not(.is-overflow) .splide__pagination{
  display: flex!important;
}

.splide__pagination__page.is-active{
  background: #000 !important;
}

.splide__pagination__page{
  background: #000 !important;
}

.splide__pagination {
  margin: 0 0 -8px 0 !important;
}

/* Slider */


@media screen and (min-width: 1241px) {

}

@media screen and (max-width: 1240px) and (min-width: 1025px) {

}

@media screen and (max-width: 1024px) and (min-width: 769px) {
  .splide__arrow--prev{
    left: 35%!important;
  }
  .splide__arrow--next{
    right: 35%!important;
  }  
}

@media screen and (max-width: 768px) and (min-width: 481px) {
  .acm-blog-slider-title{
    font-size: 21px;
  }
}

@media screen and (max-width: 480px) {
  .acm-blog-slider-container{
    padding: 60px 30px 140px;
  }
  .splide__arrow{
    top: 100%!important;
  }
}