/*
Theme Name: Duc Dental
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* BeVietnamPro Regular */
@font-face {
  font-family: "BeVietnamPro";
  src: url("fonts/bevietnampro-regular-20231114075854-s4nks.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* BeVietnamPro Black */
@font-face {
  font-family: "BeVietnamPro-Black";
  src: url("fonts/bevietnampro-black-20230113040059-gt8lz.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* ICIEL DINPro Bold */
@font-face {
  font-family: "ICIEL DINPro";
  src: url("fonts/icieldinpro-bold-20220421075617.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* ViettelPay Bold */
@font-face {
  font-family: "ViettelPay";
  src: url("fonts/viettelpay_bold-20210130011416.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* Apply default font */
body {
  font-family: "BeVietnamPro", sans-serif;
}
.footer-wrapper .absolute-footer {
    display: none;
}
.footer-wrapper .footer-widgets {
    background: #6a8bb8;
    background: linear-gradient(0deg,rgba(78, 130, 219, 1) 0%, rgba(9, 78, 182, 1) 50%);
	border: 0;
}
.footer.footer-1 .is-divider {
    display: none;
}
.footer.footer-1 span.widget-title {
    font-size: 20px;
    padding-bottom: 25px;
    display: block;
	line-height: 1.6;
}
.footer.footer-1 .textwidget {
    font-size: 14px;
}
.footer.footer-1 .textwidget ul li {
    padding-left: 13px;
    position: relative;
}
.footer.footer-1 .textwidget ul li:before {
    top: -2px;
    font-size: 15px;
    color: var(--fs-color-primary);
    content: counter(linum, disc);
    position: absolute;
    left: 0;
}
.header-main .nav > li > a {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}
.header-button .button.primary:not(.icon) {
    animation-name: pulse;
    animation-delay: 0s;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
.btn-animation {
    animation-name: pulse;
    animation-delay: 0s;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
.off-canvas .nav-vertical>li>a br {
    display: none;
}
.off-canvas:not(.off-canvas-center) .nav-vertical li>a {
    color: #000;
}
.form-dang-ky span.wpcf7-spinner {
    display: none;
}
.void-cf7-form-widget-wrapper form {
    margin: 0;
}
.box-services-dental .wrapper {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.box-services-dental .image-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box-services-dental .image-bg img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/2.7;
}
.box-services-dental .image-bg {
    display: block;
    position: relative;
}
.box-services-dental .image-bg:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 80%;
    background: linear-gradient(90deg, rgb(28, 16, 145), rgba(234, 237, 238, 0));
    z-index: 2;
}
.box-services-dental.type-2 .inner-box {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    padding: 20px 15px;
}
.box-services-dental.type-2 .inner-box .title {
    color: #fff;
    font-size: 22px;
}
.box-services-dental.type-2 .inner-box .price {
    font-size: 50px;
    color: #fff;
    font-weight: bold;
}
.box-services-dental.type-1 .inner-box .title {
    color: #fff;
    margin: 0;
    text-align: center;
    font-size: 15px;
}
.box-services-dental.type-1 .image-bg:before {
	display: none;
}
.box-services-dental.type-1 .inner-box {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 20px;
    width: 100%;
    background-image: linear-gradient(rgba(253, 251, 251, 0), rgb(28, 16, 145));
}
.timeline-services-dental {
    margin: 0 auto;
    max-width: 900px;
}
.lists-timeline .item-timeline {
    position: relative;
    width: 50%;
    left: 50%;
}
.lists-timeline .item-timeline:nth-child(2n+1):before {
    content: "";
    border-width: 6px;
    border-radius: 1000px;
    border-style: solid;
    border-color: rgb(242, 67, 13);
    background-color: rgb(234, 242, 255);
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    left: 100%;
    margin-left: -20px;
	z-index: 1;
}
.lists-timeline .item-timeline:nth-child(2n+1):after {
    content: "";
    position: absolute;
    left: 100%;
    width: 1px;
    height: 100%;
    background-color: rgb(7, 58, 145);
    top: 0;
    z-index: 0;
}
.lists-timeline .item-timeline:nth-child(2n+2):before {
    content: "";
    border-width: 6px;
    border-radius: 1000px;
    border-style: solid;
    border-color: rgb(242, 67, 13);
    background-color: rgb(234, 242, 255);
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    left: 0;
    margin-left: -20px;
	z-index: 1;
}
.lists-timeline .item-timeline:nth-child(2n+2):after {
    content: "";
    position: absolute;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: rgb(7, 58, 145);
    top: 0;
    z-index: 0;
}
.lists-timeline .item-timeline:nth-child(2n+1) .item-wrapper {
    padding-right: 50px;
}
.lists-timeline .item-timeline:nth-child(2n+2) .item-wrapper {
    padding-left: 50px;
}
.lists-timeline .item-timeline:last-child:after {
	display: none;
}
.lists-timeline .item-timeline:nth-child(2n+1) {
    left: 0;
}
.lists-timeline .item-timeline .title {
    background-color: #094eb6;
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 15px 20px;
    margin: 0;
    display: block;
    position: relative;
}
.lists-timeline .item-timeline:nth-child(2n+1) .title {
    border-radius: 0 50px 50px 0;
}
.lists-timeline .item-timeline:nth-child(2n+2) .title {
    border-radius: 50px 0 0 50px;
}
.lists-timeline .item-timeline .image-bg {
    padding: 0 25px;
}
.lists-timeline .item-timeline:nth-child(2n+1) .title:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 25px solid #094eb6;
    border-left: 25px solid transparent;
    left: 0;
    top: 100%;
    position: absolute;
}
.lists-timeline .item-timeline:nth-child(2n+2) .title:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 25px solid #094eb6;
    border-right: 25px solid transparent;
    right: 0;
    top: 100%;
    position: absolute;
}
.lists-timeline .item-timeline .image-bg img {
    width: 100%;
    box-shadow: rgb(0, 0, 0) 0px 15px 20px -20px;
}
.member-info .image-avartar {
    position: relative;
    display: block;
    padding-bottom: 20px;
}
.member-info .image-avartar svg {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    bottom: 0;
    transform: rotate(-180deg);
}
.member-info .image-avartar img {
    padding: 0 24px;
}
.member-info .image-avartar img {
    padding: 0 24px;
    object-fit: cover;
    aspect-ratio: 1 / 0.888;
    border-radius: 100%;
}
.member-info .inner-box {
    text-align: center;
    margin-top: 10px;
}
.member-info .inner-box .title {
    font-weight: bold;
    line-height: 1.2;
    color: rgb(5, 34, 74);
    text-align: center;
    font-size: 18px;
    margin: 0;
}
.member-info .inner-box .info {
    color: #ff6d25;
    font-size: 14px;
}
.gallery-slider-dental .swiper-container {
    overflow: hidden;
    position: relative;
}
.gallery-slider-dental .swiper-btn {
    color: #094EB6;
}
.gallery-slider-dental .swiper-btn::after {
    font-size: 30px;
    color: #fff;
}
#uu-dai .item.item-submit input.wpcf7-submit,
#bang-gia .item.item-submit input.wpcf7-submit {
    width: 100%;
    border-radius: 5px;
    height: 45px;
	margin-bottom: 0;
}
#uu-dai .item select,
#bang-gia .item select,
#uu-dai .item:not(.item-submit) input,
#bang-gia .item:not(.item-submit) input {
    background-color: #F2EFF7;
    border: none;
    box-shadow: none;
    border-radius: 5px;
    height: 45px;
}
#uu-dai .img,
#bang-gia .img {
    margin: 0;
}
#uu-dai .sale-number,
#bang-gia .sale-number {
    font-size: 60px;
    text-shadow: rgb(139, 139, 139) 1px 2px 3px;
    line-height: 1;
}
#uu-dai .sale-number span.don-vi,
#bang-gia .sale-number span.don-vi {
    position: relative;
    font-size: 30px;
    top: -27px;
}
.form-tu-van span.wpcf7-spinner {
    display: none;
}
.gallery-slider-dental .gallery-slider {
    padding-bottom: 5px;
}
.mfp-close-btn-in .lightbox-by-id .mfp-close {
    opacity: 1;
    z-index: 222;
    color: #ff6d25;
    mix-blend-mode: unset;
}
.diva-bottom-bar {
    display: none;
}
@media only screen and (min-width: 1200px) {
	.footer.footer-1 .col:nth-child(1) {
		flex-basis: 60%;
		max-width: 60%;
		padding-right: 12%;
	}
	.footer.footer-1 .col:nth-child(2) {
		flex-basis: 40%;
		max-width: 40%;
	}
	.header-main ul.header-nav.nav-spacing-large>li {
		margin: 0 16px;
	}
	.elementor-element.full-left {
		padding-right: calc(calc(100% - 1200px) / 2);
	}
}
@media only screen and (max-width: 767px) {
	.diva-bottom-bar {
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 2;
        display: block !important;
        transition: transform 0.3s ease-out;
    }
    .diva-bottom-bar::before {
        content: '';
        width: 100%;
        background-color: #fff;
        position: absolute;
        bottom: -5px;
        display: block;
        background-size: 100% 100%;
        background-position: center;
        height: 70px;
        background-repeat: no-repeat;
        z-index: -1;
        box-shadow: 0 0px 5px 0px rgba(0, 0, 0, 0.5);
    }
	.bottom-bar-wrapper {
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
        flex-wrap: wrap;
        padding-bottom: 4px;
    }
	.bottom-bar-wrapper a {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 68px;
        text-decoration: none;
    }
    .bottom-bar-wrapper span {
        font-size: 10px;
        line-height: 1.5;
        color: #094EB6;
        text-align: center;
        width: 100%;
        font-weight: 700;
    }
    .bottom-bar-wrapper span svg {
        width: 40%;
        height: auto;
        fill: #FF6D25;
        margin: auto;
    }
    .tu-van-text {
        font-size: 10px;
        color: #fff;
        background: #094EB6;
        padding: 3px 5px 2px;
        border-radius: 16px;
        line-height: 1.2;
        font-weight: bold;
        width: 120%;
        text-align: center;
    }
	.footer-wrapper .footer-widgets.footer-1 {
		padding-bottom: 70px;
	}
}
@media only screen and (max-width: 520px) {
	.header-main .flex-col.show-for-medium.flex-right {
		display: none;
	}
	.header-main .medium-logo-center .logo {
		order: 0;
	}
	.header-main .medium-logo-center .flex-left ul.mobile-nav.nav.nav-left {
		justify-content: end;
	}
	.footer.footer-1 span.widget-title {
		font-size: 18px;
		padding-bottom: 15px;
	}
	.gallery-slider-dental .swiper-btn::after {
		font-size: 25px;
	}
	.lists-timeline .item-timeline {
		left: 0;
		width: 100%;
		max-width: 360px;
		padding-bottom: 20px;
	}
	.lists-timeline .item-timeline:nth-child(2n+1):before {
		left: 0;
	}
	.lists-timeline .item-timeline:nth-child(2n+1):after {
		left: 0;
	}
	.lists-timeline .item-timeline .item-wrapper {
		padding-left: 50px;
		padding-right: 0;
	}
	.lists-timeline .item-timeline:nth-child(2n+1) .item-wrapper {
		padding-right: 0;
	}
	.lists-timeline .item-timeline:nth-child(2n+1) .title {
		border-radius: 50px 0 0 50px;
	}
    .lists-timeline .item-timeline:nth-child(2n+1) .title:before {
        content: "";
        width: 0;
        height: 0;
        border-top: 25px solid #094eb6;
        border-right: 25px solid transparent;
        right: 0;
        top: 100%;
        position: absolute;
        border-left: none;
        left: auto;
    }
	.lists-timeline .wrapper {
		padding-left: 20px;
	}
}
