/* =========================================================================
 * Custom styling for Safety Portal
 *===========================================================================*/

.tracking-log-table-container {
   height: 200px;
   overflow-y: auto;
}

#inner-right {
    height: 200px;
    max-height: 200px;
    overflow-y: scroll;
}

#loginErrorMessage {
    color: #EE9393
}

.reportTotalBorder {
    border-top: solid;
}

.logo {
    background-color: #FFFFFF;
    padding: 2px;
}

#mask.loading {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1000;/*puts on top of everything*/
    background-image: url('../images/loading-small.gif');
    background-position: center;
    background-repeat: no-repeat;
}

.ajaxloading {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1000;/*puts on top of everything*/
    background-image: url('../images/loading-small.gif');
    background-repeat: no-repeat;
}

#eventhistory.loading {
    opacity: 0.5;   
}

#trackingMap.loading {
    opacity: 0.3;
}

#geofenceListTable.loading {
    opacity: 0.5;   
}

.errorMessage {
    color: #EE9393;
    font-weight: bold;
}

.successMessage {
    color: #82B964;
    font-weight: bold;
}

.errorField {
    border-color: #e9a89a;
    background: #f0c6bd;
}

/*
 * hide column that trigger to add when datatable scrollY is enabled
 */
.dataTables_scrollBody thead {
    visibility: collapse;
}

#trackingTimeRangeform{
    padding-bottom: 5px;
    border-bottom : 5px solid #ddd;
    
}

#filterHeader
{
    background-color: #3B8DBD;
    padding: 1px;
}

#filterHeader h4
{
    color: white;
}

#filterToggleButton
{
    margin: 1px;
    color: #FFF;
    font-size: 0.9em;
}

.feedbackMessage{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 15px;
    padding: 10px 20px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05),inset 0 1px 0 rgba(0,0,0,0.05);
    display: none;
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
    color: #fff;
    color: rgba(255,255,255,0.90);
    cursor: pointer;
    z-index: 500;
}

.feedbackMessage.success{
    background: #5AB95F;
    border-top: 1px solid #8A1414;
    border-bottom: 1px solid #8A1414;
}

.feedbackMessage.error{
    background: #D05C5C;
    border-top: 1px solid #931C1C;
    border-bottom: 1px solid #931C1C;
}

#geofenceListContainer {
    margin-right: 10px;
    overflow-x: auto;
}

#geofenceContainer {
    float: left;
    width: 100%;
}

#geofenceHeaderDiv {
    border-bottom: 1px solid #DDD;
}

#geofenceMap {
    width: 100%;
    height: 80%;
}

#trackingMap {
    width: 100%;
    height: 60%;
}

.selectedRow {
    background-color: #77a9f9;  /* Add !important to make sure override datables base styles */
}

.groupTotalRow {
    background-color: /*#b9c9fe;*/ #D6EAF8;  /* Add !important to make sure override datables base styles */
    font-weight: 700;
}

.customLogin footer {
    display: block;
    padding: 10px;
    border-top: 5px solid rgba(0,0,0,.1);
    margin: 0 -20px;
}

.customLogin footer:after {
    content: '';
    display: table;
    clear: both;
}