/**
* @author: trinh.kethanh@gmail.com
* @function: css sử dụng chung cho toàn bộ hệ thống (phần backend)
* @date: 14/08/2015
*/
/*------------Cấu hình chung------------*/
.clear {
    clear: both;
}
.table {
    margin-bottom: 0 !important;
    font-size: 12px;
}
.m-l-3 {
    margin-left: 3px;
}
.m-l-15 {
    margin-left: 15px;
}
.m-l-t-18-74 {
    margin-left: 18px;
    margin-top: 74px;
}
.m-t-20 {
    margin-top: 20px;
}
.m-t-15 {
    margin-top: 15px;
}
.f-s-18 {
    font-size: 18px;
}
.f-s-12 {
    font-size: 12px;
}
.btn-group-sm>.btn, .btn-sm {
    padding: 5px 9px;
}
.text-red {
    color: #ed5565;
}
.ibox-title-lft {
    float: left;
}
.ibox-title-rgt {
    float: right;
    padding-right: 6px;
}
.ibox-title-ul {
    padding-left: 5px;
}
.ibox-title-ul li.btn {
    padding: 0;
}
.ibox-title-ul li a {
    display: block;
    padding: 6px 12px;
    color: #ffffff;
}
.grid-view {
    font-size: 12px;
}
.summary {
    padding-bottom: 6px;
}
#capcha-refresh-button {
    margin-left: 18px;
    vertical-align: -8px;
    color: #18a689;
}
button:focus {
    outline: 0 !important;
}
.text-df {
    color: #676a6c;
}
a:hover, a:active, a:focus {
    outline: none;
}
.empty {
    text-align: center;
}
.ui-dialog-titlebar-close {
    background: url(../images/ui-icons_888888_256x240.png) -80px -128px;
}
.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus {
    background: #1ab394;
    border-color: #1ab394 !important;
}
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
    background-color: #21b9bb;
    border-color: #21b9bb !important;
}
.select2-container--krajee .select2-selection--single .select2-selection__placeholder {
    font-size: 13px;
}
h4.user-permission-title,
h4.user-group-permission-title {
    font-size: 20px;
}
ul.pagination li.active a {
    color: #ffffff !important;
}
.user-checkbox-action {
    width: 100%;
    min-width: 500px;
}
h4.modal-title {
    font-size: 22px;
    padding-left: 14px;
}
.bootstrap-tagsinput {
    width: 100% !important;
}
.bootstrap-tagsinput .tag {
    color: #555;
    border: 1px solid #ccc;
}
/*.label-info, .badge-info {
    background: #f5f5f5;
}*/
.label {
    font-size: 11px;
}
.GridPrioritySave {
    font-size: 12px;
    margin-top: 12px;
    display: none;
}
#dropdown-menu-fixed {
    right: auto;
}
.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #aaa;
    content: "\f101";
    font-family: "FontAwesome";
    font-size: 11px;
}
.breadcrumb > li:last-child:before {
    font-weight: normal !important;
}
.ibox-title-rgt .dropdown > .dropdown-menu:before, .dropdown-toggle > .dropdown-menu:before, .btn-group > .dropdown-menu:before {
    left: auto;
    right: 9px;
}
.ibox-title-rgt .dropdown > .dropdown-menu:after, .dropdown-toggle > .dropdown-menu:after, .btn-group > .dropdown-menu:after {
    left: auto;
    right: 10px;
}
.dropdown > .dropdown-menu:before, .dropdown-toggle > .dropdown-menu:before, .btn-group > .dropdown-menu:before {
    position: absolute;
    top: -8px;
    left: 9px;
    right: auto;
    display: inline-block !important;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ccc;
    border-left: 8px solid transparent;
    content: '';
}
.dropdown > .dropdown-menu:after, .dropdown-toggle > .dropdown-menu:after, .btn-group > .dropdown-menu:after {
    position: absolute;
    top: -7px;
    left: 10px;
    right: auto;
    display: inline-block !important;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
    border-left: 7px solid transparent;
    content: '';
}
.row-ecommece {
    margin-bottom: 20px;
}
table.table tbody.files td {
    vertical-align: middle;
}
table.table tbody.files td .progress {
    height: auto !important;
    margin-bottom: 0;
}
.checkbox-operating-inline {
    float: left;
    margin: 12px;
    padding: 8px;
    border: 1px solid #e7eaec;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    text-align: center;
}
.checkbox-operating-label {
    margin-top: -32px;
    margin-left: -20px;
    color: #1ab394;
    font-weight: bold;
    height: 20px;
    font-size: 12px;
    word-wrap: break-word;
}
.item-status span {
    cursor: pointer;
}
.panel-body .dropdown-menu {
    top: 40px !important;
}
.fileupload-buttonbar .toggle {
    display: none;
}
.candidate-avatar-remove {
    position: absolute;
    top: 0;
    right: 0;
}
.candidate-avatar-field {
    position: relative;
}
/*-------------Sort icon--------------*/
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
    font-size: 15px;
}

a.asc:after {
    content: "\e151";
}
a.desc:after {
    content: "\e152";
}
.sort-numerical a.asc:after {
    content: "\e153";
}
.sort-numerical a.desc:after {
    content: "\e154";
}
.sort-ordinal a.asc:after {
    content: "\e155";
}
.sort-ordinal a.desc:after {
    content: "\e156";
}
/*------------Loading-----------------*/
.spinner {
    display: none;
    position: fixed;
    z-index: 999999;
    width: 100px;
    top: 40%;
    left: 50%;
    margin-left: -55px;
    text-align: center;
}
.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #20c5ad;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1.4s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0.0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}
@keyframes bouncedelay {
    0%, 80%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    } 40% {
          transform: scale(1.0);
          -webkit-transform: scale(1.0);
      }
}
/*-------------Quản lý menu---------*/
.menu-gridview-sort-up,
.menu-gridview-sort-down {
    font-size: 14px;
    margin-left: 3px;
}
.menu-category-0 {
    background: url(../images/node.gif) no-repeat;
    height: 24px;
}
.menu-category-0 span {
    vertical-align: -10px;
    margin-left: 18px;
}
.menu-category-1 {
    background: url(../images/tree_last.gif) no-repeat;
    margin-left: -9px;
}
.menu-category-1 span {
    vertical-align: -4px;
    margin-left: 48px;
}
.menu-category-2 {
    background: url(../images/tree_next.gif) no-repeat;
    margin-left: 9px;
}
.menu-category-2 span {
    vertical-align: -5px;
    margin-left: 48px;
}
.menu-category-3 {
    background: url(../images/tree_next.gif) no-repeat;
    margin-left: 27px;
}
.menu-category-3 span {
    vertical-align: -5px;
    margin-left: 48px;
}
.menu-category-4 {
    background: url(../images/tree_next.gif) no-repeat;
    margin-left: 45px;
}
.menu-category-4 span {
    vertical-align: -5px;
    margin-left: 48px;
}
.menu-category-5 {
    background: url(../images/tree_next.gif) no-repeat;
    margin-left:58px;
}
.menu-category-5 span {
    vertical-align: -5px;
    margin-left: 48px;
}
/*--------------------User & User Group------------------*/
.btn-permission {
    margin-bottom: 8px;
}
.user-checkbox-action label {
    display: block !important;
}
.user-action-label {
    vertical-align: 3px;
    padding-left: 2px;
}
.user-action-desc {
    float: right;
    width: 250px;
    margin-right: 60px;
    font-weight: normal;
    vertical-align: 2px;
}
.user-action-manipulation {
    float: right;
    font-size: 14px;
    margin-left: 2px;
    vertical-align: 2px;
    color: #1c84c6;
}
/*----------------Config--------------------*/
#config-create-button {
    margin-left: 5px;
}
/*--------------------Wizard------------------*/
.wizard {
    display: block;
    width: 100%;
}
.wizard ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wizard ul li {
    float: left;
    width: 50%;
}
.wizard > ul li.current a, .wizard > ul li.current a:hover, .wizard > ul li.current a:active {
    background: #1AB394;
    color: #fff;
    cursor: default;
}
.wizard > ul li.done a, .wizard > ul li.done a:hover, .wizard > ul li.done a:active {
    background: #6fd1bd;
    color: #fff;
    cursor: default;
}
.wizard > ul li a, .wizard >  ul li a:hover, .wizard > ul li a:active {
    display: block;
    width: auto;
    margin: 0 0.5em 0.5em;
    padding: 8px;
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.wizard > ul li.disabled a, .wizard > ul li.disabled a:hover, .wizard > ul li.disabled a:active {
    background: #c2c2c2;
    color: #ffffff;
    cursor: default;
}
/*-----------User Change Avatar---------------*/
.avatar-view {
    display: block;
    margin: 15% auto 5%;
    height: 220px;
    width: 220px;
    border: 3px solid #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,.15);
    cursor: pointer;
    overflow: hidden;
}
.avatar-view img {
    width: 100%;
}
.avatar-body {
    padding-right: 15px;
    padding-left: 15px;
}
.avatar-upload {
    overflow: hidden;
    margin-left: -15px;
}
.avatar-upload label {
    display: block;
    float: left;
    clear: left;
    width: 100px;
}
.avatar-upload input {
    display: block;
    margin-left: 110px;
}
.avatar-alert {
    margin-top: 10px;
    margin-bottom: 10px;
}
.avatar-wrapper {
    height: 364px;
    width: 100%;
    margin-top: 15px;
    box-shadow: inset 0 0 5px rgba(0,0,0,.25);
    background: url(../images/cropper-bg.png) repeat;
    overflow: hidden;
}
.avatar-wrapper img {
    display: block;
    height: auto;
    max-width: 100%;
}
.avatar-preview {
    float: left;
    margin-top: 15px;
    margin-right: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
}
.avatar-preview:hover {
    border-color: #ccf;
    box-shadow: 0 0 5px rgba(0,0,0,.15);
}
.avatar-preview img {
    width: 100%;
}
.preview-lg {
    height: 184px;
    width: 184px;
    margin-top: 15px;
}
.preview-md {
    height: 100px;
    width: 100px;
}
.preview-sm {
    height: 50px;
    width: 50px;
}
@media (min-width: 992px) {
    .avatar-preview {
        float: none;
    }
}
.avatar-btns {
    margin-top: 30px;
    margin-bottom: 15px;
}
.avatar-btns .btn-group {
    margin-right: 5px;
}
#user-modal-title {
    padding-left: 28px !important;
}
.user-avatar-field {
    position: relative;
}
.user-avatar-remove {
    position: absolute;
    top: 0;
    right: 0;
}
.user-avatar {
    display: block;
}
.label-cat-brand {
    vertical-align: -1px !important;
}