body {
    font: 400 15px Lato, sans-serif;
    line-height: 1.8;
    /*background:linear-gradient(141deg, #ccc 25%, #eee 40%, #ddd 55%);*/
    color: #818181;
    overflow-x: hidden;
  }

 .sticky {   
    min-height: 50vh ;
    
    /*background-attachment: fixed;*/
    /*background-position: center;*/
    background-repeat: no-repeat;
    /*-webkit-background-size: cover;
    -moz-background-size: cover;*/
    background-size: cover;
 }

 .parallax-container {
    height: 80vh;
    overflow: hidden;
    position: relative;
 }

 .parallax-item {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  /*BARRE AVANCEMENT SCROLLING*/
  .progress-container {
    width: 100%;
    height: 4px;
    background: #183859;
    box-shadow: 0 2px #18395973;
  }

  .progress-bar {
    height: 4px;
    background: #ef7911;
    width: 0%;
  }

  h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #EF7911;
    font-weight: 600;
    margin-bottom: 30px;
  }

  h4 {
    font-size: 19px;
    line-height: 1.375em;
    color: #303030;
    font-weight: 400;
    margin-bottom: 30px;
  }  

  .p-ref-contact {
    font-size: 24px;
    text-transform: uppercase;
    color: #EF7911;
    font-weight: 600;
    margin-bottom: 30px;
  }

  .logo-ref {
    height: 50px;
    padding: 5px 5px 5px 5px;
  }

  .jumbotron {
    
    /*background-image: url("https://www.spcertification.ch/img/conduites-orange.png");
    background-size: cover;*/
    color: #ef7911;
    height: 85vh;
    font-family: Montserrat, sans-serif;
    margin-bottom: 0px ;
    background-color: #fff;
    padding: 0;
    
  }

  .div-fleche-bas {
    height: 15vh;
    background-color: #fff;
  }

  .fleche-bas {
    color:#ef7911; 
    font-size: 50px;
  }

  .container-fluid {
    padding: 120px 30px 60px 30px;
  }


  .logo-small {
    color: #ef7911;
    font-size: 50px;
  }
  .logo {
    color: #ef7911;
    font-size: 150px;
  }
  .thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
  }
  .thumbnail img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
  }

  .align {
    display: flex ;
    align-items: stretch ;
  }

  .justify {
    display: flex;
    justify-content: center;
  }

  .justify-align {
    display: flex;
    align-items: stretch ;
    justify-content: center;
  }

  .carousel-control.right, .carousel-control.left {
    background-image: none;
    color: #ef7911;
  }
  .carousel-indicators li {
    border-color: #183859;
  }
  .carousel-indicators li.active {
    background-color: #183859;
  }
  .item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
  }
  .item span {
    font-style: normal;
  }

  /*PANEL*/
  .panel {
    border: 1px solid #183859; 
    border-radius:0 !important;
    transition: box-shadow 0.5s;
  }
  .panel:hover {
    box-shadow: 5px 0px 40px rgba(0,0,0, .2);
  }
  .panel-footer .btn:hover {
    border: 1px solid #ef7911;
    background-color: #fff !important;
    color: #183859;
  }
  .panel-heading {
    color: #fff !important;
    background-color: #183859 !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .panel-footer {
    background-color: white !important;
  }
  .panel-footer h3 {
    font-size: 32px;
  }
  .panel-footer h4 {
    color: #aaa;
    font-size: 14px;
  }
  .panel-footer .btn {
    margin: 15px 0;
    background-color: #183859;
    color: #fff;
  }

  /*NAVBAR*/
  .navbar {
    margin-bottom: 0;
    background-color: #fff;
    z-index: 9999;
    border: 0;
    font-size: 12px !important;
    line-height: 1.42857143 !important;
    letter-spacing: 4px;
    border-radius: 0;
    font-family: Montserrat, sans-serif;
  }
  .navbar li a, .navbar .navbar-brand {
    color: #ef7911 !important;
    padding-bottom: 10px;
    
  }

  .li {
    margin: 5px 0px ;
  }


  .navbar-brand {
    height: 80px ;

    margin-bottom: 30px ;
  }

  .navbar-nav li a:hover {
    color: #ef7911 !important;
    background-color: #00355F !important;
  }

  .navbar-nav li.active a {
    color: #00355F !important;
    background-color: #fff !important;
  }

  .navbar-default .navbar-toggle {
    border-color: transparent;
    color: #fff !important;
  }

  .navbar-toggle {
    margin-right: 1px;
  }

  .container {
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
    margin-left: 30px ;
    margin-right: 30px ;
  }

  footer .glyphicon {
    font-size: 50px;
    margin-bottom: 20px;
    color: #ef7911;
  }

  .regl {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  
  
  @media screen and (max-width: 900px) {
    .col-sm-3 {
      min-width: 245px ;
      
    }
    
  }

  @media screen and (max-width: 767px) {
    .col-sm-4 {
      text-align: center;
      margin: 25px 0;
    }
    .btn-lg {
      width: 100%;
      margin-bottom: 35px;
    }
  }


  @media screen and (max-width: 550px) {
    .logo {
      font-size: 100px;
    }
  }

  /*SMARTPHONE*/
  /*@supports (-webkit-overflow-scrolling: touch) {
    .sticky {
    background-attachment: local, scroll ;
    }
  }*/

  @media only screen and (max-width: 420px) {
    .navbar-brand {
      padding-left: 0px;
    }

    .test {
      margin-left: 5px ;
      
    }
  }

  @media only screen and (max-width: 440px) {

    .jumbotron {
      height: 80vh;
    }

    .div-fleche-bas {
      height: 20vh;
    }

    .fleche-bas { 
      font-size: 30px;
    }

    h1 {
      font-size: 20px;
      /*font-weight: bold;*/
    }

    p {
      font-size: 12px;
      /*font-weight: 600;*/
    }

    #exp {
      font-size : 10px;
    }

    #pres {
      font-size : 10px;
    }

    #regl {
      font-size : 10px;
    }

    #ref {
      font-size : 10px;
    }
    
    .section {
      width: 100%;
      height: 300px;
      display: block;
    }

    .section-audit-certif {
      width: 100%;
      height: 500px;
      display: block;
    }    

    .parallax1 {   
      background-image: url("https://www.spcertification.ch/img/Tuyauterie-sm2.jpg");
    }

    .parallax2 {
      background-image: url("https://www.spcertification.ch/img/img-casque.jpg");
    }

    .parallax3 {            
      background-image: url("https://www.spcertification.ch/img/reglementation-bleu.png");
    }

    .parallax4 {            
      background-image: url("https://www.spcertification.ch/img/ESP-bleu-sm.png");
    }

    .div-text-gauche {
      height: 65%;
      padding: 2rem;
      float: top;
    }

    .div-text-certif {
      height: 65%;
      padding: 2rem;
      float: top;
    }

    .div-text-droite {
      height: 50%;
      padding: 2rem;
      float: top;
    }

    .div-img-droite-audit {
      position: relative;
      width: 100%;
      height: 35%;
      float:bottom;
      background-image: linear-gradient(to top, transparent, #fff), url("https://www.spcertification.ch/img/conduites-audit-bleu.png");
      background-size: cover;
    }

    .div-img-gauche-concept {
      position: relative;
      width: 100%;
      height: 50%;
      float:bottom;
      background-image: linear-gradient(to top, transparent, #fff), url("https://www.spcertification.ch/img/cuves-concept-bleu.png");
      background-size: cover;
    }

    .div-img-droite-certification {
      position: relative;
      width: 100%;
      height: 35%;
      float:bottom;
      background-image: linear-gradient(to top, transparent, #fff), url("https://www.spcertification.ch/img/echangeur-bleu.png");
      background-size: cover;
    }

    .div-img-gauche-formation {
      position: relative;
      width: 100%;
      height: 50%;
      float:bottom;
      background-image: linear-gradient(to top, transparent, #fff), url("https://www.spcertification.ch/img/conduites-formation-bleu.png");
      background-size: cover;
    }
  }

  /*DEMI-ECRAN*/
  @media only screen and (min-width: 441px) and (max-width: 700px) {

    #exp {
      font-size : 10px;
    }

    #pres {
      font-size : 10px;
    }

    #regl {
      font-size : 10px;
    }

    #ref {
      font-size : 10px;
    }

    .section {
      width: 100%;
      height: 400px;
      display: block;
    }

    .section-audit-certif {
      width: 100%;
      height: 700px;
      display: block;
    }
    
    .parallax1 {
      background-image: url("https://www.spcertification.ch/img/Tuyauterie-sm2.jpg");
    }

    .parallax2 {            
      background-image: url("https://www.spcertification.ch/img/img-casque.jpg");
    }

    .parallax3 {            
      background-image: url("https://www.spcertification.ch/img/reglementation-bleu.png");
    }

    .parallax4 {            
      background-image: url("https://www.spcertification.ch/img/ESP-bleu-sm.png");
    }

    .div-text-gauche {
      height: 50%;
      padding: 2rem;
      padding-left: 4rem;
      float: top;
    }

    .div-text-droite {
      height: 50%;
      padding: 2rem;
      float: top;
    }

    .div-img-droite-audit {
      position: relative;
      width: 100%;
      height: 50%;
      float:bottom;
      background-image: linear-gradient(to top, transparent, #fff), url("https://www.spcertification.ch/img/conduites-audit-bleu.png");
      background-size: cover;
    }

    .div-img-gauche-concept {
      position: relative;
      width: 100%;
      height: 50%;
      float:bottom;
      background-image: linear-gradient(to top, transparent, #fff), url("https://www.spcertification.ch/img/cuves-concept-bleu.png");
      background-size: cover;
    }

    .div-img-droite-certification {
      position: relative;
      width: 100%;
      height: 50%;
      float:bottom;
      background-image: linear-gradient(to top, transparent, #fff), url("https://www.spcertification.ch/img/echangeur-bleu.png");
      background-size: cover;
    }

    .div-img-gauche-formation {
      position: relative;
      width: 100%;
      height: 50%;
      float:bottom;
      background-image: linear-gradient(to top, transparent, #fff), url("https://www.spcertification.ch/img/conduites-formation-bleu.png");
      background-size: cover;
    }
  }

  /*PLEIN ECRAN*/
  @media only screen and (min-width: 701px) {

    .section {
      max-width: 1300px;
      height: 400px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .section-audit-certif {
      max-width: 1300px;
      height: 400px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .parallax1 {            
      background-image: url("https://www.spcertification.ch/img/Tuyauterie.jpg");
    }

    .parallax2 {            
      background-image: url("https://www.spcertification.ch/img/img-casque.jpg");
    }

    .parallax3 {            
      background-image: url("https://www.spcertification.ch/img/reglementation-bleu.png");
    }

    .parallax4 {            
      background-image: url("https://www.spcertification.ch/img/ESP-bleu.png");
    }

    .div-text-gauche {
      width: 50%;
      height: 100%;
      padding: 2rem;
      float: left;
    }

    .div-text-droite {
      width: 50%;
      height: 100%;
      padding: 2rem;
      float: right;
    }

    .div-img-droite-audit {
      position: relative;
      width: 50%;
      height: 100%;
      float:right;
      background-image: linear-gradient(to left, transparent, #fff), url("https://www.spcertification.ch/img/conduites-audit-bleu.png");
      background-size: cover;
    }

    .div-img-gauche-concept {
      position: relative;
      width: 50%;
      height: 100%;
      float:left;
      background-image: linear-gradient(to right, transparent, #fff), url("https://www.spcertification.ch/img/cuves-concept-bleu.png");
      background-size: cover; 
    }

    .div-img-droite-certification {
      position: relative;
      width: 50%;
      height: 100%;
      float:right;
      background-image: linear-gradient(to left, transparent, #fff), url("https://www.spcertification.ch/img/echangeur-bleu.png");
      background-size: cover;
    }

    .div-img-gauche-formation {
      position: relative;
      width: 50%;
      height: 100%;
      float:left;
      background-image: linear-gradient(to right, transparent, #fff), url("https://www.spcertification.ch/img/conduites-formation-bleu.png");
      background-size: cover; 
    }
  }