.bg_primary{
	background-color: #5F26D9;
}

.full_height {
  height: 100vh;
}

.text_white{
	color:#fff !important;
}

.form-group{
	margin-bottom: 1rem;
}

.border-primary-subtle {
  border-color: #e4efff !important;
}

.img-fluid{
	max-height: 100%;
}

.hidden{
	display: none !important;
}

.no_decoration{
	text-decoration: none !important;
}
.top_left_corner{
	position: absolute;
	top: -15px;
	left:10px;
}
.top_right_corner{
	position: absolute;
	top: -15px;
	right:10px;
}
.form-loader{
  position: fixed;
  text-align: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 40px;
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-loader  i{
  font-size: 42px;
  left: 21px;
}
.form-loader>div{
  position: relative;
  color: #fff;
  font-size: 22px;
 /* -webkit-transform: translate3d(-50%,-50%,0);
  -moz-transform: translate3d(-50%,-50%,0);
  -o-transform: translate3d(-50%,-50%,0);
  -ms-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);*/
}

.form-loader span{
	font-size: 1rem;
	display: inline-block;
	margin-top: 36px;
}

.help-text{
	color:red;
}

.img-responsive{
	max-width: 100%;
	max-height: 100%;
}

.rotate{
	position: absolute;
	-webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}


@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}

@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

.has_transition{
	-webkit-transition: all 0.2s ease; /* For Safari */
	-moz-transition: all 0.2s ease; /* For Firefox */
	-o-transition: all 0.2s ease; /* For Opera */
	transition: all 0.2s ease; /* Standard syntax */	   
}

.page_header{
	font-size: 1.8rem;
}

.page_subheader{
	font-size: 1rem;
	color:#666;
}

.bg-gray-eee{
	background-color: #eee !important;
}
.bg-gray-ddd{
	background-color: #ddd !important;
}

.alert p{
	margin-bottom: 0;
}
.bg-danger-subtle td{
	background-color: var(--bs-danger-bg-subtle) !important;
}

.add_item_dropdown .dropdown-item{
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}


.vidsafe_card{
	border-color: #ede5ff !important;
    box-shadow: 0px 0px 5px 5px #f4efff;
}
.vidsafe_card .card_body{
}


.data_box{
	margin-bottom: 0rem;
}
.data_box .data_label{
	color:#666;
	font-size: 0.8rem;
}
.data_box .data_value{
	color: #555;
    font-weight: 400;
    font-size: 1rem;
}

.data_box .data_value.smaller{
	font-size: 0.9rem;
}

.drop-zone {
    border: 2px dashed #eee;
    border-radius: 5px;
    padding: 100px 20px;
    text-align: center;
    color: #044FC0;
    cursor: pointer;
    background-color: #f8f5ff;
}

.drop-zone.dragover {
    background-color: #e9ecef;
}

.video-preview {
    display: none;
    width: 100%;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}     

.course_item_row_icon{
	padding: 20px;
	font-size: 24px;
}

.no-text-decoration{
	text-decoration: none !important;
}
.fs-10{
	font-size: 0.6rem !important;
}
.fs-12{
	font-size: 0.75rem !important;
}
.fs-14{
	font-size: 0.875rem !important;
}
/* FILE UPLOAD */
.file_uploaded_div{
	font-weight: bold;  
	overflow-y: hidden;
	margin-bottom:5px;
	padding: 10px;
	background: #faf8ff;
	border: 1px solid #d7c4ff;
	border-radius: 8px;
}

.inline-thin-progressbar{
  height: 10px;
  width: 125px;
  margin-bottom: 0px;
  display: inline-block;
  box-shadow: none;
  border: 1px solid #bbb;
  background: #fff;

}
.inline-thin-progressbar .progress-bar{
  font-size: 10px;
  line-height: 8px;
}
.file_uploaded_div .delete{
  cursor: pointer;
  color:#666;
  padding: 12px 12px 12px 12px;
}
.file_uploaded_div .delete:hover{
  color:#222;
}

/* FILE UPLOAD ENDS */


/* For modern browsers (WebKit and Blink-based browsers like Chrome, Edge, and Safari) */
.thin_scrollbar::-webkit-scrollbar {
  width: 2px; /* Width of the scrollbar */
  height: 2px; /* Height of the scrollbar (for horizontal scroll) */
}

.thin_scrollbar::-webkit-scrollbar-track {
  background: #fbfbfb; /* Color of the track (background of the scrollbar) */
}

.thin_scrollbar::-webkit-scrollbar-thumb {
  background-color: #fff; /* Color of the scrollbar handle */
  border-radius: 6px; /* Rounded corners for the handle */
  border: 3px solid #f1f1f1; /* Adds space between the handle and the track */
  width: 4px;
}

.thin_scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #f0f0f0; /* Darker handle on hover */
}

/* For Firefox */
.thin_scrollbar * {
  scrollbar-width: thin; /* Thin scrollbar */
  scrollbar-color: #fbfbfb; /* Handle color and track color */
}

/* For Internet Explorer and older browsers */


.select2-container .select2-selection--single{
	border-radius: 0px !important;
	height: 42px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--single .select2-selection__clear{
	height: 42px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
	line-height: 42px !important;
}


.select2-container--default .select2-selection--multiple{
	border: var(--bs-border-width) solid var(--bs-border-color);
	border-radius: 0px !important;
	min-height: 42px !important;
}

.fieldset_box{
  border: 1px solid #ddd;
  border-radius: 0px;
  padding: 10px;
  padding-top: 30px;
  /* margin-bottom: 10px; */
  margin-top: 10px;
  position: relative;
}

.fieldset_box legend{
  font-size: 1rem;
  font-weight: 400;
  position: absolute;
  display:inline-block;
  width: auto;
  top: -10px;
  left: 10px;
  padding: 4px 10px;
  border: 1px solid #ddd;
  /* default legend */
  background-color: #fff;
  color:#000;
}

.fieldset_box .legend-title.primary{
  background-color: #0b4db1;
  color:#fff;
}
.fieldset_box .legend-title.danger{
  background-color: #ff0000;
  color:#fff;
}
.fieldset_box .legend-title.warning{
  background-color: #ffa500;
  color:#fff;
}
.fieldset_box .legend-title.success{
  background-color: #008000;
  color:#fff;
}
@media (max-width: 768px) {
  .stacked-responsive-table,
  .stacked-responsive-table thead,
  .stacked-responsive-table tbody,
  .stacked-responsive-table th,
  .stacked-responsive-table td,
  .stacked-responsive-table tr {
    display: block;
    width: 100%;
  }

  .stacked-responsive-table thead {
    display: none;
  }

  .stacked-responsive-table tr {
    margin-bottom: 15px;
    /* border: 1px solid #ddd; */
    /* border-radius: 6px; */
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); */
    padding: 4px;
    background-color: white;
  }

  .stacked-responsive-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #f6f6f6;
    font-size: 14px;
  }

  .stacked-responsive-table td:last-child {
    border-bottom: none;
  }

  .stacked-responsive-table td::before {
    content: attr(data-label);
    font-weight: normal;
    flex-shrink: 0;
    margin-right: 10px;
    color: #888;
    position: relative !important;
  }

  
  .stacked-responsive-table .hide_th_on_mobile::before {
    content: none !important;
  }
  .stacked-responsive-table .hide_row_on_mobile{
    display: none !important;
  }
}

a.badge{
  white-space: normal !important;
}

.custom_fieldset{
  border: 1px dashed #044fc0;
  padding: 10px;
  background:#fff;
  position: relative;
  padding-top: 30px;
  margin-bottom: 10px;
}
.custom_fieldset legend{
  color:#fff;
  padding: 2px 16px;
  background-color: #044fc0;
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 600;
  position: absolute;
  top: -10px;
  display: inline-block;
  width: auto;
}

.image_upload_preview_box{
  max-width: 300px;
  min-height: 150px;
  max-height: 202px;
  border: 1px solid #ddd;
  /* background: #faf8ff; */
  padding: 0px;
  margin-top: 10px;
  position: relative;
  text-align: center;
}

.image_upload_preview_box img{
  z-index: 2;
  position: relative;
}

.image_upload_preview_box:after{
  content: "Upload Image";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.875rem;
  font-weight: 600;
  color: #999;
  margin-top: 10px;
}

.card-text p{
  margin-bottom: 2px
}

.top_right{
  position: absolute;
  top: 5px;
  right: 5px;
}
textarea.form-control{
  height: auto !important;
}
textarea.form-control::placeholder{
  color:#ccc !important;
}
.bg-primary-light{
  background-color: #edf0f9 !important;
}

#pricing_calculation_preview .course_price{
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
}
#pricing_calculation_preview .payment_gateway{
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
} 
#pricing_calculation_preview .your_share{
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
}
#pricing_calculation_preview .our_share{
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;  
}


.input_with_clear_button{
  position: relative;
}
.input_with_clear_button::after{
  content: "X";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  font-size: 16px;
  font-weight: 600;
  z-index: 10;
  background-color: #fff;
  padding: 4px 8px;
  border-radius: 50%;
  border: 1px solid #ddd;
}
.form_group_with_clear_button{
  position: relative;
}
.form_group_with_clear_button .clear_input_button{
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  cursor: pointer;
  color: #666;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.form_group_with_clear_button .clear_input_button:hover{
  color: #000;
  transform: scale(1.1);
}

.form_group_with_clear_button .clear_input_button:active{
  transform: scale(0.95);
}
.select2-container{
  width: initial !important;
}

.bg-warning{
  background-color: #ff7807 !important;
}

/* Ensure select dropdown arrow is visible */
select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* For Firefox */
select.form-control::-ms-expand {
  display: none;
}