/**
* CAHNRS Core
* @author Danial Bleile, Lesa McPeak
* @version 0.0.1
*/

/**
* DOCUMENT INDEX
* - Module: Post Feed
* -- Search
* -- Filters
* -- Pagination
* -- Items
* -- Grants
* -- MailChimp
*/

/* ============================ Module: Post Feed ============================ */

/* == Search == */
.core-post-feed .core-post-feed-search {
    padding-bottom: 18px;
}

.core-post-feed .core-post-feed-search input {
    height: 40px;
    line-height: 40px;
    width: 200px;
    text-indent: 8px;
    font-size: 16px;
    border: 1px solid #981e32;
    vertical-align: top;
    display: inline-block;
}

.core-post-feed .core-post-feed-search button {
    height: 40px;
    width: 60px;
    font-size: 16px;
    background-color: #981e32;
    color: #fff;
    font-weight: bold;
    border-radius: 0;
    border: 1px solid #981e32;
    outline: none;
    vertical-align: top;
    display: inline-block;
}

/* == Filters == */
.core-post-feed .core-post-feed-filters .core-post-feed-filter {
    display: inline-block;
    width: 195px;
    vertical-align: top;
    margin-bottom: 18px;
    box-sizing: border-box;
    margin-right: 18px;
}
.core-post-feed .core-post-feed-filters .core-post-feed-filter .select-filter {
    overflow: hidden;
    position: relative;
}

.core-post-feed .core-post-feed-filters .core-post-feed-filter label {
    display: block;
    text-transform: uppercase;
}

.core-post-feed .core-post-feed-filters .core-post-feed-filter .select-filter select {
    display: block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    border: 1px solid #981e32;
    cursor: pointer;
}

/*.core-post-feed .core-post-feed-filters .core-post-feed-filter .select-filter:after {
    width: 30px; 
    height: 30px;
    line-height: 30px;
    text-align: center;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    background-color: #981e32;
    content: "\f0d7";
    font-family: fontAwesome;
    color: #fff;
    z-index: 98;
    cursor: pointer;
    z-index: 2;
}*/

/* == Pagnination == */

.core-post-feed .core-post-feed-pagination {
    text-align: right;
    border-bottom: 1px solid #ccc;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.core-post-feed .core-post-feed-pagination.pagination-after {
    text-align: right;
    border-bottom: none;
    border-top: 1px solid #ccc;
    padding-top: 12px;
}

.core-post-feed .core-post-feed-pagination .core-post-feed-pagination-summary {
    display: inline-block;
    vertical-align: top;
    height: 40px;
    line-height: 40px;
    margin-right: 18px;
    font-size: 14px;
}

.core-post-feed .core-post-feed-pagination .core-post-feed-pagination-nav {
    display: inline-block;
    vertical-align: top;
}

.core-post-feed .core-post-feed-pagination .core-post-feed-pagination-nav button {
    height: 40px;
    background-color: #981e32;
    border-radius: 0;
    color: #fff;
    outline: none;
    border: none;
    text-transform: uppercase;
    padding-left: 18px;
    padding-right: 18px;
}

/* == Items == */

.core-post-feed .core-post-feed-items {
    margin-bottom: 18px;
}

.core-post-feed .core-post-feed-items .core-post-feed-item {
    position: relative;
    padding: 12px;
    overflow: hidden;
}

.core-post-feed .core-post-feed-items .core-post-feed-item {
    position: relative;
    padding: 8px;
}
.core-post-feed .core-post-feed-items .core-post-feed-item:after {
    content: "";
    display: block;
    clear: both;
}

.core-post-feed .core-post-feed-items .core-post-feed-item .item-image {
    height: 175px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.core-post-feed .core-post-feed-items .core-post-feed-item .item-image-wrapper {
    width: 175px;
    float: left;
}

.core-post-feed .core-post-feed-items .core-post-feed-item .item-caption-wrapper {
    box-sizing: border-box;
}

.core-post-feed .core-post-feed-items .core-post-feed-item.has-image .item-caption-wrapper {
    margin-left: 175px;
    padding-left: 16px;
}

.core-post-feed .core-post-feed-items .core-post-feed-item .item-title {
    color: #981e32;
}

.core-post-feed .core-post-feed-items .core-post-feed-item .item-excerpt {
    font-size: 16px;
}

.core-post-feed .core-post-feed-items .core-post-feed-item .item-link a {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    font-size: 0;
    top: 0;
    left: 0;
}

.core-post-feed .core-post-feed-items .core-post-feed-item .item-link a:hover {
    background-color: rgba(0,0,0,0.1);
}
/* -- Core Sub Layouts ----------------------------------------------- */

.core-sublayout-wrapper {
    display:table;
}

.core-sublayout-inner {
    display:table-row;
}

.core-layout-column {
    display:table-cell;
}

.core-sublayout-wrapper:after {
    content: "";
    clear: both;
    display: block;

}

.core-layout-right-column .core-layout-column.lc-column-two {
    width: 300px;
    box-sizing: border-box;
    padding-left: 14px;
}

.core-layout-right-column .core-layout-column.lc-column-one {
    padding-right: 14px;
}


/*.core-layout-right-column .core-layout-column.lc-column-two {
    margin-right: 300px;
}*/

/*.core-layout-right-column {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -o-flex;
    display: flex;

    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;

    flex-wrap: nowrap;
}

.core-layout-right-column .core-layout-column.lc-column-one {
    box-sizing: border-box;
    margin: auto;  /* Magic! 
    flex-grow
}

.core-layout-right-column .core-layout-column.lc-column-two {
    width: 300px;
    padding-left: 18px;
    box-sizing: border-box;
    margin: auto;  /* Magic! */
}*/

/* Left column layout */

.core-layout-left-column .core-layout-column.lc-column-one {
    float: left;
    width: 300px;
    box-sizing: border-box;
    padding-right: 18px;
}

.core-layout-left-column .core-layout-column.lc-column-two {
    margin-left: 300px;
}

/* Menus */

.core-sidebar-content ul.menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.core-sidebar-content ul.menu > li {
    margin: 0;
    padding: 0;
}

.core-sidebar-content ul.menu > li > a {
    display: block;
    padding: 8px 18px;
}

@media screen and (max-width: 989px) {

    .core-sublayout-inner,
    .core-sublayout-wrapper {
        display:block;
    }

    .core-layout-right-column .core-layout-column.lc-column-one,
    .core-layout-left-column .core-layout-column.lc-column-one {
        float: none;
        width: auto;
        box-sizing: border-box;
        padding-right: 0;
        padding-left: 0;
        display: block;
    }

    .core-layout-right-column .core-layout-column.lc-column-two,
    .core-layout-left-column .core-layout-column.lc-column-two {
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
        width: auto;
        display: block;
    }
    
}

/* -- Core Extension Publications ----------------------------------------------- */

.extension-publication-item {
    padding: 12px 8px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    /* For print styling */
    page-break-before: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
    page-break-after: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
    page-break-inside: avoid; /* or 'auto' */
}
.extension-publication-item:after {
    content: "";
    clear: both;
    display: block;
}

.extension-publication-item > a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    font-size: 0;
    display: block;
    z-index: 1;
}
.extension-publication-item > a:hover {
    background-color: rgba(0,0,0,0.1);
}

.extension-publication-item .extension-pubication-image {
    width: 75px;
    height: 75px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    float: left;
    background-color: #ccc;
}

.extension-publication-item .extension-publication-content-wrapper {
    margin-left: 90px;
}

.extension-publication-item .extension-publication-title {
    color: #981e32;
    font-weight: bold;
}

.extension-publication-item .extension-publication-summary {
    font-size: 13px;
    line-height: 16px;
}

/* -- Core Print View ----------------------------------------------- */

a.core-show-print {
    display: block;
    font-size: 14px;
}
#core-print-view a.core-show-print {
    display: none;
}

#core-print-view {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid #fff;
}

* {
    -webkit-print-color-adjust: exact !important;   /* Chrome, Safari */
    color-adjust: exact !important;                 /*Firefox*/
}

/* -- Core Publications ----------------------------------------------- */
.core-publication-item {
    padding: 8px;
    box-sizing: border-box;
}

.core-publication-item .core-publication-link a:hover {
    background-color: rgba(0,0,0,0.1);
}

.core-publication-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #981e32;
}


/* -- Core Advanced Archive ----------------------------------------------- */
.core-advanced-archive-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 18px 0;
}
.core-advanced-archive-filter {
    flex-basis: 175px;
}
.core-advanced-archive-filter label {
    display: block;
}
.core-advanced-archive-filter select {
    width: 90%;
}

/* -- Core Breadcrumbs ----------------------------------------------- */
ul.breadcrumbs {
    padding:18px 0 0!important;
		font-size: .7em;
		line-height:.5em;
}
.breadcrumbs li{
	display:inline;
	padding:0px 3px 0 0;
}
.breadcrumbs a:after {
	font-family: FontAwesome;
	content: ' \f101';
		/* f0da, f105, f138 f101 */
}
.breadcrumbs li:last-child a {
	color:#464e54;
}
.breadcrumbs li:last-child a:after {
	content: none;
}
.breadcrumbs a {
	text-decoration:none;
}
.breadcrumbs a:hover {
	text-decoration:underline;
}
.breadcrumbs a:hover:after {
	color:  #891e32;
}

/* ============================ Module: Grants ============================ */

.core-grant-content .grant-meta {
    border-bottom: 1px solid #ddd;
}

.core-grant-content .grant-annual-entry {
    margin: 16px 0;
}

.core-grant-content .grant-label {
    font-weight: bold;
}

.core-grant-list-display-item {
    position: relative;
    border-bottom: 1px solid #ddd;
    padding: 8px;
}

.core-grant-list-display-item h3,
.core-grant-list-display-item h2 {
    font-size: 16px;
}

.core-grant-list-display-item ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.core-grant-list-display-item ul span {
    font-weight: bold;
}

.core-grant-list-display-item .has-project-id .project-id {
    width: 60px;
    float: left;
    text-align: center;
    background-color: #eee;
    padding: 18px 0;
    font-weight: bold;
}

.core-grant-list-display-item .has-project-id:after {
    content: "";
    display: block;
    clear: both;
}

.core-grant-list-display-item .has-project-id .project-pi,
.core-grant-list-display-item .has-project-id .grant-title {
    padding-left: 12px;
    margin-left: 60px;
    display: block;
    box-sizing: border-box;
}

.core-grant-list-display-item .project-pi {
    font-size: 14px;
}

.core-grant-list-display-item .grant-link a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 0;
}

.core-grant-list-display-item .grant-link a:hover {
    background-color: rgba(0,0,0,0.1);
}

/* ============================ Module: MailChimp ============================ */
.mc_embed_signup fieldset {
    background-color: #eee;
    border-radius: 3px;
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
}

.mc_embed_signup .mc-field-group {
    padding-bottom: 10px;
}

.mc_embed_signup label {
    display: block;
}

.mc_embed_signup input {
    width: 100%;
    height: 35px;
    line-height: 35px;
}

.mc_embed_signup input[type="submit"] {
    background-color: #981e32;
    color: #fff;
    text-transform: uppercase;
    border-radius: 0;
    border: none;
    outline: none;
    height: 40px;
}
.mc_embed_signup input[type="submit"]:hover {
    background-color: #23282b;
    color: #fff;
}