/* Text and image widget */
.rte .story figure {
    margin-bottom: 10px;
}

.rte .story figure.align-left {
    margin-right: 10px;
}

.rte .story figure.align-right {
    margin-left: 10px;
}

.rte .story figure.align-center {
    margin-left: 10px;
    margin-right: 10px;
}

.rte .story figcaption {
    font-size: 1.3em;
    font-weight: 300;
    font-family: "Ubuntu", sans-serif;
    color: #151e27;
    padding-top: 6px;
}

.rte .story img.align-left {
    margin-right: 20px;
}

/*!* Hide radio buttons *!*/
/*.hidden-radios input[type="radio"] {*/
    /*display: none;*/
/*}*/

.extremely-hidden {
    display: none!important;
}

/* Replace .filter-social-list li .youtube:focus svg */
.filter-social .filter-social-list li input[type="radio"]:checked + label svg.svg-icon {
    fill: #fff;
}

.filter-social__item input[type="radio"]:checked + label {
    text-decoration: none;
    background: #fff;
}

.filter-social__item input[type="radio"].filter-social__item-all:checked + label {
    background: #fff;
    color: #41b6ba;
}

.exposed-filter-label {
    display: block;
    padding: 0;
    color: #151e27;
    text-align: left;
    font-style: normal;
    font-size: 2em;
    font-weight: 700;
    white-space: normal;
    width: 100%;
    margin: 1em 0;
}

/* Fix for admin menu visibility */
body.toolbar-tray-open .toolbar-oriented .toolbar-bar {
  z-index: 9001;
}

/* Replace .enimages-bar--video .enimages-bar__img */
.enimages-bar--video.enimages-bar__img:before {
    content: "\e027";
    font-family: "icons-default";
    font-size: 1.8rem;
    line-height: 4.8rem;
    color: rgba(21, 30, 39, 0.8);
    text-align: center;
    padding-left: 0.2rem;
    position: absolute;
    top: 50%;
    right: inherit;
    bottom: inherit;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    width: 4.7rem;
    height: 4.7rem;
    border-radius: 50%;
    background: rgba(121, 208, 211, 0.8);
    -webkit-transition: all 100ms ease;
    transition: all 100ms ease;
    z-index: 1;
}


/* Replace .section-custom__link-more */
.more-link > a {
    display: table;
    margin: 4rem auto 0;
    font-family: "Ubuntu", sans-serif;
    vertical-align: middle;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    background: #151e27;
    font-size: 1.4rem;
    line-height: 1.14286em;
    padding: 1.7rem 3.3rem 1.7rem 5.4rem;
    box-shadow: 2px 3px 7px 0 rgba(0, 0, 0, 0.22);
    position: relative;
}

.more-link > a:before {
    font-family: "icons-default";
    font-size: 1.6rem;
    color: #79d0d3;
    position: absolute;
    top: 50%;
    right: inherit;
    bottom: inherit;
    left: 3.2rem;
    content: "";
    line-height: 1;
}

.more-link > a:before {
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.more-link > a:hover,
.more-link > a:focus {
    text-decoration: none;
    background: #15455a;
    color: #fff;
}

.more-link > a:hover:before,
.more-link > a:focus:before {
    color: #79d0d3;
}

.section-custom__footer .more-link > a {
  display: inline-block;
  margin: 0;
}

.section-custom--reverse .more-link > a:not(:hover):not(:focus) {
  background: #41b6ba;
  color: #151e27;
}

.section-custom--reverse .more-link > a:hover,
.section-custom--reverse .more-link > a:focus {
  background: #15455a;
}

.section-custom--reverse .more-link > a:not(:hover):not(:focus):before {
  color: #151e27;
}

/* Hide messages from poll module */
[class*='poll-view-form'] .message {
  display: none;
}

/* Fix .publication__top-info for a */
a.publication__top-info {
    display: block;
}

/* Login page styles */
.clear_btn.button-1 {
  cursor: pointer;
}

.forgot_pass {
  font-weight: 300;
  font-size: 1.2em;
  display: block;
  color: #65737d;
  margin: .6em 0 .58em;
}

.container-login, .container-pass-confirm {
  width: 100%;
  max-width: 118rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-pass-confirm {
  text-align: center;
}

.container-login .form-item, .user-pass .form-item, .user-pass .form-actions, .user-form .form-item, .user-form .form-actions {
  margin-top: 15px;
}

.container-login, .user-pass {
  margin-top: 50px;
}

.container-login .message--succes {
  display: none;
}

.user-pass .form-item + p, .password-strength__title, .confirm-parent .password-confirm:not(input), .user-form .password-strength__meter {
  display: none;
}

.user-pass, .user-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}

.user-form .form-wrapper {
  width: 100%;
}

.user-form .form-wrapper > .form-item-pass {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}.form-wrapper > .form-item-pass  .form-item {
  width: 48%;
}

.user-form .form-actions .form-submit {
  float: right;
  clear: left;
}

.user-form .powermail_fieldwrap_file_list {
  width: 100%;
}

.return_btn {
  float: right;
  clear: left;
  padding-left: 22px;
}

.return_btn_confirm {
  float: none;
}

.return_btn:before {
  display: none;
}

.user-form .password-suggestions.description {
  display: block;
  width: 100%;
  margin-top: 15px;
  font-family: "Ubuntu", sans-serif;
  color: #65737d;
  font-size: 1em;
  font-weight: 300;
  font-style: normal;
}

.user-pass label.form-submit {
  margin-bottom: 0;
}

.container-login .form-item.form-item-clear, .container-login .form-item.form-item-forgot-pass {
  display: inline-block;
  margin-top: 0;
}

.form-item-persistent-login label.option, .user-login-form .powermail_fieldwrap_file_list {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

.form-item-persistent-login {
  margin-bottom: 15px;
}

.user-login-form .form-actions {
  display: inline-block;
}

.user-login-form .form-actions input[type="submit"]{
  width: auto;
  height: 40px;
  cursor: pointer;
}

.user-login-form .description {
  font-size: 0;
}

.ddm__title .ddm-demarches__social-item a {
  font-size: 0;
}

.map__popup .list-infos-actions .site-button::after {
  display: none;
  opacity: 0;
}

/* Fix styles for publication big tile - big buttons */
.publication--top .publication__buttons .button-1--circle {
    width: 6rem;
    height: 6rem;
    padding-left: 1.78571em;
    padding-right: 1.78571em;
}

/* Fix styles for webforms */
.rte.webform-preview h3,
.rte.webform-confirmation h3 {
    margin-top: 0;
}

.webform-preview .details-wrapper .form__field-wrapper {
    margin: 0;
}

.webform-preview .details-wrapper .form__field-wrapper .webform-container {
    margin: 0;
}

.webform-preview .details-wrapper .form__field-wrapper .webform-container legend {
    display: none;
}

.webform-submission-contact-form .message--succes {
    display: none;
}

/* Fix styles for polls */
.radio fieldset {
    margin: 0;
}

.input-as-button {
    border: 0;
    width: auto;
    cursor: pointer;
}

.site-infos span, .site-infos__address {
  font-family: "Ubuntu", sans-serif;
  font-size: 1.3rem;
  line-height: 1.6rem;
  font-weight: 300;
  font-style: normal;
  color: #fff;
  margin-bottom: .4rem;
}

.site-infos__social .ddm-demarches__social {
  position: relative;
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item {
  padding: 0;
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item a {
  position: relative;
  width: 3.2rem;
  height: 3.2rem;
  padding-left: 1.33333em;
  padding-right: 1.33333em;font-family: "Ubuntu", sans-serif;
  display: inline-block;
  vertical-align: middle;
  -webkit-transition: all ease .3s;
  transition: all ease .3s;
  text-decoration: none;
  font-weight: 700;
  color: #151e27;
  text-transform: uppercase;
  background: #41b6ba;
  /*font-size: 1.4rem;*/
  /*line-height: 1.14286em;*/
  /*padding: 0.85714em 1.57143em 0.85714em 2.42857em;*/
  outline-color: #151e27;
  overflow: hidden;
  /*font-size: 1.2rem;*/
  /*line-height: 1.16667em;*/
  text-align: left;
  text-indent: -9999px;
  white-space: nowrap;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.site-infos__social .ddm-demarches__social {
  top: auto;
  right: auto;
  font-size: inherit;
  line-height: inherit;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

.site-infos__social .ddm-demarches__social-item {
  margin-right: 3px;
}

@media (min-width: 0px) and (max-width: 767px) {
  .site-infos__social .ddm-demarches__social {
    display: flex;
    justify-content: center;
  }
}

.site-infos__social .ddm-demarches__social-item:not(:last-child):after {
  background-color: transparent;
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item a {
  font-size: 0;
  text-align: center;
  line-height: 1.6rem;
  text-indent: inherit;
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item a:before {
  display: inline-block;
  content: "";
  font-family: "icons-default";
  font-size: 1.4rem;
  line-height: 3.2rem;
  vertical-align: middle;
  color: #151e27;
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item a.youtube:before {
  content: '\e09c';
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item a.twitter:before {
  content: '\e09b';
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item a.facebook:before {
  content: '\e099';
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item a:hover {
  background: #15455a;
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item a:focus {
  outline: 1px dashed #79d0d3;
}

.site-infos__social .ddm-demarches__social .ddm-demarches__social-item a:hover:before {
  color: #79d0d3;
}

/* Fix search position */
.search-box {
    position: static;
}

#views-exposed-form-search-page-search .filters__fields.filters__fields--column-2 .filters__fields-wrapper > .filters__field-wrapper:first-child {
    flex: 1 0 98%;
}

/* Fix rss button */
a.list__rss:after {
    content: none !important;
}

.more-button {
    text-align: center;
}

.annuaire_activity {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
    color: #c70000;
}

.text-image-paragraph > .colPos0 > .story > h2 {
    margin-top: 0!important;
}

.date-picker-control:link {
    top: -27px;
    right: -203px;
}

.facet-item__count {
    color: black;
}

.facets-remove-all {
    margin-top: 15px;
}

.list-type-3--publication2 .summary-wrap {
    width: 100%;
}

.fieldset:first-child {
    margin-top: 0;
}

.fieldset {
    margin-top: 3em;
    margin-bottom: 6em;
    border: none;
    position: relative;
    background: transparent;
    min-width: inherit;
}

fieldset.radio legend span.form-required:after {
    content: ' (obligatoire)';
    color: #fe0000;
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
}

fieldset.radio legend {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    color: #494848;
    margin: 0 0 .38462em;
    cursor: pointer;
}

.webform-submission-job-form-form .webform-actions,
.webform-submission-multidestinary-contact-form .webform-actions,
.webform-submission-candidatures-spontanees-form .webform-actions{
    float: right;
}

.multi-mail {
    margin-bottom: -4.5em;
}

.custom-fieldset {
    margin: 0;
}

.button-annonce {
    width: 35%;
    float: right;
    margin-top: 6.42rem;
}

.sort-criteria {
    margin-right: 3em;
    text-decoration: none;
    list-style-type: none;
}

.sort-criteria-wrap {
    padding-left: 1em;
}

.not-active {
    pointer-events: none;
    cursor: default;
    text-decoration:none;
    margin: 1em 0 1.5em;
}

.not-active a {
    font-size: 1.3em;
    font-weight: 700;
    color: #494848;
}

.function-elus {
    font-weight:bold;
    color: #000;
}

.list-item--directory-elus .button-1 {
    padding: 1.03846em 2.30769em;
}
.list-item--directory-elus .button-1::before {
    display: none;
}

.detailed-mail:before {
    content: '\e029';
    font-size: 1.6rem;
}

.list-document__title-file {
    word-break: normal;
}

.heading__caption--center {
    margin: 0 auto;
}

.slick-slider__content .slick-slider__title a {
    color: #000;
    text-decoration: none;
}


/* Social view */
/*.filter-social {*/
/*    display: flex;*/
/*    flex-wrap: nowrap;*/
/*    margin: 0 -.2rem;*/
/*    justify-content: center;*/
/*}.filter-social__item {*/
/*     padding: 0 0.2rem;*/
/* }*/

/*.filter-social__link {*/
/*    display: block;*/
/*    width: 3.2rem;*/
/*    height: 3.2rem;*/
/*    border-radius: 50%;*/
/*    font-family: "Ubuntu Condensed", sans-serif;*/
/*    font-size: 1rem;*/
/*    line-height: 3.3rem;*/
/*    text-transform: uppercase;*/
/*    color: #151e27;*/
/*    background: #ebeef0;*/
/*    transition: all 300ms ease;*/
/*    text-align: center;*/
/*    position: relative;*/
/*    text-decoration: none;*/
/*}*/

/*.filter-social__link:hover,*/
/*.filter-social__link:focus {*/
/*    text-decoration: none;*/
/*    color: #41b6ba;*/
/*}*/

/*.filter-social__link:hover:before,*/
/*.filter-social__link:focus:before {*/
/*    color: #41b6ba;*/
/*}*/

/*.filter-social__link.active {*/
/*    text-decoration: none;*/
/*    background: #41b6ba;*/
/*    color: #fff;*/
/*}*/

/*.filter-social__link.active:before {*/
/*    color: #fff;*/
/*}*/

/*.filter-social__link:before {*/
/*    font-family: "icons-default";*/
/*    font-size: 1.5rem;*/
/*    color: #151e27;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    right: inherit;*/
/*    bottom: inherit;*/
/*    left: 50%;*/
/*    line-height: 1;*/
/*    text-indent: 0;*/
/*    transform: translate(-50%, -50%);*/
/*}*/

/*.filter-social__link.filter-social-facebook:before {*/
/*    content: "\e099";*/
/*}*/

/*.filter-social__link.filter-social-twitter:before {*/
/*    content: "\e09b";*/
/*}*/

/*.filter-social__link.filter-social-youtube:before {*/
/*    content: "\e09d";*/
/*}*/

/*.filter-social__link.filter-social-instagram::before {*/
/*    content: "\e0a1";*/
/*}*/

/*.social-list {*/
/*    margin: 0 -1.5rem -2.2rem;*/
/*}*/

/*.social-list__item {*/
/*    width: calc(33.333% - 3rem);*/
/*    margin: 0 1.5rem 2.8rem;*/
/*}*/

/*.social-block {*/
/*    position: relative;*/
/*}*/

/*.social-block.social-list-facebook .social-block__title,*/
/*.social-block.social-list-facebook .social-block__show-more,*/
/*.social-block.social-list-facebook .social-block__date,*/
/*.social-block.social-list-facebook .social-block__description a {*/
/*    color: #3b5998;*/
/*}*/

/*.social-block.social-list-twitter .social-block__title,*/
/*.social-block.social-list-twitter .social-block__show-more,*/
/*.social-block.social-list-twitter .social-block__date,*/
/*.social-block.social-list-twitter .social-block__description a {*/
/*    color: #00acee;*/
/*}*/

/*.social-block.social-list-youtube .social-block__title,*/
/*.social-block.social-list-youtube .social-block__show-more,*/
/*.social-block.social-list-youtube .social-block__date,*/
/*.social-block.social-list-youtube .social-block__description a {*/
/*    color: #c4302b;*/
/*}*/

/*.social-block.social-list-instagram .social-block__title,*/
/*.social-block.social-list-instagram .social-block__show-more,*/
/*.social-block.social-list-instagram .social-block__date,*/
/*.social-block.social-list-instagram .social-block__description a {*/
/*    color: #4c68d7;*/
/*}*/

/*.social-block.social-list-youtube .social-block__img-holder:before {*/
/*    content: "\e027";*/
/*    font-family: "icons-default";*/
/*    font-size: 1.8rem;*/
/*    line-height: 4.8rem;*/
/*    color: #111212;*/
/*    text-align: center;*/
/*    padding-left: 0.4rem;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    right: inherit;*/
/*    bottom: inherit;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%) scale(1);*/
/*    width: 5rem;*/
/*    height: 5rem;*/
/*    border-radius: 50%;*/
/*    background: rgba(255, 255, 255, 0.5);*/
/*    z-index: 1;*/
/*}*/

/*.social-block__ico {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    height: 3.5rem;*/
/*    position: relative;*/
/*    background: #41b6ba;*/
/*}*/

/*.social-block__ico:before {*/
/*    content: "";*/
/*    font-family: "icons-default";*/
/*    font-size: 1.6rem;*/
/*    line-height: 1em;*/
/*    color: #fff;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    right: inherit;*/
/*    bottom: inherit;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*}*/

/*.social-block__ico--facebook {*/
/*    background: #3b5998;*/
/*}*/

/*.social-block__ico--facebook:before {*/
/*    content: "\e099";*/
/*}*/

/*.social-block__ico--twitter {*/
/*    background: #00acee;*/
/*}*/

/*.social-block__ico--twitter:before {*/
/*    content: "\e09b";*/
/*}*/

/*.social-block__ico--youtube {*/
/*    background: #c4302b;*/
/*}*/

/*.social-block__ico--youtube:before {*/
/*    content: "\e09c";*/
/*}*/

/*.social-block__ico--instagram {*/
/*    background: #4c68d7;*/
/*}*/

/*.social-block__ico--instagram:before {*/
/*    content: "\e09c";*/
/*}*/

/*.social-block__img-holder {*/
/*    display: block;*/
/*    position: relative;*/
/*}*/

/*.social-block__img-holder img {*/
/*    display: block;*/
/*    width: 100%;*/
/*    max-width: 100%;*/
/*}*/

/*.social-block__head {*/
/*    display: flex;*/
/*    flex-wrap: nowrap;*/
/*    text-decoration: none;*/
/*    margin: 2.2rem 0 1.9rem;*/
/*}*/

/*.social-block__head:hover,*/
/*.social-block__head:focus {*/
/*    text-decoration: none;*/
/*}*/

/*.social-block__head:hover .social-block__title,*/
/*.social-block__head:focus .social-block__title {*/
/*    text-decoration: underline;*/
/*}*/

/*.social-block__head-avatar {*/
/*    width: 4.2rem;*/
/*    margin-right: 1.3rem;*/
/*    flex-shrink: 0;*/
/*}*/

/*.social-block__head-avatar img {*/
/*    display: block;*/
/*    width: 100%;*/
/*}*/

/*.social-block__head-text {*/
/*    flex-grow: 1;*/
/*}*/

/*.social-block__title {*/
/*    font-size: 1.4rem;*/
/*    line-height: 1.8rem;*/
/*    font-weight: 700;*/
/*    color: #41b6ba;*/
/*    margin: 0;*/
/*}*/

/*.social-block__subtitle {*/
/*    font-size: 1.1rem;*/
/*    line-height: 1.4rem;*/
/*    font-weight: 300;*/
/*    color: #717171;*/
/*    margin: 0.2rem 0 0;*/
/*}*/

/*.social-block__description {*/
/*    font-size: 1.3rem;*/
/*    line-height: 1.5rem;*/
/*    font-weight: 300;*/
/*    color: #000;*/
/*    margin: 1.9rem 0 .5rem;*/
/*}*/

/*.social-block__description a {*/
/*    text-decoration: underline;*/
/*}*/

/*.social-block__description a:hover,*/
/*.social-block__description a:focus {*/
/*    text-decoration: none;*/
/*}*/

/*.social-block__show-more {*/
/*    display: table;*/
/*    font-size: 1.3rem;*/
/*    line-height: 1.5rem;*/
/*    font-weight: 300;*/
/*    color: #41b6ba;*/
/*    margin: 0.5rem 0 1rem;*/
/*    text-decoration: underline;*/
/*}*/

/*.social-block__show-more:hover,*/
/*.social-block__show-more:focus {*/
/*    text-decoration: none;*/
/*}*/

/*.social-block__date {*/
/*    font-size: 1.1rem;*/
/*    line-height: 1.4rem;*/
/*    font-weight: 300;*/
/*    color: #41b6ba;*/
/*    margin: 1rem 0 0;*/
/*    text-transform: uppercase;*/
/*}*/

.fixed-menu_pointer {
    cursor: pointer;
}

.message--succes {
    background: #edfceb;
}

.video__list {
    font-size: inherit;
}

.result-content {
    padding: 5rem 0 0;
}

.video-embed-field-responsive-video:not(.video-embed-field-provider-dailymotion):after {
  padding-bottom: 0;
}
