body {
    background-color: #f1f1f1;
    padding-top: 75px; /*calc(60px + 0.5rem); */
  }	


/* PHOTOS */

	/* The modal_photo (background) */
	.modal_photo {
	  display: none; /* Hidden by default */
	  position: fixed; /* Stay in place */
	  z-index: 2; /* Sit on top */
	  /*padding-top: 20px;*/ /* 75px Location of the box */
	  left: 0;
	  top: 0;
	  width: 100%; /* Full width */
	  height: 100%; /* Full height */
	  overflow: auto; /* Enable scroll if needed */
	  background-color: rgb(255,255,255); /* Fallback color */
	  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
	}

	/* modal_photo Content (Image) */
	.modal_photo-content {
	  margin: auto;
	  display: block;
	  /*width: 100%;
	  max-width: 700px;*/
	  max-width: 100%;
      height: 100%;
      object-fit: contain;
	  padding: 2em;
	  background-color: transparent;
	}

	/* Caption of modal_photo Image (Image Text) - Same Width as the Image */
	#caption {
	  margin: auto;
	  display: block;
	  width: 100%;
	  max-width: 700px;
	  text-align: center;
	  color: #ccc;
	  padding: 10px 0;
	  height: 150px;
	}

	/* Add Animation - Zoom in the modal_photo */
	.modal_photo-content, #caption {
	  animation-name: zoom;
	  animation-duration: 0.6s;
	}

	@keyframes zoom {
	  from {transform:scale(0)}
	  to {transform:scale(1)}
	}

	/* The Close Button */
	.close_modal_photo {
	  position: absolute;
	  top: 0;
	  right: 0;
	  /*color: #f1f1f1;
	  font-size: 40px;*/
	  font-weight: bold;
	  transition: 0.3s;
      background-color: rgba(255, 255, 255, 0.8);
      color: #000;
      font-size: 1.5em;
      text-align: center;
      width: 40px;
      height: 40px;
	  z-index: 2;
	}

	.close_modal_photo:hover,
	.close_modal_photo:focus {
	  color: #AAA;
	  text-decoration: none;
	  cursor: pointer;
	}

	/* Next & previous buttons */
	.prev,
	.next {
	  cursor: pointer;
	  position: absolute;
	  top: 50%;
	  width: auto;
	  padding: 16px;
	  margin-top: -50px;
	  color: white;
	  font-weight: bold;
	  font-size: 20px;
	  transition: 0.6s ease;
	  border-radius: 0 3px 3px 0;
	  user-select: none;
	  -webkit-user-select: none;
	  background-color: rgba(0, 0, 0); /*, 0.8);*/
	}

	/* Position the "next button" to the right */
	.next {
	  right: 0;
	  border-radius: 3px 0 0 3px;
	}

	/* On hover, add a black background color with a little bit see-through */
	.prev:hover,
	.next:hover {
	  background-color: rgba(40, 167, 69); /*, 0.8);*/
	}	

	.simg {
		width: 40px;
		height: 40px;		
	}
	
	.bg {
	  background-size: 100px; 	
	}

  .cropit-preview {
    background-size: cover;
	margin-top: 7px;
    width: 250px;
    height: 250px;
  }

  .cropit-preview-image-container {
    cursor: move;
	border-radius: 10%!important;
	border: 1px solid #CCC;
  }

  .image-size-label {
    margin-top: 10px;
  }
	
	.help-block {
		
		display: block;
		width: 100%;
	}
	
  .lien a {
	  text-decoration: none;
	  cursor: pointer;
  }
	
  .lien a:hover {
	  font-weight: bold; 
  }
	
  .upimg {
	  position: relative;
      float:left;
      /*width: 200px;
      height: 200px;*/
      text-align:center; 
	  border: solid 2px #DDD;
	  border-radius: 5%!important;
	  margin: 10px;
	  overflow: hidden;
  }	  
	
  .cb {
    position: absolute;
    right: 5px;
    top: 5px;
    display: inline;
    padding:0;
    height: 25px;
    width: 25px;
  }
	
  .bd {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline;
    padding:0;
    height: 25px;
    width: 25px;
  }
	
  .hg {
    position: absolute;
    left: 5px;
    top: 5px;
    display: inline;
    padding:0;
  }
	
  .selimg {
	border: solid 2px #28a745!important;
  }
	
	.opa {
		opacity: 0.8;
	}

	#radiomsg {
		margin-bottom: 1rem;
	}
	
	
	/* --- CARD --- */


/*Profile card 4*/
.profile-card-4 .card-img-block{
    float:left;
    width:100%;
    height:53px;
    overflow:hidden;
}
.profile-card-4 .card-img-block{
    position:relative;
}
.profile-card-4 .card-img-block > .info-box{
    position:absolute;
    /*background:rgba(217,11,225,0.6);*/
    width:100%;
    height:100%;
    color:#fff;
    padding:20px;
    text-align:center;
    font-size:20px;
   -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
    opacity:0;
}
	
.profile-card-4 .card-img-block > .good{
    background:rgba(63,191,63,0.75);
}
	
.profile-card-4 .card-img-block > .medium{
    background:rgba(191,191,191,0.75);
}
	
.profile-card-4 .card-img-block > .bad{
    background:rgba(191,63,63,0.75);
}
	
.profile-card-4 .card-img-block:hover > .info-box{
    opacity:1;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.profile-card-4 h5{
    font-weight:400;
    color:#3F3FBF;
}
.profile-card-4 .card-text{
    font-weight:300;
    font-size:15px;
}
.profile-card-4 .com{
    font-style:normal;
}
.profile-card-4 .icon-block a{
    text-decoration:none;
}
.profile-card-4 i {
  display: inline-block;
    font-size: 14px;
    text-align: center;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    /*margin:0 5px;*/
    color: #FFF;
	font-style: normal;
}


.cadre {
    /*width: 200px;
    height: 200px;*/
    overflow: hidden;
	border: 2px solid #f1f1f1;
	border-radius: 5%;
	cursor: pointer;
	position: relative;
}
	
	.list_img {
		position: relative;
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
	
.bgcasa {
    background-image: url("icon/blason_bg.png");
}
	
	  .profile-card-4 .card-body{
          position: relative;
          background-color: #FFF;
		  padding-top: 53px;
      }

	  .profile-card-4 .profile {
          border-radius: 50%;
          position: absolute;
          top: -50px;
          left: 50%;
          width: 100px;
		  height: 100px;
          border: 3px solid rgba(255, 255, 255, 1);
          margin-left: -50px;
      }
	
	@media only screen and (min-width: 570px) { 
      .profile-card-4 .card-body{
          margin-top: 50px;
      }
	}
	
	.smiley{
          position: absolute;
          top: -50px;
          left: 50%;
          width:100px;
		  height: 100px;
          margin-left: -50px;
	}
	
	.colmb-4 .card {
		background-color: transparent;
		border: 0;
	}
	
	  .profile-card-4 .toggle {
          
          position: absolute;
          top: -50px;
          left: 50%;
          width:100px;
		  height:100px;
          z-index:1;
		  background-color:  transparent;
          margin-left: -50px;
		  cursor: pointer;
      }
	
	/* Chat containers */
	.ccontainer {
	  border: 2px solid #dedede;
	  background-color: #f1f1f1;
	  border-radius: 5px;
	  padding: 10px;
	  margin: 10px 0;
	}

	/* Darker chat container */
	.darker {
	  border-color: #ccc;
	  background-color: #ddd;
	}

	/* Clear floats */
	.ccontainer::after {
	  content: "";
	  clear: both;
	  display: table;
	}

	/* Style images */
	.ccontainer img {
	  float: left;
	  max-width: 60px;
	  width: 100%;
	  margin-right: 20px;
	  border-radius: 50%;
	}

	/* Style the right image */
	.ccontainer img.right {
	  float: right;
	  margin-left: 20px;
	  margin-right:0;
	}

	/* Style time text */
	.time-right {
	  float: right;
	  color: #aaa;
	}

	/* Style time text */
	.time-left {
	  float: left;
	  color: #999;
	}
	
/* Style the Image Used to Trigger the Modal */
.mainFrame {
	border-radius: 10px;
    border: 2px solid #cccccc;
    width: 150px;
    height: 150px;
    overflow: hidden;	
}

.imgMod {
	/*border-radius: 10px;
	 border: 2px solid #cccccc;*/
	cursor: pointer;
	transition: 0.3s;
    min-height: 150px;
    min-width: 150px;
	  /*padding: 6px;*/
	}

	.imgMod:hover {opacity: 0.7;}

	/* The Modal (background) */
	.modal_add {
	  display: none; /* Hidden by default */
	  position: fixed; /* Stay in place */
	  z-index: 1; /* Sit on top */
	  padding-top: 20px; /* 75px Location of the box */
	  left: 0;
	  top: 0;
	  width: 100%; /* Full width */
	  height: 100%; /* Full height */
	  overflow: auto; /* Enable scroll if needed */
	  background-color: rgb(255,255,255); /* Fallback color */
	}

	/* Modal Content (Image) */
	.modal_add-content {
	  margin: auto;
	  display: block;
	  max-width: 100%;
      height: 90%;
      object-fit: contain;
	  padding: 1em;
	}

	/* Add Animation - Zoom in the Modal */
	.modal_add-content, #caption {
	  animation-name: zoom;
	  animation-duration: 0.6s;
	}

	@keyframes zoom {
	  from {transform:scale(0)}
	  to {transform:scale(1)}
	}

	/* The Close Button */
	.close_modal_add {
	  position: absolute;
	  top: 0;
	  right: 0;
	  font-weight: bold;
	  transition: 0.3s;
	  background-color: rgba(0, 0, 0, 1);
      color: #FFF;
      font-size: 1.5em;
      text-align: center;
      width: 40px;
      height: 40px;
	  z-index: 1;
	}

	.close_modal_add:hover,
	.close_modal_add:focus {
	  color: #bbb;
	  text-decoration: none;
	  cursor: pointer;
	}

	/* 100% Image Width on Smaller Screens */
	@media only screen and (max-width: 700px){
	  .modal_photo-content {
		  max-width: 100%;
		  height: 90%;
		  object-fit: contain;
		  background-color: transparent;
	  }
	}

	#galery{	
		 padding-top: 20px;
		margin: 0 auto;
		text-align: center; 
	}

	/* Next & previous buttons */
	.prev,
	.next {
	  cursor: pointer;
	  position: absolute;
	  top: 50%;
	  width: auto;
	  padding: 16px;
	  margin-top: -50px;
	  color: white;
	  font-weight: bold;
	  font-size: 20px;
	  transition: 0.6s ease;
	  border-radius: 0 3px 3px 0;
	  user-select: none;
	  -webkit-user-select: none;
	  background-color: rgba(255, 255, 255, 0.8);
	}

	/* Position the "next button" to the right */
	.next {
	  right: 0;
	  border-radius: 3px 0 0 3px;
	}

	/* On hover, add a black background color with a little bit see-through */
	.prev:hover,
	.next:hover {
	}
	
	.comment {
		margin-top: 5px;
	}

	.comment:hover {
		cursor: pointer;
	}
	
	.cmain {
		margin-bottom: 1em;
	}
	
	
.cmain i {
  display: inline-block;
    font-size: 14px;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 28px;
    border-radius: 50%;
    color: #FFF;
	font-style: normal;
}
	
	.list_files {
		list-style-type: none;
		margin-bottom: 2px;
		padding: 0;
	}	
	
	.add_img {
		margin:10px;
	}
	
	.btn-link:hover, .btn-link.focus, .btn-link:focus {
    	text-decoration: none;
	}
	
	.nav-link:hover {
		/*color: #be0000;
		background-color: #FFF;*/
		border-color: #dee2e6 #dee2e6 #fff;
		opacity: 1;
	}

.delete_pict {
	position: fixed;
    margin-top: 5px;
    font-weight: bold;
    color:  #FFF;
    background-color: darkred;
    border-radius: 5px;
    padding: 2px 8px;
	cursor: pointer;
}

/* --- */

*:focus {
    outline: none;
}

#nav_main {
	vertical-align: middle;
	line-height: 45px;	
}

.subtitle {
	color: #FFF;
	font-size: 18px;	
}

.bg-custom {	
	background-color: #be0000; 
}

.help-block {
	color: #be0000; 
}

  #myform, #myform1, #myform2, #myform3, .die_msg {
    background-color: #ffffff;
    margin: 0 auto;
    font-family: Raleway;
    padding: 20px;
    /*width: 70%;*/
    min-width: 300px;
  }

  h1 {
    text-align: center;
    padding-bottom:15px;
  }

  h4 {
    font-size: 1.3em;
  }

  input:not([type="radio"]):not([type="file"]) {
    padding: 10px;
    /*width: 100%;*/
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
  }

  input[type='radio'] {
    padding: 10px;
    width: 15px;
    height: 15px;
  }

  input[type='radio']:checked {
    width: 20px;
    height: 20px;
  }

  select {
    padding: 10px;
    /*width: 100%;*/
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
  }	

  /* Mark input boxes that gets an error on validation: */
  input.invalid, select.invalid {
    background-color: #ffdddd;
  }

  .btn-success:hover {
    opacity: 0.8;
  }
  
  .nb_headers {
	font-size: 1.25em; 
	vertical-align:middle;
	white-space: nowrap;
  }

.fsearch {
	width: 80%;
}

.hidden {
	display:none;
}

.show {
	display: block;
}

/* ANNUAIRE CONTENT
-------------------------------------------------- */

/* Center align the text within the columns */
.annuaire .col {
  text-align: center;
  padding: 0.5rem;
}

@media only screen and (min-width: 375px) {
	
	.annuaire h3 {
		font-size: 0.85em;
		margin-top: .4rem;
		line-height: 0.9;
	}
	
	.annuaire h4 {
		font-size: 0.65em;
		margin-top: .2rem;
		line-height: 0.9;
		font-weight: 400; 
	}	
	
	.pagination-nav {
		padding: .25rem .5rem;
    	font-size: .875rem;
    	line-height: 1.5;
	}

 }

@media only screen and (min-width: 992px) { 
	
	.annuaire h3 {
	  font-size: 1em;
	  margin-top: .5rem;
	  line-height: 0.9;
	}

	.annuaire h4 {
	  font-size: 0.8em;
	  margin-top: .3rem;
	  line-height: 0.9;
	  font-weight: 400; 
	}

	.pagination-nav {
		padding: .75rem 1.5rem;
		font-size: 1.25rem;
		line-height: 1.5;
	}	
	
}

/*@media screen and (min-width: 768px) { 
}

@media screen and  (min-width: 992px) { 
}

@media screen and  (min-width: 1200px) { 
}*/

.annuaire .col p {
  margin-right: .75rem;
  margin-left: .75rem;
}
.annuaire img {
	/*max-height:100px;
	max-width:100px;
	min-height: 50px;
	min-widht: 50px;
	width:100;
	height: auto;*/
	width: 100px;
	height: 100px;	
}

.card-hover:hover {
    background-color: #be0000;
    color: #FFF;
	cursor: pointer;
}

.h-100 {
	max-height: 205px;
}