/* page main subtitle styles */
#instruction {
   font-size: 30px;
   padding-left: 10%;
   padding-right: 10%;
   margin-top: 50px;
   margin-bottom: 50px;
}

/* calendar styles */
#calendar-div {
   margin-top: 25px;
   max-width: 960px;
   position: relative;
   left: 50%;
   transform: translateX(-50%);
   overflow: hidden;
}
#calendars-flex {
   position: relative;
   display: flex;
   flex-direction: row;
   align-items: flex-start;
   justify-content: space-between;
   width: fit-content;
   min-width: 100%;
   transition: 0.75s cubic-bezier(0.23, 1, 0.320, 1);
}
.calendar {
   width: 280px;
   font-size: 16px;
   padding-left: 5px;
   padding-right: 5px;
   border-spacing: 0 5px;
   border-collapse: separate;
   empty-cells: show;
   display: inline-table;
   margin-left: 20px;
   margin-right: 20px;
}
th {
   text-align: center;
   font-size: 17px;
   width: 40px;
}
.month-year {
   font-size: 18px;
}
td {
   text-align: center;
   margin: 0;
   width: 36px;
   height: 36px;
}

/* calendar button styles */
button:enabled:hover {
   background-color: rgb(211, 211, 211);
}
button {
   background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
   height: 100%;
   width: 100%;
   border-radius: 20px;
}
button[data-available="false"] {
   color: rgb(167, 167, 167);
   text-decoration: line-through;
}
button:disabled {
   cursor: default;
}
.button-selected-day {
   background-color: rgb(0, 161, 67) !important;
   color: rgb(255, 255, 255);
}
.button-reservation-range, .button-reservation-range > button:not(.button-selected-day) {
   background-color: rgb(150, 238, 187) !important;
}

/* calendar actions styles */
.start-date {
   border-top-left-radius: 20px;
   border-bottom-left-radius: 20px;
}
.end-date {
   border-top-right-radius: 20px;
   border-bottom-right-radius: 20px;
}
.button-gray {
   color: rgb(167, 167, 167);
}
.arrow {
   position: absolute;
   width: 25px;
   top: 10px;
   z-index: 5;
}
#arrow-right {
   transform: rotate(-90deg);
   right: 0;
}
#arrow-left {
   transform: rotate(90deg);
   left: 0;
   visibility: hidden;
}

/* price information styles */
#info-about-price {
   height: 220px;
   width: 500px;
   position: relative;
   left: 50%;
   transform: translateX(-50%);
   border: rgb(0, 0, 0) solid 2px;
   border-radius: 10px;
   background: rgb(245, 245, 220);
}
#display-price {
   height: 100%;
   width: 100%;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   font-size: 20px;
}
#display-no-price {
   height: 100%;
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: space-evenly;
   display: none;
}
#display-no-price > span {
   text-align: center;
   font-size: 20px;
   width: 85%;
}

/* contact button styles */
.form-button {
   width: fit-content;
   position: relative;
   left: 50%;
   transform: translateX(-50%);
   background-color: rgb(152, 251, 152);
   font-size: 20px;
   padding: 10px;
   border-radius: 0;
   transition: 0.4s;
}
.form-button:hover {
   color: white;
   background-color: #189300 !important;
}

/* additional price information styles */
.label, .result {
   width: 100%;
   height: fit-content;
   align-self: center;
}
.label {
   margin-left: 30px;
}

/* clear dates button styles */
#clear-dates {
   position: relative;
   left: 50%;
   transform: translateX(-50%);
   display: inline-block;
   font-size: 20px;
   padding: 10px;
   background-color: palegreen;
   transition: 0.4s;
   cursor: pointer;
   margin-bottom: 30px
}
#clear-dates:hover {
   color:white;
   background-color: #199300;
}
#clear-dates::after {
   color:white;
   background-color: PaleGreen;
}

/* stylization on medium-high screens */
@media screen and (max-width: 1000px) {
   #calendar-div {
      width: 870px;
      padding-left: 10px;
      padding-right: 10px;
   }

   .calendar {
      margin-left: 5px;
      margin-right: 5px;
   }
}

/* stylization on medium screens */
@media screen and (max-width: 900px) {
   #calendar-div {
      width: 640px;
      padding-right: 0;
      padding-left: 0;
   }

   .calendar {
      margin-left: 20px;
      margin-right: 20px;
   }
}

/* stylization on medium-small screens */
@media screen and (max-width: 700px) {
   #calendar-div {
      width: 580px;
      padding-left: 10px;
      padding-right: 10px;
   }

   .calendar {
      margin-left: 5px;
      margin-right: 5px;
   }
}

/* stylization on small screens */
@media screen and (max-width: 630px) {
   #calendar-div {
      width: 320px;
      padding-left: 0;
      padding-right: 0;
   }

   .calendar {
      margin-left: 20px;
      margin-right: 20px;
   }

   #info-about-price {
      width: 300px;
      height: 250px;
   }

   .label {
      margin-left: 15px;
   }
}
