/* ========================================
   Contacts Module - CSP Compliant Styles
   Bootstrap 5 Compatible
   ======================================== */

/* Common Styles */
.contact-tabtop-bg {
  background-size: 843px;
}

.contact-table-width-full {
  width: 100%;
}

.contact-tabmiddle-min-height {
  min-height: 100px;
}

.contact-tabmiddle-170 {
  min-height: 170px;
}

.contact-clear-padding {
  padding-bottom: 10px;
}

.contact-clear {
  clear: both;
}

/* Table Header Styles - _contacts.html.erb */
.contact-th-delete {
  width: 11%;
  color: #000000;
}

.contact-th-name {
  width: 20%;
}

.contact-th-mobile,
.contact-th-work,
.contact-th-home {
  width: 15%;
}

.contact-th-fax {
  width: 14%;
}

.contact-th-edit {
  width: 8%;
}

/* Table Cell Styles */
.contact-td-delete {
  width: 11%;
}

.contact-td-name {
  width: 20%;
  text-align: center;
}

.contact-td-mobile,
.contact-td-work,
.contact-td-home {
  width: 15%;
  text-align: center;
}

.contact-td-fax {
  width: 14%;
  text-align: center;
}

.contact-td-edit {
  width: 8%;
}

/* Groups Table Styles - _groups.html.erb */
.group-th-delete {
  width: 15%;
}

.group-th-id {
  width: 20%;
}

.group-th-count {
  width: 20%;
}

.group-th-edit {
  width: 8%;
}

.group-td-delete {
  width: 15%;
}

.group-td-id {
  width: 20%;
}

.group-td-count {
  width: 20%;
}

.group-td-edit {
  width: 8%;
}

/* Search Input Styles - contacts.html.erb */
.contact-search-input {
  width: 350px;
  height: 20px;
  float: left;
}

.contact-search-input-alt {
  width: 47%;
  float: left;
  height: 30px;
}

.contact-search-btn {
  float: left;
}

.contact-search-btn-margin {
  float: left;
  margin: 0 10px;
}

/* Groups Search Input - groups.html.erb */
.group-search-input {
  width: 200px;
  height: 20px;
  float: left;
}

.group-search-input-alt {
  width: 200px;
  float: left;
  height: 30px;
}

/* Email Contact List - _email_contact_list.html.erb */
.email-contact-table {
  padding: 5px;
  width: 100%;
  text-align: left;
}

.email-contact-td-width-10 {
  width: 10%;
}

.text-decoration-underline {
  text-decoration: underline;
}

/* Group Details - _group_details.html.erb */
.group-details-container {
  margin-left: 9%;
  text-align: left;
}

/* Identity Table - _contacts1.html.erb */
.contact-identity-table-margin {
  margin-top: 5px;
}

/* Edit Contact - edit_contact.html.erb */
.edit-contact-red-label {
  color: red;
}

.edit-contact-postal-address {
  width: 49%;
}

/* Edit Group - edit_group.html.erb */
.edit-group-flex-li {
  border-bottom: none;
  display: flex;
}

.edit-group-span-width-55 {
  width: 55%;
}

.edit-group-span-width-32 {
  width: 32%;
  border-right: 1px solid #CCCCCC;
  margin-left: 2px;
}

.edit-group-span-width-45 {
  width: 45%;
}

.edit-group-select-width {
  width: 55%;
}

.edit-group-ext-phone-hidden {
  display: none;
  width: 45%;
}

/* New Contact - new_contact.html.erb */
.new-contact-red-asterisk {
  color: red;
}

/* New Group - new_group.html.erb */
.new-group-flex-li {
  border-bottom: none;
  display: flex;
}

.new-group-span-width-55 {
  width: 55%;
}

.new-group-span-width-32 {
  width: 32%;
  border-right: 1px solid #CCCCCC;
  margin-left: 2px;
}

.new-group-span-width-45 {
  width: 45%;
}

.new-group-select-width {
  width: 55%;
}

.new-group-ext-phone-hidden {
  display: none;
  width: 45%;
}

/* Index Pages */
.contact-index-list-width {
  float: left;
  width: 11%;
  height: 221px;
  margin-top: 40px;
}

.contact-index-table-margin {
  width: 94%;
  padding: 3px;
  padding-top: 0px;
  margin-top: 60px;
}

.contact-index-tabblock {
  float: left;
  width: 87%;
  padding-left: 13px;
}

.contact-index1-loading {
  text-align: center;
  padding-top: 150px;
  font-size: 22px;
  background: #ffffff;
}

/* Inline message colors */
.contact-color-red {
  color: red;
}

.contact-color-green {
  color: green;
}

.contact-error-display {
  color: red;
}

/* Button margin helpers */
.contact-btn-margin {
  margin: 0 10px;
}

.contact-btn-float-right {
  float: right;
}

/* Text align helpers */
.contact-text-center {
  text-align: center;
}

/* Float helpers */
.contact-float-left {
  float: left;
}

.contact-float-right {
  float: right;
}

/* Display helpers */
.contact-display-none {
  display: none;
}

.contact-display-inline {
  display: inline;
}

/* Width helpers */
.contact-width-full {
  width: 100%;
}

/* Margin/Padding helpers */
.contact-margin-top-5 {
  margin-top: 5px;
}

/* Loading message */
.contact-loading-msg {
  text-align: center;
  padding-top: 150px;
  font-size: 22px;
}

/* Table cell widths - _contacts.html.erb */
.contact-td-checkbox {
  width: 11%;
}

.contact-td-name {
  width: 20%;
  text-align: center;
}

.contact-td-mobile {
  width: 15%;
  text-align: center;
}

.contact-td-work {
  width: 15%;
  text-align: center;
}

.contact-td-home {
  width: 15%;
  text-align: center;
}

.contact-td-fax {
  width: 14%;
  text-align: center;
}

.contact-td-edit {
  width: 8%;
}

/* Groups1 page styles */
.group-search-input-alt {
  width: 200px;
  float: left;
  height: 30px;
}

.group-search-btn-margin {
  float: left;
  margin: 0 10px;
}

.group-btn-float-right {
  float: right;
}

/* Edit group styles */
.edit-group-contact-book {
  width: 55%;
}

.edit-group-ext-book {
  width: 55%;
}

.edit-group-float-none {
  float: none;
}

.edit-group-ext-ph-div {
  display: none;
  width: 45%;
}

.edit-group-ext-contact {
  width: 55%;
}

.edit-group-th-delete {
  width: 15%;
}

/* New contact styles */
.new-contact-red-label {
  color: red;
}

.new-contact-postal-address {
  /* Uses default_form_filds - no inline style needed */
}

/* New group styles */
.new-group-red-asterisk {
  color: red;
}

.new-group-span-contacts {
  width: 55%;
}

.new-group-contact-book {
  width: 55%;
}

.new-group-float-none {
  float: none;
}

.new-group-span-ext {
  width: 32%;
  border-right: 1px solid #CCCCCC;
  margin-left: 2px;
}

.new-group-ext-book {
  width: 55%;
}

.new-group-ext-ph-div {
  display: none;
  width: 45%;
}

.new-group-ext-contact {
  width: 55%;
}

.new-group-th-delete {
  width: 15%;
}

/* Groups page - action container */
.group-action-container {
  font-size: 12px;
}

/* Index1 page - contacts heading */
.index1-contacts-heading {
  margin-bottom: 36px;
  font-style: italic;
}

/* Index1 - loading background */
.index1-loading-bg {
  background: #ffffff;
}

/* Contact clear padding - _contacts.html.erb */
.contact-clear-padding {
  padding-bottom: 10px;
}

/* Contact empty message - contacts.html.erb, contacts1.html.erb */
.contact-empty-message {
  font-size: 15px;
}

/* Contact action container - contacts.html.erb */
.contact-action-container {
  font-size: 12px;
}

/* Edit group - additional styles */
.edit-group-li-flex {
  border-bottom: none;
  display: flex;
}

.edit-group-span-contacts {
  width: 55%;
}

.edit-group-span-ext {
  width: 32%;
  border-right: 1px solid #CCCCCC;
  margin-left: 2px;
}

/* New group - li flex */
.new-group-li-flex {
  border-bottom: none;
  display: flex;
}

/* Edit group table */
.edit-group-table-container {
  width: 100%;
}

.edit-group-th-access {
  width: 65%;
}

.edit-group-th-type {
  width: 20%;
}

/* New group table */
.new-group-table-container {
  width: 100%;
}

.new-group-th-access {
  width: 65%;
}

.new-group-th-type {
  width: 20%;
}

/* Group details row - hidden by default */
.group-details-row {
  display: none;
  background-color: white;
}

/* Group summary table - edit_group.html.erb */
.group-summary-td-label {
  width: 8%;
}

.group-summary-td-center {
  text-align: center;
}

.group-summary-td-select {
  text-align: center;
  width: 20%;
}

.group-summary-td-action {
  width: 5%;
}

.group-summary-td-separator {
  width: 4%;
}

.group-summary-td-ext-label {
  width: 10%;
}

.group-summary-td-add-label {
  width: 11%;
}

.group-summary-link {
  float: left;
}

/* Group member checkbox - edit_group.html.erb */
.group-member-checkbox {
  width: 120px;
}

/* Feature validation classes - used by fo_validations() helper */
.fo-hidden {
  display: none;
}

.fo-disabled {
  border: 1px dotted #FF0000;
}
