/* =====================================================================
   ETC 2027 — content.css  (every page EXCEPT the home page)
   = the content rules of the old main.css (header/footer/tab/banner rules removed)
   + a small restyle layer at the bottom so existing pages match the new design.
   Page markup is unchanged; all rules apply inside <div class="legacy">.
   ===================================================================== */

/* Old main.css started with "* { margin:0; padding:0 }". Same reset, limited to page content,
   with zero specificity so every original rule still wins exactly as before. */
:where(.legacy) * { margin: 0; padding: 0; }
:where(.legacy) img { max-width: 100%; height: auto; }

:where(.legacy) textarea {
  resize: none;
}
.aligncenter {
  text-align: center;
}
.alignright {
  text-align: right;
}
.none {
  display: none;
}
.nomargin {
  margin: 0 !important;
}
.clearboth {
  clear: both;
}
.floatright {
  float: right;
}
.floatleft {
  float: left;
}
.padding2 {
  padding: 0 2px 2px 0;
}
.b {
  font-weight: 700;
  margin: 10px 0;
}
.extrapx {
  margin: 10px 0 0;
}
.extrapx1 {
  margin: 5px 0 0;
}
.hidden {
  display: none;
}
.form-container {
  max-width: 900px; 
  margin: 0 auto; 
  padding: 20px;
  background: #f9f9f9; 
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.form-section {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 6px;
}
.form-section legend {
  font-size: 1.2em;
  font-weight: bold;
  padding: 0 10px;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.form-row > div.inputdiv {
  flex: 1 1 calc(50% - 10px);
  min-width: 300px;
  
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
.form-row > div.inputdiv {
    flex-direction: row; 
    align-items: center; 
  }
.form-row > div.inputdiv label {
    width: 150px; 
    flex-shrink: 0;
    text-align: right;
    
    padding-right: 25px;
  }
.form-row > div.inputdiv input[type="text"], .form-row > div.inputdiv textarea {
    flex-grow: 1; 
    width: auto;
  }
}
.form-row > div.inputdiv input[type="text"], .form-row > div.inputdiv textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  width: 100%; 
}
.form-group > div.inputdiv {
  width: 100%;
}
.form-group > div.input {
  width: 100%;
}
.form-input, .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; 
}
.form-actions {
  text-align: center;
  padding-top: 20px;
}
.selectcountry {
  color: #000;
  font-weight: 700;
}
.selectlocation {
  padding: 0 0 0 5px;
  font-style: italic;
  color: #222;
}
.selectroom {
  padding: 0 0 0 10px;
}
.container, :where(.legacy) section {
  width: 100%;
  max-width: 1000px;
}
#certified {
  position: absolute;
  right: 0;
  top: -25px;
  z-index: 100;
}
.centertext {
  margin-left: auto;
  margin-right: auto;
  width: 6em;
}
.centerimage {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.scrollpanel {
  background: rgba(255,255,255,0.035);
  padding: 6px 8px;
}
#selectsubcatg label {
  overflow: hidden;
  color: transparent;
  font-size: 0;
}
.main-columns {
  display: flex;
  align-items: stretch;
  gap: 20px;
}
.leftcontent, .rightcontent {
  display: flex;
  flex-direction: column;
  vertical-align: top;
}
.leftcontent {
  width: 630px;
  box-sizing: border-box;
}
.rightcontent {
  width: 350px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  box-sizing: border-box;
  padding-top: 0px;
  padding-bottom: 0;
}
.rightcontent .sectionheaderhome {
  margin-bottom: 24px;
}
.top-spacing-30 {
  height: 30px;
}
.top-spacing-20 {
  height: 20px;
}
.top-spacing-10 {
  height: 10px;
}
.top-spacing-5 {
  height: 5px;
}
.main-columns {
  display: flex;
  align-items: stretch;
  gap: 20px;
}
.leftcontent, .rightcontent {
  align-self: stretch;
}
.rightcontent h4 {
  color: #2c3f65;
  margin: 0 0 10px;
}
.rightcontent .sidecontent {
  padding: 5px;
}
.rightcontent .sectionhome {
  padding: 6px;
}
.sidebar-spacing {
  height: 10px;
}
:where(.legacy) section {
  position: relative;
  vertical-align: top;
  margin: 0 auto;
  padding: 20px 0 0;
}
.sidedescription {
  margin: 10px 0 0;
  padding: 0;
  font-size: 16px;
  color: #000;
}
.sideseperator {
  height: 1px;
  background: #9a9a9a;
  margin: 10px 10px 30px;
}
.rightcontent .course {
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}
.rightcontent .course a {
  padding: 5px;
  color: #fff;
  left: 170px;
  top: 73px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.tabl {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}
.tabl button {
  background-color: inherit;
  float: left;
  border: 1px solid #ccc;
  outline: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: bolder;
  padding: 14px 16px;
  transition: 0.3s;
}
.tabl button:hover {
  background-color: #ddd;
}
.tabl button.active {
  background-color: #ccc;
}
.tabcontent {
  display: none;
  padding: 0px 0px;
  border: 0px solid #ccc;
  border-top: none;
  animation: fadeEffect 1s; 
}
@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.dottedside {
  border-top: 1px #9a9a9a dashed;
  margin: 10px 5px;
}
.aboutlogo {
  float: left;
  margin: 0 5px 5px;
}
.section {
  background: #fff;
  margin: 16px 0 20px;
  font-size: 18px;
  line-height: 200%;
  padding-left: 10px;
  padding-right: 10px;
}
.sectionhome {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin: 8px 0 20px 0;
  font-size: 15px;
  position: relative;
  padding: 18px;
  line-height: 150%;
  width: 100%;
  box-sizing: border-box;
}
.section a {
  color: #4c5f85;
  text-decoration: none;
}
.section a:hover {
  color: #0c1f45;
}
.sectionheader {
  background: #2c3f65;
  margin: 0;
  padding: 5px;
  color: #fff;
  font-size: 18pt;
}
.sectionheaderhome {
  background: linear-gradient(to right, #243866, #1a2c52);
  border-radius: 14px;
  margin: 0 0 10px 0;
  padding: 8px 12px;
  color: #fff;
  font-size: 16pt;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  box-sizing: border-box;
}
.sectionheadercenter {
  background: #2c3f65;
  margin: 0;
  padding: 5px;
  color: #fff;
  font-size: 14pt;
  text-align: center;
}
.sectionheadercentery {
  background: #b9aea5;
  margin: 0;
  padding: 5px;
  color: #ff0;
  font-size: 12pt;
  text-align: center;
}
.sectionheader, .sectionheadercenter, .subsectionheader, .bigheader, .center, .Contactheader {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.section, .sectionhome, .contactsection {
  border-radius: 14px;
  overflow: hidden;
}
.section, .sectionhome, .contactsection, .table, .table2 {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.sectionheader.standalone, .subsectionheader.standalone {
  border-radius: 12px;
  margin-bottom: 10px;
}
.rightcontent iframe, .rightcontent img {
  border-radius: 10px;
}
.readmore {
  display: inline-block;
  *display: inline;
  position: absolute;
  color: #2c3f65;
  font-weight: 700;
  right: 30px;
  bottom: 10px;
}
.readmore:after {
  content: ">";
  text-decoration: none;
}
.fisrtheader {
  color: #8ab4ff;
  margin: 0 0 16px;
}
.homeheader {
  color: #8ab4ff;
  margin: 0 0 16px;
  background-color: #102244;
  font-size: 30px;
  padding: 5px;
  text-align: center;
}
.mainpageh1 {
  color: #dfe9ff;
  margin: 0 0 16px;
  background: linear-gradient(to right, #102244, #0d1d3f);
  border-radius: 16px;
  overflow: hidden;
  font-size: 26px;
  font-weight: 700;
  padding: 18px;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow:
    0 0 6px rgba(120, 170, 255, 0.45), 0 0 14px rgba(120, 170, 255, 0.25);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}
#certified {
  border-radius: 14px;
  overflow: hidden;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.tdcenter {
  border: 1px solid #000;
  text-align: center;
}
.tdleftright5 {
  border: 1px solid #000;
  padding-left: 5px;
  padding-right: 5px;
}
.tdleft {
  border: 1px solid #000;
  padding-left: 5px;
}
.tdcellleft20 {
  border: 1px solid #000;
  padding: 5px;
  width: 20px;
}
.thsubcategory {
  text-align: left;
  background-color: transparent;
  color: #2c3f65;
}
.contenttext {
  font-size: 16px;
  margin: 0 0 18px;
  color: #000;
}
.orderedbranches {
  margin: 0 0 0 25px;
}
.inlineblock {
  display: inline-block;
  font-size: 15px;
}
.dashul {
  list-style: circle;
  margin: 0 0 0 60px;
}
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.table th {
  background: #2c3f65;
  padding: 4px;
  color: #fff;
  font-size: 14pt;
}
.table td {
  font-size: 17px;
  padding: 0px;
}
.table tr.even {
  background: #ddd;
}
.table tr.odd {
  background: #FFF;
}
.table2 {
  width: 100%;
}
.table2 th {
  background: #2c3f65;
  padding: 4px;
  color: #fff;
  font-size: 14pt;
}
.table2 td {
  font-size: 18px;
  padding: 6px;
}
.table2 tr.even {
  background: #ddd;
}
.table2 tr.odd {
  background: #FFF;
}
.table2 tr:nth-child(even) {
  background: #f5eede;
}
.table2 tr:nth-child(odd) {
  background: #FFF;
}
.subsectionheader {
  background: #2c3f65;
  margin: 0;
  padding: 10px 14px;
  color: #fff;
  font-size: 18px;
  border-radius: 12px 12px 0 0;
}
.bigheader {
  background: #2c3f65;
  margin: 10px 0 0;
  padding: 3px;
  padding: 0 0 0 10px;
  color: #fff;
  font-size: 24px;
}
.center {
  text-align: center;
  background: #2c3f65;
  color: #8ab4ff;
  font-size: 25px;
  padding: 10px;
}
.trslotheader {
  background: #87acff;
  margin: 10px 10px 0 0;
  padding: 3px 3px 3px 5px;
  color: #000;
  font-size: 15px;
  text-align: left;
}
.monthheader {
  margin: 0;
  color: #fff;
  font-size: 20px;
  text-align: left;
  padding: 10px 12px;
  background-color: #787e93;
  border-radius: 8px;
}
.extrapx {
  margin: 45px 0 0;
}
.smallth {
  padding: 3px;
  font-family: tahoma;
  font-size: 1.5em;
  font-weight: bold;
}
.input_div_courses label {
  width: auto !important;
}
.input_div_courses input {
  position: relative;
  top: -4px;
  left: 15px;
}
.roadmapimage {
  padding: 10px;
}
.roadlink {
  color: #fff;
  text-decoration: none;
}
.roadlink:hover {
  color: #e4e4e4;
}
.roadmap {
  display: none;
}
.miniroadmapimage {
  width: 140px;
  padding: 5px;
}
.inputdiv label {
  display: inline-block;
  *display: inline;
  width: 220px;
  height: 25px;
}
.inputdiv input {
  padding: 5px;
  margin: 1px;
}
.inputdiv select {
  padding: 5px;
  margin: 1px;
}
.inputdiv input[type="submit"] {
  width: 100px;
  height: 25px;
  padding: 6px;
  margin: 1px;
}
.inputdiv button {
  width: 100px;
  height: 25px;
  padding: 6px;
  margin: 1px;
}
.inputjoin label {
  display: inline-block;
  *display: inline;
  width: 220px;
  height: 25px;
}
.normallink {
  font-size: 12px;
  text-decoration: none;
  color: #2c3f65;
}
.categorylink {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #2c3f85;
  padding: 2px 5px;
  display: block;
}
.categorylink:hover {
  color: #000;
}
.departmentmenu {
  font-size: 16px;
  background: #2c3f65;
  color: #fff;
  padding: 10px;
}
.coursemenu {
  display: inline-block;
  *display: inline;
  width: 300px;
  vertical-align: top;
  margin: 0 15px 0 0;
}
#ajaxcourse {
  display: inline-block;
  *display: inline;
  vertical-align: top;
  width: 685px;
}
.cid {
  display: inline-block;
  text-align: center;
  *display: inline;
  width: 40px;
}
.cname {
  display: inline-block;
  *display: inline;
  width: 345px;
}
.chours {
  display: inline-block;
  *display: inline;
  width: 65px;
  text-align: center;
}
.cfees {
  display: inline-block;
  *display: inline;
  width: 55px;
}
.cimg {
  display: inline-block;
  vertical-align: bottom;
  *display: inline;
  width: 50px;
}
.cart {
  display: inline-block;
  *display: inline;
  width: 120px;
}
.coursedescription:nth-child(odd) {
  background: #fff;
}
.replyred {
  font-size: 14px;
  padding-left: 10px;
  color: red;
}
.coursedescription {
  font-size: 15px;
}
.searchcourse > div {
  display: inline-block;
  *display: inline;
  margin: 0 0 10px;
}
.searchcourse input[type="submit"] {
  margin: 0 0 0 10px;
  padding: 5px 10px;
  color: red;
  font-weight: 700;
}
.submitform label {
  display: inline-block;
  *display: inline;
  width: 250px;
}
.fieldset label {
  width: 100px !important;
}
.width100px {
  width: 100px;
}
.width150px {
  width: 150px;
}
.submitform label[for="etcCourse"] {
  vertical-align: top;
}
.submitform input[type="text"] {
  width: 300px;
  height: 30px;
}
.viewdays {
  color: #2c3f65;
  padding: 0 5px;
  font-weight: 700;
}
.joinschedule {
  color: #2c3f65;
  padding: 0 5px;
  font-weight: 700;
}
.nodays {
  color: #800;
  padding: 0 5px;
  font-size: 10px !important;
  font-weight: 700;
}
.viewdays:hover {
  color: #000;
}
.days {
  padding: 2px;
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
  width: 160px;
}
.delete {
  font-weight: 700;
  color: #b55;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
}
.scheduleform div {
  display: inline-block;
  *display: inline;
  margin: 0 5px 0 0;
  font-size: 16px;
  font-weight: 700;
}
.scheduleform div input[type="text"] {
  width: 125px;
  padding: 2px;
}
.scheduleform input[type="submit"] {
  color: red;
  font-size: 16px;
  font-weight: bold;
  padding: 2px;
}
.scheduleform div select {
  width: 125px;
  font-size: 16px;
  padding: 2px;
}
.scheduleform input[type="submit"] {
  background: linear-gradient(to bottom, #d63b3b, #a81f1f);
  color: #ffffff !important;
  border: 1px solid #7d1515;
  border-radius: 8px;
  padding: 4px 14px !important;
  height: 33px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.22), 0 0 8px rgba(255, 120, 120, 0.18);
  transition:
    transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, filter 0.25s ease;
}
.scheduleform input[type="submit"]:hover {
  background: linear-gradient(to bottom, #f25555, #c92d2d);
  transform: translateY(-3px);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.30), 0 0 18px rgba(255, 120, 120, 0.45);
  filter: brightness(1.08);
}
.scheduleform input[type="submit"]:active {
  transform: scale(0.97);
}
.scheduleform input[type="submit"]:active, #resetPageButton:active {
  transform: scale(0.97);
}
#resetPageButton {
  background: linear-gradient(to bottom, #7b8798, #5d6673);
  border: 1px solid #4b525d;
}
#resetPageButton:hover {
  background: linear-gradient(to bottom, #97a4b6, #707b8a);
}
:where(.legacy) label[for="etcComment"] {
  vertical-align: top;
}
.signature {
  font-family: "Brush Script MT", cursive;
  font-size: 22px;
}
.divtestlinks {
  text-align: center;
}
.selectlocation {
  padding: 0 0 0 10px !important;
  font-size: 14px !important;
  color: #000 !important;
}
.selectcountry {
  color: #444 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.selectroom {
  font-size: 12px !important;
  padding: 0 0 0 15px !important;
}
#courseselection > div {
  display: inline;
}
#courseselection * {
  width: auto;
}
.countryselect {
  z-index: 1000;
  position: absolute;
  top: -55px;
  right: 0;
  font-size: 12pt;
  color: #000;
  background: #ddd;
  font-weight: 700;
  padding: 3px 10px;
}
.countryselect option {
  padding: 2px 5px 2px 2px;
}
.homecountry {
  display: inline !important;
}
#selectpos {
  display: inline-block;
}
#selectpos > div {
  display: inline-block;
}
.addtocart {
  font-size: 12px;
  color: #030;
  text-decoration: none;
  font-weight: 700;
}
.removeocart {
  font-size: 12px;
  color: #300;
  text-decoration: none;
  font-weight: 700;
}
.gotocart {
  text-align: right;
}
.gotocart a {
  margin: 20px 0;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  padding: 5px 15px;
  border: 1px solid #000;
}
.gotocart a:hover {
  color: #2c3f95;
}
.categorydiv {
  margin: 0;
  padding: 0;
}
.depimg {
  margin: 2px 0;
  vertical-align: bottom;
}
.coursedescription span {
  vertical-align: middle;
}
#addcourse {
  color: red;
}
.itemdownload {
  margin: 0 0 0 10px;
  padding: 0;
}
.itemdownload li {
  list-style: none;
  color: #2c3f95;
}
.itemdownload li a {
  color: #2c3f95;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.itemdownload li a:hover {
  color: #5c7fff;
  text-decoration: underline;
}
#emailDays input {
  display: inline-block;
}
#emailDays input[type="submit"] {
  width: 50px;
}
#emailDays input[type="text"] {
  width: 250px;
}
.contact {
  display: none;
  padding-left: 0;
  padding-right: 0;
}
.contactlink {
  color: #fff;
  text-decoration: none;
}
.contactlink:hover {
  color: #e4e4e4;
}
.contactsection {
  background: #fff;
  font-size: 12px;
  position: relative;
  padding: 5px;
  margin-right: 10px;
}
.contactextrapx {
  height: 5px;
}
.contacttext {
  font-size: 16px;
  color: #474747;
  margin: 10px;
}
.contacttext2 {
  font-size: 14px;
  color: #474747;
  margin: 10px;
  text-align: left;
}
.Contactheader {
  width: 100%;
  background: #2c3f65;
  margin: 0;
  padding: 12px 16px;
  color: #fff;
  font-size: 30px;
  border-radius: 12px;
  box-sizing: border-box;
}
.bold_font {
  font-weight: 700;
}
.modern-card, .section, .sectionhome, .contactsection {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.table, .table2, .section, .sectionhome, .contactsection {
  margin-bottom: 24px;
}
.regular_cell {
  width: 100px;
  border: 1px solid #000;
  padding: 5px;
}
.regular_table {
  margin-bottom: 15px;
  width: 100%;
}
.bordered_table {
  border: 1px solid #000;
  padding: 5px;
  width: 100%;
}
.regular_input {
  padding: 3px !important;
  width: 170px;
}
.width_200 {
  width: 200px;
}
.mobile_country_code {
  padding: 3px !important;
  width: 40px;
}
.mobile_country_area {
  padding: 3px !important;
  width: 30px;
}
.mobile_country_number {
  padding: 3px !important;
  width: 80px;
}
.float_left {
  float: left;
}
.regular_select {
  padding: 3px;
  width: 180px;
}
.class_id_right_lable {
  float: left;
  padding-left: 5px;
}
.regular_btn {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 6px;
  padding-right: 6px;
}
.startExam_question {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
  font-weight: 700;
}
.exam_question_img_cont {
  width: 100%;
  margin-bottom: 10px;
  padding-left: 40px;
}
.exam_quest_radio_btn {
  width: 100%;
  padding-left: 40px;
}
.exam_time1 {
  width: 160px;
  position: fixed;
  top: 0;
  left: 0;
  margin-top: 210px;
}
.exam_time2 {
  width: 160px;
  color: red;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}
.exam_time3 {
  width: 160px;
  color: red;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}
.red_font {
  color: red;
}
.padding_left_20 {
  padding-left: 20px;
}
.cannot_goback {
  margin-left: 40px;
  margin-top: 0;
  margin-bottom: 0;
  float: left;
  width: 100%;
  color: red;
}
.cannot_goback_container {
  height: 50px;
  width: 100%;
}
.pause_exam_btn_cont {
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  float: left;
  width: 50px;
}
.pause_exam_btn {
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 10px;
  padding-right: 10px;
}
.next_exam_btn {
  margin-left: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
  float: left;
  width: 50px;
}
.next_pause_cont {
  height: 50px;
  width: 100%;
}
.btn_next {
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 10px;
  padding-right: 10px;
}
.department a {
  color: #fff;
  height: 35px;
  font-size: 12px;
}
.displaynone {
  display: none;
}
.course {
  color: #fff;
  text-decoration: none;
}
.department a:link {
  color: #fff;
  text-decoration: underline;
}
.department a:hover {
  color: #00bbff;
}
.department a:active {
  color: #ff0000;
}
.department a:visited {
  color: #ccc;
}
.schedule_datetime {
  float: left;
  height: 100%;
  font-family: tahoma;
  font-weight: bolder;
  font-size: 20px;
  color: #fff;
  padding: 12px;
}
.schedule_width16 {
  width: 16px;
}
.schedule_width20 {
  width: 20px;
}
.schedule_height50 {
  height: 50px;
}
.schedule_image {
  float: left;
  width: 50px;
  height: 100%;
}
.schedule_fontsize22 {
  font-size: 22px;
}
.schedule_fontsize16 {
  font-size: 16px;
}
.contactus_colorwhite {
  color: #fff;
}
.activeexams_pad20 {
  padding-left: 20px;
}
.activeexams_name {
  margin: 3px;
  padding: 3px;
}
.activeexams_label {
  padding-right: 5px;
  padding-left: 5px;
}
.activeexams_width {
  height: 25px;
}
@media (min-width: 761px) and (max-width: 1022px) {
#certified {
    width: 82%;
  }
.rightcontent .sidecontent {
    padding: 0;
    text-align: center;
  }
.leftcontent {
    width: 100% !important;
  }
:where(.legacy) section {
    width: 100% !important;
    margin-top: 10px;
  }
.sectionhome {
    margin: 8px 0px 20px 0;
  }
.sectionheaderhome {
    margin: 0 0 10px 0;
    border-radius: 14px;
    overflow: hidden;
  }
.rightcontent {
    width: 100% !important;
  }
#demo {
    margin-top: -210px;
  }
}
@media handheld, screen and (max-width: 760px) {
#demo {
    margin-top: -210px;
  }
#StartOnline div {
    padding-left: 0 !important;
  }
#ajaxcourse, #StartOnline img {
    width: 100% !important;
  }
.cart {
    width: 20%;
    min-width: 109px;
  }
.cfees {
    width: 10%;
    min-width: 45px;
  }
.chours {
    min-width: 45px;
    width: 10%;
  }
.cname {
    width: 30%;
  }
.cid {
    width: 10%;
  }
.cimg {
    width: 20%;
  }
#certified, .mobile-hidden, .coursemenu, .fisrtheader, .rightcontent, #testimonials-header, #testimonials-section, #branches-header, #branches-section, #etc-mission-header, #etc-mission-section {
    display: none !important;
  }
a.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
.active {
    background-color: none;
    color: white;
  }
.leftcontent {
    width: 100% !important;
  }
:where(.legacy) section {
    width: 100% !important;
    margin-top: 10px;
  }
.sectionhome {
    margin: 8px 0px 20px 0;
  }
.sectionheaderhome {
    margin: 0 0 10px 0;
    border-radius: 14px;
    overflow: hidden;
  }
.rightcontent {
    width: 100% !important;
  }
.section {
    margin: 0;
  }
.readmore {
    position: initial;
  }
}
:where(.legacy) img {
  max-width: 100%;
  height: auto;
}
table-links {
  border-collapse: collapse;
  max-width: 100%;
  table-layout: auto;
  border-spacing: 0px;
}
:where(.legacy) th, :where(.legacy) td {
  text-align: left;
  padding: 2px;
}
:where(.legacy) tr:nth-child(even) {
  background-color: #f2f2f2;
}
.etc-directory-wrap {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto 35px;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 18px;
}
.etc-directory-header {
  background: #133d8d;
  color: #fff;
  padding: 24px 28px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  box-sizing: border-box;
  width: 100%;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background-clip: padding-box;
  margin: 0;
  margin-bottom: 5px;
}
.etc-directory-header h1 {
  margin: 0 0 8px;
  padding: 0;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}
.etc-directory-header p {
  margin: 0;
  color: #eef3ff;
  font-size: 17px;
}
.etc-directory-tools {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 26px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  box-sizing: border-box;
  overflow: hidden;
}
.etc-course-search {
  width: 100%;
  max-width: 100%;
  display: block;
  padding: 13px 16px;
  font-size: 18px;
  border: 1px solid #bbb;
  border-radius: 8px;
  margin-bottom: 14px;
  box-sizing: border-box;
}
.etc-course-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.etc-course-filters button {
  padding: 9px 16px;
  border: 1px solid #aaa;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
}
.etc-course-filters button.active, .etc-course-filters button:hover {
  background: #133d8d;
  color: #fff;
  border-color: #133d8d;
}
.etc-category-section {
  margin-bottom: 36px;
}
.etc-category-heading {
  font-size: 22px;
  font-weight: 700;
  color: #133d8d;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #133d8d;
}
.etc-category-section[hidden] {
  display: none !important;
}
.etc-course-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  box-sizing: border-box;
}
.etc-course-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  box-sizing: border-box;
  overflow: hidden;
}
.etc-course-card h2 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid #ddd;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}
.etc-course-card h2 a {
  color: #133d8d;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.etc-course-card h2 a:hover {
  color: #0a2566;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.etc-course-card a.etc-course-link {
  display: block;
  color: #333;
  text-decoration: none;
  margin: 7px 0;
  font-size: 15px;
  line-height: 1.35;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}
.etc-course-card a.etc-course-link:hover {
  color: #133d8d;
  text-decoration: underline;
}
.etc-category-label {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: #fff;
  background: #0c2c68;
  border-radius: 999px;
  padding: 3px 9px;
}
.etc-no-results {
  display: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #666;
  margin-top: 18px;
}
@media (max-width: 1100px) {
.etc-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
.etc-course-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
.etc-directory-header h1 {
    font-size: 22px;
  }
.etc-directory-header p {
    font-size: 15px;
  }
.etc-course-search {
    font-size: 16px;
  }
.etc-course-filters button {
    width: 100%;
    text-align: left;
  }
}
.subsectionheader {
  border-radius: 14px;
  margin: 18px 0 10px;
  overflow: hidden;
}
.table {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  border-collapse: separate;
  border-spacing: 0;
}
.table .subsectionheader, .table h2.subsectionheader {
  border-radius: 14px;
  margin: 0 0 10px;
}
.monthheader {
  border-radius: 10px;
  margin: 10px 0 6px;
  overflow: hidden;
}
.trslotheader {
  border-radius: 8px;
  margin: 8px 0 4px;
  overflow: hidden;
}
.subsectionheader {
  margin-bottom: 14px;
}
.table {
  margin-top: 14px;
}
.table .subsectionheader, .table h2.subsectionheader {
  margin-bottom: 18px;
}
.table .subsectionheader {
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.departmentrow, .courserow, .categoryrow {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4px;
  padding-bottom: 4px;
}
.departmentrow:last-child, .courserow:last-child, .categoryrow:last-child {
  border-bottom: none;
}
.courserow {
  background: #314777;
  border-radius: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.table > tbody > tr:first-child, .table > tbody > tr:first-child td {
  background: transparent !important;
  padding: 0 !important;
}
.table {
  border-collapse: separate !important;
  border-spacing: 0 5px !important;
}
.table tr.even td {
  background: #ffffff !important;
}
.table tr.odd td {
  background: #f5eede !important;
}
.table tr td:has(.subsectionheader), .table tr td:has(.monthheader), .table tr td:has(.trslotheader) {
  background: transparent !important;
}
.certificate-table, .certificate-detail-table, .certificate-wrapper {
  background: transparent !important;
  box-shadow: none !important;
}
.section .categorylink {
  display: block;
  background: #314777;
  color: #fff;
  border-radius: 12px;
  margin-bottom: 6px;
  padding: 6px 10px;
  overflow: hidden;
}
.section .categorylink:last-child {
  margin-bottom: 0;
}
.section .categorylink {
  display: block;
  background: #314777;
  color: #fff;
  border-radius: 12px;
  margin-bottom: 6px;
  padding: 6px 10px;
  overflow: hidden;
}
.section .categorylink:last-child {
  margin-bottom: 0;
}
.contact .sectionheader {
  display: block !important;
  background: #314777 !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  line-height: normal !important;
}
.contact .sectionheader a, .contact .sectionheader .contactlink {
  display: block !important;
  padding: 8px 12px !important;
  color: #fff !important;
  text-decoration: none !important;
}
.contact .sectionheader:last-child {
  margin-bottom: 0 !important;
}
.certificate-table tr.even td {
  background: #ffffff;
}
.certificate-table tr.odd td {
  background: #f5eede;
}
.certificate-table, .certificate-detail-table {
  width: 100%;
  background: transparent !important;
  box-shadow: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.certificate-table tr, .certificate-table td, .certificate-detail-table tr, .certificate-detail-table td {
  background: transparent !important;
  padding: 0 !important;
}
.certificate-table .Contactheader {
  margin-bottom: 8px;
}
.certificate-table .sectionheader {
  margin: 0 0 8px 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.contact-director-card {
  background: #2c3f65;
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.contact-director-card table {
  background: transparent;
}
.contact-director-card td {
  background: transparent;
  vertical-align: middle;
}
.contact-country-title {
  background: #133d8d;
  color: #fff;
  padding: 18px 24px;
  border-radius: 14px;
  margin: 0 0 22px;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.contact-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 16px;
  background: transparent;
}
.contact-table tr, .contact-table td {
  background: transparent !important;
  padding: 0;
}
.contact-table .Contactheader {
  border-radius: 14px;
  margin-bottom: 10px;
}
.contact-table .contact {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 10px 0 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.certificate-table .Contactheader {
  font-size: 24px;
  padding: 10px 16px;
  line-height: 1.2;
}
.certificate-table .Contactheader a {
  font-size: inherit;
  line-height: inherit;
}
.certificate-table .Contactheader {
  font-size: 24px;
  padding: 10px 16px;
  font-weight: 700;
}
.contact .sectionheader a, .contact .sectionheader .contactlink {
  font-size: 18px;
  font-weight: 600;
  padding: 6px 12px !important;
  line-height: 1.2;
  color: #f3f3f3 !important;
}
.contact .sectionheader {
  background: #3a4f82 !important;
}
.roadmap-main-title, .sectionheadercenter.bigheader {
  font-size: 42px;
  padding: 18px 24px;
  border-radius: 14px;
  font-weight: 700;
}
.Contactheader {
  font-size: 24px !important;
  font-weight: 700;
  padding: 10px 18px !important;
  background: #314777 !important;
  border-radius: 14px !important;
  line-height: 1.2;
}
.Contactheader a {
  font-size: inherit;
  color: #fff !important;
  text-decoration: none;
}
.exam-results {
  background: transparent;
}
.exam-results .monthheader, .exam-results .subsectionheader {
  margin: 18px 0 10px;
  border-radius: 12px;
}
.exam-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  margin-bottom: 24px;
}
.exam-table th {
  background: #2c3f65;
  color: #fff;
  padding: 8px 10px;
  font-size: 17px;
  border: none;
}
.exam-table td {
  border: none;
  padding: 9px 10px;
  font-size: 16px;
}
.exam-table tr.examrow.even td {
  background: #eef2fa !important;
}
.exam-table tr.examrow.odd td {
  background: #ffffff !important;
}
.exam-table a {
  color: #1c4fb6;
  font-weight: 600;
  text-decoration: none;
}
.exam-table a:hover {
  text-decoration: underline;
}
.whatsapp-btn, .phone-btn, .social-btn, .certificate-btn {
  display: inline-block;
  transition:
    transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease;
  border-radius: 14px;
}
.whatsapp-btn:hover, .phone-btn:hover, .social-btn:hover, .certificate-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.28), 0 0 15px rgba(120, 170, 255, 0.35);
  filter: brightness(1.08);
}
.whatsapp-btn:hover {
  background: #25D366;
}
.phone-btn:hover {
  background: rgba(53, 94, 168, 0.15);
}
.certificate-btn:hover {
  background: rgba(90, 141, 240, 0.12);
}
.social-btn:hover img {
  transform: scale(1.08);
}
.social-btn img, .whatsapp-btn img, .phone-btn img, .certificate-btn img {
  transition:
    transform 0.25s ease, filter 0.25s ease;
}
.youtube-preview {
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18);
}
.youtube-preview:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.32), 0 0 18px rgba(120, 170, 255, 0.35);
  filter: brightness(1.05);
}
.main-columns {
  align-items: stretch;
}
.rightcontent {
  min-height: 100%;
  align-self: stretch;
  padding-bottom: 0;
}
.leftcontent {
  align-self: stretch;
}
.aboutlogo {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}
.mission-text {
  overflow: hidden;
}
.whatsapp-holder {
  margin-top: 25px;
  text-align: center;
}
.rightcontent .sidecontent:first-child {
  padding-bottom: 28px;
}
#etc-mission-section-1 {
  display: flex;
  align-items: center;
  gap: 22px;
}
#etc-mission-section-1 .aboutlogo {
  float: none;
  width: 300px;
  flex-shrink: 0;
  margin: 0;
}
#etc-mission-section-1 .mission-text {
  flex: 1;
  overflow: visible;
}
#etc-mission-section-1 .whatsapp-holder {
  text-align: center;
  margin-top: 0;
}
#etc-mission-section-1 {
  width: 100%;
  box-sizing: border-box;
}
#etc-mission-section-1 {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  width: 100%;
  box-sizing: border-box;
}
#etc-mission-section-1 .aboutlogo {
  width: 340px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0;
}
#etc-mission-section-1 .mission-text {
  padding-top: 6px;
  flex: 1;
  line-height: 1.6;
}
@media (max-width: 759px) {
#etc-mission-section-1 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }
.aboutlogo {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    margin: 0 auto 15px auto !important;
  }
.mission-text {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    text-align: left !important;
  }
.mission-text p {
    display: block !important;
    width: 100% !important;
    font-size: 18px;
    line-height: 1.7;
    text-align: left !important;
  }
}
@media screen and (max-width: 780px) {
.scheduleform {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    margin-bottom: 16px;
  }
.scheduleform div {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100% !important;
    margin: 0 !important;
    gap: 8px;
  }
.scheduleform div label {
    width: 90px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: #2c3f65;
    text-align: right;
  }
.scheduleform div select, .scheduleform div input[type="text"], .scheduleform div input[type="number"] {
    flex: 1;
    width: auto !important;
    font-size: 14px;
    padding: 6px 8px;
    border: 1px solid #bbb;
    border-radius: 6px;
    box-sizing: border-box;
  }
.scheduleform input[type="submit"] {
    width: 100% !important;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #133d8d;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 4px;
  }
.scheduleform button[id="resetPageButton"] {
    width: 100% !important;
    padding: 8px;
    font-size: 14px;
    border-radius: 8px;
    margin-top: 0;
  }
.scheduleform input[type="submit"] {
    background: #cc0000 !important;
    color: #fff !important;
  }
.scheduleform input[type="submit"], .scheduleform button[id="resetPageButton"] {
    width: auto !important;
    min-width: 100px;
    max-width: 160px;
    display: inline-block;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    margin: 6px auto;
    display: block;
  }
.scheduleform input[type="submit"] {
    background: #cc0000 !important;
    color: #fff !important;
  }
.scheduleform button[id="resetPageButton"] {
    background: #5a6268 !important;
    color: #fff !important;
    border: 1px solid #4a525a !important;
  }
.scheduleform input[type="submit"]:hover, .scheduleform input[type="submit"]:active {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(180, 0, 0, 0.35);
  }
.scheduleform button[id="resetPageButton"]:hover, .scheduleform button[id="resetPageButton"]:active {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.30);
  }
}

/* =====================================================================
   Restyle layer — aligns existing pages with the 2027 design
   ===================================================================== */
main.page { background: #eef1f6; padding: 1.5rem 0 3rem; }
.legacy { font-family: var(--font); color: var(--ink); font-size: 16px; line-height: 1.55; }
.legacy .etc-directory-wrap { font-family: inherit; color: var(--ink); }
.legacy input, .legacy select, .legacy textarea, .legacy button { font-family: inherit; }

/* Page title banner used by most pages */
.legacy .etc-directory-header {
    background: radial-gradient(120% 160% at 90% 0%, #2a4a8f 0%, var(--navy-800) 55%, var(--navy-900) 100%);
    border-radius: 16px; padding: 28px 30px; box-shadow: 0 6px 20px rgba(16, 34, 68, .18); margin-bottom: 18px;
}
.legacy .etc-directory-header h1 {
    text-transform: none; font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.01em; color: #fff;
}
.legacy .etc-directory-header p { color: #dbe3f1; font-size: 1.02rem; }

/* Section headers: one consistent navy instead of several blues */
.legacy .sectionheader, .legacy .subsectionheader, .legacy .sectionheadercenter,
.legacy .sectionheaderhome, .legacy .Contactheader, .legacy .monthheader {
    background: var(--navy-800); color: #fff; letter-spacing: -.005em;
}
.legacy .homeheader { background: var(--navy-800); color: #fff; border-radius: 14px; font-size: clamp(1.4rem, 3vw, 1.9rem); padding: 14px 16px; }
.legacy .table th, .legacy .table2 th { background: var(--navy-800); }

/* Links and buttons */
.legacy a { color: var(--blue); }
.legacy a:hover { color: var(--blue-dark); }
.legacy .etc-directory-header a { color: #fff; }

/* Ajax popup used by Schedule, Exams and Join Class (markup lives in layout/main.php) */
#ajaxbox {
    display: none; position: fixed; inset: 0; z-index: 2000; overflow: auto;
    background: rgba(11, 23, 48, .55); padding: 24px 12px;
}
#inajax {
    position: relative; width: min(620px, 100%); margin: 40px auto; padding: 32px 24px 24px;
    background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    text-align: center; font-family: var(--font); color: var(--ink);
}
#closeajaxbox {
    position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    background: #eef1f6; color: var(--navy-800); font-weight: 700; font-size: 14px; text-decoration: none;
}
#closeajaxbox:hover { background: var(--navy-800); color: #fff; }

@media (max-width: 760px) {
    main.page { padding-top: 1rem; }
    .legacy .etc-directory-header { padding: 20px 18px; border-radius: 14px; }
    /* Forms (Waiting List, Jobs, ...) were wider than a phone screen */
    .legacy .form-row > div.inputdiv { min-width: 0; flex-basis: 100%; }
    .legacy .inputdiv label { width: auto; height: auto; display: block; }
    .legacy input, .legacy select, .legacy textarea { max-width: 100%; }
    .legacy .form-section { padding: 14px; }
}
