@charset "UTF-8";

.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;
}

/* Material Design Cards */
.demo-card-wide {
  min-height: 200px;
  margin: 20px 0;
}

.demo-card-square {
  min-height: 300px;
  margin: 20px 0;
}

.guide-card {
  position: relative;
  display: block;
  margin: 20px;
  max-width: 400px;
}

.guide-bg-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.mdl-card__title {
  padding: 16px;
}

.mdl-card__title-text {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.mdl-card__supporting-text {
  padding: 16px;
  color: rgba(0,0,0,.54);
}

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

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

.mdl-button--colored {
  color: #3f51b5;
}

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

/* Card lists */
.card-list {
  margin-bottom: 20px;
}

.card-list h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.card-list ol {
  margin: 0;
  padding-left: 20px;
}

.card-list li {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.card-list a {
  text-decoration: none;
}

.card-list a:hover {
  text-decoration: underline;
}

.manual-link {
  display: inline-block;
  margin-left: 8px;
  font-size: 16px;
}

/* 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;
  }
}