/* fredoka-one-regular - latin */
@font-face {
  font-family: 'Fredoka One';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/fredoka-one-v5-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Fredoka One'), local('FredokaOne-Regular'),
  url('fonts/fredoka-one-v5-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('fonts/fredoka-one-v5-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
  url('fonts/fredoka-one-v5-latin-regular.woff') format('woff'), /* Modern Browsers */
  url('fonts/fredoka-one-v5-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
  url('fonts/fredoka-one-v5-latin-regular.svg#FredokaOne') format('svg'); /* Legacy iOS */
  font-family: 'robotoregular';
  src: url('fonts/Roboto-Regular-webfont.eot');
  src: url('fonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
  url('fonts/Roboto-Regular-webfont.woff2') format('woff2'),
  url('fonts/Roboto-Regular-webfont.woff') format('woff'),
  url('fonts/Roboto-Regular-webfont.ttf') format('truetype'),
  url('fonts/Roboto-Regular-webfont.svg#robotoregular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-family: 'Montserrat-Regular';
  src: url('fonts/Montserrat-Regular.otf');
}
body{
  font-family: 'Montserrat-Regular';
  position: relative;
}
.bg-slider{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}
.slide1{
  background-image:linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0, 0, 0, 0.1)), url('../image/bg.jpg');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:bottom;
  background-attachment: fixed;
  -webkit-transition: all 2s ease;
  -moz-transition: all 2s ease;
  -o-transition: all 2s ease;
  transition: all 2s ease; 
}
.slide2{
  background-image:linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0, 0, 0, 0.1)), url('../image/bg2.jpg');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:top;
  background-attachment: fixed;
  -webkit-transition: all 2s ease;
  -moz-transition: all 2s ease;
  -o-transition: all 2s ease;
  transition: all 2s ease; 
}

section{
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  background-color: rgb(255,255,255);
}
h1, h2, h3, h4, h5{
  text-transform: uppercase;  
  font-family: 'Montserrat-Regular';
  font-weight: bold;
  margin: 0;
}
h3{
  color:#fff;
  font-size: 1.4rem;
}
/* MODIF BOOTSTRAP */
.row{
  justify-content: center;
}
a:hover{
  text-decoration: underline;
}
.hidden{
  display: none;
}
/********** NAV *****************/
#head{
  position: fixed;
  width: 100%;
}
.sticky-top{
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.1);
  font-size: 0.8rem;
  z-index: 5;
}
a.nav-link.down-presentation{
  color: white;
}
.logo_navbar{
  height:190px;
}
.nav-link{
  text-transform: uppercase;
}
button.navbar-toggler{
  padding:0;
}
/********** HEADER *****************/
header{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 600px;
  padding: 0;
  /*padding-bottom: 2rem;*/
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.1);
}
/* WELCOME CONTENT  */
.welcome-content {
  position: relative;
  z-index: 1;
  text-align: left; 
  margin-top: 7%;   
  /*background-color: #01b1c3;*/
  color: #fff;
}
.welcome-content h1 {
  font-size: 2.3rem;
  font-weight: bold;
  color: #ffffff; 
  text-align: center;  
  text-shadow: 0px 0px 30px rgba(2, 0, 0, 0.61);
}
.welcome-content h2 {
  color: #fff;
  font-size: 1.4rem;
}
.down{
  cursor: pointer;
}

/**************************** DOMAINES *************************************/
section.domaines{
  padding-bottom: 0;
}
.dom{
  width:25%;
  height:300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing:border-box;
  padding: 0;
}
.bg{
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  transition: 2s ease;
}
.bg:hover{
  background-color: #fff;
  cursor: pointer;
  transform: scale(1.2);
  transition: 2s ease;
}
.peche  .bg{
  background:linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0, 0, 0, 0.1)),url('../image/peche-domaine.jpg');
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}
.nautisme .bg{
  background:linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0, 0, 0, 0.1)),url('../image/nautisme-domaine.jpg');
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}
.energies .bg{
  background:linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0, 0, 0, 0.1)),url('../image/energies-domaine.jpg');
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}


/**************************** DESCRIPTION *************************************/
.description{
  text-align: justify;
}
.description h3{
  color: #000;
  margin-top:0;
  text-align: center;
}
.description ul{
  list-style-type: none;
}
.description li{
  padding-left:15px;
}
.onclick{
  padding:0;
}

body.modal-open {
  overflow: hidden;
}
/* modal */
.modal{
  padding:  0;
  min-height: calc(100vh - 2rem);
  position: fixed;
  margin: 0 7%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  -webkit-box-shadow: 0 0 3rem 1rem rgba(0,0,0,.5);
  box-shadow: 0 0 3rem 1rem rgba(0,0,0,.5);
  background: #fff;
  overflow-y: scroll; 
  text-align: justify;
  line-height: 30px;
}
.modal ul{
  font-family: 'Montserrat-Regular';
  list-style-type: disc;
}
.modal li{
  margin-left: 30px;
}
.modal a{
  color: #01b1c3;
}
.modal-head{  
  height: 300px;
  margin-bottom: 1rem;
  position: relative;
}
.modal-peche .modal-head{
  background:linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0, 0, 0, 0.1)),url('../image/peche-domaine.jpg');
  background-position: center;
  background-size: cover;
}
.modal-nautisme .modal-head{
  background:linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0, 0, 0, 0.1)),url('../image/nautisme-domaine.jpg');
  background-position: center;
  background-size: cover;
}
.modal-energies .modal-head{
  background:linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0, 0, 0, 0.1)),url('../image/energies-domaine.jpg');
  background-position: center;
  background-size: cover;
}
.modal h3{
  font-size: 2.5rem;
  text-align: center;
  margin: 0;
  padding-top:120px;
}
.close-modal{
  position: absolute;
  text-align: right;
  font-size: 2rem;
  z-index: 5;
  padding: 0 5px;
}
.close-button{
  top: 0;
  right: 0;
  color: #fff;
}
.close-button:hover{
  cursor: pointer;
}
.blue{
  color: #01b1c3;
  font-weight: bold;
}
.black{
  color: #000;
  font-weight: bold;
}
.modal-logo{
  text-align: center;
  margin: 15px auto;
}
.modal-logo img{
  width: 60px;
}

/**************************** EQUIPE ***************************************/
.info{
  background-color: #01b1c3;
  color:#fff;
  padding:8px;
  margin:10px;
}
.info a{
  color: #ffffff;
  font-size: 1.1rem;
}
/************************* MAP **********************************/
#map{
  background-color: transparent;
}
#map h3{
  margin-bottom: 40px;
}

/************************* FORM **************************************/
#contact{ 
  margin: 0 auto;
  text-align: center;   
  width: 100%;
  background: #3a6186; /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #03b4d1 , #156a77); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #03b4d1 , #156a77); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color : #fff;  
}
#contact a{
  color: #fff;
  text-decoration: underline;
}
form{
  width:100%;
}
label{
  margin-bottom: 0;
}
.form-line{
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.form-group{
  width: 48%;
  margin-bottom: 0;
  margin-top: 10px;
  text-align: left;
}
.form-group .textarea{
  width:100%;
}
input.form-control{
  color: #080808;
  border-radius: 0;
}
textarea.form-control {
  height: 135px;
  width:100%;
}
.width100{
  width:100%;
}
.radio{
  display: flex;   
  margin: 0 auto;
  justify-content: space-around;
}
.radiogroup{
  display: flex;
  flex-direction: column;
  margin: 0 10px;
  align-items: center;
}
.radiogroup input[type="radio"]{
  margin-right:5px
} 

.autorisation{
  font-size: 0.9rem;
  text-align: center;
}
.mentions{
  font-size: 0.7rem;
  text-align: justify;
}
sup{
  font-size: 0.6rem;
}
#demande_ok .fas{
 font-size: 2.8rem;
 margin-bottom: 15px;
}
.bouton_envoi{
  margin-top: 20px;
}

.slide-active{
  opacity: 0;
}
input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
}
.answer{
  display: flex;
  justify-content: center;
  align-items: center;
}
.answer input[type=radio]{
  width: 25px;
  height: 25px;
  background: linear-gradient(to left, #f3f3f3 , #dadada);
  border-radius: 25px;
  border: 3px solid #ffffff;
  margin: 5px;
}
.answer input[type=radio]:hover{
  cursor: pointer;
}
.answer input[type=radio]:checked{
  width: 25px;
  height: 25px;
  background: linear-gradient(to left, #f05228 , #b33210);
  border-radius: 25px;
  border: 3px solid #ffffff;
}
/*************************** FOOTER *************************************/
footer{
  padding: 15px;
  background-color: #04b4d1;
  color: white;
  padding: 1rem;
  margin-top: 30px;
}
footer a{
  color: #fff;
}
footer a:hover{
  color: #008b92;
  text-decoration: none;
}


/***********************************************************************/
/*************************** RESPONSIVE ********************************/
/***********************************************************************/

@media screen and (max-width: 990px) {
  h2{
    font-size: 25px;
  }
  .logo_bar{
    width: 100%;
  }
  h2{
    margin: 0;
  }
  .dom{
    height:200px;
    background-position: center;
    position: relative;
  }
  .form-line{
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
  }
  .form-group{
    margin-top: 10px;
    width:100%;
  }
  .mod-content{
    width: 100%
  }
  /* modal */
  .modal{
    margin: 0;
  }
  .modal h3{
    font-size: 2rem;
    text-align: center;
  }
}

@media screen and (max-width: 450px) {
  /* Affichage background sur mobile */
  body{
    font-family: 'Montserrat-Regular';
    background:linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0, 0, 0, 0.1)),url('../image/bg-xs.jpg');
    background-repeat: no-repeat;
    -webkit-background-size: cover;    
    background-size: cover;
    background-attachment: fixed;
  }
  body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background:linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0, 0, 0, 0.1)),url('../image/bg-xs.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }  
  .welcome-content h1 {
    font-size: 1.8rem;   
  }
  .logo_navbar{
    width: auto;
    height: 70px;
  }
  h2{
    font-size: 20px;
  }
  h3{
    font-size: 18px;
    margin: 1rem 0;
  }
  h4{
    font-size: 1rem;
    margin: 1rem 0;
  }
  p{
    padding: 0 25px;
    font-size: 15px;
  }
  .dom{
    height:150px;
  } 
  .mod-content{
    width: 100%
  }
  .modal h3{
    font-size: 2rem;
    text-align: center;
  }
  .info{
    line-height: 1.2;
  }
  .info h5{
    font-size: 1.2rem;
  }
  .info small{
    font-size: 0.7rem;
  }
}





