.box.is-rounded {
	border-radius: 25px;
}

.is-widget {
  padding-top: 0rem;
	padding-bottom: 1rem;
	padding-left: 0rem;
	padding-right: 0rem;
	position: relative;
	min-height: 80vh;
}

.is-widget-body {
  flex-grow: 1;
  flex-shrink: 1;
  overflow-y: auto;
	padding-top: 0.15rem;
	padding-left: 1rem;
	padding-right: 1rem;
	padding-bottom: 4rem;
	position: relative;
	width:100%;
  height:80%;
}

.is-widget-body.has-no-overflow {
  overflow-y: unset;
}

.is-widget-body.has-margin-normal {
  margin:10px;
}

/* Annuler la marge sur mobile */
@media screen and (max-width: 768px) {
  .is-widget-body.has-margin-normal {
    margin: 2px;
  }

}

.is-widget-footer {
  align-items: center;
  background-color: #f5f5f5;
  flex-shrink: 0;
  justify-content: flex-start;
  padding: 0.5rem;
	margin-top: 1rem;
  position: absolute;
	bottom: 0;
	width:100%;
	border-bottom-left-radius: 25px;
	border-bottom-right-radius: 25px;
  z-index:30;
  /*box-shadow: 0px -1px 5px rgba(10, 10, 10, 0.2), 0 0 0 0px rgba(10, 10, 10, 0.1);*/
  /*
  border-top: 1px solid #9b9b9b;
  border-right: 0;
  border-left: 0;
  border-bottom: 0;
  */
}

.is-widget-card {
	margin-bottom:0.5rem;
  padding-top: 0rem;
	padding-bottom: 1rem;
	padding-left: 0rem;
	padding-right: 0rem;
	position: relative;
  width:100%;
  /*max-height:40vh;*/
  height:max-content;
  /*z-index: 100;*/
}

.is-widget-card.is-fullheight {
  height:100%;
}

.is-widget-body-card {
  flex-grow: 1;
  flex-shrink: 1;
  overflow: auto;
  padding: 0.2rem;
  position: relative;
  width:100%;
  /*min-height: 35vh;*/
}

.is-widget-footer-card {
  align-items: center;
  background-color: #f5f5f5;
  flex-shrink: 0;
  justify-content: flex-start;
  padding: 0.5rem;
  position: relative;
  bottom: 0;
  width:100%;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;	
}

.is-head {
	padding-top: 0rem;
	padding-bottom: 1rem;
	padding-left: 0rem;
	padding-right: 0rem;
	margin-bottom: 0.5rem;
}

.is-header {
	border-top-left-radius: 25px;
	border-top-right-radius: 25px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	display: block;
	padding: 0.5rem;
	margin: 0rem;
	font-weight: 600 !important;
	text-align: center !important;
}

.is-header.is-gapless {
  margin-bottom:0;
}

.is-header-card {
	border-top-left-radius: 25px;
	border-top-right-radius: 25px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	display: block;
	padding: 0.10rem;
	font-weight: 600 !important;
	text-align: left !important;
}

.is-neoloop-modal {
  width:50%;
  min-width:300px;
  max-width:800px;
  position:fixed;
  top:80px;
  padding:0rem;
  left: 50%;
  transform: translate(-35%, 0);
  /*margin-left: 25%;
  margin-right: 25%;*/
  margin-bottom: 200px;
  animation-name: animatetop;
  animation-duration: 0.4s;
  z-index : 600;
}

.is-neoloop-modal.is-visible{
  display: block;
}
.is-neoloop-modal.is-invisible{
  display: none;
}

.is-neoloop-modal-body {
  flex-grow: 1;
  flex-shrink: 1;
  overflow: auto;
  padding: 10px;
  min-height:30vh;
  height:fit-content;
  max-height: 55vh;
  text-align:center;
  vertical-align:middle;
}

.is-neoloop-modal-footer {
  align-items: center;
  background-color: #f5f5f5;
  flex-shrink: 0;
  justify-content: flex-start;
  padding: 0.5rem;
  bottom:0;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;	
}

.partmodal {
  display: block;
  position: fixed; 
  z-index: 500;
  padding-top: 0px;
  top:-1rem;
  width: 110%;
  min-height:150vh;
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
  
  @media screen and (min-width: 769px) {  
    .is-neoloop-modal {
      margin-left: 15%;
    }
  }
}

.partmodal.is-visible{
  display: block;
}
.partmodal.is-invisible{
  display: none;
}

.fullmodal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 550; /* Sit on top */
  padding-top: 0px; /* 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(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

.fullmodal.is-visible{
  display: block;
}
.fullmodal.is-invisible{
  display: none;
}

/* Add Animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 150px; opacity: 1}
}

@media screen and (max-width: 768px) {
  .partmodal {
    left:-1rem;
  }
  .is-neoloop-modal {
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0);
    width: 95%;
    max-width: 95%;
  }
  .is-neoloop-modal-body{
    height:fit-content;
    max-height: 60vh;
  }
  .is-widget-card {
    height:auto;
  }
  .is-widget-body {
    height:auto;
  }  
}

.is-widget-calendar {
	margin-bottom:0.5rem;
  padding-top: 0rem;
	padding-bottom: 1rem;
	padding-left: 0rem;
	padding-right: 0rem;
	/*position: relative;*/
  width:200px;
  /*height:40vh;*/
  /*z-index: 100;*/
}

.is-widget-body-calendar {
  flex-grow: 1;
  flex-shrink: 1;
  /*overflow: auto;*/
  padding: 0.2rem;
  /*position: relative;*/
  width:200px;
  height: 80px;
}