.modal-header{
  background-color: #31c233;
  color: #fff;
}
.modal-wrap{
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;

}
.modal-wrap table{
  width: 100%;
}
.modal-wrap table th,
.modal-wrap table td{
  text-align: center;
}
.modal-wrap .bi-search{
  color: #fff;
}
.modal-wrap .bi-ui-checks-grid{
  padding-right: 10px;
}
.modal-wrap .bi-ui-checks-grid{
  color:#fff;
}
.btn-answer{
  background-color: #a0a0a0;
  border: 1px solid #a0a0a0;
  border-radius: 7px;
  color: #fff;
  padding: 5px 20px;
}
.btn-answer:hover{
  background-color: #7a7a7a;
  border: 1px solid #7a7a7a;
}
.answer-warp{
  padding: 10px 0px;

}
.answer-inner{
  margin: 10px 0px;
}
.modal-icon{
  padding: 2px 5px;
  border-radius: 30px;
  background-color: #31c233;
  margin-right: 10px;
}
.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  background-color: #31c233;
  border:none;
}
.step-icons{
  max-height: 21px;
  width: 21px;
}
.modal-box{
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
}
.modal-dialog{
  padding: 0 10px;
  margin-top: 100px;
  max-width: 700px;

}
.modal-box h6{
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
h6.subtitle{
  font-size: 17px;
  padding-top: 10px;
  text-align: left !important;
}
.modal-box h6 span {
  margin-left: 5px;
}
.modal-box p{
  font-size: 14px;
}
.modal-boxes{
    width: 100%;
    margin: 0 auto;
    display: grid;
    gap: 0.5rem;
}
.modal-body{
  background-color: #FFFFFF;
}
.modal-footer{
  padding: 15px;
}
@media (min-width: 661px) {
  .modal-boxes { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 660px) {
  .modal-box h6 {
  
    text-align: left;
  }
}
@media (max-width: 557px) {
  .modal-dialog{
    margin-top:40px;
  }
}
.classModal .modal-footer{
  display: contents !important;
}
.classModal .modal-footer .row{
  display: contents !important;
  width: 100%;
}
.btn-footer-wrap{
  width: 100%;
}
.btn-footer-wrap div{
  width: 33.33333333%;
  float: left;
  padding: 0px 15px;
}
.btn-modal-blue{
  display: block;
}
.btn-modal-blue{
  display: block;
  width: 100%;
  color: #fff;
  font-size: 16px !important;
}
.btn-modal-blue:hover{
  color: #fff;
}
.btn-modal-green{
  display: block;
  width: 100%;
  background-color: #31c233;
  color: #fff;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 16px;
  margin-bottom: 15px;
}
.btn-modal-green:hover{
  background-color: #47db49;
  border:1px solid #47db49;
  color: #fff;

}
@media (max-width: 557px) {
  .btn-footer-wrap div{
    width: 100%;
    float: left;
    padding: 0px 15px;
  }
}

.title-class{
  color: #31c233;
}
.modal-wrap h5{
  color:#31c233;
  font-weight: bold;
}
.btn-answer{
  background-color:#fbba1d;
  border:1px solid #fbba1d;
  font-size: 16px !important;
}
.btn-modal-yellow{
  background-color:#fbba1d;
  color: #fff;
  width: 100%;
  font-size: 16px !important;
}
.btn-modal-yellow:hover{
  background-color:#ffc94a;
  color: #fff;
  width: 100%;
}
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
main#main {
  padding: 10px;
}
body {
  font-family: "Open Sans", sans-serif;
  color: #444;
  background-color: #f4f4f4;
}

a {
  color: #428bca;
  text-decoration: none;
}

a:hover {
  color: #9eccf4;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-primary {
  font-family: "Raleway", sans-serif;
}
.container-page{
  max-width: 1140px;
  margin: 0 auto;
  width:95%;
}
.sp-mg-top-20{
  margin-top:20px;
}
.sp-mg-bt-20{
  margin-bottom: 20px;
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #252525;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #629fd3;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

.container{
  padding-right:20px;
  padding-left: 20px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  background: #fff;
  z-index: 997;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.06);
}
.container-fluid.container-xl.d-flex.align-items-center.justify-content-lg-between{
  max-width: 1140px;
}
#header  .container.d-flex.align-items-center{
 max-width: 1140px;
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  padding: 10px 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #1c5c93;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 50px;
}

.scrolled-offset {
  margin-top: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}
.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li {
  position: relative;
}
.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  color: rgb(0, 0, 0);
  white-space: nowrap;
  transition: 0.3s;
  font-size: 17px;
  font-weight: 600;
}
.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #31c233;
}
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  transition: 0.3s;
  border-radius: 4px;
}
.navbar .dropdown ul li {
  min-width: 200px;
}
.navbar .dropdown ul a {
  padding: 10px 20px;
  color: #444444;
}
.navbar .dropdown ul a i {
  font-size: 12px;
}
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  background-color: #31c233;
  color:#fff !important;
}
.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}
.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}
@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}
#btn-login{
  border: 1.8px solid #31c233;
  padding: 3px 20px;
  font-weight: 600;
  color: #31c233;
  border-radius: 25px;
}
#btn-logout{
  border: 1.8px solid #FF8040;
  padding: 3px 20px;
  font-weight: 600;
  color: #FF8040;
  border-radius: 25px;
}
#btn-register{
  border: 1.8px solid #FF8040;
  padding: 3px 20px;
  font-weight: 600;
  color: #FF8040;
  border-radius: 25px;
}
/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #000;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}
.bi-x {
  color: #fff;
  display: block !important;
  width: 100%;
  text-align: right;
}
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
    /*padding-left:20px;*/
    padding-left:8px;

  }

  .navbar ul {
    display: none;
  }
}
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}
.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 6px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}
.navbar-mobile a, .navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #1a1814;
}
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #31c233;
}
.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus {
  margin: 15px;
}
.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 0px;
  padding: 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #f5f5f5;
}
.navbar-mobile .dropdown ul li {
  min-width: 200px;
}
.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}
.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}
.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #31c233;
}
.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  /* height: calc(80vh - 10px); */
  overflow: hidden;
  background: none;
  max-width: 1140px;
  margin: 120px auto 0px auto;
  
  /* border-radius: 40px; */
  /* box-shadow: 0px 5px 15px 0px rgb(0 0 0 / 15%);*/

}

#hero .carousel-item {
  width: 100%;
  height: calc(100vh - 110px);
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  overflow: hidden;

}

#hero .carousel-item::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

#hero .carousel-content {
  text-align: left;
  max-width: 1000px;
}
/*
@media (max-width: 992px) {

  #hero,
  #hero .carousel-item {
    height: calc(100vh - 70px);
  }

  #hero .carousel-content.container {
    padding: 10px 50px;
  }

}*/
.carousel-container {
  max-height: 570px;
}
.carousel{
  max-height: 600px;
}
#hero .carousel-inner{
  max-height: 570px !important;
  border-radius: 30px;
}
#hero .btn-get-started{
  margin:0px !important;
}

@media (max-width: 992px) {
 #hero{
    padding:0px;
    margin: 60px auto 0px auto;
 }
  #hero,
  #hero .carousel-item {
    height: 300px;
  }

  #hero .carousel-content.container {
    padding: 10px 100px;
  }

  #hero .carousel-inner {
    max-height: 460px !important;
    border-radius: 0px;
  }

}
@media (max-width: 414px) {
  #hero {
    max-height: 350px;
  }
    .carousel-container {
      max-height: 280px;
  }

  #hero .carousel-inner {
    max-height: 280px !important;
  }
  #hero .carousel-content.container {
    padding: 10px 40px;
  }
  #hero h2 {
    color: #fff;
    margin-bottom:10px !important;

  }

  
}


#hero h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 1px;
}

#hero p {
  width: 80%;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  color: #fff;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-prev,
#hero .carousel-control-next {
  width: 10%;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 48px;
  line-height: 1;
  width: auto;
  height: auto;
}






.carousel-indicators {

  bottom: 10px !important;

}

.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 10px;
  height: 10px;
  border-radius: 100px !important;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: 0px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border: 0;
  border-top: 0px;
  border-bottom: 0px;
  opacity: .5;
  transition: opacity .6s ease;
}


#hero .carousel-indicators li {
  cursor: pointer;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: rgb(68, 68, 68);
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  border: 0;
  background: #ffffff;
}

#hero .btn-get-started:hover {
  background: #dadada;
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}

@media (max-height: 500px) {

  #hero,
  #hero .carousel-item {
    height: 120vh;
  }
}

@media (min-width: 1024px) {
  #hero p {
    width: 60%;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}
.text-center {
  text-align: center;
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 10px 30px;
  overflow: hidden;
}
@media (min-width: 556px) {
  section {
    padding: 10px 10px;
    overflow: hidden;
  }
}
@media (max-width: 555px) {
  section {
    padding: 10px 10px;
    overflow: hidden;
  }
}
.section-bg {
  background-color: #f5f9fc;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  padding-bottom: 0;
  color: #1a1a1a;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background-color: #f5f9fc;
  min-height: 40px;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}



/*--------------------------------------------------------------
# my-account
--------------------------------------------------------------*/
.my-account{
  max-width: 1120px;
  width: 100%;
  margin: 50px auto 70px auto;
  padding: 0px;
  background-color: #fff;
  border-radius: 30px;
}
.my-account .section-title h2{
  margin-bottom: 20px;
  text-align: center;
}
.my-account h4{
  text-align: center;
}
.tb-account{
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border-radius: 1em;
  overflow: hidden;
  width: 100%;
}
.tb-account tr{
  border-radius: 1em;
}
.tb-account th{
  background-color: #31c233;

  color: #fff;
  text-align: center;
  padding: 20px 0px;

}
.tb-account td{
  text-align: center;
  padding: 10px 10px;
  background-color: #f1f1f1;
  font-size: 20px;

}
.my-account .form-control-2 {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    height: 40px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    text-align: center;
}
.tb-account-history{

  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border-radius: 1em;
  overflow: hidden;
  width: 100%;
}

.tb-account-history tr:nth-child(odd) td {
  background-color: #fff;
  font-size: 16px;
}
.tb-account-history th{
  background-color: #31c233;

  color: #fff;
  text-align: center;
  padding: 20px 0px;

}
.tb-account-history tr:nth-child(even) td{
  background-color: rgb(230, 230, 230);

}
.tb-account-history td{
  text-align: left;
  padding: 10px 10px;
  font-size: 20px;
}
.btn-primary{
  background-color: #31c233;
  border:1px solid #31c233;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active
{
  background-color: #53db55 !important;
  border:1px solid #53db55 !important;
}
.pagination-wrap{
  padding-right: 0px;
  padding-left: 0px;
  margin-top: 50px;
}
.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  margin: 0 4px;
  border-radius: 5px;
}

.pagination a.active {
  background-color: #31c233;
  color: white;
  border: 1px solid #31c233;
}
@media (max-width: 415px) {
    .pagination a {
      padding: 4px 10px !important;
      margin: 0 3px !important;
  }
}
/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .container {
  max-width: 1120px;
  width: 100%;
  margin: 20px auto 0px auto;
  background-color: #fff;
  border-radius: 30px;
  padding: 30px 10px;

}
/*--------------------------------------------------------------
# Choose Your Class
--------------------------------------------------------------*/


.choose-your-class .container {
  max-width: 1120px;
  width: 100%;
  margin: 20px auto 0px auto;
  background-color: #fff;
  border-radius: 30px;
  padding: 30px 10px;
  box-shadow: 0px 0 10px rgb(0 0 0 / 15%);

}
.question-boxes{
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.class-title h5{
  margin: 10px auto;
}
.class-title hr{
  margin: 0px;
}
@media (min-width: 415px) {
  .question-boxes { grid-template-columns: repeat(2, 1fr); }
}
.question-boxes{
  padding-top: 20px;
  padding-bottom: 10px;
}
.question-boxes{
  border-bottom:1px solid #eee;
}
.question-boxes:first-child{
  border-top:1px solid #eee;
}
.question-box p{
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
#choose-class-input .container{
  padding: 10px;
}
/*--------------------------------------------------------------
# Register
--------------------------------------------------------------*/
.table-register{
  max-width: 500px;
  margin: 0 auto;
}
.ftitle{
  text-align: center;
  margin: 0 auto;
}
.ftitle span{
  font-weight: 700;
  color: #31c233;
  font-size: 20px;
}
@media (max-width: 768px) {
  .section-title{
    margin-top: 30px;
  }
    .login {
      padding: 20px !important;
  }
  .login-form{
    margin-bottom: 30px;
  }
}
.table-register td{
  padding: 0px;
}
.login input{
  margin-top: 0px !important;
  margin-bottom: 10px;
}
/*--------------------------------------------------------------
# Login
--------------------------------------------------------------*/
.login {
  max-width: 1120px;
  width: 100%;
  margin: 50px auto 70px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 30px;
}
.login-inner{
  max-width: 600px;
  margin: 0 auto;
}
/* Full-width input fields */
.login input[type=text],.login input[type=email],.login input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 5px;
}

/* Set a style for all buttons */
.login button {
  background-color: #31c233;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 5px;
  font-size: 20px;
}

.login button:hover {
  opacity: 0.8;
}

/* Extra styles for the cancel button */
.login .cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}
/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/

.about{
  padding: 0px ;
  margin-bottom: 20px;

}
.about .container {
  background-color: #fff;
  border-radius: 40px;
}

.about .video-box img {
  padding: 15px 0;
}

.about .section-title p {
  text-align: left;
  color: #666;
}

.about .about-content {
  padding: 40px;
}

.about .icon-box+.icon-box {
  margin-top: 40px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #f1f7fb;
  border-radius: 6px;
  transition: 0.5s;
}

.about .icon-box .icon i {
  color: #428bca;
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: #428bca;
}

.about .icon-box:hover .icon i {
  color: #fff;
}

.about .icon-box .title {
  margin-left: 95px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}

.about .icon-box .title a {
  color: #343a40;
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: #428bca;
}

.about .icon-box .description {
  margin-left: 95px;
  line-height: 24px;
  font-size: 14px;
}

.about .video-box {
  position: relative;
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#428bca 50%, rgba(66, 139, 202, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(66, 139, 202, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:hover::after {
  border-left: 15px solid #428bca;
  transform: scale(20);
}

.about .play-btn:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# About Lists
--------------------------------------------------------------*/
.about-lists {
  padding: 40px;
}

.about-lists .row {
  overflow: hidden;
}

.about-lists .content-item {
  padding: 40px;
  border-left: 1px solid #d9e8f4;
  border-bottom: 1px solid #d9e8f4;
  margin: -1px;
}

.about-lists .content-item span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: #9eccf4;
}

.about-lists .content-item h4 {
  font-size: 28px;
  font-weight: 400;
  padding: 0;
  margin: 20px 0;
}

.about-lists .content-item p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .about-lists .content-item {
    padding: 40px 0;
  }
}

/*--------------------------------------------------------------
# Grades
--------------------------------------------------------------*/
.container-grades{
  background-image: url('../css/hr-bg.png');
  background-position: center center;
  background-repeat: no-repeat;
}
.container-grades{
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 40px;
}
.box-grades {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}
.gcards img{
  width: 100%;
  box-shadow: 0px 0 10px rgb(0 0 0 / 15%);
  border-radius: 100px;
}
.class input, .class table#class, .class .btn-r{
  box-shadow: 0px 0 10px rgb(0 0 0 / 15%);
  font-size: 20px;
  font-weight: 600;

}
.class input.input-text{
  padding: 20px 10px;
}
@media (max-width: 960px) {
  .box-grades {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
  }
  .class .container{
    padding: 0px 0px !important;
  }
  section.class {
    padding: 10px 10px;
    overflow: hidden;
  }
  section.counts {
    padding: 10px 0px;
    overflow: hidden;
}
}
@media (max-width: 655px) {
  .box-grades {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 0.5rem;
  }
  .container-grades{
    padding: 20px;
  }
}
@media (max-width: 461px) {
  .box-grades {
    gap: 0.2rem;
  }
  .container-grades{
    padding: 10px;
  }
}
@media (min-width: 300px) {
  .box-grades { grid-template-columns: repeat(8, 1fr); }
}

/*--------------------------------------------------------------
# Choose Your Class
--------------------------------------------------------------*/
.class .container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 0px;
}
#class {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  border-radius: 1em;
  overflow: hidden;
  width: 100%;
  background-color: #fff;

}

#class td, #class th {
  padding: 8px;
}
@media (max-width: 414px) {
  #class td, #class th {
    padding: 0px;
    border-collapse: collapse;
    font-size: 16px;
  }
  #s-class .container {
    padding-right: 10px;
    padding-left: 10px;
  }
}
#class tr
{
  border-bottom: 1px solid #ddd;
}
#class tr:last-child
{
  border-bottom: 0px solid #ddd;
}
#class th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: #31c233;
  color: white;

}
.btn-r{
  background-color: #fbba1d;
  border: none;
  border-radius: 5px;
  padding: 10px 30px;
  text-align: center;
  margin: 20px auto;
  color: #fff;
  max-width: 500px;
  width: 100%;
  
}
.btn-r:hover{
  background-color: #e9a60c;

  
}


/*--------------------------------------------------------------
# Contact us
--------------------------------------------------------------*/
.contact-us {
  max-width: 1120px;
  width: 100%;
  margin: 50px auto 70px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 30px;
}
.contact-us .container {
  padding: 20px 20px;

}




/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/


#footer {
  background: #1f9f21;
  padding: 0 0 30px 0;
  color: rgb(161, 161, 161);
  font-size: 14px;
}

#footer .footer-top {
  background: #31c233;
  border-bottom: 1px solid #82e283;
  padding: 30px 0 10px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #768fa6;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #428bca;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #9eccf4;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #9eccf4;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #428bca;
  color: #fff;
  transition: 0.3s;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #5295ce;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
  color:#fff;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

#footer .credits a {
  color: #9eccf4;
}
.txt-footer-link{
  color:#fff;
  cursor: pointer;
}
.txt-footer-link:hover{
  color:#fff;
  text-decoration: underline;
}

/*--------------------------------------------------------------

Service Page
--------------------------------------------------------------*/


    /* Style the tab */
    .accountTab {
      text-align: center;
      margin: 50px auto;
      
      padding-right: 0px;
      padding-left: 0px;
  }
    /* Style the buttons inside the tab */
    .accountTab a {
      background-color: #e1e1e1;
      border: none;
      outline: none;
      cursor: pointer;
      padding: 10px 20px;
      transition: 0.3s;
      font-size: 17px;
      border-radius: 30px;
      color:#1a1814;
    }
   
    /* Change background color of buttons on hover */
    .accountTab a:hover {
      background-color: #31c233;
      color: #fff;
      border-radius: 30px;
    }
    
    /* Create an active/current tablink class */
    .accountTab a.active {
      background-color: #31c233;
      color: #fff;
      border-radius: 30px;
    }
    #defaultOpen{
      background-color: #31c233;
      color:#fff;
    }

    /* Style the tab content */
    .accountTabcontent {
      padding: 6px 12px;
    }


    .my-account .section-title{
      margin-top: 40px;
    }
    .my-account .account-warp{
      margin: 40px auto;
    }
    @media (max-width: 768px) {
      .my-account .container{
        padding:10px;
       }
      .accountTab {
        display: contents;
        text-align: center;
        margin: 50px auto;
        padding-right: 0px;
        padding-left: 0px;
    }
      .accountTab button {
        padding: 10px 10px;
     }
     .tb-account td:first-child {
      width: 40%;
      font-size: 16px;
      } 
      .accountTab button{
        font-size: 15px;

      }
      .accountTab a {
        padding: 10px 13px !important;
        font-size: 14px;
        width: 45%;
        display: block;
        margin-bottom: 10px;
        margin-right: 7px;
        margin-left: 7px;
        text-align: center;
        align-items: center;
    }

  }
  @media (max-width: 350px) {
      .accountTab a {
        padding: 10px 13px !important;
        font-size: 14px;
        width: 45%;
        display: block;
        margin-bottom: 10px;
        margin-right: 5px;
        margin-left: 5px;
        text-align: center;
        align-items: center;
    }
  }


/*--------------------------------------------------------------
My Account Table Style
--------------------------------------------------------------*/

  table.tb-account-history {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
  }
  
  table.tb-account-history caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
  }
  
  table.tb-account-history tr {
    border: 1px solid #ddd;
  }

  thead tr th {
    border: 1px solid #31c233;
    border-collapse: collapse;
}

  table.tb-account-history th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  table.tb-account-history td, table.tb-account-history thead tr {
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
  }
  table.tb-account-history tbody tr:nth-child(odd) td{
    font-weight: bold;
  }
  @media screen and (max-width: 990px) {
    
    table.tb-account-history {
      border: 0;
      border-radius: 0px;
    }
  
    table.tb-account-history caption {
      font-size: 1.3em;
    }
    
    table.tb-account-history thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    
    table.tb-account-history tr {
      display: block;
    }
    
    table.tb-account-history td {
      border-bottom: 1px solid #ddd;
      display: block;
      font-size: .8em;
      text-align: right;
    }
    
    table.tb-account-history td::before {
      /*
      * aria-label has no advantage, it won't be read inside a table
      content: attr(aria-label);
      */
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    table.tb-account-history td:last-child {
      border-bottom: 0;
    }

    .txt-question{
      text-align: left !important;
    }
  }
  
  #errorModal .modal-dialog,
  #successModal .modal-dialog{
    max-width:300px;
    margin: 100px auto;
  }
  #errorModal .modal-header{
    background-color: #ff7c00;
  }
  #errorModal .close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    background-color: #ff7c00;
    border: none;
}
.btn-g {
  background-color: #afafaf;
  border: none;
  border-radius: 5px;
  padding: 10px 30px;
  text-align: center;
  margin: 20px auto;
  color: #fff;
  max-width: 500px;
  width: 100%;
}


.class-category-section{
  background-color: #fff;
  box-shadow: 0px 0 10px rgb(0 0 0 / 15%);
  border-radius: 20px;
  margin-top: 10px;
  padding: 20px 10px;

}
.search-section-title{
  padding-top:10px;

}
.class-category tbody tr{
  border-bottom: 1px solid rgb(199, 199, 199);
}

.float-right button.btn.btn-primary.btn-md{
  text-align: right;
  float: right;
}
@media screen and (max-width: 419px) {
  .float-right button.btn.btn-primary.btn-md{
    text-align: left;
    float: none !important;
  }
}


/*이부분만 변경되었어요.*/
.no-padding{
  padding-left: 0px !important;
  padding-right: 0px !important;
  padding-bottom: 0px !important;
}
.padding-10{
  padding:0 10px;  
}
.question-boxes-bottom {
  border-bottom: 1px solid #F7F7F7;
  background-color: #F7F7F7;
}

.question-boxes-bottom {
  padding: 10px;
}

.question-boxes-bottom {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;

}


#lets-study-table{
  width: 100%;
}

#lets-study-table .tb-account{
  margin-bottom: 15px;
}
#lets-study-table .tb-account th {
  background-color: #31c233;
  color: #fff;
  text-align: center;
  padding: 10px 0px;
}



/*이부분 아래만 변경되었어요.*/
#service-table{
  width: 100%;
}
#service-table .tb-account{
  margin-bottom: 15px;
}
#service-table .tb-account th {
  background-color: #31c233;
  color: #fff;
  text-align: center;
  padding: 10px 0px;
}
#lets-study-table .tb-account th,#lets-study-table .tb-account td,
#service-table .tb-account th,#service-table .tb-account td{
  border-bottom: 1px solid #fff;
  font-size: 14px;
}

.pagination a:hover {
    background-color: #31c233;
    color: #fff;
}


@media (max-width: 599px) {

    #btn-login span,
    #btn-logout span,
    #btn-register span {
      display: none;
  }
  
  #btn-login{
    border: 1.8px solid #31c233;
    padding: 3px 10px;
    font-weight: 600;
    color: #31c233;
    border-radius: 25px;
  }
  #btn-logout{
    border: 1.8px solid #FF8040;
    padding: 3px 10px;
    font-weight: 600;
    color: #FF8040;
    border-radius: 25px;
  }  
  #btn-register {
    border: 1.8px solid #FF8040;
    padding: 3px 10px;
    font-weight: 600;
    color: #FF8040;
    border-radius: 25px;
    margin-right: 5px;
  }
}

.form-control-3 {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}