.tablemain {
	width: 90%;
	height: 90%;
	margin: auto;
}

#first {
	margin: auto;
	width: 15em;
	height: auto;
	background: #e2e2e2;
	color:black;
	font-size:18px;
	font-weight:600;
	padding:1em;
   }
   #second{
	   width: 20%;
	   height: 45%;
	   float:right;
	   margin-top: 0.4em;
	}

/* declare a 7 column grid on the table */
#calendar {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

#calendar tr, #calendar tbody {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
 width: 100%;
}

caption {
	text-align: center;
  grid-column: 1 / -1;
  font-size: 130%;
  font-weight: bold;
  padding: 10px 0;
}

#calendar a {
	color: #fff;
	text-decoration: none;
}

.dropdown-menu a {
	color: #000;
	text-decoration: none;
}

#calendar td, #calendar th {
	/*padding: 5px;*/
	box-sizing:border-box;
	border: 1px solid #ccc;
}

#calendar .weekdays {
	background: #ccc;  
}


#calendar .weekdays th {
	text-align: center;
	text-transform: uppercase;
	line-height: 20px;
	border: none !important;
	padding: 10px 6px;
	color: #333;
	font-size: 13px;
}

#calendar td {
	min-height: 180px;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

#calendar .days li:hover {
	background: #d3d3d3;
}

#calendar .date {
	margin-bottom: 8px;
	padding: 2px;
	/*width: 20px;*/
	border-radius: 50%;
  flex: 0 0 auto;
  /*align-self: flex-end;*/
}

#calendar .event {
  flex: 0 0 auto;
	font-size: 13px;
	/*border-radius: 4px;*/
	padding: 5px;
	/*margin-bottom: 5px;*/
	line-height: 14px;
	/*background: #e4f2f2;*/
	/*border: 1px solid #b5dbdc;*/
	/*color: #009aaf;*/
	text-decoration: none;
	background: none !important;
}

#calendar .event-desc {
	margin: 3px 0 7px 0;
	text-decoration: none;
	padding: 4px;
}

#calendar .event-desc span {
	color: #000;
	font-size:12px;
}

#calendar .other-month {
	background: #f5f5f5;
	color: #666;
}

/* ============================
				Mobile Responsiveness
   ============================*/


@media(max-width: 768px) {

	#calendar .weekdays, #calendar .other-month {
		display: none;
	}

	#calendar li {
		height: auto !important;
		border: 1px solid #ededed;
		width: 100%;
		padding: 10px;
		margin-bottom: -1px;
	}
  
  #calendar, #calendar tr, #calendar tbody {
    grid-template-columns: 1fr;
  }
  
  #calendar  tr {
    grid-column: 1 / 2;
  }

  #calendar .date {
		align-self: flex-start;
	}
}

.loader,
.loader:after {
	border-radius: 50%;
	width: 10em;
	height: 10em;
}
.loader {            
	margin: 60px auto;
	font-size: 10px;
	position: relative;
	text-indent: -9999em;
	border-top: 1.1em solid rgba(255, 255, 255, 0.2);
	border-right: 1.1em solid rgba(255, 255, 255, 0.2);
	border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
	border-left: 1.1em solid #ffffff;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load8 1.1s infinite linear;
	animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
#loadingDiv {
	position:absolute;;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:#000;
}

.ht3 {
	font-size: 18px;
	color: #00658d;
}
.det .box{
	box-sizing: border-box;
	border-radius: 10px;
	background: #f8f9fa;
	margin: 10px;
	padding: 10px;
}
.det b{
	color: #999;
	font-weight: normal;
}
.det div{
	font-family: arial, helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.65em;
    font-style: normal;
    font-weight: 400;
    color: #555;
}


body {
    font-family: arial, helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.65em;
    font-style: normal;
    font-weight: 400;
    color: #555;
}

.eventlistdetails, #details th {
    border: 0;
}

.eventlistdetails th.special {
    border-bottom: 0;
    color: #555;
    padding-top: 16px;
}

/* Fonts and Headers */
.eventCalendarinfo_h1 {
    font-family: 'Lato', sans-serif;
}

.eventCalendarinfo_h1, .eventCalendarinfo_h2, .eventCalendarinfo_h3, .eventCalendarinfo_h4, .eventCalendarinfo_h5 {
    font-weight: bold;
}

.eventCalendarinfo_h1 {
    font-size: 190%;
    margin-top: 0px;
}

.eventCalendarinfo_h2 {
    font-size: 150%;
    line-height: normal;
}

.eventCalendarinfo_h1 + .eventCalendarinfo_h2 {
    margin-top: 0;
}

.eventCalendarinfo_h3 {
    font-size: 120%;
    margin: 16px 0 2px;
    line-height: normal;
}

.eventCalendarinfo_h3_first {
    margin-top: 0;
}

.eventCalendarinfo_h3 span {
    font-size: 80%;
}


#map iframe {
    border: 1px solid;
}


#content .calendar ul li {
    list-style: none;
    margin-left: 0;
}

.eventlistdetails th.special {
    border-bottom: 0;
    color: #555;
    padding-top: 16px;
}

::selection {
    background-color: #735f24;
    color: white;
}

span.match {
    background-color: #f8dda9;
    border: 1px solid #edd19b;
    margin: -1px;
    color: #390705;
}

.infoEventTitle {
    font-size: 18px;
    font-weight: 700;
}

.calendar-info-leftpanel {
    border-right: 1px solid #edd19b;
}

.calendar-info-rightpanel {
    border-left: 1px solid #edd19b;
}

.calendar-info-registration-button {
    color: #fff;
    text-align: center;
    width: 190px;
}

    .calendar-info-registration-button a {
        color: #fff;
        text-align: center;
        text-decoration: none;
    }

.calendar-back-link {
    color: #888;
}

    .calendar-back-link a {
        text-decoration: none;
    }
    .calendar-list-noevents th.month{
        color:#735f24;
    }

     .calendar-info-event-provider {
      padding-top:10px;
      padding-bottom:10px;
    }

   .calendar-info-event-speaker{
      padding-bottom:5px;
   }

    .calendar-info-event-group{
      padding-bottom:10px;
   }

    #divitodattorneylisttopnav .bootstrap-select{
        width:100%;
    }

    .calendar-eventFilter{
        padding-bottom:10px;
    }

    #calendard h2.first {
        margin: 0 0 16px;
    }
    
    #content .calendard ul li {
        list-style: none;
        margin-left: 0;
    }
    
    #calendard .info {
        font-size: 90%;
        border-top: 2px solid #223e6e;
        padding-top: 8px;
        height: auto;
    }
    .largemargintop {
        margin-top: 25px;
    }

      #tblCost th, #tblCost td {
        border-style:solid;
        border-color: #96D4D4;
        padding: 8px;
		border-width:1px;
      }

.popover-title{
    background: gray;
}
.popover-header{
    background: gray;
}
@media (min-width: 1200px) {
    .container {
        width: 1300px !important;
    }
}
.loaderj {
  position: relative;
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #3498db;
  width: 70px;
  height: 70px;
  left:50%;
  top:10%;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}
#overlayj{
  margin:auto;
    position: absolute;
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    background: black;
    opacity: .5;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}