
html, body {
    height: 100%;
    
}
@media (max-width: 1200px){
     body{
        font-size:1em;
    }
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container-fluid {
    padding-top: 70px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.noPadding {
	padding: 0 !important;
	margin: 0 !important;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


/* TSC CSS */
/* by Joshua Schmidtke */

.card {
    margin: 1rem;
    padding: 1em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.roster {
    display: block;
    padding: 2px 10px;
}

.roster.blocked {
    background-color: #FF0000;
    color: #FFFFFF;
}

.roster.booked {
    background-color: #00AF4F;
    color: #FFFFFF;
}

.roster.written {
    background-color: #FFFF00;
}

.roster.verbal {
    background-color: #FFD866;
}


@media print {
    body {
        padding: 0 !important;
    }

    a[href]:after {
        content: "" !important;
    }
}

/* Create/Print buttons */
.tsc-staticButtons {
	position: fixed;
    top: 0px;
    padding-top: 150px;
    right: 0px;
    padding-right: 15px;
    /*z-index: 9999;  */
    z-index: 1;
}

/* Autocomplete */
.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

/* Login field */
.site-login {
    display: block;
    margin: 0 auto;
    max-width: 350px;
    padding: 1em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

/* roster infobox */
#roster-infobox {
    opacity: 0;
    position: absolute;
    top: 50px;
    right: 0;
    bottom: 0;
    overflow: auto;
    z-index: 50;
    background-color: white;
    margin: 0;
    transition: all .3s linear;
}

#roster-infobox.active {
    opacity: 1;
}

/* contract colors */
.table > tbody > tr.status-verbal > td {
    background: goldenrod;
}

.table > tbody > tr.status-verbal-timeout > td {
    background: #ffd700;
}

.table > tbody > tr.status-written > td {
    background: #75f9a3;
}

.table > tbody > tr.status-booked > td {
    background: green;
    color: #ffffff;
}
.table > tbody > tr.status-booked-shzh> td {
    background: #E645A1;
    color: #ffffff;
}
.table > tbody > tr.status-option-shzh> td {
    background: #F299CC;

}

.table > tbody > tr.status-canceled > td {
    background: grey;
    color: #ffffff;
}

.table > tbody > tr.status-deleted > td {
    background: red;
    color: #ffffff;
}

.table > tbody > tr.status-verbal-timeout > td a,
.table > tbody > tr.status-booked > td a,
.table > tbody > tr.status-canceled > td a,
.table > tbody > tr.status-deleted > td a {
    color: #ffffff;
}
#calendar { 
	/*overflow-x:scroll;  */
	/*overflow:scroll;*/ 
	/*height:650px;*/
}
#calendar table { table-layout:fixed; margin-left:150px; }
td.headcol, th.headcol {
    position: fixed;
    background-color:white;
    height:25px;
    border-top:1px solid black;
    border-right:1px solid black;
    vertical-align:middle;
    width:150px;
    z-index:1001;
    left:0px;
    padding-left:10px;
}
th.firstcol {
	border:none!important;
}
td.rdR {
	border:1px solid black;
	vertical-align:top;
	height:25px;
}

#month-row * {
    text-align: center;
}

div.rdRdiv {
	height:23px;
	position:relative;
}
div.rdRItem { overflow: hidden; position:absolute; cursor:pointer; margin-top:1px; border:1px solid black; z-index:1000; height:22px; }
td.weekend { background-color: #ddd; }
.status_0 { background-color: #ffd700; }
.status_1 { background-color: #75f9a3; }
.status_2 { background-color: #008000; }
.status_3 { background-color: #CCCCCC; }
.status_4 { background-color: #7fd9f9; }
.status_20 { background-color: #F299CC; }
.status_21 { background-color: #E645A1; }

.dbl_book { background-image:
       repeating-linear-gradient(45deg, 
                                transparent 0%, 
                                transparent 4%, black 4%, 
                                black 8%, white 8%);
}
.bodyBlocker {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:100000000;
	background-color:rgba(0,0,0,0.6);
	display:none;
}


#contract-departure_date, #contract-arrival_date {
    z-index: -1;
}

.frowtop {
	position:relative;
}

