/*typeahead*/

.twitter-typeahead {
	width: 100%;
}

.tt-menu{
    width: 100%;
}


.menu_tetiere .tt-menu > .dropdown-menu {
    border-radius: 0;
    display: block;
    width: 100%;
}

.tt-dataset-suggest {
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    float: left;
    font-size: 14px;
    left: 0;
    list-style: outside none none;
    margin: 2px 0 0;
    min-width: 200px;
    padding: 5px 0;
    position: absolute;
    text-align: left;
    top: 100%; 
    width:100%;	
    z-index: 100;
}

.tt-dataset-suggest > li > a {
    clear: both;
    color: #333;
    font-weight: 400;
    font-size: 0.93em;
    line-height: 1.42857;
    white-space: nowrap;
    text-decoration:none;	
    padding: 3px 20px;
    position: relative;
    display: block;
    z-index: 100;
}
.tt-dataset-suggest > li > a:hover
{
    color: #FFF;
    background-color: #000;

}

group1,
group2{
    display:none;	
	padding-left: 25px;
}

group1.first,
group2.first{
    text-shadow: none;
    background-color: #eee;
    color: #333;
    font-size: 14px;
    font-variant: small-caps;
    font-weight: bold;
    display:block;	
}


.basicsearch:focus {
	outline: 4px dotted white;
}

.basicsearch :focus:not(:focus-visible) {
	outline-style: none;
}

.basicsearch :focus-visible {
	outline: 4px dotted white;
}

.region-header.searchopened :focus {
	outline: 4px dotted white;
}

.region-header.searchopened :focus:not(:focus-visible) {
	outline-style: none;
}

.region-header.searchopened :focus-visible {
	outline: 4px dotted white;
}

/**/


.boutonrechercheheader {
	display: block;
	position: absolute;
	right: 192px;
	top: 26px;
	width: 32px;
	height: 32px;
	background-color: transparent;
	border: none;
	padding: 0;
}

.boutonrechercheheader[aria-hidden="true"] {
	display: none;
}

.boutonrechercheheader img {
	width: 32px;
	height: 32px;
	display: block;
	float: right;
}

.boutonrechercheheader[aria-expanded="true"] .open {
	display: none;
}

.boutonrechercheheader[aria-expanded="true"] .close {
	display: block;
}

.boutonrechercheheader[aria-expanded="false"] .open {
	display: block;
}

.boutonrechercheheader[aria-expanded="false"] .close {
	display: none;
}


.rechercheheader {
	display: block;
	float: right;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 90px;
	color: white;
	background-color: black;
	height: auto;
	right: 0;
	text-align: center;
	padding-bottom: 90px;
	padding-top: 30px;
	padding-left: 150px;
	padding-right: 150px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.rechercheheader[aria-hidden="true"] {
	display: none;
}

.rechercheheader .tabs {
	display: block;
	float: left;
	width: 100%;
	margin-top: 50px;
}


.rechercheheader .tabs ul {
	display: block;
	float: left;
	width: 100%;
	list-style: none;
	padding: 0;
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 40px;
	height: 40px;
	border-bottom: 2px solid white;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.rechercheheader .tabs ul li {
	display: block;
	float: left;
	width: 33.33%;
	height: 40px;
}

.rechercheheader .tabs ul li button {
	display: block;
	float: left;
	width: 100%;
	border: none;
	background-color: transparent;
	color: white;
	height: 40px;
}

.rechercheheader .tabs ul li button[aria-selected="true"] {
	display: block;
	float: left;
	width: 100%;
	border: none;
	background-color: white;
	color: black;
}


.rechercheheader .tabs__panel {
	display: none;
	width: 100%;
	float: left;
}

.rechercheheader .tabs__panel.selected {
	display: block;
}

.rechercheheader input {
	border: none;
	display: block;
	float: left;
	width: 100%;
	height: 50px;
	border-radius: 30px;
	padding-left: 25px;
}
.rechercheheader .search {
	position: relative;
}

.rechercheheader button.clear_input {
	background: black none repeat scroll 0 0;
	border: medium none;
	color: white;
	cursor: pointer;
	font-size: 1.2em;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 60px;
	top: 12px;
	transform: rotate(-45deg);
	z-index: 91;
	border-radius: 32px;
	width: 24px;
	height: 24px;
}

.rechercheheader button.clear_input::before {
	content: "+";
	color: white;
}

.rechercheheader button.search-btn {
	display: block;
	float: left;
	height: 44px;
	width: 50px;
	background-image: url("./images/loupe.png");
	background-repeat: no-repeat;
	background-size: auto;
	background-position: 10px;
	border: none;
	background-color: white;
	position: absolute;
	top: 3px;
	right: 4px;
	padding: 0;
	margin: 0;
	border-radius: 30px;
	filter: invert();
}

#block-rechercheheader .boutonrechercheheader .loupe.open {
	background-image: url(./images/loupe.png);
	background-position: 0 center;
	background-repeat: no-repeat;
	cursor: pointer;
	float: left;
	height: 32px;
	width: 32px;
}

#block-rechercheheader .boutonrechercheheader .loupe.close {
	background-image: url(./images/close_loupe.png);
	background-position: 0 center;
	background-repeat: no-repeat;
	cursor: pointer;
	float: left;
	height: 32px;
	width: 32px;
}

input.hidden {
	display: none;
}

/****************/
.basicsearch {
    display: block;
    float: left;
    width: 100%;
    max-width: 976px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.block-basicsearchblock-block {
	display: block;
	float: left;
	height: 70px;
	width: 100%;
	position: absolute;
	top:330px;
	z-index: 90;

}

.block-basicsearchblock-block form {
	display: block;
	float: left;
	width: 100%;
	max-width: 976px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 30px;
	z-index: 95;
}

.block-basicsearchblock-block form input.search-input {
	display: block;
	float: left;
	width: 100%;
	height: 66px;
	border: 1px solid black;
	background-color: #fff;
	color: black;
	border-radius: 33px;
	padding-left: 25px;
	color: black;
	font-family: Roboto;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
}

.block-basicsearchblock-block form button.search-btn {
	background-image: url(./images/loupe.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 32px 32px;
	cursor: pointer;
	float: left;
	height: 54px;
	width: 71px;
	background-color: #fff;
	filter: invert();
	position: absolute;
	right: 6px;
	top: 6px;
	border-radius: 25px;
	border: none;
}

.block-basicsearchblock-block form input::placeholder {
	color: black;
	font-family: Roboto;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	opacity: 1;
}

.block-basicsearchblock-block button.clear_input {
	background-color: black ;
	border: medium none;
	color: white;
	cursor: pointer;
	font-size: 2.5em;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 90px;
	top: 17px;
	transform: rotate(-45deg);
	z-index: 95;
	border-radius: 32px;
	width: 32px;
	height: 32px;
	background-position: center;
}


.block-basicsearchblock-block button.clear_input::before {
	content: "+";
	color: white;
	width: 32px;
	height: 32px;
	font-size: 2.5rem;
	position: absolute;
	line-height: 2.5rem;
	left: 1px;
	top: -5px;
}


.lienrechavc
{
	display: block;
	float: left;
	width: 100%;
	max-width: 976px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 30px;
}

.lienrechavc a:link,
.lienrechavc a:visited
{
	color: #000;
    font-family: "var-fraunces";
	font-variation-settings: 'opsz' 144 , 'WONK' 1,'SOFT' 0;

	font-size: 1.5rem;
	font-style: normal;
	font-weight: 900;
	text-decoration: none;
	display: block;
	float: right;
}

/*****************/
.region-header.searchopened {
	background-color: #000000;
	color: #ffffff;
}

.region-header.searchopened .block-logogallicablock-block,
.region-header.searchopened #block-gallica-selection-lienlogoblock-gallica img {
	filter: invert();
}


.region-header.searchopened #block-gallica-selection-lienlogoblock-bnf img {
	filter: invert();
}

.searchopened .logopersonalspace {
	filter: invert();
}

.searchopened #block-contrastheader .boutoncontrast {
	filter: invert();
}

.searchopened #block-rechercheheader .boutonrechercheheader .open,
.searchopened #block-rechercheheader .boutonrechercheheader .close {
	filter: invert();
}

.searchopened .boutonmenuheader .barre1,
.searchopened .boutonmenuheader .barre2,
.searchopened .boutonmenuheader .barre3 {
	background-color: #fff;
}



@media (max-width: 840px) {
	.rechercheheader {
		padding-left: 65px;
		padding-right: 65px;

	}
}

@media (max-width: 700px) {
	.rechercheheader {
		padding-left: 20px;
		padding-right: 20px;

	}
}

@media (max-width: 610px) {

	.boutonrechercheheader {
		width: 22px;
		height: 22px;
		right: 142px;
		top: 33px;
	}

	#block-rechercheheader .boutonrechercheheader .loupe.open,
	#block-rechercheheader .boutonrechercheheader .loupe.close {
		background-size: 22px 22px;
		height: 22px;
		width: 22px;
	}

}

@media (max-width: 380px) {

	.boutonrechercheheader {
		right: 75px;
		top: 33px;
	}
}

@media (max-width: 340px) {

	.rechercheheader .tabs ul li button {
		font-size: 0.75rem;

	}

}