@charset "UTF-8";

/* mdl styles */
.mdl-badge {
  position: relative;
  white-space: nowrap;
  margin-right: 24px;
}

.mdl-badge:not([data-badge]) {
  margin-right: auto;
}

.mdl-badge[data-badge]:after {
  content: attr(data-badge);
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  top: -11px;
  right: -24px;
  font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(255, 64, 129);
  color: rgb(255, 255, 255);
}

.mdl-button .mdl-badge[data-badge]:after {
  top: -10px;
  right: -5px;
}

.mdl-badge.mdl-badge--no-background[data-badge]:after {
  color: rgb(255, 64, 129);
  background: rgb(255, 255, 255);
  box-shadow: 0 0 1px gray;
}

.mdl-button {
  background: 0 0;
  border: none;
  border-radius: 2px;
  color: #000;
  position: relative;
  height: 36px;
  min-width: 64px;
  padding: 0 16px;
  display: inline-block;
  font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow: hidden;
  will-change: box-shadow, transform;
  -webkit-transition:
    box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1),
    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition:
    box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1),
    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 36px;
  vertical-align: middle;
}

.mdl-button::-moz-focus-inner {
  border: 0;
}

.mdl-button:hover {
  background-color: rgba(158, 158, 158, 0.2);
}

.mdl-button:focus:not(:active) {
  background-color: rgba(0, 0, 0, 0.12);
}

.mdl-button:active {
  background-color: rgba(158, 158, 158, 0.4);
}

.mdl-button.mdl-button--colored {
  color: rgb(63, 81, 181);
}

.mdl-button.mdl-button--colored:focus:not(:active) {
  background-color: rgba(0, 0, 0, 0.12);
}

input.mdl-button[type='submit'] {
  -webkit-appearance: none;
}

.mdl-button--raised {
  background: rgba(158, 158, 158, 0.2);
  box-shadow:
    0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.mdl-button--raised:active {
  box-shadow:
    0 4px 5px 0 rgba(0, 0, 0, 0.14),
    0 1px 10px 0 rgba(0, 0, 0, 0.12),
    0 2px 4px -1px rgba(0, 0, 0, 0.2);
  background-color: rgba(158, 158, 158, 0.4);
}

.mdl-button--raised:focus:not(:active) {
  box-shadow:
    0 0 8px rgba(0, 0, 0, 0.18),
    0 8px 16px rgba(0, 0, 0, 0.36);
  background-color: rgba(158, 158, 158, 0.4);
}

.mdl-button--raised.mdl-button--colored {
  background: rgb(63, 81, 181);
  color: rgb(255, 255, 255);
}

.mdl-button--raised.mdl-button--colored:hover {
  background-color: rgb(63, 81, 181);
}

.mdl-button--raised.mdl-button--colored:active {
  background-color: rgb(63, 81, 181);
}

.mdl-button--raised.mdl-button--colored:focus:not(:active) {
  background-color: rgb(63, 81, 181);
}

.mdl-button--raised.mdl-button--colored .mdl-ripple {
  background: rgb(255, 255, 255);
}

.mdl-card {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: 16px;
  font-weight: 400;
  min-height: 200px;
  overflow: hidden;
  width: 330px;
  z-index: 1;
  position: relative;
  background: #fff;
  border-radius: 2px;
  box-sizing: border-box;
}

.mdl-card__media {
  background-color: rgb(255, 64, 129);
  background-repeat: repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-origin: padding-box;
  background-attachment: scroll;
  box-sizing: border-box;
}

.mdl-card__title {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: #000;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: stretch;
  -webkit-justify-content: stretch;
  -ms-flex-pack: stretch;
  justify-content: stretch;
  line-height: normal;
  padding: 16px;
  -webkit-perspective-origin: 165px 56px;
  perspective-origin: 165px 56px;
  -webkit-transform-origin: 165px 56px;
  -ms-transform-origin: 165px 56px;
  transform-origin: 165px 56px;
  box-sizing: border-box;
}

.mdl-card__title.mdl-card--border {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mdl-card__title-text {
  -webkit-align-self: flex-end;
  -ms-flex-item-align: end;
  align-self: flex-end;
  color: inherit;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-size: 24px;
  font-weight: 300;
  line-height: normal;
  overflow: hidden;
  -webkit-transform-origin: 149px 48px;
  -ms-transform-origin: 149px 48px;
  transform-origin: 149px 48px;
  margin: 0;
}

.mdl-card__subtitle-text {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.54);
  margin: 0;
}

.mdl-card__supporting-text {
  color: rgba(0, 0, 0, 0.54);
  font-size: 13px;
  line-height: 18px;
  overflow: hidden;
  padding: 16px;
  width: 90%;
}

.mdl-card__actions {
  font-size: 16px;
  line-height: normal;
  width: 100%;
  background-color: transparent;
  padding: 8px;
  box-sizing: border-box;
}

.mdl-card__actions.mdl-card--border {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mdl-card--expand {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.mdl-card__menu {
  position: absolute;
  right: 16px;
  top: 16px;
}


/* Card */
.mdl-card {
  position: relative;
  display: inline-block;
  margin: 0 16px 20px 0;
  vertical-align: top;
  transition: box-shadow 0.2s;

  /* Card raised elevation: 2dp. */
  box-shadow:
    0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.mdl-card:hover {
  /* Card raised elevation: 8dp. */
  box-shadow:
    0 8px 10px 1px rgba(0, 0, 0, 0.14),
    0 3px 14px 2px rgba(0, 0, 0, 0.12),
    0 5px 5px -3px rgba(0, 0, 0, 0.2);
}
.mdl-card-theme {
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: contain;
}
.mdl-card > a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.mdl-card > a:hover {
  text-decoration: none !important;
  filter: opacity(90%);
}
.mdl-card__title {
  font-size: 1.5rem;
  color: #000;
}
.mdl-card-theme .mdl-card__title {
  color: #fff;
  background-color: #607d8b;
  background-repeat: no-repeat;
  background-size: cover;
}
.mdl-card__title > .mdl-card__title-text {
  margin: 0;
  padding: 0;
  font-size: 1.25rem;
}
.mdl-card__supporting-text {
  width: 100%;
  line-height: 1.6;
  font-size: 1rem;
  color: #212121;
  box-sizing: border-box;
}
.mdl-card__supporting-text h4 {
  font-size: 1.125rem;
  margin: 0 0 5px 0;
}
.mdl-card ul,
.mdl-card ol {
  margin: 0 0 15px 0;
  padding-left: 20px;
}
.mdl-card ul:last-child,
.mdl-card ol:last-child {
  margin: 0;
}
.mdl-card ul > li,
.mdl-card ol > li {
  margin-bottom: 6px;
}
.mdl-card ul a,
.mdl-card ol a {
  color: #3f51b5;
  text-decoration: none;
}
.mdl-card ul a:hover,
.mdl-card ol a:hover {
  color: #1a237e;
}
.mdl-card li a i {
  margin: 0 5px;
  color: #3f51b5;
}
.mdl-card li a:hover i {
  color: #1a237e;
}
.mdl-card .mdl-card__actions a {
  font-size: 0.9375rem;
  padding: 0 8px;
  text-decoration: none;
  color: #303f9f;
  text-transform: initial;
}
.mdl-card .mdl-card__actions a:hover {
  text-decoration: none;
}
.mdl-card .mdl-card__actions a i {
  font-size: 18px;
  top: -2px;
}
.mdl-card__title,
.mdl-card__title > .mdl-card__title-text {
  font-size: 1.5rem;
}
.mdl-card__supporting-text,
.mdl-card__supporting-text li {
  font-size: 1rem;
}
.demo-card-wide.mdl-card {
  width: 512px;
}
.demo-card-wide > .mdl-card__menu {
  color: #fff;
}
.demo-card-square.mdl-card {
  width: 320px;
}
.guide-bg-card > .mdl-card__title {
  background-size: cover;
  background-repeat: no-repeat;
}
.guide-card .mdl-card__title-text,
.guide-card .mdl-card__title .mdl-card__title-text,
.admin-sidebar-mini .guide-card .mdl-card__title-text {
  padding: 5px 10px;
  font-size: 1.375rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}
.guide-card .mdl-card__title-text:empty,
.admin-sidebar-mini .guide-card .mdl-card__title-text:empty {
  display: none;
}
.guide-card .mdl-card__actions {
  width: 100%;
  text-align: right;
}
.card-list {
  margin-bottom: 15px;
}
.card-list:last-child {
  margin-bottom: 0;
}
#guide-neticrm-next,
.admin-sidebar-mini #guide-neticrm-next {
  width: 350px;
}
#guide-neticrm-next > .mdl-card__title {
  height: 176px;
  background-image: url(../images/card_neticrm_next.webp);
}
#guide-basic,
.admin-sidebar-mini #guide-basic {
  width: 350px;
}
#guide-basic > .mdl-card__title {
  height: 176px;
  background-image: url(../images/card_basic.webp);
}
#guide-contribute > .mdl-card__title {
  height: 155px;
  background-image: url(../images/card_contribute.webp);
  background-color: #8ec599;
}
#guide-event > .mdl-card__title {
  height: 185px;
  background-image: url(../images/card_event.webp);
  background-position: center -10px;
  background-color: #fdf8f2;
}
#guide-member,
.admin-sidebar-mini #guide-member {
  width: 320px;
}
#guide-member > .mdl-card__title {
  height: 160px;
  background-image: url(../images/card_member.webp);
}
#guide-mailing,
.admin-sidebar-mini #guide-mailing {
  width: 350px;
}
#guide-mailing > .mdl-card__title {
  height: 152px;
  background-image: url(../images/card_mailing.webp);
  background-color: #dde6ed;
}
#guide-support.mdl-card {
  width: 256px;
  height: 256px;
  background: #3e4eb8;
}
#guide-support > .mdl-card__actions {
  border-color: rgba(255, 255, 255, 0.2);
}
#guide-support > .mdl-card__title {
  height: 203px;
  align-items: flex-start;
}
#guide-support > .mdl-card__title > h4 {
  margin-top: 0;
  position: relative;
  z-index: 2;
  line-height: 1.2;
  font-size: 1.375rem;
  color: #fff;
}
#guide-support > .mdl-card__title > h4 > span {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}
#guide-support > .mdl-card__actions {
  display: flex;
  box-sizing: border-box;
  align-items: center;
}
#guide-support > .mdl-card__title,
#guide-support > .mdl-card__actions,
#guide-support > .mdl-card__actions > .mdl-button {
  color: #fff;
}
#guide-support .mdl-card__title {
  position: relative;
}
#guide-support .mdl-card__title i {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0 0 -12px 0;
  font-size: 150px;
  color: #fff;
  opacity: 0.2;
}

@media screen and (max-width: 1440px) {
  .mdl-card__title,
  .mdl-card__title > .mdl-card__title-text {
    font-size: 1.25rem;
  }
  .mdl-card__supporting-text,
  .mdl-card__supporting-text li {
    font-size: 0.9375rem;
  }
}

@media screen and (max-width: 1365px) {
  .demo-card-square.mdl-card,
  #guide-basic,
  #guide-mailing {
    width: 306px;
  }
  .guide-card .mdl-card__title-text {
    font-size: 1.25rem;
  }
  .guide-card li {
    font-size: 0.9375rem;
  }
}

@media screen and (min-width: 1265px) and (max-width: 1365px) {
  .guide-card:nth-child(3n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 1440px) {
  .guide-card,
  .admin-sidebar-mini .guide-card {
    width: 320px;
  }
  #guide-basic,
  .admin-sidebar-mini #guide-basic,
  #guide-neticrm-next,
  .admin-sidebar-mini #guide-neticrm-next {
    width: 440px;
  }
  #guide-mailing,
  .admin-sidebar-mini #guide-mailing {
    width: 380px;
  }
}

/* neticrm footer */
.neticrm-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #555;
  color: #CCC;
  position: relative;
}
.neticrm-footer > div {
  max-width: 33%;
}
.neticrm-footer a,
.neticrm-footer a:hover,
.neticrm-footer a:visited,
.neticrm-footer a:link {
  color: #FFF;
}
body.anonymous .neticrm-footer{
  color: #aaa;
}
.neticrm-footer-center {
  text-align: center;
  font-size: 12px;
}
.neticrm-footer ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
  font-size: 12px;
}
.neticrm-footer-left, .neticrm-footer-center, .neticrm-footer-right {
  padding:10px;
}
.neticrm-footer-left .item-list ul{
  text-align: left;
}
.neticrm-footer-right .item-list ul{
  text-align: right;
}
.neticrm-footer-right .item-list ul li,
.neticrm-footer-left .item-list ul li {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

/* recently item */
@media (max-width: 960px) {
  .neticrm-footer {
    display: none;
  }
}

#menu-neticrm [href="/civicrm/admin/coupon?reset=1"]::after{
  content: " new";
  color: red;
  font-size: 12px;
  vertical-align: text-top;
  font-style: italic;
}
.crm-container tr.crm-event-manage-registration-form-block-is_qrcode td.label label::before {
  content: "new ";
  color: red;
  font-size: 12px;
  vertical-align: text-top;
  font-style: italic;
}
.crm-container tr.crm-contribution-form-block-show_installments_option th label::before {
  content: "new ";
  color: red;
  font-size: 12px;
  vertical-align: text-top;
  font-style: italic;
}
.crm-container tr.crm-contribution-contributionpage-thankyou-form-block-receipt_text a.token-trigger::before {
  content: "new ";
  color: red;
  font-size: 12px;
  vertical-align: text-top;
  font-style: italic;
}
.crm-container tr.crm-event-manage-registration-form-block-confirm_email_text a.token-trigger::before {
  content: "new ";
  color: red;
  font-size: 12px;
  vertical-align: text-top;
  font-style: italic;
}
.crm-container #recur-donor:after {
  content: " beta";
  color: red;
  font-size: 12px;
  vertical-align: text-top;
  font-style: italic;
  top: 10px;
  position: absolute;
  right: 11px;
}
.crm-container tr.crm-mailing-upload-form-block-upload_type .crm-form-radio[for*="CIVICRM_QFID_2"]::after {
  content: "beta";
  color: red;
  font-size: 12px;
  vertical-align: text-top;
  font-style: italic;
}
html[lang="zh-hant"] .crm-container tr.crm-mailing-upload-form-block-upload_type .crm-form-radio[for*="CIVICRM_QFID_2"]::after,
.i18n-zh-hant .crm-container tr.crm-mailing-upload-form-block-upload_type .crm-form-radio[for*="CIVICRM_QFID_2"]::after {
  content: "測試版";
}

/* Fix UI issues of admin theme (e.g. Seven, Claro, Adminimal) */
.ui-dialog.ui-widget-content {
  background: #fff;
}
.ui-datepicker.ui-widget {
  font-size: 16px;
  background: #fff;
}
.ui-datepicker th,
.ui-datepicker td {
  height: auto;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-datepicker .ui-state-active,
.ui-datepicker.ui-widget-content .ui-state-active {
  color: #fff;
}
.adminimal .ui-dialog .ui-dialog-titlebar {
  color: #fff;
}
.adminimal .ui-dialog .ui-dialog-titlebar .ui-widget-header {
  color: #fff;
}
.adminimal .ui-dialog .ui-dialog-titlebar-close {
  background: #fff;
}
.adminimal .crm-container .button {
  background: #333030;
}
.adminimal .crm-container .button:hover {
  background: #555;
}
.adminimal .ui-datepicker th {
  font-size: 11px;
}



/** Home Page Styles **/
.page-neticrm-home .breadcrumb {
  display: none;
}

/* Home panel and content */
.home-panel-wrapper {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
}

.home-panel {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
}

.home-panel-content {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
}

.home-panel-footer {
  border-top: 1px solid #eee;
  padding-top: 20px;
  color: #666;
  font-size: 14px;
}

/* Home blocks and cards */
.home-block {
  border: 1px solid #ddd;
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.home-block .block-inner {
  padding: 15px;
}

.home-block .block-title {
  margin: 0 0 15px 0;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.home-block .block-content {
  padding: 0;
}

/* Home lists */
h4 + .home-list {
  margin-left: 20px;
}

.home-list li {
  margin-bottom: 10px;
  line-height: 1.4;
}

.home-list li a {
  color: #333;
  text-decoration: none;
}

.home-list li a:hover {
  color: #0073aa;
  text-decoration: underline;
}

.home-list li a.manual-link {
  font-size: 0.875em;
  color: #026873;
  margin-left: 10px;
}

/* Responsive grid */
@media (min-width: 768px) {
  .neticrm-home-content {
    float: right;
    width: 70%;
  }
  
  .neticrm-home-sidebar {
    float: left;
    width: 30%;
    padding-right: 20px;
  }
  
  .neticrm-home-content > .b-half {
    float: left;
    width: 49%;
    height: 300px;
  }
  
  .neticrm-home-content > .b-half-even {
    margin-left: 2%;
  }
}

@media (max-width: 767px) {
  .home-panel-wrapper {
    padding: 0 10px;
  }
  
  .home-panel {
    padding: 20px;
  }
  
  #neticrm-home {
    padding: 10px;
  }
  
  .guide-card {
    margin: 10px;
  }
}

/* Permissions page: flag checkboxes that grant more than the neticrm preset */
#permissions .form-checkbox.after-zmdi-warning:after {
  content: '\f1f4';
  color: #D32F2F;
  font-family: 'Material-Design-Iconic-Font';
  display: block;
  padding-top: 8px;
}