/***** Correctifs CSS de l'interface de JPlatform - SITE *****/
/*****
 * OUTILS UTIL RECTORAT PLUGIN
 */
body {
  font-family: Marianne, Arial;
}
.app.app-query .app-main .app-header h1 {
  font-family: "Marianne", Arial;
  font-size: 26px;
}
.app.app-mobile.is-sidebar-folded-mq {
  flex-direction: column;
}
.app.app-mobile.is-sidebar-folded-mq .app-sidebar {
  min-height: auto;
  display: block;
  transform: none;
  position: static;
}
.app.app-mobile.is-sidebar-folded-mq .app-body .navbar-header {
  margin: 0;
}
/* https://gouvfr.atlassian.net/wiki/spaces/DB/pages/217186370 */
.PortalJspCollection .btn.btn-default,
.Portal .btn.btn-default,
.JPortal .btn.btn-default {
  color: #333;
}
.PortalJspCollection .btn.btn-default:hover,
.Portal .btn.btn-default:hover,
.JPortal .btn.btn-default:hover,
.PortalJspCollection .btn.btn-default:focus,
.Portal .btn.btn-default:focus,
.JPortal .btn.btn-default:focus,
.PortalJspCollection .btn.btn-default:active,
.Portal .btn.btn-default:active,
.JPortal .btn.btn-default:active {
  color: #333;
  background-color: #e6e6e6;
}
.PortalJspCollection .btn.btn-primary,
.Portal .btn.btn-primary,
.JPortal .btn.btn-primary {
  color: #fff;
  background-color: #000091;
  border-color: #000078;
}
.PortalJspCollection .btn.btn-primary:hover,
.Portal .btn.btn-primary:hover,
.JPortal .btn.btn-primary:hover,
.PortalJspCollection .btn.btn-primary:focus,
.Portal .btn.btn-primary:focus,
.JPortal .btn.btn-primary:focus {
  background-color: #1212ff;
  border-color: #0000f8;
}
.PortalJspCollection .btn.btn-primary:active,
.Portal .btn.btn-primary:active,
.JPortal .btn.btn-primary:active {
  background-color: #2323ff;
  border-color: #0909ff;
}
.PortalJspCollection .btn.btn-info,
.Portal .btn.btn-info,
.JPortal .btn.btn-info {
  color: #fff;
  background-color: #0063cb;
  border-color: #0057b2;
}
.PortalJspCollection .btn.btn-info:hover,
.Portal .btn.btn-info:hover,
.JPortal .btn.btn-info:hover,
.PortalJspCollection .btn.btn-info:focus,
.Portal .btn.btn-info:focus,
.JPortal .btn.btn-info:focus {
  background-color: #3b87ff;
  border-color: #2177ff;
}
.PortalJspCollection .btn.btn-info:active,
.Portal .btn.btn-info:active,
.JPortal .btn.btn-info:active {
  background-color: #6798ff;
  border-color: #4d87ff;
}
.PortalJspCollection .btn.btn-danger,
.Portal .btn.btn-danger,
.JPortal .btn.btn-danger {
  color: #fff;
  background-color: #ce0500;
  border-color: #b50400;
}
.PortalJspCollection .btn.btn-danger:hover,
.Portal .btn.btn-danger:hover,
.JPortal .btn.btn-danger:hover,
.PortalJspCollection .btn.btn-danger:focus,
.Portal .btn.btn-danger:focus,
.JPortal .btn.btn-danger:focus {
  background-color: #ff2725;
  border-color: #ff0e0b;
}
.PortalJspCollection .btn.btn-danger:active,
.Portal .btn.btn-danger:active,
.JPortal .btn.btn-danger:active {
  background-color: #ff4140;
  border-color: #ff2826;
}
.PortalJspCollection .btn.btn-warning,
.Portal .btn.btn-warning,
.JPortal .btn.btn-warning {
  color: #fff;
  background-color: #b34000;
  border-color: #9a3700;
}
.PortalJspCollection .btn.btn-warning:hover,
.Portal .btn.btn-warning:hover,
.JPortal .btn.btn-warning:hover,
.PortalJspCollection .btn.btn-warning:focus,
.Portal .btn.btn-warning:focus,
.JPortal .btn.btn-warning:focus {
  background-color: #b34000;
  border-color: #9a3700;
}
.PortalJspCollection .btn.btn-warning:active,
.Portal .btn.btn-warning:active,
.JPortal .btn.btn-warning:active {
  background-color: #b34000;
  border-color: #9a3700;
}
.PortalJspCollection .btn.btn-success,
.Portal .btn.btn-success,
.JPortal .btn.btn-success {
  color: #fff;
  background-color: #18753c;
  border-color: #146031;
}
.PortalJspCollection .btn.btn-success:hover,
.Portal .btn.btn-success:hover,
.JPortal .btn.btn-success:hover,
.PortalJspCollection .btn.btn-success:focus,
.Portal .btn.btn-success:focus,
.JPortal .btn.btn-success:focus {
  background-color: #27a959;
  border-color: #22944e;
}
.PortalJspCollection .btn.btn-success:active,
.Portal .btn.btn-success:active,
.JPortal .btn.btn-success:active {
  background-color: #2fc368;
  border-color: #2aae5d;
}
.PortalJspCollection .badge,
.Portal .badge,
.JPortal .badge {
  background-color: #666666;
}
.PortalJspCollection .badge.badge-primary,
.Portal .badge.badge-primary,
.JPortal .badge.badge-primary {
  color: #fff;
  background-color: #000091;
}
.PortalJspCollection .badge.badge-info,
.Portal .badge.badge-info,
.JPortal .badge.badge-info {
  color: #fff;
  background-color: #0063cb;
}
.PortalJspCollection .badge.badge-danger,
.Portal .badge.badge-danger,
.JPortal .badge.badge-danger {
  color: #fff;
  background-color: #ce0500;
}
.PortalJspCollection .badge.badge-warning,
.Portal .badge.badge-warning,
.JPortal .badge.badge-warning {
  color: #fff;
  background-color: #b34000;
}
.PortalJspCollection .badge.badge-success,
.Portal .badge.badge-success,
.JPortal .badge.badge-success {
  color: #fff;
  background-color: #18753c;
}
/* Place les boutons au dessus */
@media screen and (max-width: 767px) {
  .selection-wrapper .selection-body {
    padding: 0;
  }
  .selection-wrapper .selection-side {
    position: static;
    display: block;
    margin-bottom: 10px;
    width: 100%;
    margin-left: 0;
  }
  .selection-wrapper .selection-side .publication-actions {
    display: flex;
    justify-content: flex-end;
  }
  .selection-wrapper .selection-side .publication-actions .collapse-action-wrapper {
    border-radius: 4px 0 0 4px;
  }
  .selection-wrapper .selection-side .publication-actions .collapse-action-wrapper .list-group-item.pub-action-toggle {
    height: 100%;
    border-radius: 0px;
  }
  .selection-wrapper .selection-side .publication-actions .publication-action-main {
    border-radius: 0 4px 4px 0;
    box-shadow: none;
    border: 1px solid #ddd;
    border-left: 0;
  }
  .selection-wrapper .selection-side .publication-actions .publication-action-main .sticky-action-group {
    display: flex;
    flex-direction: row;
  }
  .selection-wrapper .selection-side .publication-actions .publication-action-main .sticky-action-group .list-group-item {
    margin-bottom: 0;
    border-radius: 4px;
  }
  .selection-wrapper .selection-side .publication-actions .publication-action-main .publication-action-label {
    display: none;
  }
  .selection-wrapper.selection-wrapper-side-open .selection-side {
    border-radius: 4px 0 4px 4px;
  }
  .selection-wrapper.selection-wrapper-side-open .selection-side .publication-actions {
    flex-direction: column;
  }
  .selection-wrapper.selection-wrapper-side-open .selection-side .publication-actions .collapse-action-wrapper {
    border-radius: 4px 0 0 0;
  }
  .selection-wrapper.selection-wrapper-side-open .selection-side .publication-actions .collapse-action-wrapper .list-group-item.pub-action-toggle {
    border-radius: 4px 0 0 0;
  }
  .selection-wrapper.selection-wrapper-side-open .selection-side .publication-actions .publication-action-main {
    border-radius: 0;
    border-left: 1px solid #ddd;
  }
  .selection-wrapper.selection-wrapper-side-open .selection-side .publication-actions .publication-action-main .sticky-action-group .list-group-item {
    border-radius: 0;
  }
  .selection-wrapper.selection-wrapper-side-open .selection-side .publication-actions .publication-actions-secondary {
    border-radius: 0 0 4px 4px;
  }
  .selection-wrapper.selection-wrapper-side-open .selection-side .publication-actions .publication-actions-secondary .collapsed {
    border-radius: 0 0 4px 4px;
  }
  .selection-main {
    margin-right: 0;
  }
}
body .jalios-icon.caddy-out,
.btn.btn-rounded .jalios-icon.caddy-out,
.dropdown-menu .jalios-icon.caddy-out,
body .jalios-icon.caddy-query-out,
.btn.btn-rounded .jalios-icon.caddy-query-out,
.dropdown-menu .jalios-icon.caddy-query-out {
  color: #c90101;
}
@media screen and (max-width: 480px) {
  .cs-portal #cs-header-middle #cs-search-form {
    display: block;
  }
}
#dbcomments {
  clear: both;
}
@media screen and (max-width: 767px) {
  #dbcomments .dbcomment .comment-header {
    flex-wrap: wrap;
  }
  #dbcomments .dbcomment .comment-header > div {
    flex-basis: 100%;
    position: relative;
  }
}
.PortletJCalendar .jalios-fullcalendar.is-list-view .jcalendar-body {
  height: auto;
  max-height: 400px;
  overflow: auto;
}
.PortalMode .cs-portal .app {
  margin: 0;
}
.PortalJspCollection .portlet-header-actions-menu,
.PortletPortal .portlet-header-actions-menu {
  display: block;
}
.itemlist-item-detailed .itemlist-item-meta {
  color: #767676;
}
@media screen and (max-width: 767px) {
  .PortletExplorer .app.app-explorer .app-sidebar {
    min-width: 0;
  }
  .PortletExplorer .app.app-explorer .navbar-left,
  .PortletExplorer .app.app-explorer .navbar-nav {
    display: block;
  }
  .PortletExplorer .app.app-explorer .navbar-left {
    border: 0;
  }
  .PortletExplorer .app.app-explorer .navbar-nav .open .dropdown-menu {
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  }
}
.PortletExplorer.usage-full.skin-light .portlet-header {
  border-bottom: 1px solid #ddd;
}
.PortletExplorer.usage-full.skin-light .portlet-body {
  padding: 0;
}
.PortletExplorer.usage-full.skin-light .portlet-body .has-no-sidebar {
  padding-left: 15px;
  padding-right: 15px;
}
@media only screen and (min-width: 992px) {
  .PortletExplorer.usage-full.skin-light .explorer-table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    /*                max-height: 700px;*/
  }
}
.PortletExplorer.usage-box.panel-skin .portlet-body {
  padding: 0;
}
.PortletExplorer.usage-box.panel-skin .app.app-explorer.has-no-sidebar {
  padding-left: 15px;
  padding-right: 15px;
}
@media only screen and (min-width: 992px) {
  .PortletExplorer.usage-box.panel-skin .explorer-table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    /*max-height: 700px;*/
  }
}
.PortletExplorer.usage-collaborativeSpace.panel-skin .app.app-explorer {
  margin-left: -15px;
  margin-right: -15px;
  margin-top: -15px;
}
.PortletExplorer.usage-collaborativeSpace.panel-skin .app.app-explorer .app-main {
  min-height: auto;
}
.PortletExplorer.usage-collaborativeSpace.panel-skin .app.app-explorer.has-no-sidebar {
  margin-left: 0;
  margin-right: 0;
  margin-top: -30px;
}
@media only screen and (min-width: 992px) {
  .PortletExplorer.usage-collaborativeSpace.panel-skin .explorer-table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    /*max-height: 700px;*/
  }
}
.carousel-container:hover,
.carousel-container .carousel-pause-button:hover,
.carousel-container:focus-within > .carousel-pause-button {
  background: none;
}
/******************* TOPBAR *************************/
@media screen and (max-width: 480px) {
  .topbar .topbar-item-wrapper.topbar-admin-menu {
    display: block;
  }
}
.wysiwyg-inline-edit-display:focus-within .wysiwyg-inline-buttons,
.wysiwyg-inline-edit-display:hover .wysiwyg-inline-buttons {
  /* Pour corriger la taille du bouton "Modifier" qui passe au dessus de la zone potentiellement cliquable dans le WYSIWYG */
  max-width: fit-content;
}
