.error-message{
    color:#dc3545;
    font-size:80%;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    max-height: 800px;
    overflow-y: scroll
}

#modalMin .modal-custom-body {
    max-height: calc(100vh - 400px);
    overflow: auto;
}

.question-modal-body {
    max-height: calc(100vh - 200px);
    overflow: auto;
}

.chat-message-left,
.chat-message-right {
    display: flex;
    flex-shrink: 0
}

.chat-message-left {
    margin-right: auto
}

.chat-message-right {
    flex-direction: row-reverse;
    margin-left: auto
}
.py-3 {
    padding-top: 1rem!important;
    padding-bottom: 1rem!important;
}
.px-4 {
    padding-right: 1.5rem!important;
    padding-left: 1.5rem!important;
}
.flex-grow-0 {
    flex-grow: 0!important;
}
.border-top {
    border-top: 1px solid #dee2e6!important;
}

.action-btn{
    margin-bottom: 6px;
}

.file-input-btn{
    height: auto !important;
}

.questions-wrapper {
    padding: 10px;
    box-shadow: 2px 2px 4px 2px #d3d3d3;
    border-radius: 10px;
    margin-bottom: 10px;
}
.custom-sidebar{
    width: unset !important;
    max-width: 275px !important;
}
.testimonial-image{
    max-height: 100px !important;
    max-width: 100px !important;
}

.radio-div-class {
    display: flex;
    cursor: pointer;
    border: 1px solid;
    border-radius: 10px;
    margin-bottom : 8px;
}

#clicked-select {
    padding: 10px;
    border-radius: 10px;
    min-width: 150px;
}

#radio-buttons {
    margin-top: 30px;
}

#recent-statements {
    margin-top: 30px;
}

.generate-modal-dailog {
    max-width: 1000px !important;
}

.radio-div-class {
    padding: 10px;
    cursor: pointer;
}

.recent-statement-list {
    cursor: pointer;
    border: 1px solid;
    border-radius: 10px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.active{
    background-color: #d3d3d3 !important;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
}

#custom-input {
    margin-top: 30px;
    width: 100%;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #d3d3d3;
}

#custom-input:focus-visible {
    border: 1px solid #d3d3d3;
    outline: none;
}

.row-custom {
    display: flex;
    align-items: center;
}

.input-inner-section {
    display: flex;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.btn-add,
.btn-remove {
    background-color: #007bff !important;
    color: white !important;
}

.minus-button {
    background-color: #007bff !important;
    color: white !important;
    margin-left: 5px;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    border: none;
}

.answers-list {
    display: flex;
    margin-bottom: 10px;
}

.answer-sections {
    margin-right: 5px;
}

.answer-control {
    width: auto !important;
    height: 50px !important;
    margin-left: 5px;
    margin-right: 5px;
}

.type-selector {
    border: 1px solid #d3d3d3;
    width: 200px;
    height: 50px;
    border-radius: 10px;
    padding: 0px 20px;
}
.recent-statement-list-label {
    color: white;
    padding: 8px;
    border-radius: 5px;
    margin-right: 5px;
  }
  
  .custom-recent {background-color: rgb(111, 105, 105);} 
  .default-recent {background-color: #2196F3;}
  
.type-selector:focus-visible {
    border: 1px solid #d3d3d3;
    outline: none;
}

#blog-short-description .note-editable , #blog-description .note-editable   {
    background: #36454F !important;
    color: white !important;
}

.answer-sections {
    display: flex;
    align-items: center;
}

.recent-statement-list span {
    margin: 6px;
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 99999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
  
/* Transparent Overlay */
.loading:before {
content: '';
display: block;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
    background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));

background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}
  
/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
/* hide "loading..." text */
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}

.loading:not(:required):after {
content: '';
display: block;
font-size: 10px;
width: 1em;
height: 1em;
margin-top: -0.5em;
-webkit-animation: spinner 150ms infinite linear;
-moz-animation: spinner 150ms infinite linear;
-ms-animation: spinner 150ms infinite linear;
-o-animation: spinner 150ms infinite linear;
animation: spinner 150ms infinite linear;
border-radius: 0.5em;
-webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}
100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}
}
@-moz-keyframes spinner {
0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}
100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}
}
@-o-keyframes spinner {
0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}
100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}
}
@keyframes spinner {
0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}
100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}
}