﻿[data-rlta-type="accordions"] h3 {
  text-align: center;
}
body.wrapper-fluid .site-grid {
  grid-gap: 0 1em !important;
}
h1, .h1 {
  font-size: 18px !important;
}
h2, .h2 {
  font-size: 17px !important;
}
h3, .h3 {
  font-size: 16px !important;
}
h4, .h4 {
  font-size: 14px !important;
}
h5, .h5 {
  font-size: 13px !important;
}
h6, .h6 {
  font-size: 12px !important;
}
.alert-message {
  text-align: center !important;
  font-size: 20px !important;
}
table{
border: solid 1px #e0e0e0;
}
.breadcrumb {
background-color: #d8d8d8 !important;
}

.scroll-container {
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            padding: 10px 0;
            position: relative;
        }
.scroll-text {
            display: inline-block;
            white-space: nowrap;
            position: absolute;
			top: 0;
            animation: scroll 15s linear infinite;
        }
        @keyframes scroll {
            from {
                transform: translateX(0%);
            }
            to {
                transform: translateX(-100%);
            }
        }
/* header */
.container-below-top {
 width: 100%;
 background-color: #fff;
}
.container-below-top .mod-custom {
 margin: 0 auto;
}
.container-header {
 /* huo background-color: #f7f7f7; */
  background-color: #4e7661;
  box-shadow: unset;
  background-image: none;
}
.container-topbar {
  background-color: #4e7661;
  padding: 10px 0;
  text-align: right;
  min-height: 40px;
  margin-top: -26px;
}
.container-header .mod-menu {
 /* huo color: #4e7661; */
 color: #f9f9f9;
}
/* menu center */
.container-header .container-nav {
  justify-content: center;
}
.below-top-bg {
 padding: 10px 0;
}
.logo-img {
max-height: 40px;
margin-left: -10px;
}
/* footer */
.footer {
background-image: url(/images/dotbg.png);
padding: 10px 0 !important;
border-top: solid 1px #e0e0e0 !important;
background-color: #f9f9f9 !important;
}
.footer .grid-child {
padding: 0;
}
/* login */
.login-note {
  display: none;
}
.mod-login {
  width: 300px;
  margin: 0 auto;
  padding: 20px 10px 0;
}
.mod-login-logout {
  width: 200px;
  margin: 0 auto;
  padding: 20px;
}
#com-users-login__form {
  display: none;
}
.com-users-login__options  {
  display: none;
}
/* alert */
#system-message-container joomla-alert[type="info"], #system-message-container joomla-alert[type="notice"] {
  --alert-accent-color: #4e7661;
  --alert-heading-text: #fffffff2;
  --alert-close-button: #4e7661;
  background-color: #fff;
}
#system-message-container joomla-alert{
  border: 1px solid #4e7661;
}
/* menu */
.container-banner {
  background-color: #e2eaf5;
}
#navbar1 {
  margin-left: -16px;
}
.container-header .navbar-toggler {
  /* huo color: #333 !important;
  cursor: pointer;
  border: 1px solid #333 !important;
  */
}
.navbar-toggler:focus {
  box-shadow: none;
}
/* button */
.btn-primary {
  --btn-color: #fff;
  --btn-bg: #4e7661;
  --btn-border-color: #4e7661;
  --btn-hover-color: #fff;
  --btn-hover-bg: #4e7661;
  --btn-hover-border-color: #4e7661;
  --btn-focus-shadow-rgb: 39,39,111;
  --btn-active-color: #fff;
  --btn-active-bg: #4e7661;
  --btn-active-border-color: #4e7661;
  --btn-active-shadow: inset 0 3px 5px #00000020;
  --btn-disabled-color: #fff;
  --btn-disabled-bg: #4e7661;
  --btn-disabled-border-color: #4e7661;
}
.btn-primary {
  background-color: #4e7661;
  border-color: #4e7661;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #446754;
    box-shadow: inset -1px -1px 1px rgba(0, 0, 0, 0.15);
    color: #ffffff;
	border: 1px solid #4e7661;
}
.pagenavigation .btn-secondary {
  background-color: #4e7661 !important;
  color: #fff !important;
  padding: 5px 20px !important;
}
/* link */
a {
  color: #4e7661;
}
a:hover {
  color: #4e7661;
}
a:not([class]) {
  text-decoration: none !important;
}

/* alert */
#system-message-container joomla-alert div{
 background-color: #e2eaf5;
}

/** huo
html[lang="en-gb"] .aq-dt-results {
max-height: 750px;
}

/* huo add */
.jj_class .page-header {
  display: none;
}
/** jj part */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --color-red-500: oklch(0.637 0.237 25.331);
    --color-gray-100: oklch(0.967 0.003 264.542);
    --color-gray-400: oklch(0.707 0.022 261.325);
    --color-gray-500: oklch(0.551 0.027 264.364);
    --color-gray-900: oklch(0.21 0.034 264.665);
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --radius-lg: 0.5rem;
    --default-font-family: var(--font-sans);
    --default-font-feature-settings: var(--font-sans--font-feature-settings);
    --default-font-variation-settings: var(--font-sans--font-variation-settings);
    --default-mono-font-family: var(--font-mono);
    --default-mono-font-feature-settings: var(--font-mono--font-feature-settings);
    --default-mono-font-variation-settings: var(--font-mono--font-variation-settings);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  body {
    line-height: inherit;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
    color: color-mix(in oklab, currentColor 50%, transparent);
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none!important;
  }
}
@layer utilities {
  .mt2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .h-auto {
    height: auto;
  }
  .w-20 {
    width: calc(var(--spacing) * 20);
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .items-center {
    align-items: center;
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .text-gray-400 {
    color: var(--color-gray-400);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-900 {
    color: var(--color-gray-900);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .md\:p-8 {
    @media (width >= 48rem) {
      padding: calc(var(--spacing) * 8);
    }
  }
  .lg\:grid-cols-4 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
}

/* huo add */
.readmore a {
 border-color: #575e64;
}
.page-header {
 display: none;
}
.article_class .page-header {
 display: block;
}
.page_header_p {
min-width: 243px;
}
.blog-item .item-content {
min-width: 243px;
}
.blog-items .blog-item {
    padding: 20px !important;
    background-color: #e2eaf5 !important;
    border-radius: 10px;
	border-left: solid 5px #4e7661 !important;
  }
.speaking_title {
  	 padding: 20px;
}
.speaking_title_no_border {
    padding: 20px 20px 0px 20px;
	border: none;
	width: 100%;
}
.choose_one {
  padding-left: 45px;
  font-size: 14px;
  font-weight: normal;
}
.sp7_p {
  margin: 0px 10px 0px 22px;
  padding-bottom: 20px;
  border-bottom: solid 1px #f9f9f9;
}
.jj_class .page-header {
  display: none;
}
.jj_container {
      width: 100%;
	  max-width: 960px;
	  margin: 0 auto;
      /* huo min-height: 100vh;*/
      background-color: white;
      border: 1px solid #d1d5db;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    .jj_header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #f3f4f6;
      border-bottom: 1px solid #d1d5db;
      padding: 0.5rem 1.5rem;
      font-weight: 600;
      color: #374151;
      flex-wrap: wrap;
    }

    .panel-wrapper {
      display: flex;
      flex-wrap: wrap;
    }

    .left-panel,
    .right-panel {
      padding: 1rem;
    }

    .left-panel {
      background-color: #f5f5f5;
      border-right: 1px solid #d1d5db;
      flex: 0 0 30%;
      box-sizing: border-box;
    }

    .right-panel {
      background-color: #EEF8F9;
      flex: 0 0 70%;
      box-sizing: border-box;
    }

    .panel-header {
      display: flex;
      align-items: flex-start;
    }

    .panel-header i {
      color: #1A578A;
      margin-right: 0.5rem;
      margin-top: 0.25rem;
    }

    .panel-title {
      font-size: 1.125rem;
      font-weight: 600;
      color: #1A578A;
      margin: 0;
    }

    p {
      line-height: 1.6;
      margin-top: 0;
    }

    ul {
      list-style-type: disc;
      margin-left: 1.5rem;
      margin-bottom: 1rem;
      line-height: 1.6;
      padding-left: 0;
    }

    textarea {
      width: 100%;
      height: 8rem;
      border: 1px solid #d1d5db;
	  border-radius: 5px;
      background-color: white;
      color: #1f2937;
      padding: 0.5rem;
      resize: none;
      font-family: inherit;
      font-size: 0.875rem;
      box-sizing: border-box;
    }
	#rlta-panel-xie-zuo-kuang [data-rlta-element="container"][data-rlta-state="ready"][data-rlta-theme="neutral"][data-rlta-type="tabs"] > [data-rlta-element="panels"] > [data-rlta-element="panel"] > [data-rlta-element="panel-content"] {
	 padding: 0 !important;
	}
  .keyking_note {
      font-size: 0.75rem;
      color: #374151;
      margin-top: 0.5rem;
      font-style: italic;
	  margin-top: 10px;
	  margin-left: 20px;
    }
	.pic_timer {
	 width: 100%;
	}
	.keyking_note_sp3-4 {
      font-size: 0.75rem;
      color: #374151;
      margin-top: 0.5rem;
      font-style: italic;
	  margin-top: 20px;
	  margin-left: 20px;
    }
    .percent60 {
	 width: 58%;
	 margin-left: 2%;
	 float: left;
	}
	.percent60 img {
	 max-height: 400px;
	}
	 .percent40 {
	 width: 40%;
	 margin-left: auto;
	 margin-right: auto;
	 margin-top: 160px;
	 float: left;
	}
	 .percent40 img {
	 margin: 0 auto;
	 }
	 .sample_class { 
	 max-width: 960px; 
	 margin: 0 auto;
	 }
    @media (max-width: 768px) {
	 .speaking_title {
  	 padding: 2px !important;
    }
	.choose_one {
     padding-left: 25px;
     }
      .left-panel,
      .right-panel {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid #d1d5db;
      }
	  .sp3-4-left-pic {
	   max-width: 93% !important;
	  }
	  .percent60 {
	  width: 100%;
	  margin: 10px !important;
	}
	 .percent40 {
	 width: 100%;
	 margin-top: 20px;
	}
	  #mod-custom111 textarea{
	   display: block;
	  }
      .right-panel {
        border-bottom: none;
      }
    }
/* 注意*/
.com-content-blog__links {
  display: none;
}
.pagination {
  --pagination-active-bg: #4e7661 !important;
  --pagination-active-border-color: #4e7661 !important;
  --pagination-disabled-color: #fff !important;
  max-width: 960px;
  margin: 0 auto !important;
  padding: 20px 0 10px 0 !important;
}
.page-link {
 color: #4e7661 !important;
}
.page-link.active, .active > .page-link {
  color: #ffffff !important;
}
/* writing task 2 */
.option_block {
  margin-left: 30px;
  margin-top: -23px;
}
/* speaking 5 */
 .three-parts {
  margin-left: 23px;
 }
 .backBtn {
			width: 62px;
            height: 24px;
            background-color: #A6192E;
            color: #fff;
            border: none;
			float:right;
			margin-right: 25px;
        }
 .div-container {
            display: none;
            padding: 20px;
        }

        #div1 { }
        #div2 { }
        #div3 { }

        .show {
            display: block;
        }

        #nextBtn {
            cursor: pointer;
            width: 61px;
            height: 24px;
        }
 .comparison-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
      }

      .box {
        border: 1px solid #ccc;
        padding: 16px;
      }

      .box img {
        width: 100%;
        height: auto;
        margin-bottom: 12px;
      }

      .light-green {
        background-color: #f0fdf4;
      }

      .pet-title {
        font-weight: bold;
        margin-bottom: 8px;
        color: #2d3748;
      }

      ul {
        font-size: 14px;
        color: #4a5568;
        padding-left: 20px;
      }

      .note {
        font-size: 12px;
        color: #4a5568;
        font-style: italic;
        margin-top: 16px;
      }



      /* 响应式样式 */
      @media (max-width: 768px) {
        .comparison-grid {
          grid-template-columns: 1fr; /* 列布局变成单列 */
        }

        .instruction {
          font-size: 16px;
        }

        .box {
          padding: 12px;
        }

        .header {
          flex-direction: column;
          text-align: center;
        }

        .header-left, .header-middle {
          margin-bottom: 8px;
        }
      }

      @media (max-width: 480px) {
        .instruction {
          font-size: 14px;
        }

        .pet-title {
          font-size: 16px;
        }

        .note {
          font-size: 10px;
        }

      }