/**
 * STYLING FOR VOLUNTEER CALENDAR
 * If you want to modify the CSS, first create a directory in your child theme (you are using a child theme, right??!!)
 * with name: pta-volunteer-calendar
 * Then COPY this file to that directory and make any desired changes
 * This plugin will first look for this CSS file in that directory of your theme.
 * If not found, it will load this plugin CSS file instead
 */

.pta-sus-calendar-container {
    position: relative;
    width: auto;
    padding: 0;
    background: #f6f6f6;
    box-shadow: inset 0 1px rgba(255,255,255,0.8);
}

.pta-sus-calendar {
    width: 100%;
    min-height: 100%;
    border: 1px solid #ddd;
}

.pta-sus-head {
    background: transparent;
    color: #ef4f69;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

div.pta-sus-views {
    text-align: right;
}

th.pta-sus-date {
    text-align: center;
    border-bottom: 1px solid #ddd;
    width:  14.28%; /* 100% / 7 */
}

table.pta-sus-calendar, table.pta-sus-mobile-calendar  {
    border-collapse: separate;
}

tr.pta-sus-row {
    width: 100%;
}

tr.pta-sus-row > td,
.pta-sus-head > tr > th {
    width:  14.28%; /* 100% / 7 */
}

/* IE 9 is rounding up the calc it seems */
.ie9 .pta-sus-calendar .pta-sus-row > tr > td,
.ie9 .pta-sus-calendar .pta-sus-head > tr > th {
    width:  14.2%;
}

tr.pta-sus-row td {
    background: #fff;
    border-right: 1px solid #ddd;
    padding: 4px;
    vertical-align: top;
}

.pta-sus-head > tr th {
    text-align: center;
    border-bottom: 1px solid #ddd;
    height: 5px;
}

tr.pta-sus-row >td > span.pta-sus-date {
    width: 30px;
    height: 20px;
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: #ddd;
    text-shadow: 0 -1px 0 rgba(255,255,255,0.8);
    bottom: 5px;
    right: 5px;
    text-align: right;
}

tr.pta-sus-row > td > span.pta-sus-weekday {
    padding-left: 5px;
    display: none;
}

tr.pta-sus-row > td.pta-sus-today {
    background: #ef4f69;
    box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);
}

tr.pta-sus-row > td.pta-sus-out {
    opacity: 0.6;
}

tr.pta-sus-row > td:last-child,
.pta-sus-head > tr > td:last-child {
    border-right: none;
}

.pta-sus-row:last-child {
    border-bottom: none;
}

div.pta-sus-content-wrap {
    min-height: 100px;
}

/* Custom calendar elements */

.pta-sus-calendar-wrap {
    margin: 10px auto;
    position: relative;
    /*overflow: hidden;*/
    /*overflow-y: scroll; /* has to be scroll, not auto */
    /*-webkit-overflow-scrolling: touch;*/
}

.pta-sus-calendar-wrap.mobile {
    overflow-y: scroll; /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
}

.pta-sus-inner {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.pta-sus-inner:before,
.pta-sus-inner:after  {
    content: '';
    width: 99%;
    height: 50%;
    position: absolute;
    background: #f6f6f6;
    bottom: -4px;
    left: 0.5%;
    z-index: -1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.pta-sus-inner:after {
    content: '';
    width: 98%;
    bottom: -7px;
    left: 1%;
    z-index: -2;
}

.pta-sus-header {
    background: #fff;
    padding: 5px 10px 10px 20px;
    height: 70px;
    position: relative;
    border-top: 5px solid #ef4f69;
    border-bottom: 1px solid #ddd;
}

.pta-sus-header h2,
.pta-sus-header h3 {
    text-align: center;
    text-transform: uppercase;
    margin-top: 0 !important;
    margin-bottom: 0!important;
}

.pta-sus-header h2 {
    color: #495468;
    font-weight: 300;
    font-size: 18px;

}

.pta-sus-header h3 {
    font-size: 10px;
    font-weight: 700;
    color: #b7bbc2;
}

.pta-sus-header nav span {
    position: absolute;
    top: 17px;
    width: 30px;
    height: 30px;
    color: transparent;
    cursor: pointer;
    margin: 0 1px;
    font-size: 20px;
    line-height: 30px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.pta-sus-header nav span:first-child {
    left: 5px;
}

.pta-sus-header nav span:last-child {
    right: 5px;
}

.pta-sus-header nav span:before {
    color: #ef4f69;
    position: absolute;
    text-align: center;
    width: 100%;
}

.pta-sus-header nav span.pta-sus-prev:before {
    content: '\25c0'; /* Previous month navigation character */
}

.pta-sus-header nav span.pta-sus-next:before {
    content: '\25b6'; /* Next month navigation character */
}

.pta-sus-header nav span:hover:before {
    color: #495468;
}

.pta-sus-hidden-info {
    display: none;
}

div.pta-sus-cal-popup-info {
    cursor: pointer;
}

tr.pta-sus-row td:empty {
    background: transparent;
}

tr.pta-sus-row > td > span.pta-sus-date {
    top: 0;
    left: 2px;
    text-align: left;
    margin: 0;
    color: #686a6e;
    font-weight: 400;
    pointer-events: none;
}

tr.pta-sus-row td.pta-sus-today span.pta-sus-date {
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

div.pta-sus-cal-event-wrap {
    margin: 0.1em;
    padding: 0.3em;
}

div.pta-sus-cal-task-wrap {
    margin-left: 0.2em;
    margin-bottom: 0.5em;
}

.task_title {
    font-weight: 600;
}

div.pta-sus-cal-event-wrap:nth-child(even) {
    background: #e0e0e0;
}

div.pta-sus-cal-event-wrap:nth-child(odd) {
    background: #eeeeee;
}

.pta-sus-cal-event-wrap h4, .pta-sus-cal-event-wrap p, .pta-sus-cal-event-wrap ul {
    margin: 0 !important;
}

.pta-sus-cal-event-wrap li {
    margin: 0 0 0 1.5rem !important;
}

div.ui-dialog-content > div.pta-sus-cal-event-wrap, div.ui-dialog-content > div.pta-sus-cal-task-wrap {
    padding: 0.3em;
}

div.ui-dialog-content > div.pta-sus-cal-task-wrap:nth-child(even) {
    background: #e0e0e0;
}

div.ui-dialog-content > div.pta-sus-cal-task-wrap:nth-child(odd) {
    background: #eeeeee;
}

div.ui-dialog-content > div.sheet_title, div.ui-dialog-content > div.pta-sus-task-wrap > p {
    padding-left: 0.3em;
    padding-bottom: 0.3em;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

@media screen and (max-width: 400px) {
    .pta-sus-calendar-container {
        height: 500px;
    }
    .pta-sus-calendar .pta-sus-row > td > span.pta-sus-date {
        font-size: 15px;
    }
}

/* VALIDATOR CSS */
select.error, textarea.error, input.error, label.error {
    color:#FF0000;
}
select.error, textarea.error, input.error {
    border: 1px solid #FF0000;
}

/* BLOCK UI CSS */

/* paragraph styling of Block UI message */
p.ptavc-block {
    margin: 2em;
    font-size: large;
    font-weight: bold;
    color: white;
}

/* Block UI message container div */
div.blockMsg {
    width:  40%;
    top:    30%;
    left:   30%;
    text-align: center;
    background-color: #f00;
    border: 1px solid #ddd;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
    -moz-opacity:.70;
    opacity:.70;
    padding: 15px;
    color: #fff;
}

/* Block UI Overlay */
div.blockOverlay {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
    -moz-opacity:.70;
    opacity:.70;
    background-color: #E6E6E6;
}

/* Progress Bar - added in version 1.1.0 */

.pta-progress-bar-wrap {width:100%;} /* a container full width around it, just to have everything else above it */
.pta-progress-bar-outter { /* outter progress bar with gradient background */
    height:25px;
    width:80%;
    position: relative;
    border:solid 1px #000;
    margin-bottom:10px;
    background: #d43110; /* Old browsers */
    background: -moz-linear-gradient(left, #d43110 0%, #d57d1c 30%, #8ec63f 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #d43110 0%,#d57d1c 30%,#8ec63f 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #d43110 0%,#d57d1c 30%,#8ec63f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d43110', endColorstr='#8ec63f',GradientType=1 ); /* IE6-9 */
}
.pta-progress-bar-inner { /* inner progress bar, invert the $percent in php and float this div to the right to have the left side show the outter div background below it increase to green */
    height:23px;
    border-left:solid 1px #000;
    background-color:rgba(255,255,255,0.66);
    text-align:left;
    float:right;
}
.pta-progress-bar-text {
    position: absolute;
    left: 5px;
    color: white;
}