/* ====================
Active Service Requests Classes
==================== */

.cp__active-service-request-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.cp__active-service-request-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  width: calc(100% + 30px);
  margin-right: -15px;
  margin-left: -15px;
}

.cp__active-service-request {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  margin-right: 16px;
  margin-left: 16px;
  padding: 32px;
  border-top: 4px solid #0392cf;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  font-size: 14px;
  margin-bottom: 16px;
}

.cp__active-service-request.cp__hide {
  display: none;
}

.cp__active-service-request:last-of-type {
  margin-bottom: 0;
}

@media screen and (min-width: 1026px) {
  .cp__active-service-request {
    width: calc(33.33% - 32px);
    margin-bottom: 32px;
  }
}

.cp__active-service-request.cp__active-service-request-energy:not(:only-child) {
  border-top: 4px solid #7ac043;
}

.cp__active-service-request:only-child {
  width: 100%;
  padding: 16px;
  border-top: 1px solid #ccc;
}

.cp__active-service-request-label {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.cp__active-service-request-number-wrapper {
  order: 2;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #ccc;
}

.cp__active-service-request:only-child
  .cp__active-service-request-number-wrapper {
  order: 1;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 16px;
  border-top: none;
}

.cp__active-service-request-number-label {
  display: flex;
  align-items: center;
}

.cp__active-service-request-chat-container {
  display: none;
  cursor: pointer;
}

.cp__active-service-request:only-child
  .cp__active-service-request-chat-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.cp__active-service-request-description-wrapper {
  order: 1;
  width: 100%;
}

.cp__active-service-request:only-child
  .cp__active-service-request-description-wrapper {
  width: 50%;
  order: 2;
}

.cp__active-service-request-status-wrapper {
  width: 100%;
  order: 3;
}

.cp__active-service-request:only-child
  .cp__active-service-request-status-wrapper {
  width: 50%;
}

.cp__active-service-request-status {
  font-size: 14px;
  font-weight: 400;
  color: #707070;
  line-height: 24px;
  padding: 0 16px;
  border: 1px solid #7ac043;
  border-radius: 16px;
}
