/* 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: 100%;
}

/*@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: 100vh;
    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;
    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;*/
}
/*.tf-master-menu-user-wrap li{
    padding-top: 15px;
    padding-bottom: 15px;
}*/

.tf-master-menu-user-wrap li a{
    padding-top: 15px;
    padding-bottom: 15px;
}
/* ---------- 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*/
.tf-master-control-wrap {
    width: 50px;
    height: 200px;
    max-height: calc(100% - 50px);
    /*overflow: hidden;*/
    position: absolute;
    top: 100px;
}

.tf-master-control-list {
    width: 100%;
}

.tf-master-control-list .btn {
    background: none;
    border: none;
    /* width: 100%;*/
    padding: 10px 0 10px 0;
    text-align: center;

}

.tf-master-control-list-icon-font {
    font-size: 24px;
    text-shadow: -2px 0 grey, 0 2px grey, 2px 0 grey, 0 -2px grey;
}

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

.tf-master-control-menu {
    position: absolute;
    width: 200px;
    height: 80vh;
    top: -100px;
    left: 52px;
    border: 2px solid grey;
    padding: 0 !important;
}

/*.tf-master-control-menu li  a{
    vertical-align: middle;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}*/

.tf-master-control-menu a:hover {
    background-color: #172d5a;
    color: white;
}

.tf-master-control-menu-font-icon {
    font-size: 20px;
    color: 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 ========== ==========*/
.tf-master-menu-wrap {
    position: absolute;
    height: 40px;
    width: 500px;
    left: 50%;
    bottom: 0;
    margin-left: -250px;
}

@media only screen and (max-width: 500px) {
    .tf-master-menu-wrap {
        width: 100%;
        left: 0;
        margin-left: 0;
        /* bottom: 50px; */
    }
}
.tf-master-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
    background-color: black;
    border-radius: 15px ;
    border: 1px solid #606060;
}
.tf-master-menu-content{
    height: 100%;
}
.tf-master-menu-icon-wrap {
    height: 100%;
}

.tf-master-menu-icon-wrap > .btn {
    height: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    color: grey !important;
}
.tf-master-menu-icon-font {
    font-size: 16px !important;
}

.tf-master-menu-icon-font-main {
    font-size: 24px !important;
}
.tf-master-menu-icon-font-play {
    font-size: 42px !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;
}
