@charset "utf-8";

@import "../initial";

.w-calendar {
  width: 100%;
  position: relative;

  .widget-title {
    text-align: center;
    border: 0.0625em solid $theme-gray-subtle;
    margin: 0;
    padding: 0.5em 0;
  }

  th {
    background: $theme-color-main;
    color: $theme-white;
    text-align: center;
    font-size: 0.8125rem;
  }

  td {
    border: 0.0625em solid $theme-gray-subtle;
    text-align: center;
    font-size: 0.8125rem;
  }
}

.w-calendar-table {
  margin-bottom: 0;

  .w-calendar-today {
    background: $theme-color-main;
    color: $theme-white;
  }

  .w-calendar-event {
    background: $theme-color-third;
    color: $theme-white;
    cursor: pointer;
  }
}

.w-calendar-nav {
  a {
    position: absolute;
    top: 0.5em;
    left: 0.625em;
    color: $theme-color-main;
  }

  .w-calendar-nav-next {
    left: auto;
    right: 0.625em;
  }
}