
@font-face {
    font-family: "honghahep";
    src: url('UVNHongHaHep_R.woff2') format('woff2'),
     url('UVNHongHaHep_R_clean.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;

}
@font-face {
    font-family: "hhh";
    src: url('UVNHongHaHep_R.woff2') format('woff2'),
     url('UVNHongHaHep_R_clean.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;

}
body {
  -webkit-print-color-adjust: exact !important;
   font-family: honghahep;
   font-size:14px;
   margin: 0; padding: 0;
}
h1{font-size: 28px; font-weight: bold; color:#ff6600; font-family: honghahep}
h2{font-size: 22px; font-weight: bold; color:#009900;  font-family: honghahep}
h3{font-size: 18px; font-weight: bold; color:#479bff;  font-family: honghahep}

input  {padding:5px; font-size: 120%}
select{
  padding: 6px 10px;
    font-size: 14px;
}
select option{
  font-size: 120%;
  line-height: 30px; /* giả lập padding */
}
.menu_header{
  font-family: HongHaHep;
	height:40px;
  align-items: center;
  font-size: 120%;
}
.menu_header ul{
  display:flex;
  padding: 0;
  text-transform:uppercase;
  width: 100%;
  list-style-type: none;
  margin:0 0 0 10px;
}
.menu_header ul li{
	float: left;
	padding-right:20px;
  box-sizing: border-box;
}
.menu_header ul a{
  color:#FFF;
}
.menu_header ul .current{
  color:#FFFF00; font-weight: bold;
}

.menu_header_sub{
  font-family: HongHaHep;
  height:40px;
  align-items: center;
}
.menu_header_sub ul{
  display:flex;
  padding: 0;
  width: 100%;
  list-style-type: none;
  margin:0 0 0 10px;
}
.menu_header_sub ul li{
  float: left;
	padding-right:20px;
  box-sizing: border-box;
}
.menu_header_sub ul a{
  color:#333;
}
.menu_header_sub ul .current{
  font-weight: bold;
  color:#ff6600;
}


#menu_languages  {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #006699;
}

#menu_languages li a {
  display: block;
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: bold;
  float: left;
}

#menu_languages li a:hover {
  background-color: #ff9900;
  color: #fff;
}

.menu_languages_selected{
  background-color: #ff6600;
  color: #fff;
}


#menu_grouplist {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #fff;
  border-bottom:2px solid #666;
   font-size: 120%;
}
#menu_grouplist li a {
  display: block;
  color: #000;
  text-align: center;
  padding: 6px 16px;
  text-decoration: none;
  font-weight: bold;
  float: left;
}
#menu_grouplist li a:hover {
  background-color: #ff9900;
  color: #fff;
}

.grouplist_selected {
  background-color: #f2f2f2;
  color: #ff6600;
}



.lessions {
  list-style: inside;
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-size: 140%;
}
.lessions li a {
  display: inline-block;
  text-align: center;
  padding: 6px 10px;
  text-decoration: none;
  font-weight: bold;
}


.lessions_list {
  list-style: inside;
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-size: 140%;
}
.lessions_list li a {
  display: inline-block;
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
  font-weight: bold;
}
.lessions_list_selected{
  color: #000;
}





.text2speech{background-color: #FFFFFF; color:#000000}
.text2speech:hover{background-color: #ffff99; color:#ff0000}
.text2speech a{color:#000000;}

.speech_selected{background-color: #ff0000; color:#FFFFFF;}
.speech_selected:hover{background-color: #ff0000; color:#FFFFFF;}
.speech_selected a{color:#FFFFFF;}
.speech_selected a:hover{color:#FFFFFF;}

.toggle {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  height: auto;
  width: 7.5rem;
  margin: auto;
  cursor: pointer;
}
.toggle-input {
  display: none;
  margin: 0;
}
.toggle-input:checked + .toggle-controller.default-success {
  border: 0.125rem solid rgba(108, 211, 61, 0.75);
  background: rgba(108, 211, 61, 0.375);
}
.toggle-input:checked + .toggle-controller.default-success:after {
  left: 1.5625rem;
}
.toggle-controller.default-success {
  position: relative;
  display: inline-block;
  cursor: pointer;
  height: 1.5625rem;
  width: 3.125rem;
  border: 0.125rem solid rgba(46, 45, 44, 0.05);
  -webkit-border-radius: 1.5625rem;
  -moz-border-radius: 1.5625rem;
  border-radius: 1.5625rem;
  -webkit-box-shadow: inset 0 0 0.1875rem rgba(46, 45, 44, 0.25);
  -moz-box-shadow: inset 0 0 0.1875rem rgba(46, 45, 44, 0.25);
  box-shadow: inset 0 0 0.1875rem rgba(46, 45, 44, 0.25);
  background: rgba(46, 45, 44, 0.025);
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.toggle-controller.default-success:after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: block;
  height: 1.5625rem;
  width: 1.5625rem;
  -webkit-border-radius: 1.5625rem;
  -moz-border-radius: 1.5625rem;
  border-radius: 1.5625rem;
  -webkit-box-shadow: 0 0.0625rem 0.125rem rgba(46, 45, 44, 0.2);
  -moz-box-shadow: 0 0.0625rem 0.125rem rgba(46, 45, 44, 0.2);
  box-shadow: 0 0.0625rem 0.125rem rgba(46, 45, 44, 0.2);
  background: white;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.table-lession{}
.table-lession td{ cursor: pointer;}

.lession-footer {
  list-style: none;
  padding: 0;
  font-size: 18px;
}
.lession-footer li {
  padding: 5px 10px;
  background-color: #fcfcfc;
  border: 1px solid #DDDDDD;
}
.lession-footer a {
  color: #006699;
  text-decoration: none;
}



a{color:#006699; text-decoration:none; cursor: pointer;}
a:hover{color:#ff6600; text-decoration:underline}

.a_button{
	font-weight:bold; text-decoration:none;
}

.a_organe{border-bottom:2px solid #F60; color:#F60;}
.a_organe:hover{ background-color:#FC9;}

.a_green{border-bottom:2px solid #090; color:#090;}
.a_green:hover{ background-color:#BFFFBF;}

.a_green_light{border-bottom:2px solid #0F0; color:#0F0;}
.a_green_light:hover{ background-color:#6F6;}

.a_red{border-bottom:2px solid #F00; color:#F00;}
.a_red:hover{ background-color:#FFE1E1;}

.a_yellow{border-bottom:2px solid #FF0; color:#000;}
.a_yellow:hover{ background-color:#FF9;}

.a_blue{border-bottom:2px solid #069; color:#069;}
.a_blue:hover{ background-color:#0FF;}

.a_blue_light{border-bottom:2px solid #6FF; color:#6FF;}
.a_blue_light:hover{ background-color:#0FF;}

.a_grey{border-bottom:2px solid #666; color:#666;}
.a_grey:hover{ background-color:#F2f2f2;}

.b_button{
  margin-right:10px;
  text-decoration:none;
  padding:6px 10px;
	border-radius: 5px;
  white-space: nowrap;
  font-size: 110%;
}
.b_button:hover{
	text-decoration:none;
}
.b_button_active{outline: 3px solid #000;
  outline-offset: -3px;
}
.b_flat{
	background-color:#f9f9f9;
	color:#000 ;
	border: 1px solid #666;
	text-align: center;
	padding:2px;
	margin:0;
	font-weight:normal;
	height:24px;
}
.b_flat:hover{background-color:#000; color:#fff;}
.b_flat_active{background-color:#000; color:#fff;}
.a_flat{
	background-color:#f9f9f9;
	color:#000 ;
	border: 1px solid #666;
	text-align: center;
	padding:5px;
	margin:0;
	font-weight:normal;
	height:24px;
}
.a_flat:hover{background-color:#000; color:#fff;}

.a_flat_active{
	background-color:#666;
	color:#fff;
	border: 1px solid #666;
	text-align: center;
	padding:5px;
	margin:0;
	font-weight:normal;
	height:24px;
}

.b_disabled{
	background-color:#f9f9f9;
	color:#999 ;
	border: 1px solid #999;
	text-align: center;
	padding:2px;
	margin:0;
	font-weight:normal;
	height:24px;
}
.b_disabled:hover{background-color:#ccc; color:#666;}

.b_pink{
	color:#fff ;
  text-align: center;
  border: 1px solid #ef09ca;
  background-color:#ef09ca;
  cursor: pointer;
}
.b_pink:hover{background-color:#fff; color:#ef09ca;}


.b_blue{
	color:#fff ;
  text-align: center;
  border: 1px solid #00ADEF;
  background-color:#00ADEF;
  cursor: pointer;
}
.b_blue:hover{background-color:#fff; color:#00ADEF;}

.b_blue_light{
	color:#00ADEF ;
  text-align: center;
  border: 1px solid #00ADEF;
  background-color:#FFFFFF;
  cursor: pointer;
}
.b_blue_light:hover{background-color:#D0E7F7; color:#00ADEF;}

.b_green{
	color: white;
  text-align: center;
  background: #12ab8d;
  border: 1px solid #12ab8d;
  cursor: pointer;
}
.b_green:hover{	background-color:#fff; color:#12ab8d;}

.b_yellow{
  color:#000 ;
  text-align: center;
  background:#FFDE00 ;
  border: 1px solid  #FFDE00;
  cursor: pointer;
}
.b_yellow:hover{ background-color:#fff;  color:#000; }

.b_orange{
	color: white;
  text-align: center;
  background: #e67e22;
  border: 1px solid #da751c;
  cursor: pointer;
}
.b_orange:hover{ background-color:#fff; color:#da751c;}

.b_red{
	color: #fff;
  text-align: center;
  background: #b53224;
  border: 1px solid #b53224;
  cursor: pointer;
}
.b_red:hover{background-color:#fff; color:#b53224;}

.b_grey{
	color:#000;
  text-align: center;
  background: #E8E8E8;
  border: 1px solid #ecf0f1;
  cursor: pointer;
}
.b_grey:hover{	 background-color:#ffffff; color:#000;}

.b_white{
	color:#000;
  text-align: center;
  background: #FFF;
  border: none;
  cursor: pointer;
}
.b_white:hover{	 background-color:#ecf0f1; color:#000;}

#answer_un_correct{
  width: 100%;
  position:fixed;
  top: 0; left: 0;
  background-color: #FF0000;
  color:#FFFFFF;
  font-size: 120%;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  display: none;
}

#footer_config{
  width: 100%;
  position:fixed;
  bottom: 0; left: 0;
  background-color: #F2f2f2;
  padding: 5px;
}



.overflow{
  display:flex;
  white-space: nowrap;
  overflow-x: scroll;
  box-sizing: border-box;
  scrollbar-width:auto;
}
.overflow::-webkit-scrollbar { /*for chrome*/
 display: none;
}
.overflow div{
  white-space: nowrap;
  box-sizing: border-box;
}
.flex_row{
  display:flex;
  flex-direction:row;
}
.flex_col{
  display:flex;
  flex-direction:column;
  align-items: center;
}
.flex_m_col_d_row{
  display:flex;
  flex-direction: row;
}
.flex_detail div{
  padding:0 10px 12px 10px;
}
.flex{
  display:flex;
  box-sizing: border-box;
  white-space: nowrap;
  align-items: center;
}

.custom-select,
.custom-select::picker(select) {
  appearance: base-select;
}

/* Base styling for the select element */
.custom-select {
  padding: 10px 15px;
  background-color: #e3f7ff;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 120%;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  color:#000;
  height: 45px;
}

/* Style the select arrow icon using the new pseudo-element */
.custom-select::picker-icon {
  fill: #666; /* Sets the color of the arrow */
}

/* Hover and focus states */
.custom-select:hover,
.custom-select:focus-visible {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Style the dropdown menu when it is open */
.custom-select:open {
  background-color: #e3f7ff;
  font-family: inherit;
}

.config_function{padding:10px; border:1px solid #8ab7ff; border-radius: 10px; width:90%}

ul.quizrc_others {
  column-count: 2; /* Specifies the number of columns */
  column-gap: 1em; /* Adds space between columns */
  font-size: 16px;
}
ul.quizrc_others li {
  justify-content: space-between; /* Distributes items with space in between */
  align-items: center; /* Aligns items vertically in the center */
}

ul {
  font-size:16px
}
li {padding:5px; margin-left:-10px; }

.tr{background: #FFFFFF}
.tr:hover{background: #d1ecff}
.tr_selected{background: #ffff99}

.btn_record{cursor: pointer; font-size: 24px}
.btn_record:hover{color:#009900}
.btn_record_recording{cursor: pointer;color:#ff0000; font-size: 24px}
.btn_record_recording:hover{color:#666}

.recorder{cursor: pointer; text-align: center; font-size: 24px}
.recorder:hover{background: #ffff99; color: #000}

.recording{background: #ff0000; color:#FFF}
.recording:hover{background: #ff0000; color:#FFF}

.playrecord{background:#fff; color:#009900; text-align: center; font-size: 1.5em; cursor: pointer}
.playrecord:hover{background:#009900; color:#fff; text-align: center; font-size: 1.5em; cursor: pointer}

/*podcast*/
@media screen and (max-width: 768px) {
  /* mobile */
  #contents_podcast {
    float: left; clear:both;
    width:95%;
    height:400px;
    font-size: 18px; overflow:scroll ; border:1px solid #CCC; border-radius:5px;
  }
  #contents_conversation {
    float: left; clear:both;
    width:95%;
    height:400px;
    font-size: 18px; overflow:scroll ; border:1px solid #CCC; border-radius:5px;
  }

  #listening_writing{
    float: left; clear:both; text-align: center;
    width:95%; margin-top: 10px;
  }
  .ul_columns_4d_2m{
    columns:2
  }
}
@media screen and (min-width: 768px) {
  /* desktop or tablet */
  #contents_podcast {
    float: left;
    width:48%;
    height:400px; font-size: 18px; overflow:scroll ; border:1px solid #CCC; border-radius:5px;
  }
  #contents_conversation {
    float: left;
    width:48%;
    height:400px; font-size: 18px; overflow:scroll ; border:1px solid #CCC; border-radius:5px;
  }
  #listening_writing{
    float: left;
    width: 48%; text-align:center; margin-left:2%;
  }
  .ul_columns_4d_2m{
    columns:4
  }

}

.navigation ul{
  list-style-type: circle;
  color: blue;
  margin:0;
  margin-left: 20px;
  padding:0;
}
.navigation  li{ display: inline-block;  padding-right: 25px}

/* lession */
.lession_navigation  ul{
  list-style-type: circle;
  color: blue;
  margin:0;
  margin-left: 20px;
  padding:0;
}
.lession_navigation  li{ display: inline-block;  padding-right: 25px}
.sub_language{color:#999; font-style: italic; font-size: 80%}

.lession_desc {background: #f9f9f9; width:95%; margin-top:10px}

/* music */
.vf-stavenote path{stroke:#000000; fill:#000000}
.vf-stavenote:hover path{stroke:#009900; fill:#009900}
.vf-stavenote-selected path{stroke:#ff0000; fill:#ff0000}

.lyric-selected{stroke:#ff0000; fill:#ff0000}


.select-wrap {
  position: relative;
  display: inline-block;
  min-width: 50px;
}

/* reset style mặc định */
.select-wrap select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 10px;         /* bo tròn pill */
  background-color: #fff;
  padding: 8px 40px 8px 14px;   /* chừa chỗ cho arrow bên phải */
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s;
}

/* hover + focus */
.select-wrap select:hover {
  border-color: #4f8cff;
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.15);
}

.select-wrap select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* mũi tên bên phải */
.select-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

/* khi mở (trick dùng :focus) */
.select-wrap select:focus + .dummy,
.select-wrap:focus-within::after {
  transform: translateY(-30%) rotate(225deg);
}

/* disabled */
.select-wrap select:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
}




/* Ẩn select gốc nhưng vẫn giữ trong DOM để submit form */
select.nice-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  padding: 5px;
}

/* Wrapper bên ngoài */
.nice-select-wrap {
  position: relative;
  display: inline-block;
  min-width: 180px;
  max-width: 1000px;
  font-family: inherit;
  font-size: 14px;
}

/* Ô hiển thị đang chọn */
.nice-select-display {
  padding: 6px 32px 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mũi tên */
.nice-select-arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  pointer-events: none;
}

/* Menu dropdown */
.nice-select-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  margin: 0;
  padding: 4px 5px;
  list-style: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow-y: auto;
  z-index: 9999;
  display: none;
}

/* Từng item */
.nice-select-item {
  padding: 6px 10px;
  cursor: pointer;
  white-space: nowrap;
}

.nice-select-item:hover {
  background: #f0f4ff;
}

.nice-select-item.selected {
  background: #e0ecff;
  font-weight: 600;
}

/* Trạng thái mở */
.nice-select-wrap.open .nice-select-list {
  display: block;
}

.nice-select-wrap.open .nice-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}
