/**
 * @file
 * Styling for Views in Bartik.
 */

/* Tab styles */
.views-displays .tabs .open > a {
  border-radius: 7px 7px 0 0;
}
.views-displays .tabs .open > a:hover,
.views-displays .tabs .open > a:focus {
  color: #0071b3;
}
.views-displays .secondary .form-submit {
  font-size: 0.846em;
}

/* Tabs action list styles */
.views-displays .tabs .action-list {
  padding: 0;
}

/* Contextual filter options styles */
.views-filterable-options .filterable-option:nth-of-type(even) .form-type-checkbox {
  background-color: #f9f9f9;
}

/* Views action dropbutton styles */
.views-ui-display-tab-actions .dropbutton .form-submit {
  color: #0071b3;
}
.views-ui-display-tab-actions .dropbutton .form-submit:hover,
.views-ui-display-tab-actions .dropbutton .form-submit:focus {
  color: #018fe2;
}

.views-element-container {
	margin-bottom: 2rem;
}

.fake-header { text-align: center; }

.view-display-id-page_profils_discipline td.views-field-field-disciplines, 
.view-display-id-page_profils_theme td.views-field-field-thematiques,
.view-display-id-page_profils_region td.views-field-field-ville,
.view-display-id-page_projets_discipline td.views-field-field-disciplines, 
.view-display-id-page_projets_theme td.views-field-field-sujets-recherche, {
    background: #ddd;
}
/* appels à comm + articles */
.views-field-field-modalites-fichier > a + span {
	display: block;
}

/*.view-evenements.view-display-id-block_home_pnrfv .item-list ul {
	display: flex;
	flex-wrap: wrap;
}*/
.view-evenements.view-display-id-block_home_pnrfv .item-list > ul > li {
	margin-bottom: 1rem;
	width: auto;
}

.view-annonces.view-display-id-block_1 .item-list > ul > li {
	margin-bottom: 1rem;
	width: 100%;
}
.view-annonces.view-display-id-block_1 .item-list > ul > li::after {
	content: '';
	border-bottom: 1px solid #eee;
	width: 60%;
	display: block;
}
@media screen and (min-width: 1116px) {
	.view-annonces.view-display-id-block_1 .item-list > ul {
		display: flex;
		flex-wrap: wrap;
	}
	.view-annonces.view-display-id-block_1 .item-list > ul > li {
		width: 50%;
	}
}
.view-annonces.view-display-id-block_1 .item-list > ul > li .field-name-field-rubrique,
.tc-evenement.views-row .ev-types,
.tc-annonce.views-row .field-name-field-rubrique {
	font-style: italic;
}
.view-annonces.view-display-id-block_1 .item-list > ul > li .field--name-node-post-date,
.tc-annonce.views-row .field--name-node-post-date {
	font-size: .8em;
}

td.view-theses .views-field-title,
td.view-theses .views-field-title a {
	font-weight: normal;
}/*
.view-theses .views-field-title a::after {
	content: '';
	background: url(/themes/custom/pnrfv2/images/link-out2.png) no-repeat;
	width: 12px;
	height: 12px;
	display: inline-block;
	margin-left: 3px;
	background-size: contain;
	cursor: pointer;
}*/
.view-theses .field-name-chercheur-profiles a {
	border-bottom: 1px dotted #666;
}
.view-theses .field-name-chercheur-profiles a:hover {
	border-bottom: 0;
}
.view-theses td.views-field-field-unite-de-recherche-service {
	font-weight: normal;
	font-size: inherit;
	color: inherit;
}

.view-theses .view-header,
.view.tab-page .view-header
 {
	background: #4F2962;
	color: #fff;
	font-size: 1.1rem;
	padding-top: 1rem;
}
.view-theses .view-header::after,
.view.tab-page .view-header::after {
	content: '';
	display: block;
	width: 50%;
	margin: auto;
	border-bottom: 1px dashed #fff5;
	padding: .5rem 1rem;
}
.view-theses .view-filters {
	background: #4F2962;
	color: #fff;
	padding: 1rem;
}
.view-theses .view-filters .views-ef-fieldset-root + div {
	display: none;
}

.view-display-id-block_projets_eu {
	font-size: 1rem;
}

/* search results */
.view-recherche-sapi .view-content {
	display: flex;
	flex-wrap: wrap;
}
.view-recherche-sapi .view-content > h3 {
	margin-bottom: 1rem;
	text-transform: uppercase;
	font-weight: 400 !important;
	width: 100%;
}
.view-recherche-sapi .views-row + h3 {
	margin-top: 2rem;
	border-top: 1px solid #eee;
	padding-top: 2rem;
}
.view-recherche-sapi .views-row {
	margin: 1rem auto;
	background: #fafafa;
	padding: 1rem;
}
@media all and (min-width: 768px) {
	.view-recherche-sapi .views-row { width: 48%; margin: 1rem 1%;}
}
.view-recherche-sapi .views-row .image-style-thumbnail {
	float: left;
	margin: 0 2vw 0 0;
}
.tc-article.views-row .node--view-mode-teaser > div {
	border: 0;
}