@import url(core/skeleton.css);

/* ---------------------- General -------------------------------*/
body {
    background-color: #fff;
    color: #777;
    font: normal 15px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}
p {
    line-height: 20px;
    margin-bottom: 20px;
}
h1 {
    font-family: 'Crete Round', serif;
    font-weight: bold;
    color: #444;
    font-size: 45px;
    margin-bottom: 20px;
}
h2 {
    font-weight: 300;
    color: #444;
    font-size: 55px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}
h3 {
    font-size: 30px;
    color: #444;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}
h4 {
    font-size: 21px;
    color: #444;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}
h5 {
    font-size: 15px;
    color: #444;
    font-weight: bold;
    text-transform: uppercase;
}
a {
    text-decoration: none;
    color: #444;
}
a:hover {
    color: #88302f;
}
strong {
    font-weight: bold;
}
small {
    font-size: 13px;
    color: #777;
    font-style: italic;
}
.clear {
    clear: both;
}
.wrapper {
    margin: 0 auto;
    padding: 0 10px;
    width: 1200px;
}


/* ------------------ HEADER -------------------------*/ 

header {
    height: 80px;
    background-color: #fff;
    position: fixed;
    width: 100%;
    z-index: 1;
}

header div.wrapper a img.logo{
    float: left;
    margin-top: 16px;
    margin-right: 8px;
    width:50px;
    height:50px;
    border-radius: 45%;
}

header a h1 {
    float: left;
    margin-top: 13px;
}
header a h1 .color {
    /*color: #02b8dd;*/
    color: #88302f;
}
header nav.primary-navigation {
    float: right;
}
header nav.primary-navigation ul li {
    float: left;
    display: inline-block;
    margin-top: 35px;
    color: #444;
    text-transform: uppercase;
    font-weight: bold;
}
header nav.primary-navigation ul li a {
    display: block;
    margin-right: 20px;
}
header nav.primary-navigation ul li a.subtitle {
    display: block;
    margin-right: 20px;
    font-weight: initial;
}

nav.primary-navigation ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    
    padding-left: 0;
    width: 150px;
    display: none;
    background: white;
}

nav.primary-navigation ul li:hover > ul, nav.primary-navigation ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
    
    text-align: left;
    padding-top: 20px;
    box-shadow: 0px 3px 5px -1px #ccc;
}

nav.primary-navigation ul li ul li {
    clear: both;
    width: 100%;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
    border-style: none;
}

nav.primary-navigation ul li ul li a:hover {
    padding-left: 10px;
    border-left: 2px solid #88302f;
    transition: all 0.3s ease;
}

/* -------------------------- BODY ------------------- */ 

/* ---------- PART 1 -------------- */
#titlepage {
    height: 139px;
    padding-top: 80px;
    background: no-repeat center;
}
  
#titlepage article {
    width: 40%;
    margin-left: 30%;
    margin-right: 30%;
}
  
#titlepage article h1 {
    margin: 40px 0 40px 0;
    text-transform: capitalize;
    text-align: center;
}


/* ---------- PART 2 -------------- */

#intro-content{
    
    padding: 15px 0;
    text-align: left;
}

#intro-content div.wrapper{
    
    display: flex;
}

#intro-content img{
    width: 30%;
    border-radius: 15%;
}
#intro-content article{

    width: 70%;
}

#intro-content div.wrapper p{
    margin-bottom: 0;
}

#intro-content div.wrapper span#don_intro{
    margin-top: 14%;
    margin-left: 5%;
    display: inline-block;
}

#intro-content div.wrapper span#don_intro li{
    margin-left: 6%;
    list-style-type: disclosure-closed;
    margin-top: 2px;
    margin-bottom: 2px;
}

/* ---------- PART 3 -------------- */

div.subpart {
    
    padding: 0 0 15px 0;
    text-align: left;
}


/*----------- PART 3 : en savoir plus ------------*/


div.subpart_intro {
    padding: 0 0 15px 0;
    text-align: center;
}

div.subpart_intro article p {
    font-size: 17px;
    color: #777;
    font-weight: bolder;
    width: 75%;
    margin: 0 12.5% 0 12.5%;
}
/* ---------- PART 4 -------------- */



/* ---------- PART 5 -------------- */

#cta {
    padding: 15px 0;
    text-align: center;
}
#cta h3 {
    display: block;
    margin: 0 auto 20px auto;
    width: 400px;
    border-bottom: 1px solid #88302f;
    padding: 0 0 20px 0;
}
.button-2 {
    display: block;
    margin: 0 auto;
    border: 2px solid #88302f;
    color: #88302f;
    border-radius: 3px;
    width: 180px;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
}
.button-2:hover {
    background-color: #88302f;
    color: #fff;
}


/* ---------- FOOTER -------------- */

footer {
    padding: 60px 0;
    background-color: #ececec;
}
#footer-info {
    width: 60%;
    float: right;
    margin-top: 0px;
}
#footer-links {
    margin-top: 25px;
    width: 40%;
    float: left;
}
#footer-links ul {
    width: 175px;
    float: left;
    margin-left: 20px;
}
#footer-links ul li {
    margin: 10px 0;
}



/* ---------------- Contact -----------------*/


.contact-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    max-width: 840px;
  }
  
  /* Left contact page */
  .form-horizontal {
    /*float: left;*/
    max-width: 300px;
    font-family: 'Lato';
    font-weight: 300;
  }
  
  .form-horizontal, .form-group {
    /*margin-right: -15px;*/
    margin-left: -15px;
  }

  .form-group {
    margin-bottom: 5px;
  }

  .form-horizontal .form-group::before, .form-horizontal .form-group::after {
    display: table;
    content: " ";
  }

  .form-horizontal .form-group::after {
    clear : both;
  }



  .col-sm-12{
    width: 100%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
  }


  .form-control{
    display: block;
    width: 100%;
    height: 14px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  }

  .btn-primary {
    color: #fff;
    background-color: #8c2530;
    border-color: #2e6da4;
  }

  .btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
      border-top-color: transparent;
      border-right-color: transparent;
      border-bottom-color: transparent;
      border-left-color: transparent;
    border-radius: 4px;
  }


  button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
  }

  button, select {
    text-transform: none;
  }

  .form-control, textarea {
    max-width: 300px;
    background-color: #fff;
    color: #444;
    letter-spacing: 1px;
    margin-left: 15px;
  }

  .textarea {
    height: 34px;
  }
  
  .send-button {
    margin-top: 15px;
    margin-left: 15px;
    height: 34px;
    width: 326px;
    overflow: hidden;
    transition: all .2s ease-in-out;
  }
  
  .alt-send-button {
    width: 100%;
    height: 34px;
    transition: all .2s ease-in-out;
  }
  
  .send-text {
    display: block;
    margin-top: 10px;
    font: 700 12px 'Lato', sans-serif;
    letter-spacing: 2px;
  }
  
  .alt-send-button:hover {
    transform: translate3d(0px, -29px, 0px);
  }
  
  /* Begin Right Contact Page */
  .direct-contact-container {
    max-width: 300px;
  }
  
  #textmessage { 
    height: 85px;
  }

  /* Location, Phone, Email Section */
  .contact-list {
    list-style-type: none;
    margin-left: 5px;
    padding-right: 10px;
  }
  
  .list-item {
    line-height: 4;
    color: #444;
  }
  


  .contact-text {
    font: 300 16px 'Lato', sans-serif;
    letter-spacing: 0.5px;
    color: #444;
  }
  
  .place {
    margin-left: 62px;
  }
  
  .phone {
    margin-left: 56px;
  }
  
  .gmail {
    margin-left: 14px;
  }
  
  .contact-text a {
    color: #444;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  
  .contact-text a:hover {
    color: #fff;
    text-decoration: none;
  }
  
  
  /* Social Media Icons */
  .social-media-list {
    position: relative;
    font-size: 22px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  
  .social-media-list li a {
    color: #fff;
  }
  
  .social-media-list li {
    position: relative; 
    display: inline-block;
    height: 60px;
    width: 60px;
    margin: 10px 3px;
    line-height: 60px;
    border-radius: 50%;
    color: #fff;
    background-color: rgb(27,27,27);
    cursor: pointer; 
    transition: all .2s ease-in-out;
    margin: 0 10px; 
  }
  
  .social-media-list li:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 0 1px #fff;
    transition: all .2s ease-in-out;
  }
  
  .social-media-list li:hover {
    background-color: #fff; 
  }
  
  .social-media-list li:hover:after {
    opacity: 1;  
    transform: scale(1.12);
    transition-timing-function: cubic-bezier(0.37,0.74,0.15,1.65);
  }
  
  .social-media-list li:hover a {
    color: #000;
  }
  
  .copyright {
    font: 200 14px 'Oswald', sans-serif;
    color: #555;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 20px;
  }
  
  hr {
    border-color: rgba(255,255,255,.6);
  }
  
  /* Begin Media Queries*/
  @media screen and (max-width: 850px) {
    .contact-wrapper {
      display: flex;
      flex-direction: column;
    }
    .direct-contact-container, .form-horizontal {
      margin: 0 auto;
    }  
    
    .direct-contact-container {
      margin-top: 60px;
      max-width: 300px;
    }    
    .social-media-list li {
      height: 60px;
      width: 60px;
      line-height: 60px;
    }
    .social-media-list li:after {
      width: 60px;
      height: 60px;
      line-height: 60px;
    }
  }
  
  @media screen and (max-width: 569px) {
  
    .direct-contact-container, .form-wrapper {
      float: none;
      margin: 0 auto;
    }  
    .form-control, textarea {
      
      margin: 0 auto;
    }
   
    
    .name, .email, textarea {
      width: 280px;
    } 
    
    .direct-contact-container {
      margin-top: 60px;
      max-width: 280px;
    }  
    .social-media-list {
      left: 0;
    }
    .social-media-list li {
      height: 55px;
      width: 55px;
      line-height: 55px;
      font-size: 2rem;
    }
    .social-media-list li:after {
      width: 55px;
      height: 55px;
      line-height: 55px;
    }
    
  }
  
  @media screen and (max-width: 410px) {
    .send-button {
      width: 99%;
    }
  }





/*
nav.primary-navigation {
    margin: 0 auto;
    display: block;

    padding: 120px 0 0 0;  
    text-align: center;
    font-size: 16px;
}



nav.primary-navigation ul li {
    list-style: none;
    margin: 0 auto;
    border-left: 2px solid #3ca0e7;
    display: inline-block;
    padding: 0 30px;
    position: relative;
    text-decoration: none;
    text-align: center;
    font-family: arvo;
}

nav.primary-navigation li a {
    color: black;
}

nav.primary-navigation li a:hover {
    color: #3ca0e7;
}

nav.primary-navigation li:hover {
    cursor: pointer;
}
*/


#secondary-content {
    padding: 60px 0;
    text-align: center;
}
#secondary-content article {
    width: 460px;
    height: 270px;
    float: left;
    background-color: #f5f5f5;
    margin-left: 80px;
    margin-right: 40px;
    box-shadow : 25px 20px 6px 1px #ecebebb0;
}
#secondary-content article:first-child {
    margin-right: 40px;
}
#secondary-content article .overlay {
    background: rgba(255, 255, 255, .95);
    height: 230px;
    width: 190px;
    padding: 20px;
}
article h4 {
    border-bottom: 1px solid #88302f;
    padding-bottom: 20px;
}
.more-link {
    border: 1px solid #88302f;
    color: #88302f;
    padding: 6px 20px;
    border-radius: 3px;
}
.more-link:hover {
    background-color: #88302f;
    color: #fff;
}



a {
    text-decoration: none;
}

a.hover {
    color: #3CA0E7;
}

ul li ul li a { transition: all 0.5s ease; }

ul.plan {
    list-style: revert;
}

ul.plan li{
    margin-left: 40px;
}

ul.subplan{
    list-style: revert;
}

ul.subplan li{
    margin-left: 70px;
}


/* ---------- PART 2 -------------- */

#branches ul {
    margin: 80px 0;
  }
  #branches ul li {
    width: 500px;
    height: 400px; 
    float: left;
    margin-left: 4%;
    margin-right: 4%;
    text-align: center;
    background-color: #f8fafa;
    box-shadow: 0px 0px 10px 1px #e6e6e6;
    border-radius: 5%;
  }
  #branches ul li article{
    width: 30%;
    height: 35%;
    position: relative;
    left: 35%;
    top: -15%;
    display: flex;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  #branches ul li h4, #branches ul li p{
    margin-left: 20px;
    margin-right: 20px;
    color: #444;
  }
  
  #branches ul li h4 {
    margin-top: -8%;
  }
  
  #branches ul li span {
    font-weight: bold;
    display: block;
    margin-inline-start: 20px;
    margin-inline-end: 20px;
  }