.kupo-documents {
  margin: 10px;
}
@media (min-width: 1200px) {
  .kupo-documents {
    max-width: 80%;
    margin: 20px auto;
  }
}
.kupo-documents div, .kupo-documents li, .kupo-documents p, .kupo-documents span, .kupo-documents input {
  font-family: var(--smgCupoFontFamily, "Montserrat", Arial, sans-serif);
}
.kupo-documents h2, .kupo-documents h2 span {
  font-family: var(--smgCupoHeadingFontFamily, "Poppins", Arial, sans-serif);
}

.kupo-no_documents, .kupo-no_search_results {
  text-align: center;
  margin-top: 60px;
  font-size: 16px;
}

.kupo-document-filters {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 20px;
  column-gap: 20px;
  row-gap: 10px;
}
@media (min-width: 650px) {
  .kupo-document-filters {
    grid-template-columns: 7fr 3fr;
  }
}
.kupo-document-filters .kupo-search {
  display: flex;
  flex-flow: row nowrap;
  column-gap: 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #626262;
  padding: 0 5px 0 10px;
  border-radius: 6px;
  font-size: 16px;
  height: 42px;
  box-sizing: border-box;
}
.kupo-document-filters .kupo-search input {
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  display: block;
  height: 100%;
  flex: 1 0 auto;
}
.kupo-document-filters .kupo-search button {
  cursor: pointer;
  appearance: none;
  border: none;
  background: var(--smgCupoPrimaryColor, #ed6102);
  color: #fff;
  border-radius: 6px;
  margin: 0;
  padding: 0 20px;
  height: calc(100% - 10px);
}
.kupo-document-filters .kupo-search button:hover, .kupo-document-filters .kupo-search button:focus {
  background: var(--smgCupoSecondaryColor, #0068af);
}
.kupo-document-filters .kupo-select {
  border-radius: 6px;
  border: 1px solid #626262;
  position: relative;
}
.kupo-document-filters .kupo-select > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  font-size: 16px;
  cursor: pointer;
}
.kupo-document-filters .kupo-select ul {
  display: none;
  list-style: none;
  appearance: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  position: absolute;
  width: calc(100% + 2px);
  left: -1px;
  top: 36px;
  background: #fff;
  border: 1px solid #626262;
  border-top: none;
  border-radius: 0 0 6px 6px;
}
.kupo-document-filters .kupo-select ul li {
  padding: 0 10px;
  position: relative;
  cursor: pointer;
  line-height: 30px;
}
.kupo-document-filters .kupo-select ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 96%;
  border-top: 1px solid #626262;
  left: 2%;
  bottom: 0;
}
.kupo-document-filters .kupo-select ul li:hover {
  background-color: var(--smgCupoSecondaryColor, #0068af);
  color: #fff;
}
.kupo-document-filters .kupo-select ul li:hover:not(:last-child)::after {
  border-color: transparent;
}

.kupo-document-type {
  background: #e6e6e6;
  border-radius: 6px;
  box-shadow: 2px 2px 2px #cbcbcb;
}
.kupo-document-type:not(:first-child) {
  margin-top: 20px;
}
.kupo-document-type header {
  display: grid;
  grid-template-columns: 8fr 2fr;
  column-gap: 20px;
  align-items: center;
  height: 80px;
  padding: 0 20px;
}
.kupo-document-type header h2 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 26px;
}
.kupo-document-type header h2 svg {
  display: inline-block;
  margin-right: 10px;
}
.kupo-document-type header > svg {
  cursor: pointer;
  justify-self: flex-end;
}
.kupo-document-type header > svg.cupo_icon_toggle_closed {
  display: none;
}
.kupo-document-type header > svg:hover {
  fill: var(--smgCupoPrimaryColor, #ed6102);
}
.kupo-document-type.kupo-document-type-travel header {
  grid-template-columns: 1fr;
  row-gap: 10px;
  padding: 20px;
  height: auto;
}
@media (max-width: 799px) {
  .kupo-document-type.kupo-document-type-travel header > svg {
    justify-self: center;
  }
}
@media (min-width: 800px) and (max-width: 1199px) {
  .kupo-document-type.kupo-document-type-travel header {
    grid-template-columns: 2fr 2fr;
  }
}
@media (min-width: 1200px) {
  .kupo-document-type.kupo-document-type-travel header {
    grid-template-columns: 4fr 4fr 4fr 4fr 1fr;
    font-size: 14px;
  }
}
.kupo-document-type.kupo-document-type-travel header h2 {
  margin: 0 0 3px;
}
.kupo-document-type.kupo-document-type-travel header h2, .kupo-document-type.kupo-document-type-travel header span, .kupo-document-type.kupo-document-type-travel header div {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.kupo-document-type.kupo-document-type-travel header div svg {
  display: inline-block;
  margin-right: 5px;
}
.kupo-document-type.kupo-document-type-travel header .kupo-travel-status {
  background: #bebebe;
  border-radius: 6px;
  text-align: center;
  line-height: 26px;
}
.kupo-document-type ul {
  background: #fff;
  border-radius: 0 0 6px 6px;
  list-style: none;
  appearance: none;
  margin: 0;
  padding: 0;
}
.kupo-document-type ul li {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 10px;
  row-gap: 10px;
  padding: 20px;
  align-items: center;
  position: relative;
}
@media (min-width: 500px) and (max-width: 799px) {
  .kupo-document-type ul li {
    grid-template-columns: 2fr 2fr;
  }
}
@media (min-width: 800px) {
  .kupo-document-type ul li {
    grid-template-columns: 4fr 2fr 2fr 1fr;
  }
}
.kupo-document-type ul li:not(:first-child)::before {
  content: "";
  position: absolute;
  width: 98%;
  border-top: 1px solid;
  left: 1%;
  top: 0;
}
.kupo-document-type ul li span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  font-size: 15px;
  line-height: 30px;
  color: #2a2a2a;
}
.kupo-document-type ul li svg {
  width: 30px;
  height: 30px;
}
.kupo-document-type ul li .kupo-document-name {
  width: 100%;
  justify-self: center;
  overflow: hidden;
}
@media (min-width: 800px) {
  .kupo-document-type ul li .kupo-document-name {
    justify-self: flex-start;
  }
}
.kupo-document-type ul li .kupo-document-name svg {
  display: block;
  float: left;
  margin-right: 5px;
}
.kupo-document-type ul li .kupo-document-name span {
  width: calc(100% - 40px);
}
.kupo-document-type ul li .kupo-document-status {
  border-radius: 6px;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}
.kupo-document-type ul li .kupo-document-status.kupo-document-status-ok:hover {
  color: var(--smgCupoPrimaryColor, #ed6102);
}
.kupo-document-type ul li .kupo-document-status.kupo-document-status-required {
  background: #d91111;
  color: #fff;
}
.kupo-document-type ul li .kupo-document-status.kupo-document-status-required:hover {
  background: rgba(217, 17, 17, 0.8);
}
.kupo-document-type ul li .kupo-document-status.kupo-document-status-new {
  background: #07c031;
}
.kupo-document-type ul li .kupo-document-status.kupo-document-status-new:hover {
  background: rgba(7, 192, 49, 0.8);
}
.kupo-document-type ul li .kupo-document-date {
  text-align: center;
}
.kupo-document-type ul li .cupo_icon_download {
  justify-self: center;
  cursor: pointer;
}
.kupo-document-type ul li .cupo_icon_download:hover {
  fill: var(--smgCupoPrimaryColor, #ed6102);
}

#kupo-document-iframe-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 20;
  background: rgba(188, 188, 188, 0.8);
}
#kupo-document-iframe-container svg.kupo-close-document-iframe {
  position: absolute;
  right: 28px;
  z-index: 8;
  background: #fff;
  top: 48px;
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
}
#kupo-document-iframe-container svg.kupo-close-document-iframe:hover, #kupo-document-iframe-container svg.kupo-close-document-iframe:focus {
  background: var(--smgCupoPrimaryColor, #ed6102);
  fill: #fff;
}
#kupo-document-iframe-container #kupo-document-iframe {
  margin: 60px 40px;
  padding: 0;
  border: none;
  overflow-y: scroll;
  width: calc(100% - 80px);
  height: calc(100% - 120px);
  box-shadow: 2px 2px 2px #929292;
  border-radius: 6px;
}

.kupo-documents-preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.kupo-documents-preloader .lds-ring {
  color: var(--smgCupoPrimaryColor, #ed6102);
}
