
#c_widget {
    box-sizing: border-box;
    height: 100%;
    overflow: auto;
    font-size: 17px;
}

#c_widget button, #c_widget input[type=submit] {
    background-color: #ffffff;

  border: none;
  outline: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 8px;
   
    text-decoration: none;
	text-align: center;

    color: #000000;

}
#c_widget button:hover, #c_widget input[type=submit]:hover {
    color: rgb(0, 0, 0);
    background-color: #e3e7eb;
}
#c_widget button:disabled, #c_widget input[type=submit]:disabled {opacity: 60%;}
#c_widget button:disabled:hover, #c_widget input[type=submit]:disabled:hover {
    color: #000000;
    background-color: #e3e7eb;
}


#c_inputDiv {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #e3e7eb;
    border-radius: 5px;
        font-family: arial;
}

#c_widgetTitle {
    margin: -10px;
    margin: 5px 0 15px 0;

}

.c-inputWrapper {
    display: block;
    text-align: left;

}
.c-input {
    padding: 4px;

    margin-bottom: 11px;
    border: 1px solid #afb4b9;
	outline: none;
}
.c-input:focus {border: 1px solid #000000;}

.c-textInput {
    width: calc(100% - 10px);
    max-width: 900px;
    resize: none;
    border-radius: 5px;
}
#c_submitButton {
    display: block; 
    margin-left: auto; 
    margin-right: 0;
}
#c_replyingText {
    color: rgba(0, 0, 0, 0.377);
    text-align: center;
    margin: 0;
     font-size: 17px;
}

.c-comment {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #e3e7eb;
    

}
.c-reply {
    border-radius: 5px;
    display: block;
    width: 90%;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: 0;
    padding: 10px;
  background-color: #f2f3f5;

}
.c-reply:last-child {margin-bottom: 0;}
.c-replyContainer {
    margin: -10px;
    margin-top: 1px;
    padding: 10px;

}

.c-name {
    display: inline-block;
    margin: 0;
    margin-right: 10px;
    padding: 0;
    font-size: 17px;
    font-weight: bold;
}
.c-site {
 
    text-decoration: none;
    color: #229cff;
}
.c-site:hover {color: white;}
.c-timestamp {
   font-size: 13px;
    vertical-align: 0;
    opacity: 45%;
}
.c-text {
    margin: 0;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: -10px;
    padding: 10px;

    font-size: 14px;
    text-align: justify;


}




#c_pagination {text-align: center;}
.c-replyButton {
    margin-top: 10px;
    margin-right: 4px;
}
.c-expandButton {
    margin-top: 10px;
    margin-left: 4px;
}
.c-paginationButton {
    margin-right: 4px;
    margin-left: 4px;
}

.c-replyButton, .c-expandButton {
 background-color: #ffffff;

  border: none;
  outline: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 8px;
   
    text-decoration: none;
	text-align: center;

    color: #585858;
}
.c-replyButton:hover, .c-expandButton:hover {
   color: #000000;
    background-color: #eceff1;
}


.inline-reply-form {
  display: flex;
  flex-direction: column;


  margin-top: 10px;
  padding: 0;

}

.inline-reply-form textarea, .c-nameInput {
 border-radius: 5px;
    width: calc(100% - 10px);
    max-width: 900px;
    resize: none;
    font-family: arial;
  transition: border-color 0.2s;
}

.inline-reply-form textarea:focus, .c-nameInput:focus {
  border-color: #000000;
  outline: none;
}

.reply-btn-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.c-replyButton.submit {
  background: #065fd4;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  padding: 6px 18px;
  box-shadow: none;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.c-replyButton.submit:hover {
    background: rgb(52, 140, 255);
}

.c-replyButton.submit[disabled] {
  background: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
}

.c-replyButton.cancel {
  background: none;
  color: #606060;
  font-weight: bold;
  border-radius: 5px;
  padding: 6px 18px;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.c-replyButton.cancel:hover {
  background: #f0f0f0;
}

.c-comment,
.c-replyContainer {
  display: none !important;
}
#c_pagination {
  display: none !important;
}