@mixin widget_calendar() {
  table {
    margin-bottom: 0;
    font-size: 13px;

    caption {
      background: rgba(255,255,255,0.1);
      text-align: center;
      font-size: rem-calc(11);
      line-height: 1.4;
      text-transform: uppercase;
      letter-spacing: 3px;
      padding: 10px 0;
    }
    thead {
      tr {
        th {
          background: v(site-border-color);
          text-align: center;
        }
      }
    }
    td,
    th {
      border: solid 1px v(site-border-color);
      text-align: center;
      padding: rem-calc(5);

      a {
        color: inherit;
      }
    }

    tbody {
      tr {
        > td {
          font-size: rem-calc(13);
          line-height: 2.4;
          color: #777;
          &:not(.pad):hover {
            background-color: v(site-border-color);
            color: v(site-heading-color);
            a {
              color: v(site-heading-color);
            }
          }
          a {
            border-bottom: 1px solid;
            font-weight: bold;
          }
        }
      }
    }

    tfoot {
      tr {
        > td {
          text-align: left;

          &#next {
            text-align: right;
          }
        }
      }
    }

    th {
      font-size: rem-calc(13);
      font-weight: bold;
    }

    tr {
      border: none;
    }

    td {
      padding: rem-calc(4.8);

      &#today {
        position: relative;

        &:after {
          content: "";
          position: absolute;
          top: 1px;
          border-radius: 100%;
          width: 4px;
          height: 4px;
        }
      }
    }

    a {
      font-size: rem-calc(11);
      font-weight: 500;
      text-transform: uppercase;
    }
  }
}
.wp-calendar-nav {
  margin-top: rem-calc(20);
}
