.mb-2 {
    margin-bottom: 10px!important;
}

/* Select2 Fix */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px!important;
}

.select2-container .select2-selection--single {
    height: 32px!important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 3px!important;
    right: 3px!important;
}

.d-inline-block {
    display: inline-block!important;
    width: inherit;
}

.mb-3 {
    margin-bottom: 15px!important;
}

.text-dark {
    color: #333!important;
}

.text-ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.text-middle {
    vertical-align: middle!important;
}

.table input[type=radio] {
    line-height: 0;
}

.text-nowrap {
    white-space: nowrap!important;
}

.w-100px {
    width: 100px!important;
}

.text-middle {
    vertical-align: middle;
}

.text-red {
    color: #ff0000;
}

.no-bottom {
    margin-bottom: 0 !important;
}

.list_item {
    margin-left: -23px;
}

.list_item li {
    line-height: 25px;
}

.block_download .detail, .block_download .info_download {
    font: bold 13px/20px arial, verdana, sans-serif;
    margin: 0 0 8px 1px;
}

.block_download .introtext {
    font: normal 13px arial, verdana, sans-serif;
    text-align: justify;
    overflow: hidden;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.block_download .introtext button {
    margin-top: 5px
}

.block_download .dl-horizontal dt, .block_download .dl-horizontal dd {
    padding: 3px;
}

.block_download .rating {
    margin: 2px 10px 10px;
    padding: 3px
}

.block_download .info_download .report {
    background: url(../images/elearning/report.gif) no-repeat center left;
    padding-left: 20px
}

.block_download .image {
    text-align: center;
    padding-top: 8px;
}

.note {
    margin-bottom: 6px;
    display: block;
}

.category {
    width: 100%;
}

.category .glyphicon {
    margin-right: 10px;
}

.category .panel-body {
    padding: 0px;
}

.category .panel-body table tr td {
    padding-left: 15px
}

.category .panel-body .table {
    margin-bottom: 0px;
}

.viewcat_list .list-title {
    margin: 10px 0 5px 0
}

.viewcat_list .list-content {
    border-top: 1px dotted #DDDDDD;
    margin: 0 5px 0 5px;
    padding: 10px 0 10px 0;
}

.viewcat_list .pagination {
    margin-top: 0
}

/* div table */
.divTable {
    width: 100%;
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
}

.divTable .divTitle {
    display: table-caption;
    text-align: center;
    font-weight: bold;
    font-size: larger;
}

.divTable .divHeading {
    display: table-row;
    font-weight: bold;
    border-bottom-width: 2px;
}

.divTable .divHeading .Cell {
    border-bottom-width: 2px;
}

.divTable .Row {
    display: table-row;
}

.divTable .Row:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.divTable .Row:hover {
    background-color: #f5f5f5;
    cursor: default
}

.divTable .Cell {
    display: table-cell;
    border: 1px solid #ddd;
    border-width: thin;
    padding: 8px;
}

.scorm-container {
    width: 100%;
    border: 0;
}

.view-scorm-outer {
    position: relative;
    height: 0;
    width: 100%;
    padding-bottom: 75%;
}

.view-scorm-element {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.view-scorm-element video,
.view-scorm-element .scorm-iframe {
    width: 100%;
    height: 100%;
}

[data-toggle="clickviewscorm"].active {
    color: green;
}

/* SEARCH BLOCK */
.switch-search {
    display: block;
    margin-top: 6px;
}

#ltablesearch .select2-container .select2-selection--single {
    height: 32px !important;
}

#ltablesearch .location-area .input-group {
    -margin-bottom: 10px;
}

#ltablesearch .location-area .input-group:last-child {
    margin-bottom: 0px;
}

#eln-form-upload .input-group .select2-container--default .select2-selection--single,
#ltablesearch .input-group .select2-container--default .select2-selection--single {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    outline: 0;
}

#ltablesearch .select2-search__field {
    outline: 0;
}

/* GIRL */
.elgird {
    background: #fff;
    -webkit-box-shadow: 2px 2px 4px rgba(255, 255, 255, .15);
    box-shadow: 2px 2px 4px rgba(255, 255, 255, .15);
    margin-bottom: 30px;
}

.elgird .img {
    display: block;
}

.elgird .ct {
    padding: 10px;
}

.elgird .view {
    color: #999999;
    font-family: Tahoma;
    font-size: 13px;
}

.elgird .view i {
    font-size: 1.3em;
}

.elgird .rank,
.viewcat_list .rank {
    color: #ffae00;
}

.elgird .stat {
    margin-bottom: 5px;
}

.elgird h3 {
    margin-bottom: 5px;
}

.elgird p {
    color: #666;
    font-style: italic;
    font-size: 0.95em;
}

.elgird hr {
    margin-top: 7px;
    margin-bottom: 7px;
    border: 0;
    border-top: 1px solid #ccc;
}

.elgird .btn {
    background-color: #ed8000;
    border-color: #ed8000;
    border-radius: 0;
    font-family: Tahoma;
    font-size: 11px;
    line-height: 11px;
    padding: 5px;
    color: #fcfcfc;
}

#popAuthor {
    display: block;
}

#imageAuthorresource {
    max-width: 100%;
    border-radius: 50%;
    border: 3px #f88c0e solid;
}

/* Upload form */
.eln-upload-btn {
    margin-top: 7px;
}

.eln-plupload-item {
    margin-top: 7px;
    border: 1px #eee solid;
    padding: 10px;
    border-radius: 2px;
    background-color: #f4f4f4;
    position: relative;
}

.eln-plupload-item .eln-plupload-item-inner {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.eln-plupload-item .eln-plupload-item-inner .item-status,
.eln-plupload-item .eln-plupload-item-inner .item-remove {
    margin-left: 10px;
}

.eln-plupload-item .eln-plupload-item-inner .item-file-name {
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    min-width: 0;
}

.eln-plupload-item .eln-plupload-item-inner .item-file-name-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}

.eln-plupload-item .item-percent {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: -1px;
}

.eln-plupload-item .item-percent .percent-bar {
    background-color: #5cb85c;
    height: 3px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

.eln-plupload-item .item-percent .percent-bar.has-error {
    background-color: #ff0000;
}

/* Custom ribbon */
.custom-ribbon-1 {
    margin-bottom: 10px;
}
.custom-ribbon-1 .ribbon {
    margin-top: 0.5em;
    font-size: 1.75rem;
    position: relative;
    display: inline-block;
    width: calc(100% - 40px);
}
.custom-ribbon-1 .text {
    display: inline-block;
    padding: 0.5em 1em;
    min-width: 20em;
    line-height: 1.2em;
    background: #0096c7;
    color: #FFF;
    position: relative;
    width: 100%;
}
.custom-ribbon-1 .ribbon:after, .custom-ribbon-1 .ribbon:before, .custom-ribbon-1 .text:before, .custom-ribbon-1 .text:after, .custom-ribbon-1 .bold:before {
    content: '';
    position: absolute;
    border-style: solid;
}
.custom-ribbon-1 .ribbon:before {
    top: 0.3em;
    left: 0.2em;
    width: 100%;
    height: 100%;
    border: none;
    background: #EBECED;
    z-index: -2;
}
.custom-ribbon-1 .text:before {
    bottom: 100%;
    left: 0;
    border-width: .5em .7em 0 0;
    border-color: transparent #0071a6 transparent transparent;
}
.custom-ribbon-1 .text:after {
    top: 100%;
    right: 0;
    border-width: .5em 2em 0 0;
    border-color: #0071a6 transparent transparent transparent;
}
.custom-ribbon-1 .ribbon:after, .custom-ribbon-1 .bold:before {
    bottom: -0.5em;
    right: -2em;
    border-width: 1.1em 1em 1.1em 3em;
    border-color: #4ea8de transparent #4ea8de #4ea8de;
    z-index: -1;
}
.custom-ribbon-1 .bold:before {
    border-color: #EBECED transparent #EBECED #EBECED;
    bottom: -0.3em;
    right: -2.3em;
}

@media only screen and (max-width: 576px) {
    .custom-ribbon-1 .ribbon {
        width: 100%;
        font-size: 1.5rem;
    }
    .custom-ribbon-1 .ribbon:after, .custom-ribbon-1 .text:after, .custom-ribbon-1 .bold:before {
        display: none;
    }
}

/* Custom padding, margin */
.mb-2 {
    margin-bottom: 4px;
}
.mt-2 {
    margin-top: 4px;
}
.m-1 {
    margin: 2px;
}

/* Custom table */
.table-elearning {
    margin: 10px 0;
}
.table-elearning .row-elearning {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid #aaa;
}
.table-elearning .row-elearning>div {
    width: 100%;
    flex: 100%;
    display: flex;
    margin-right: 2px;
}
.table-elearning .row-elearning>div:last-child {
    margin-right: 0px;
}
.table-elearning .row-elearning>div>div {
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 5px;
    min-height: 30px;
    display: flex;
    align-items: center;
}
.table-elearning .row-elearning>div>div.no-flex {
    display: block;
}
.table-elearning .row-elearning>div .title-elearning {
    width: 150px;
    flex: 150px;
    margin-right: 2px;
    font-weight: bold;
}
.table-elearning .row-elearning>div .content-elearning {
    width: calc(100% - 155px);
    flex: calc(100% - 155px);
}
.table-elearning .row-elearning .content-elearning .eln-plupload-item  {
    margin-top: 0;
    margin-bottom: 5px;
}

@media only screen and (max-width: 768px) {
    .table-elearning .row-elearning {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .table-elearning .row-elearning>div .title-elearning {
        width: 100px;
        flex: 100px;
    }
}

.bg-light.panel-default .panel-heading {
    background-color: #FFF;
    background-image: none !important;
}
.file-area+div input[type="file"] {
    width: 0px;
    display: none;
}

/* Custom btn */
.btn-custom-warning {
    background-color: #ee9b00;
}

.ji-modal {
    position: fixed;
    left: 30px;
    display: none;
    z-index: 1000005;
}

.cl_if{
    margin-left: 530px;
}

.right-back-430{
    margin-right: 430px;
}

.right-back-360{
    margin-right: 360px;
}

.red{
    color: red;
}

.orange{
    color: orange;
    border-bottom: 1px solid black;
}

.orange2{
    color: orange;
}

.green{
    color: green;
    border-bottom: 1px solid black;
}

@media only screen and (max-width: 767px)  {
    .green{
        color: green;
        border-bottom: 1px solid black;
        font-size: 20px;
    }
    .orange{
        color: orange;
        border-bottom: 1px solid black;
        font-size: 20px;
    }
}

.green2{
    color: #5d9c0a;
}

.stt2{
    text-align: right;
}

.txtdecor{
    text-decoration: line-through;
}

input[type=radio]:checked:before{
    margin-bottom: 10px;
}

.btn-custom{
    background: orange;
}
.img-custom{
    width: 500px;
}

.pl-8 {
    padding-left: 40px!important;
}

.pl-1 {
    padding-left: 5px!important;
}

.eln-check-result {
    width: 30px;
    height: 30px;
    border: 1px #333 solid;
    display: inline-block;
    margin: 5px;
    overflow: hidden;
}

.eln-check-result.ok:before {
    content: " ";
    display: block;
    width: 100px;
    height: 1px;
    background-color: #333;
    transform: rotate(-45deg) translateX(-16px) translateY(-16px);
}

.eln-check-result.ok:after {
    content: " ";
    display: block;
    width: 100px;
    height: 1px;
    background-color: #333;
    transform: rotate(45deg) translateX(-16px) translateY(34px);
}

#upload_title_wraper ul.ui-menu li {
    border-top: 1px #ddd solid;
}

.tree-contest-test {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tree-contest-test li {
    margin: 2px 0!important;
}

.tree-contest-test li li {
    margin-left: 15px!important;
}

.tree-contest-test li>ul {
    display: none;
}

.tree-contest-test li.active>ul {
    display: block;
}

.tree-contest-test .item-name {
    border: 1px solid #dedede;
    padding: 7px 10px;
    display: block;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tree-contest-test .item-name > .fa::before {
    content: "\f067";
}

.tree-contest-test li.active > .item-name > .fa::before {
    content: "\f068";
}

.tree-contest-test .table {
    margin-bottom: 0;
}

@media only screen and (min-width: 556px) {
    .img-custom{
        margin-left: 100px;
    }
}
@media only screen and (max-width: 555px) and (min-width: 411px) {
    .img-custom{
        width: 350px;
    }
}
@media only screen and (max-width: 410px) and (min-width: 300px) {
    .img-custom{
        width: 275px;
    }
}
@media only screen and (max-width: 299px)  {
    .img-custom{
        width: 200px;
    }
}
