.navbar .handbook-item {
  max-width: 120px;
}

.content-header {
  flex-wrap: wrap;
}

.video-card {
  overflow: hidden;

  max-height: 500px;
}

.video-card > img {
  width: 100%;
  height: auto;
}

.paginationxx {
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  text-decoration: none;
  border: 1px solid #bfbfbf;
  padding: 10px 20px;
  margin: 2px;
  border-radius: 21px;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
  border-color: pink;
  background: cornsilk;
  font-weight: normal !important;
  color: red;
}

.list-item {
  padding-bottom: 15px;
  margin-bottom: 54px;
  color: #015d99;
}

.custom-footer .contact-info p {
  margin-top: 0px;
  font-size: 24px;
}

.maps h6 {
  font-size: 30px;
  margin: 10px 0;
}

.custom-footer .btn-dg span:first-child,
.custom-footer .btn-pr span:first-child {
  padding: 18px;
}

.custom-footer .contact-info h3 {
  margin-bottom: 21px;
}

.more-item img {
  width: 189px;
}

.more-item {
  margin-bottom: 25px;
  font-size: 14px;
}

.more-button.text-center img {
  max-width: 220px;
}

.about-section .content-box h4 {
  font-size: 18px;
  color: #1a3c6d;
  font-weight: 400;
}

.page-detail .wrapper-content ul li,
.page-detail .wrapper-content p,
.page-detail .wrapper-content strong {
  font-size: 21px;
  color: #015d99;
  margin-bottom: 10px;
  position: relative;
  padding-left: 0;
}

.page-detail .wrapper-content h1 {
  margin-bottom: 10px;
  font-size: 49px;
  margin-bottom: 3rem;
}

/* giảm size */

.navbar-nav {
  justify-content: center;
  align-items: center;
}

.navbar-brand,
.nav-link {
  font-size: 14px;
}

a.navbar-brand {
  font-size: 32px;
}

.section-title p,
.advice-section p {
  font-size: 42px;
  max-width: 650px;
  margin: 2rem auto;
  margin-top: 3rem;
}

.advice-section {
  text-align: center;
  margin: 30px 0;
  margin-top: 50px;
}

.container {
  max-width: 1200px;
}

.content-title {
  font-size: 40px;
}

.content-header {
  min-height: 160px;
}

.logo img {
  max-width: 150px;
}

.card-text h3,
.list-item h3,
.more-item h3 {
  font-size: 20px;
  font-weight: bold;
}

.list-item {
  padding-bottom: 15px;
  margin-bottom: 17px;
  color: #015d99;
}

.scrollable-list .list-item img {
  width: 111px;
}

.list-item h4,
.more-item h4 {
  font-weight: bold;
  font-size: 14px;
}

.list-item.d-flex.align-items-center p {
  font-size: 14px;
}

.content-text {
  font-size: 18px;
  color: #1a3c6d;
  line-height: 1.6;
  margin-bottom: 30px;
}

.content-box-2 {
  padding: 40px;
}

.btn-custom2 {
  border: 2px solid white;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 37px;
  display: block;
  margin: 0 auto;
  max-width: 500px;
  text-decoration: none;
}

.section-video h2 {
  font-size: 42px;
  margin: 3rem;
}

.btn-view-all {
  margin-top: 30px;
}

a.btn-view-all img {
  max-width: 300px;
  margin-top: 0;
  padding-top: 0;
}

.btn-custom2 {
  border: 2px solid white;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 17px;
  display: block;
  margin: 0 auto;
  max-width: 200px;
  text-decoration: none;
}

.inspiration-title {
  font-size: 37px;
  font-weight: bold;
  color: white;
  margin-bottom: 35px;
  margin: 2rem;
  /* max-width: 400px; */
  margin: 2rem auto;
}

.inspiration-text {
  color: white;
  font-size: 15px;
  text-align: left;
  min-height: 350px;
  line-height: 16px;
  text-align: justify;
}

.inspiration-section .slider {
  max-height: 450px;
  border-radius: 30px;
}

.inspiration-section .slider-item {
  	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
  	margin-right: 10px;
	border-radius: 30px;
}

.slider-item img {
  border-radius: 30px;
  width: 100%;
  height: 550px;
  max-width: 100%;
  object-fit: cover;
  object-position: 40% center;
}

.slick-dots {
  bottom: -10%;
}

.accordion-body p {
  font-size: 16px;
}

.custom-footer .contact-info h3 {
  font-size: 34px;
  font-weight: 600;
}

.custom-footer .contact-info h5 {
  font-size: 18px;
  font-weight: 600;
}

.custom-footer .contact-info p {
  margin-top: 0px;
  font-size: 24px;
  margin-bottom: 0;
  color: #015d99;
}

.custom-footer .contact-info p:first-child {
  font-weight: bold;
}

.custom-footer .btn-pr span:last-child,
.custom-footer .btn-dg span:last-child {
  font-size: 14px;
}

.custom-footer .btn-dg span:first-child,
.custom-footer .btn-pr span:first-child {
  padding: 11px;
  min-width: 58px;
}

.custom-footer .btn-dg span:first-child,
.custom-footer .btn-pr span:first-child {
  padding: 11px;
  min-width: 80px;
}

.fa-brands,
.fab {
  font-weight: 400;
  font-size: 20px;
}

.custom-footer .social-icons a {
  color: #fca5b0;
  margin-right: 10px;
  margin-top: 0;
  font-size: 25px;
  width: 42px;
  height: 37px;
  background-color: #ffffff;
  display: inline-block;
  border-radius: 20px;
  text-align: center;
}

.faq-button {
  background: #ff5a7a;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 20px;
  cursor: pointer;
  margin-left: 20px;
  transition: 0.3s;
}

.faq-form h4 {
  font-size: 25px;
  text-transform: uppercase;
  margin: 25px;
  color: #0056b3;
}

.faq-title {
  font-size: 32px;
}

.content-header {
  min-height: 100px;
  margin-top: -71px !important;
}

.content-main h4 {
  font-size: 20px;
  font-weight: bold;
}

.content-main h3 {
  font-size: 32px;
  font-weight: bold;
  color: #0056b3;
}

.content-main p.doctor-name {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 40px;
}

.content-main p {
  font-size: 18px;
}

.category .more-item img {
  width: 150px;
}

.category .card-text h3,
.category .list-item h3,
.category .more-item h3 {
  font-size: 18px;
  font-weight: bold;
  line-height: 26px;
}

.category .more-section-style-2 .more-item p:last-child {
  font-size: 17px;
}

.category .more-item img {
  width: 150px;
  float: left;
}

.category .more-item {
  display: block;
}

.page-detail .wrapper-content {
  flex: 1;
  color: #015d99;
  overflow-y: hidden;
}

.more-section.more-section-style-2 .more-item img {
  width: 260px;
}

.more-section-style-2 .more-item p:last-child {
  font-size: 18px;
}

.page-detail .wrapper-content h2,
.page-detail .wrapper-content h3 {
  color: #ff1c5f;
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-detail .wrapper-content h1 {
  margin-bottom: 10px;
  font-size: 38px;
  margin-bottom: 3rem;
}

.page-detail .wrapper-content ul li,
.page-detail .wrapper-content p,
.page-detail .wrapper-content strong {
  font-size: 16px;
}

.wp-block-image .aligncenter {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
  max-width: 500px;
}

/* Aspect section */
.aspect-section {
  position: relative;
  margin-top: 40px;
  padding-bottom: 60px;
}

.half-bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  background-color: #ffebec;
  z-index: 0;
}

.aspect-section .section-title p {
  max-width: 650px;
  text-align: center;
}

.aspect-section .info .row {
  border-left: 15px solid #000;
}

.aspect-section .container {
  padding-top: 30px;
  max-height: 700px;
}

/* .aspect-section .container img {
    border-radius: 25px;
} */

.aspect-section .slick-track {
  display: flex;
  justify-content: space-around;
}

.aspect-section .container h5 {
  font-size: 16px;
  font-weight: bold;
  border-left: 2px solid #015d99;
  color: #015d99;
}

.aspect-section .container .container-blog {
  border-radius: 25px;
  overflow: hidden;
  min-width: 456px;
}

.aspect-section .container .post-title {
  min-height: 100px;
}

.inspiration-section .slider-item .post-title {
	min-height: 40px;
}

.inspiration-section .slider-item .post-title h6 {
	font-weight: bold;
	border-left: 2px solid #015d99;
    color: #015d99;
	font-size: 14px;
	text-align: left;
	line-height: 1.2rem;
}

.slick-prev,
.slick-next {
  background-color: #243f6c;
  border-radius: 50%;
  background-size: 50% 50%;
  background-repeat: no-repeat;
  background-position: center;
  width: 50px;
  height: 50px;
  transform: translateY(-100%);
  z-index: 10;
}

.slick-prev:focus,
.slick-prev:hover,
.slick-prev {
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><polyline points="15,6 9,12 15,18" fill="none" stroke="white" stroke-width="2"/></svg>');
}

.slick-next:focus,
.slick-next:hover,
.slick-next {
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><polyline points="9,6 15,12 9,18" fill="none" stroke="white" stroke-width="2"/></svg>');
  right: -1%;
}

.slick-prev::before,
.slick-next::before {
  content: "";
}

.slick-next:focus,
.slick-next:hover,
.slick-prev:focus,
.slick-prev:hover {
  background-color: #243f6c;
  background-size: 50% 50%;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  outline: none;
}

.slider-item .story-title {
	min-height: 40px;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
}

.about-section {
  background: url("../images/gioi-thieu.png") no-repeat;
  position: relative;
  background-position: 0 100%;
  background-color: #ffebec;
}

.about-section:before {
  content: "";
  position: absolute;
  background: url("../images/bs.png") no-repeat;
  background-size: contain;
  width: 750px;
  height: 585px;
  left: 10%;
  bottom: 0;
}

.about-section .content-box-1 {
  margin-top: 190px;
  text-align: center;
}

section#gioi-thieu {
  max-width: 1920px;
  margin: auto;
}

.more-section-style-2 .more-item {
  display: block;
}

.more-section.more-section-style-2 .more-item img {
  width: 180px;
  float: left;
}

.about-section .content-box-2 {
  padding: 20px 30px;
  margin-bottom: 40px;
}

.contact-form {
  margin-top: 20px;
}

.contact-form label {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 18px;
  padding-left: 10px;
}
.h-icon {
  text-align: center;
}
.h-icon img{
  max-width: 250px;
}
.custom-footer .contact-info p {
    margin-top: 0px;
    font-size: 22px;
    margin-bottom: 0;
    color: #015d99;
}
.custom-footer .contact-info p:first-child {
    font-weight: bold;
    font-size: 24px;
}

.contact-form .form-control {
  height: 50px;
  border-radius: 30px;
  border: none;
  margin-bottom: 5px;
}

.contact-form .form-control {
    height: 40px;
 
}
.contact-form .wpcf7-not-valid-tip {
    color: yellow;

}
.send-btn {
  margin: 10px 0 0;
  padding: 6px 35px;
  border: 2px solid;
  border-radius: 30px;
}

.wpcf7-spinner {
  margin: 0;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
}

footer .logo-contact-container {
	margin-top: 50px;
    gap: 30px;
}

footer .logo-contact-container .logo-container svg {
	color: #fff;
    height: 30px;
    width: 30px;
}

.custom-footer {
	padding-top: 90px;
	padding-bottom: 40px;
}

@media (max-width: 1920px) {
  .container {
    max-width: 1440px;
  }

  .slick-prev,
  .slick-next {
    width: 70px;
    height: 70px;
    transform: translateY(-85%);
  }

  .slick-prev {
    left: -3%;
  }

  .inspiration-section .slider {
    max-height: 650px;
  }

  .inspiration-text {
    line-height: 1.3;
  }

  .slick-dots {
    bottom: -6%;
  }
}

@media (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }

  .aspect-section .container {
    width: 85%;
  }

  .navbar .nav-link {
    font-size: 12px;
  }

  .slider-item img {
    height: 450px;
  }

  .aspect-section .container .container-blog {
    min-width: 376px;
  }

  .aspect-section .container .container-blog img {
    height: 500px !important;
  }
}

@media (min-width: 1366px) and (max-width: 1400px) {
  .about-section:before {
    width: 630px;
    height: 490px;
  }

  .aspect-section .container .container-blog {
    min-width: 364px;
  }

  .aspect-section .container .container-blog img {
    height: 500px !important;
  }
}

@media (min-width: 992px) and (max-width: 1365px) {
  .navbar .nav-link {
    padding-right: 0 !important;
  }

  .content-series .logo img {
    width: 85%;
  }

  .content-series .content-title {
    font-size: 24px;
  }

  .about-section:before {
    width: 615px;
    height: 480px;
    left: 4%;
  }

  .aspect-section .container .container-blog {
    min-width: 339px;
  }

  .aspect-section .container .container-blog img {
    height: 400px !important;
  }

  .aspect-section .container .post-title {
    min-height: 115px;
  }
}

@media (max-width: 1024px) {
  .aspect-section .container .container-blog {
    min-width: 257px;
  }

  .aspect-section .container .container-blog img {
    height: 300px !important;
  }

  .slick-prev,
  .slick-next {
    width: 40px;
    height: 40px;
  }

  .aspect-section .container h5 {
    font-size: 12px;
  }

  .aspect-section .container .post-title {
    min-height: 95px;
  }
	
	.slider-item {
		margin-top: 20px;
	}
	
	.slider-item .story-title {
		font-size: 18px;
	}
	
	.slick-dots li button, .slick-dots li {
		width: 30px;
	}
}

@media (max-width: 991px) {
  a.navbar-brand {
    font-size: 17px;
  }

  .navbar .handbook-item {
    max-width: 300px;
  }

  .content-series .content-title {
    font-size: 26px;
  }

  /* .content-series .logo {
        max-width: 90px;
    } */

  .content-series .logo {
    width: 100%;
  }

  .content-series .logo img {
    width: 75%;
  }

  .aspect-section .container {
    max-height: 400px;
  }

  .about-section:before {
    display: none;
  }

  .aspect-section .container .container-blog {
    min-width: 257px;
  }

  .aspect-section .container .container-blog img {
    height: 300px !important;
  }
  .contact-form label {
    font-size: 18px;
  }
  .h-icon {
    text-align: center;
  }
  .h-icon img {
    max-width: 50%;
  }
}

@media only screen and (max-width: 800px) {
  .content-series .content-title {
    font-size: 16px;
  }

  .more-item img {
    width: 100px;
  }

  .about-section {
    background: url("../images/gioi-thieu.png") no-repeat;
    background-position: -50vw;
    position: relative;
  }

  .content-box-1 {
    margin-top: 52vh;
  }

  .video-card {
    overflow: hidden;
    max-height: unset;
    padding: 15px;
    padding-top: 0;
  }

  .video-card > img {
    width: 100%;
    height: auto;
  }

  a.navbar-brand {
    font-size: 17px;
  }

  .card-text h3,
  .list-item h3,
  .more-item h3 {
    font-size: 18px;
    font-weight: bold;
  }

  .content-title {
    font-size: 20px;
  }

  .content-header {
    min-height: 73px;
    margin-top: -58px;
  }

  .advice-section p {
    font-size: 33px;
    line-height: 47px;
  }

  .card-text:last-child {
    margin-bottom: 0;
    padding-left: 0 !important;
  }

  .more-item img {
    width: 133px;
    float: left;
  }

  .more-item {
    display: unset;
  }

  .scrollable-list .list-item img {
    width: 125px;
  }

  section#gioi-thieu {
    padding-top: 0 !important;
  }

  .about-section {
    background: url("../images/gioi-thieu.png") no-repeat;
    background-position: -129vw -46px;
    background-color: #ffebec;
  }

  .content-box-1 {
    margin-top: 400px;
  }

  .more-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 30px;
  }

  .more-button img {
    width: 100px;
  }

  .aspect-section .slick-prev,
  .aspect-section .slick-next {
    width: 40px;
    height: 40px;
  }

  .about-section .content-title {
    font-size: 31px;
  }

  .about-section .content-box-2 {
    padding: 40px 30px;
  }

  .section-video h2 {
    font-size: 32px;
    margin: 1rem;
    margin-bottom: 2rem;
  }

  .inspiration-title {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 35px;
    margin: 1rem;
  }

  .inspiration-text {
    color: white;
    font-size: 16px;
    text-align: left;
    min-height: 442px;
    line-height: 23px;
    text-align: justify;
  }

  .inspiration-content .row {
    flex-direction: column;
  }

  .inspiration-content .row .col-md-5,
  .inspiration-content .row .col-md-7 {
    width: 100% !important;
  }

  .custom-footer .contact-info {
    color: #ffffff;
    padding: 23px;
  }

  .custom-footer .contact-info h3 {
    font-size: 28px;
    font-weight: 600;
  }

  .custom-footer .contact-info h5 {
    font-size: 18px;
    font-weight: 600;
  }

  .custom-footer .contact-info p {
    margin-top: 0px;
    font-size: 16px;
    margin-bottom: 5px;
  }

  .btn-custom2 {
    border: 2px solid white;
    color: #ffffff;
    padding: 8px;
    border-radius: 30px;
    font-size: 18px;
    display: block;
    margin: 0 auto;
    max-width: 300px;
    text-decoration: none;
    margin-bottom: 20px;
  }

  .content-text {
    font-size: 16px;
  }

  .inspiration-section {
    margin: 10px;
  }

  span.wpcf7-spinner {
    display: none;
  }

  .section-title p,
  .advice-section p {
    font-size: 26px;
    line-height: 37px;
  }

  .more-button.text-center img {
    max-width: unset;
    width: 200px;
  }

  .section-video h2 {
    font-size: 26px;
  }

  .inspiration-title {
    font-size: 26px;
  }

  .inspiration-text {
    color: white;
    font-size: 14px;
    text-align: left;
    min-height: 300px;
    line-height: 18px;
    text-align: justify;
  }

  .faq-title {
    font-size: 26px;
  }

  .accordion-button {
    background: #ffebec;
    font-weight: 600;
    color: #333;
    border-radius: 25px !important;
    padding: 15px 15px;
    font-size: 16px;
  }

  .faq-form h4 {
    font-size: 20px;
    text-transform: uppercase;
    margin: 25px;
    color: #0056b3;
  }

  .aspect-section .container .container-blog {
    min-width: 203px;
  }

  .aspect-section .container .container-blog img {
    height: 200px !important;
  }

  .aspect-section .container h5 {
    font-size: 12px;
  }

  .aspect-section .container .post-title {
    min-height: 85px;
  }
  
  .content-series {

        margin-top: 103px;
    }
    
   .content-series .logo img {
    max-width: 108px;
}
}

@media only screen and (max-width: 660px) {
	.content-series .content-title {
		width: 100%; 
		text-align: center;
		font-size: 20px;
	}
	
	.advice-section {
		margin: 0;
		margin-top: 30px;
	}
	
	.advice-section p {
		margin: 1rem auto;
	}
	
	.logo-container {
		flex: 1;
	}
	
	.content-series {
        margin-top: 75px;
    }
	
}

@media only screen and (max-width: 400px) {
	.content-header {
		padding: 15px;
	}
	
  .content-series .content-title {
    font-size: 20px;
  }

  .inspiration-title {
    font-size: 22px;
  }

  .aspect-section {
    padding-bottom: 0;
  }

  .aspect-section .half-bg {
    height: 45%;
  }

  .aspect-section .more-button {
    margin-bottom: 0;
  }

  .aspect-section .container .container-blog img {
    height: 300px !important;
  }

  .slick-prev {
    left: -6%;
  }
}