/*******************************Calendar Top Navigation*********************************/
div#calendar{
  margin:0px auto;
  padding:0px;
  max-width: 602px;
  width: 100%;
  font-family:Helvetica, "Times New Roman", Times, serif;
}
 
div#calendar div.box{
    position:relative;
    top:0px;
    left:0px;
    width:100%;
    height:40px;
    background-color:   #639bde ;
}
 
div#calendar div.header {
    line-height: 40px;
    vertical-align: middle;
    padding: 0 10px;
    width: 100%;
    height: 40px;
    text-align: center;
}
 
div#calendar div.header a.prev,div#calendar div.header a.next{ 
    height: 17px;
    cursor:pointer;
    text-decoration:none;
    color:#FFF;
}
div#calendar div.header a.prev{
    float: left;
}
div#calendar div.header a.next{
    float: right;
}
 
div#calendar div.header span.title{
    color:#FFF;
    font-size:18px;
}
 
 
div#calendar div.header a.prev{
    left:0px;
}
 
div#calendar div.header a.next{
    right:0px;
}
 
 
 
 
/*******************************Calendar Content Cells*********************************/
div#calendar div.box-content{
    border:1px solid #787878 ;
    border-top:none;
    padding: 10px;
}
 
 
 
div#calendar ul.label{
    float:left;
    margin: 0px;
    padding: 0px;
    width: 100%;
}
 
ul.label li {
    margin: 0;
    padding: 0px;
    float: left;
    list-style-type: none;
    width: 14.28%;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
    color: #000;
    font-size: 15px;
    background-color: transparent;
}
 
 
div#calendar ul.dates{
    float:left;
    margin: 0px;
    padding: 0px;
    width: 100%;
}
div#calendar ul.dates li.week-loop {
    width: 100%;
    float: left;
    margin: 10px 0;
    border: none;
}

/** overall width = width+padding-right**/
div#calendar ul.dates li{
    margin:0px;
    padding:0px;
    margin-right:5px;
    margin-top: 5px;
    line-height:80px;
    vertical-align:middle;
    float:left;
    list-style-type:none;
    width:80px;
    height:80px;
    font-size:25px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color:#d1dbd1;
    text-align:center;
    position: relative;
}
 
:focus{
    outline:none;
}
 
div.clear{
    clear:both;
}
div#calendar ul.dates .today a{
    color: #4494ec;
}
.schedule-plan-date.upcoming-date {
    box-shadow: inset 0 0 27px #4494ec;
    border: 1px solid #4494ec !important;
}
.schedule-plan-date.upcoming-date a{
    color: #000;
}
.schedule-plan-date span.progress-bar {
    position: absolute;
    width: 100%;
    height: 10px;
    left: 0;
    bottom: 0;
    border: 1px solid #9f0f0f;
    background: #bb2b2b;
}
.schedule-plan-date span.progress-bar .progress{
    height: 100%;
    float:left;
    background: #a7ef99;
}



/********************/
@keyframes growProgressBar {
  0%, 33% { --pgPercentage: 0; }
  100% { --pgPercentage: var(--value); }
}

@property --pgPercentage {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

div[role="progressbar"] {
    --size: 12rem;
    --fg: #94bd9b;
    --bg: #def;
    --pgPercentage: var(--value);
    animation: growProgressBar 3s 1 forwards;
    width: 100%;
    height: 100%;
    background: 
    radial-gradient(closest-side, white 80%, transparent 0 100%, white 0),
    conic-gradient(var(--fg) calc(var(--pgPercentage) * 1%), var(--bg) 0)
    ;
    font-family: Helvetica, Arial, sans-serif;
    font-size: calc(var(--size) / 5);
    color: var(--fg);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.schedule-plan-date.upcoming-date .progressbar {
    display: none;
}

.post-modal.modal {
    display: block !important;
    max-height: 1px;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.5s ease-in-out 0.5s;
    -webkit-transition: all 0.5s ease-in-out 0.5s;
}

.post-modal.show {
    max-height: 100vh;
    overflow: visible;
    visibility: visible;
    transition: max-height 0.5s ease-in-out 0.5s;
    -webkit-transition: max-height 0.5s ease-in-out 0.5s;
}

.post-modal:before {
    content: '';
    width: 100%;
    height: 100vh;
    background: #00000096;
    position: fixed;
    transition: all 0.5s ease-in-out 0s;
    -webkit-transition: all 0.5s ease-in-out 0s;
}

/* For Mobile Responsive - Calender */


:root {
    --fullwidth: 100%;
    --lineHeight: 80px;
}

.dates ul.dates-loop {
    display: flex;
}

#calendar .dates ul.dates-loop li {
    width: var(--fullwidth) !important;
    height: var(--fullwidth) !important;
    line-height: inherit;
    font-size: 18px !important;
    color: #333 !important;
    font-weight: 900;
    padding: 10px 0;
}

div#calendar ul.dates li.week-loop {
    line-height: 20px !important;
    height: var(--fullwidth);
}

#calendar .dates ul.dates-loop li.upcoming-date {
    color: #0056b7 !important;
}

div#calendar div.header span.title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 24px;
}

div#calendar div.header a.prev, div#calendar div.header a.next {
    font-size: 18px;
    background: #4079b7;
    padding: 16px 12px;
    line-height: 3px;
    margin: 4px 0 0 0;
    font-weight: 700;
    border-radius: 6px;
}

#calendar .dates ul.dates-loop li.today {
    font-size: 13px !important;
    color: #333 !important;
}

#calendar .dates ul.dates-loop li.today a.calendar-date {
    color: #333;
    font-size: 15px;
}

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

    #calendar .dates ul.dates-loop li{
        padding: 25px 0;
    }

}

@media only screen and (min-width: 600px) and (max-width: 640px){

    #calendar .dates ul.dates-loop li{
        padding: 23px 0;
    }

}

@media only screen and (min-width: 580px) and (max-width: 600px){

    #calendar .dates ul.dates-loop li{
        padding: 20px 0;
    }

}

@media only screen and (min-width: 550px) and (max-width: 580px){

    #calendar .dates ul.dates-loop li{
        padding: 22px 0;
    }

}

@media only screen and (min-width: 530px) and (max-width: 550px){

    #calendar .dates ul.dates-loop li{
        padding: 18px 0;
    }

}


@media only screen and (min-width: 500px) and (max-width: 530px){

    #calendar .dates ul.dates-loop li{
        padding: 16px 0;
    }

}

@media only screen and (min-width: 480px) and (max-width: 500px){

    #calendar .dates ul.dates-loop li{
        padding: 13px 0;
    }

}


@media only screen and (min-width: 450px) and (max-width: 479px){

    #calendar .dates ul.dates-loop li{
        padding: 16px 0;
    }

}

@media only screen and (min-width: 400px) and (max-width: 449px){

    #calendar .dates ul.dates-loop li{
        padding: 13px 0;
    }

}

@media only screen and (min-width: 385px) and (max-width: 400px){

    #calendar .dates ul.dates-loop li{
        padding: 11px 0;
    }

}


@media only screen and (min-width: 360px) and (max-width: 385px){

    #calendar .dates ul.dates-loop li{
        padding: 9px 0;
    }

}


@media only screen and (min-width: 350px) and (max-width: 359px){

    #calendar .dates ul.dates-loop li{
        padding: 10px 0;
    }

}


@media only screen and (min-width: 300px) and (max-width: 350px){

    #calendar .dates ul.dates-loop li{
        padding: 6px 0;
    }

}

@media only screen and (max-width: 300px){

    #calendar .dates ul.dates-loop li{
        padding: 3px 0;
        font-size: 12px !important;
    }

    div#calendar ul.label li.title {
        font-size: 11px;
        font-weight: 600;
    }

    #calendar .dates ul.dates-loop li.today a.calendar-date {
        font-size: 10px;
    }

}

ul.dates-loop li:not(.schedule-plan-date) {
    box-shadow: inset 0 0 17px #ddd;
    opacity: 0.5;
}