@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

.modal__close {
  background: transparent;
  border: 0;
  position: absolute;
  right: 0;
  width: 30px;
  top: 0;
}

.modal__close:focus {
  outline: 0;
}

.modal__close:before {
  content: "\2715";
}

input,
button,
/* select, */
textarea {
  box-sizing: border-box;
  border: 1px solid #111;
  display: block;
  background-color: #3e3e3e;
  border-radius: 6px;
  color: #fff;
  font-size: 8pt;
  width: 100%;
  font-weight: normal;
  font-family: robotothin;
  padding: 3px;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
}

input,
button {
  -webkit-appearance: none;
  -moz-appearance: none;
}

input:focus,
select:focus {
  outline: none;
  border: 2px solid #45679e;
  padding: 2px;
}

input:invalid {
  border-color: #dd0000;
}
/* 
input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
} */

/* input[type="checkbox"] ~ span {
  cursor: pointer;
  vertical-align: bottom;
  box-sizing: border-box;
  display: inline-block;
  background-color: #3e3e3e;
  border: 2px solid #3e3e3e;
  width: 40px;
  height: 27px;
  position: relative;
  border-radius: 6px;
  float: right;
  top: 0;
  right: 0;
  opacity: 1;
  background-image: none;
  box-shadow: none;
  transform: initial;
} */

/* input[type="checkbox"] ~ span::before {
  position: absolute;
  box-sizing: border-box;
  display: block;
  content: "";
  left: 0;
  top: 0;
  right: auto;
  width: 20px;
  height: 100%;
  background-color: #45679e;
  border: 2px solid #111;
  border-width: 0 0 1px 0;
  border-radius: 6px;
} */

/* input[type="checkbox"]:checked ~ span::before {
  left: auto;
  right: 0;
} */

/* input[type="checkbox"] ~ span:hover::before {
  background-color: #5b7cb3;
}

input[type="checkbox"]:focus ~ span::before {
  background-color: #5b7cb3;
} */

.form-modal input,
.form-modal textarea,
.swal2-content input,
.swal2-content textarea {
  box-sizing: border-box;
  border: 1px solid #111;
  display: block;
  border-radius: 6px;
  color: #000;
  font-size: 9pt;
  width: 100%;
  padding: 3px;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  border: none !important;
  background: #eee !important;
  border-radius: 0 !important;
  padding: 10px 4px;
  min-height: 32px;
}

#swal2-content {
  width: 50%;
}

.swal2-content label {
  font-size: 9pt;
  display: block;
  text-transform: uppercase;
  font-weight: bold;
  color: #5e5d5d;
  text-align: left;
  margin: 10px 0;
}

/* .form-modal button,
.swal2-content button {
  background: blue !important;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.7em;
  border-radius: 25px;
} */
.swal2-actions {
  width: 100% !important;
}
.swal2-actions button {
  width: 30% !important;
}

.swal2-title {
  font-size: 11pt !important;
}

/* .swal2-actions button {
  font-size: 0.7em !important;
} */

.addMessage {
  margin-top: 10px;
  /* font-size: 16px !important; */
}

.swal2-content {
  overflow-y: auto !important;
  height: 95% !important;
}

.swal-height {
  height: 98% !important;
}

.button-success,
.button-error,
.button-warning,
.button-secondary {
  color: white !important;
  border-radius: 4px !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
}

.button-success {
  background: rgb(28, 184, 65) !important; /* this is a green */
}

.button-error {
  background: rgb(202, 60, 60) !important; /* this is a maroon */
}

.button-warning {
  background: rgb(223, 117, 20) !important; /* this is an orange */
}

.button-secondary {
  background: rgb(66, 184, 221) !important; /* this is a light blue */
}

.form-save-button {
  /*position: absolute;*/
  width: 100%;
  font-weight: 100 !important;
  text-transform: uppercase !important;
  margin-top: 8px;
  margin-bottom: 16px;
}

#templateContainer {
  position: absolute;
  z-index: 5;
  right: 0;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: none;
}

.modal-form-header {
  background: rgb(72, 72, 72) !important;
  color: white;
  position: absolute;
  left:0;
  right:0;
  z-index: 4;
}
.modal-form-header p {
  color: white !important;
  font-size: 9pt !important;
  margin-top: 0 !important;
}
.button-small {
  font-size: 9pt !important;
}

#swal2-content {
  margin: 0 auto;
  display: flex !important;
  justify-content: center;
  width: 100%;
  flex-direction: column;
}

.swal2-validation-message {
  margin-top: 25px;
  background: transparent !important;
  width: 100% !important;
  padding: 10px !important;
}

.addMessageTypeButton, .addDonutTabItemButton,
.addPieChartItemButton, .addInteractiveMessageTypeListSection, .addInteractiveMessageTypeButton {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
}

/* input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  -ms-appearance: checkbox !important;
  -o-appearance: checkbox !important;
  appearance: checkbox !important;
} */

.pure-form label {
  margin: 1.5em 0 1.2em !important;
}

.kv-table-row td {
  padding-bottom: 1em;
}
.kv-table {
  width: 100%;
}

.button-xsmall {
  font-size: 70% !important;
}

.button-large {
  font-size: 110% !important;
}

.button-xlarge {
  font-size: 125% !important;
}

.swal2-title {
  text-transform: uppercase !important;
  align-self: flex-start;
  margin: 20px 0 !important;
}

.swal2-success-fail-title {
  align-self: center !important;
}

.swal2-content {
  font-size: 10pt !important;
  display: block;
}

.swal2-success-fail-popup {
  height: 400px !important;
}

.swal2-popup {
  border-radius: 0 !important;
  width: 80% !important;
  margin: unset !important;
  margin-left: 100px !important;
  font-size: 10pt;
}

.swal2-actions button {
  border-radius: 0 !important;
  font-size: 9pt !important;
}

.swal2-cancel {
  background: white !important;
  color: rgb(28, 184, 65) !important;
  border: 1px solid !important;
}

#variableTable tbody tr td,
#variableTable thead tr th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11pt;
  text-align: left;
}

.btn.btn-default {
  background: #d7d5d5;
}
.btn.btn-default i {
  font-size: 10pt;
}

.nodeFormContainer {
  height: 100%;
  overflow-y: auto;
  font-size: 10pt !important;
}
select {
  display: block;
  padding: 6px !important;
  width: 100% !important;
  min-height: 50 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  border: 1px solid #aaa !important;
  border-radius: none !important;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
  background-repeat: no-repeat, repeat !important;
  background-position: right 0.7em top 50%, 0 0 !important;
  background-size: 0.65em auto, 100% !important;
}
select::-ms-expand {
  display: none;
}
select:hover {
  border-color: #888;
}
select:focus {
  border-color: #aaa;
  color: #222;
  outline: none;
}
select option {
  font-weight: normal;
}

.popover li:hover {
  background: blue;
}

.popover li {
  background: #fff;
}

/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 12pt;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.toggle-control {
  display: block;
  position: relative;
  padding-left: 100px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 12pt;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-left: 0 !important;
}
.toggle-control input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.toggle-control input:checked ~ .control {
  background-color: dodgerblue;
}
.toggle-control input:checked ~ .control:after {
  left: 32px;
}
.toggle-control .control {
  height: 20px;
  width: 50px;
  border-radius: 25px;
  background-color: darkgray;
  transition: background-color 0.15s ease-in;
  display: block !important;
}
.toggle-control .control:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 25px;
  background: white;
  transition: left 0.15s ease-in;
}

#swal2-content small {
  font-size: 60%;
  text-align: left;
  float: left;
}

.optionsDiv {
  border-bottom: 1px solid #464646 !important;
  flex-direction: row-reverse !important;
  cursor: move !important;
}

.nodeEditButton {
  width: 50px;
  height: 30px;
  background: transparent;
  color: #000;
  margin-right: 10px;
  box-shadow: 1px 2px 6px #000;
}

.nodeHelpButton {
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: transparent;
  color: #000;
  margin-right: 10px;
  padding: 5px 6px !important;
  border-radius: 100% !important;
  /* border: 1px solid #666 !important; */
  font-size: 11pt !important;
  background: #ffb300 !important;
  color: #fff !important;
  border: none !important; /* border-color: #eaa911 !important; */
  box-shadow: 1px 2px 6px #000;
}

.nodeDebugButton {
  height: 30px;
  width: 30px;
  background: rgb(28, 184, 65) !important;
  color: #000;
  padding: 0px !important;
  box-shadow: 1px 2px 6px #000;
  margin-right: 10px;
}

.nodeHeaderDiv {
  cursor: move !important;
}

.pure-form select {
  height: 2.4em !important;
}

.messageSubComponentTitle {
  background-color: #0078e7;
  color: #ffffff;
  padding: 6px 12px;
  display: list-item;
}

.messageSubComponentTitleText {
  float: left;
  display: inline-block;
  text-transform: uppercase;
}

.messageSubComponentTitleDelete {
  float: right;
  display: inline-block;
}

.messageSubComponent {
  box-shadow: 3px 3px 6px #999;
  margin-left: 4px;
  margin-right: 6px;
  margin-bottom: 6px;
  margin-top: 20px;
}

.subDescriptionTableItems {
  width: 100%;
}

.subDescriptionTableItems td {
  padding: 1px;
}

.tableComponentTitleHeader {
  background-color: #0078e7;
  color: #ffffff;
  padding: 6px 12px;
  display: list-item;
}

.tableComponentTitleHeaderText {
  float: left;
  display: inline-block;
  text-transform: uppercase;
}

.tableComponentTitleHeaderDelete {
  float: right;
  display: inline-block;
}

.tableComponentTitle {
  box-shadow: 3px 3px 6px #999;
  margin-left: 4px;
  margin-right: 6px;
  margin-bottom: 6px;
  margin-top: 20px;
}

.tableComponentRowHeader {
  background-color: #0078e7;
  color: #ffffff;
  padding: 6px 12px;
  display: list-item;
}

.tableComponentRowHeaderText {
  float: left;
  display: inline-block;
  text-transform: uppercase;
}

.tableComponentRowHeaderDelete {
  float: right;
  display: inline-block;
}

.tableComponentRow {
  box-shadow: 3px 3px 6px #999;
  margin-left: 4px;
  margin-right: 6px;
  margin-bottom: 6px;
  margin-top: 20px;
}