﻿/**
 * @Project NUKEVIET MUSIC 4.X
 * @Author PHAN TAN DUNG <writeblabla@gmail.com>
 * @Copyright (C) 2016 PHAN TAN DUNG. All rights reserved
 * @License GNU/GPL version 2 or any later version
 * @Createdate Sun, 26 Feb 2017 14:04:32 GMT
 */

/*--- CORE ---*/
.ms-ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

td.ms-ellipsis {
    max-width: 0;
}

.ms-search-hr {
    margin-top: 0;
}

.mb-1 {
    margin-bottom: 5px!important;
}

.mt-1 {
    margin-top: 5px!important;
}

.pl-0 {
    padding-left: 0!important;
}

.pt-0 {
    padding-top: 0!important;
}

.d-block {
    display: block!important;
}

.ms-content-picked-lists {
    padding: 0;
    margin: 0;
    list-style: none;
    padding-left: 90px;
    width: 100%;
}

.ms-content-picked-lists li {
    display: block;
    margin-bottom: 5px;
    border: 1px #ddd solid;
    border-radius: 3px;
    padding: 6px 7px;;
    position: relative;
    padding-left: 25px;
}

.ms-content-picked-lists li:last-child {
    margin-bottom: 0;
}

.ms-content-picked-lists li .delitem {
    position: absolute;
    top: 7px;
    left: 7px;
}

.ms-content-picked-lists li .val,
.ms-content-picked-lists li .sval {
    display: block;
}

.modal {
    z-index: 1080; /* Đặt lên để vượt qua cái tooltip */
}

/*--- Fix Form ---*/
.form-horizontal .control-label,
#formmodalctn .control-label {
    font-weight: 700;
}
.form-horizontal .control-label .fa-asterisk {
    color: #B0171F;
    font-weight: normal;
    font-size: 10px;
}
.form-horizontal .ckeditor .control-label{
    padding-top: 0;
    margin-bottom: 7px;
}
.form-horizontal .ckeditor .control-label .fa-asterisk {
    position: relative;
    top: -1px;
}
.form-horizontal .checkbox input[type="checkbox"]{
    margin-top: 1px;
}
.form-horizontal .help-block{
    margin-bottom: 0;
}
.form-horizontal .loading{
    display: none;
}
.form-element div.tooltip.bottom {
    left: 5px!important;
}
.form-element div.tooltip.bottom div.tooltip-arrow {
    left: 15px!important;
}
.ms-form-group-last {
    margin-bottom: 0;
}
.form-text {
    display: block;
    margin-top: 5px;
}

.has-error .select2-container--default.select2-container--focus .select2-selection--multiple,
.has-error .select2-container--default .select2-selection--multiple {
    border-color: #a94442;
}

/*--- CAPTION ---*/
.page-title{
    padding: 0 0 15px 0;
}
.page-title h1,
.page-title h2,
.page-title h3,
.page-title h4,
.page-title h5,
.page-title h6,
.table-responsive h3 {
    margin: 0;
}

/* CUSTOM BOOTSTRAP */
hr.sm {
    margin-top: 5px;
    margin-bottom: 10px;
}
.text-muted > a {
    color: #999!important;
}
.ms-title {
    color: #333!important;
}
.dropdown-menu-fullwidth {
    min-width: 100%;
}
.btn-changeweight {
    text-align: left;
    padding-right: 20px!important;
}
.btn-changeweight .caret {
    float: right;
    margin-top: 7px;
    margin-right: -14px;
}
.ms-check-in-list {
    margin-top: 11px!important;
}
.ms-btn-in-list {
    margin-top: 5px!important;
}
.ms-table-list-with-action-bottom tfoot tr > td:first-child {
    padding-left: 0!important;
}
@media (max-width: 767px) {
.ms-table-list-with-action-bottom tfoot tr > td:first-child {
    padding-left: 10px!important;
}
.ms-table-list-with-action-bottom tfoot tr > td:first-child .form-group {
    margin-bottom: 0;
}
}
.ms-table thead th,
.ms-table thead td {
    white-space: nowrap;
}
.ms-table .ms-img {
    margin-right: 10px;
    margin-top: 5px;
}
.ms-list-inline {
    margin-bottom: 0!important;
}

.ms-dropdown-tool-ctn {
    margin: 0 -14px;
    overflow: auto;
    max-height: 250px;
}
.ms-dropdown-tool {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ms-dropdown-tool > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-align: left;
    min-width: 100px;
}
.ms-dropdown-tool > li > a:hover,
.ms-dropdown-tool > li > a.active {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
.datepicker-dropdown {
    z-index: 99999!important;
}

/* SINGERS, AUTHORS IN MODAL */
.ms-singer-listgr-modal,
.ms-author-listgr-modal {
    min-width: 320px;
    margin: -15px;
    display: block;
}
.ms-singer-listgr-modal .list-group-item,
.ms-author-listgr-modal .list-group-item {
    border-left: 0;
    border-right: 0;
}
.ms-singer-listgr-modal .list-group-item:first-child,
.ms-author-listgr-modal .list-group-item:first-child {
    border-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}
.ms-singer-listgr-modal .list-group-item:last-child,
.ms-author-listgr-modal .list-group-item:last-child {
    border-bottom: 0;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

/* Các item đã chọn trong phần pick modal */
.modalPickItems .item-selected {
    padding: 0;
    margin: 0;
    list-style: none;
}

.modalPickItems .item-selected li .sval,
.modalPickItems .item-selected li .sdes {
    padding-left: 30px;
    padding-right: 30px;
}

.modalPickItems .item-selected li .sval strong {
    display: block;
}

.modalPickItems .item-selected li .sdes {
    margin-top: 5px;
}

.modalPickItems .item-selected li .sdes small {
    display: block;
}

.modalPickItems .item-selected li .ctn {
    border: 1px #ddd solid;
    border-radius: 2px;
    background-color: #f2f2f2;
    padding: 7px;
    cursor: move;
}

.modalPickItems .item-selected li {
    margin-bottom: 10px;
}

.modalPickItems .item-selected li:last-child {
    margin-bottom: 0;
}

/* Trang chủ của module */
.panel-main-music {
    background-color: #f5f5f5;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0), 0 2px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0),0 2px 2px rgba(0,0,0,0.3);
    -ms-box-shadow: 0 1px 3px rgba(0,0,0,0),0 2px 2px rgba(0,0,0,0.3);
    -o-box-shadow: 0 1px 3px rgba(0,0,0,0),0 2px 2px rgba(0,0,0,0.3);
    box-shadow: 0 1px 3px rgba(0,0,0,0), 0 2px 2px rgba(0,0,0,0.3);
    border: 1px #eee solid;
    border-radius: 2px;
    margin-bottom: 10px;
}

.panel-main-music .panel-heading {
    border-bottom-color: #ddd;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    color: #757575;
}

.ms-main-couter .c-icon i {
    font-size: 42px;
    line-height: 56px;
    color: #238ae6;
}

.ms-main-couter .c-val {
    padding-left: 55px;
}

.ms-main-couter .c-val .c-number {
    font-size: 30px;
    font-weight: 500;
    line-height: 33px;
    color: #757575;
    display: block;
    margin-bottom: 5px;
}

.ms-main-couter .c-val .c-number a {
    color: #757575;
}

.ms-main-couter .c-val .c-text,
.ms-main-couter .c-val .c-text a {
    color: #757575;
}

.ms-main-couter .c-val .c-number a:hover,
.ms-main-couter .c-val .c-number a:active,
.ms-main-couter .c-val .c-number a:focus,
.ms-main-couter .c-val .c-text a:hover,
.ms-main-couter .c-val .c-text a:active,
.ms-main-couter .c-val .c-text a:focus {
    text-decoration: none;
    color: #0074a2;
}
