/* Overwriting Bootstrap CSS */
.container {
    width: 98%;
}
.navbar-brand {
    width: 185px;
    background-color: #1fa7d4 !important;
}
.list-group {
    padding-top: 69px;
}
.table.table-striped th {
    background-color: #31708f;
    color: #ccc;
}
.table.table-striped th a {
    color: #fff;
}
.table.table-striped > tbody > tr {
    background-color: #eaedf8; /* #d9edf7 */
}
.table.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.table.table-striped thead tr td:first-child {
    width: 50px;
}
.table.detail-view tbody tr th:first-child {
    width: 12%;
}
.table label {
    margin: 0px;
}
.table td label {
    font-weight: normal;
}
.tab-content .tab-pane {
    padding-top: 20px;
}
.panel .panel-body {
    padding-top: 30px;
}
.form-control[readonly]  {
    background-color: #fff;
}
.modal-dialog .modal-content .modal-body {
    background-color: #d9edf7;
}
.modal-dialog .modal-content .modal-header {
    border-color: #bce8f1;
}
/*.modal-dialog {
    width: 710px;
}*/

/* Mixed CSS */
.wrap > .container.container-content {
    padding-top: 60px;
}
.tab-content {
    background-color: #fff;
    padding: 10px 15px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-top: 0px;
}
.nav.nav-tabs a {
    font-weight: bold;
}
.nowrap .glyphicon, .ui-sortable .glyphicon {
    padding: 0px 3px;
}
.table .img-thumbnail.avatar {
    height: 60px;
}
div.tab-content h3 {
    padding: 0px;
    margin: 0px;
}

/* Overwriting nestedSortable CSS */
.ui-sortable li.mjs-nestedSortable-branch div {
    background-color: #d9edf7;
}
.ui-sortable li.mjs-nestedSortable-leaf div {
    background-color: #eaedf8;
}
.placeholder {
    border: 1px solid #FAEBCC;
    background-color: #FCF8E3;
}

/* Sortable table */
.ui-sortable-placeholder {
    background-color: #FAEBCC !important;
    visibility: visible !important;
}
.sortable-table tr:hover {
    background-color: #eee !important;
    cursor: move;
}

/* Overwriting Kartik CSS */
.kv-expand-header-cell, .kv-expand-icon-cell {
    display: none;
}
.kv-editable-link {
    text-align: left;
}
.sortable.grid li {
    height: 345px;
    width: 204px;
    text-align: left;
    padding: 8px 17px;
    overflow: hidden;
}
.sortable-placeholder {
    width: 204px;
    border: 1px solid #FAEBCC !important;
    background-color: #FCF8E3 !important;
}
.panel .summary {
    padding-top: 8px;
}
.panel-custom .pagination {
    margin: 0 0 -5px 0;
    padding: 0;
}
.panel-custom .panel-heading {
    border: 0;
}
.file-input .file-preview {
    border-radius: 0px;
    border: 0px;
    padding: 0px;
}
.file-input .file-preview .file-preview-frame {
    margin: 0px;
    height: 100px;
}
.file-preview-frame:not(.file-preview-error):hover {
    box-shadow: 2px 2px 5px 0 #a2958a;;
}

/* Overwriting jQuery UI Accordion CSS */
.ui-accordion .ui-accordion-header {
    background: #eaedf8;  /* d9edf7 */
    color: #31708f;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 10px 10px 10px 30px;
    margin: 7px 0 0 0;
}
.ui-accordion .ui-widget-content {
    color: #31708f;
    border: 1px solid #ccc;
}
.menu-item.ui-accordion .ui-accordion-header {
    background: #fff;
    padding: 7px 6px 6px 28px;

}
.menu-item.ui-accordion .ui-accordion-header .flag {
    margin-top: 0px;
}

/* Icons */
.glyphicon.glyphicon-unlock:before {
    content: "V"; /* U */
    font-family: entyporegular;
    font-size: 34px;
    line-height: 0px;
}

/* New CSS */
.form-horizontal .page-content {
    padding: 0 16px;
}
div.item-container {
    background-color: #eaedf8;
}
div.item-container small.item-type {
    opacity: 0.45;
    margin-left: 5px;
}
div.detail-container, div.detail-container div {
    background-color: #fff !important;
}
label.select-all-pages {
    margin: 6px 16px 0 0;
}
.btn-grid {
    margin-top: 10px;
}
.clear {
    clear: both;
}
.nowrap {
    white-space: nowrap;
}
.center {
    text-align: center;
}
.no-indent {
    padding: 0px;
    margin: 0px;
}
.grid-detail {
    border: 1px solid #bce8f1;
    background-color: #d9edf7 !important;
}
.detail-container {
    /*border: 1px solid #bce8f1;
    background-color: #fff;*/
    padding: 20px 20px 0 20px;
}
.grid-detail .pull-left {
    padding-right: 30px;
}
.media-item h4 {
    max-width: 106px;
}
.alert-search {
    background-color: #31708f;
    color: #ccc;
    padding: 8px 4px 10px 4px;
}
.transparent {
    opacity: 0.45;
}
.normal {
    font-weight: normal;
}
img.img-preview {
    max-width: 160px;
    max-height: 160px;
}

.float-left{
    float: left;
}

h1{
    font-size: 2em;
}

h2{
    font-size: 1.5em;
}

.flex {
    display: inline-flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
}

.date-range .input-group.date .krajee-datepicker {
    border-radius: 0px;
}

.date-range .input-group.date {
    width: 50%;
    float: left;
}

.date-range .kv-date-remove {
    padding: 6px 2px;
}

.clear-margin-bottom {
    margin-bottom: 0px;
}

@media (min-width: 768px) and (max-width: 1370px) {
    .main-menu {
        max-width: 68%;
    }
    .wrap > .container.container-content {
        padding-top: 100px;
    }
}

/*----------- dashboard ----------*/

.dashboard-index .top-line img{
    width: 48px;
    height: 48px;
    margin: 0 5px;
}

.dashboard-index .top-line div{
    margin: 5px 0;
}

.dashboard-index .bottom-line img{
    width: 36px;
    height: 36px;
    border: solid 1px #cccccc;
    margin: 0 10px;
}

.dashboard-index .well {
    padding: 5px 7px 6px 7px;
    margin-bottom: 7px;
}
.dashboard-index .top-line a {
    color: #333;
}
.dashboard-index .top-line .glyphicon {
    font-size: 42px;
    padding-right: 8px;
}
@media (max-width: 1270px) {
    .dashboard-index .top-line .statistic-block :nth-child(3),
    .dashboard-index .top-line .statistic-block :nth-child(4) {
        display: none;
    }
}