:root {
  --ckeditor_border_radius: 10px;
}

.cke, .cke_inner {
  border-radius: 10px;
}
.cke {
  box-shadow: 17px 20px 40px rgba(0,0,0,.21);
  overflow: hidden;
}
.cke_bottom {
  border-bottom-left-radius: var(--ckeditor_border_radius);
  border-bottom-right-radius: var(--ckeditor_border_radius);
}
.cke_top {
  border-top-left-radius: var(--ckeditor_border_radius);
  border-top-right-radius: var(--ckeditor_border_radius);
}

.cke_chrome {
  border: none;
}

/* Pour les modals */
.cke_dialog_title, .cke_dialog_body {
  border-top-left-radius: var(--ckeditor_border_radius) !important;
  border-top-right-radius: var(--ckeditor_border_radius) !important;
}
.cke_dialog_footer, .cke_dialog_contents, .cke_dialog_body {
  border-bottom-left-radius: var(--ckeditor_border_radius);
  border-bottom-right-radius: var(--ckeditor_border_radius);
}

/* On cache le bouton pour "resize" le modal */
.cke_dialog .cke_resizer {
  /*margin-top: 28px !important;*/
  display: none;
}

.cke_dialog_footer {
  background-color: #fff !important;
  padding: .75rem !important;
  border-top: 1px solid #dee6ed !important;
}

.cke_dialog_title {
  background-color: #fff !important;
  padding: 1rem !important;
  border-bottom: 1px solid #dee6ed !important;
  line-height: 1.625 !important;
  font-size: .825rem !important;
  font-weight: 500 !important;
  color: #495057 !important;
  font-family: var(--bs-font-sans-serif) !important;
}
/* Bouton fermer "X" */
a.cke_dialog_close_button {
  top: 17px !important;
}

/* Boutons des modals */
.cke_dialog_ui_button {
  display: inline-block !important;
  font-weight: 400 !important;
  line-height: 1.625 !important;
  text-align: center !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  font-size: .825rem !important;
  border-radius: .2rem !important;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out !important;
  color: #fff !important;
}

.cke_dialog_ui_button_ok {
  background-color: #4bbf73 !important;
  border-color: #4bbf73 !important;
}
.cke_dialog_ui_button_ok:hover {
  background-color: #66c988 !important;
  border-color: #5dc581 !important;
}

.cke_dialog_ui_button_cancel {
  background-color: #495057 !important;
  border-color: #495057 !important;
}
.cke_dialog_ui_button_cancel:hover {
  background-color: #3e444a !important;
  border-color: #3a4046 !important;
}
