/* FILE MANAGER */

.file-box {
    float: left;
    width: 220px;
}

.file-manager h5 {
    text-transform: uppercase;
}

.file-manager {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

.folder-list li a {
    color: #666666;
    display: block;
    padding: 5px 0;
}

.folder-list li {
    border-bottom: 1px solid #e7eaec;
    display: block;
}

.folder-list li i {
    margin-right: 8px;
    color: #3d4d5d;
}

.category-list li a {
    color: #666666;
    display: block;
    padding: 5px 0;
}

.category-list li {
    display: block;
}

.category-list li i {
    margin-right: 8px;
    color: #3d4d5d;
}

.category-list li a .text-navy {
    color: rgb(30, 180, 218);
}

.category-list li a .text-primary {
    color: #1c84c6;
}

.category-list li a .text-info {
    color: rgb(18, 162, 198);
}

.category-list li a .text-danger {
    color: #EF5352;
}

.category-list li a .text-warning {
    color: rgb(242, 184, 59);
}

.file-manager h5.tag-title {
    margin-top: 20px;
}

.tag-list li {
    float: left;
}

.tag-list li a {
    font-size: 10px;
    background-color: #f3f3f4;
    padding: 5px 12px;
    color: inherit;
    border-radius: 2px;
    border: 1px solid #e7eaec;
    margin-right: 5px;
    margin-top: 5px;
    display: block;
}

.file {
    border: 1px solid #e7eaec;
    padding: 0;
    background-color: #ffffff;
    position: relative;
    margin-bottom: 20px;
    margin-right: 20px;
}

.file-manager .hr-line-dashed {
    margin: 15px 0;
}

.file .icon,
.file .image {
    height: 100px;
    overflow: hidden;
}

.file .icon {
    padding: 15px 10px;
    text-align: center;
}

.file-control {
    color: inherit;
    font-size: 11px;
    margin-right: 10px;
}

.file-control.active {
    text-decoration: underline;
}

.file .icon i {
    font-size: 70px;
    color: #dadada;
}

.file .file-name {
    padding: 10px;
    background-color: #f8f8f8;
    border-top: 1px solid #e7eaec;
}

.file-name small {
    color: #676a6c;
}

.corner {
    position: absolute;
    display: inline-block;
    width: 0;
    height: 0;
    line-height: 0;
    border: 0.6em solid transparent;
    border-right: 0.6em solid #f1f1f1;
    border-bottom: 0.6em solid #f1f1f1;
    right: 0em;
    bottom: 0em;
}

a.compose-mail {
    padding: 8px 10px;
}

.mail-search {
    max-width: 300px;
}


/* Grid CSS */

.dmbox.dmgrid .checkbox,
.dmbox.dmgrid .radio,
.DMs_grid_table .checkbox,
.DMs_grid_table .radio {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
}

h1 .codelist_items_list {
    display: inline-block;
}

.wrap_tree.jstree-default .jstree-anchor {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial !important;
    width: 100%;
}

.col-list-grid,
.col-list-tree {
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.list-tree-hidden .col-list-tree {
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
}



.wrap_tree>ul:first-child>li:first-child > a {
/*    background: #f8f7f9 !important;
    border-radius: 3px;
    color: #1680db;
    font-size: 14px;
    font-weight: 600;
    line-height: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 42px;*/
}
.jstree-default>.jstree-no-dots .jstree-open>.jstree-ocl {
    margin-top: 10px !important;
}
.jstree-default>.jstree-no-dots .jstree-closed>.jstree-ocl {
    margin-top: 10px !important;
}
.jstree-default .jstree-clicked {
    background: #f3f3f4;
    color: #1680db;
    font-weight: 700;
    border-radius: 2px;
    box-shadow: inset 0 0 0px #ccc;
}
.jstree li[aria-level="2"]>a {
    font-weight: 500;
}
.jstree li[aria-level="3"]>a {
    font-weight: 500;
}

span.js_tree_lp {
    float: right!important;
    margin-right: 24px;
}
.wrap_tree.jstree-default .jstree-anchor {
    border-radius: 3px;
    padding-top: 10px !important;
    padding-bottom: 10px;
    min-height: 42px !important;
}
.jstree li[aria-level="1"]>a {
    background: #f8f7f9 !important;
	margin-bottom: 4px;
}

.modal-content {
    overflow: auto;
}

.DMs_grid_table .record {
    cursor: pointer;
}

.dmgrid table tbody tr {
    cursor: pointer;
}

.DMs_grid_table td.menu_col,
.DMs_grid_table th.menu_col {
    width: 60px;
}

.sort_order input {
    max-width: 50px;
}

.DMs_grid_table td.record_key_column,
.DMs_grid_table th.record_key_column {}

.no-paddings {
    padding: 0;
}

.table-condensed>tbody>tr>td,
.table-condensed>tbody>tr>th,
.table-condensed>tfoot>tr>td,
.table-condensed>tfoot>tr>th,
.table-condensed>thead>tr>td,
.table-condensed>thead>tr>th {
    text-align: center;
    cursor: pointer;
}

span.month,
span.year {
    margin-left: 5px;
}

tr.record td {
    /* word-break: break-all; */
}

button.btn.btn-warning.hide-tree-grid-btn.btn-block {
    width: 50px;
}

#miniGrid {
    z-index: 3000 !important;
}

.DMs_grid_table .nowrap {
    white-space: nowrap;
}

.btn-group .new_gear {
    border-radius: 50% !important;
    height: 25px;
    width: 25px;
    padding-left: 6px;
    padding-top: 6px;
    color: #0c92e4;
    border-width: 0;
}

@media only screen and (max-width: 800px) {
    #grid table:not(.normal),
    #grid thead:not(.normal),
    #grid tbody:not(.normal),
    #grid th:not(.normal),
    #grid td:not(.normal),
    #grid tr:not(.normal) {
        display: block;
    }
    #grid thead:not(.normal) tr:not(.normal) {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    #grid tbody:not(.normal) tr:not(.normal) {
        border-top: 1px solid #ccc;
    }
    #grid tbody:not(.normal) td:not(.normal) {
        border: none;
        /*border-bottom: 1px solid #eee;*/
        border-bottom-width: 0;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }
    #grid tbody:not(.normal) td:not(.normal):before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    #grid tbody tr:not(.normal).group_by_mode_record td {
        padding-left:0px !important;
    }
    
    #grid tbody:not(.normal) tr:not(.normal).group_by_mode_record td:not(.normal) .group_by_mode_extra_data{
        float:none; margin-top:5px;
    }
    
    #grid tbody:not(.normal) tr:not(.normal).group_by_mode_record td:not(.normal):before {
        display:none;
    }
    
    
    #grid tbody td:not(.normal):before {
        content: attr(data-title);
    }
    #grid tbody:not(.normal) td:not(.normal).column_html_preview {
        padding-left: 0 !important;
    }
    #grid tbody:not(.normal) td:not(.normal).column_html_preview:before {
        content: none !important;
    }
    #grid tbody:not(.normal) td:not(.normal).column_html_preview .co_items_list td {
        padding-left: 0 !important;
    }
    #grid tbody:not(.normal) td:not(.normal).column_html_preview:before {
        content: none !important;
    }
    .DMs_grid_table td:not(.normal).menu_col,
    .DMs_grid_table th:not(.normal).menu_col {
        width: 100%;
    }
    #grid tbody:not(.normal) td:not(.normal).empty_column_data {
        display: none;
    }
    #grid .table>tbody>tr>td.active {
        background-color: transparent;
    }
    .DMs_grid_table .checkbox {
        margin-top: 0;
        margin-bottom: 0;
        text-align: left;
    }
    .panel-body table.refract,
    .panel-body table.refract thead,
    .panel-body table.refract tbody,
    .panel-body table.refract th,
    .panel-body table.refract td,
    .panel-body table.refract tr {
        display: block;
    }
    .panel-body table.refract thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .panel-body table.refract tbody tr {
        border-top: 1px solid #ccc;
    }
    .panel-body table.refract tbody td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 0;
        white-space: normal;
        text-align: left;
    }
    .panel-body table.refract tbody td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
    .panel-body table.refract tbody td:before {
        content: attr(data-title);
    }
    .panel-body table.refract tbody td.column_html_preview {
        padding-left: 0 !important;
    }
    .panel-body table.refract tbody td.column_html_preview:before {
        content: none !important;
    }
    .panel-body table.refract tbody td.column_html_preview .co_items_list td {
        padding-left: 0 !important;
    }
    .panel-body table.refract tbody td.column_html_preview:before {
        content: none !important;
    }
    .panel-body table.refract tbody td.empty_column_data {
        display: none;
    }
    .panel-body table.refract .table>tbody>tr>td.active {
        background-color: transparent;
    }
    .panel-body table.refract tbody td>div {
        margin-top: 25px;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.small-stats-table):not(.normal),
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.small-stats-table) thead:not(.normal),
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.small-stats-table) tbody:not(.normal),
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.small-stats-table) th:not(.normal),
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.small-stats-table) td:not(.normal),
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.small-stats-table) tr:not(.normal) {
        display: block;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.small-stats-table) tr:not(.normal) {
    	padding-top: 20px;
    	padding-bottom: 20px;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) thead:not(.normal) tr:not(.normal) {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) tbody:not(.normal) tr:not(.normal) {
        border-top: 1px solid #ccc;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.normal) tbody:not(.normal) td:not(.normal) {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        white-space: normal;
        text-align: left;
        white-space: unset !important;
        min-height: 22.5px;
        padding: 3px;
        /*padding-left: 50% !important;*/
        display: flex;
        justify-content: space-between;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.normal) tbody:not(.normal) td:not(.normal):last-child {
    	border-bottom-width: 0;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.normal) tbody:not(.normal) td:not(.normal) .hidden_label {
    	display: block !important;
    	padding-right: 10px;
    	font-weight: bold;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.normal) tbody:not(.normal) td:not(.normal) .grid_content_container {
    	word-wrap: anywhere;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) table:not(.normal) tbody:not(.normal) td:not(.normal).add_new_res_dropzone{
        padding-left: 0% !important;
    }
    
    
    
    .dm_grid_to_load:not(.grid_items_resources_manage) tbody:not(.normal) td:not(.normal):before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) tbody:not(.normal) td:not(.normal):before {
        /*content: attr(data-title);*/
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) tbody:not(.normal) td:not(.normal).column_html_preview {
        padding-left: 0 !important;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) tbody:not(.normal) td:not(.normal).column_html_preview:before {
        content: none !important;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) tbody:not(.normal) td:not(.normal).column_html_preview .co_items_list td {
        padding-left: 0 !important;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) tbody:not(.normal) td:not(.normal).column_html_preview:before {
        content: none !important;
    }
    .DMs_grid_table td.menu_col,
    .DMs_grid_table th.menu_col {
        width: 100%;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) tbody:not(.normal) td:not(.normal).empty_column_data {
        display: none;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) .table>tbody>tr>td:not(.normal).active {
        background-color: transparent;
    }
    .DMs_grid_table .checkbox {
        margin-top: 0;
        margin-bottom: 0;
        text-align: left;
    }
    .dm_grid_to_load:not(.grid_items_resources_manage) tbody td>div {
        margin-top: 0;
    }
}



#grid.list_type___grid .DMs_grid_table.table tbody > tr{
    float: left;
    width: 220px !important;

}
#grid.list_type___grid .DMs_grid_table.table tbody > tr{
    border: 1px solid #e7eaec;
    padding: 0;
    background-color: #ffffff;
    position: relative;
    margin-bottom: 20px;
    height: auto !important;
}
#grid .DMs_grid_table.table tbody > tr > td.file_thumbnail>img {
    max-width: 250px !important;
}
#grid.list_type___grid .DMs_grid_table.table tbody > tr > td.file_thumbnail {
    height: 100px !important;
    overflow: hidden;
	    padding: 0;
}
#grid.list_type___grid .DMs_grid_table.table tbody > tr > td.file_thumbnail>img {
    display: block;
    max-width: 100%;
	min-width: 100%;
    height: auto;
}

#grid.list_type___grid .DMs_grid_table.table tbody > tr > td.name{
	display:block;
    background-color: #F5F5F5;
}
#grid.list_type___grid .DMs_grid_table.table tbody > tr > td.record_key_column{
    overflow: hidden;
    text-overflow: ellipsis;
    /* width: 100%; */
    white-space: nowrap;
    min-height: 28px;
    background-color: #F5F5F5;
    border-top: none;
    float: left;
}

#grid.list_type___grid .DMs_grid_table.table tbody > tr > td.menu_col {
    width: auto;
    float: right;
    position: absolute;
    top: 0;
    right: 0;
}
#grid.list_type___grid .DMs_grid_table.table tbody > tr > td.sort_order {
    display: block;
    /* float: right; */
    position: absolute;
    top: 0;
    right: 35px;
}

#grid.list_type___grid .DMs_grid_table.table tbody > tr > td.file_name{
	display:block;
    background-color: #F5F5F5;
}
#grid.list_type___grid .DMs_grid_table.table tbody > tr > td.create_date{
	display:block;
  background-color: #F5F5F5;
	color: #676a6c;
	font-size:85%;
            min-height: 25px;
}
#grid.list_type___grid .DMs_grid_table.table tbody .dropzone.dropzone-previews.dz-clickable {
    margin: 0 !important;
}
#grid.list_type___grid .DMs_grid_table.table tbody .dropzone {
    min-height: 140px !important;
}

#grid .bootstrap-datetimepicker-widget table table {
	display: table;
}
#grid .bootstrap-datetimepicker-widget table tbody {
	display: table-row-group;
}
@media only screen and (max-width: 800px) {
	#grid .bootstrap-datetimepicker-widget {
    /*position: initial;*/
	}
	#grid .bootstrap-datetimepicker-widget table td:before {
		content: '' !important;
		display: none;
	}
	#grid .bootstrap-datetimepicker-widget table td {
		display: table-cell !important;
		border: none;
		border-bottom: 0px solid #eee;
		position: initial;
		padding-left: initial !important;
		white-space: normal;
		text-align: center;
	}
	.dm_grid_to_load:not(.grid_items_resources_manage) tbody td > div.bootstrap-datetimepicker-widget {
		margin-top: 0
	}
	#grid tbody div.bootstrap-datetimepicker-widget tr {
		border-top: 0px solid #ccc;
	}
	.dm_grid_to_load:not(.grid_items_resources_manage) table tbody div.bootstrap-datetimepicker-widget td {
		position: absolute;
	}
.table-responsive {

	    overflow-y: visible !important;
	overflow-x: visible !important;
	height: auto !important;
}
}

.grid_vertical_label{
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
}
.grid_vertical_label > span{	
transform: rotate(-90deg);
position: absolute;
left: 0px;
padding: 0 !important;
margin: auto !important;
white-space: nowrap;
transform-origin: top left;
bottom: 0;
}


.loadGroupItems{
	font-weight: bold;
	border:1px solid gray;
	background: #efefef;
}
.single_row{
	border-left: 1px solid gray;
	border-right: 1px solid gray;
}

.last_single_row {
  border-bottom: 2px solid gray;
}

.group_by_mode_record td.menu_col .btn-group{
	display: none !important;
}

.DMs_grid_table.table > tbody > tr.group_by_mode_record > td.active{
	background: transparent;
}
/*tr.group_by_mode_record td:first-child::before {
  content: '+';
  margin: 10px;
  font-size: 2em;
}
tr.group_by_mode_record.loadGroupItems td:first-child::before {
  content: '-';
  margin: 10px;
  font-size: 2em;
}*/

tr.group_by_mode_record td:first-child::before {
	content: "\f07b";
	margin: 10px;
	font-size: 1.5em;
	font-family: 'Font Awesome 5 Pro';
	font-weight: 300;
}
tr.group_by_mode_record.loadGroupItems td:first-child::before {
	content: "\f07c";
	margin: 10px;
	font-size: 1.5em;
	font-family: 'Font Awesome 5 Pro';
	font-weight: 300;  
}

tr.single_row td:first-child {
  padding-left: 4em;
}

.group_by_mode_extra_data{
	float:right;
	margin:3px;
}
.group_by_mode_extra_data .gr_item_value{
	font-weight:bold;
	min-width: 30px;
    display: inline-block;
}

.group_by_mode_extra_data .gr_item_late_column_for_group_gbm{
    color:red;
}
.group_by_mode_extra_data .gr_item_completed_gbm {
    color: #008000;
}


.group_by_mode_extra_data .gr_item_late_column_for_group_gbm[data-value="0"],
.group_by_mode_extra_data .gr_item_completed_gbm[data-value="0"] {
	color:black;
}

.group_by_mode_extra_data .gr_item{
    font-weight:normal;
    display:inline-block;
    margin:0px 1px;   
}


@media (max-width: 768px) {
.saved_search_options-wrap {
    display: block !important;
}
.col-list-tree, .show_list_left_filters{
	display:block !important;
}
.list-tree-hidden .col-list-tree, .list-tree-hidden .show_list_left_filters{
	display:none !important;
}
}

.column_file_thumbnail_on_hover{
	position:relative;
}

/*.resource_on_list_box:hover img{
	display:block !important;
	right:0px;
	bottom:0px;
}*/


#grid div.table-responsive table thead {
	position: sticky;
	top: -1px;
	z-index: 10;
}
#grid div.table-responsive {
    min-height: calc(100vh - 350px);
    height: calc(100vh - 350px);
	overflow: auto;
	position: relative;
}

table.table tr.record_sum {
    font-weight: bold;
    background: #F2F7FB;
}
table.table tr.record_sum td{
    padding:10px 0px 10px 0px;
}