body
{
	background:#F5ECCE;
	font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
	font-size:small;
    font-size: 14px;
	text-align:left;
}

#form_container
{
	background:#fff;
	margin:0 auto;
	text-align:left;
	width:640px;
}

a.NoUnderLineLink {
	font-family: Arial;
	text-decoration: none;
}

#top
{
	display:block;
	height:10px;
	margin:10px auto 0;
	width:650px;
}

#footer
{
	width:640px;
	clear:both;
	color:#999999;
	text-align:left;
	width:640px;
	padding-bottom: 15px;
	font-size: 85%;
}

#footer a{
	color:#999999;
	text-decoration: none;
	border-bottom: 1px dotted #999999;
}

#bottom
{
	display:block;
	height:10px;
	margin:0 auto;
	width:650px;
}

h4
{
	
	margin:0;
	min-height:0;
	padding:0;
	text-decoration:none;

	
}
  
.alnright { 
text-align: right; 
}

.mousemessagelink-old {
   border-bottom:3px double #99f;
   background-color:#efefef;
   }
   
.mousemessagelink {
   }

#mouseover_message_box {
   display:none;
   position:absolute;
   background-color:#fff;
   border:1px solid #000;
   padding:10px;
   max-width:1000px;
   }

/*******************************Calendar Top Navigation******************************/
   
 div#calendar{
  margin:0px auto;
  padding:0px;
  width: 602px;
  font-family:Helvetica, "Times New Roman", Times, serif;
}
 
div#calendar div.box{
    position:relative;
    top:0px;
    left:0px;
    width:100%;
    height:40px;
    background-color:   #787878 ;      
}
 
div#calendar div.header{
    line-height:40px;  
    vertical-align:middle;
    position:absolute;
    left:11px;
    top:0px;
    width:582px;
    height:40px;   
    text-align:center;
}
 
div#calendar div.header a.prev,div#calendar div.header a.next{ 
    position:absolute;
    top:0px;   
    height: 17px;
    display:block;
    cursor:pointer;
    text-decoration:none;
    color:#FFF;
}
 
div#calendar div.header span.title{
    color:#FFF;
    font-size:18px;
}
 
 
div#calendar div.header a.prev{
    left:0px;
}
 
div#calendar div.header a.next{
    right:0px;
}
 
 
 
 
/*******************************Calendar Content Cells*********************************/
div#calendar div.box-content{
    border:1px solid #787878 ;
    border-top:none;
}
 
 
 
div#calendar ul.label{
    float:left;
    margin: 0px;
    padding: 0px;
    margin-top:5px;
    margin-left: 5px;
}
 
div#calendar ul.label li{
    margin:0px;
    padding:0px;
    margin-right:5px;  
    float:left;
    list-style-type:none;
    width:80px;
    height:40px;
    line-height:40px;
    vertical-align:middle;
    text-align:center;
    color:#000;
    font-size: 15px;
    background-color: transparent;
}
 
 
div#calendar ul.dates{
    float:left;
    margin: 0px;
    padding: 0px;
    margin-left: 5px;
    margin-bottom: 5px;
}
 
/** overall width = width+padding-right**/
div#calendar ul.dates li{
    margin:0px;
    padding:0px;
    margin-right:5px;
    margin-top: 5px;
    line-height:80px;
    vertical-align:middle;
    float:left;
    list-style-type:none;
    width:80px;
    height:80px;
    font-size:25px;
    background-color: #DDD;
    color:#000;
    text-align:center; 
}
 
:focus{
    outline:none;
}
 
div.clear{
    clear:both;
}     

.page-right{
    width: 180px;
    display: inline-block;
}

.tb td{
    overflow: auto;
}

.bg-primary{ background: #faab13!important;}
.bg-secondary{ background:#323232!important; }
.bg-third{ background:#f88f19!important; }

.cal-wrap{ overflow: auto;}
.tb-cal{border: 2px solid #faab13;}
.tb-cal td,.tb-cal th{  background: #fff; padding:.2rem;}
.tb-cal td{ background: #fff; border: 1px solid #faab13; cursor: pointer; }
.tb-cal td:hover{ background: #faab13;}
.tb-cal .form-check-label{ padding: 0;}

.tb-cal2 td{min-width: 70px;}

.tb-leaveapprove select{ padding: .375rem 0;}
.tb-leaveapprove .list-group-item{ padding:0; background: none;}
.tb-leaveapprove td{ min-height: 50px;}

.table-striped thead tr{ background: #A1A1A1; color: #fff;}
.table-striped table tr{ color: #000;}
.table-striped th a{ color: #fff;}
.table-striped a.active{ color: #0c77da;}
.table-striped tr:not(.active):hover td{ background: #faab13;}

.tb-ar input,.tb-ar select{ min-width: 100px;}

.sjob{ position:relative;min-width: 120px;}
.tb-cal2 .sjob{ min-width:auto;}
.sjob a{color:#fff;text-decoration: none;width: 15px;height: 15px;background: red;padding: 0;opacity: 1;display: block;float: none;font-size: .8rem;text-align: center;}

#content{ width: 100%; overflow: auto;}

.nav-link{ cursor: pointer;}
.card-header{ cursor: pointer;}
.card-title .dropdown-toggle{ font-size:25px;}

.selfaddform .form-check-inline{ display: block;}
.selfaddform .form-check-label{ width: 60%;}

.table{ background: #fff;}
.checkbox-row{ clear: both; overflow: hidden;}
.checkbox-row .col-md-4{ float:left; padding: .375rem 0;}


#btt{
    display:block;
    background:url(btt.png) no-repeat;
    width:40px;
    height:40px;
    position:fixed;
    z-index:99999;
    right: 50px;
    bottom: 50px;
}
.pagination{
    flex-wrap:wrap;
}

@media screen and (max-width: 1024px) {
    nav .form-inline{ display: block!important;}
    nav .form-inline .form-control{ width: 100%; max-width: none;}
}
@media screen and (max-width: 768px) {
    .tb-total{ width: 100%;}
    .tableFloatingHeaderOriginal{ display: none;}
    .sjob{ min-width: 150px;}
    .tb-cal2 .sjob{ min-width:150px;}
    .table-striped {
        border: 0;
    }
    .table-striped caption {
        font-size: 1.3em;
    }
    .table-striped thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .table-striped tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }
    .table-striped td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: right;
        min-height: 50px;
    }
    .table-striped td:before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }
    .table-striped td:last-child {
        border-bottom: 0;
    }
}