body {
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

h1,
.h1 {
  font-size: 2.5rem;
}

h2,
.h2 {
  font-size: 2rem;
}

h3,
.h3 {
  font-size: 1.75rem;
}

h4,
.h4 {
  font-size: 1.5rem;
}

h5,
.h5 {
  font-size: 1.25rem;
}

h6,
.h6 {
  font-size: 1rem;
}
.entry-content h1,
.entry-content .h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
h3,
.h3 {
  line-height: 3.7rem;
}
h3.comment-reply-title {
  margin: 0;
}
h4,
.h4 {
  line-height: 3.4rem;
}
h5,
h6,
.h5,
.h6 {
  line-height: 2.9rem;
}
p {
  margin-bottom: 2.9rem;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
.btn:hover,
.btn:active,
.btn:focus,
a.pmpro_btn:active,
#main div.em-search-main button.em-search-submit:hover {
  background: #88bf68;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

a:hover {
  text-decoration: none !important;
}

img {
  border: none;
}

.site-title-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
}

.site-title-wrapper tbody {
  vertical-align: middle;
}

ul {
  list-style: none;
}

#wpwrap ul,
#wpwrap ol {
  margin: 0;
}
#wpwrap li > ul,
#wpwrap li > ol {
  margin-bottom: 0;
}

#mobile-navigation .current_page_item a,
#mobile-navigation .current-menu-item a {
  background-color: rgba(170, 174, 183, 0.6) !important;
}

.site-branding {
  height: 70px;
  margin: 1rem 0;
}

.custom-logo-link img {
  height: 70px;
}

.site-title-en a {
  font-size: smaller;
  font-weight: bold;
}

/**
menu
**/

.no-meta-menu .meta-navigation,
.no-meta-menu .widget_nav_menu,
.no-meta-menu .widget_search {
  margin: 0;
}

.menu-item {
  list-style-type: none;
}

.meta-navigation ul,
.header-right .widget_nav_menu ul,
.footer-navigation ul {
  margin: 0;
}
.meta-navigation a:hover,
.header-right .widget_nav_menu a:hover {
  border-bottom: none;
  color: #9e9e9e !important;
}
.meta-navigation ul li,
.header-right .widget_nav_menu ul li,
.footer-navigation ul li {
  border: none;
  padding: 2px 5px;
  font-size: 1.5rem;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#mobile-navigation {
  padding: 10px 0;
}

@media only screen and (max-width: 767px) {
  .meta-navigation {
    display: none;
  }
}

@media only screen and (min-width: 767px) {
  .main-navigation {
    display: none;
  }
}

/**
custom-post-carousel
*/
.custom-post-carousel-prev-icon,
.custom-post-carousel-next-icon {
  height: 100px;
  width: 100px;
  outline: black;
  background-size: 100%, 100%;
  background-image: none;
}

.custom-post-carousel-next-icon:after {
  content: ">";
  font-size: 55px;
  color: #88bf68;
}

.custom-post-carousel-prev-icon:after {
  content: "<";
  font-size: 55px;
  color: #88bf68;
}

.ak-custom-post-carousel {
  width: 960px;
}

.custom-post-carousel-thumbnail {
  width: 300px;
  height: 150px;
  object-fit: cover;
  border: none !important;
}

.custom-post-carousel-card {
  width: 320px;
  height: 500px;
  border: 1px solid #88bf68;
  margin-right: 10px;
  background: #fff;
}

.custom-post-carousel-card .card-title {
  line-height: 1.5;
}
.custom-post-carousel-card .card-footer {
  border: none;
  background: #fff;
}

.custom-post-carousel-card .card-text p {
  margin-bottom: 0;
}

.ak-btn-sm {
  padding: 5px 10px !important;
}
.carousel-button-wrapper {
  text-align: center;
  margin: 10px auto;
  width: 100%;
}
.carousel-prev-button,
.carousel-next-button {
  width: 70px;
  padding: 0;
}
.ak-section-title {
  display: inline-block;
  border-bottom: 3px solid #88bf68;
  margin: 2rem 0;
}

/**
ak-banner-1
*/
.ak-banner-1 {
  position: relative;
}
.ak-banner-text-wrapper,
.ak-banner-1-image {
  display: inline-block;
}
@media only screen and (min-width: 720px) {
  .ak-banner-1 {
    display: flex;
    align-items: center;
  }
  .ak-banner-text-wrapper {
    position: absolute;
    padding: 40px;
    background-color: #fff;
    z-index: 99999999;
    width: 50%;
  }
  .ak-banner-1-image-wrapper {
    text-align: right;
    width: 100%;
  }

  .ak-banner-1-image {
    width: 70%;
    border: none !important;
  }
}

@media only screen and (max-width: 720px) {
  .ak-banner-1 {
    display: block;
  }
  .ak-banner-text-wrapper {
    position: relative;
    padding: 20px 0;
    background-color: #fff;
    width: 100%;
  }

  .ak-banner-1-image-wrapper {
    text-align: center;
    width: 100%;
  }

  .ak-banner-1-image {
    width: 100%;
    border: none !important;
  }
}

.ak-banner-text-subtitle {
  font-style: italic;
}

/**
ak-banner-2
*/
.ak-banner-2-container {
  position: relative;
}
.ak-banner-2-container,
.ak-banner-2-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.ak-banner-2 {
  position: relative;
}

.ak-banner-2-wrapper {
  margin: 80px 0;
  padding: 0;
}

.ak-banner-2-item {
  text-align: center;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  width: 160px;
  height: 160px;
}

.ak-banner-2-image {
  position: absolute;
  z-index: -999999;
  object-fit: cover;
  opacity: 0.1;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
}

.ak-banner-2-item a {
  color: #fff;
}
.ak-banner-2-item a:hover {
  color: #225f24;
}

.ak-banner-2-item h4 {
  line-height: 1.8rem;
}

.ak-banner-2-wrapper .ak-banner-2-item {
  background-color: #88bf68;
  border: 1px solid #fff;
}

/**
student carousel
*/
#ak-student-carousel {
  border: 1px solid #88bf68;
}

#ak-student-carousel .card img {
  border: none;
  margin: 0;
  padding: 0;
}
#ak-student-carousel .card .card-content {
  margin: 0;
}
.student-carousel-prev-button,
.student-carousel-next-button {
  width: 70px;
  padding: 0;
}

#ak-student-carousel .card .img-wrapper {
  width: 33.33%;
}
#ak-student-carousel .card .card-body {
  width: 66.66%;
}

@media only screen and (min-width: 720px) {
  #ak-student-carousel .card,
  #ak-student-carousel .card .card-body {
    height: 450px;
  }

  #ak-student-carousel .card .card-body {
    overflow-y: auto;
  }

  #ak-student-carousel .card .img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media only screen and (max-width: 720px) {
  #ak-student-carousel .card {
    height: 200px;
  }

  #ak-student-carousel .card .card-body {
    height: 190px;
  }

  #ak-student-carousel .card .card-body p {
    margin: 0;
  }

  #ak-student-carousel .card .card-title {
    margin: 0px;
  }

  #ak-student-carousel .card .card-body {
    overflow-y: auto;
    padding: 10px 10px;
  }

  #ak-student-carousel .card .img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/**
teacher carousel
*/
#ak-teacher-carousel .card {
  height: 360px;
  border: 1px solid #88bf68;
}

#ak-teacher-carousel .card .img-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ak-teacher-carousel .card img {
  border: none;
  margin: 0;
  padding: 0;
}
#ak-teacher-carousel .card .card-content {
  margin: 0;
}
.teacher-carousel-prev-button,
.teacher-carousel-next-button {
  width: 70px;
  padding: 0;
}

#ak-teacher-carousel .card {
  width: 200px;
}

#ak-teacher-carousel .card .card-img-top {
  width: 200px;
  height: 300px;
}

#ak-teacher-carousel .card .card-body {
  color: #fff;
  background-color: #88bf68;
  text-align: center;
}

.site-archive {
  background-color: #fff;
  padding: 10px;
}

/**
footer
*/
.site-footer {
  background-color: #fff;
  padding: 0 1em;
}

.footer-title-wrapper {
  padding-left: 10px;
}

.footer-title-wrapper tbody {
  vertical-align: middle;
}

.footer-site-info h5 {
  margin: 0;
}
.footer-site-info a {
  border: none !important;
}
.footer-site-info img {
  height: 70px;
  width: 50px;
}

.footer-social-media-img {
  width: 30px;
  height: 30px;
}
.footer-social-media-link {
  margin: 5px 0;
  display: block;
}

@media only screen and (min-width: 720px) {
  .footer-site-info-wrapper,
  .footer-social-media-wrapper,
  .footer-contact-wrapper {
    width: 33.33%;
  }
}

@media only screen and (max-width: 720px) {
  .footer-site-info-wrapper {
    width: 100%;
    order: 1;
    text-align: center;
  }
  .footer-social-media-wrapper,
  .footer-contact-wrapper {
    width: 50%;
  }
}

/**
masthead
**/
.masthead {
  padding: 2rem 0;
  margin-bottom: 4rem;
}

/**
content category item
*/
.content-category-item {
  border: 1px solid #88bf68;
  padding: 25px;
  margin: 10px 0;
}

.content-category-item-excerpt p {
  margin: 0;
  height: 70px;
  overflow: hidden;
}

.content-category-item-image {
  height: 140px;
  object-fit: cover;
}
