﻿.fs06 {
    font-size: 0.6rem !important;
}

.editable-content {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    min-height: 36px;
}

.ellipsis-text {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsis-text-tb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

    .ellipsis-text-tb:hover {
        white-space: normal;
        overflow: visible;
        text-overflow: clip; /* ไม่ให้ใส่จุด (...) */
    }
.card-footer {
    background-color: white;
}
/*---------------------------------------------------
    BUTTON
-----------------------------------------------------*/
.btn-navbar {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--co-navbar);
    --bs-btn-border-color: var(--co-navbar);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--co-black-one);
    --bs-btn-hover-border-color: var(--co-black-one);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--co-black-one);
    --bs-btn-active-border-color: var(--co-black-four);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--co-black-four);
    --bs-btn-disabled-border-color: var(--co-black-four);
}
/* ---------------------------------------------------
    DROP FILE
----------------------------------------------------- */

input.dropfile::file-selector-button {
    min-height: 150px;
    background: #00000000;
    color: #00000000;
    padding: 20px 20px;
    text-align: center;
    width: 100%;
    border: 1px dashed var(--co-blue-two);
    border-radius: 5px;
    font-weight: 400;
    justify-content: center;
    cursor: pointer;
}

    input.dropfile::file-selector-button:hover {
        color: #00000000;
    }

.hidden-in-preview {
    display: none;
}

/* ---------------------------------------------------
    BANNER AND AVATAR
----------------------------------------------------- */
.banner-left {
    min-height: 650px;
}

.img-banner-left {
    border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius) !important;
    height: 100%;
    background-size: cover;
}

.img-banner-top {
    padding: 12% !important;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.avatar-img {
    width: auto;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
    margin-top: -100px;
    border: 5px solid #fff !important;
    background: #fff;
}

.img-contant {
    height: 250px;
    width: auto;
}

.avatar-img-report {
    width: auto;
    height: 50px;
    -o-object-fit: cover;
    object-fit: cover;
    border: 5px solid #fff !important;
}

@media (max-width: 992px) {

    .banner-left {
        min-height: 0px;
    }

    .img-banner-left {
        border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0 !important;
        height: 200px;
        background-size: cover;
    }

    .avatar-img {
        width: auto;
        height: 150px;
        margin-top: -80px;
    }

    .my-sm-0 {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .img-contant {
        height: auto;
        width: 100%;
    }
}

@media (max-width: 500px) {
    .img-banner-left {
        height: 130px;
    }

    .avatar-img {
        width: auto;
        height: 100px;
        margin-top: -50px;
    }
}


/* ---------------------------------------------------
    TIMELINE
----------------------------------------------------- */

.timeline {
    border-left: 3px solid var(--co-blue-two);
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    /*background: rgba(114, 124, 245, 0.09);*/
    margin: 0 auto;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding-left: 24px;
    list-style: none;
    text-align: left;
}

@media (max-width: 767px) {
    .timeline {
        max-width: 98%;
        padding-left: 25px;
    }
}

.timeline h1 {
    font-weight: 300;
    font-size: 1.4em;
}

.timeline h2,
.timeline h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline .event {
    padding-bottom: 5px;
    margin-bottom: 5px;
    position: relative;
}


    .timeline .event:before,
    .timeline .event:after {
        position: absolute;
        display: block;
        top: 0;
    }

@media (max-width: 767px) {
    .timeline .event:before {
        left: 0px;
        text-align: left;
    }
}

.timeline .event:after {
    -webkit-box-shadow: 0 0 0 3px var(--co-blue-two);
    box-shadow: 0 0 0 3px var(--co-blue-two);
    left: -30px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 5px;
}

@media (max-width: 767px) {
    .timeline .event:after {
        left: -31.8px;
    }
}
