@import url("https://fonts.googleapis.com/css?family=Montserrat:400,700");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic");
body {
  color: #51524e;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 26px;
  min-width: 1250px;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

a {
  color: #0080ff;
  text-decoration: none;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  background: transparent;
  border: 0;
  font-size: 100%;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
}

ul.menu {
  border: none;
  list-style: none;
  text-align: left;
}

h2 {
  color: #0080ff;
  font: 400 40px/40px "Montserrat", sans-serif;
  margin-bottom: 70px;
  text-align: center;
  text-transform: uppercase;
}

p {
  margin-bottom: 26px;
}

input[type="text"],
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="number"],
input[type="month"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="week"],
textarea,
select {
  background: #fff;
  border: 1px solid #616161;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  color: #51524e !important;
  font: 16px "Open Sans", sans-serif;
  max-width: 100%;
  padding: 12px 15px;
}

#page-wrapper {
  background: #fff;
  overflow: hidden;
}

#header {
  position: relative;
  width: 100%;
}

.stickup {
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  z-index: 9999;
}

.logo-wrapper {
  background: url(../images/header-bg.png) center bottom no-repeat;
  background-size: 100% auto;
  margin-top: -160px;
  padding: 245px 0 79px;
}

.img-logo {
  display: inline-block;
  margin-left: 0;
}

.menu-wrapper {
  padding: 68px 0 27px;
  position: relative;
  z-index: 101;
}

.menu-wrapper .inner {
  padding: 20px 0;
}

.region {
  position: relative;
  z-index: 1;
}
.region:after {
  clear: both;
  content: "";
  display: block;
  overflow: hidden;
  width: 100%;
}
.region-page-bottom {
  position: static;
}

#main-menu {
  background: none;
  margin: 0;
  width: auto;
  z-index: 101;
  position: relative;
}
#main-menu:after {
  clear: both;
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  width: 0;
}
#main-menu > li {
  background: none;
  border: 0;
  margin: 0 0 0 25px;
  overflow: inherit;
  padding: 0;
  text-transform: uppercase;
  display: inline;
  font: 400 14px/26px "Montserrat", sans-serif;
}

#main-menu > li:first-child {
  margin-left: 0;
}

#main-menu > li > a {
  color: #230040;
  text-decoration: none;
}

#main-menu > li > a:hover {
  color: #0080ff;
}

.main-wrapper {
  background: #f6f6f6 !important;
}

.content-wrapper {
  position: relative;
}

#main {
  padding: 20px 0 106px;
  position: relative;
  text-align: left;
  z-index: 2;
}

.node {
  border-top: 0;
  clear: both;
  margin-top: 25px;
  padding-top: 0;
}
.node:first-child {
  background: none;
  border-top: 0;
  padding-top: 0;
}
.node > div {
  margin-bottom: 46px;
  position: relative;
}

.node > div:nth-child(2) h4,
.node > div:nth-child(2) h3 {
  font: 400 26px/30px "Montserrat", sans-serif;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.node > div:nth-child(2) h4 a:hover,
.node > div:nth-child(2) h3 a:hover {
  color: #e4818c !important;
  text-decoration: none;
}

.node img {
  width: 100%;
}

article ul,
.node ul {
  margin: 0 0 26px 50px;
}

img {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: auto;
  max-width: 100%;
}

#footer {
  background: #230040;
  clear: both;
  color: #fff;
  padding: 0;
  position: relative;
  font: 400 16px/28px "Montserrat", sans-serif;
  text-transform: uppercase;
}
#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6,
#footer a {
  color: #fff;
}

#footer a:hover {
  color: #e4818c !important;
  text-decoration: none;
}

#footer-logo {
  background: url(../images/footer-logo.png) center bottom no-repeat;
  width: 64px;
  height: 64px;
}

.sitelogo {
  margin-bottom: 16px;
  padding-left: 30px;
}

.sitename {
  font: 400 24px/30px "Montserrat", sans-serif;
  letter-spacing: 1px;
  margin-bottom: 27px;
  text-transform: uppercase;
}
.vr {
  background: rgba(255, 255, 255, 0.6);
  display: inline-block;
  height: 31px;
  margin: 0 9px;
  vertical-align: -10px;
  width: 1px;
}

.block-email:before {
  background: url(../images/email-icon.png) 0 0 no-repeat;
  content: "";
  display: block;
  height: 19px;
  margin-bottom: 7px;
  width: 27px;
}

.views-row {
  background: #fff;
  padding-bottom: 20px;
  min-height: 480px;
  margin-bottom: 30px;
  text-align: center;
  max-width: 364px;
  height: 100%;
}

.views-field-field-image {
  margin-bottom: 44px;
  position: relative;
}
.views-field-field-image img {
  height: 188px;
  min-width: 266px;
  object-fit: cover;
  clip: rect(0, 0, 10px, 20px);
}

.views-field-title {
  height: 90px;
  width: 100%;
  text-align: center;
  margin-bottom: 22px;
}

.views-field-title .field-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.views-field-title .field-content a {
  height: 90px;
  display: flex;
  align-items: center;
  font: 400 26px/30px "Montserrat", sans-serif;
  letter-spacing: 1px;
  padding: 4px;
}

.views-field-view-node a {
  background: none;
  border: 1px solid;
  border-radius: 0;
  display: inline-block;
  font: 400 16px/26px "Montserrat", sans-serif;
  outline: none;
  padding: 11px 30px;
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Page datadock */
.page-datadock #main-menu > li > a.is-active,
.page-datadock #main-menu > li > a.is-active:hover,
.page-datadock .block-title {
  color: #fbd53d !important;
}
.page-datadock .views-field a {
  color: #fbd53d !important;
  border-color: #fbd53d !important;
  box-shadow: none;
}
.page-datadock .views-field a:hover {
  color: #fff !important;
  background-color: #fbd53d !important;
  text-decoration: none;
}

/* Page de referencement */
.page-referencement #main-menu > li > a.is-active,
.page-referencement #main-menu > li > a.is-active:hover,
.page-referencement .block-title {
  color: #fb6a41 !important;
}
.page-referencement .views-field a {
  color: #fb6a41 !important;
  border-color: #fb6a41 !important;
  box-shadow: none;
}
.page-referencement .views-field a:hover {
  color: #fff !important;
  background-color: #fb6a41 !important;
  text-decoration: none;
}
.page-referencement .node > div:nth-child(2) h4,
.page-referencement .node > div:nth-child(2) h3,
.page-referencement .node > div:nth-child(2) h4 a,
.page-referencement .node > div:nth-child(2) h3 a {
  color: #fb6a41;
}

/* Page la loi */
.page-la-loi #main-menu > li > a.is-active,
.page-la-loi #main-menu > li > a.is-active:hover,
.page-la-loi .block-title {
  color: #4fc465 !important;
}
.page-la-loi .views-field a {
  color: #4fc465 !important;
  border-color: #4fc465 !important;
  box-shadow: none;
}
.page-la-loi .views-field a:hover {
  color: #fff !important;
  background-color: #4fc465 !important;
  text-decoration: none;
}

/* Page controle */
.page-controle #main-menu > li > a.is-active,
.page-controle #main-menu > li > a.is-active:hover,
.page-controle .block-title {
  color: #ff8f8f !important;
}
.page-controle .views-field a {
  color: #ff8f8f !important;
  border-color: #ff8f8f !important;
  box-shadow: none;
}
.page-controle .views-field a:hover {
  color: #fff !important;
  background-color: #ff8f8f !important;
  text-decoration: none;
}
.page-controle .node > div:nth-child(2) h4,
.page-controle .node > div:nth-child(2) h3,
.page-controle .node > div:nth-child(2) h4 a,
.page-controle .node > div:nth-child(2) h3 a {
  color: #ff8f8f;
}

.breadcrumb {
  background-color: none;
}

#breadcrumb {
  color: #51524e;
  margin-bottom: 30px;
  padding: 0;
}
#breadcrumb a {
  color: inherit;
  padding: 0 3px;
  text-decoration: none;
}
#breadcrumb a:first-child {
  padding-left: 0;
}
#breadcrumb a:last-child {
  padding-right: 0;
}
#breadcrumb a:hover {
  color: #e4818c;
}

.file--application-pdf {
  padding-left: 24px;
  background: url(../images/application-pdf.png) 0 0 no-repeat;
  display: block;
  margin-bottom: 28px;
  text-align: left;
}

.file--application-pdf a:hover {
  color: #0080ff;
}

#block-newsletter .newsletter-title {
  background: #ff8e8e;
  color: #fff;
  min-height: 120px;
}
#block-newsletter .newsletter-title h2 {
  color: #fff;
  margin-top: 80px;
}

#block-newsletter .newsletter-content {
  background: #fd7d6a;
  color: #fff;
  padding: 84px 0px;
}

#block-newsletter .newsletter-content .simple_subscription_header {
  font-weight: 600;
  width: 364px;
  font-family: "Open Sans", sans-serif;
}

#block-newsletter .newsletter-content .form-type-textfield input[type="email"] {
  border: none;
  box-shadow: none;
  color: #888 !important;
  font-size: 18px;
  padding: 18px 30px 19px;
  width: 100%;
}

#block-newsletter .newsletter-content input[type="submit"] {
  background: #0080ff;
  border: none;
  box-shadow: none;
  color: #fff;
  float: left;
  font: 400 22px/30px "Montserrat", sans-serif;
  padding: 16px 34px 17px;
  text-transform: uppercase;
}
#block-newsletter .newsletter-content input[type="submit"]:hover {
  background: #e4818c;
}

#block-views-block-bloc-accueil-block-1 {
  background: url(../images/bg01.jpg) 0 0 no-repeat;
  padding-top: 114px;
  text-align: center;
}

#block-views-block-bloc-accueil-block-1:before {
  border-color: #fff transparent transparent transparent;
  border-style: solid;
  border-width: 46px 72px 0 72px;
  content: "";
  height: 0;
  left: 50%;
  margin-left: -72px;
  position: absolute;
  top: 0;
  width: 0;
  z-index: 1;
}

#block-views-block-bloc-accueil-block-1 .block-title {
  margin-bottom: 40px;
}

#block-views-block-bloc-accueil-block-1 .subtitle {
  margin-bottom: 40px;
  color: #0080ff;
  font: 400 20px/26px "Open Sans", sans-serif;
  letter-spacing: 3px;
  text-transform: lowercase;
  text-align: center;
}

#block-views-block-bloc-accueil-block-1 a {
  text-transform: uppercase;
  font-size: 22px;
}

#block-views-block-bloc-accueil-block-1 .views-field-view-node a {
  border-color: #0080ff;
  box-shadow: none;
  color: #0080ff;
}

#block-views-block-bloc-accueil-block-1 a:hover {
  color: #220040 !important;
  border-color: #220040 !important;
  text-decoration: none;
}

.col-views {
  padding-right: 8px;
  padding-left: 8px;
}

#block-views-block-bloc-accueil-block-1 .views-row {
  margin-bottom: 0px;
}

#block-views-block-bloc-accueil-block-1
  .col-views:first-child
  .views-field-title
  a {
  color: #4fc465;
}
#block-views-block-bloc-accueil-block-1
  .col-views:nth-child(2)
  .views-field-title
  a {
  color: #fb6a41;
}
#block-views-block-bloc-accueil-block-1
  .col-views:nth-child(3)
  .views-field-title
  a {
  color: #ff8f8f;
}
#block-views-block-bloc-accueil-block-1
  .col-views:nth-child(4)
  .views-field-title
  a {
  color: #fbd53d;
}

/* Actualites en page d'accueil */
.actualities-view.views-row {
  background: #fff;
  margin-bottom: 0px;
  text-align: left;
  padding: 54px !important;
  color: #9c9890;
  border: 1px #f4f4f4 solid;
  max-width: 550px;
  min-height: 318px;
}
.actualities-view.views-row .views-field-view-node {
  padding: 72px 0px 16px;
}
.actualities-view.views-row .views-field-view-node a {
  border: none;
  padding: 0px;
}
.actualities-view.views-row .views-field-created {
  color: #0080ff;
}

.page-accueil .main-wrapper {
  background: #fff !important;
}
.page-accueil .section_1_wrapper {
  position: relative;
}
.page-accueil .section_1_wrapper:before {
  border-color: #fff transparent transparent transparent;
  border-style: solid;
  border-width: 46px 72px 0 72px;
  content: "";
  height: 0;
  left: 50%;
  margin-left: -72px;
  position: absolute;
  top: 0;
  width: 0;
  z-index: 1;
}

.page-accueil .content-wrapper {
  padding-top: 34px;
}

.page-accueil .content-wrapper:before {
  background-color: #fbfbfa;
  background-image: -moz-linear-gradient(top, #fafaf8, #fdfdfd);
  background-image: -webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(#fafaf8),
    to(#fdfdfd)
  );
  background-image: -webkit-linear-gradient(top, #fafaf8, #fdfdfd);
  background-image: -o-linear-gradient(top, #fafaf8, #fdfdfd);
  background-image: linear-gradient(to bottom, #fafaf8, #fdfdfd);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafaf8', endColorstr='#fffdfdfd', GradientType=0);
  content: "";
  display: block;
  height: 263px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.actualites-view {
  max-width: none !important;
  min-height: min-content;
  width: 100%;
  height: 100%;
  padding: 20px;
  text-align: left;
}

.actualites-view .views-field-title {
  height: min-content;
}

.actualites-view .views-field-title .field-content {
  justify-content: left;
  text-align: left;
}

.actualites-view .views-field-title .field-content a {
  color: #0080ff;
  font-weight: 700;
  font-size: 22px;
  height: min-content;
  padding: 0px;
}

.actualites-view .views-field-title .field-content a:hover {
  color: #e4818c;
  text-decoration: none;
}

.actualites-view .views-field-view-node a {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 16px;
  color: #0080ff;
  float: right;
}
.actualites-view .views-field-view-node a:hover {
  background: none;
  color: #0080ff;
  font-weight: 700;
}

.actualites-view .views-field-body {
  padding-bottom: 24px;
}

@media only screen and (min-width: 768px) {
  .page-actualites .col-views {
    flex-basis: calc(50% - 10px);
    padding: 10px;
    max-width: 50%;
  }
}

.pager {
  display: flex;
  align-self: flex-end;
  flex-direction: column;
  text-align: center;
  flex: 1;
}
.pager__items {
  text-align: center !important;
  list-style: none;
}
.pager__items li a:hover {
  color: #89466a;
  text-decoration: none;
}
.pager__items li {
  color: #4e4f4b;
  display: inline-block;
  font-size: 20px;
  line-height: 30px;
  margin: 0 10px 5px 0;
  padding: 0;
  text-transform: uppercase;
}
.pager__items li a {
  color: inherit;
  font: inherit;
}
.pager__items .is-active {
  color: #89466a;
}

/* Site branding */

.branding {
  margin-top: -44px;
  z-index: 1;
  position: relative;
  padding-bottom: 100px;
}

.branding > div > div {
  text-align: left;
}

.branding .branding-links h2 {
  font-size: 50px;
  line-height: 60px;
  margin-bottom: 17px;
  text-align: left;
  color: #230040;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}
.branding .branding-links p {
  color: #0080ff;
  font: 400 24px/30px "Montserrat", sans-serif;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.branding .branding-links a {
  color: inherit;
}
.branding .branding-links a:hover {
  color: inherit;
  text-decoration: none;
}
@media only screen and (min-width: 768px) {
  .branding .branding-links {
    max-width: 50%;
  }
}

@media only screen and (min-width: 768px) {
  .branding > div > div {
    display: flex;
  }
  .branding .branding-image {
    width: 100%;
  }
  .branding .branding-image img {
    width: 75%;
    margin-top: -120px;
  }
}

/* Contact From wrapper */
.contact-message-form > div {
  text-align: left;
}
.contact-message-form > div > div {
  max-width: none !important;
  float: left;
  margin-bottom: 30px;
  margin-left: 5%;
  width: 30%;
  padding: 0;
}
.contact-message-form > div > div:nth-last-child(3),
.contact-message-form > div > div:nth-last-child(2),
.contact-message-form > div > div:nth-last-child(1) {
  width: 100%;
  margin-left: 0;
}
.contact-message-form > div > div:nth-last-child(1) {
  margin-bottom: 130px;
}
.contact-message-form > div > div:first-child {
  margin-left: 0;
}

.contact-message-form .form-text {
  margin-top: 0;
}

.contact-message-form .form-textarea {
  width: 100% !important;
  margin-left: 0 !important;
}

.form-button.reset-btn {
  display: none;
}

.contact-message-form .form-button.reset-btn {
  display: inline !important;
}

.form-button,
.form-submit {
  background: none;
  border: 1px solid #4e4f4b;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 30%);
  color: #4e4f4b;
  display: inline-block;
  font: 400 16px/26px "Montserrat", sans-serif;
  outline: none;
  padding: 11px 30px;
  text-decoration: none;
  text-transform: uppercase;
  margin-right: 10px;
}
.form-button:hover,
.form-submit:hover {
  background: #4e4f4b;
  color: #fff;
  text-decoration: none;
}

.container {
  padding-right: 0;
  padding-left: 0;
}

/* Messages */
div.messages {
  margin-bottom: 30px;
  padding-right: 30px;
  position: relative;
  background-position: 8px 8px;
  background-repeat: no-repeat;
  border: 1px solid;
  padding: 10px 10px 10px 50px;
}

div.success {
  background-image: url(../images/message-24-ok.png);
  border-color: #be7;
}

div.error {
  background-image: url(../images/message-24-ok.png);
  border-color: rgba(218, 36, 36, 0.301);
  color: red;
}

div.messages .dismiss {
  box-shadow: none;
  border-radius: 2px;
  font-family: "Open Sans", sans-serif;
  line-height: normal;
  padding: 2px 6px 4px;
  text-transform: lowercase;
  width: auto;
}
.dismiss:before {
  content: "\2715";
}

div.success .dismiss {
  background: #be7;
  color: #000;
  text-shadow: none;
}

.dismiss {
  display: block;
  position: absolute;
  top: 0.4em;
  right: 0.4em;
  border: 0;
  font-weight: 900;
  text-align: center;
  text-shadow: -1px -1px 0px rgb(0 0 0 / 40%);
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 1px 1px 0px rgb(0 0 0 / 40%);
  opacity: 0.5;
  cursor: pointer;
  -webkit-transition: 0.1s opacity linear;
  -moz-transition: 0.1s opacity linear;
  -ms-transition: 0.1s opacity linear;
  -o-transition: 0.1s opacity linear;
  transition: 0.1s opacity linear;
}

#block-datadock-content form > div > * {
  margin-bottom: 30px;
}
