/*
Theme Name: Flatsome Child
Description: Design By Code-WP.com
Author: Code-WP.com
Template: flatsome
Version: 3.1
*/
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&display=swap");

:root {
  --primary-color: #55acee;
  --secondary-color: #fcdd27;
  --background-gradient: radial-gradient(
    circle,
    #f7dbe6 0%,
    #f2c9d9 40%,
    #efc1d4 100%
  );
}

/*************** ADD CUSTOM CSS HERE.   ***************/
.block_gioithieu:before {
  content: "";
  background: #fff9d680;
  position: absolute;
  right: 0px;
  top: 0px;
  height: 100%;
  width: 80%;
}
h2.thin-font,
.block_title h2 {
  font-size: 40px;
  color: var(--primary-color);
}
.custom-h2 {
  font-size: 30px;
  color: var(--primary-color);
}
.custom-text-h2 h2 {
  font-size: 40px;
  margin-bottom: 0px;
  color: var(--primary-color);
}
.custom-text-h2 h3 {
  font-size: 30px;
  margin-bottom: 0px;
  color: var(--primary-color);
}
.bg_image:before {
  background: #fff9d680;
  content: "";
  width: 65%;
  height: 100%;
  position: absolute;
  top: 40px;
  right: -16px;
}
.custom-text-x-h2 {
  font-size: 20px;
}
.image-box-h4 h4 {
  font-size: 25px;
}
.border-radius img {
  border-radius: 10px;
}
.title_h2 h2 {
  font-size: 30px;
  font-family: "Baloo 2", cursive;
  text-transform: uppercase;
  text-indent: 10px;
}
ul.header-nav.header-nav-main.nav.nav-left.nav-size-medium.nav-spacing-xlarge.nav-uppercase
  a.nav-top-link {
  font-family: "Baloo 2", cursive;
  font-size: 17px;
}
.title_h2:before {
  content: "";
  position: absolute;
  height: 28px;
  width: 5px;
  background: #000000;
  top: 5px;
}
.cf7-custom-form {
  max-width: 100%;

  border-radius: 0;
}

.cf7-custom-form label {
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin-bottom: 0px;
}

.cf7-row {
  margin-bottom: 15px;
  width: 100%;
}

.cf7-row.two-col {
  display: flex;
  gap: 25px;
}

.cf7-row.two-col .cf7-col {
  flex: 1;
}

.cf7-input,
.cf7-textarea,
input.wpcf7-form-control {
  width: 100%;
  border: 2px solid #8c8c8c;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 18px;
  box-sizing: border-box;
  background: #fff;
  outline: none;
}

.cf7-input,
input.wpcf7-form-control {
  height: 50px;
  margin-bottom: 0px;
}
input.wpcf7-form-control.wpcf7-submit {
  background: #55acee;
  border: unset;
  padding: 0px;
}
.cf7-textarea {
  height: 170px;
  resize: vertical;
}
#footer .ux-menu-title.flex {
  font-size: 20px;
  font-weight: 400;
  color: #9c9c9c;
}
.cf7-submit {
  background: #4da3e6;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 18px 80px;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.cf7-submit:hover {
  opacity: 0.9;
}

.cf7-custom-form select.cf7-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 22px;
}

.cf7-custom-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.cf7-custom-form .wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 14px;
}

/* Contact form custom styles */
.school-contact-minimal {
  width: 100%;
  max-width: 700px;
  font-family: Arial, sans-serif;
}

.contact-heading {
  font-size: 32px;
  color: #3d4b2f;
  margin-bottom: 30px;
  font-weight: 700;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.7;
}

.contact-line i {
  margin-top: 5px;
  color: #ffffff;
  font-size: 20px;
  background: #55acee;
  margin: 0px;
  text-align: center;
  padding: 10px;
  width: 40px;
  border-radius: 5px;
}
.justcenter {
  text-align: justify;
}
.contact-line a {
  text-decoration: none;
  transition: 0.3s;
  color: #333;
}

.contact-line a:hover {
  color: #b58a3a;
}
ul.workshop-schedule-list {
  font-size: 18px;
}
h3.section-title.section-title-normal {
  border-bottom: unset;
  font-size: 28px;
}
h3.section-title.section-title-normal span.section-title-main {
  border-bottom: unset;
}
.nav-pagination > li > a,
.nav-pagination > li > span {
  border: 1px solid;
  border-radius: 5px;
  display: block;
  font-size: 1.1em;
  font-weight: bolder;
  height: 2.25em;
  line-height: 2em;
  min-width: 2.25em;
  padding: 0 7px;
  text-align: center;
  transition: all 0.3s;
  vertical-align: top;
  width: auto;
}
.box-hoctap h2 {
  font-size: 30px;
}
/* Câu hỏi thường gặp */
.accordion {
  max-width: 900px;
  margin: 40px auto;
}

.accordion .accordion-item {
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9e9e9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.accordion .accordion-title {
  padding: 18px 22px !important;
  background: #fff;
  color: #333 !important;
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none !important;
}

.accordion .accordion-title span {
  flex: 1;
  line-height: 1.5;
}

.accordion .toggle {
  margin-left: 15px;
  min-width: 30px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 0px;
  left: unset;
}

.accordion .toggle i {
  font-size: 14px;
  color: #666;
  transition: 0.3s;
}

.accordion .active .toggle i {
  transform: rotate(180deg);
}

.accordion .accordion-inner {
  padding: 0 22px 20px;
  background: #fafafa;
  font-size: 17px;
  line-height: 1.7;
  color: #555;
}

.accordion-title.plain {
  border-top: none !important;
}
.color-black span {
  color: #000;
}
h2.uppercase {
  text-shadow: 2px 1px 2px #d1d1d1;
}

/* Đăng ký hội thảo */

.cf7-register-box {
  max-width: 420px;
  margin: auto;
  padding: 30px;
  background: #f7f7f7;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.cf7-field {
  margin-bottom: 22px;
}

.cf7-field label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf7-register-box input[type="text"],
.cf7-register-box input[type="tel"],
.cf7-register-box input[type="email"] {
  width: 100%;
  height: 50px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 16px;
  color: #333;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.cf7-register-box input::placeholder {
  color: #b5b5b5;
}

.cf7-register-box input:focus {
  border-color: #999;
}

.cf7-submit {
  margin-top: 10px;
}

.cf7-register-box input[type="submit"] {
  width: 100%;
  height: 52px;
  background: #2b2b2b;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.cf7-register-box input[type="submit"]:hover {
  background: #111;
}

/* Xóa style mặc định CF7 */
.cf7-register-box .wpcf7-form-control-wrap {
  display: block;
}

.cf7-register-box p {
  margin: 0;
  padding: 0;
}
.cf7-register-box .cf7-submit {
  background: unset;
  margin: 0px !important;
  padding: 0px !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  background-color: #f1f1f1;
  border-radius: 3px;
  color: #000000;
  line-height: 1.2em;
  margin-top: -10px;
  opacity: 0.8;
  padding: 5px 8px;
  position: relative;
}

/* Đăng ký nhận tin */
.newsletter-form-flat{
    display:flex;
    align-items:center;
    gap:25px;
    max-width:900px;
    margin:0 auto;
}

.newsletter-form-flat p{
    margin:0;
}

.newsletter-email{
    flex:1;
}

.newsletter-email input{
	width: 100%;
    height: 60px;
    border: none;
    outline: none;
    background: #f7f7f7;
    padding: 0 30px;
    font-size: 18px;
    color: #999;
    border-radius: 14px;
}
.newsletter-submit {
    position: relative;
    top: 15px;
    left: -154px;
}
.newsletter-email input::placeholder{
    color:#b8b8b8;
}

.newsletter-submit input{
    height: 60px;
    padding: 0 8px !important;
    border: none;
    background: #5aa4e0;
    color: #fff;
    font-size: 19px;
    font-weight: 400;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-submit input:hover{
    opacity:0.9;
}

/* bỏ response output CF7 */
.wpcf7-response-output{
    margin-top:15px !important;
    text-align:center;
    border:none !important;
}







/* ===== Wrapper tổng ===== */
.nav.nav-tabs{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    background:#efefef;
    padding:14px 20px;
    border-radius:5px;
    margin:20px 0;
    border:none;
    flex-wrap:wrap;
}
.custom_text_dk {
    max-width: 425px;
    display: block;
    margin: 0px auto;
}
/* ===== Mỗi tab ===== */
.nav.nav-tabs > li.tab{
    margin:0 !important;
    list-style:none;
}

/* ===== Link tab ===== */
.nav.nav-tabs > li.tab > a{
    display:flex;
    align-items:center;
    gap:8px;
    padding:14px 24px;
    background:transparent;
    border-radius:12px;
    font-size:17px;
    font-weight:600;
    color:#4b5563;
    text-decoration:none;
    transition:all .3s ease;
    border:none !important;
    box-shadow:none !important;
    position:relative;
}



/* ===== Hover ===== */
.nav.nav-tabs > li.tab > a:hover{
    background:#ffffff;
    color:#111827;
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
}

/* ===== Active ===== */
.nav.nav-tabs > li.tab.active > a {
    background: #ffffff !important;
    color: #55acee !important;
    box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.08) !important;
    font-weight: 700;
}

.nav.nav-tabs > li.tab.active > a:before{
    color:#2563eb;
}

/* ===== text không bị xuống dòng xấu ===== */
.nav.nav-tabs > li.tab > a span{
    white-space:nowrap;
}

/* ===== Responsive mobile ===== */
@media(max-width:768px){
    .nav.nav-tabs{
        gap:10px;
        padding:10px;
    }

    .nav.nav-tabs > li.tab > a{
        padding:10px 16px;
        font-size:14px;
    }

    .nav.nav-tabs > li.tab > a span{
        white-space:normal;
        text-align:center;
    }
}
/* mobile */
@media(max-width:768px){
    .newsletter-form-flat{
        flex-direction:column;
        gap:15px;
    }
    
    .newsletter-submit input,
    .newsletter-email input{
        width:100%;
        height:58px;
        font-size:18px;
    }
}

@media (max-width: 768px) {
  .accordion .accordion-title {
    font-size: 17px;
    padding: 15px 18px !important;
  }

  .accordion .accordion-inner {
    font-size: 15px;
    padding: 0 18px 18px;
  }
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .contact-heading {
    font-size: 26px;
  }

  .contact-line {
    font-size: 15px;
    gap: 12px;
  }
  .cf7-row.two-col {
    flex-direction: column;
    gap: 20px;
  }

  .cf7-custom-form label {
    font-size: 18px;
  }

  .cf7-submit {
    width: 100%;
    padding: 16px;
    font-size: 20px;
  }
  .image-box-h4 .image-cover {
    padding-top: 350px !important;
  }
	  .newsletter-submit {
		position: relative;
		top: 15px;
		left: 0;
	}
}
