* {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-display: swap;
}

html {
    background: #ededed;
    font-size: 16px;
    line-height: 20px;
}

body {
    margin: 0px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    margin: 0px;
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 25px;
}

h3 {
    font-size: 20px;
}


.container-center {
    max-width: 1280px;
    margin: 0px auto;
    padding: 0px 15px;
}

.content > .container-center {
  padding-top: 30px;
}

.d-flex {
    display: flex;
}

.justify-space-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.header-bar,
.footer-bar {
    background: #333;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.footer-bar i,
.header-bar i {
    color: #aaa;
}

.footer-bar .email,
.header-bar .email {
    margin-left: 15px;
}

.header-menu {
    background: white;
    padding: 50px 0;
}

.header-menu .logo {
    text-align: center;
}
.header-menu .logo p {
    font-size: 20px;
    margin: 0;
}

.header-menu .logo h1,
.header-menu .logo h2,
.header-menu .logo p {
    color: #666;
    text-transform: uppercase;
}

.header-menu ul.menu {
    list-style: none;
    padding: 0px;
    margin: 0px 5px 0px 0px;
    display: flex;
}

.header-menu ul.menu li {
    font-size: 18px;
    margin-left: 25px;
    display: block;
    text-transform: uppercase;
}

.header-leading {
    padding: 30px 0px 30px 0px;
    background: url('/images/leading-bg.jpg');
    background-repeat: no;
    background-size: cover;
    background-position: center center;
    min-height: 300px;

    /*
    text-shadow: 0px 0px 5px #ccc,
                 0px 0px 2px white;
                 */
    height: 40vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-leading  p {
  font-size: 24px;
  background: rgba(200, 200, 200, 0.5);
  font-weight: bold;
  text-align: center;
  line-height: 36px;
  padding: 10px;
}


.content hr {
    margin: 2rem 20%;
    border: 2px solid #999;
}

.domaine {
  display: flex;
  margin: 15px 0px;
}

.domaine > h4 {
  width: 30%;
  max-width: 300px;
}

.domaine > ul {
  width: 70%;
  margin: 0px;
  list-style: none;
}

div.image > img {
  display: block;
  max-width: 250px;
  max-height: 400px;
  width: auto;
  height: auto;
}

.portrait {
  margin-top: 25px;
  display: flex;
}

.portrait.portrait-right {
  flex-direction: row-reverse;
}

.portrait > div.image {
  width: 250px;
  margin: 0px 15px;
}

.portrait > div.caption {
  width: 40%;
}

.portrait > div.caption p:first-child {
  margin-top: 0;
}


.map {
    margin-top: 30px;
    height: 500px;
}


address {
    margin: 0px 0px 30px 0px;
    font-style: normal;
}

.content-contact > .d-flex {
  margin-top: 20px;
  justify-content: space-between;
}

.content-contact > .d-flex > address {
  width: calc(50% - 10px);
}

.content-contact > .d-flex > form{
  width: calc(50% - 10px);
}

.content-contact .phone,
.content-contact .email {
    text-align: center;
}

.form-item {
    margin-bottom: .6rem;
}

.form-item label {
    display: block;
    margin-bottom: .2rem;
}

.form-item textarea,
.form-item input,
form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 5px;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  background-image: none;
  border: 1px solid #999;
  /*border-radius: 4px; */
}

.portrait > div.image img.img-small {
  display: none;
}

.alert {
  margin-bottom: 15px;
  padding: 10px;
  font-weight: bold;
  border: 1px solid transparent;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.form-item-required {
  color: #721c24;
}

@media only screen and (max-width: 500px) {
    .header-menu ul.menu {
      display: block;
    }

    .header-menu ul.menu li {
      text-align: center;
      margin-top: 5px;
    }

    .domaine {
      display: block;
    }

    .domaine > h4,
    .domaine > ul {
      width: 100%;
    }

    .domaine > ul {
      margin-top: 10px;
      list-style: disc;
    }
}

@media only screen and (max-width: 700px) {
    .portrait {
      flex-direction: row-reverse;
    }

    .portrait > div.caption {
      width: 70%;
    }
    .portrait > div.image{
      width: 30%;
    }
    .portrait > div.image img {
      width: 100%;
    }

    .d-flex {
        display: block;
    }

    .content-contact > .d-flex > address {
      width: 100%;
    }

    .content-contact > .d-flex > form {
      width: 100%;
    }

    .footer-bar > .container-center > .d-flex,
    .header-bar > .container-center > .d-flex {
        display: flex;
        justify-content: space-between;
    }

    .header-menu ul.menu {
        margin-top: 15px;
        justify-content: center;
    }

    .header-menu ul.menu li {
        margin: 0px 15px;
    }

    .portrait > div.image img.img-small {
      display: block;
    }

    .portrait > div.image img.img-big {
      display: none;
    }
}
