/* Use this CSS file to override base CSS rules */

/* Style ABCDs on taxonomy list pages (browse bys) */
.block-system .view-taxonomy-term h3 + .views-row.group {
    margin-top: -59px;
}
.block-system .view-taxonomy-term .view-content > h3 {
    width: 55px;
    height: 55px;
    background-color: #252525;
    color: #f0f0f0;
    font-size: 40px;
    text-align: center;
    line-height: 53px;
    margin-top: 10px;
    margin-bottom: 20px;
    display: block;
}
.view-taxonomy-term .views-row {
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 1px solid #acacac;
}
.view-taxonomy-term .views-row:last-child {
    border-bottom: none!important;
}

/* Style collection links on taxonomy list pages */
p.desc > a {
	font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Style taxonomy on taxonomy lists */
.taxonomy-list-included ul li a {
    color: #7d7d7d;
    padding: 6px 8px;
    line-height: 1;
    background-color: #d2d2d2;
    font-size: 11px;
    min-width: auto;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    display: inline-block;
    margin: 3px 0 2px 0;
    text-transform: uppercase;
    border: none;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    text-align: center;
}
.taxonomy-list-included ul {
    display: block;
    overflow: hidden;
    position: relative;
    margin: 15px 0 30px 0;
    clear: both;
}
.taxonomy-list-included ul li {
    display: inline;
    margin: 0px 2px; 
}
.taxonomy-list-included ul {
    padding: 0;
    list-style-type: none;
}

/* Styles for lists of taxonomy terms on manuscript collection page */
/*counties*/
.view-display-id-block_1 div.item-list ul {
    column-count: 4;
}
/*subjects*/
.view-display-id-block_2 div.item-list ul {
    column-count: 3;
}

/* remove NA taxonomy from manu filtetr index lists */
select#edit-field-subjects-target-id option[value="65"], select#edit-field-counties-target-id option[value="219"], select#edit-field-decades-target-id option[value="265"] {
    display: none;
}

/* RC page table - column widths */
th#view-field-collection-number-table-column, th#view-field-collection-dates-table-column, th#view-field-finding-aid-table-column {
    width: 125px;
}
/* RC page table - column widths */
th#view-title-table-column {
    width: 250px;
}
th#view-body-table-column {
    width: 400px;
}

/* RC page table - column widths */
th#view-field-collection-number-table-column {
    width: 125px;
}

/*styles for NWMC list sidebar menu */
#block-views-block-nwmc-bio-list-block-1.block-views .view {
    border-bottom: none;
}


@media (min-width: 768px) {
	.block-system .view-taxonomy-term .view-content>h3 {
	    display: inline-block;
	    margin-bottom: 0;
	    margin-top: 10px;
	}
	.block-system .view-taxonomy-term .views-row.group {
    margin-left: 150px;
    position: relative;
	}
	.block-system .view-taxonomy-term h3 + .views-row.group {
    margin-top: -59px;
	}
	.block-system .view-taxonomy-term .views-row.group:before {
    content: "";
    height: 200%;
    width: 1px;
    background-color: #acacac;
    left: -75px;
    top: 4px;
    display: block;
    position: absolute;
	}
    .block-system .view-taxonomy-term .views-row.group:last-child:before, .block-system .view-taxonomy-term .views-row.group:last-child:before {
    height: 100%;
    }
}