/*--------------------------------------------------------------
# Custom Styling & Shared Classes
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Must have Utilities
--------------------------------------------------------------*/
.text-justify {
    text-align: justify;
}

.ptr{
  cursor:pointer;
}

.dn {
  display:none;
}

.dynamic-limit {
    white-space: nowrap;       /* prevent text wrapping */
    overflow: hidden;          /* hide overflow */
    text-overflow: ellipsis;   /* show "..." when truncated */
    max-width: 100%;           /* respect container width */
    display: block;            /* ensure truncation works */
}

.ucase {
  text-transform: uppercase;
}

.selnone {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.sbtl-movr {
  background-color: rgb(240, 240, 240); /* Default background color */
}

.sbtl-movr:hover {
  background-color: rgb(230, 230, 230); /* Background color on hover */
}

@media (max-width: 767px) {
  .page-link {
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center;    /* Centers items vertically */
  }
}

.td-none {
  text-decoration: none !important;
}

.td-none:hover {
  text-decoration: none !important;
}

.clickable-div:hover {
  background-color: #f9f9f9;
}

/*--------------------------------------------------------------
# YouTube Container
--------------------------------------------------------------*/
.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
} 

.embed-container iframe, .embed-container object, .embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}

/* ---------->>> Autocomplete <<<---------------------------------------------------------------*/
.ui-autocomplete-row {
  margin-top: 1px;
  padding:0 8px 0 8px;
  background-color: #fff;
  border-bottom:1px solid #ccc;
}

.ui-autocomplete-row:hover {background-color: #f4f4f4;}
.ui-menu .ui-menu-item-wrapper {padding: 0px;}

.ui-autocomplete {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: "Baloo Da 2", sans-serif/*{ffDefault}*/;
  font-size: .9em/*{fsDefault}*/;
  border-radius: 0 0 8px 8px;
}
* html .ui-autocomplete {
	height: 500px;
}
/*--------------------------------------------------------------
# Theme Changes
--------------------------------------------------------------*/
.language-bg {
background-image: url('/assets/img/lang-bg-new.webp');
background-repeat: no-repeat;
background-size: cover;
}

.language-bg h1 span {
  color: #073763;
}

.rnd-btn  {
  border: 0;
  font-size: 16px;
  /* padding: 10px 20px; */
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.rnd-btn .icon i {
  color: white;
  font-size: 32px;
  z-index: 2;
  position: relative;
}
.rnd-btn .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rnd-btn:disabled {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color:white;
  cursor: not-allowed;
}

.rnd-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color:white;
}

.book-cover-wrapper {
    display: inline-block;
    position: relative;
}

.ribbon-overlay {
    position: absolute;
    top: 0px;       /* adjust as needed */
    left: 0px;     /* adjust as needed */
    /* width: 100px;    scale the ribbon image */
    z-index: 2;
    pointer-events: none; /* ribbon won’t block clicks */
    opacity: 0.8;
}

/*--------------------------------------------------------------
# Video Play button
--------------------------------------------------------------*/
.thumbnail-wrapper {
    display: inline-block;
    position: relative;
}

.thumbnail-wrapper img {
    /* opacity: 0.8; */
    display: block;
    width: 100%;
    border-radius: 0.375rem; /* same as Bootstrap card-img */
}

/* .thumbnail-wrapper img:hover {
    opacity: 1;
} */

/* Play button wrapper */
.play-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 0, 0, 1); /* semi-transparent */
    border-radius: 50%;  /* circle */
    padding: 8px;       /* circle size */
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button-wrapper:hover {
    background-color: #ff0000; /* red hover effect */
    transform: translate(-50%, -50%) scale(1.1); /* zoom on hover */
    opacity: 1;
}

/* Bootstrap icon inside */
.play-button-wrapper i {
    font-size: 40px;
    color: #fff;
    display: block;
    line-height: 1;
}

@media (max-width: 640px) {
  .play-button-wrapper {
    padding: 10px;
  }
  .play-button-wrapper i {
    font-size: 28px;
  }
}

.rating {
  background: rgb(124, 124, 124); 
  padding: 5px; 
  border-radius: 50px;
}

/*--------------------------------------------------------------
# Horizontal_Scroll Services Section
--------------------------------------------------------------*/

.image-row {
  position: relative;
  height: 300px !important;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.image-row::-webkit-scrollbar {
  width: 0 !important;
}

.image-row {
  overflow: -moz-scrollbars-none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.image-col {
  height: 282px !important;
  width: 150px !important;
  display: inline-block;
  margin-right: 10px;
  border: 1px solid #cccccc;
  border-radius: 16px;
  background-color: #fff;
  position: relative;
}
.image-col .img {
  width: 100%;
  max-height: 200px;
  display: inline-block;
  margin-right: 10px;
  border-radius: 16px 16px 0 0;
  top: 0;
}

.scroll-button-frnd {
  position: absolute;
  top: 50%;
  margin: -25px 0 0;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 30px;
  background-color: #073763;
  color: #fff;
  text-decoration: none;
  font-family: Georgia, Arial, Helvetica, sans-serif;
  overflow: hidden;
  cursor: pointer;
  border-radius: 50px;
  z-index: 1;
}

.scroll-button-lft {
  left: 0;
}

.scroll-button-rght {
  right: 0;
}
.btn-view-details {
  font-family: "baloo da 2", sans-serif;
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  padding: 2px 5px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 6px;
  border: 2px solid #073763;
  color: #000;
}

.btn-view-details:hover {
  background: #073763;
  color: #fff;
}

@media (max-width: 767px) {
  .image-row {
	height: 200px !important;

  }

  .image-col {
	width: 90px !important;
	height: 200px !important;
  }

  .image-col .img {
	max-width: 100%;
	height: 120px;
  }
  
  .scroll-button-frnd {
    margin: -15px 0 0;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .btn-view-details {
	font-size: 12px;
	padding: 2px 6px;
	margin: 2px;
  }
}


/*--------------------------------------------------------------
# Profile Picture
--------------------------------------------------------------*/

.list-profile-pic {
        width: 100px;
        height: 100px;
        object-fit: cover; /* or contain, fill */
        object-position: center; /* or top, bottom, 20% 50% */
    }
.dashboard-profile-pic {
    width: 200px;
    height: 200px;
    object-fit: cover; /* or contain, fill */
    object-position: center; /* or top, bottom, 20% 50% */
    border: 10px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.tiny-profile-pic {
        width: 24px;
        height: 24px;
        object-fit: cover; /* or contain, fill */
        object-position: center; /* or top, bottom, 20% 50% */
    }

/*--------------------------------------------------------------
# Horizontal_Scroll Services Section
--------------------------------------------------------------*/

/* Search Form */
.search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}
.search-bar {
  min-width: 600px;
  padding: 0 20px;
  margin-top: auto;
}
.toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}


@media (max-width: 1199px) {
  .search-bar {
    max-width: 100%;
    /* padding: 20px; */
  }

   .search-bar-show {
    top: 80px;
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 767px) {
	.search-bar {
	  min-width: 250px;
	  padding: 10px 20px 0px 20px;
	}
  .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }

}

 .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

 .search-form input:focus,
 .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

 .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

 .search-form button i {
  color: #012970;
}

/*--------------------------------------------------------------
# Recent Edits
--------------------------------------------------------------*/
/* These are recently edited files. Do not suggest code that has been deleted. */
@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 6px;
    transform: rotate(45deg);
    border-top: 2px solid #dcdcdc;
    border-left: 2px solid #dcdcdc;
  }
}
/*--------------------------------------------------------------
# Recent Edits
--------------------------------------------------------------*/