.top-banner{
  color:#fff;
  padding: 0.5rem 0;
}
.top-banner .content{
  display: flex;
  align-items: center;
  position: relative;
  padding: 15px 0;
}
.top-banner .cta{
  text-decoration: none;
  position: absolute;
  padding: 5px 16px 5px;
  right: 0;
  max-width: 185px;
  text-align: center;
}
#countdown ul{
  list-style-type: none;
  margin-bottom: 0;
  width:auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  margin-right: 0;
}
#countdown ul li{
  display: inline-block;
  vertical-align: middle;
  position: relative;
  margin: 0 2%;
  text-align: center;
}
#countdown li span{
  display: block;
  text-align: center;
}
#template3 .card-text{
  width: 34%;
}
.countdown__label{
  max-width: 15%;
}
#countdown p, #countdown ul{
  display: inline-block;
  vertical-align: middle;    
}
#countdown ul li span.dots-mark{
  position: absolute;
  left: -12px;
  color:#fff;
}
#countdown{
  margin-left: 3%;
  width: 63%;
  display: flex;
  align-items: center;
}
#countdown li span > span {
  display: inline-block;
  vertical-align: middle;
}
#countdown li span span.el-number {
  margin-bottom: 4px;
  margin: 0 5px;
  width: 27px;
  border-radius: 3px;
  font-weight: 500;
}
#template2 .cart-text{
  width: calc(100% - 200px);
}
#template1 .wr-img{
  width: auto;
  height: 56px;
  margin-right: 30px;
  max-width: 20%;
}
#template1 img{
  width: auto;
  max-height: 100%;
}
#template1 .card-text{
  width: 80%;
  margin-right: 200px;
}
#template2 .card-text{
  width: calc(100% - 205px);
}
#template4 .container{
  height: 100%;
}
/* .top-banner{
 display: none;
} */
.top-banner:nth-of-type(1) {
  display: block;
}
.error404 .top-banner{
  display: none;
}
.top-banner#template4 {
  position: relative;
  /* height: 100px; */
  padding: 0;
}
.top-banner#template4 img {
  width: 100%;
  display: none;
  /* height: 100%;
  object-fit: cover; */
}
.top-banner#template4 img.desktop {
  display: block;
}
.top-banner#template4 .outer {
  position: absolute; 
  top: 0; 
  width: 100%;
  height: 100%;
}
.top-banner#template4 .content {
  justify-content: flex-end;
  height: 100%;
}
/* responsive top banner */

.popup-banner-close.popup-close {
  width: 20px;
  height: 20px;
}

@media screen and (max-width : 1279px){
  #template3 .card-text {
    width: 28%;
  }
  #template3 .cta{
    right: 0;
  }
}

@media screen and (max-width : 1100px){
  #template3 .card-text {
    width: 26%;
  }
  #countdown {
    margin-left: 2%;
    width: 71%;
  }
  #countdown ul{
    margin-right: 20%;
  }
  .top-banner .cta{
    padding: 5px 10px 5px;
    width: 150px;
  }
}

@media screen and (max-width : 1024px){
  .countdown__label {
    max-width: unset;
  }
  #template3 .content {
    padding-bottom: 1.3rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  #countdown ul{
    padding-left: 0;
    width: 100% !important;
    margin-right: 0;
  }
  .top-banner .cta{
    right: 24px;
  }
  #template2 .card-text{
    width: calc(100% - 146px);
  }
  #countdown {
    margin-left: 6%;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
  }
  .countdown__label{
    width: 100%;
    margin-left: 13px;
  }
  #countdown ul li:nth-of-type(1),
  #countdown ul li:nth-of-type(2){
    margin-bottom: 0;
  }
  #countdown ul li:nth-of-type(2){
    margin-right: 0;
  }
  #countdown ul li:nth-of-type(3) .dots-mark{
    display: none;
  }
  #countdown ul li span.dots-mark{
    left: -6px;
  }
  #countdown ul li:nth-of-type(1), #countdown ul li:nth-of-type(2) {
    margin-bottom: 0;
  }
  .countdown__label{
    margin: 0 0 0.5rem;
    text-align: center;
  }
  #template3 .cta{
    position: unset;
  }
  #template3 .card-text {
    width: 100%;
    margin-bottom: 15px;
  }
  #countdown {
    margin-left: 0;
    display: block;
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
  }
  #countdown ul{
    color: #ffffff;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #countdown ul li:nth-of-type(2){
    margin-right: 5px;
  }
  #template3 .card-text p{
      margin: 0.6rem 0;
  }
  #countdown ul li{
    margin: 0 8px;
  }
  #countdown ul li:nth-of-type(3) .dots-mark{
    display: block;
  }
  #countdown:after {
    position: absolute;
    content: '';
    display: block;
    width: calc(100% + 32px);
    height: 1px;
    left: -16px;
    bottom: -12px;
    background: #fff;
  }
}


@media screen and (max-width : 767px){
  .top-banner#template1 .content{
    /* flex-wrap: wrap; */
    justify-content: center;
    padding: 0.5rem 0 0.5rem;
  }
  #template1 img {
    width: auto;
    height: auto;
  }
  #template1 .wr-img{
    margin-right: 20px;
/*     display: none; */
  }
  #template1 .card-text p {
    margin: 0.6rem 0;
  }
  #template1 .card-text {
    width: calc(80% - 30px);
    margin-right: 20px;
  }
  .top-banner#template1 .cta{
    position: unset;
    margin-top:1rem;
    max-width: unset;
  }
  .top-banner .card-text {
    font-size: 15px;
  }
  .top-banner .card-text p{
    margin: 0.6rem
  }
  .top-banner .cta {
    right: 0;
    font-size: 15px;
  }
  #template2 .card-text {
    width: 100%;
}
  #template2 .content{
    flex-wrap: wrap;
    justify-content: center;
  }
  .top-banner#template2 .cta{
    position: unset;
    max-width: unset;
  }
  .top-banner{
    padding: 1rem 0 1rem;
  }
  .popup-banner-close.popup-close {
    width: 15px;
    height: 15px;
    top: 5%;
    right: 1%;
  }
}
@media only screen and (max-width: 480px) {
  .top-banner .card-text {
    width: 100%;
    font-size: 14px;
  }
  .top-banner .cta {
    font-size: 14px;
  }
  .top-banner#template4 .cta {
    width: 100px;
  }
}

@media screen and (max-width: 479px){
  #countdown ul{
    width: 100% !important;
  }
  #countdown ul li {
    margin: 0 5px;
  }
}

@media screen and (max-width: 414px){
  #countdown li span span.el-number {
    margin: 0 3.5px;
    width: 26px;
  }
}

@media screen and (max-width: 390px) {
  .top-banner#template4 .cta {
    width: 90px;
    font-size: 12px;
    padding: 5px 5px;
  }
}

@media screen and (max-width: 397px){
  #countdown ul li {
    margin: 0 4px;
  }
  #countdown ul li span.dots-mark{
    left: -4px;
  }
}

@media screen and (max-width: 375px){
  #countdown ul li span.dots-mark{
    left: -4px;
  }
  #countdown ul li {
    margin: 0 2px;
  }
}
@media screen and (max-width: 350px) {
  .top-banner#template4 .cta {
    width: 80px;
    font-size: 12px;
    padding: 3px 5px;
    border-radius: 8px !important;
  }
}