/********** Template CSS **********/
:root {
    --primary: #00B98E;
    --light: #F3F6F8;
    --dark: #000000;
    --info: #633BEE;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #FFFFFF;
}

.sticky-top.navbar .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.sticky-top.navbar .navbar-nav .nav-link:hover,
.sticky-top.navbar .navbar-nav .nav-link.active {
    color: var(--info);
}

.navbar .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar .navbar-brand h4 {
    color: #FFFFFF;
}

.navbar .navbar-brand h5 {
    color: #FFFFFF;
}

.navbar .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar {
        position: relative;
        background: #FFFFFF;
    }

    .navbar .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar .navbar-nav .nav-link,
    .sticky-top.navbar .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark);
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: var(--info);
    }

    .navbar .navbar-brand h1 {
        color: var(--info);
    }

    .navbar .navbar-brand h4 {
        color: var(--info);
    }

    .navbar .navbar-brand h5 {
        color: var(--info);
    }

    .navbar .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .2);
        z-index: 999;
    }

    .sticky-top.navbar {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 2px;
        bottom: 10px;
        left: 0;
        background: #FFFFFF;
        opacity: 0;
        transition: .5s;
    }

    .sticky-top.navbar .navbar-nav .nav-link::before {
        background: var(--info);
    }

    .navbar .navbar-nav .nav-link:hover::before,
    .navbar .navbar-nav .nav-link.active::before {
        bottom: -1px;
        left: 0;
        opacity: 1;
    }

    .navbar .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar .navbar-brand h1 {
        color: var(--info);
    }

    .sticky-top.navbar .navbar-brand h4 {
        color: var(--info);
    }

    .sticky-top.navbar .navbar-brand h5 {
        color: var(--info);
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 6rem 0 3rem 0;
    /* background: url(.../img/shape-bottom.png) center bottom no-repeat; */
    background: url('https://dent-revproxy.dent.cmu.ac.th/cleftday2023/img/shape-bottom.png') center bottom no-repeat;
}

.page-header {
    margin-bottom: 6rem;
    padding: 12rem 0 6rem 0;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
    }

    .page-header {
        padding: 6rem 0;
    }
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(256, 256, 256, .5);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    box-shadow: none;
    border-color: var(--info);
}

.service-item .service-icon,
.service-item .service-btn {
    margin: -1px 0 0 -1px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--info);
    border-radius: 5px 0;
    transition: .5s;
}

.service-item .service-btn {
    margin: -1px -1px 0 0;
    border-radius: 0 5px;
    opacity: 0;
}

.service-item:hover .service-btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transform: scale(.85);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: none;
    border-color: var(--info);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-item img {
    width: 50px;
    height: 50px;
}

.testimonial-carousel .owl-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--info);
    border: 1px solid var(--info);
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--info);
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 30px;
    text-align: center;
    transition: .5s;
    z-index: 1;
}

.team-item::before,
.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 40%;
    top: 0;
    left: 0;
    border-radius: 5px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: -1;
}

.team-item::after {
    top: auto;
    bottom: 0;
}

.team-item:hover::before,
.team-item:hover::after {
    background: var(--info);
}

.team-item h5,
.team-item p {
    transition: .5s;
}

.team-item:hover h5,
.team-item:hover p {
    color: #FFFFFF;
}

.team-item img {
    padding: 15px;
    border: 1px solid var(--info);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--info);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* ------------------------------------------------------- player1 ---------------------------------------------------------- */


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
}


.container1 {
    max-width: 1200px;
    margin: 100px auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.container1 .main-video-container {
    flex: 1 1 700px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    background-color: #633BEE;
    padding: 15px;
}

.container1 .main-video-container .main-video {
    margin-bottom: 7px;
    border-radius: 5px;
    width: 100%;
}

.container1 .main-video-container .main-vid-title {
    font-size: 20px;
    color: rgb(255, 255, 255);
}

.container1 .video-list-container {
    flex: 1 1 350px;
    height: 550px;
    overflow-y: scroll;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    background-color: #633BEE;
    padding: 15px;
}

.container1 .video-list-container::-webkit-scrollbar {
    width: 10px;
}

.container1 .video-list-container::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 5px;
}

.container1 .video-list-container::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 5px;
}

.container1 .video-list-container .list {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background-color: #eee;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 10px;
}

.container1 .video-list-container .list:last-child {
    margin-bottom: 0;
}

.container1 .video-list-container .list.active {
    background-color: rgb(68, 68, 68);
}

.container1 .video-list-container .list.active .list-title {
    color: #fff;
}

.container1 .video-list-container .list .list-video {
    width: 100px;
    border-radius: 5px;
}

.container1 .video-list-container .list .list-title {
    font-size: 17px;
    color: #444;
}



.container2 {
    max-width: 1200px;
    margin: 100px auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.container2 .main2-video2-container2 {
    flex: 1 1 700px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    background-color: #633BEE;
    padding: 15px;
}

.container2 .main2-video2-container2 .main2-video2 {
    margin-bottom: 7px;
    border-radius: 5px;
    width: 100%;
}

.container2 .main2-video2-container2 .main2-vid2-title2 {
    font-size: 20px;
    color: rgb(255, 255, 255);
}

.container2 .video2-list2-container2 {
    flex: 1 1 350px;
    height: 600px;
    overflow-y: scroll;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    background-color: #633BEE;
    padding: 15px;
}

.container2 .video2-list2-container2::-webkit-scrollbar {
    width: 10px;
}

.container2 .video2-list2-container2::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 5px;
}

.container2 .video2-list2-container2::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 5px;
}

.container2 .video2-list2-container2 .list2 {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background-color: #eee;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 10px;
}

.container2 .video2-list2-container2 .list2:last-child {
    margin-bottom: 0;
}

.container2 .video2-list2-container2 .list2.active2 {
    background-color: #444;
}

.container2 .video2-list2-container2 .list2.active2 .list2-title2 {
    color: #fff;
}

.container2 .video2-list2-container2 .list2 .list2-video2 {
    width: 100px;
    border-radius: 5px;
}

.container2 .video2-list2-container2 .list2 .list2-title2 {
    font-size: 17px;
    color: #444;
}


@media (max-width:1200px) {

    .container1 {
        margin: 0;
    }

    .container2 {
        margin: 0;
    }
}

@media (max-width:450px) {

    .container1 .main-video-container .main-vid-title {
        font-size: 15px;
        text-align: center;
    }

    .container1 .video-list-container .list {
        flex-flow: column;
        gap: 10px;
    }

    .container1 .video-list-container .list .list-video {
        width: 100%;
    }

    .container1 .video-list-container .list .list-title {
        font-size: 15px;
        text-align: center;
    }



    .container2 .main2-video2-container2 .main2-vid2-title2 {
        font-size: 15px;
        text-align: center;
    }

    .container2 .video2-list2-container2 .list2 {
        flex-flow: column;
        gap: 10px;
    }


    .container2 .video2-list2-container2 .list2 .list2-video2 {
        width: 100%;
    }

    .container2 .video2-list2-container2 .list2 .list2-title2 {
        font-size: 15px;
        text-align: center;
    }
}

/* ------------------------------------------------------- end player1 ---------------------------------------------------------- */

/* ------------------------------------------------------- player3 ---------------------------------------------------------- */

.container3 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}


.container3 .main-video-container3 {
    flex: 1 1 700px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    background-color: rgb(44, 44, 44);
    padding: 15px;
}

.container3 .main-video-container3 .main-video3 {
    margin-bottom: 7px;
    border-radius: 5px;
    width: 100%;
}


.container3 .video-list-container3 {
    flex: 1 1 350px;
    height: 545px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    background-color: rgb(44, 44, 44);
    padding: 15px;
}

/* ------------------------------------------------------- end player3 ---------------------------------------------------------- */


/* ------------------------------------------------------- table ---------------------------------------------------------- */

table {
    border-radius: 10px;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 100%;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

table tr td {
    border: solid 1px silver;
}

table thead tr {
    background-color: #633BEE;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

table th,
table td {
    padding: 12px 15px;
}

table tbody tr {
    border-bottom: 1px solid #dddddd;
}

table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

table tbody tr:last-of-type {
    border-bottom: 2px solid #633BEE;
}

table tbody tr.active-row {
    font-weight: bold;
    color: #633BEE;
}

/* ------------------------------------------------------- end table ---------------------------------------------------------- */

/* ------------------------------------------------------- font ---------------------------------------------------------- */

@font-face {
    font-family: "Prompt-Thin";
    /* src: url(font/Prompt-Light.ttf); */
    src: url('https://dent-revproxy.dent.cmu.ac.th/cleftday2023/font/Prompt-Light.ttf');
}

body {
    font-family: "Prompt-Thin";
}

/* ------------------------------------------------------- end font ---------------------------------------------------------- */

/* ------------------------------------------------------- google maps ---------------------------------------------------------- */

.map {
    border-radius: 10px;
    height: 600px;
    width: 75%;
}

/* ------------------------------------------------------- end google maps ---------------------------------------------------------- */


.wrapper {
    display: flex;
    max-width: 1200px;
    position: relative;
}

.wrapper i {
    top: 50%;
    height: 44px;
    width: 44px;
    color: #343F4F;
    cursor: pointer;
    font-size: 1.15rem;
    position: absolute;
    text-align: center;
    line-height: 44px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.wrapper i:active {
    transform: translateY(-50%) scale(0.9);
}

.wrapper i:hover {
    background: #f2f2f2;
}

.wrapper i:first-child {
    left: -22px;
    display: none;
}

.wrapper i:last-child {
    right: -22px;
}

.wrapper .carousel2 {
    font-size: 0px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.carousel2.dragging {
    cursor: grab;
    scroll-behavior: auto;
}

.carousel2.dragging img {
    pointer-events: none;
}

.carousel2 img {
    height: 340px;
    object-fit: cover;
    user-select: none;
    margin-left: 14px;
    width: calc(100% / 3);
}

.carousel2 img:first-child {
    margin-left: 0px;
}

@media screen and (max-width: 900px) {
    .carousel2 img {
        width: calc(100% / 2);
    }
}

@media screen and (max-width: 550px) {
    .carousel2 img {
        width: 100%;
    }
}



/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal2 {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close2 {
    position: absolute;
    top: 75px;
    right: 0px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close2:hover,
.close2:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 600px) {
    .modal-content {
        width: 90%;
    }
}