#search-attachment {
  margin-top: -78px;
  padding-top: 78px;
}

#c-documents-btn {
  font-size: 16px;
  font-weight: bold;
  min-width: 80px !important;
  color: #fff;
  border: 1px solid #d71618;
  border-radius: 0 5px 5px 0 !important;
  background: #d71618;
}

#p-documents-box {
  width: 100%;
  padding: 10px;
  border: solid 1px #cecece;
}

.p-search-attachment-wrap {
  font-weight: bold;
  padding: 12px;
  background: #e9e9e9;
}

.p-search-attachment {
  max-width: 994px;
  margin: 0 auto;
  background: #fff;
}

.p-search-attachment-head {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
}
.p-search-attachment-head span {
  font-size: 20px;
  line-height: 180%;
  display: block;
  box-sizing: border-box;
  max-width: 768px;
  margin: 0 auto;
  padding: 24px 0;
}

.p-search-attachment-box {
  max-width: 720px;
  margin: 0 auto;
}
.p-search-attachment-box p {
  font-size: 13px;
  margin: 8px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid;
}
.p-search-attachment-box span {
  font-size: 14px;
  display: inline-block;
  margin-bottom: 12px;
}

.p-search-attachment-link {
  padding-top: 8px;
  border-top: 1px solid;
}
.p-search-attachment-link span {
  position: relative;
  display: inline-block;
  margin-right: 48px;
  padding: 14px 0;
}
.p-search-attachment-link span a:after {
  position: absolute;
  top: 18px;
  right: -24px;
  display: block;
  width: 10px;
  height: 10px;
  content: "";
  transform: rotate(-45deg);
  color: #000;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

#p-documents-box {
  margin: 0;
  border-color: #8e8e8e;
  border-radius: 5px 0 0 5px;
}

.p-search-attachment_inner {
  margin-bottom: 16px;
}

.p-clear-suggest {
  top: 26%;
  right: 0;
  width: 20px;
  height: 20px;
  margin-right: 100px;
  cursor: pointer;
  opacity: 0.5;
}

.p-search-attachment_list {
  display: none;
  overflow-y: auto;
  width: 100%;
  max-height: 300px;
  background: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.p-search-attachment_list span {
  position: relative;
  margin: 0 0 5px 0;
  padding: 6px 20px;
  cursor: pointer;
}
.p-search-attachment_list span:hover {
  opacity: 0.8;
  background: #777;
}
.p-search-attachment_list a:hover {
  color: inherit;
}

.p-color_white {
  color: #fff;
}

@media screen and (max-width: 1280px) {
  .p-search-attachment {
    padding: 0 20px;
  }
  .p-search-attachment-head span {
    font-size: 16px;
  }
  .p-search-attachment_inner {
    width: auto;
    margin: 0 auto 16px;
    padding: 0;
  }
  .p-search-attachment_list span {
    flex-wrap: wrap;
  }
  .p-search-attachment-link span a:after {
    width: 8px;
    height: 8px;
  }
}
