@font-face {
	font-family: 'tt_commonsdemibold';
	src: url(../fonts/ttcommons-demibold.eot);
	src: url(../fonts/ttcommons-demibold.eot?#iefix) format("embedded-opentype"), url(../fonts/ttcommons-demibold.woff2) format("woff2"), url(../fonts/ttcommons-demibold.woff) format("woff"), url(../fonts/ttcommons-demibold.ttf) format("truetype");
	font-weight: 400;
	font-style: normal
}

@font-face {
	font-family: 'tt_commons_italicitalic';
	src: url(../fonts/ttcommons-italic.eot);
	src: url(../fonts/ttcommons-italic.eot?#iefix) format("embedded-opentype"), url(../fonts/ttcommons-italic.woff2) format("woff2"), url(../fonts/ttcommons-italic.woff) format("woff"), url(../fonts/ttcommons-italic.ttf) format("truetype");
	font-weight: 400;
	font-style: normal
}

@font-face {
	font-family: 'tt_commonslight';
	src: url(../fonts/ttcommons-light.eot);
	src: url(../fonts/ttcommons-light.eot?#iefix) format("embedded-opentype"), url(../fonts/ttcommons-light.woff2) format("woff2"), url(../fonts/ttcommons-light.woff) format("woff"), url(../fonts/ttcommons-light.ttf) format("truetype");
	font-weight: 400;
	font-style: normal
}

@font-face {
	font-family: 'tt_commonsregular';
	src: url(../fonts/ttcommons-regular.eot);
	src: url(../fonts/ttcommons-regular.eot?#iefix) format("embedded-opentype"), url(../fonts/ttcommons-regular.woff2) format("woff2"), url(../fonts/ttcommons-regular.woff) format("woff"), url(../fonts/ttcommons-regular.ttf) format("truetype");
	font-weight: 400;
	font-style: normal
}
@font-face{font-family: "TTCommonsMedium"; src: url("/themes/subtheme/fonts/TTCommonsMedium.otf");}

/* FICHE BIBLIOGRAPHIE */
#fiche-biblio span{font-family: 'tt_commonsregular', arial, sans-serif;color:#000}
#fiche-biblio h1{font-family: 'tt_commonslight';color:#000}
@media(min-width: 576px) {
	#fiche-biblio span{font-size: 3rem;}
}
@media(max-width: 575px) {
	#fiche-biblio span{font-size: 2rem;}
	#fiche-biblio h1{font-size: 2rem;}
}
#liste-ouvrage ol li::marker{color: #D4774B;font-family: 'tt_commonsdemibold';}
#liste-ouvrage ol li strong{font-family: 'TTCommonsMedium'; font-weight: unset;}
#liste-ouvrage ol li {font-family: 'tt_commonslight';margin-bottom: 15px;}
#plan-classement a {text-decoration: none;color: #000;}

/* PHOTOTEQUE */
@media(min-width: 993px) {
	.img-phototeque{width: 540px;height: 303px;object-fit: cover;}
}
@media(max-width: 992px) {
	.img-phototeque{max-width: 100%;height: auto;}
}

/* FONDS */
.img-fond{height: 256px;width:195px;object-fit: cover;}
.img-galerie {width: 350px;height: 350px;object-fit: cover;}

/*TEXT*/
body {
	font-family: 'tt_commonsregular', arial, sans-serif;
	font-size: 1.2rem;
	line-height: 1.6rem;
	background: #fff;
	text-align: justify !important;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h1 span {
	font-family: 'tt_commonsdemibold', arial, sans-serif
}

h1.node-title,
h1.title {
	font-family: 'tt_commonsregular', arial, sans-serif;
	font-size: 3rem
}

h1,
h2,
h3,
span.article-date {
	text-align: left
}

.btn {
	font-size: 1rem;
	line-height: 1.5rem;
	text-transform: uppercase;
	border-radius: 0;
	padding: .6rem 2.2rem .3rem;
	letter-spacing: 3px
}

#page {
	padding-bottom: 2rem
}

.paragraph--type--texte-gauche-imge-droite, .paragraph--type--image-gauche-texte-droite {
	border-bottom: 1px solid;
	padding: 40px 0;
}

.paragraph--type--texte-gauche-imge-droite:last-child, .paragraph--type--image-gauche-texte-droite:last-child {
	border: 0;
}

.paragraph--type--texte-gauche-imge-droite .row, .paragraph--type--image-gauche-texte-droite .row{
	align-items: center;
}

/****
* VERTICAL SCROLL SMOOTH
****/
html {
	scroll-behavior: smooth
}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: smooth
	}
}

/*
* IMAGE
*/
.image-decoupe {
	width: 100%;
	height: 100%;
	object-fit: cover
}

#main-wrapper .w-100 .image-decoupe {
	max-height: 400px;
}

/***
* FORMS
****/
.form-select {
	margin-top: .25rem
}

.form-control {
	background-color: #f9f9f9;
	border-radius: 0 !important
}

fieldset label {
	display: none
}

#date-group label,
#user-login-form label {
	display: block
}

#user-login-form #edit-actions {
	padding-left: 15px
}

#date-group .f-hour .form-control {
	width: 125px
}

/***
* VERTICAL ALIGN
***/
.vh-center {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center
}

/***
* NAVIGATION
*/
.navbar {
	width: 102% !important;
}

.main .nav-item a,
.main .dropdown-menu a {
	text-transform: uppercase;
	color: #a2a3a4;
	letter-spacing: .12rem;
	font-size: 1rem;
	line-height: 1.5rem
}

.main .nav-item a:hover,
.main .dropdown-menu a:hover {
	color: #d4774b
}

.dropdown-item.active,
.dropdown-item:active {
	text-decoration: none;
	background-color: #d4774b
}

.dropdown-item.active a,
.dropdown-item:active a {
	color: #000;
}

.dropdown-item {
	white-space: inherit
}

@media(min-width:992px) {
	.dropdown-item {
		white-space: nowrap
	}
}

.footer .nav-item a {
	font-family: 'tt_commonslight', arial;
	color: #fff;
	font-size: 1.2rem;
	line-height: 1.6rem
}

.footer .nav-link {
	padding: 0
}

@media(max-width:991px) {
	.logo {
		max-width: 300px
	}
}

@media(min-width:992px) {
	.navbar-expand-lg .navbar-nav .nav-link {
		padding-right: 1rem;
		padding-left: 1rem;
		text-align: center;
	}

	.navbar-expand-lg .navbar-nav {
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
	  }

	 
}

.dropdown-toggle::after {
	display: none
}

/**
* PAGINATION
**/
.page-item,
.pager__item--next,
.pager__item--prev {
	padding: 0 7px
}

.page-link {
	width: 42px;
	height: 42px;
	text-align: center;
	line-height: 28px
}

.page-link,
.page-link:hover {
	color: #000 !important;
	border: 1px solid #000
}

.page-item.active .page-link {
	color: #fff !important;
	background-color: #000 !important;
	border-color: #000 !important
}

.page-item:first-child .page-link {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0
}

.page-item:last-child .page-link {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0
}

/****
* CONTENT
****/
.mb-10 {
	margin-bottom: 4rem !important;
}

.node--type-page-homepage .head-image {
	min-height: 400px;
	background-size: cover;
	background-position: center;
}

@media(min-width:1000px) {
	.node--type-page-homepage .head-image {
		min-height: 300px;
	}
}

.subhead {
	text-transform: uppercase;
	display: block;
	margin-left: 80px
}

.subhead:before {
	content: '';
	width: 75px;
	border-bottom: solid 1px #000;
	position: absolute;
	left: 0;
	top: .5rem;
	z-index: 1;
	margin-left: 15px
}

@media(max-width: 991px) {
	.subhead:before {
		margin-top: 1rem
	}
}

#leaflet-map-view-carte-block-1 {
	min-width: 300px;
	min-height: 400px;
	margin: 0 auto
}

@media(min-width: 576px) {
	#leaflet-map-view-carte-block-1 {
		min-width: 500px;
		min-height: 500px
	}
}

.inner-article-teaser h3 {
	font-size: 1rem;
	font-family: 'tt_commonsregular', arial
}

.inner-article-teaser h3 a {
	color: #000
}

.inner-article-teaser h3 a:hover,
.inner-page-teaser h3 a:hover {
	text-decoration: none
}

.article-date,
.inner-page-teaser h3 a {
	text-transform: uppercase;
	color: #8c8c8c
}

.inner-page-teaser h3 {
	font-size: 1rem
}

.inner-page-teaser {
	line-height: 1.2rem
}

.article-teaser .article-teaser-title {
	height: 56px
}

.article-teaser-body {
	height: 150px
}

.article-teaser h2,
.article-teaser h2 span {
	color: #000;
	background-color: transparent !important;
	font-size: 1.2rem;
	margin-top: 30px;
}

.article-teaser .bg-gris {
	width: 195px
}

@media(min-width: 768px) {
	.inner-article-teaser {
		max-height: 205px
	}

	.mw-md-75 {
		max-width: 75% !important
	}

	.my-md-5 {
		margin-top: 3rem !important;
		margin-bottom: 3rem !important
	}

	.my-md-0 {
		margin-top: 0 !important;
		margin-bottom: 0 !important
	}
}

#atelier-teaser h2 {
	font-family: 'tt_commonsdemibold';
	text-align: center
}

#atelier-teaser h2 span,
.node-teaser h2 span {
	background-color: transparent;
	color: #000;
	padding: 0;
	margin: 0
}

.file-group h2 {
	font-family: "tt_commonsdemibold";
	font-size: 1.5rem
}

.file-group ul {
	list-style-type: none
}

@media(max-width:575px) {
	.file-group ul {
		padding-left: 0
	}
}

.file-group li {
	padding: .5rem 0
}

.file-group a {
	text-align: left !important
}

.file-group a,
.file-group a:hover {
	color: #000
}

span.dark {
	display: inline-block;
	width: 42px;
	height: 42px;
	background-color: #000;
	color: #fff;
	text-align: center;
	line-height: 42px;
	margin-right: 20px
}

@media(max-width: 575px) {
	span.dark {
		margin-right: 0
	}
}

.activite {
	background-size: cover;
	background-position-y: center
}

.activite-177 {
	background-position-y: 20%
}

.activite .bg-white {
	background: rgba(255, 255, 255, 0.65) !important;
	padding: 1.5rem 1.5rem 4rem;
	height: 100%
}

.activite .btn {
	position: absolute;
	bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	width: 165px
}

/***
* Gallerie
***/
.media-name {
	font-family: 'tt_commonsdemibold', arial
}

.image-style-large {
	max-width: 100%;
	height: auto
}

/* The Overlay (background) */
.overlay {
	height: 100%;
	width: 100%;
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.9);
	overflow-x: hidden;
	transition: .5s
}

.overlay-book {
	height: 100%;
	width: 100%;
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.9);
	overflow-x: hidden;
	transition: .5s
}

/* Position the content inside the overlay */
.overlay-content {
	position: relative;
	top: 25%;
	width: 100%;
	text-align: center;
	margin-top: 30px
}

/* The navigation links inside the overlay */
.overlay a {
	padding: 8px;
	text-decoration: none;
	font-size: 36px;
	color: #818181;
	display: block;
	transition: .3s
}

.overlay a:hover,
.overlay a:focus {
	color: #f1f1f1
}

.overlay .closebtn,
.overlay-book .closebtn {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
	cursor: pointer
}

.overlay-book .closebtn {
	background: transparent;
	color: #fff;
	border: none
}

@media screen and (max-height: 450px) {
	.overlay a {
		font-size: 20px
	}

	.overlay .closebtn {
		font-size: 40px;
		top: 15px;
		right: 35px
	}
}

/***
FOOTER
***/
.block-contact {
	color: #fff;
	font-family: 'tt_commonslight', arial
}

.site-footer__top p {
	margin-top: 0
}

/****
LIBRAIRE
**/
.teaser-product h2 {
	font-size: 1.5rem;
	width: 100%
}

.teaser-product h2 span {
	background-color: transparent !important;
	color: #000
}

.teaser-product h2 a {
	line-height: 1.5rem
}

.teaser-product div[itemprop="offers"] {
	height: 35px
}

.teaser-product-name {
	height: 95px;
	width: 100%
}

.teaser-product-body {
	height: 55px
}

.text-formatted {
	max-width: 100%;
	overflow: hidden;
}

.modal-backdrop {
	z-index: 0 !important
}

/****
ACTUALITES
****/
@media(max-width:419px) {
	#edit-actions {
		max-width: 98%
	}

	#edit-submit-libraire {
		margin-bottom: 1rem
	}
}

#views-exposed-form-libraire-page-1 fieldset:first-of-type {
	width: 90%
}

#views-exposed-form-libraire-page-1 fieldset:nth-of-type(2) {
	width: 90%
}

@media(min-width:576px) {
	#views-exposed-form-libraire-page-1 fieldset:first-of-type {
		width: 20%
	}

	#views-exposed-form-libraire-page-1 fieldset:nth-of-type(2) {
		width: 20%
	}
}

#views-exposed-form-actualites-block-1 fieldset:first-of-type {
	width: 90%
}

#views-exposed-form-actualites-block-1 fieldset:nth-of-type(2) {
	width: 90%
}

@media(min-width:576px) {
	#views-exposed-form-actualites-block-1 fieldset:first-of-type {
		width: 40%
	}

	#views-exposed-form-actualites-block-1 fieldset:nth-of-type(2) {
		width: 40%
	}
}

.card_img img {
	max-width: 100%;
	height: auto
}

.coordinate__item {
	margin: 0 20px
}

#leaflet-map-view-localisation-contact-map {
	width: 100%;
	margin-bottom: 20px
}

.node--type-page-legalnotices h2 {
	margin-top: 2rem
}

.node--type-page #block-subtheme-page-title {
	display: none
}

.vh-center h2 {
	text-align: center !important
}

.view-publicite-des-actes-administratifs .form-type-select {
	display: flex;
	flex-direction: column;
}

.view-publicite-des-actes-administratifs .form-type-select select,
.view-gallerie-photos .form-type-select select{
	border-radius: 0;
	min-height: 40px;
	background: #f9f9f9;
	background-clip: border-box;
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #495057;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#views-exposed-form-publicite-des-actes-administratifs-page-1 .flex-wrap {
	align-items: end;
	justify-content: space-around;
}

#edit-field-date-value-wrapper {
	margin-bottom: 0 !important;
}

#edit-field-date-value-wrapper legend{
	font-size: 1.2rem !important;
}

@media(min-width: 992px) {
	.w-md-50 {
		width: 50% !important
	}
}

@media(max-width: 992px) {
	#main>.row {
		margin-right: 0;
		margin-left: 0
	}
}

@media (min-width:768px) {
	.mb-md-3 {
		margin-bottom: .75rem !important
	}

	.mb-md-0 {
		margin-bottom: 0 !important
	}

	.mt-md-0 {
		margin-top: 0 !important
	}

	.mb-md-5 {
		margin-bottom: 3rem !important
	}

	.pt-md-5 {
		padding-top: 3rem !important
	}

	.p-md-5 {
		padding: 3rem !important
	}
}

@media(max-width: 400px) {
	.btn {
		white-space: inherit
	}
}

.cursor__pointer {
	cursor: pointer
}

div#sliding-popup {
	background-color: #d4774b
}

.eu-cookie-compliance-message h2,
.eu-cookie-compliance-message h3,
.eu-cookie-compliance-message p {
	color: #fff;
	line-height: 1.4;
	margin: 0 0 5px;
	font-family: arial !important
}

@media(max-width: 767px) {
	.eu-cookie-compliance-message h2 {
		font-weight: 400;
		line-height: 1rem
	}
}

/* PLAN CLASSEMENT */
.bg-beige {
	background-color: #F9F9F9;
}

#plan-classement ul {
	list-style-type: none;
}

.docs li::before {
	display: inline-block;
	content: "";
	border-top: .1rem solid black;
	width: 5rem;
	margin: 0 0.5rem 0 0;
	transform: translateY(-0.25rem);
}

.docs li a {
	text-decoration: none;
	color: black;
}

.page-taxonomy-term-41 .node-teaser {
	display: flex;
	align-items: center;
}

/* BOOSTRAP MULTI LEVEL */
/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	.dropdown-menu li {
		position: relative;
	}

	.nav-item .submenu {
		display: none;
		position: absolute;
		left: 100%;
		top: -7px;
	}

	.nav-item:last-child .submenu {
		right: 100%;
		left: auto;
	  }

	.nav-item .submenu-left {
		right: 100%;
		left: auto;
	}

	.dropdown-menu>li:hover {
		background-color: #f1f1f1
	}

	.dropdown-menu>li:hover>.submenu {
		display: block;
	}
}

/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
	.dropdown-menu .dropdown-menu {
		margin-left: 0.7rem;
		margin-right: 0.7rem;
		margin-bottom: .5rem;
	}
}

/* ============ small devices .end// ============ */

.view-gallerie-photos .widget_pager_bottom {
	display: flex;
	flex-wrap: wrap;
	cursor: pointer;
	margin-top: 20px;
	justify-content: center;
}

.view-gallerie-photos .widget_pager_bottom .views_slideshow_pager_field_item{
	margin: 2px;
}

.view-gallerie-photos .views_slideshow_cycle_main {
	display: flex;
	justify-content: center;
}

.view-gallerie-photos .views-slideshow-controls-top {
	position: relative;
	top: 30%;
	transform: translateY(-50%);
	z-index: 2;
}

.view-gallerie-photos .views-slideshow-controls-top .views_slideshow_controls_text_previous {
	left: 0;
	position: absolute;
}

.view-gallerie-photos .views-slideshow-controls-top .views_slideshow_controls_text_previous a,
.view-gallerie-photos .views-slideshow-controls-top .views_slideshow_controls_text_next a{
	font-size: 0;
}

.view-gallerie-photos .views-slideshow-controls-top .views_slideshow_controls_text_next {
	right: 0;
	position: absolute;
}

.view-gallerie-photos .views-slideshow-controls-top .views_slideshow_controls_text_pause {
	display: none;
}

.view-gallerie-photos .views-slideshow-controls-top .views_slideshow_controls_text_previous::before {
	content: '\2039';
	color: #d4774b;
	font-size: 5em;
}

.view-gallerie-photos .views-slideshow-controls-top .views_slideshow_controls_text_next::before { 
	content: '\203A';;
	color: #d4774b;
	font-size: 5em;
}
