/*
 * Actualités
 */

input.bulle {
    border-radius: 15px;
		font-size: 15px !important;
		opacity: 0.4;
		cursor: pointer;
}
input.coche {
		opacity: 1;
}
.actus_conteneur
{
    display: flex;
    flex-flow: column;
    align-items: center;
}
.actu {
    width: 300px;
    margin: 1em;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: black 0px 3px 10px;
    transition: transform .4s;
    overflow: hidden;
		height: 320px;
		cursor: pointer;
}

.actu:hover {
	background-image: linear-gradient(to bottom, white, white, gray);
}

.titre_actu {
    margin: 0;
    padding: 0.5em;
    text-align: center;
    background-color: grey;
    color: #fff;
}

.soustitre_actu, .contenu_actu {
    margin: 0.4em;
}

.soustitre_actu h4 {
	margin: 0.2em;
	background-color: lightgrey;
	font-size: 16px;
}
.contenu_actu {
    max-height: 300px;
		display: inline-block;
}

 /*
 * Popup
 */

 /* Popup container */
.overflow {
	  position: fixed;
	  visibility: hidden;
    display: flex;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    z-index: 30;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* The actual popup (appears on top) */
.overflow .popuptext {
    position: relative;
    /* TODO : cacher les popup suivants */
    z-index: 42;
    padding: 8px 20px;
    margin: auto;
    width: 70%;
    height: 80%;
    text-align: center;
    border-radius: 6px;
    overflow: scroll;
		cursor: default;
}

.overflow .popuptext .lieuG {
    float: left;
    margin: 1em;
}

.overflow .popuptext .dateD {
    float: right;
    margin: 1em;
}

.myPopup {
    visibility: hidden;
}

.calpopup .show {
  visibility: visible;
  animation: fadeIn 1s
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

/* Version Desktop */
@media (min-width: 768px) {
    article {
		margin: 0 1em 1em 1em;
	  }
	    
	  .actus_conteneur {
	  flex-flow: row;
		flex-wrap: wrap;
		justify-content: center;
	  }
}
