/**
 * @file
 * Seven theme specific styles for the Contribute System Status Community info.
 *
 * @see core/themes/seven/css/components/system-status-report-general-info.css
 */

.webform-help-support {
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 25px;
}

.webform-help-support__header {
  background-color: #f5f5f2;
  padding: 10px;
  margin: 0;
  overflow: hidden;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  font-size: 14px;
  text-transform: uppercase;
}

.webform-help-support__header-more {
  font-weight: normal;
  text-transform: none;
  font-size: 12px;
}

.webform-help-support__item {
  background: #fcfcfa;
  border-top: 1px solid #ccc;
  padding: 10px 10px 20px;
  box-sizing: border-box;
  overflow-x: auto;
}

.webform-help-support__item-icon {
  display: inline-block;
  height: 55px;
  width: 55px;
  vertical-align: top;
}
.webform-help-support__item-icon:before {
  content: "";
  background-size: 45px;
  background-position: 50% center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  display: block;
}
.webform-help-support__item-icon--contribute:before {
  background-image: url(../icons/cccccc/drupal.svg);
}
.webform-help-support__item-icon--fund:before {
  background-image: url(../icons/cccccc/webform.svg);
}
.webform-help-support__item-icon--contact:before {
  background-image: url(../icons/cccccc/person.svg);
}

.webform-help-support__item-details {
  box-sizing: border-box;
  display: inline-block;
  width: calc(100% - 60px);
  padding-left: 10px; /* LTR */
  position: relative;
}
[dir="rtl"] .webform-help-support__item-details {
  padding-right: 10px;
  padding-left: 0;
}

.webform-help-support__item-details .button {
  margin: 10px 0 10px 0;
}

@media screen and (min-width: 48em) {
  .webform-help-support__items {
    display: flex;
    flex-wrap: wrap;
    overflow-x: hidden;
  }

  .webform-help-support__item {
    flex: 1;
    flex-basis: 33%;
    width: 33%;
  }

  .webform-help-support__item:nth-child(2),
  .webform-help-support__item:nth-child(3) {
    border-left: 1px solid #ccc; /* LTR */
  }
  [dir="rtl"] .webform-help-support__item:nth-child(1),
  [dir="rtl"] .webform-help-support__item:nth-child(2) {
    border-left: 1px solid #ccc;
  }
}

@media screen and (min-width: 60em) {
  .webform-help-support__item-icon {
    width: 55px;
    height: 55px;
  }
  .webform-help-support__item-icon:before {
    background-size: 45px;
  }
}

@media screen and (max-width: 48em) {
  .webform-help-support__header {
    display: none;
  }
  .webform-help-support {
    border-top: 0;
    margin-top: 25px;
  }
}
