/*********************
 **       DMS       **
 *********************/
.dms_dir_ul {
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
    list-style-type: none;
}

.dms_dir_arrow:hover {
    text-decoration: underline;
}

.dms_dir_arrow:first-child {
    padding-left: 10px;
    font-weight: bold;
}

.dms_dir_arrow {
    display: inline;
    position: relative;
    height: 30px;
    padding: 5px 10px;
    padding-left: 25px;
    background: #CCCCCC;
    cursor: pointer;
}

.dms_dir_arrow:nth-child(even) {
    background: #EEEEEE;
}


.dms_dir_arrow:not(:first-child):before {
    position: absolute;
    left: 0px;
    top: 0px;
    content: "";
    width: 0;
    height: 0;
    border-top: 13px outset transparent;       
    border-bottom: 13px outset transparent;
    border-left: 13px solid #CCCCCC;
}

.dms_dir_arrow:not(:first-child):nth-child(even):before {
    border-left: 13px solid #EEEEEE;
}

.dms_dir_arrow:after {
    position: absolute;
    right: -13px;
    top: 0px;
    content: "";
    width: 0;
    height: 0;
    border-top: 13px outset transparent;       
    border-bottom: 13px outset transparent;
    border-left: 13px solid #CCCCCC;
    z-index: 1;     
}

.dms_dir_arrow:nth-child(even):after {
    border-left: 13px solid #EEEEEE;
}

/**************************
 **       ONETABLE       **
 **************************/
.one-bordered {
  border: 1px solid #dddddd;
  border-collapse: separate;
  *border-collapse: collapse;
  border-left: 0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.one-bordered caption + thead tr:first-child th,
.one-bordered caption + tbody tr:first-child th,
.one-bordered caption + tbody tr:first-child td,
.one-bordered colgroup + thead tr:first-child th,
.one-bordered colgroup + tbody tr:first-child th,
.one-bordered colgroup + tbody tr:first-child td,
.one-bordered thead:first-child tr:first-child th,
.one-bordered tbody:first-child tr:first-child th,
.one-bordered tbody:first-child tr:first-child td {
  border-top: 0;
}
.one-bordered thead:first-child tr:first-child > th:first-child,
.one-bordered tbody:first-child tr:first-child > td:first-child {
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-left-radius: 4px;
    border-left: 1px solid #dddddd;
}
.one-bordered thead:first-child tr:first-child > th:last-child,
.one-bordered tbody:first-child tr:first-child > td:last-child {
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  border-top-right-radius: 4px;
  
}

.one-bordered td:first-child {
    border-left: 1px solid #dddddd;
}

.one-bordered thead:last-child tr:last-child > th:first-child,
.one-bordered tbody:last-child tr:last-child > td:first-child,
.one-bordered tfoot:last-child tr:last-child > td:first-child {
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-bottom-left-radius: 4px;
    border-left: 1px solid #dddddd;
}
.one-bordered thead:last-child tr:last-child > th:last-child,
.one-bordered tbody:last-child tr:last-child > td:last-child,
.one-bordered tfoot:last-child tr:last-child > td:last-child {
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  border-bottom-right-radius: 4px;
}
.one-bordered tfoot + tbody:last-child tr:last-child td:first-child {
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-bottomleft: 0;
  border-bottom-left-radius: 0;
  
}
.one-bordered tfoot + tbody:last-child tr:last-child td:last-child {
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-bottomright: 0;
  border-bottom-right-radius: 0;
  
}
.one-bordered caption + thead tr:first-child th:first-child,
.one-bordered caption + tbody tr:first-child td:first-child,
.one-bordered colgroup + thead tr:first-child th:first-child,
.one-bordered colgroup + tbody tr:first-child td:first-child {
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-left-radius: 4px;
  
}
.one-bordered caption + thead tr:first-child th:last-child,
.one-bordered caption + tbody tr:first-child td:last-child,
.one-bordered colgroup + thead tr:first-child th:last-child,
.one-bordered colgroup + tbody tr:first-child td:last-child {
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  border-top-right-radius: 4px;
  
}
table.table {
    margin-bottom: 6px !important;
}

table.table thead .sorting {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../framework/images/sort_both.png");
    background-origin: padding-box;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto auto;
    cursor:pointer;
}

table.table thead .sorting_asc {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../framework/images/sort_asc.png");
    background-origin: padding-box;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto auto;
    cursor:pointer;
}

table.table thead .sorting_desc {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../framework/images/sort_desc.png");
    background-origin: padding-box;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto auto;
        cursor:pointer;

}

table.table thead .sorting_asc_disabled {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../framework/images/sort_asc_disabled.png");
    background-origin: padding-box;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto auto;
}

table.table thead .sorting_desc_disabled {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../framework/images/sort_desc_disabled.png");
    background-origin: padding-box;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto auto;
    
}

/***********************
 **       MENUS       **
 ***********************/
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

/***************************
 **       OVERRIDES       **
 ***************************/
.container {
    max-width: 100%;
    width: 100%;
}

#loading {
    margin: auto;
}

/***********************
 **    IMAGE GRID     **
 ***********************/
.sortable_grid {
    list-style-type: none;
    margin: 0;
    padding: 0; 
    width: 100%    
}

.sortable_element {
    width: 150px;
    height: 150px;
    background-position: center center;
    background-size: 130px;
    background-repeat: no-repeat;
    line-height: 1.428571429;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin: 5px;
    float: left;    
}

/***************************
 **       BLUEPRINT       **
 ***************************/
.blueprint_image {
    width: 930px;
    height: 447px;
    background-image: url('../images/public/blueprint.jpg');
    position: relative;
    z-index: 1;    
}

.blueprint_cell {
    position: absolute;
    border: 1px solid #000;
    z-index: 2;
}

.blueprint_cell:hover {
    cursor: pointer;
    border: 1px solid;  
    opacity: 0.8;  
}

#layout_messages_container {
    top: 0px !important;
}


/** COMMON CSS **/
.link {
    cursor: pointer;
}

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

.nowrap {
    white-space: nowrap;
}
/** END COMMON CSS **/


.occupied_area{
    display:inline-block;
    background-color:#D9534F;
    opacity: 0.4;
}

.free_area{
    display:inline-block;
    background-color:#5CB85C;
    opacity: 0.4;
}

/************************
 **      CALENDAR      **
 ************************/
#availability_calendar_container {
    background-color: #EEEEEE;
    color: #231F20;
    width: 221px;
}

.availability_div-table {
    display: table;
    text-align: center;
    width: 100%;
}

.availability_div-table-caption {
    display: table-caption;
    color: #FFFFFF;
}

.availability_calendar_selector {
    float: left;
    width: 30px;
    height: 30px;
    background-color: #357EBD;
    cursor: pointer;
}

.availability_calendar_selector_left {
    background-image: url("../images/private/calendar-left-arrow.png");
    background-position: 6px 6px;
    background-repeat: no-repeat;    
}

.availability_calendar_selector_right {
    background-image: url("../images/private/calendar-right-arrow.png");
    background-position: 6px 6px;
    background-repeat: no-repeat;    
}

.availability_calendar_month {
    float: left;
    width: 159px;
    height: 30px;
    line-height: 30px;
    background-color: #357EBD;
    margin: 0px 1px;
    vertical-align: middle;    
}

.availability_div-table-row {
    display: table-row;
}

.availability_div-table-col {
    display: table-cell;
    height: 30px; 
    width: 30px;
    vertical-align: middle;
}

.availability_div-table-col-bold {
    font-weight: bold;
}

.availability_div-table-col-today-highlight {
    background-color: #357EBD;
    color: #FFFFFF;
}

.availability_div-table-col-other-highlight {
    background-color: #D9534F;
    color: #FFFFFF;
    cursor: pointer;
}

.availability_div-table-col-today-other-highlight {
    background-color: #D9534F;
    color:  #357EBD;
}

.availability_calendar-left-stepper {
    float: left;
    border: 1px solid #333333;
    padding: 5px; cursor:pointer;
    -moz-border-radius-bottomleft: 15px;
    border-bottom-left-radius: 15px; 
    -moz-border-radius-topleft: 15px; 
    border-top-left-radius: 15px; 
    width: 30px;
    text-align: left;
    z-index: 999;
}

.availability_calendar-central-stepper {
    float: left;
    border: 1px solid #333333;
    padding: 5px;
    cursor: pointer;
    width: 40px;
    text-align: center;
}

.availability_calendar-right-stepper {
    float: left; 
    border: 1px solid #333333;
    padding: 5px;
    cursor: pointer;
    -moz-border-radius-bottomright: 15px;
    border-bottom-right-radius: 15px;
    -moz-border-radius-topright: 15px;
    border-top-right-radius: 15px; 
    width:30px;
    text-align: right;
}
 
.availability_calendar-popup {
    position: relative; 
    left: 90px; 
    background: #FFFFFF;
    display: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px; 
    -khtml-border-radius: 5px; 
    border-radius: 5px; 
    padding: 5px; 
    width: 250px;
}

.availability_div-table-col-info {
    position: absolute;
    display: none;
    background-color: #FFFFFF;
    padding: 10px;
    width: 200px;
    font-size: 12px;
    -webkit-box-shadow:  0px 0px 4px 0px #231F20;
    box-shadow:  0px 0px 4px 0px #231F20;
}

.availability_calendar_info_container {
    position: relative;
}

.availability_calendar_info_content {
    overflow: auto;
    padding-right: 5px;
}

.availability_calendar_info_title {
    margin-top: 5px;
}

.availability_calendar_info_item {
   // color: #357EBD;
    white-space: nowrap;
    overflow: hidden;
   // text-overflow: ellipsis;
   // -o-text-overflow: ellipsis;	
}


.availability_calendar_info_header {
    font-weight: bold;
}

.availability_calendar_info_close {
    position: absolute;
    top: -5px;
    right: -5px;
    background-image: url("../images/private/close.png");
    width: 16px;
    height: 16px;
    cursor: pointer;	
}

.btn-gantt{
    font-size: 13px;
}

.btn-gantt-previous{
    height:14px;
    margin-top: -3px;    
}

.btn-gantt-next{
    height:14px;    
    margin-top: -3px;
}

.showCursor{
    cursor: default; 
}