/* Colour set up */

#top table.agenda-minutes-documents-list thead tr,
.agenda-minutes-wrap.ui-accordion .ui-state-active {
    background: #135985;
    color: #FFF !important;
}

.main_color table.agenda-minutes-documents-list {
  background: white;
}

table.agenda-minutes-documents-list {
  border-spacing: 1;
  border-collapse: collapse;
  background: white;
	border-radius: 0px 0px 0 0;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    position: relative;
    filter: drop-shadow(0 2px 2px #ddd);
}

table.agenda-minutes-documents-list td,
table.agenda-minutes-documents-list tr,
table.agenda-minutes-documents-list th {
	border-color: #cdcdcd;
}

table.agenda-minutes-documents-list td,
table.agenda-minutes-documents-list th {
  padding-left: 12px;
}

table.agenda-minutes-documents-list td {
	padding: 12px 12px 12px;
    line-height: 24px;
}

#top table.agenda-minutes-documents-list thead tr {
  height: 60px;
}

#top table.agenda-minutes-documents-list thead tr th {
  vertical-align: middle;
	border-color: #484357;
}

#top table.agenda-minutes-documents-list thead tr th strong {
color:#FFF !important
}

table.agenda-minutes-documents-list tbody tr:last-child {
  border: 0;
}

table.agenda-minutes-documents-list td,
table.agenda-minutes-documents-list th {
  text-align: left;
}

#top table.agenda-minutes-documents-list thead tr th strong {
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0
}

table.agenda-minutes-documents-list tbody tr:nth-child(even),
table.agenda-minutes-documents-list tbody tr:nth-child(even) td {
  background-color: #f6f6f6;
}

table.agenda-minutes-documents-list tbody tr:nth-child(odd),
table.agenda-minutes-documents-list tbody tr:nth-child(odd) td {
  background-color: #FFFFFF;
}

table.agenda-minutes-documents-list tbody tr {
  font-size: 15px;
  color: #292929;
  line-height: 1.2;
  font-weight: unset;
}

table.agenda-minutes-documents-list tr td,
table.agenda-minutes-documents-list tr td a {
	color:#272727;
}

table.agenda-minutes-documents-list tr td a {
	text-decoration: underline;
}


table.agenda-minutes-documents-list tr td a:focus {
	outline: 3px solid transparent;
    color: #0b0c0c;
    background-color: #ffdd00;
    box-shadow: 0 -2px #ffdd00, 0 4px #0b0c0c;
	text-decoration: none;
}

/* Year Navigation */

p.ajm.browsing-text {
    padding: 0;
    background: #FFF;
}

span.year-link a:hover,
span.year-link.active a,
span.year-link.active a:focus {
    background: #36304a;
    color: #FFF;
	text-decoration: none;
}

span.year-link a:focus {
    color: #0b0c0c;
    background-color: #ffdd00;
}

span.year-link a {
    background: #f6f6f6;
	color:#000;
    padding: 10px 12px;
    margin-right: 6px;
    border-radius: 4px;
    height: 40px;
}

.agm-year-link {
    display: block;
    line-height: 40px;
}

.agm-year-link span.year-link:after {
	display: none;
}

.agm-year-link span.year-link {
    display: inline-block;
	margin-bottom: 6px;
	position: relative;
}

span.browse-years {
    display: none;
}

span.year-link.active a {
    height: 48px;
/*    border-radius: 4px 4px 0 0;
    padding-bottom: 16px; */
}

span.year-link.active {
    margin-bottom: 0;
}

/* span.year-link.active:before {
    content: 'Browsing';
    position: absolute;
    top: -13px;
    color: #FFF;
    font-size: 11px;
    left: 6.5px;
    height: 0;
}

span.year-link:hover:before {
    content: 'View';
    position: absolute;
    top: -13px;
    color: #FFF;
    font-size: 11px;
    left: 6.5px;
    height: 0;
} */
 
tr.highlight {
    box-shadow: inset 0px 0px 0px 3px rgba(1,1,1,1);
}

/* Column Widths */

table.agenda-minutes-documents-list thead tr th:first-child {
    width: 160px;
}

table.agenda-minutes-documents-list thead tr th:nth-child(2n),
table.agenda-minutes-documents-list tbody tr td:nth-child(2n) {
    max-width: 280px;
    min-width: 180px;
}

table.agenda-minutes-documents-list thead tr th:nth-child(n+3),
table.agenda-minutes-documents-list tbody tr td:nth-child(n+3) {
	min-width: 114px;
    max-width: 114px;
	white-space: inherit;
}

/* Widget */

.widget  a.calendar-link,
.widget_agendas_minutes_widget_upcoming.widget .widget-content a.calendar-link {
    border: 2px solid #FFF;
    display: inline-block;
    padding: 15px 30px 13px;
    min-width: 140px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 18px;
}

.widget_agendas_minutes_widget_upcoming.widget .widget-content {
    padding-bottom: 20px;
}

.widget .document-wid-row.download-agenda,
.widget_agendas_minutes_widget_upcoming.widget .document-wid-row.download-agenda {
	border: 2px solid #e4e4e4;
    padding: 5px 10px;
    font-size: 12px;
    color: #000000;
    margin-top: 10px;
    background: #ececec;
}

.widget .document-wid-row.download-agenda a,
.widget_agendas_minutes_widget_upcoming.widget .document-wid-row.download-agenda a {
	text-decoration: underline;
}

.widget_agendas_minutes_widget_upcoming.widget .document-wid-row.download-agenda span.download-agenda img {
    margin-top: 4px;
    position: absolute;
    left: 4px;
}

.widget_agendas_minutes_widget_upcoming.widget .document-wid-row.download-agenda span.download-agenda {
    display: inline;
    padding-left: 20px;
    position: relative;
}

#top .calendar-link-wrap {
    border-top: 2px solid;
    border-color: rgba(255,255,255,0.20);
	margin-top: 12px;
}

.document-wid-row:nth-child(3) {
    margin-bottom: 0;
}

.document-wid-row p {
    margin-bottom: 0;
}

/* Mobile Display */

.agm-year-link.mobile-hide {
    /* display: flex; */
    overflow: auto;
}

.agm-year-select.mobile-show {
	display: none;
}

@media screen and (max-width: 992px) {
	.agm-year-select.mobile-show {
		display: inherit;
	}
	.agm-year-link.mobile-hide {
		display: none;
	}
}

/* Accordion */

.agenda-minutes-wrap.ui-accordion.ui-widget .ui-accordion-header:first-child {
    margin: 0;
}

.agenda-minutes-wrap.ui-accordion.ui-widget {
    clear: both;
}

.agenda-minutes-wrap.ui-accordion.ui-widget .agenda-minutes-inner.ui-accordion-content {
	padding: 0
}

.agenda-minutes-wrap.ui-accordion.ui-widget .ui-accordion-header {
    display: block;
    cursor: pointer;
    position: relative;
    margin: 8px 0 0 0;
    padding: 0.6em .5em .5em .7em;
    font-size: inherit;
}

.agenda-minutes-wrap.ui-accordion.ui-widget span.ui-accordion-header-icon.ui-icon {
    background-position: -17px -126px;
	float: right;
    margin-top: -3px;
}

.agenda-minutes-wrap.ui-accordion.ui-widget .ui-state-active span.ui-accordion-header-icon.ui-icon {
    background-position: -49px -126px;
}

/* Browser */

#browser table.browser.agenda-minutes-documents-list thead tr th:first-child {
    width: 326px;
}

table .agenda-minutes-desc:before {
    content: 'Note: ';
    font-weight: 700;
}

/* Events */

.single-tribe_events .document-wid-row.download-agenda {
    border: 1px solid #e4e4e4;
    padding: 5px 10px;
    font-size: 12px;
    color: #333;
    background: #f5f5f5;
    font-weight: bold;
}

.single-tribe_events .document-wid-row.download-agenda span img {
	position: inherit
}