/*Fonts*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700|Open+Sans:400,400i,700');

/*

    font-family: 'Montserrat', sans-serif;

    font-family: 'Open Sans', sans-serif;

*/


/*Layout*/

#header .layout-container {
  width: 1290px;
}

.layout-container {
  max-width: 860px;
  padding: 0 0.5em;
  box-sizing: border-box;
}

@media (min-width: 851px) {
  .layout-container {
    max-width: 1290px;
  }
}


/*Generic*/

body {
  overflow-x: hidden;
}

body,
#header,
.site-footer {
  font-family: 'Open Sans', sans-serif;
  color: #333333;
}

#header {
  background: white;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  width: auto;
}

.block ul,
.block ol {
  padding: 0;
}

.content {
  margin-top: 0;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
}

a {
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  border: 0;
}

.col-md-25 {
  float: left;
  width: 25%;
  box-sizing: border-box;
}

.col-md-30 {
  float: left;
  width: 30%;
  box-sizing: border-box;
}

.col-md-40 {
  float: left;
  width: 40%;
  box-sizing: border-box;
}

.col-md-50 {
  float: left;
  width: 50%;
  box-sizing: border-box;
}

.col-md-60 {
  float: left;
  width: 60%;
  box-sizing: border-box;
}

.col-md-70 {
  float: left;
  width: 70%;
  box-sizing: border-box;
}

.col-md-100 {
  float: left;
  width: 100%;
  box-sizing: border-box;
}

.block .content {
  margin-top: 0;
}

.layout-main {
  margin-top: 10px;
}

.main-content .section {
  padding: 0;
}

.node .field--type-image {
  margin: 0;
}

#edit-actions input,
.button {
  width: auto;
  padding: 0.5em 4em;
  color: #bbbbbb;
  background: none;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  border: 1px solid #bbbbbb;
  border-radius: 0;
  margin: 0.5em 0;
}

#edit-actions input:hover,
.button:hover {
  background: #205b9f;
  border-color: #205b9f;
  color: white;
}

h1.page-title,
.main-content .block h2,
.featured-bottom h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #b68e4d;
  font-size: 2em;
}

.node__content {
  margin-top: 0;
  font-size: 1em;
}

.page-node-type-page-interne .main-content .block h2,
.page-node-type-webform .main-content .block h2 {
  color: #205b9f;
  font-size: 1.3em;
}

.page-node-type-page-interne #main-wrapper {
  margin-bottom: 3em;
}

.role-webmaster .toolbar-icon-system-admin-config {
  display: none !important;
}

#page-wrapper {
  overflow-x: hidden;
}


/*Header*/

#block-backgroundheader {
  display: inline-block;
  width: 100%;
}

#block-backgroundheader img {
  width: 100%;
  max-width: 3500px;
  margin: 0 auto;
}

.region-header {
  padding: 0;
}

.region-header .block:not(.site-branding) {
  margin: 0;
}

#header {
  position: relative;
}

#header .layout-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -645px;
}

.site-branding__logo {
  width: 22em;
  margin-bottom: 2.2em;
}


/*Breadcrumb*/

.region-breadcrumb {
  padding: 0 0 0.5em 0;
  border-bottom: 1px solid #999999;
}

.breadcrumb,
.breadcrumb a {
  color: #bbbbbb;
}

.breadcrumb a:hover {
  color: #b68e4d;
}

.breadcrumb ol li:last-child {
  color: #b68e4d;
}

.breadcrumb li:before {
  content: "›";
}


/*Menu*/

.men-tt {
  display: none;
}

.region-primary-menu {
  background: #205b9f;
  position: relative;
  display: inline-block;
}

.region-primary-menu:after {
  width: 3000px;
  height: 100%;
  content: "";
  position: absolute;
  right: -2999px;
  top: 0;
  background: #205b9f;
}

.region-primary-menu .menu a,
.region-primary-menu .menu span {
  cursor: pointer;
  display: inline-block;
  text-shadow: none;
  text-transform: uppercase;
  color: white;
  font-size: 1em;
  background: none;
  font-weight: 600;
  border-radius: 0;
  padding: 1em 1.2em;
  font-family: 'Montserrat', sans-serif;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.region-primary-menu ul.menu li:first-child a.sf-depth-1 {
  width: 1.5em;
  height: 1em;
  background: url(../images/main-sprite.svg) no-repeat 13px 6px;
  background-size: 250px;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

.region-primary-menu ul.menu li:last-child a.sf-depth-1:after {
  display: none;
}

.region-primary-menu ul.menu li:first-child a.is-active.sf-depth-1:hover {
  background: url(../images/main-sprite.svg) no-repeat 13px 6px;
  background-size: 250px;
}

.region-primary-menu .menu .sf-depth-1>a:before,
.region-primary-menu .menu .sf-depth-1>span:before {
  content: "";
  width: 75%;
  height: 1px;
  box-sizing: border-box;
  position: absolute;
  bottom: 0.5em;
  left: -100%;
  background: #ba9b32;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.region-primary-menu .menu .sf-depth-1>a:after,
.region-primary-menu .menu .sf-depth-1>span:after {
  content: "";
  width: 2px;
  height: 30%;
  position: absolute;
  top: 35%;
  right: 0;
  background: #ba9b32;
}

.region-primary-menu ul.menu li:first-child a.is-active:before,
.region-primary-menu ul.menu li:first-child span.is-active:before {
  left: -100%;
}

.region-primary-menu .menu .sf-depth-1>a:hover:before,
ul.menu .sf-depth-1>a.is-active:before,
.region-primary-menu ul.menu li:first-child a.is-active:hover:before,
.region-primary-menu .menu .sf-depth-1.sfHover>a:before,
.region-primary-menu .menu .sf-depth-1>span:hover:before,
ul.menu .sf-depth-1>span.is-active:before,
.region-primary-menu ul.menu li:first-child span.is-active:hover:before,
.region-primary-menu .menu .sf-depth-1.sfHover>span:before {
  left: 12.5%;
}

.region-primary-menu .menu .sf-depth-1>a:hover,
ul.menu .sf-depth-1>a.is-active {
  background: none;
  color: white;
}

ul.sf-menu.menu ul {
  background: #ebebeb;
}

.region-primary-menu ul.sf-menu.menu ul a {
  color: #333333;
  border-bottom: 1px solid white;
  text-transform: none;
  box-sizing: border-box;
  width: 100%;
  font-family: 'Open Sans';
  font-weight: 300;
}

.region-primary-menu ul.sf-menu.menu ul a:hover {
  background: #205b9f;
  color: white;
}

ul.sf-menu li:hover>ul,
ul.sf-menu li.sfHover>ul {
  top: 3.1em;
}


/*Slider*/

#block-views-block-slider-accueil-block-1 {
  position: relative;
}

#block-views-block-slider-accueil-block-1:before {
  left: -4em;
  top: 7em;
  width: 5em;
  height: 15em;
  background: url(../images/main-sprite.svg) no-repeat -273px -176px;
  background-size: 1400px;
  transform: rotate(-13deg);
  position: absolute;
  content: "";
}

.slick-arrow {
  background: white;
  width: 2em;
  height: 2em;
  overflow: hidden;
  text-indent: -99999px;
  white-space: nowrap;
  position: absolute;
  bottom: 0;
  border: 1px solid #ba9b32;
  z-index: 2;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.slick-arrow:before {
  background: url(../images/main-sprite.svg) no-repeat -75px -4px;
  content: "";
  width: 2em;
  height: 2em;
  position: absolute;
  left: 0;
  top: 0;
  background-size: 360px;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.slick-arrow.slick-next {
  right: 1em;
}

.slick-arrow.slick-prev {
  left: 1em;
}

.slick-arrow.slick-prev:before {
  background-position: -105px -4px;
}

.slick-arrow:hover {
  background-color: #ba9b32;
}

.slick-arrow.slick-prev:hover:before {
  background-position: -133px -4px;
}

.slick-arrow.slick-next:hover:before {
  background-position: -46px -4px;
}

.slick-dotted {
  text-align: center;
}

ul.slick-dots {
  display: inline-block;
}

ul.slick-dots li {
  list-style: none;
  float: left;
  margin: 1em 0.2em 0;
  width: 1em;
  height: 1em
}

ul.slick-dots li button {
  border: 1px solid #ebebeb;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  background: none;
  text-indent: -99999px;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

ul.slick-dots li.slick-active button {
  border-color: #ba9b32;
}

#block-views-block-slider-accueil-block-1 {
  width: 50%;
  float: left;
  padding-right: 1.5em;
  box-sizing: border-box;
}

.main-content .block.block-views-blockactu-accueil-block-1 {
  position: relative;
  display: inline-block;
}

.main-content .block.block-views-blockactu-accueil-block-1 h2 {
  position: absolute;
  top: -1.6em;
  left: 0.8em;
  margin-top: 0;
}

#block-views-block-slider-accueil-block-1>.content {
  position: relative;
}

.main-content .block h2.slide__title {
  box-sizing: border-box;
  height: 27px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ebebeb;
  text-align: left;
  padding: 0.2em 1.2em 0.28em;
  font-size: 1em;
  text-transform: none;
  color: #333333;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.slide__content {
  position: relative;
  padding-bottom: 27px;
}


/*Home actu*/

#block-views-block-actu-accueil-block-1 {
  width: 50%;
  float: right;
  padding-left: 1.5em;
  box-sizing: border-box;
  position: relative;
}

#block-views-block-actu-accueil-block-1:before {
  right: -4em;
  bottom: 2em;
  width: 13em;
  height: 13em;
  background: url(../images/main-sprite.svg) no-repeat -400px -159px;
  background-size: 1300px;
  position: absolute;
  content: "";
}

.view-actu-accueil .views-row {
  width: 100%;
  height: 33.33333%;
  display: inline-block;
  background: #ebebeb;
  box-sizing: border-box;
  float: left;
  overflow: hidden;
  position: relative;
}

.view-actu-accueil .view-content .views-row:nth-child(2n) {
  background: none;
}

.view-actu-accueil .views-field-field-image-actu {
  float: left;
  width: 36%;
  box-sizing: border-box;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.view-actu-accueil .views-field-field-date {
  position: absolute;
  text-align: center;
  right: 54%;
  top: 0;
  width: 10%;
  box-sizing: border-box;
  height: 100%;
  background: #b68e4d;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
  font-size: 1.5em;
  padding: 0 0.5em;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.view-actu-accueil .view-content .views-row:nth-child(2n) .views-field-field-date {
  background: #97753e;
}

.view-actu-accueil .views-field-field-date .field-content {
  position: absolute;
  width: 100%;
  height: 3em;
  top: 50%;
  margin-top: -1.5em;
  left: 0;
  padding: 0 26%;
  box-sizing: border-box;
}

.view-actu-accueil .views-field-title {
  float: right;
  width: 54%;
  box-sizing: border-box;
  height: 100%;
  padding: 1.5em 1.5em 0;
}

#block-views-block-actu-accueil-block-1 .views-field-title p {
  margin-bottom: 0;
}

.view-actu-accueil .row-hover .views-field-field-date,
#block-views-block-actu-accueil-block-1 .view-content .row-hover.views-row:nth-child(2n) .views-field-field-date {
  background: #205b9f;
}

h3.field-title {
  margin: 0;
  font-size: 1.3em;
  color: #205b9f;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h3.field-title a {
  color: #205b9f;
}

h3.field-title a:hover {
  color: #b68e4d;
}

.hide-date {
  display: none;
}

.show-date {
  position: relative;
}

.show-date:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 1px;
  background: white;
  left: 0;
}

#block-views-block-actu-accueil-block-1 .lk-agenda {
  top: -3.1em;
  right: 0;
}

.path-actualites .view-actu-accueil .views-field-field-image-actu {
  width: 23%;
}

.path-actualites .view-actu-accueil .views-field-field-date {
  width: 8%;
  right: 69%;
}

.path-actualites .view-actu-accueil .views-field-title {
  width: 69%;
}

.path-actualites #content,
.path-agenda #content {
  margin-bottom: 4em;
  display: inline-block;
}


/*Home*/

.path-frontpage #block-briatexte-content {
  display: inline-block;
  width: 100%;
  position: relative;
  margin-top: 2em;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ebebeb+0,ebebeb+40,205b9f+40,205b9f+100 */
  background: #ebebeb;
  /* Old browsers */
  background: -moz-linear-gradient(left, #ebebeb 0%, #ebebeb 32%, #205b9f 32%, #205b9f 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #ebebeb 0%, #ebebeb 32%, #205b9f 32%, #205b9f 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #ebebeb 0%, #ebebeb 32%, #205b9f 32%, #205b9f 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', endColorstr='#205b9f', GradientType=1);
  /* IE6-9 */
}

.path-frontpage #block-briatexte-content:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: #ebebeb;
}

.path-frontpage #block-briatexte-content:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  background: #205b9f;
}

.path-frontpage #block-briatexte-content .node--type-page {
  padding-bottom: 2.5em;
  position: relative;
  overflow: hidden;
}

.path-frontpage #block-briatexte-content>.content {
  position: relative;
}

.path-frontpage #block-briatexte-content .node--type-page:before {
  content: "";
  position: absolute;
  left: -21%;
  top: -158%;
  width: 86%;
  height: 200%;
  background: #ebebeb;
  z-index: 1;
  transform: rotate(45deg);
}

.path-frontpage #block-briatexte-content .col-md-50 {
  position: relative;
  z-index: 5;
  padding-right: 1.5em;
  z-index: 11;
}

.path-frontpage #block-briatexte-content .content:before {
  opacity: 0.5;
  left: -7em;
  top: 35%;
  width: 10em;
  height: 10em;
  background: url(../images/main-sprite.svg) no-repeat -524px -126px;
  background-size: 1000px;
  transform: rotate(-45deg);
  position: absolute;
  content: "";
}

.path-frontpage #block-briatexte-content .content:after {
  opacity: 0.2;
  right: -7em;
  top: 31%;
  width: 11em;
  height: 11em;
  background: url(../images/main-sprite.svg) no-repeat -667px -91px;
  background-size: 900px;
  transform: rotate(45deg);
  position: absolute;
  content: "";
  z-index: 10;
}

.path-frontpage #block-briatexte-content .col-md-50.col-md-50b {
  padding: 0 0 0 1.5em;
}

.path-frontpage #block-briatexte-content .col-md-50.col-md-50b:before {
  left: inherit;
  right: -4em;
}

.path-frontpage #block-briatexte-content .col-md-50.col-md-50b h2 {
  text-align: right;
  color: white;
}

.path-frontpage #block-briatexte-content h2 {
  margin-top: 1.5em;
}

.layout-main {
  margin-bottom: 0;
}

.featured-bottom {
  border: 0;
  background: #b68e4d;
  padding-top: 5em;
  margin-top: -10px;
}

.featured-bottom .region {
  width: 100%;
  padding: 0;
}

.paragraph--type--texte {
  display: inline-block;
  width: 100%;
}


/*Home agenda*/

#block-agenda {
  width: 25%;
  float: left;
  box-sizing: border-box;
  padding-right: 4em;
  padding-top: 5em;
  position: relative;
}

#block-agenda:before {
  opacity: 0.2;
  right: 0.5em;
  top: 31%;
  width: 7em;
  height: 7em;
  background: url(../images/main-sprite.svg) no-repeat -463px -193px;
  background-size: 600px;
  transform: rotate(45deg);
  position: absolute;
  content: "";
}

#block-agenda .view-header {
  position: absolute;
  top: -2.5em;
  height: 2.5em;
  width: 100%;
  background: white;
}

#block-agenda>.content {
  position: relative;
}

.but-nav {
  position: absolute;
  top: -1.6em;
  width: 1.5em;
  height: 1.5em;
  cursor: pointer;
  font-size: 1.5em;
  line-height: 1.4em;
}

.but-nav:after {
  position: absolute;
  top: 0;
  width: 1.5em;
  left: 0;
  height: 1.5em;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.but-nav:hover:after {
  color: #b68e4d;
}

#previous.but-nav {
  left: 1em;
}

#previous.but-nav:after {
  content: "«";
}

#next.but-nav {
  right: 1em;
}

#next.but-nav:after {
  content: "»"
}

#block-agenda h2 {
  color: white;
  position: absolute;
  top: -1.2em;
  left: 0;
}

.view-calendrier-agenda {
  position: relative;
}

#load-calendar {
  width: 100%;
  display: inline-block;
}

#load-calendar div,
#load-calendar table,
#load-calendar tbody,
#load-calendar thead {
  border: 0;
  border-spacing: 0;
  display: block;
}

#load-calendar tbody {
	background-color: #FFF;
}

#load-calendar .view-content div,
#load-calendar table,
#load-calendar tbody,
#load-calendar .view-content,
#load-calendar .view-calendrier-agenda {
  height: 100%;
}

#load-calendar .contextual-region {
  height: 100%;
}

#load-calendar thead tr {
  background: #eeeeee;
  font-weight: 600;
}

#load-calendar tr {
  height: 14.2857%;
  box-sizing: border-box;
  border: 0;
  display: block;
}

#load-calendar .pager__item--next {
  position: relative;
  width: 2em;
  height: 2em;
  background: red;
  box-sizing: border-box;
}

#load-calendar .pager__item {
  display: none;
}

#load-calendar td,
#load-calendar th {
  height: 100%;
  text-align: center;
  line-height: 2.7;
  box-sizing: border-box;
  display: block;
  float: left;
  border: 0;
  width: 14.2857%;
  padding: 3px;
}

#load-calendar td .mini-day-off {
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid #eeeeee;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

#load-calendar h3 {
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin: 0.5em 0 0;
}

.calendar-calendar tr td.today,
.calendar-calendar tr.odd td.today,
.calendar-calendar tr.even td.today {
  background: none
}

.calendar-calendar tr td.today .mini-day-off,
.calendar-calendar tr.odd td.today .mini-day-off,
.calendar-calendar tr.even td.today .mini-day-off {
  background: #f0f0f0;
}

#load-calendar td.has-events div {
  border-color: #b68e4d;
}

.has-events div a {
  color: #b68e4d;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: block;
}

.has-events div a:hover {
  text-decoration: none;
  color: white;
}

.has-events div:hover,
.calendar-calendar tr td.today.has-events div:hover,
.calendar-calendar tr.odd td.today.has-events div:hover,
.calendar-calendar tr.even td.today.has-events div:hover {
  background: #b68e4d;
}

.featured-bottom .block {
  border: 0;
}

#block-views-block-liste-agendas-block-1 {
  width: 75%;
  float: left;
  box-sizing: border-box;
}

.view-liste-agendas .views-row {
  width: 30%;
  float: left;
  box-sizing: border-box;
  margin: 0 4.5% 0 0;
  position: relative;
}

.view-liste-agendas .view-content .views-row:first-child {
  margin-left: 1%;
}

.view-liste-agendas .view-content .views-row:nth-child(3) {
  margin: 0
}

.view-liste-agendas .views-field-field-date {
  position: absolute;
  text-align: center;
  left: 0.3em;
  top: -0.3em;
  width: 20%;
  box-sizing: border-box;
  background: #205b9f;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
  font-size: 1.5em;
  padding: 0.5em;
  line-height: 1.5;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.view-liste-agendas .views-field-field-date:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50%;
  height: 1px;
  background: white;
  left: 25%;
}

.view-liste-agendas .views-field-title {
  margin: 1em 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
  font-size: 1.2em;
  text-transform: uppercase;
}

#block-views-block-liste-agendas-block-1 .views-field-title a {
  color: white;
}

#block-views-block-liste-agendas-block-1 .views-field-title a:hover {
  color: #205b9f;
}

#block-views-block-liste-agendas-block-1 .views-field-field-lieu {
  color: white;
}

.view-liste-agendas .views-field-field-lieu .views-label:after {
  content: " : "
}

.lk-agenda {
  position: absolute;
  display: inline-block;
  top: -5.4em;
  right: -3em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  background: #205b9f;
  padding: 0.8em 1.8em;
  overflow: hidden;
}

.lk-agenda:before {
  opacity: 0.2;
  left: -0.6em;
  top: 0.4em;
  width: 1.5em;
  height: 2em;
  background: url(../images/main-sprite.svg) no-repeat -15px -118px;
  position: absolute;
  content: "";
  background-size: 660px;
}

.lk-agenda:after {
  opacity: 0.2;
  right: -0.6em;
  top: 0.4em;
  width: 1.5em;
  height: 2em;
  background: url(../images/main-sprite.svg) no-repeat -15px -118px;
  position: absolute;
  content: "";
  background-size: 660px;
}

.lk-agenda:hover {
  background: #98753f;
  color: white;
}

.view-liste-agendas .views-field-field-image-agenda {
  position: relative;
}

.view-liste-agendas .views-field-field-image-agenda a {
  display: inline-block;
  width: 100%;
  height: 100%;
}


/*Page Agenda*/

.view-display-id-page_1.view-liste-agendas .views-field-field-date {
  width: 20%;
}

.view-display-id-page_1.view-liste-agendas .views-col {
  position: relative;
  padding-right: 2em;
  box-sizing: border-box;
  width: 25%;
}

.row-agenda {
  display: inline-block;
  width: 100%;
  margin-bottom: 1em;
}


/*Footer*/

.site-footer {
  padding: 0;
  background: #222222;
}

.site-footer .content {
  font-size: 1em;
}

.site-footer__bottom {
  border: 0;
  margin-top: 0;
}

.site-footer__bottom .region {
  margin-top: 0;
}

.region-footer-fifth {
  text-align: center;
}

.region-footer-fifth ul.menu {
  display: inline-block;
  padding: 0.7em 0 0.3em;
  ;
}

.region-footer-fifth ul.menu li {
  float: left;
  overflow: hidden;
}

.site-footer .region-footer-fifth .content a {
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
  position: relative;
}

.site-footer .region-footer-fifth .content a:after {
  content: "";
  width: 80%;
  height: 1px;
  background: white;
  left: -100%;
  bottom: 0;
  position: absolute;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.site-footer .region-footer-fifth .content a:hover:after,
.site-footer .region-footer-fifth .content a.is-active:after {
  left: 10%;
}

.foot-wrap {
  background: #111111;
}

.site-footer__bottom .content {
  padding: 0;
}

.site-footer__bottom .menu-item:last-child a {
  padding-right: 12px;
}

.site-footer__bottom .menu-item:first-child a {
  padding-left: 12px;
}

.site-footer .content {
  color: white;
}

.foot-right {
  width: 100%;
  float: left;
  box-sizing: border-box;
  position: relative;
  padding-left: 5.5em;
}

.foot-right:before {
  content: "";
  width: 4.5em;
  height: 4.5em;
  border-radius: 50%;
  left: 0;
  top: 0.1em;
  position: absolute;
  border: 1px solid #b68e4d;
  background: url(../images/main-sprite.svg) no-repeat;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

#block-footer1,
#block-footer2,
#block-footer3 {
  margin-top: 2.5em;
}

#block-footer1 .foot-right:before {
  background-position: -196px 8px;
}

#block-footer2 .foot-right:before {
  background-position: -262px 10px;
}

#block-footer3 .foot-right:before {
  background-position: -321px 12px;
}

#block-footer3 .foot-right:hover:before {
  background-position: -368px 12px;
  border-color: white;
}

#block-footer3 a {
  margin-top: 1.5em;
  display: inline-block;
}

.site-footer__top .region {
  width: 25%;
  padding-right: 1em;
  box-sizing: border-box;
}

.site-footer .block {
  border: 0;
  padding: 0;
}

.tt-foot {
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
}

.site-footer .content a {
  color: white;
}


/*Bulletins municipaux*/

.view-bulletins-municipaux {
  margin-bottom: 2em;
}

.view-bulletins-municipaux .views-col {
  margin-top: 2em;
  box-sizing: border-box;
  padding-right: 2em;
}

.view-bulletins-municipaux .views-field-field-vignette {
  width: 28%;
  float: left;
  box-sizing: border-box;
}

.view-bulletins-municipaux .views-field-title,
.view-bulletins-municipaux .views-field-field-date,
.view-bulletins-municipaux .views-field-field-fichier-du-bulletin-1 {
  float: right;
  width: 72%;
  box-sizing: border-box;
  padding-left: 1.2em;
}

.view-bulletins-municipaux .views-field-title a,
.view-bulletins-municipaux .views-field-title {
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.view-bulletins-municipaux .views-field-title a:hover {
  color: #b68e4d;
}

.view-bulletins-municipaux .views-field-field-date {
  color: #333333;
  text-transform: capitalize;
}

.view-bulletins-municipaux .views-field-field-fichier-du-bulletin-1 a {
  color: #b68e4d;
  padding-left: 1.5em;
  position: relative;
}

.view-bulletins-municipaux .views-field-field-fichier-du-bulletin-1 a:before {
  content: "";
  width: 1.5em;
  height: 1.5em;
  left: 0;
  top: -1px;
  position: absolute;
  background: url(../images/main-sprite.svg) no-repeat -44px -50px;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.view-bulletins-municipaux .views-field-field-fichier-du-bulletin-1 a:hover {
  color: #205b9f;
}

.view-bulletins-municipaux .views-field-field-fichier-du-bulletin-1 a:hover:before {
  background-position: -7px -50px;
}


/*Page interne*/

.paragraph--type--image-texte {
  display: inline-block;
  width: 100%;
}

.paragraph--type--image-texte.left-img .field--name-field-image {
  max-width: 50%;
  margin-right: 1.5em;
}

.paragraph--type--image-texte.right-img .field--name-field-image {
  max-width: 50%;
  margin-left: 1.5em;
  float: right;
}

.field--name-field-bloc-supplementaire>.field__item {
  margin-bottom: 1em;
}

.paragraph--type--texte ul,
.paragraph--type--texte ol {
  padding-left: 2em;
}


/*Actualites*/

.page-node-type-actualites .field--name-field-image-actu {
  max-width: 50%;
  margin-right: 1em;
}

.page-node-type-actualites .field--name-field-date {
  color: #205b9f;
  font-size: 1.1em;
  margin-bottom: 0.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}


/*Agenda*/

.page-node-type-agenda .field--name-field-image-agenda {
  max-width: 50%;
  margin-right: 1em;
}

.page-node-type-agenda .field--name-field-date {
  color: #205b9f;
  font-size: 1.1em;
  margin-bottom: 0.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}


/*Webform*/

.page-node-type-webform .field--name-webform {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding-right: 1.5em;
}

.page-node-type-webform #main .field--name-body {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding-left: 1.5em;
}

.webform-submission-contact-form label {
  float: left;
  text-align: right;
  width: 30%;
  box-sizing: border-box;
  padding-right: 2em;
  position: relative;
  font-weight: 400;
  margin-top: 0.4em;
}

.webform-element--title-inline label:after {
  position: absolute;
  right: 1em;
  top: 0em;
}

.form-required:after {
  background: none;
}

.form-required:before {
  content: "";
  position: absolute;
  right: 0.5em;
  top: 0em;
  background-image: url(../images/required.svg);
  background-repeat: no-repeat;
  background-size: 6px 6px;
  width: 6px;
  height: 6px;
}

.webform-submission-contact-form input,
.webform-submission-contact-form textarea {
  float: left;
  box-sizing: border-box;
  width: 70%;
}

.webform-submission-contact-form .form-item {
  display: inline-block;
  margin: 0 0 1em 0;
  width: 100%;
}

.webform-submission-contact-form #edit-actions {
  float: right;
  box-sizing: border-box;
  width: 70%;
  text-align: center;
  margin-top: 0;
  padding-top: 0;
}

.webform-submission-contact-form #edit-actions input {
  float: none;
  margin-top: 0;
}

.page-node-type-webform .main-content .block h2 {
  margin-top: 0;
}

.page-node-type-webform h1.page-title {
  margin-bottom: 1em;
}

.captcha {
  float: right;
  margin-bottom: 2em;
}


/*Trombinoscope*/

.field--name-field-trombinoscope>.field__item {
  width: 22.75%;
  float: left;
  box-sizing: border-box;
  margin-right: 3%;
  background: #ebebeb;
  margin-bottom: 2em;
}

.field--name-field-trombinoscope>.field__item:nth-child(4n) {
  margin-right: 0;
}

.paragraph--type--trombinoscope .field--name-field-portrait {
  width: 40%;
  float: left;
  box-sizing: border-box;
}

.paragraph--type--trombinoscope .field--name-field-portrait img {
  margin-bottom: 0;
}

.paragraph--type--trombinoscope .field--name-field-nom {
  width: 60%;
  float: left;
  box-sizing: border-box;
  padding: 1em;
  font-weight: 600;
}

.paragraph--type--trombinoscope .field--name-field-fonction {
  width: 60%;
  float: left;
  box-sizing: border-box;
  padding: 0 1em;
}

.paragraph--type--trombinoscope .field--name-field-ligne-2 {
  width: 60%;
  float: left;
  box-sizing: border-box;
  padding: 0 1em;
}

.field--name-field-elu {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1em;
}

.field--name-field-elu>div {
  width: calc(25% - 2em);
  margin: 0 1em 2em;
  background: #ebebeb;
}


/*Asso*/

.paragraph--type--association {
  background: #ebebeb;
  padding: 1em 1em 0;
  box-sizing: border-box;
  width: 46%;
  float: left;
  margin: 1em 2%;
}

.paragraph--type--association .field--name-field-logo {
  max-width: 30%;
  margin-right: 1em;
}

.paragraph--type--association img {
  margin: 0 1em 1em 0
}

.paragraph--type--association .field--name-field-titre {
  font-weight: 700;
}

.bc-height .paragraph--type--association {
  height: auto;
  width: 48%;
}

.paragraph--type--_-colonnes {
  display: inline-block;
  width: 100%;
}

.field--name-field-colonne-de-gauche {
  float: left;
  box-sizing: border-box;
  width: 50%;
  padding-right: 1.5em;
  display: inline-block;
}

.field--name-field-colonne-de-droite {
  float: left;
  box-sizing: border-box;
  width: 50%;
  padding-left: 1.5em;
  display: inline-block;
}

.paragraph--type--slider {
  position: relative;
}

.paragraph--type--slider .slick-arrow {
  bottom: 50%;
}

.paragraph--type--slider .slide__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1em;
  box-sizing: border-box;
}

.paragraph--type--slider .slide__caption p {
  margin-bottom: 0;
}

.paragraph--type--slider .slide__content {
  padding-bottom: 0;
}

.bc-lk {
  width: 48%;
  margin: 0 2% 1.5em 0;
  float: left;
  box-sizing: border-box;
  border: 1px solid #999999;
  padding: 0.6em;
  height: 7em;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
}

.bc-lk p {
  margin-bottom: 0;
}

.bc-lk a {
  display: inline-block;
  width: 100%;
  color: #333333;
  height: 100%;
}

.bc-lk .ttre-lk a {
  color: #205b9f;
  font-weight: 700;
}

.bc-lk:hover {
  background: #eeeeee;
}

.cookies-fallback--gmaps--wrap {
  float: none;
  clear: both;
}

@media (max-width: 1290px) {
  #header .layout-container {
    width: 100%;
    margin-left: 0;
    left: 0;
  }
  #block-views-block-actu-accueil-block-1 .views-field-field-date .field-content {
    padding: 0px 18%;
  }
  #load-calendar td {
    line-height: 2.4;
  }
  .view-liste-agendas .views-field-field-date {
    font-size: 1.3em;
  }
}

@media (max-width: 1180px) {
  .field--name-field-trombinoscope>.field__item,
  .field--name-field-elu>div {
    width: calc(33.33333% - 2em);
  }
  .field--name-field-trombinoscope>.field__item:nth-child(4n) {
    margin-right: 3%;
  }
  .paragraph--type--trombinoscope .field--name-field-ligne-2,
  .paragraph--type--trombinoscope .field--name-field-fonction {
    line-height: 1.2;
  }
}

@media (max-width: 1180px) and (min-width: 810px) {
  .field--name-field-trombinoscope>.field__item:nth-child(3n) {
    margin-right: 0;
  }
}

@media (max-width: 1090px) {
  #block-agenda {
    width: 33%;
    margin-left: 33.5%;
    padding-right: 0;
  }
  #block-views-block-liste-agendas-block-1 {
    width: 100%;
  }
  #load-calendar td {
    line-height: 3.7;
  }
}

@media (max-width: 1020px) {
  #block-views-block-actu-accueil-block-1 .views-field-field-date {
    font-size: 1.2em;
  }
  h3.field-title {
    font-size: 1em;
  }
  #block-views-block-actu-accueil-block-1 .views-field-title p {
    line-height: 1.2;
  }
  #block-views-block-actu-accueil-block-1 .views-field-field-image-actu {
    width: 36.8%;
  }
  .main-content .block h2,
  .featured-bottom h2 {
    font-size: 1.5em;
  }
  .path-frontpage #block-briatexte-content>.content:before {
    left: -24%;
    top: -162%;
    height: 232%;
  }
  #load-calendar td {
    line-height: 3;
  }
  .view-bulletins-municipaux .views-col {
    width: 50% !important;
  }
}

@media (max-width: 930px) {
  .bc-lk {
    height: 10em;
  }
}

@media (max-width: 865px) {
  .site-footer .region-footer-fifth .content a {
    margin-bottom: 1em;
  }
}

@media (max-width: 850px) {
  #block-views-block-actu-accueil-block-1 .views-field-title {
    padding: 0.7em 0.7em 0
  }
  #block-views-block-slider-accueil-block-1,
  .path-frontpage #block-briatexte-page-title {
    padding-right: 0.5em;
  }
  #block-views-block-actu-accueil-block-1 {
    padding-left: 0.5em;
  }
  h1.page-title,
  .main-content .block h2,
  .featured-bottom h2 {
    font-size: 1.5em;
  }
  .path-frontpage h1.page-title {
    margin-bottom: 2px;
    line-height: 1.4;
  }
  .path-frontpage #block-briatexte-content>.content:before {
    left: -22%;
  }
  #load-calendar td {
    line-height: 2.6;
  }
  .site-footer__top .region {
    width: 50%;
  }
}

@media (max-width: 810px) {
  .field--name-field-trombinoscope>.field__item,
  .field--name-field-elu>div {
    width: calc(50% - 2em);
  }
  .field--name-field-trombinoscope>.field__item:nth-child(4n) {
    margin-right: 0;
  }
  .field--name-field-trombinoscope>.field__item:nth-child(2n) {
    margin-right: 0;
  }
  .path-actualites .view-actu-accueil .views-field-field-date {
    font-size: 1em;
  }
}

@media (max-width: 767px) {
  ul.sf-menu.sf-accordion.sf-expanded,
  ul.sf-menu.sf-accordion li.sf-expanded>ul {
    top: 28px!important;
    background: #205b9f;
    position: absolute;
  }
  .sf-depth-1.menuparent ul {
    position: relative !important;
    top: 0!important;
  }
  #superfish-main-toggle {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: white;
    padding: 0.1em 0 0.6em;
  }
  .region-primary-menu .menu .sf-depth-1>a:after,
  .region-primary-menu .menu .sf-depth-1>span:after {
    display: none;
  }
  #block-views-block-slider-accueil-block-1,
  .path-frontpage #block-briatexte-page-title {
    width: 100%;
    padding: 0;
  }
  #block-views-block-actu-accueil-block-1 {
    width: 100%;
    padding: 0;
  }
  .main-content .block.block-views-blockactu-accueil-block-1 h2 {
    position: relative;
    margin-top: 1em;
    top: 0;
    left: 0;
  }
  #slick-views-slider-accueil-block-1-1 img {
    width: 100%;
  }
  .region-primary-menu {
    padding-top: 0.5em;
    width: 100%;
  }
  .site-branding__logo {
    width: 33%;
    margin-bottom: 1em;
  }
  #block-views-block-actu-accueil-block-1 .views-field-field-date .field-content {
    padding: 0 22%;
  }
  .path-frontpage #block-briatexte-content>.content:before {
    display: none;
  }
  .path-frontpage #block-briatexte-content {
    background: #ebebeb;
    /* Old browsers */
    background: -moz-linear-gradient(left, #ebebeb 0%, #ebebeb 50%, #205b9f 50%, #205b9f 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #ebebeb 0%, #ebebeb 50%, #205b9f 50%, #205b9f 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #ebebeb 0%, #ebebeb 50%, #205b9f 50%, #205b9f 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', endColorstr='#205b9f', GradientType=1);
    /* IE6-9 */
  }
  .path-frontpage #block-briatexte-content .col-md-50 {
    padding-right: 0.5em
  }
  .path-frontpage #block-briatexte-content .col-md-50.col-md-50b {
    padding: 0 0 0 0.5em;
  }
  .main-content .block h2 {
    font-size: 1.2em;
  }
  .path-frontpage #block-briatexte-content>.content {
    padding-bottom: 0.5em;
  }
  .view-liste-agendas .views-field-field-date {
    font-size: 1em;
  }
  #block-agenda {
    width: 40%;
    margin-left: 30%;
  }
  .mm-menu.mm-theme-dark {
    background: #205b9f;
  }
}

@media (max-width: 680px) {
  .bc-lk {
    width: 100%;
    height: auto;
    margin: 0 0 1em;
  }
  .field--name-field-colonne-de-droite,
  .field--name-field-colonne-de-gauche {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 600px) {
  #block-agenda {
    width: 50%;
    margin-left: 0;
  }
  .view-liste-agendas .views-row,
  .view-liste-agendas .views-col {
    width: 100% !important;
    margin-bottom: 1.5em;
  }
  .view-liste-agendas .views-field-field-date,
  .view-display-id-page_1.view-liste-agendas .views-field-field-date {
    width: 3em;
  }
  .site-footer__top .region {
    padding: 0;
    width: 100%;
  }
  .site-footer__top .region:nth-child(2n) {
    padding-left: 0;
  }
  #block-footer1,
  #block-footer2,
  #block-footer3 {
    margin-top: 1em;
  }
  .view-bulletins-municipaux .views-col {
    width: 100% !important;
  }
  .paragraph--type--association {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 540px) {
  .col-md-50 {
    width: 100%;
  }
  .path-frontpage #block-briatexte-content,
  .path-frontpage #block-briatexte-content:before,
  .path-frontpage #block-briatexte-content:after {
    background: none;
    margin-top: 0;
  }
  .path-frontpage #block-briatexte-content .col-md-50 {
    background: #ebebeb;
    padding: 0 0.5em;
  }
  .path-frontpage #block-briatexte-content .col-md-50.col-md-50b {
    padding: 0 0.5em;
    background: #205b9f;
  }
  .site-footer .region-footer-fifth .content a {
    text-transform: none;
    font-weight: 300;
  }
  .field--name-field-trombinoscope>.field__item,
  .field--name-field-elu>div {
    width: calc(100% - 2em);
    margin: 0 0 1em 0;
  }
  .path-actualites .view-actu-accueil .views-field-field-date {
    width: 13%;
  }
}

@media (max-width: 475px) {
  #block-views-block-actu-accueil-block-1 .views-field-title {
    width: 100%;
    padding-bottom: 1em;
  }
  #block-views-block-actu-accueil-block-1 .views-field-field-date {
    height: 50%;
    right: 0;
    width: 16%;
  }
  #block-views-block-actu-accueil-block-1 .views-field-field-image-actu {
    width: 70%;
  }
  #block-agenda {
    width: 100%;
  }
  #load-calendar td {
    line-height: 3.7;
  }
}

@media (max-width: 330px) {
  #block-views-block-actu-accueil-block-1 .views-field-field-date {
    width: 22%;
  }
  #load-calendar td {
    line-height: 2.6;
  }
  .site-branding__logo {
    width: 54%;
    margin-bottom: 0;
  }
}
