/* ===== START ICRC ===== */
@import url('https://fonts.googleapis.com/css?family=Poppins');
:root{
    --main-font: .9rem "Poppins", Verdana, Helvetica, sans-serif;
	--main-bg-color: #f0eeef;
	--main-color: #c34626;
	--main-edit-color: #333333;
    --secondary-color: #605446;
}

body.private{
	--secondary-color: #1f1e1c;
}

a:hover{
	text-decoration: none;
}

a.rootLnk {
	display: inline-block;
	margin-left: 6rem;
}

header a.homeBtn {
	position: absolute;
	top: 0;
	background: var(--secondary-color) url("img/ICRC_neg.gif") no-repeat 1em center / 60px auto;
	width: 100px;
	height: 100px;
}

.page_scrolled_yes header a.homeBtn {
	height: 48px;
    width: 48px;
    background-size: 30px;
}

header a.homeBtn > span {
	display: none;
}

.disconnect:before {
	content: "Logged in";
    color: #fff;
    padding: 0.2em 0;
}

.disconnect div#userAccount {
	display: none;
}

li.searchResult_li{
	padding:0;
}

li.searchResult_li:hover{
	box-shadow: 0 0 5px #ccc;
}

.searchResult_li > a{
	padding:0.5em 2em 1em 0.5em;
	display: flex;
    flex-direction: column;
	height:100%;
}

.searchResult_li > a:hover{
	text-decoration: none;
}

.list li.searchResult_li {
    background-color: #fff;
    border-radius: 0.3em;
    border: none;
}

li.searchResult_li .title{
	display: flex;
	align-items: center;
	margin-bottom:.5em;
}

li.searchResult_li .title::before{
	content:"";
	flex: 0 0 35px;
	height: 35px;
	margin-right:.5em;
}

li.searchResult_li.web .title::before {
    background: url("img/illu-web.svg") no-repeat left center / 35px auto;
}
li.searchResult_li.print .title::before {
    background: url("img/illu-print.svg") no-repeat left center / 35px auto;
}

.block li.searchResult_li .title{
	order:1;
	flex: 2 1 auto;
}
li.searchResult_li .content{
	order:2;
}
li.searchResult_li .infos {
    order: 3;
}

li.searchResult_li .lang {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	background-color: #f0efef;
	border-radius: .3em;
	padding: .2em .5em;
	font-size: .8em;
	color:#64523b;
}
.private li.searchResult_li .lang{
	color:#646057;
}
.list li.searchResult_li .lang{
	bottom:auto;
	top:1rem;
}
li.searchResult_li .lang::after{
	content: none !important;
}

.infos .label, .infos .contentInfos {
    font-weight: normal;
    font-size: .9em;
	color: #64523b;
}
.private li.searchResult_li .content>*{
	color:#646057;
}

.facet button.more, .facet button.less{
	text-align: left;
	padding-left: 1.3rem;
}

div.entries {
    border-top: 1px solid #cbcaca;
    margin: 0.5em;
    padding: 0.5em;
}

.entries .close_entries, .entries .open_entries{
    padding-left: 0;
}
.entries .close_entries::before{
	font-family: "search";
    content: "\E806";
	margin-right: 0.5em;
}
.entries .open_entries::before {
    font-family: "search";
    content: "\E800";
	margin-right: 0.5em;
}

ul.entries {
    list-style: none;
	padding:0;
}

ul.entries a.entry {
    border-left: 4px solid #81715a;
    display: block;
    padding: 0.2em 0.5em;
    margin: 0.5em 0;
	color: #81705A;
}

.private ul.entries a.entry {
	border-color:#5e5c54;
	color:#5e5c54;
}

ul.entries a.entry:hover{
	background-color:var(--main-bg-color, #f0eeef);
}

ul.entries a.entry .entry {
    font-weight: bold;
	color: var(--secondary-color, #171717);
}

.highlight{
	font-style: normal;
}

mark {
    color: inherit;
	background-color: #fdf4cb;
}

.facet label>span{
	display: inline;
}

.facet fieldset {
	border: none;
}

/* ===== STOP - ICRC ===== */

/* === LABELS ===================================================== */
.resultSheet .labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.resultSheet .labelsGrp {
	display: flex;
	align-items: center;
	margin-top: 1rem;
	flex-wrap: wrap;
}

.resultSheet .labels .label {
    background-color: var(--main-color);
    font-weight: bold;
    /*border: 1px solid var(--rootBG);*/
    border-radius: 20px;
    padding: 3px 0.5em 0.2em 0.8em;
    margin: 0 0.5em 0.5em 0;
    display: flex;
    color: var(--main-bg-color);
    align-items: center;
}

.resultSheet .labels .label button.remove::after {
	color: var(--main-bg-color);
}

.resultSheet .labels .label button.remove span {
	display: none;
}

.resultSheet .labels .label button.remove::after,
.resultSheet .labelsGrp > .reset button.reset::after {
    content: 'x';
	padding-left: 0.3em;
}

.resultSheet .labelsGrp > .reset button.reset {
    border: 1px solid var(--main-color);
    border-radius: 6px;
    padding: 0.2em 0.8em;
    margin: 0 0.5em 0.5em 0;
    color: var(--main-color);
}

li.searchResult_li .main > .viewGroup {
	border-bottom: 1px solid #f1f0f1;
	padding: .2em 0;
}

li.searchResult_li .main > .viewGroup > div {
	display: flex;
	align-items: center;
	color: #666;
}
li.searchResult_li .main > .viewGroup > div::before{
	flex:2 1 auto;
}

li.searchResult_li .main > .viewGroup .diapo::before {
	content: "Diaporama"
}

li.searchResult_li .main > .viewGroup .diapoNotes::before {
	content: "- avec notes formateurs";
	margin-left: .5em;
}

li.searchResult_li .main > .viewGroup .web::before {
	content: "Web"
}

li.searchResult_li .main > .viewGroup .webNotes::before {
	content: "- avec notes formateurs";
	margin-left: .5em;
}

li.searchResult_li .main > .viewGroup .print::before {
	content: "Papier"
}

li.searchResult_li .main > .viewGroup .printNotes::before {
	content: "- avec notes formateurs";
	margin-left: .5em;
}

li.searchResult_li .main > .viewGroup:last-child {
	border-bottom: none;
}

a.view::before{
	content:"\e805";
	font-family: "search";
}

a.view.zip::before {content: "\f1c6";}

a.view.pdf::before {content: "\f1c1";}

a.view span{
	display:none;
}

a.view:hover {
	text-decoration: none;
}

li.searchResult_li.apave .content > .org, input[value="apave"] + span{
	color:#32a948;
}

li.searchResult_li.easa .content > .org, input[value="easa"] + span{
	color:#d19412;
}

li.searchResult_li.osac .content > .org, input[value="osac"] + span{
	color:#4d7499;
}

.suggestBk li {
    list-style-type: none;
    position: relative;
}

@media (max-width: 900px) {
	header a.homeBtn {
		display: none;
	}
	.searchResult_ul {
		display: block !important;
	}

	.searchResult_ul li {
		width: auto !important;
	}
}
