*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}


.display_flex{
    display: flex;
    justify-content: center;
    align-items: center;
}

.display_flex_col{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.display_flex_start{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.display_flex_end_col{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}


.display_flex_end_col_right {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        flex-direction: column;
}


.display_flex_end{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.display_flex_spacebtn{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}


.heading {
    font-family: 'Righteous', cursive;
}

.heading .fal{
    color:rgb(94, 8, 8);
    font-weight: 700;
}

.upcoming_leave_wrapper {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 100vh;
}


.leave_heading{
    background-color: #ffd0d5;
    padding: 12px;
}

.leave_body{
    background-color: #ffffff;
    border: 1px solid #dc35451f;
    padding: 12px;
}

.leave_names h6{
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
   
}

.leave_name h6{
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-family: 'Vollkorn', serif;
    font-size:13px;
}

.leave_name  span{
    color:rgb(255 59 59);
}

.leave_dates h6{
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.leave_date h6 {
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    text-transform: capitalize;
    color: green;
}


.terms_block{
    max-height: 124px;
    padding: 10px;
    overflow-y: scroll;
    background-color: #ffd0d569;
}

.terms_block p{
    font-size: 13px;
}
.terms_block::-webkit-scrollbar {
    display: none;
  }


.leave_block{
    height: 300px;
    overflow: overlay;
    background-color: rgb(233, 140, 140);
    border-bottom: 1px solid #fad4d8;
}


.leave_block::-webkit-scrollbar {
    width: 20px;
  }
  
  /* Track */
  .leave_block  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  .leave_block  ::-webkit-scrollbar-thumb {
    background: red; 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  .leave_block ::-webkit-scrollbar-thumb:hover {
    background: #b30000; 
  }

input[type="date"] {
    position: relative;
    border:none !important;
}



/* create a new arrow, because we are going to mess up the native one
see "List of symbols" below if you want another, you could also try to add a font-awesome icon.. */
input[type="date"]:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900; 
    content: "<i class="fal fa-calendar-alt"></i>";
    color: #555;
    padding: 0 5px;
}

/* change color of symbol on hover */
input[type="date"]:hover:after {
    color: #bf1400;
}

/* make the native arrow invisible and stretch it over the whole field so you can click anywhere in the input field to trigger the native datepicker*/
input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
}

/* adjust increase/decrease button */
input[type="date"]::-webkit-inner-spin-button {
    z-index: 1;
}

 /* adjust clear button */
 input[type="date"]::-webkit-clear-button {
     z-index: 1;
 }

 .icon-chevron {
    display: block;
    width: 15px;
    height: 22px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAWCAMAAAAo0TYrAAAAElBMVEX///8AAAAAAAAAAAAAAAAAAABknMCaAAAABXRSTlMAEHCg0O5XV0MAAAAzSURBVHgBYwACJkYGZMDMysKIwmUFCyC4KAIsrKgCjPQQQPCpzUX4B9O/mOGBGV7o4QkA5zcCv3HiEZgAAAAASUVORK5CYII=);
  }
  .icon-chevron-rotate {
    transform: rotate(180deg);
  }
  .page {
    width: 500px;
    margin: 0 auto;
    padding: 1em;
  }
  .responsive-calendar-placeholder {
  }
  .responsive-calendar-modal {
    background-color: #1d86c8;
    color: white;
    padding: 1em;
  }
  .responsive-calendar .controls {
    text-align: center;
  }
  .responsive-calendar .controls a {
    cursor: pointer;
    color: red;
  }
  .responsive-calendar .controls h4 {
    display: inline;
  }
  .responsive-calendar .day-headers,
  .responsive-calendar .days {
    font-size: 0;
  }
  .responsive-calendar .day {
    display: inline-block;
    position: relative;
    font-size: 14px;
    width: 14.285714285714286%;
    text-align: center;
  }
  .responsive-calendar .day a {
    color: #000000;
    display: block;
    cursor: pointer;
    padding: 20% 0 20% 0;
  }
  .responsive-calendar .day a:hover {
    background-color: #eee;
    text-decoration: none;
  }
  .responsive-calendar .day.header {
    border-bottom: 1px gray solid;
  }
  .responsive-calendar .day.active a {
    background-color: #1d86c8;
    color: #ffffff;
  }
  .responsive-calendar .day.active a:hover {
    background-color: #36a0e2;
  }
  .responsive-calendar .day.active .not-current {
    background-color: #8fcaef;
    color: #ffffff;
  }
  .responsive-calendar .day.active .not-current:hover {
    background-color: #bcdff5;
  }
  .responsive-calendar .day.not-current a {
    color: #ddd;
  }
  .responsive-calendar .day .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 1;
  }
  

  @media screen and (max-width:330px){

    .upcoming_leave_wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
        min-height: 100vh;
    }
    .leave_date h6 {
        margin-bottom: 0px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 13px;
        text-transform: capitalize;
        color: green;
    }

    .leave_name h6 {
        margin-bottom: 0px;
        padding-top: 10px;
        font-size: 14px;
        padding-bottom: 10px;
        text-transform: uppercase;
        font-family: 'Vollkorn', serif;
    }

  }