/*****************

comments

*******************/

/*** Country Review Comments ***/

.comments-popup {
  position: fixed;
  width: 950px;
  max-width: 98%;
  height: 500px;
  height: calc(100vh - 186px);
  max-height: 900px;
  right: 100px;
  top: auto;
  background: #fff;
  border-top-right-radius: var(--modal-border-radius);
  box-shadow: 0 0 28px 0px rgba(0, 0, 0, 0.2);
  padding: 19px 30px 30px;
  /* overflow: hidden; */
  bottom: 30px;
  display: none;
  transition: width 0.3s linear 0s;
  z-index: 100000;
}

.page-have-moderation-form .comments-popup {
  bottom: 60px;
}

.comments-popup.full-scale {
  /* width: calc(100% - 420px); */
  width: calc(100% - 220px);
}

.comments-popup.show-pop {
  display: block;
}

.comment-wrap {
  display: flex;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
  flex-direction: column;
}

.ast-close-wrapper {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
}

.ast-close-wrapper .popup-close {
  position: relative;
  right: auto;
  top: auto;
  margin-left: 20px;
}

.comments-popup .ast-comment-inner-wrap {
  max-height: 521px;
  height: calc(100vh - 314px);
  overflow: auto;
}

.comments-popup .block-title {
  margin: 0;
  padding: 0 0 20px 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  position: relative;
  color: #1fa29c;
  width: 100%;
  position: relative;
}

.comments-popup .block-title:after {
  display: none;
}

.comments-popup .block-title:after {
  display: none;
}

.comments-popup .form-item {
  margin-bottom: 20px;
}

.comments-popup .form-item.form-type-textarea {
  margin-bottom: 28px;
}

.comments-popup .form-item label {
  margin-top: 0;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 6px;
  color: #999;
  font-weight: 300;
}

.comments-popup .form-item.form-type-managed-file label {
  margin-bottom: 18px;
}

.comments-popup .select-wrapper select,
.comments-popup .form-item>input {
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 0;
  font-size: 14px;
  line-height: 14px;
  color: #4d4d4d;
  font-weight: 300;
  padding: 8px 0;
  box-shadow: none;
}

.comments-popup .cke_chrome {
  border-color: #cccccc;
}

.comments-popup .cke_inner .cke_top {
  background: #ffffff;
  border-color: #cccccc;
}

.comments-popup .cke_inner .cke_bottom,
.comments-popup .js-text-format-wrapper .js-filter-wrapper {
  display: none;
}

.comments-popup .js-form-managed-file.form-type-managed-file {
  margin-bottom: 27px;
}

.comments-popup .js-form-managed-file.form-managed-file input {
  padding: 0 !important;
  border: 0;
  box-shadow: none;
  background: #ffffff !important;
  height: 24px;
  font-size: 12px;
  color: #4d4d4d;
}

.comments-popup .js-form-managed-file.form-managed-file input::file-selector-button {
  border: 1px solid #cccccc;
  background: #fff;
  height: 20px;
  margin-right: 10px;
}

.comments-popup form .form-type-managed-file button,
.comments-popup .comment-form-inner.floating-wrapper .form-type-managed-file button {
  display: none;
}

.comment-form-inner {
  width: 100%;
  flex: 1;
  position: relative;
  overflow: auto;
}

.comments-popup button .glyphicon {
  display: none;
}

.comments-popup .js-form-managed-file.form-managed-file input[type="checkbox"] {
  opacity: 1;
  width: auto;
  height: auto;
  position: static;
  display: inline;
  float: left;
  display: block;
  margin-right: 0px;
  position: absolute;
  right: 0;
  left: auto;
  border: none;
  outline: 0;
  -webkit-appearence: none;
  -moz-appearence: none;
  appearance: none;
  background: url(/themes/custom/gff/components/inner-pages/common/css/../img/Delete_Icon_Grey.png) no-repeat left center transparent !important;
  width: 15px;
  height: 18px;
}

.comments-popup .js-form-managed-file.form-managed-file input[type="checkbox"]:hover {
  background-image: url(/themes/custom/gff/components/inner-pages/common/css/../img/Delete_Icon_Green.png) !important;
}

/****floating****/

.comments-popup .form .form-group label.control-label,
.comments-popup .floating-wrapper .form-group label.control-label {
  font-size: 14px;
  font-size: 14px;
  color: #999999;
  font-weight: 300;
  margin: 0 0 22px 0;
  display: flex;
  align-items: center;
}

.comments-popup form .form-type-select label.control-label,
.comments-popup .floating-wrapper .form-type-select label.control-label {
  margin-bottom: 5px;
}

.comments-popup form .form-group.label-floating label.control-label,
.comments-popup .floating-wrapper .form-group.label-floating label.control-label,
.comments-popup .form-group.label-placeholder label.control-label {
  top: 0;
}

.comments-popup form .form-group .help-block,
.comments-popup .floating-wrapper .form-group .help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: 0;
  font-size: 12px;
  color: #4d4d4d;
  font-weight: 300;
  position: static;
}

.comments-popup form .label-floating .control-label,
.comments-popup .floating-wrapper .label-floating .control-label {
  margin-top: 0 !important;
  left: 0 !important;
  font-size: 14px !important;
  color: #999999 !important;
  font-weight: 300;
}

.comments-popup form .form-group.label-static label.control-label,
.comments-popup .floating-wrapper .form-group.label-static label.control-label,
.comments-popup .form-group.label-floating.is-focused label.control-label,
.comments-popup .form-group.label-floating:not(.is-empty) label.control-label {
  top: -21px;
}

.comments-popup form .form-group input[type=file],
.comments-popup .floating-wrapper .form-group input[type=file] {
  opacity: 1;
  position: static;
}

.comments-popup form .form-type-managed-file,
.comments-popup .comment-form-inner.floating-wrapper .form-type-managed-file {
  margin-bottom: 0;
  padding-bottom: 0;
}

.comments-popup .form-managed-file .js-form-type-checkbox label.control-label,
.comments-popup .form-managed-file .js-form-type-checkbox {
  margin-bottom: 0;
  overflow: hidden;
}

.comments-popup form .form-type-managed-file label.control-label,
.comments-popup .floating-wrapper .form-type-managed-file label.control-label {
  margin-bottom: 20px;
}

.comments-popup form .form-type-managed-file label.control-label.option,
.comments-popup .floating-wrapper .form-type-managed-file label.control-label.option {
  margin-bottom: 0px;
  float: left;
  position: relative;
  padding-right: 35px;
  padding-left: 0;
}

.comments-popup form .form-submit,
.comments-popup .comment-form-inner .form-submit {
  margin-top: 22px;
}

.comments-popup form button,
.comments-popup .comment-form-inner button {
  height: 30px;
  line-height: 30px;
  font-size: 12px;
  text-transform: uppercase;
}

.comments-popup form button[value="Clear"],
.comments-popup form button[value="Close"],
.comments-popup .comment-form-inner button[value="Clear"],
.comments-popup .comment-form-inner button[value="Close"] {
  margin-left: 10px;
}

.comments-popup form .form-type-textarea,
.comments-popup .floating-wrapper .form-type-textarea {
  margin-top: 0;
}

.comments-popup form .form-group textarea,
.comments-popup .floating-wrapper .form-group textarea {
  resize: vertical;
}

.comments-popup .cke_contents {
  min-height: 100px;
  height: 150px !important;
  overflow: hidden;
}

.comments-popup form .form-group:not(.form-actions),
.comments-popup .floating-wrapper .form-group:not(.form-actions) {
  padding-bottom: 0;
  margin: 0 0 14px 0;
}

.comments-popup .file-upload-js-error {
  font-size: 12px;
  color: #4d4d4d;
  font-weight: 300;
  margin-bottom: 5px;
}

.comments-popup .ast-close-wrapper {
  position: absolute;
  right: -16px;
  top: -12px;
}

.comments-popup .popup-close {
  width: 30px;
  height: 30px;
  background: url(/themes/custom/gff/components/inner-pages/common/css/../img/black_close_icon.svg) no-repeat center center transparent;
  margin: 0;
}

.comments-popup .iframe-wrapper {
  flex: 1;
  display: flex;
}

.comments-popup .iframe-wrapper iframe {
  height: 100%;
}

.comments-popup .iframe-wrapper.child-frame-loaded {}

/*******file upload******/

.comments-popup .file>span {
  border: none !important;
}

.comments-popup .file .file-icon,
.comments-popup .file .glyphicon-file {
  display: none !important;
}

.comments-popup .file {
  font-size: 12px;
  color: #4d4d4d;
  font-weight: 300;
  background: url(/themes/custom/gff/components/inner-pages/common/css/../img/attachment.png) no-repeat left center transparent;
  padding-left: 19px;
  overflow: hidden;
  min-height: 18px;
  float: left;
  display: flex;
  align-items: center;
}

.comments-popup .file .file-size,
.comments-popup .file .file-link a {
  font-size: 12px;
  color: #4d4d4d;
  font-weight: 300;
}

.comments-popup .file .file-link a:hover {
  color: #1fa29c;
}

.file-attachemented-item>* {
  float: left;
}

.comments-popup .file .file-link {
  padding-right: 25px;
  display: block;
  width: auto;
}

.comments-popup .file .file-size {
  padding: 0;
}

.comments-popup form .form-group button[value="Upload"],
.comments-popup .floating-wrapper .form-group button[value="Upload"] {
  display: block !important;
  padding: 0;
  font-size: 0;
  border: none;
  margin: 0 0 0 10px;
  height: 14px;
  line-height: normal;
}

.comments-popup form .form-group button[value="Upload"] .glyphicon-refresh,
.comments-popup .floating-wrapper .form-group button[value="Upload"] .glyphicon-refresh {
  display: block !important;
  font-size: 14px;
  display: block;
  margin: 0;
  color: #1fa29c !important;
}

.comments-popup form .js-form-managed-file.form-managed-file,
.comments-popup .floating-wrapper .js-form-managed-file.form-managed-file {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.comments-popup form .form-group input[type=file],
.comments-popup .floating-wrapper .form-group input[type=file] {
  width: auto;
}

.comments-popup .form-managed-file .js-form-type-checkbox {
  width: 100%;
}

/****textarea****/

.comments-popup .js-text-format-wrapper.form-item {
  margin-bottom: 24px;
}

.comments-popup form .form-type-textarea,
.comments-popup form .form-textarea-wrapper .form-group:not(.form-actions),
.comments-popup .floating-wrapper .form-type-textarea,
.comments-popup .floating-wrapper .form-textarea-wrapper .form-group:not(.form-actions) {
  margin-bottom: 0;
}

/*scrollbar*/

.comments-popup .mCSB_container {
  padding-bottom: 5px;
  margin-right: 37px;
}

/*** End Country Review Comments***/

.comments-block {
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid #cccccc;
}

.comment-title {
  font-weight: 400;
  color: #4d4d4d;
  font-size: 16px;
  margin-bottom: 25px;
  display: block;
  width: 100%;
}

.comments-row:not(:last-child) {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #cccccc;
}

.comments-top {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 15px;
}

.comments-data-time {
  color: #1fa29c;
  font-weight: 300;
  font-size: 14px;
  display: flex;
  line-height: 14px;
}

.comments-data-time>span {
  padding-right: 15px;
  margin-right: 15px;
  position: relative;
}

.comments-data-time>span:not(:last-child):after {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  right: 0;
  top: 50%;
  background: #1fa29c;
  position: absolute;
  margin-top: -5px;
}

.comment-edit-delete ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
}

.comment-edit-delete li {
  margin-left: 10px;
  padding-left: 10px;
  line-height: 12px;
}

.comment-edit-delete li:not(:first-child) {
  border-left: 1px solid #B3B3B3;
}

.comment-edit-delete a {
  font-size: 12px;
  text-transform: uppercase;
  color: #1fa29c;
  font-weight: 300;
  line-height: 12px;
}

.comment-edit-delete a:hover {
  color: #4d4d4d;
}

.comments-subject {
  font-size: 16px;
  line-height: 22px;
  color: #4d4d4d;
  font-weight: 600;
  margin-bottom: 10px;
}

.comments-body {
  width: 100%;
}

.comments-body * {
  font-size: 16px;
  color: #4d4d4d;
  line-height: 22px;
}

.comments-body *:not(strong) {
  font-weight: 300;
}

.comments-attachements ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  width: 100%;
  margin-top: 15px;
}

.comments-attachements {
  width: 100%;
}

.comment-listings .comment-edit-delete {
  padding: 15px 0 0 0;
  display: flex;
  justify-content: flex-end;
}

.comments-attachements .file-attachemented-item {
  font-size: 12px;
  color: #4d4d4d;
  font-weight: 300;
  background: url(/themes/custom/gff/components/inner-pages/common/css/../img/attachment.png) no-repeat left center transparent;
  padding-left: 19px;
  overflow: hidden;
}

.comments-attachements .file-attachemented-item:not(:last-child) {
  margin-bottom: 10px;
}

.comments-attachements .file-attachemented-item a {
  font-size: 12px;
  color: #4d4d4d;
  font-weight: 300;
}

.comments-attachements .file-attachemented-item a:hover {
  color: #1fa29c;
}

.file-attachemented-item>* {
  float: left;
  padding: 0;
}

.comments-attachements .file-name {
  padding-right: 25px;
}

/***************comment checkbox************/

.review-share-country-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.comments-form-page .form-item-review-type {
  width: 280px;
  padding-right: 15px;
}

.comments-form-page .form-item-review-share-country.form-item {
  display: flex;
  align-items: center;
  padding-left: 15px;
  width: auto;
  margin: 0 0 4px 0;
}

.comments-form-page .form-item-review-share-country.form-item label {
  font-size: 12px;
  text-transform: uppercase;
  color: #1fa29c;
  font-weight: 400;
  display: flex;
  overflow: hidden;
  position: relative;
  padding-left: 22px;
}

.comments-form-page .form-item-review-share-country.form-item .checkbox-material {
  margin-right: 10px;
  top: 3px;
  display: flex;
  position: absolute;
  left: 0;
}

.comments-popup .enlarge-field>.custom-icon {
  display: none;
}

/* files upload after updation */
.comments-popup .form-managed-file input[type="file"] {
  margin-bottom: 10px;
}

.comments-form-page.comments-popup .js-form-managed-file {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.comments-form-page.comments-popup .js-form-managed-file>input.button {
  display: none;
}

.comments-popup .form-managed-file .js-form-type-checkbox {
  width: auto;
  position: relative;
}

.comments-popup .form-managed-file .file a:not(:hover) {
  color: #4d4d4d;
}

.comments-popup .js-form-managed-file.form-managed-file input[type="checkbox"] {
  margin: 0;
}

.comments-popup .form-type-managed-file .description {
  margin-top: 5px;
}
