

.ndp-wrap {
  z-index: 100;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #333;
  font-family: "Poppins", sans-serif;
  position: absolute;
  background: #FFF;
}


.ndp-wrap *{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #FFF;
}

.ndp-container * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: #333;
}

.ndp-date-input {
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #eee;
  height:20px;
}

.ndp-date-default {
}

/* datepicker styles */

.ndp-container {
  position: relative;
  top:0;
  left:0;
}

.ndp-datepicker {
  position: absolute;
  top: 100%;
  z-index: 100;
  margin-top: 2px;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  border:solid 1px #CCC;
}


.ndp-datepicker button {
  padding:0;
  width:auto;
  
  cursor: pointer;
  border: none;
  border-radius: 4px;
  background: transparent;
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.3s;
  touch-action: manipulation;
  margin-bottom:0 !important;
}

.ndp-datepicker button:hover
{
	font-size:16px;
	background:#FFF;
}

.ndp-days,
.ndp-dates {
  display: grid;
  grid-template-columns: repeat(7, 44px);
  gap: 10px;
  margin-block: 10px;
}

.ndp-days span {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

.ndp-dates button {
  color: slategray;
  aspect-ratio: 1;
}

.ndp-dates button:disabled {
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.ndp-dates button:hover {
  background: rgba(119, 136, 153, 0.1);
  font-size:16px;
}

.ndp-dates button.ndp-today {
  background: rgba(147, 112, 216, 0.2);
  color: mediumpurple;
}

.ndp-dates button.ndp-selected {
  background: mediumpurple;
  color: #fff;
}

.ndp-dates button.ndp-holiday {
  border: solid 2px #c2ffd5;
}

.ndp-dates button.ndp-hasevents {
  color: #C33;
  font-weight:bold;
}




.ndp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
}

.ndp-time {
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 5px;
  border-bottom: none;
  border: 1px solid #EEE important!;
  background:#EEE;
}


.ndp-header select,
.ndp-header input {
  height: 2em;
  font-size: 14px !important;
  line-height: 2em !important;
  border: 1px solid #ddd !important;
  border-radius:5px !important;
  padding:0px !important;
  padding-left:3px !important;
  padding-right:3px !important;
  margin-left:1px !important;
  margin-right:1px !important;
  margin-bottom:0 !important;
  width: auto !important;
  color:#000 !important;
  background:#FFF !important;
}

.ndp-header input {
 max-width:58px;
}

.ndp-header button {
  color: slategray;
}

.ndp-header button:hover {
  color: mediumpurple;
}

.ndp-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.ndp-footer button {
  background: rgba(119, 136, 153, 0.1);
  padding: 3px 10px;
  color:#000;
}

.ndp-footer button.ndp-apply, .ndp-footer button.ndp-cancel{
  padding:8px;
}

.ndp-footer button.ndp-apply {
  background: mediumpurple;
  color: #fff;
}

@media only screen and (max-width: 600px) {
	.ndp-days,
	.ndp-dates {
	  display: grid;
	  grid-template-columns: repeat(7, 9vw);
	  gap: 1.9vw;
	  margin-block: 1.9vw;
	}
	
	.ndp-datepicker button {
	  font-size: 3.5vw;
	  line-height: 3.5vw;
	  font-weight: 500;
	  text-transform: uppercase;
	  transition: 0.3s;
	  touch-action: manipulation;
	}
	
	.ndp-wrap
	{
		background:transparent;
		left:0px;
		width:100%;
		height:auto;
		text-align:center;
		display:block;
	}
	
	.ndp-datepicker {
	  position: relative;
	  width:80vw;
	  z-index: 100;
	  margin: 2px auto;
	  background: #fff;
	  padding: 10px;
	  border-radius: 5px;
	  border:solid 1px #CCC;

	}

	
	.ndp-header input {
	  max-width: 14vw;
	}
	
}
