/*
//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/css/bootstrap.min.css
*/
* {
  box-sizing: border-box;
}

*:before {
  box-sizing: border-box;
}

*:after {
  box-sizing: border-box;
}

#eventModal a {
	text-decoration: none;
}
#eventModal a:hover {
	text-decoration:underline;
}

.container-calendar {
/*  max-width: 1000px;*/
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1em;
}

.row:before {
  display: table;
  content: " ";
}

#raceBtns .btn {
	font-size:0.7em
}

.grid-calendar {
  min-width: 320px;
}
.grid-calendar .row {
    /*
      override these from bootstrap

      margin-right: -15px;
      margin-left: -15px;
    */
  margin: 0;
}

.calendar-day:hover { 
    background-color: #FFC !important;
}
.grid-calendar .calendar-week .grid-cell {
  background-color: #f6f6f6;
  border: 1px solid #fff;
  height:100%;
  min-height:68px;
}
.grid-calendar .calendar-week-header .grid-cell > div > div {
  padding-bottom: 10px;
  height: auto;
}
.grid-calendar .grid-cell {
  display: inline-block;
  float: left;
  min-height: 1px;
  padding: 0;
  position: relative;
  width: 14.28571%;
}

.grid-calendar .grid-cell.next-month,.grid-calendar .grid-cell.previous-month {
  background-color: #e4e4e4;
  color: #a6a6a6;
}
.grid-calendar .grid-cell > div {
  display: flex;
  justify-content:flex-start;
  width: 100%;
}
.grid-calendar .grid-cell > div > div {
  height: 0;
  padding: 0 0 100% 0;
}

.grid-calendar-date {
  overflow:hidden;
  height:20px;
}
.grid-calendar-date small {
  font-size: 0.75em;
  background-color:#eee;
}

.grid-calendar-events	{

}

/*
imported from my angular system
*/
.BCAC-weekH0	{	height:0px; min-height:0px;	}	/* tr height dependant on number of events */
.BCAC-weekH1	{	height:68px; min-height:80px;	}
.BCAC-weekH2	{	height:98px; min-height:116px;	}
.BCAC-weekH3	{	height:128px; min-height:152px;	}
.BCAC-weekH4	{	height:158px; min-height:188px;	}
.BCAC-weekH5	{	height:190px; min-height:224px;	}
.BCAC-weekH6	{	height:222px; min-height:260px;	}
.BCAC-weekH7	{	height:254px; min-height:296px;	}
.BCAC-weekH8	{	height:286px; min-height:332px;	}
.BCAC-weekH9	{	height:368px; min-height:368px;	}
.BCAC-weekH10	{	height:368px; min-height:404px;	}
.BCAC-weekH11	{	height:368px; min-height:440px;	}
.BCAC-weekH12	{	height:368px; min-height:476px;	}
.BCAC-weekH13	{	height:368px; min-height:512px;	}
.BCAC-weekH14	{	height:368px; min-height:548px;	}
.BCAC-weekH15	{	height:368px; min-height:584px;	}
.BCAC-weekH16	{	height:368px; min-height:620px;	}
.BCAC-weekH17	{	height:368px; min-height:656px;	}
.BCAC-weekH18	{	height:368px; min-height:692px;	}
.BCAC-weekH19	{	height:368px; min-height:728px;	}
.BCAC-weekH20	{	height:368px; min-height:764px;	}

.BCAC-dayNum
	{
	position:absolute; 
	float:left;
	padding-left:6px;
	font-weight:bold;
	font-size:1.5em;
	opacity: 0.6;
	margin-top:6px;
	height:36px; 
	line-height:10px; 
	}
.BCAC-event /* an event drawn on the calendar */
	{
	position:absolute; 
	display:block; 
	background-color:#444;
	margin-left:0px;
	overflow:hidden;
	border-radius: 6px;
	color:#FFF; 
	border:#454545 1px inset; 
	display:block; 
	height:34px; 
	line-height:13px; 
	font-size:16px;
	padding:1px 0px 1px 2px;
	white-space: nowrap;
	z-index:999;
	line-height:0.9;
	}
.BCAC-event:hover /* an event drawn on the calendar */
	{
/*	border:#222 2px solid; */
/*	font-size:15px;*/
	opacity: 0.85;
	}
.BCAC-event em /* an event drawn on the calendar */
	{
	font-size:0.85em;
	}
.BCAC-today
	{	background-color:#FF9 !important;	}
.BCAC-eventd1 /* events can be drawn for 1-7 days */
	{	}
.BCAC-eventd2 /* events can be drawn for 1-7 days */
	{	}
.BCAC-eventd3 /* events can be drawn for 1-7 days */
	{	}
.BCAC-eventd4 /* events can be drawn for 1-7 days */
	{	}
.BCAC-eventd5 /* events can be drawn for 1-7 days */
	{	}
.BCAC-eventd6 /* events can be drawn for 1-7 days */
	{	}
.BCAC-eventd7 /* events can be drawn for 1-7 days */
	{	}
/* Depth Formula = BCAC-event height*depthLevel+depthLevel */
.BCAC-eventDepth1 /* events can be drawn at a depth from 1-9 */
	{	margin-top:36px;	}
.BCAC-eventDepth2 /* events can be drawn at a depth from 1-9 */
	{	margin-top:72px;	}
.BCAC-eventDepth3 /* events can be drawn at a depth from 1-9 */
	{	margin-top:108px;	}
.BCAC-eventDepth4 /* events can be drawn at a depth from 1-9 */
	{	margin-top:144px;	}
.BCAC-eventDepth5 /* events can be drawn at a depth from 1-9 */
	{	margin-top:180px;	}
.BCAC-eventDepth6 /* events can be drawn at a depth from 1-9 */
	{	margin-top:216px;	}
.BCAC-eventDepth7 /* events can be drawn at a depth from 1-9 */
	{	margin-top:252px;	}
.BCAC-eventDepth8 /* events can be drawn at a depth from 1-9 */
	{	margin-top:288px;	}
.BCAC-eventDepth9 /* events can be drawn at a depth from 1-9 */
	{	margin-top:324px;	}
.BCAC-eventDepth10 {	margin-top:360px;	}
.BCAC-eventDepth11 {	margin-top:396px;	}
.BCAC-eventDepth12 {	margin-top:432px;	}
.BCAC-eventDepth13 {	margin-top:468px;	}
.BCAC-eventDepth14 {	margin-top:504px;	}
.BCAC-eventDepth15 {	margin-top:540px;	}
.BCAC-eventDepth16 {	margin-top:576px;	}
.BCAC-eventDepth17 {	margin-top:612px;	}
.BCAC-eventDepth18 {	margin-top:648px;	}
.BCAC-eventDepth19 {	margin-top:684px;	}
.BCAC-eventDepth20 {	margin-top:720px;	}