.nav {
    display: -ms-flexbox;
    display: block;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.cards .col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

body {
  font-family: "Montserrat", Arial, "\5FAE\8EDF\6B63\9ED1\9AD4",
    "Microsoft Jhenghei", "\5FAE\8F6F\96C5\9ED1", sans-serif;
}

.is-danger {
  color: #e02926;
}

.navbar {
  background-color: #e02926;
}

a {
  color: white;
}

a:hover {
  color: white;
}

.red {
  background-color: #e02926;
  height: 200px;
  padding-left: 9%;
  padding-top: 5%;
  color: white;
  font-weight: bold;
}

.headerpara {
  font-size: 12px;
}

.card {
  font-size: 13px;
  box-shadow: none;
  border: none;
  position: relative;
  height: auto !important;
  overflow: hidden;
  background-color: transparent;
  margin: 10px 5%;
}

.ribbon {
  position: absolute;
  top: -7px;
  right: 0px;
  z-index: 1;
  overflow: hidden;
  width: 75px;
  height: 75px;
  text-align: right;
}

.ribbon span {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 27px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 100px;
  display: block;
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 14px;
  right: -26px;
}

.ribbon span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid #79a70a;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #79a70a;
}

.ribbon span::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #79a70a;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #79a70a;
}

.card-body {
  /* padding-top: 5px !important;
     padding-left: 3px !important; */
  padding-bottom: 0px;
  padding: 5px !important;
}

#explore {
  color: #f1780b;
  font-weight: bold;
}

#try {
  color: #f1780b;
  padding-left: 5px;
  font-weight: bold;
}

.btn-buy {
  cursor: pointer;
  color: #fff !important;
  background-image: #e4622d;
  height: 22px;
  border-radius: 25px;
  font-size: 11px;
  /* padding-top: 3px; */
  padding: 5px;
  /* width: 100px; */
  background-image: linear-gradient(#f1780b, #e02926);
  border: none;
  margin-top: 10px;
}

.card-img-top {
  width: 100%;
  border-radius: 14px;
}

.col-md-3 > .card:hover {
  cursor: -webkit-pointer;
  cursor: pointer;
  transform: scale(1.1);
}

.card-title {
  color: black;
  font-size: 20px;
  line-height: 27px;
  /*height: 110px;*/
  overflow: hidden;
}

.view {
  background-color: #0c4581;
  padding-left: 20px;
  padding-right: 20px;
  color: white;
  height: 55px;
  border-radius: 0px;
  margin-top: 5px;
  margin-bottom: 3%;
}

#hide {
  display: none;
  position: relative;
  height: 100%;
}

#hide a,
#card-info a {
  color: #f1780b;
  text-decoration: none;
}

#hide p,
#card-info p {
  margin-bottom: 0rem;
}

.row {
  margin-right: 0px !important;
}

.for-columns > .card:hover #hide {
  display: block;
  z-index: 1000;
  background-color: #fff;
  width: 100%;
  -webkit-animation: slide-down 0.5s ease-out;
  animation: slide-down 0.5s ease-out;
}

.card:hover .fpt {
  display: none;
  -webkit-animation: fadeinout 0.5s linear forwards;
  animation: fadeinout 0.2s linear forwards;
}

.lh-18 {
  line-height: 18px;
}

@-webkit-keyframes fadeinout {
  100% {
    opacity: 0;
    display: none;
    height: 0px;
  }
  0% {
    opacity: 1;
  }
}

@keyframes fadeinout {
  100% {
    opacity: 0;
    display: none;
    height: 0px;
  }
  0% {
    opacity: 1;
  }
}

@-webkit-keyframes slide-down {
  0% {
    opacity: 0;
    -webkit-transform: translateY(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@-moz-keyframes slide-down {
  0% {
    opacity: 0;
    -moz-transform: translateY(100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateY(0);
  }
}

.image-div {
  position: relative;
  margin: 10px 10%;
}

@media (width: 1024px) {
  .card {
    font-size: 13px;
    box-shadow: none;
    border: none;
    position: relative;
  }
  .image-div {
    margin: 10px 3%;
  }
}

@media (max-width: 1024px) {
  .card-title {
    font-size: 17px;
  }
}

@media (min-width: 415px) and (max-width: 767px) {
  .image-div {
    margin: 10px 27%;
  }
}

.ribbon-sdn {
  background: linear-gradient(rgb(203, 206, 32) 0%, rgb(222, 115, 44) 100%);
}

.ribbon-a2p {
  background: linear-gradient(rgb(230, 34, 184) 0%, rgb(179, 128, 218) 100%);
}

.ribbon-ott {
  background: linear-gradient(rgb(142, 4, 110) 0%, rgb(228, 22, 41) 100%);
}

.ribbon-api {
  background: linear-gradient(rgb(45, 217, 239) 0%, rgb(10, 94, 119) 100%);
}

.ribbon-sass {
  background: linear-gradient(rgb(45, 239, 55) 0%, rgb(20, 173, 39) 100%);
}

.connectivitybg {
  background-color: #e02926;
  font-size: 19px;
  padding: 3px 10px;
  color: white;
  height: 34px;
  margin-top: 15px;
  margin-bottom: 40px;
}

.clear-both {
  clear: both;
}

.blue {
  color: #06807f;
  font-weight: bold;
  position: relative;
  top: 0px;
  height: 25px;
  display: block;
}

.header {
  margin-top: 0px;
}

.header2,
.header3 {
  margin-top: 0px;
}

.mobileversion {
  display: none;
}

.for_padding_top_15 {
  padding-top: 15px !important;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  height: 30px;
  background: #e02926 no-repeat center center;
  padding-top: 3px;
}

.fa-chevron-left,
.fa-chevron-right {
  font-size: 15px;
}

@media (min-width: 320px) and (max-width: 767px) {
  .mobileversion {
    display: block;
  }
  .cards {
    display: none;
  }
  b,
  strong {
    font-weight: bolder;
  }
  #css-carousel .item > a {
    display: block;
    height: 432px;
    width: 100%;
    -webkit-background-size: fill;
    -moz-background-size: fill;
    -o-background-size: fill;
    background-size: fill;
  }
  .card-size {
    position: relative;
    width: 100%;
  }

  .card {
    margin-bottom: 10%;
  }
  .red {
    background-color: #e02926;
    /* height: 200px; */
    /* padding-left: 9%; */
    /* padding-top: 5%; */
    color: white;
    font-weight: bold;
    padding: 20px;
    height: auto;
  }
  .connectivitybg {
    margin: 15px;
  }

  .card-title {
    padding: 0px 30px;
     height: 50px !important;
  }
}

/* .for-columns{
     flex: 0 0 33.3333% !important;
     max-width: 33.3333% !important;
 } */

@media (min-width: 320px) and (max-width: 414px) {
  .card {
    height: auto;
    /* margin-top: 8%; */
  }
  .image-div {
    margin: 10px 15%;
  }
}

@media (min-width: 600px) and (max-width: 765px) {
  .card {
    margin: 10px 20%;
  }
}
@media (min-width: 1420px) {
  .card {
    margin: 10px 5%;
    /* height: 570px !important; */
  }
  .card-size {
    position: relative;
    width: 90%;
  }
}

.carousel-innern {
  display: inline-block !important;
  width: 100%;
}

@media (max-width: 767px) {
  .carousel-control-prev .carousel-control-next {
    top: -200px !important;
  }
}

@media (min-width: 767px) and (max-width: 905px) {
  #hide p {
    font-size: 10px !important;
  }
  #hide a,
  #card-info a {
    font-size: 10px !important;
  }
  .btn-buy {
    padding-top: 4px !important;
  }
}

@media (min-width: 1201px) {
  .for-product-text {
    height: 110px !important;
    overflow: hidden !important;
  }
}


@media (min-width: 768px) and (max-width: 1050px) {
    .for-product-text {
      height: 160px !important;
      overflow: hidden !important;
    }
  }

@media (min-width: 1051px) and (max-width: 1200px) {
  .for-product-text {
      
    height: 140px !important;
    overflow: hidden !important;
  }
}

@media (max-width: 950px) {
  .for-columns {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
  }
}

@media (min-width: 951px) {
  .for-columns {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}

@media (min-width: 415px) and (max-width: 767px) {
    .for-product-text-mobile {
        height: 80px;
        overflow: hidden;
      }
}

@media (min-width: 320px) and (max-width: 414px) {
    .for-product-text-mobile {
        height: 90px;
        overflow: hidden;
      }
}

@media screen and (max-width: 767px) {
  .card-title {
    height: 50px !important;
    overflow: hidden;
  }
}

.enquiryForm a, .enquiryForm a:hover{
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}