.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-inner {
  display: flex;
}
.carousel-item {
  min-width: 100%;
  position: relative;
}
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: none;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-control-prev,
  .carousel-control-next {
    transition: none;
  }
}
.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}
.carousel-control-prev {
  left: 0;
}
.carousel-control-next {
  right: 0;
}
.carousel-indicators {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 0;
}

.carousel-item img{
	max-width: none;
	height: 100%;
    min-width: 100%;
    width: 100%;
    object-fit: cover;
	-webkit-animation: upDown2 30s ease-out;
    animation: upDown2 30s ease-out;
    animation-iteration-count:infinite;
    animation-fill-mode:forwards;
}
.carousel-indicators{
	bottom: 30px;
}
.carousel-control{
	height: 40px;
    width: 40px;
    opacity: 1;
    border-radius: 100px;
    top: 50%;
    z-index: 5;
    cursor: pointer;
    display: none;
    transform: translateY(-50%);
    background: url(../images/carousel-right.svg) no-repeat center center/80% #3f73cf !important;
}
.carousel-control:hover{
	opacity: 1;
    background: url(../images/carousel-right.svg) no-repeat center center/80% #2e9cd4 !important;
}
.carousel-control:focus{
	opacity: 1;
}
.carousel-control.carousel-control-next{
	right: 1%;
}
.carousel-control.carousel-control-prev{
	left: 1%;
	right: auto;
	transform: rotate(180deg) translateY(50%);
}
.carousel-inner>.carousel-item{
	height: 550px;
	overflow: hidden;
}
.carousel-inner>.carousel-item:before{
	/*content: '';*/
	width: 100%;
	height: 100%;
	background: rgba(29,29,29,.37);
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 3;
}
.carousel-indicators button{
	width: 24px;
	height: 6px;
	border-radius: 0px;
	margin: 0px 4px;
	background: #fff;
	border: none;
	cursor: pointer;
}
.carousel-indicators .active{
	background: #f55120;
	margin: 0px 4px;
	width: 24px;
	height: 6px;
	border-radius: 0px;
}
#myCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@-webkit-keyframes upDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-30px);
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -o-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
    }
}
@keyframes upDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-30px);
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -o-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
    }
}

@-webkit-keyframes upDown2 {
    0% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}
@keyframes upDown2 {
    0% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}
.banner {
    width: 100%;
    height: 100%;
}
.banner:before {
    content: ' ';
    position: absolute;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 100%;
    background: #18417a;
    opacity: .3;
}
.bannertext {
    z-index: 200;
    position: absolute;
    top: 50%;
    left: 0px;
    padding: 0px 10%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    margin-top: 0px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bannertext h1,
.bannertext h2{
    font-size: 50px;
    color: #fff;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,.2);
    position: relative;
}
.bannertext .hot-sale{
	position: absolute;
	width: 80px;
	height: 40px;
	color: #fff;
	font-style: italic;
	background-image: url(../images/hot.png);
    background-image: -webkit-image-set(url(../images/hot.webp) 1x);
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
	display: inline-flex;
	font-size: 14px;
	align-items: flex-end;
	justify-content: center;
	padding-top: 2px;
	line-height: 55px;
	right: -20px;
	top: -25px;
}
.bannertext span {
    font-size: 50px;
    color: #fff;
    line-height: 60px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
    display: block;
}

.bannertext h3 {
    font-size: 22px;
    color: #fff;
    line-height: 40px;
    margin-bottom: 20px;
    text-align: center;
    white-space: break-spaces;
}
.bannertext p {
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 30px;
}
.bannertext a {
    font-size: 17px;
    color: #ffffff;
    background: #0967ad;
    padding: 10px 25px;
    display: inline-block;
    border: 1px solid #0967ad;
    border-radius: 3px;
    width: auto;
}
.bannertext a:hover {
    color: #0967ad;
    background: #ffffff;
    border: 1px solid #0967ad;
}

.carousel .thanksgiving-banner .banner:before{
	background: none;
}
.carousel .thanksgiving-banner .bannertext p {
    font-size: 20px;
    color: #C81D31;
    line-height: 1.6;
}
.carousel .thanksgiving-banner .bannertext h2 {
    color: #C81D31;
    margin-bottom: 25px;
}
.carousel .thanksgiving-banner .bannertext a{
    color: #fff;
    background: #C81D31;
    border: none;
    border-radius: 200px;
    padding: 9px 35px;
}
.carousel .thanksgiving-banner .bannertext a:hover{
    color: #fff;
    background: #f53a50;
    border: none;
}



@media screen and (max-width:1580px) {
	.bannertext h1,
	.bannertext h2 {
		font-size: 38px;
		margin-bottom: 30px;
	}
	.bannertext span {
		font-size: 38px;
		margin-bottom: 10px;
	}
	.bannertext h3 {
		font-size: 25px;
		margin-bottom: 30px;
	}
	.bannertext a {
		font-size: 18px;
		padding: 10px 30px;
	}
}


@media screen and (max-width:1000px) {
	.bannertext h1,
	.bannertext h2 {
		font-size: 24px;
		margin-bottom: 40px;
	}
	.bannertext span {
		font-size: 17px;
		margin-bottom: 0px;
		line-height: 20px;
	}
	.bannertext h3 {
		font-size: 15px;
		line-height: 20px;
		margin-bottom: 10px;
	}
	.bannertext a {
		font-size: 14px;
		padding: 6px 22px;
		border: 1px solid #0967ad;
	}
	.bannertext a:hover {
		border: 1px solid #ffe596;
	}
	.bannertext .hot-sale {
		top: -35px;
	}
}

@media screen and (max-width:600px) {
	.bannertext h1,
	.bannertext h2 {
		word-break: break-all;
		white-space: pre-wrap;
	}
}