html{
	min-height: 100vh;
	font-family: 'Roboto', sans-serif;
	font-size: 0.8375rem;
	font-weight: 400;
	line-height: 1.5;
}

body, #main{
	min-height: 100vh; /* hauteur minimale du body égale à 100% de la hauteur de l'écran */
	display: flex;
	flex-direction: column;
}
  
#main, .container-fluid{
	flex-grow: 1; /* permet à main de remplir l'espace restant */
}

ul, ol {
	list-style-type: none;
}

.hidden{
	display: none !important;;
}

#recOk{
	position: fixed;
	top : 0;
	left : 0;
	width: 100%;
	z-index: 1000;
	background-color: rgba(238, 238, 238, 0.8);
	height: 100%;
	padding-top: 20%;
	text-align: center;
	font-size: 100px;
	display: none;
}

.cursor-p{
	cursor: pointer;
}

@keyframes myScaleAnimation {
	0% {
	  transform: scale(0.95);
	}
	50% {
	  transform: scale(1.05);
	}
	100% {
	  transform: scale(0.95);
	}
}
  
.my-animation {
	animation: myScaleAnimation 2s infinite;
}

.autocomplete-naf{
	padding: 0.5em;
}

.autocomplete-naf:hover{
	background-color: #a7a7a7;
	cursor: pointer;
}

/*









*/



.card-big-shadow {
    max-width: 320px;
    position: relative;
}

.coloured-cards .card {
    margin-top: 30px;
}

.card[data-radius="none"] {
    border-radius: 0px;
}
.card {
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
    background-color: #FFFFFF;
    color: #252422;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}


.card[data-background="image"] .title, .card[data-background="image"] .stats, .card[data-background="image"] .category, .card[data-background="image"] .description, .card[data-background="image"] .content, .card[data-background="image"] .card-footer, .card[data-background="image"] small, .card[data-background="image"] .content a, .card[data-background="color"] .title, .card[data-background="color"] .stats, .card[data-background="color"] .category, .card[data-background="color"] .description, .card[data-background="color"] .content, .card[data-background="color"] .card-footer, .card[data-background="color"] small, .card[data-background="color"] .content a {
    color: #FFFFFF;
}
.card.card-just-text .content {
    padding: 10px 10px;
    text-align: center;
}
.card .content {
    padding: 20px 20px 10px 20px;
}
.card[data-color="blue"] .category {
    color: #7a9e9f;
}

.card .category, .card .label {
    font-size: 14px;
    margin-bottom: 0px;
}
.card-big-shadow:before {
    background-image: url("http://static.tumblr.com/i21wc39/coTmrkw40/shadow.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    bottom: -12%;
    content: "";
    display: block;
    left: -12%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}
h4, .h4 {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.2em;
}
h6, .h6 {
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
}
.card .description {
    font-size: 16px;
    color: #66615b;
}
.content-card{
    margin-top:30px;    
}
a:hover, a:focus {
    text-decoration: none;
}

/*======== COLORS ===========*/
.card[data-color="blue"] {
    background: #b8d8d8;
}
.card[data-color="blue"] .description {
    color: #506568;
}

.card[data-color="green"] {
    background: #d5e5a3;
}
.card[data-color="green"] .description {
    color: #60773d;
}
.card[data-color="green"] .category {
    color: #92ac56;
}

.card[data-color="yellow"] {
    background: #ffe28c;
}
.card[data-color="yellow"] .description {
    color: #b25825;
}
.card[data-color="yellow"] .category {
    color: #d88715;
}

.card[data-color="brown"] {
    background: #d6c1ab;
}
.card[data-color="brown"] .description {
    color: #75442e;
}
.card[data-color="brown"] .category {
    color: #a47e65;
}

.card[data-color="purple"] {
    background: #baa9ba;
}
.card[data-color="purple"] .description {
    color: #3a283d;
}
.card[data-color="purple"] .category {
    color: #5a283d;
}

.card[data-color="orange"] {
    background: #ff8f5e;
}
.card[data-color="orange"] .description {
    color: #772510;
}
.card[data-color="orange"] .category {
    color: #e95e37;
}

#myPieChart {
    width: 50%;
    height: 50%;
}



/*

















*/

@media screen and (max-width: 767px), (min-device-width: 768px) and (max-device-width: 1024px){

	#main{
		margin-bottom: 7em;
	}

	.ent-main{
		margin-bottom: 120px;
	}

	.tab-bar {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 60px;
		display: flex;
		align-items: center;
		justify-content: space-around;
		z-index: 999;
	}
		
	.tab {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		color: #999;
		text-decoration: none;
		transition: all 0.3s ease;
		padding: 10px;
	}
		
	.tab i {
		font-size: 24px;
		margin-bottom: 5px;
		color: #FFF;
	}
		
	.tab span {
		font-size: 12px;
		font-weight: 500;
		text-transform: uppercase;
		
	}
		
	.tab-content {
		padding-bottom: 60px;
	}
		
	.tab-pane {
		display: none;
	}
		
	.tab-pane.active {
		display: block;
	}
		
	.rond{
		position: absolute;
		bottom: 30px;
		left: 50%;
		transform: translate(-50%);
		width: 80px;
		height: 80px;
		border-radius: 50%; /* la moitié de la largeur ou de la hauteur */
		background: linear-gradient(180deg,rgba(255, 255, 255, 0) 60%,rgb(255, 255, 255) 41%);
		background-color: transparent;
		overflow: hidden;
	}
		
	.search-tab{
		position: absolute;
		bottom: 30px;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: 50px;
		height: 50px;
		border-radius: 50%; /* la moitié de la largeur ou de la hauteur */
	}
		
	.btn-add-ent{
		background-color: #12ba45;
		color: white;
	}

	.btn-div-add-ent{
		background-color: #FFF;
		margin-top: 2em;
		padding-top: 1.5em;
	}

	.acc-ent{
		position: relative;
		min-height: 5em;
	}

	.title-ent{
		text-align: center;
		color: #FFF;
	}


	.ent-ul{
		width: 80%;
		margin-left: auto;
		margin-right: auto;
		padding-top: 2em;
		padding-left: 0;
		padding-bottom: 2em;
		border-radius: 10px;
	}

	.ent-li{
		width: 70%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 0.5em;
		margin-bottom: 0.5em;
		padding: 0.7em;
		min-height: 3.2em;
		list-style-type: none;
		background-color: #f4f5ff;
		position: relative;
		border-radius: 5px;
	}

	.ent-ul i{
		font-size: 24px;
		margin-bottom: 5px;
		color: #ff0b0b;
		position: absolute;
		right: 0;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.btn-add-postit{
		background-color: #12ba45;
		color: white;
	}

	/*
	MODAL
	*/
	.autocomplete-dropdown {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
		width: 100%;
		overflow-y: auto;
	}

	.dropdown-title{
		border-bottom: 1px solid rgb(154, 154, 154);
		padding-bottom: 8px;
	}

	.propositions{
		padding: 0.4em;
	}

	.li-contact{
		font-size: 1.5em;
	}

	.entite-boxes{
		font-size: 2em;
	}
		


	.entite-content{
		-webkit-box-shadow: 5px 5px 15px 9px rgba(0,0,0,0.12); 
		box-shadow: 5px 5px 15px 9px rgba(0,0,0,0.12);
		border-bottom-left-radius: 3px;
		border-bottom-right-radius: 3px;
		background-color: white;
	}

	.entite-li-contact, .entite-li-affaire,.entite-li-action, .entite-li-etab{
		display: none;
	}

	.entite-li-entite{
		padding-right: 2rem;
	}

	.contact-container{
		position: relative;
		width: 30px;
		text-align: center;
		cursor: pointer;
	}

	.contact-modal{
		position: absolute;
		transform: translate(-100%, -100%);
		padding: 1em;
		border-radius: 3px;
		display: none;
		width: 25vh;
		z-index: 6;
		background-color: #335F8A;
		color: white;
	}

	.contact-modal ul{
		padding: 0;
	}

	/*
	Calendrier
	*/
		

	.month {
		padding: 10px 25px;
		width: 100%;
		background:  rgb(233,84,32);
		text-align: center;
	}

	.month ul {
		margin: 0;
		padding: 0;
	}
		
	.month ul li {
		color: white;
		font-size: 20px;
		text-transform: uppercase;
		letter-spacing: 3px;
	}
	
	.month .prev {
		float: left;
	}
	
	.month .next {
		float: right;
	}
	
	.weekdays {
		margin: 0;
		padding: 10px 0;
		background-color: #ddd;
		display: grid;
		grid-template-columns: repeat(7, 1fr);
	}
	
	.weekdays li {
		display: inline-block;
		color: #666;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	
	.days {
		padding: 10px 0;
		background: #eee;
		margin: 0;
		display: grid;
		grid-template-columns: repeat(7, 1fr);
		justify-content: center;
	}
	
	.days li {
		list-style-type: none;
		display: inline-block;
		text-align: center;
		margin-bottom: 5px;
		margin-left: auto;
		margin-right: auto;
		font-size:12px;
		color: #777;
		padding: 0.2em;
	}
	
	.days li .active {
		padding: 5px;
		background:  rgb(233,84,32);
		color: white !important
	}

	.days li .selected{
		padding: 5px;
		background: #335F8A;
		color: white !important
	}
	
	/*
	Fin Calendrier
	*/
}
/**



DESKTOP



*/

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

	.autocomplete-dropdown{
		margin-left: -15px;
		margin-top: 7em;
	}

	.callAffaire, .callContact, .callAction{
		position: relative;
	}
	

	.affaireModal{
		position: absolute;
		font-size: 0.8em;
		background-color: white;
		border: 1px solid red;
		z-index: 5;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}

	.section-entite{
		width: 95%;
		margin-top: 2em;
		margin-bottom: 2em;
		margin-left: auto;
		margin-right: auto;
		display: flex;
		justify-content: space-between;
	}

	/* MODAL*/

	.modalCalendrier{
		background-color: rgba(0, 0, 0, 0.5);
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
	}

	.visibility{
		visibility: hidden;
		z-index: -1000;
	}

	.modalContent{
		margin-top: 2rem;
		border-radius: 5px;
		padding: 2rem;
		max-width: 50%;
		margin-left: auto;
		margin-right: auto;
		background-color: white;
		
	}
	#entite .odd,#entite .even{
		cursor: pointer;
	}
	
}


