.offset:before { 
	display: block; 
 	content: " "; 
  	height: 62px;      /* Give height of your fixed element */
        margin-top: -62px; /* Give negative margin of your fixed element */  	
        visibility: hidden; 
}

/*
.anchor {
    padding-top: 10px;
    margin-top: -10px;
}
*/
/*
.jumbotron {
    background: #222;
}


.well {
    background: #555;
}
*/

.form-center {
  max-width: 340px;
  margin: auto 0;
}

.form-xs {
  max-width: 100px;
  margin: 0 auto;
}

.narrow3 {
    max-width: 141px;
    min-width: 141px;
    margin: 0 auto;
}


.narrow2 {
    max-width: 45px;
    min-width: 45px;
    margin: 0 auto;
}


.xtrnarrow {
  max-width: 100px;
  margin: 0 auto;
}

.xtrnarrow-left {
  max-width: 100px;
  margin: ;
}

.narrow {
  max-width: 340px;
  margin: 0 auto;
}

.narrow-left {
  max-width: 340px;
  margin: ;
}

.wide {
  max-width: 768px;
  margin: 0 auto;
}


/* TABLES */

.table > tbody > tr > td {
    vertical-align: middle;
    word-wrap: break-word;
    max-width: 100px;

/* 
   overflow: hidden;
    overflow: break-word;
    word-break: break-word;    
    max-width: 100px;
    white-space: break-word;
*/
}


table {
    vertical-align: middle;
    word-wrap: break-word;
}


.table {
    vertical-align: middle;
    word-wrap: break-word;
}


.table > tbody > tr.tall {
    height: 55px;
}


.bot-border{
    border-bottom:1px solid #ddd;
    border-top:;
}

/*
.table > tbody > tr.short {
    height: 40px;
}
*/

/*
.tall {
    height: 500px;
    min-height: 100px;
}
*/
    


/* ALIGNMENT */

.center {
    text-align: center;
    vertical-align: middle;
    align: center;
}


.middle {
    vertical-align: middle;
   /* margin-top: 15px;*/
}


.btn-middle {
    margin-top: 9px;
}


.input-xs {
  height: 22px;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.panel-heading {
  padding-top: 1px;
  padding-bottom: 10px;
}


.a-block {
    display: block;
}

.navbar-form {
    /*    margin-top: 14px;*/
    margin-top: 10px;
}

body {
    background: #999;
}

/*
.panel-default > .panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}
*/

.panel-top {
    margin-top: 10px;
}


.form-top {
    margin-top: 15px;
    height: 40px;
}


.margin0 {
    margin-top: 0px;
    margin-bottom: 0px;
}


.top {
    margin-top: 50px;
}


.top100 {
    margin-top: 100px;
}

.top40 {
    margin-top: 40px;
}


.top30 {
    margin-top: 30px;
}


.top20 {
    margin-top: 20px;
}


.top18 {
    margin-top: 18px;
}


.top17 {
    margin-top: 17px;
}


.top15 {
    margin-top: 15px;
}


.top13 {
    margin-top: 13px;
}


.top10 {
    margin-top: 10px;
}


.top5 {
    margin-top: 5px;
}


.top8 {
    margin-top: 8px;
}


.top7 {
    margin-top: 7px;
}



.top0 {
    margin-top: 0px;
}


.bot0 {
    margin-bottom: 0px;
}


.bot2 {
    margin-bottom: 2px;
}


.bot5 {
    margin-bottom: 5px;
}


.bot10 {
    margin-bottom: 10px;
}


.bot20 {
    margin-bottom: 20px;
}


.bot30 {
    margin-bottom: 30px;
}


.normal {
    font-weight: normal;
}


.dark-links {color: #333;}
a.dark-links:link {color: #333;}
a.dark-links:visited {color: #333;}
a.dark-links:hover {color: #999;}



img {
 /* display: block;*/
  max-width:200px;
  max-height:300px;
  width: auto;
  height: auto;
}


.img-sm {
/*  display: block;*/
  max-width:100px;
  max-height:150px;
  width: auto;
  height: auto;
}


.img-xs {
/*  display: block;*/
  max-width:30px;
  max-height:45px;
  width: auto;
  height: auto;
}



:required     {
  background: #ffeee6;
}


/* FOOTER */

html, body {
    height: 94%;
    /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -40px;
}

/* Set the fixed height of the footer here */
#footer {
    height: 40px;
}

#push {
    height: 40px;
}

#footer {
    background-color: #888;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #footer {
	margin-left: -20px;
	margin-right: -20px;
	padding-left: 20px;
	padding-right: 20px;
}}

/* END OF FOOTER */




/* =============================================================================
   Date Picker
   ========================================================================== */

.ui-datepicker {
	width: 340px;
	padding: .2em .2em 0;
	display: none;
	background: white;
	color: black;
        position: absolute;
        z-index: 9999 !important;

}
.ui-datepicker .ui-datepicker-header {
	position: relative;
	padding: .2em 0;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	position: absolute;
	width: 55px;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
}
.ui-datepicker .ui-datepicker-prev {
	left: -20px;

}
.ui-datepicker .ui-datepicker-next {
	right: 15px;

}
.ui-datepicker .ui-datepicker-prev-hover {
    color: darkred;
    cursor: pointer;
}
.ui-datepicker .ui-datepicker-next-hover {
    color: darkred;
    cursor: pointer;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
	display: block;
	position: absolute;
	left: 50%;
	margin-left: -1px;
	top: 50%;
	margin-top: -1px;
}
.ui-datepicker .ui-datepicker-title {
	margin: 0 2.3em;
	line-height: 1.8em;
	text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
	font-size: 1em;
	margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month-year {
	width: 100%;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
	width: 49%;
}
.ui-datepicker table {
	width: 100%;
	font-size: .9em;
	border-collapse: collapse;
	margin: 0 0 .4em;
}
.ui-datepicker th {
	padding: .7em .3em;
	text-align: center;
	font-weight: bold;
	border: 0;
}
.ui-datepicker td {
	border: 0;
	padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
	display: block;
	padding: .2em;
	text-align: center;
	text-decoration: none;
}


.ui-datepicker-calendar a.ui-state-hover { background: #eee; color: darkred; } // Hovered date