/* Dropdown hover */

.dropdown:hover .dropdown-menu{
    display: block;
}
.dropdown-menu{
    margin-top: 0;
}

/* Navbar buttons with color */

.nav-pills .pill-a .nav-link:not(.active) {
    background-color: #051937 !important;
    color: white !important;
}

.nav-pills .pill-a .nav-link {
    background-color: #6fc151 !important;
    color: black !important;
}

/* Full screen pictures

.site-bg-img {
  height: 100vh;
  min-height: 480px;
  max-height: 1080px;
}

*/

/* Product box */

.image {
	position: relative;
	width: calc(409.33px - 30px);/*calc(100% - 30px);*/ /*400px;*/
	height: calc(300px - 30px);
    float: left;
    margin: 15px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
}

.image__img {
	display: block;
	width: 100%;
}

.image__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	color: #ffffff;
	font-family: 'Quicksand', sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* justify-content: center; */
	opacity: 0;
	transition: opacity 0.25s;
}

.image__overlay--blur {
	backdrop-filter: blur(5px);
}

.image__overlay--primary {
	background: #009578;
}

.image__overlay>* {
	transform: translateY(20px);
	transition: transform 0.25s;
}

.image__overlay:hover {
	opacity: 1;
}

.image__overlay:hover>* {
	transform: translateY(0);
}

.image__title {
	font-size: 2em;
	font-weight: bold;
	vertical-align: top !important;
}

.image__description {
	font-size: 0.8em;
	margin-top: 0.25em;
}

.image__link {
	font-size: 1em;
	position: absolute;
    bottom: 0;
}

/* Presentation box */

/* for demo purposes */
.card-block .btn-outline-primary {
  width: 100%;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  bottom: 0;
  left: 0;
  position: absolute;
}

.card {
  margin: 20px 0;
  height: 400px;
}

/* Flip Cards CSS */
.card-container {
  perspective: 700px;
}
.card-flip {
  position: relative;
  width: 450px;
  transform-style: preserve-3d;
  height: auto;
  transition: all 0.5s ease-out;
  background: white;
  border: none;
}

.card-flip div {
  backface-visibility: hidden;
  transform-style: preserve-3d;
  height: 100%;
  width: 100%;
  border: none;
}

.card-flip .front {
  position: relative;
  z-index: 1;
}

.card-flip .back {
  position: relative;
  z-index: 0;
  transform: rotateY(-180deg);
}

.card-container:hover .card-flip {
  transform: rotateY(180deg);
}

/* Square to circle picture */

.image-cropper {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

/* M-V-V boxes */

.quotes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  z-index: 2;
  box-sizing: border-box;
}
.quotes .box {
  position: relative;
  min-height: 320px;
  width: 340px;
  background: #f2f2f2;
  overflow: hidden;
  transition: all 0.5s ease-in;
  z-index: 2;
  box-sizing: border-box;
  padding: 30px;
  box-shadow: -10px 25px 50px rgba(0, 0, 0, 0.3);
}
.quotes .box::before {
  position: absolute;
  top: -20px;
  left: 5px;
  width: 100%;
  height: 100%;
  font-size: 120px;
  opacity: 0.2;
  background: transparent;
  pointer-events: none;
}
.quotes .box::after {
  position: absolute;
  bottom: -10%;
  right: 5%;
  font-size: 120px;
  opacity: 0.2;
  background: transparent;
  filter: invert(1);
  pointer-events: none;
}

.quotes .box h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.quotes .box p {
  bottom: 10%;
  right: 10%;
  font-size: 1.2rem;
}

.quotes .box ul {
  margin: 0;
  padding: 5px;
  margin-top: 40px;
  bottom: 10%;
  right: 10%;
  font-size: 1.2rem;
  list-style: none;
}

.quotes .box ul li:before {
  content: '✓';
}

.quotes .box:hover {
  color: #f2f2f2;
  box-shadow: 20px 50px 50px rgba(0, 0, 0, 0.5);
}
.quotes .bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  transition: all 0.5s ease-in;
  pointer-events: none;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.quotes .box.box1:hover,
.quotes .box.box1:hover~.bg {
  opacity: 1;
  background: #051937;
background: -moz-linear-gradient(-45deg, #051937 15%, #00aae4 100%);
background: -webkit-linear-gradient(-45deg, #051937 15%,#00aae4 100%);
background: linear-gradient(135deg, #051937 15%,#00aae4 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#051937', endColorstr='#00aae4',GradientType=1 );
}

@media (max-width:767px){
  .quotes{
      width:100%;
      padding:20px;
  }
  .quotes .box {
      width:100%;
      margin-bottom: 20px;
  }
}

/* Product list */

.product {
}

.product ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product ul li:before {
  content: '✓';
}

/* Product cards */

.textcardb {
  display: inline-block;
  width: 350px;
  padding: 4rem 1rem 4rem 1rem;
  background-color: #051937;
  position: relative;
}
.textcardb:after {
  content: "";
  display: block;
  width: 0px;
  height: 0px;
  background-color: #051937;
  top: 0px;
  right: 0px;
  border-bottom: 20px solid #87A55B;
  border-left: 20px solid #87A55B;
  border-right: 20px solid #f5f5f5;
  border-top: 20px solid #f5f5f5;
  position: absolute;
  filter: drop-shadow(-5px 5px 3px rgba(0, 0, 0, 0.5));
}
.textcardb:before {
  content: "";
  display: block;
  width: 0px;
  height: 0px;
  border-top: 40px solid #87A55B;
  border-right: 40px solid #87A55B;
  border-left: 40px solid #f5f5f5;
  border-bottom: 40px solid #f5f5f5;
  bottom: 0px;
  left: 0px;
  position: absolute;
  filter: drop-shadow(7px -7px 5px rgba(0, 0, 0, 0.5));
  margin-right: 10%;
}
.textcardb:nth-of-type(1) {
  margin-right: 9%;
}
.textcardb h3 {
  color: snow;
  margin-bottom: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.textcardb p {
  color: snow;
  font-size: 1rem;
  line-height: 140%;
}

.textcardg {
  display: inline-block;
  width: 350px;
  padding: 4rem 1rem 4rem 1rem;
  background-color: #87A55B;
  position: relative;
}
.textcardg:after {
  content: "";
  display: block;
  width: 0px;
  height: 0px;
  background-color: #87A55B;
  top: 0px;
  right: 0px;
  border-bottom: 20px solid #051937;
  border-left: 20px solid #051937;
  border-right: 20px solid white;
  border-top: 20px solid white;
  position: absolute;
  filter: drop-shadow(-5px 5px 3px rgba(0, 0, 0, 0.5));
}
.textcardg:before {
  content: "";
  display: block;
  width: 0px;
  height: 0px;
  border-top: 40px solid #051937;
  border-right: 40px solid #051937;
  border-left: 40px solid white;
  border-bottom: 40px solid white;
  bottom: 0px;
  left: 0px;
  position: absolute;
  filter: drop-shadow(7px -7px 5px rgba(0, 0, 0, 0.5));
  margin-right: 10%;
}
.textcardg:nth-of-type(1) {
  margin-right: 9%;
}
.textcardg h3 {
  color: snow;
  margin-bottom: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.textcardg p {
  color: snow;
  font-size: 1rem;
  line-height: 140%;
}

/* Timeline */

.timeline {
  display: flex;
  flex-direction: column;
  margin: 20px auto;
  position: relative;
}
.timeline__event {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  margin: 20px 0;
  border-radius: 6px;
  align-self: center;
  width: 50vw;
}
.timeline__event:nth-child(2n + 1) {
  flex-direction: row-reverse;
}
.timeline__event:nth-child(2n + 1) .timeline__event__date {
  border-radius: 0 6px 6px 0;
}
.timeline__event:nth-child(2n + 1) .timeline__event__content {
  border-radius: 6px 0 0 6px;
}
.timeline__event:nth-child(2n + 1) .timeline__event__icon:before {
  content: "";
  width: 2px;
  height: 100%;
  background: #f6a4ec;
  position: absolute;
  top: 0%;
  left: 50%;
  right: auto;
  z-index: -1;
  transform: translateX(-50%);
  animation: fillTop 1s forwards 1s ease-in-out;
}
.timeline__event:nth-child(2n + 1) .timeline__event__icon:after {
  content: "";
  width: 100%;
  height: 2px;
  background: #f6a4ec;
  position: absolute;
  right: 0;
  z-index: -1;
  top: 50%;
  left: auto;
  transform: translateY(-50%);
  animation: fillLeft 1s forwards 1s ease-in-out;
}
.timeline__event__title {
  font-size: 1.2rem;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 600;
  color: #9251ac;
  letter-spacing: 1.5px;
}
.timeline__event__content {
  padding: 20px;
  box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
  background: #fff;
  width: calc(40vw - 84px);
  border-radius: 0 6px 6px 0;
}
.timeline__event__date {
  color: #f6a4ec;
  font-size: 1.5rem;
  font-weight: 600;
  background: #9251ac;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 20px;
  border-radius: 6px 0 0 6px;
}
.timeline__event__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9251ac;
  padding: 20px;
  align-self: center;
  margin: 0 20px;
  background: #f6a4ec;
  border-radius: 100%;
  width: 40px;
  box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
  padding: 40px;
  height: 40px;
  position: relative;
}
.timeline__event__icon i {
  font-size: 32px;
}
.timeline__event__icon:before {
  content: "";
  width: 2px;
  height: 100%;
  background: #f6a4ec;
  position: absolute;
  top: 0%;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  animation: fillTop 1s forwards 1s ease-in-out;
}
.timeline__event__icon:after {
  content: "";
  width: 100%;
  height: 2px;
  background: #f6a4ec;
  position: absolute;
  left: 0%;
  z-index: -1;
  top: 50%;
  transform: translateY(-50%);
  animation: fillLeftOdd 1s forwards 1s ease-in-out;
}
.timeline__event__description {
  flex-basis: 100%;
}
.timeline__event--type2:after {
 background: #555ac0;
}
.timeline__event--type2 .timeline__event__date {
  color: #87bbfe;
  background: #555ac0;
}
.timeline__event--type2:nth-child(2n + 1) .timeline__event__icon:before, .timeline__event--type2:nth-child(2n + 1) .timeline__event__icon:after {
  background: #87bbfe;
}
.timeline__event--type2 .timeline__event__icon {
  background: #87bbfe;
  color: #555ac0;
}
.timeline__event--type2 .timeline__event__icon:before, .timeline__event--type2 .timeline__event__icon:after {
  background: #87bbfe;
}
.timeline__event--type2 .timeline__event__title {
  color: #555ac0;
}
.timeline__event--type3:after {
  background: #24b47e;
}
.timeline__event--type3 .timeline__event__date {
  color: #aff1b6;
  background-color: #24b47e;
}
.timeline__event--type3:nth-child(2n + 1) .timeline__event__icon:before, .timeline__event--type3:nth-child(2n + 1) .timeline__event__icon:after {
  background: #aff1b6;
}
.timeline__event--type3 .timeline__event__icon {
 background: #aff1b6;
 color: #24b47e;
}
.timeline__event--type3 .timeline__event__icon:before, .timeline__event--type3 .timeline__event__icon:after {
  background: #aff1b6;
}
.timeline__event--type3 .timeline__event__title {
  color: #24b47e;
}
.timeline__event:last-child .timeline__event__icon:before {
  content: none;
}
 @media (max-width: 786px) {
	 .timeline__event {
		 flex-direction: column;
		 align-self: center;
	}
	 .timeline__event__content {
		 width: 100%;
	}
	 .timeline__event__icon {
		 border-radius: 6px 6px 0 0;
		 width: 100%;
		 margin: 0;
		 box-shadow: none;
	}
	 .timeline__event__icon:before, .timeline__event__icon:after {
		 display: none;
	}
	 .timeline__event__date {
		 border-radius: 0;
		 padding: 20px;
	}
	 .timeline__event:nth-child(2n + 1) {
		 flex-direction: column;
		 align-self: center;
	}
	 .timeline__event:nth-child(2n + 1) .timeline__event__date {
		 border-radius: 0;
		 padding: 20px;
	}
	 .timeline__event:nth-child(2n + 1) .timeline__event__icon {
		 border-radius: 6px 6px 0 0;
		 margin: 0;
	}
}
 @keyframes fillLeft {
	 100% {
		 right: 100%;
	}
}
 @keyframes fillTop {
	 100% {
		 top: 100%;
	}
}
 @keyframes fillLeftOdd {
	 100% {
		 left: 100%;
	}
}

/* Blog */
.blogcard {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
}

/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  max-width: 800px;
  max-height: 600px;
  margin: auto;
  display: block;
  overflow: hidden; /* Asegura que la imagen no se desborde del contenedor durante el arrastre */
  cursor: grab; /* Cambia el cursor a una mano abierta para indicar que la imagen es arrastrable */
}

.modal-content img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ajusta el contenido de la imagen al tamaño del contenedor */
}

.close {
  color: white;
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 35px;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Footers */
footer {
  min-height: 30px;
  font-size: 0.5rem;
}

.set_footer1 {
  background: #0C253F !important; /* rgba(5,25,55,1) */
  text-align: center !important;
  color:#ffffff !important;

}

.set_footer2 {
  background: #072337 !important; /* #072337 */
  text-align: center !important;
  color:#ffffff !important;
  padding-top: 10px !important;
  padding-bottom: 6px !important;
}

.img_footer {
    min-height: 200px !important;
    max-height: 200px !important;
}

/* */

.column {
  float: left;
  padding: 8px;
  height: 40px;
  width: 265px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/**/
::selection {
  color: white;
  background-color: #0074ffcc !important;
}
::-moz-selection {
  color: white;
  background-color: #0074ffcc !important;
}
.bk_tb {
  background-color: white !important;
/*    background-image:
    linear-gradient(45deg, rgba(0, 0, 0,0.7), rgba(2, 33, 82, 0.7) 100%),
    url('../img/stars.jpg') !important;
    background-size: cover !important;
    background-repeat: repeat-y !important; */
}

.list_dropdown {
 padding-top: 0px !important;
/* padding-bottom: 15px !important; */
 margin-bottom: 15px !important;
}
.ilist_dropdown {
/* padding-top: 15px !important; */
 padding-bottom: 0px !important;
 font-family: 'Helvetica' !important;
 font-size: 100% !important;
 margin: 0px !important;
}
#idropdown {
  padding: 0px !important;
  margin-bottom: 20px !important;
  font-size: 100% !important;
}

html {
  scroll-behavior: smooth; }

.top-nav-collapse {
  background-color: #051937 !important; }

.navbar:not(.top-nav-collapse) {
  background: transparent /*!important*/; }

@media (max-width: 768px) {
  .navbar:not(.top-nav-collapse) {
    background: #051937 !important; } }

#intro .h6 {
  font-weight: 300;
  line-height: 1.7; }

.hm-gradient .site-bg-img {
 /*
  background: rgba(42, 27, 161, 0.7);
  background: linear-gradient(45deg, rgba(42, 27, 161, 0.7), rgba(29, 210, 177, 0.7) 100%); */
  background: rgba(5,25,55,0.7);
  background: linear-gradient(45deg, rgba(5,25,55,0.7), rgba(29, 210, 177, 0.7) 100%);
}

@media (max-width: 450px) {
  .margins {
    margin-right: 1rem;
    margin-left: 1rem; } }

a:link {
  color: black;
  text-decoration: none;
}

a:visited {
  color: black;
}

a:hover {
  text-decoration: underline;
}

/* Courses cards */

.ccards {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(250px, 1fr)
  ); /* see notes below */
  grid-auto-rows: minmax(200px, auto);
  grid-gap: 1rem;
}

.ccard {
  width: 270px !important;
  height: 420px !important;
  background: white;
  border: 2px solid #e7e7e7;
  border-radius: 4px;
  padding: 0.5rem;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  display: flex;
  /* -webkit-box-orient: vertical; */
  /* -webkit-box-direction: normal; */
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  color: #5d5e5e;
} /* li item */

.thumbnail img {
  fill: #c7c4c4;
  height: 135px;
  opacity: 1;
}

.ccard-content {
  font-size: 0.75rem;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.panel.ccard-panel .panel-header {
  background-color: #ffffff;
  font-size: 0.75rem;
  font-weight: 400;
  height: 25px !important;
}

.panel.ccard-panel .panel-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.course_title {
  color: black;
  font-size: 20px;
  overflow: hidden;  /* "overflow" value must be different from "visible" */
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.course_instructor {
  font-size: 10px;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;  /* "overflow" value must be different from "visible" */
  text-overflow: ellipsis;
}

.course_price {
  color: black;
  font-size: 15px;
}

.course-quantity {
    padding: 5px 10px;
    border-radius: 3px;
    border: #E0E0E0 1px solid;
}

#shopping-cart {
	margin: 40px;
}

#shopping-cart table {
	width: 100%;
	background-color: #F0F0F0;
}

#shopping-cart table td {
	background-color: #FFFFFF;
}

.txt-heading {
	color: #211a1a;
	border-bottom: 1px solid #E0E0E0;
	overflow: auto;
}

#btnEmpty {
	background-color: #d00000;
	border: #d00000 1px solid;
	padding: 5px 10px;
	color: #ffffff;
	font-weight: bold;
	float: right;
	text-decoration: none;
	border-radius: 3px;
	margin: 10px 0px;
}

#btnAddmore {
	background-color: #6fc151;
	border: #6fc151 1px solid;
	padding: 5px 10px;
	color: #ffffff;
	font-weight: bold;
	float: left;
	text-decoration: none;
	border-radius: 3px;
	margin: 10px 0px;
}

#btnCheckout {
	background-color: #051937;
	border: #051937 1px solid;
	padding: 5px 10px;
	color: #ffffff;
	font-weight: bold;
	float: left;
	text-decoration: none;
	border-radius: 3px;
	margin: 10px 0px;
}

.btnAddAction {
    padding: 5px 10px;
    margin-left: 5px;
    float: right;
    background-color: #6fc151;
    border: #ffffff 1px solid;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
}

.tbl-cart {
	font-size: 0.9em;
}

@media screen and (max-width: 540px) {
    .tbl-cart {
        overflow-x: scroll;
	    display: flex;
    }
}

.tbl-cart th {
	font-weight: normal;
}

.cart-action {
	float: right;
}

.cart-item-image {
	width: 30px;
    height: 30px;
    border-radius: 50%;
    border: #E0E0E0 1px solid;
    vertical-align: middle;
    margin-right: 15px;
}

.no-records {
	text-align: center;
	clear: both;
	margin: 38px 0px;
}

/* Specification boxes */
/*
.container{
    position: relative;
    width: 1200px;
    height: 300px;
    margin:240px auto;
}
*/
.container .sbox{
    position: relative;
    width: calc(33% - 30px);
    height: calc(300px - 30px);
    background: #000;
    float: left;
    margin: 15px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
}

.container .sbox .icon{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: .5s;
    z-index: 1;
}

.container .sbox:hover .icon{
    top: 20px;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.container .sbox .icon .fa{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    transition: 0.5s;
    color: #fff;
}

.container .sbox:hover .icon .fa{
    font-size: 40px;
}

.container .sbox .content{
    position: absolute;
    top: 100%;
    height: calc(100% - 100px);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: 0.5s;
    opacity: 0;
}

.container .sbox:hover .content{
    top: 100px;
    opacity: 1;
}

.container .sbox .content h3{
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
    font-size: 24px;
}

.container .sbox .content p{
    margin: 0;
    padding: 0;
    color: #fff;
}

.container .sbox:nth-child(1) .icon
{
    background: #87A55B;
}

.container .sbox:nth-child(1)
{
    background: #282F69;
}

/* Code and Science head */

.img_avatar {
    min-height: 250px !important;
    max-height: 250px !important;
}

.img_learn {
    min-height: 400px !important;
    max-height: 400px !important;
}

.img_thumbnail {
    width: 250px !important;
    height: 250px !important;
}

.img_single {
    width: 480px !important;
    height: 480px !important;
}

/* For Mobile */
@media screen and (max-width: 540px) {
    .img_single {
        width: 90% !important;
        height: auto !important;
    }
}

#intro {
  background: url("../img/stars.jpg") no-repeat center center;
  background-size: cover; }

@media (max-width: 768px) {
  .navbar:not(.top-nav-collapse) {
    background: #051937 !important; } }

/* See more */
.visiblediv {
    display: inline;
}

.hiddendiv {
    display: none;
}

.see-btn {
	background-color: #ffffff;
	border: #6fc151 1px solid;
	padding: 5px 10px;
	color: #6fc151;
	float: left;
	text-decoration: none;
	border-radius: 3px;
	margin: 10px 0px;
}

/* Shopping cart number icon */
.cart-icon {
  position: relative; /* Make it relative to the .icon container */
  display: inline-block;
  margin-right: 13px;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -20px;
  background-color: red; /* #6fc151; */
  color: black; /* white; */
  border-radius: 50%;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
}

/* For Mobile */
@media screen and (max-width: 540px) {
    .cart-count {
        top: 10%; /*8px;*/
        right: 20%; /*80px;*/
    }
}

/* For Mobile */
@media screen and (min-width: 540px) and (max-width: 780px) {
    .cart-count {
        top: 15%; /*10px;*/
        right: 35% /*270px;*/
    }
}

/* Single course page buttons */
.last-li {
    margin-bottom: 70px;
}

.onecourse-buttons {
    display: flex !important;
    align-items: center !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    margin: 10px !important;
}

/* For Mobile */
@media screen and (max-width: 540px) {
    .last-li {
        margin-bottom: 120px !important;
    }
}

@media screen and (max-width: 540px) {
    .onecourse-buttons {
        flex-direction: column; /* Cambia la dirección de la flexbox a columna */
        align-items: center !important; /* Centra los elementos verticalmente */
        text-align: center !important; /* Alinea el texto al centro */
        padding: 10px !important; /* Añade un poco de espacio alrededor de los elementos */
        bottom: auto !important; /* Elimina la propiedad bottom para que los elementos no se superpongan al contenido superior */
        top: auto !important; /* Centra verticalmente los botones */
        transform: translateY(-95%); /* Ajusta la posición vertical */
    }
}
