
/********** Base styles **********/
* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-size: 100%;
  background-color: #c5d1f3;
}

h1 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding: 15px;
}

section {
  position: relative;
  border: 1px solid #63DD8D;
  background-color: #c5d1f3;
  
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
}
/********** end Base styles **********/
  
/** HEADER **/
#header-nav {
  background-color: #024E68;
  border-radius: 0;
  border: 0;
}

.navbar-brand {
  padding-top: 25px;
}
.navbar-brand h1 { /* heder */
  font-family: 'Lora', serif;
  color: #00BB3F;
  font-size: 1.5em;
  text-transform: uppercase;
  font-weight: bold;
  text-shadow: 1px 1px 1px #63DD8D;
  margin-top: 0;
  margin-bottom: 0;
  line-height: .75;
}
.navbar-brand a:hover, .navbar-brand a:focus {
  color: #c5d1f3;
  text-decoration: none;
}
.navbar-brand p { 
  color: #E7E7E7;
  text-transform: uppercase;
  font-size: .8em;
  margin-top: 5px;
}
.navbar-brand p span { 
  vertical-align: middle;
}

#nav-list {
  margin-top: 10px;
}
#nav-list a {
  color: #00BD39;
  text-align: center;
}
#nav-list a:hover {
  background: #E7E7E7;
}
#nav-list a span {
  font-size: 1.8em;
}

#contact {
  margin: 0px;
  padding: 15px;
}
#contact a {
  text-align: right;
  padding-bottom: 0;
}
#contact div {
  color: #00BD39;
  text-align: right;
}

.navbar-header button.navbar-toggle, .navbar-header .icon-bar {
  border: 1px solid #238C47;
}
.navbar-header button.navbar-toggle {
  clear: both;
  margin-top: -30px;
}
/* END HEADER */


h1, .text-center a {
  color: #024E68;
}
  

/* FOOTER */
.panel-footer {
  width: 100%;
  margin-top: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #024E68;
  color: #fff;
  border-top: 0;
}
.panel-footer div.row {
  margin-bottom: 35px;
}

#other {
  line-height: 2;
}
#other > span {
  font-size: 1.3em;
}

/* END FOOTER */

  
/********** Large devices only **********/
@media (min-width: 1200px) {
  /* Page */
  #main-content {
    height: 100%;
  }
  /* End Page */
}


/********** Medium devices only **********/
@media (min-width: 992px) and (max-width: 1199px) {

  /* Page */
  #main-content {
    height: 100%;
  }
  /* End Page */
}


/********** Small devices only **********/
@media (min-width: 768px) and (max-width: 991px) {
  /* Page */
  .container .jumbotron {
    height: 32px;
  }
  /* End Page */
}


/********** Extra small devices only **********/
@media (max-width: 767px) {
  /* Header */
  .navbar-brand {
    padding-top: 10px;
    height: 80px;
  }
  .navbar-brand h1 { /* Name */
    padding-top: 10px;
    font-size: 5vw; /* 1vw = 1% of viewport width */
  }
  .navbar-brand p { /* Text type */
    font-size: .6em;
    margin-top: 12px;
  }

  .profil {
    margin-top: 30px;
    margin-right: 0px;
    margin-left: 0px;
  }

  #collapsable-nav a { /* Collapsed nav menu text */
    font-size: 1.5em;
  }
  #collapsable-nav a span { /* Collapsed nav menu glyph */
    font-size: 1em;
    margin-right: 5px;
  }

  #contact-btn > a {
    font-size: 1.5em;
    display: block;
    margin: 0 20px;
    padding: 10px;
    background-color: #024E68;
    color: #00BB3F;
  }
  #xs-contact {
    margin-top: 5px;
    font-size: .7em;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  /* End Header */


  /* Footer */
  .panel-footer section {
    margin-bottom: 30px;
    text-align: center;
  }
  .panel-footer section:nth-child(3) {
    margin-bottom: 0; /* margin already exists on the whole row */
  }
  .panel-footer section hr {
    width: 50%;
  }
  /* End Footer */

  /* Page */
  .container .jumbotron {
    margin-top: 30px;
    padding: 0;
  }
  /* END Page */
}


/********** Super extra small devices Only :-) (e.g., iPhone 4) **********/
@media (max-width: 479px) {
  /* Header */
  .navbar-brand h1 { /* Name */
    padding-top: 5px;
    font-size: 6vw;
  }
  /* End Header */
  
  /* Page */
  .col-xxs-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
    width: 100%;
  }
  /* END Page */
}