/* .white-space {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 120;
  display: block;
} */

div.response-generation-modal {
  width: 100%;
  height: 100%;
  /* border: 1px solid #ccc; */
  box-shadow: 0px 0px 10px 1px grey;
	background-color: #fefefe;
  overflow: hidden;
  animation-name: show-with-opacity;
  animation-duration: 0.4s;
}
div.response-generation-modal .wrapper {
  height: 100%;
  padding: 5px;
}
div.response-generation-modal .wrapper.no-header {
  height: calc(100% - 10px);
  padding: 5px;
}

.response-generation-modal .modal-custom-header {
  height: 45px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  /* padding: 5px; */
  padding-bottom: 0px;
}

.response-generation-modal .modal-custom-header .title {
  font-size: 22px;
  font-weight: bold;
  display: inline-block;
}
.response-generation-modal .modal-custom-header .toggle-btn {
  margin-left: 10px;
}
.response-generation-modal .modal-custom-header .save-state-msg {
  /* display: inline-block; */
  vertical-align: bottom;
  margin-left: 10px;
  font-size: 14px;
  color: rgb(119, 119, 119);
  text-decoration: underline;
}
.response-generation-modal .modal-custom-header .save-state-msg.clickable {
  cursor: pointer;
}
.response-generation-modal .modal-custom-header .is-save {
  margin-left: 10px;
  font-size: 25px;
}

.modal-custom-header h3 {
  margin: 0px;
  text-align: left;
  display: inline-block;
  font-weight: bold;
  font-size: 1.6em;
  margin-top: 3px;
}

.response-generation-modal .back-btn {
  float: right;
  border: 0px;
  font-size: 24px;
  font-weight: bold;
  background-color: transparent;
  /* margin-right: 5px; */
  /* width: 1vw; */
  /* height: 2.2vh; */
  height: 20px;
}

.back-btn .back-btn-icon {
  font-size: 18px;
  float: left;
}

.response-generation-modal .modal-body {
  display: grid;
  padding: 10px 0px;
  height: calc(100% - 71px);
  grid-template-columns: 15% calc(57.5% - 20px) 27.5%;
  grid-gap: 10px;
}
.response-generation-modal .modal-body.no-header {
  height: 100%;
  padding: 0px;
} 
.response-generation-modal .modal-body .content-col {
  /* padding: 10px; */
  height: 100%;
  /* border: 1px solid black; */
  overflow: auto;
}
.response-generation-modal .modal-body .content-col.some-shadow {
  box-shadow: 0px 0px 10px 0.5px lightgrey;
}

.complete-btn:hover {
  background: #0096e7;
}
.complete-btn {
  transition: color 0.15s, background-color 0.3s;
  color: white;
  background: #00a5ff;
  margin-left: 5px;
}

.as-btn {
  transition: color 0.15s, background-color 0.3s;
  color: rgb(156, 156, 156);
  background: #d4d4d4;
}
/* .as-btn {
  transition: color 0.5s;
  background: linear-gradient(311deg, #d4d4d4, #d4d4d4, #1c62d7, #77a2ec);
  background-size: 800% 800%;
  animation-fill-mode: forwards;
  background-position: 100% 50%;
} */
.as-btn.activated {
  background-color: #1c62d7;
  color: white;
}
/* .as-btn.activated {
  -webkit-animation: gradient-animation-on 0.5s ease;
  -moz-animation: gradient-animation-on 0.5s ease;
  animation: gradient-animation-on 0.5s ease;
  color: white;
  background-position: 0% 50%;
} */
.as-btn.de-activated {
  -webkit-animation: gradient-animation-off 0.5s ease;
  -moz-animation: gradient-animation-off 0.5s ease;
  animation: gradient-animation-off 0.5s ease;
  background-position: 100% 50%;
}

.save-state-msg {
  display: none;
  opacity: 1;
  animation: collapse-with-opacity 0.5s;
  animation-fill-mode: forwards;
}
.save-state-msg.activated {
  display: inline-block;
  animation: show-with-opacity 0.5s;
}

.delete-response-btn:hover {
  background-color: #dc3545;
  color: white;
}
.delete-response-btn {
  border: 1px solid #dc3545;
  border-radius: 10px;
  padding: 5px;
  background-color: white;
  color: #dc3545;
  margin-top: 40px;
  transition-property: background-color, color;
  transition-duration: 0.3s;
  float: left;
}

@-webkit-keyframes gradient-animation-on {
    0%{background-position:100% 50%}
    /* 0%{background-position:0% 50%} */
    100%{background-position:0% 50%}
    /* 100%{background-position:0% 50%} */
}
@-moz-keyframes gradient-animation-on {
    0%{background-position:100% 50%}
    100%{background-position:0% 50%}
    /* 100%{background-position:0% 50%} */
}
@keyframes gradient-animation-on {
    0%{background-position:100% 50%}
    100%{background-position:0% 50%}
    /* 100%{background-position:0% 50%} */
}
@-webkit-keyframes gradient-animation-off {
  0%{background-position:0% 50%}
  /* 0%{background-position:0% 50%} */
  100%{background-position:100% 50%}
  /* 100%{background-position:0% 50%} */
}
@-moz-keyframes gradient-animation-off {
  0%{background-position:0% 50%}
  100%{background-position:100% 50%}
  /* 100%{background-position:0% 50%} */
}
@keyframes gradient-animation-off {
  0%{background-position:0% 50%}
  100%{background-position:100% 50%}
  /* 100%{background-position:0% 50%} */
}

@keyframes show-with-opacity {
  0% {
    opacity: 0;
    display: inline-block;
  }

  100% {
    opacity: 1;
  }
}

@keyframes collapse-with-opacity {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    display: none;
  }
}