@media (min-width: 769px) {
    .sidebar-lg-show .sidebar {
        width: 250px !important;
    }

    .sidebar-lg-show .sidebar .nav {
        width: 250px !important;
    }

    .sidebar-lg-show .sidebar-nav {
        width: 250px !important;
    }
}

.app-body .sidebar-lg-show .sidebar {
    flex: 0 0 250px;
    order: -1;
}

.app-header .navbar-brand {
    width: 200px;
}

table.dataTable thead th:first-child, table.dataTable thead th[aria-label~='#'], table.dataTable tfoot th:first-child {
    width: 50px !important;
}

/* Style for lessions video */
ul.lession-video {
    list-style: none;
    padding: 0;
}

li.lession-li {
    background: #eee;
    margin: 1px;
    padding: 5px 10px;
    float: left;
    margin-right: 10px;
}

.sortable-ghost {
    opacity: .6;
}

.video-main {
    width: 100%;
    margin-bottom: 30px;
    background: #f4f4f4;
    padding: 10px;
    margin-top: 50px;
}

.video-last {
    display: table;
    margin: 0 auto;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    margin: 0 auto;
}

.video {
    position: relative;
    cursor: move;
}

.item-number {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.video-badge {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background: rgb(82, 196, 26);
    color: #eee;
    top: -10px;
    right: -10px;
    font-weight: bold;
    padding-left: 4px;
    padding-top: 3px;
    z-index: 1000;
}

.point {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.point-number {
    color: brown;
    font-size: 25px;
    margin-left: 30px;
}

.btn-change-point {
    margin-left: 18px;
}

.btn-success {
    color: #fff !important;
}

.dataTables_info {
    display: none !important;
}

a.btn.btn-secondary.btn-add-user-video {
    width: 100px;
    height: 101px;
    margin-top: -8px;
    padding: 28px;
    font-size: 30px;
    border-radius: 0px;
}

.loading {
    margin: 50% auto;
    display: table;
}

.video-badge.remove-badge {
    background: red;
    padding-left: 10px;
    padding-top: 3px;
    font-size: 17px;
}

.div-filter {
    margin-top: 10px;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid gray;
}

.div-list {
    padding-left: 15px;
    height: 300px;
    overflow: scroll;
}

.video-type {
    font-size: 20px;
    color: #2c387e;
    font-weight: 600;
}

.c-title {
    text-align: center;
    font-size: 25px;
    color: #2c387e;
}

th.bg-video {
    background: #b2ebf2;
}

.div-rank {
    margin-top: 180px;
}

.rank-title {
    font-size: 20px;
    font-weight: 600;
}

.rank-number {
    margin-top: 20px;
    font-weight: 600;
}

.video-count {
    position: absolute;
    top: 0;
    right: 0;
    border: 1px solid;
    padding: 2px 20px 2px 20px;
}

label.checkbox-inline {
    padding: 20px 20px 0px 20px;
}

span.filename {
    padding: 5px 15px 5px 15px;
    border: 1px solid;
    margin-left: 30px;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-upload {
    border: 2px solid gray;
    color: gray;
    background-color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
}

.upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.div-footter {
    margin-top: 20px;
    border-top: 1px solid gray;
    padding-top: 20px;
    position: relative;
}

button.btn.btn-danger.btn-rm {
    right: 0;
    position: absolute;
    width: 85px;
}

.c-title {
    text-align: center;
}

.main-master {
    padding: 10px;
    border-style: ridge;
}

.tab.video-tab .nav-tabs {
    font-family: 'Lato', sans-serif;
    margin: 0 0 10px 0;
    border: none;
}

.tab.video-tab .nav-tabs li a {
    color: #444;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    border-radius: 0;
    box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease 0s;
    text-decoration: none;
}

.tab.video-tab .nav-tabs li a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

.tab.video-tab .nav-tabs li:last-child a {
    margin-right: 0;
}

.tab.video-tab .nav-tabs li a:hover,
.tab.video-tab .nav-tabs li.active a {
    color: #fff;
    border-color: transparent;
    border: none;
}

.tab.video-tab .nav-tabs li a:before {
    content: "";
    background: linear-gradient(to right, #2F80ED, #56CCF2);
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: 0 50% 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.5s ease-out 0s;
}

.tab.video-tab .nav-tabs li.active a:before,
.tab .nav-tabs li a:hover:before {
    transform: scaleX(1);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

@media only screen and (max-width: 767px) {
    .tab.video-tab .nav-tabs li a {
        padding: 10px 20px;
    }
}

@media only screen and (max-width: 479px) {
    .tab.video-tab .nav-tabs li {
        text-align: center;
        width: 100%;
        margin-bottom: 15px;
    }
}

/*template message textarea*/
.list-messages {
    height: 230px;
    overflow-y: scroll;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 40, 100, .12);
    border-radius: 3px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    padding: 20px 0 20px;
}

.list-messages li:hover {
    text-decoration: underline;
    cursor: pointer;
}

label.checkbox-inline {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 20px 10px 0px 20px;
    width: 250px;
    height: 50px !important;
}

input.video-ttl {
    margin-left: -10px;
    border: 1px solid gray !important;
}

span.url-file {
    position: absolute;
    top: 50px;
    left: 180px;
}

.boder-bt {
    border-bottom: 1px solid rgba(0,40,100,.12);
}

.div-font-weight-bold label:first-child {
    font-weight: 700!important;
}

.scale-video {
    background-color: black;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 4:3 Aspect Ratio */
 }

 .scale-video video {
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
 }
