div [id^=turtle_] {
  max-width: 745.188px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.skulpt_element {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.skulpt_textarea {
  margin: 10px;
  width: 100%;
  height: 300px;
  box-sizing: border-box;
  resize: none;
  border: none;
  background: white;
}

.skulpt_element__status {
  padding-top: 1em;
}

div.px-dateimanager {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin: 1em 2em;
}

div.px-dateimanager div {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}


input.px-text,
button.px,
button.px-standalone {
  padding: 1px 6px 1px 6px;
  height: 35px;
  border: 1px solid lightgrey;
  border-radius: 3px;
}

input.px-text {
  border-right: none;
  width: 150px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

button.px {
  border-left: none;
  width: 100px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  margin: 0;
}

button.px:hover {
  background-color: lightgrey;
}

input.px-text:focus,
button.px:hover {
  color: #b82929;
  outline: none;
}

button.px:focus {
  outline: none;
}

button.px-standalone {
  border-left: none;
  width: 100px;
  margin: 0;
}

button.px-standalone:hover {
  background-color: lightgrey;
}

input.px-text:focus,
button.px-standalone:hover {
  color: #b82929;
  outline: none;
}

button.px-standalone:focus {
  outline: none;
}


input.px-file{
  width: 20px;
  height: 25px;
  opacity: 1;
  display: none;
}

input.px-file + label {
  background-color: rgb(239, 239, 239);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1px 6px 1px 6px;
  width: 100px;
  height: 35px;
  border: 1px solid lightgrey;
  border-radius: 3px;
  margin-right: 1rem;
}

input.px-file:focus + label,
input.px-file + label:hover {
  color: #b82929;
  outline: none;
  cursor: pointer;
}

label {
  text-align: center;
}

.skulpt_kopieren {
  color: grey;
  text-decoration: none;
  font-style: normal;
  font-size: 0.7em;
  padding-left: 1em;
}

.skulpt_kopieren:hover {
  color: #b82929;
  background-color: transparent;
  cursor: pointer;
}

.skulpt_historie ul {
  list-style-type: none;
}

.skulpt_historie ul li {
  color: black;
  cursor: pointer;
}

.skulpt_historie ul li:hover{
  color: #b82929;
}

.CodeMirror {
    height: auto;
    max-height: 18.375rem;
}

.CodeMirror-scroll {
    height: auto;
    max-height: 18.375rem;
}

.mr-1 {
  margin-right: 1rem;
}

/* Modal */
.skulptpython-modal-btn-open {
  width: 35px;
  height: 35px;
  margin: 0;
  padding: 0.4rem;
  border: none;
  border-radius: 3px;
  background-color: rgb(192, 192, 192);
  color: rgb(67, 67, 67);
}

.skulptpython-modal-btn-open:hover {
  background-color: lightgray;
  color: #b82929;
}

.skulptpython-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  min-width: 300px;
  width: 40%;
  padding: 1.2rem;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
}

.skulptpython-modal-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 20;
}

.skulptpython-modal h3 {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 1rem;
  font-weight: 700;
  margin: 0;
  border-bottom: none;
}

.skulptpython-modal p {
  text-align: justify;
}

.skulptpython-modal-btn {
  background-color: #0077b6;
  color: white;
  border: 0;
  padding: 0.3rem 0.9rem;
  border-radius: 0.25rem;
  margin: 0;
}

.skulptpython-modal-btn:hover {
  background-color: #189adf;
  color: white;
}

.skulptpython-modal-btn-red {
  background-color: #b82929;
  color: white;
  border: 0;
  padding: 0.3rem 0.9rem;
  border-radius: 0.25rem;
  margin: 0;
}

.skulptpython-modal-btn-red:hover {
  background-color: #d05b5b;
  color: white;
}

.skulptpython-modal-btn-green {
  background-color: #12b080;
  color: white;
  border: 0;
  padding: 0.3rem 0.9rem;
  border-radius: 0.25rem;
  margin: 0;
}

.skulptpython-modal-btn-green:hover {
  background-color: #14c48f;
  color: white;
}

.skulptpython-modal-btn-close {
  display: inline-block;
  cursor: pointer;
  border: none;
  background-color: rgb(192, 192, 192);
  color: rgb(67, 67, 67);
  width: 2rem;
  height: 2rem;
  font-weight: 700;
  border-radius: 0.25rem;
  text-align: center;
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0;
  margin: 0;
}

.skulptpython-modal-btn-close:hover {
  background-color: lightgrey;
  color: #b82929;
}

.hidden {
  display: none;
}

.skulptpython-modal-inputgroup {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.skulptpython-modal-inputgroup input {
  width: 100%;
  border: 1px solid #0077b6;
  border-right: none;
  border-radius: 0.25rem 0 0 0.25rem;
  text-align: center;
}

.skulptpython-modal-inputgroup button {
  border-radius: 0 0.25rem 0.25rem 0;
  border: 1px solid #0077b6;
  border-left: none;
}

.skulptpython-modal-keyword {
  width: 100%;
  text-align: center;
  font-weight: 700;
  margin: 1rem 0;
}
