/* 0000CC - 0033CC - 0000FF - 0033FF - 0066FF - 0099FF - 00CCFF === 00BFFF - 00FFFF */

* {
    font-size: 12px;
    font-family: Arial, Times New Roman, Verdana, Sans-serif;
    margin: 0;
    padding: 0; 
}

.tf-master-bg-bar {
    background-color: #003300;
}

body {
    background-color: black;
    width: 100%;
    height:  100svh;
    font-family: 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    /* 100dvh thay vì 100vh */
    /* height: 100dvh; 
    overflow: hidden;
    margin: 0;
    padding: 0; */
}

/*@media only screen and (max-width: 600px) {
    *{
        font-size: 0.8em;
    }
}*/

@media screen and (max-device-width: 500px) {
    body {
        font-size: 0.9em !important;
    }
}

.tf-master-wrap {
    position: relative;
    width: 100vw;
    height: 100svh;
    overflow: hidden; /*new*/
    background-color: black;

}

@keyframes progress {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.tf-master-loading-status {
    position: absolute;
    width: 100%;
    height: 2px;
    top: 0;
    z-index: 99999999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-master-loading-bar {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: transparent;

}

.tf-master-loading-bar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: left;
    background-color: red;
    animation: progress 5s infinite;
}

.tf-master-loading-bar::after {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
}

/*user avatar*/
.tf-master-user-avatar-circle-20 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.tf-master-user-avatar-circle-30 {
    /* width: 30px; */
    height: 30px;
    width: auto;
    border-radius: 50%;
}

.tf-master-user-avatar-circle-40 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.tf-master-user-avatar-circle-50 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.tf-master-notify-auto-close {
    position: absolute;
    text-align: center;
    padding: 5px;
    width: 40%;
    background-color: red;
    color: white;
    top: 0;
    left: 30%;
    border-radius: 5px;
}

@media only screen and (max-width: 768px) {
    .tf-master-notify-auto-close {
        width: 80%;
        left: 10%;
    }
}

/*========== =========== header ========= ==========*/
.tf-master-header {
    height: 100%;
    position: relative;
}

.tf-master-header-wrap-icon {
    height: 100%;
    border-radius: 5px;
    position: relative;
}

.tf-master-header-wrap-icon:hover {
    background-color: #3B8BEB;
}

.tf-master-header-icon {
    width: 40px !important;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    /*margin-top: -20px !important;*/
    /* margin-left: 20px;*/
    transform: translate(-50%, -50%);
    background: none !important;
    border: none !important;
    padding: 0;
}

.tf-master-header-new-notify {
    position: absolute;
    top: 0;
    left: 25px;
    background-color: red;
    color: white;
    border-radius: 40%;
    padding-right: 4px !important;
    padding-left: 4px !important;
}

.tf-master-header-text {
    font-size: 16px;
}

.tf-master-header-icon-font {
    color: white;
    font-size: 24px;
    text-shadow: -1.5px 0 grey, 0 1px grey, 1px 0 grey, 0 -1.5px grey;
}

.tf-master-header-icon-img {
    width: 24px;
    height: 24px;
}

/* .tf-master-header-icon-logo {
    display: none !important;
} */

@media only screen and (max-width: 500px) {
    /* .tf-master-header-icon-logo {
        display: block;
    } */

    .tf-master-header-icon {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* .tf-master-header-wrap-icon .tf-center {
        margin-left: 0 !important;
        margin-right: 0 !important;
    } */

    .tf-master-header-text {
        font-size: 16px;
    }

    .tf-master-header-icon-font {
        font-size: 20px;

    }

    .tf-master-header-icon-img {
        width: 20px;
        height: 20px;
    }
}

/*-------- user ----------*/

.tf-master-header-wrap-icon .tf-user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.tf-master-header-wrap-icon .tf-user-menu {
    position: absolute;
    width: 200px;
    right: 0;
    padding: 0 !important;
}

.tf-user-menu .list-group {
    margin: 0 !important;
    padding: 0 !important;
}

.tf-user-menu .list-group-item {
    height: 40px !important;
    line-height: 40px !important;
    padding-top: 0 !important;
    border: none;
}

/*point*/
.tf-master-header-point {
    height: 40px !important;
    line-height: 40px !important;
}

.tf-master-header-point-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.tf-master-header-point-usd {
    font-size: 20px;
    /*margin-top: 10px;*/
}
/*.master-menu-user-wrap li{
    padding-top: 15px;
    padding-bottom: 15px;
}*/

.master-menu-user-wrap li a{
    padding-top: 10px;
    padding-bottom: 10px;
}
.master-menu-user-wrap li .btn{
    padding: 0;;
    width: 100%;
}
/* ---------- header left --------- */
/* .tf-master-header-left {
    position: relative;
    padding: 0 0 0 10px;
} */

/* ---------- header center ---------- */
/* .tf-master-header-center {
    position: relative;
    height: 42px;
    line-height: 42px;
    padding: 0;
} */

/* 
.tf-master-header-right {
    position: relative;
    padding: 0 10px 0 0;
} */

/* ---------- header right ------------ */
.tf-master-header-point .list-group-item {
    height: 40px !important;
    line-height: 40px !important;
    padding-top: 0 !important;
    border: none;
}

.tf-master-header-extend .list-group-item {
    height: 40px !important;
    line-height: 40px !important;
    padding-top: 0 !important;
    border: none;
}

/*extend*/
.tf-master-header-notify-new {
    position: absolute;
    top: 5px;
    right: 2px;
    height: 14px;
    line-height: 14px;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 0.8em;
    background-color: red;
    color: white;
    border-radius: 2px;
}

.tf-master-wrap-fix {
    display: flex;
    justify-content: center;
}

.tf-master-wrap-fix .tf-master-screen-fix {
    /*background-color: #101010;*/
    width: 800px !important;
    min-height: 100vh;
    padding-bottom: 80px;
    margin: 0 auto;

}


/*========== container action ==========*/
.tf-master-container-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
}

.tf-master-container-background {
    background-color: black;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.tf-master-contain-fix {
    position: absolute;
    width: 500px;
    height: calc(100% - 100px);
    z-index: 999999;
    top: 50px;
    left: 50%;
    margin-left: -250px;
    border: 4px solid black;
}

@media only screen and (max-width: 500px) {
    .tf-master-contain-fix {
        width: calc(100% - 80px);
        height: calc(100% - 80px);
        left: 40px;
        margin-left: 0;
        top: 40px;
    }
}

.tf-master-container-wrap .tf-close {
    font-size: 18px;
    margin-top: 15px;
    margin-right: 15px;
}

.tf-master-container-content-wrap {
    height: 80vh;
    position: absolute;
    top: 10%;
    background-color: white;
    padding-top: 50px;

}

.tf-master-container-img-wrap {
    background-color: white;
    position: absolute;
    max-width: 80%;
    max-height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/*notify*/
.tf-master-notify-wrap {
    position: absolute;
    width: 400px;
    height: 80vh;
    top: 58px;
    right: 15px;
    padding: 0;
    border-radius: 5px;

}

@media only screen and (max-width: 768px) {
    .tf-master-notify-wrap {
        width: 300px !important;
    }
}

.tf-master-notify-wrap .tf-notify-top {
    height: 30px;
}

.tf-master-notify-wrap .tf-notify-bottom {
    height: 30px;
}

.tf-master-user-notify-activity table tr {
    border-bottom: 1px solid #808080;
}

.tf-master-user-notify-activity .tf-avatar {
    width: 10%;
}

.tf-master-user-notify-activity .tf-avatar .avatar {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
}

.tf-master-user-notify-activity .tf-content {
    width: 75%;
    padding-left: 0;
    padding-right: 0;
}

.tf-master-user-notify-activity .tf-object {
    position: relative;
    width: 15%;
    padding: 5px;
    text-align: center !important;
}

.tf-notify-hide-object-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
    display: none;
}

.tf-notify-wrap .panel-heading, .tf-notify-wrap .panel-footer {
    height: 30px;
    line-height: 30px !important;
}

/*========== =========== footer ========== ==========*/
.tf-master-footer {
    position: fixed;
    padding: 0;
    bottom: -2px;
    z-index: 999999;
    color: white;
    border: none;
}

.tf-master-footer-title {
    position: absolute;
    line-height: 20px;
    top: -20px;
    background-color: #172d5a;
    border-top: 2px solid black;
    border-radius: 32px 32px 0 0;
}

.tf-master-footer-content {
    margin: 0;
    border-collapse: collapse;
    display: none;
}

/*master control*/

.master-control {
    width: 50px;
    height: 50%; 
    position: absolute;
    top: 100px;
    left: 0;
}
.master-control .control-list{
    margin: 0 !important;
    width: 100%;
}
.master-control .control-list-icon{
    margin: 0 !important;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
}
/* .direction-control-icon-play{
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
} */
.master-control .control-list-icon .btn{
    width: 100%;
    padding: 10px 0; 
    border: none; 
    background: none;
    
} 
.master-control .control-list-icon .font-icon{ 
    font-size: 3rem;
    color: white;
    text-shadow: -1px 0 grey, 0 1px grey, 1px 0 grey, 0 -1px grey;
}

.master-control .control-list-icon .name{ 
    font-size: 1.2rem;
    color: white;
    text-shadow: -1px 0 grey, 0 1px grey, 1px 0 grey, 0 -1px grey;
}

/*master page*/ 
.tf-master-page-header {
    height: 50px;
    width: 100%;
    border-bottom: 2px solid black;
}

.tf-master-page-body {
    position: relative;
    width: 100%;
    /*height: calc(100vh - 50px);*/
}

.tf-master-page-body-bg-color {
    background-color: #101010;
    color: #a0a0a0;
}
/*========== =========== menu ========== ==========*/
.master-menu-wrap {
    position: absolute;left: 42%;
    width: 16%;    
    height: 40px;
    /* width: 260px;
     */
    bottom: 0;
    /* margin-left: -130px; */
}

@media only screen and (max-width: 500px) {
    .master-menu-wrap {
        width: calc(100% - 180px);
        left: 90px;
        /* bottom: 0; */
    }
}

.master-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
    background-color: black;
    border-radius: 20px ;
    border: 1px solid #606060;
}
.master-menu-content{
    height: 100%;
}
.master-menu-icon-wrap {
    height: 100%;
}

.master-menu-icon {
    height: 100%;
    padding: 0 !important;
    padding: 0 !important;
    border: none !important;
    color: grey !important;
    background: none;
}

.master-menu-icon .font-icon {
    font-size: 1.8rem;
}
 
/* .master-menu-icon-play {
    margin-left: 50%; left: -19px;
     padding: 0;
     width: 38px; 
     height: 100%;
    background:none;
} */

.master-menu-icon .play-font-icon{
    color: green; font-size: 2.5rem;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

.master-menu-icon-user{
    position: relative; 
    height: 100%;  
    width:100%; 
    overflow:hidden; 
    border: none; 
    background:none;
}
.master-menu-icon-user .font-icon {
    font-size: 1.8rem;
}
.master-menu-icon-user .avatar-img{
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

.master-object-background-color{
    background-color: grey; 
}

.tf-master-menu-icon-font {
    font-size: 16px !important;
}

.tf-master-menu-home-icon {
    width: 60px !important;
    height: 60px;
    position: relative;
    background: none !important;
    border: none !important;
    margin: 10px 0 10px 0;
}

.tf-master-menu-home-icon-new-notify {
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    color: white;
    border-radius: 40%;
    padding-right: 4px !important;
    padding-left: 4px !important;
}

.tf-master-slideshow{
    width: 600px;
    height: 100vh;
    position: absolute;
    left: 50%;
    margin-left: -300px;
    

}

@media screen and (max-device-width: 500px) {
    .tf-master-slideshow {
        width: 100%;
        /*height: 100vh;*/
        left: 0;
        margin-left: 0;
        /*background-color: blue;*/
        font-size: 0.9em;
        /*border: none;*/
        background: none;
    }
}