.sources-container {
  /* margin:20px; */
  margin-bottom: 40px;
  position:relative;
}
.sources-header {
  display:block;
  width:100%;
  padding:20px 20px;
  /* background: linear-gradient(225deg, black, #121212); */
}
.sources-blocks-container {
  margin: 0px 16px;
  margin-bottom: 10px;
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
}
.sources-blocks {
  margin: 3px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border-radius: 4px;
  color: #d4d4d4;
  border: 1px solid #ffffff26;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
}
.sources-blocks:not(.form-sources-block.open) {
  min-height: 285px;
  width: 285px;
}
.form-sources-block {
  /* border: 1px solid rgb(162, 255, 163); */
  display: flex;
  align-items: center;
  min-width: 150px;
  justify-content: center;
}
.form-sources-block.open {
  display:block;
}
.sources-blocks p {
  margin-top: 8px;
  font-size: 13px;
  max-width:400px;
}
.sources-blocks.private {
  border: 1px dashed #fff;
}
.sources-blocks:not(.open):hover {
  color:#fff;
  background: rgba(0, 0, 0, 0.7);
  /* font-size:15px; */
  /* padding:10px; */
}
.sources-blocks h3 {
  /* margin-bottom: 10px; */
  padding: 0px 0px;
  /* background: #00000030; */
  /* margin: -10px; */
  /* border-top-left-radius: 12px; */
  /* border-top-right-radius: 12px; */
  /* margin-bottom: 8px; */
  /* margin-top: 2px; */
  color: #a4ffa7;
  max-width:400px;
  font-size: 1em;
}
.sources-container form,
.sources-container .source-form {
  /* background-color: #0d0d0d; */
  color: #a4ffa7;
  font-family: "Source Code Pro", monospace;
  /* padding: 1rem; */
  margin-top:1rem;
  /* width:500px; */
  max-width:100%;
  display: flex;
  flex-wrap: wrap;
}
.sources-container .source-form *  {
  line-height:1.6;
}

.sources-container .form-input {
  margin-bottom: 1.5rem;
  margin-right:1rem;
}

.sources-container .form-input input,
.sources-container .form-input select,
.sources-container .form-input textarea {
  background-color: #00000033;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  color: #a4ffa7;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}
.sources-container .form-input textarea {
  height:400px;
}

.sources-container .form-input input::placeholder,
.sources-container .form-input textarea::placeholder {
  color: #669966;
}

.sources-container .form-input select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg fill='%2333ff33' height='10' viewBox='0 0 10 10' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M0 0l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

.sources-container .form-input input.error,
.sources-container .form-input select.error,
.sources-container .form-input textarea.error {
  border-color: #ff3333;
}

.sources-container .form-error {
  color: #ff3333;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.sources-label {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  display: block;
  color: #a4ffa7;
}
.sources-description {
  font-size: 0.8rem;
  color: #669966;
  margin-bottom: 0.75rem;
}
.sources-form-cta {
  margin-bottom: 0.5rem;
  /* width: 100%; */
  text-align: center;
  border: 1px solid #ffffff26;
  padding: 10px 30px;
  color: #a4ffa7;
  border-radius: 4px;
  margin-right: 1rem;
  /* border: 2px solid #ffffff; */
  display: inline;
  /* width: calc(75% - 1rem); */
  min-width: 150px;
}
.sources-form-cta:hover {
  background: #a4ffa7;
  color: #000;
}
.sources-form-cta.delete {
  border: 1px solid #ffffff26;
  color: #cb1414;
  /* width: calc(25% - 1rem); */
}
.sources-form-cta.pendingDelete {
  background:#0d0d0d;
  transition:all 3s;
}
.sources-form-cta.delete:not(.pendingDelete):hover {
  background: #cb1414;
  color:#000;
}
.sources-blocks-container .loading {
  pointer-events:none;
}
.sources-container .close-form {
  color: #ff3333;
  font-size: 25px;
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 1;
  padding: 10px 20px;
}
.sources-container.form-opened .sources-blocks-container {
  margin:5px;
}
.sources-container.form-opened .sources-blocks {
  border: 1px solid #ffffff26 !important;
}
.sources-container.form-opened .sources-header {
  display:none;
}
.sources-websim-required {
  margin-top: 28px !important;
  color: #a4ffa7;
  font-size: 15px !important;
  /* text-align: right; */
  font-weight: bold;
  /* font-style: italic; */
  width: 100%;
}
.empty-data {
  padding:10px 12px;
  background:#00000033;
  border-radius: 8px;
}