.trip-result-card {
  position: relative;
  --overflow: hidden;
}

.custom-ribbon {
  position: absolute;
  top: 2px;
  right: 15%;
  width: 60px;
  height: 90px;
  background-color: #2a3b62;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
 
  box-shadow:
    inset 0 8px 6px rgba(0, 0, 0, 0.2),   
    0 2px 4px rgba(0, 0, 0, 0.25);      
}


.custom-ribbon::before,
.custom-ribbon::after {
  content: '';
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
}
.custom-ribbon::before { left: 6px; }
.custom-ribbon::after { right: 6px; }


.custom-ribbon span {
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  font-size: 14px;
  align:center;
}


h1 {
  font-weight: normal;
  position: relative;
  background: #afd3db;
  width: 50%;
  color: #333;
  text-align: center;
  padding: 10px 20px;
  margin: 20px auto 40px;
  text-transform: uppercase;
  border-radius: 2px;
}

h1:before,
h1:after {
  content: "";
  position: absolute;
  top: -6px;
  border: 18px solid #7abdbd;
}

h1:before {
  left: -36px;
  border-right-width: 18px;
  border-left-color: transparent;
}

h1:after {
  right: -36px;
  border-left-width: 18px;
  border-right-color: transparent;
}

h1 span:before,
h1 span:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-color: #a7cecc transparent transparent transparent;
  top: -6px;
  transform: rotate(180deg);
}

h1 span:before {
  left: 0;
  border-width: 6px 0 0 6px;
}

h1 span:after {
  right: 0;
  border-width: 6px 6px 0 0;
}


/* Ribbon 3 */
/* Ribbon Container */
.ribbon {
  position: relative;
  background-size: cover;
  text-transform: uppercase;
  color: white;
  padding-bottom:35px;
  top:-40px;
  overflow: visible;
}

.ribbon3 {
  width: 150px;
  height: 50px;
  line-height: 50px;
  -padding-left: 15px;
  position: absolute;
  left: -8px;
  top: 20px;
  background: #C0C0C0;
  font-weight:bold;
  --clip-path: polygon(0 0, 100% 0, 75% 50%, 100% 100%, 0 100%);
}

.ribbon3:before,
.ribbon3:after {
  content: "";
  position: absolute;
}

.ribbon3:before {
  height: 0;
  width: 0;
  top: -8.5px;
  left: 0.1px;
  border-bottom: 9px solid black;
  border-left: 9px solid transparent;

}

.ribbon3:after {
  height: 0;
  width: 0;
  right: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-right: 25px solid #fdfdfd;
}


.ribbon-top-line {
     width:100%;
     height:2px;
     border-top:1.2px dashed white;
     position:absolute;
     top:5%;
}

.ribbon-bottom-line {
     width:100%;
     height:2px;
     border-top:1.2px dashed white;
     position:absolute;
     bottom:5%;
}
.ribbon-text {
    padding-left:15px;
}

.trip-results-wrapper {
  position: relative;
  padding-top: 60px;
}

/*Text Strike*/
.strikethrough {
  position: relative;
  color: #C0C0C0;
}
.strikethrough:before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  right: 0;
  border-top: 2px solid #C0C0C0 !important;
  border-color: inherit;

  -webkit-transform:rotate(-5deg);
  -moz-transform:rotate(-5deg);
  -ms-transform:rotate(-5deg);
  -o-transform:rotate(-5deg);
  transform:rotate(-0deg);
}

/*ribbon 1*/
.ribbon11{
   width: 140px;
   height: 28px;
   text-align: center;
   position: absolute;
   top: -8px;
   right: 15%;
   -border-top-right-radius: 8px;
   color: white;
   /*box-shadow: inset 0 8px 6px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.25);
   clip-path: polygon(0 0, 100% 0, 75% 50%, 100% 100%, 0 100%);*/
   padding-left: 0.6rem;
   padding-right: 0.3rem;
}

.ribbon11:before {
  position: absolute;
    content: "";
    height: 8px;
    width: 14px;
    left: -8px;
    top: 0;
    background: #9d9797;
    border-top-left-radius: 11px;
    border-bottom-left-radius: 1px;
    border-top-right-radius: 11px;

}


.ribbon11:after {
  position: absolute;
    content: "";
    height: 20px;
    width: 6px;
    left: 0px;
    bottom: 0;
    background: white;
}

.half-circle{
    position: absolute;
    content: "";
    height: 8px;
    width: 14px;
    right: -8px;
    top: 0;
    background: #9d9797;
    border-top-left-radius: 11px;
    border-bottom-left-radius: 1px;
    border-top-right-radius: 11px;
}

.sec-rectangle {
    position: absolute;
    content: "";
    height: 20px;
    width: 6px;
    right: 0px;
    bottom: 0;
    background: white;
}
.line-triangle {

}

.ribbon11-sec {
    width: 126px;
    height: 8px;
    text-align: center;
    position: absolute;
    top: 20px;
    right: 15%;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
   /* border-left: 67px solid #fff;
    border-right: 67px solid #fff;
    border-top: 16px solid #f000;*/
}

.mobile-ribbon {
    display: none;
}

@media (max-width: 768px) {
   .mobile-ribbon {
    display: block;
    width: 146px;
    height: 30px;
    text-align: center;
    position: absolute;
    bottom: 35%;
    left: -6px;
    color: white;
    padding-left: 0.1rem;
    padding-right: 0.7rem;
   }

   .mobile-ribbon:before {
    position: absolute;
    content: "";
    top: -6px;
    left: 0;
    border-top: 6px solid #bbbaba;
    border-right: 6px solid transparent;
    rotate: 180deg;
   }

   .mobile-ribbon:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid white;

   }
   .mobile-ribbon-top-line, .mobile-ribbon-bottom-line {
        width:98%;
        height:2px;
        border-top:1.2px dashed white;
        position:absolute;
        left:1%;
        right:1%;

   }

   .mobile-ribbon-top-line {
        top:5%;
   }

   .mobile-ribbon-bottom-line {
        bottom:5%;
   }

   .ribbon11 {
    display: none;
   }
   .discount-ribbon {
       display: none;
   }

   .ribbon11-sec {
      display: none;
   }
}
/*ribbon-33*/
.ribbon03 {
  position: relative;
  background-size: cover;
  text-transform: uppercase;
  color: white;
  padding-bottom:35px;
  bottom:17px;
  margin-bottom:2px;
}

.ribbon33 {
  width: 150px;
  height: 50px;
  line-height: 50px;
  -padding-left: 15px;
  position: absolute;
  left: -25px;
  top: 4px;
  background: #C0C0C0;
  font-weight:bold;
  --clip-path: polygon(0 0, 100% 0, 75% 50%, 100% 100%, 0 100%);
}

.ribbon33:before,
.ribbon33:after {
  content: "";
  position: absolute;
}

.ribbon33:before {
  height: 0;
  width: 0;
  bottom: -8.5px;
  left: 0.1px;
  border-top: 9px solid black;
  border-right: 9px solid transparent;
  rotate: 90deg;

}

.ribbon33:after {
  height: 0;
  width: 0;
  right: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-right: 25px solid #fdfdfd;
}

.off-text {
    font-size:8px;
}

/*ribbon04*/
.discount-ribbon-container {
  position: relative;
  background-size: cover;
  text-transform: uppercase;
  color: white;
  padding-bottom:35px;
  bottom:17px;
  margin-bottom:2px;
}

.discount-ribbon {
  width: 50.4px;
  height: 91px;
  -line-height: 50px;
  -padding-left: 15px;
  position: absolute;
  right: 18%;
  top: -9px;
  background: #C0C0C0;
  font-weight:bold;
  color:white;
  text-align:center;
}
.discount-ribbon-fold{
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  left: -14px;
  border-top: 9px solid transparent;
  border-right: 5px solid #c6c6c4;
  border-left: 9px solid transparent;
}

.discount-ribbon:before,
.discount-ribbon:after {
  content: "";
  position: absolute;
}

.discount-ribbon:before {
    height: 0;
    width: 0;
    left: -14px;
    border-top: 9px solid transparent;
    border-right: 5px solid #c6c6c4;
    border-left: 9px solid transparent;
}

.discount-ribbon:after {
    height: 0;
    width: 0;
    right: 0;
    border-bottom: 16px solid #fdfdfd;
    border-right: 25.2px solid transparent;
    border-left: 25.2px solid transparent;
    bottom: 0;
}
.discount-ribbon-edge{
    content: "";
    position: absolute;
    height: 30px;
    width: 50.4px;
    right: 0;
    clip-path: polygon(0 100%, 50% -16%, 100% 100%);
    /*clip-path: polygon(0px 0px, 0px 100%, 53.97% -3.33%, 100% 100%, 100% 0px);*/
    bottom: -30px;
    background: purple;
}

.off-text {
    font-size:8px;
}

.discount-ribbon-top-line {
     position:absolute;
     left: 5%;
     top: 2%;
     border-left: 1.2px dashed white;
     height: 100%;
}

.discount-ribbon-bottom-line {
     position:absolute;
     right: 5%;
     top:2%;
     border-left: 1.2px dashed white;
     height: 100%;
}
.discount-ribbon-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 10px;
}

.discount-price {
    font-size: 12px;
    font-weight: bold;
    flex: 30;
}
.discount-currency {
    font-size: 9px;
    flex: 30;
    color: #c6c5c5;
}
.discount-off {
    font-size: 12px;
}

/*discount-badge*/

.discount-badge {
      position: absolute;
      display: inline-block;
      color: white;
       radial-gradient(#e66465, #9198e5)
      text-align: center;
      padding: 13px 13px;
      border-radius: 50%;
      box-shadow: 0 2px 5px rgba(0,0,0,0.3);
      font-family: Arial, sans-serif;
      right: 30%;
      bottom: 10%;
      opacity: 0.7;
}
.discount-badge price{
    font-size: 24px;
    opacity: 1;
    color: white;
    font-weight: bold;
}
.discount-badge .wrinkle1{
      content: "";
      position: absolute;
}
.discount-badge .wrinkle2{
      content: "";
      position: absolute;
}


.discount-badge span {
    display: block;
    font-size: 14px;
    margin-top: 5px;
}

/*
background: radial-gradient(#e66465, #9198e5);

*/