.bgmovie {
    position: fixed;
    top: 0;
    left: 0;
    width:  100vw;
    height:  100vh;
    z-index:  -1;
}

.bgmovie video, .bgmovie iframe {
    object-fit: cover;
    min-width:  100vw;
    min-height:  100vh !important;
}

.navbar-dark {
	background-color: #fff;
	/* background-color: rgba(61,54,134,1); */
}

body .sidebar-xs .navbar-header .navbar-brand-md {
	display: block;
	margin: 0;
	padding: 0;
	width: 56px !important;
	overflow: hidden;
}

body.sidebar-xs .navbar-header .navbar-brand-xs img {
    height: 3rem;
}

body .mobile-navbar .navbar-brand img {
    height: 3rem;
}

body .navbar-collapse,
body .content,
body .page-header-content {
 	padding-left: 2rem;
 	padding-right: 2rem;
}

body .navbar-brand img {
    height: 5rem;
}

body .sidebar-dark {
    /*
	background: linear-gradient(0deg, rgba(15,32,58,1) 0%, rgba(0,145,209,1) 100%);
    */
    background: rgb(9,29,58);
    background:
        linear-gradient(45deg, 
        rgba(9,29,58,1) 0%,
        rgba(141,72,154,1) 33%,
        rgba(37,59,133,1) 55%,
        rgba(12,163,216,1) 73%,
        rgba(239,141,160,1) 100%);
    background-size: 400% 400%;
    animation: gradient 30s ease infinite;
}

body .sidebar-dark .nav-sidebar>.nav-item-open>.nav-link:not(.disabled),
body .sidebar-dark .nav-sidebar>.nav-item>.nav-link.active,
body .sidebar-light .card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent)
body .nav-sidebar>.nav-item-open>.nav-link:not(.disabled),
body .sidebar-light .card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar>.nav-item>.nav-link.active {
	/* background-color: rgba(0,145,209,1); */
    background-color: rgba(9,29,58,0.5);
}

body .navbar-header {
	margin-top: 0px;
    margin-bottom: 0px;
}

body .page-content .navbar.navbar-light {
	box-shadow: none !important;
	background-color: transparent;
}

body #navbar-footer, body #navbar-footer a {
	/* display: none !important; */
	color: black;
	font-weight: normal;
	font-size: 11px;
}

body .navbar:not(.shadow-none),
body .shadow:not(.shadow-none) {
    box-shadow: 0 1px 15px 1px rgba(52,40,104,.08) !important;
}

body .sidebar-expand-md.sidebar-main {
	box-shadow: 0 1px 15px 1px rgba(52,40,104,.08) !important;
}

body .sidebar-expand-md.sidebar-right {
	width: 380px;
	box-shadow: 0 1px 15px 1px rgba(52,40,104,.08) !important;
}

body .sidebar-right, body .sidebar-right .sidebar-content {
	right: -381px;
}

body .sidebar.sidebar-fullscreen {
	width: 100% !important;
}

body .sidebar-expand-md .sidebar-calendar {
    width: 380px;
    margin-top: -100px;
    padding-top: 100px;
}

/* laisser sous forme externe, pas d'option saas */

body .table thead th {
    font-size: 0.9rem;
}

body .nav-tabs .nav-link.active {
    border-top-color: #009ee2;
}

/* theme montreux */

#bgcarousel .carousel-item {
	position: fixed;
	top: 0px;
	height: 100vh;
	z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    transition-duration: 4s;
}

.sections {
	margin-top: 40vh;
}

.body-gradient .page-content {
    /*
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    */
    background: rgb(9,29,58);
    background:
        linear-gradient(45deg, 
        rgba(9,29,58,0.8) 0%,
        rgba(37,59,133,0.6) 33%,
        rgba(12,163,216,0.5) 55%,
        rgba(141,72,154,0.40) 73%,
        rgba(239,141,160,0.40) 100%);
    background-size: 400% 400%;
    animation: gradient 20s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.pace .pace-progress {
  background: linear-gradient(to right, #eb0203, #fee801) !important;
  height: 4px;
  top: inherit;
}

/* Tetris forms */

.card-header.is-invalid {
	color: #c53636;
}

/* Test RSC */
.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

.nav-sidebar .nav-link i {
    min-width: 24px;
    height: 24px;
    line-height: 25px;
    text-align: center;
    margin: 0;
    margin-right: 1rem;
}

.card-group-control .card-title h6>a.collapsed:before {
  background: #f0eff2;
  width: 27px;
  height: 27px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  line-height: 29px;
  text-align: center;
  content: "";
  top: 0;
  margin-top: 0;
  font-family: "Font Awesome 5 Pro";
  transform: rotate(0deg);
}

.card-group-control .card-title h6>a:before {
  background: #f0eff2;
  width: 27px;
  height: 27px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  line-height: 29px;
  text-align: center;
  content: "";
  top: 0;
  margin-top: 0;
  font-family: "Font Awesome 5 Pro";
  transform: rotate(90deg);
}

/* Customisation du datepicker bootstrap de base */

/* supprimé car problématique dans le login
.datepicker {
    padding: 5px!important;
}
*/

.datepicker thead tr th {
    padding-top: 10px!important;
    padding-bottom: 10px!important;
}

.datepicker thead tr th.prev,
.datepicker thead tr th.next {
    width: 40px!important;
}

.datepicker tbody td {
    width: 40px!important;
    height: 40px!important;
}

.datepicker table tr td span {
    width: 40px!important;
    height: 40px!important;
    line-height: 40px!important;
}

.datepicker table tr td.active.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td.active.disabled:hover[disabled], .datepicker table tr td.active.disabled[disabled], .datepicker table tr td.active:active, .datepicker table tr td.active:hover, .datepicker table tr td.active:hover.active, .datepicker table tr td.active:hover.disabled, .datepicker table tr td.active:hover:active, .datepicker table tr td.active:hover:hover, .datepicker table tr td.active:hover[disabled], .datepicker table tr td.active[disabled],
.datepicker table tr td span.active.active, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover.active, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active:active, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active:hover:active {
    background-color: #2980b9!important;
    border-radius: 50%!important;
}

.datepicker table tr td.day.focused, .datepicker table tr td.day:hover,
.datepicker .next:hover, .datepicker .prev:hover, .datepicker tfoot tr th:hover {
    border-radius: 50%!important;
}

.datepicker table tr td.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active:hover {
    background: #2980b9!important;
    background-image: none!important;
    border-radius: 50%!important;
    color: #fff!important;
}

.datepicker table tr td span.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active:hover {
    background: #2980b9!important;
    background-image: none!important;
    border-radius: 50%!important;
    color: #000!important;
}

.datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover,
.datepicker table tr td span.month.disabled:hover, .datepicker table tr td span.month:hover,
.datepicker table tr td span.year.disabled:hover, .datepicker table tr td span.year:hover,
.datepicker table tr td span.decade.disabled:hover, .datepicker table tr td span.decade:hover,
.datepicker table tr td span.century.disabled:hover, .datepicker table tr td span.century:hover {
    background-color: transparent!important;
    background-image: linear-gradient(to bottom, #e9ecef, #e9ecef)!important;
    border-radius: 50%!important;
}

.datepicker table tr td.today.active, .datepicker table tr td.today.disabled.active, .datepicker table tr td.today.disabled:active, .datepicker table tr td.today.disabled:hover.active, .datepicker table tr td.today.disabled:hover:active, .datepicker table tr td.today:active, .datepicker table tr td.today:hover.active, .datepicker table tr td.today:hover:active,
.datepicker table tr td span.month.active, .datepicker table tr td span.month.disabled.active, .datepicker table tr td span.month.disabled:active, .datepicker table tr td span.month.disabled:hover.active, .datepicker table tr td span.month.disabled:hover:active, .datepicker table tr td span.month:active, .datepicker table tr td span.month:hover.active, .datepicker table tr td span.month:hover:active,
.datepicker table tr td span.year.active, .datepicker table tr td span.year.disabled.active, .datepicker table tr td span.year.disabled:active, .datepicker table tr td span.year.disabled:hover.active, .datepicker table tr td span.year.disabled:hover:active, .datepicker table tr td span.year:active, .datepicker table tr td span.year:hover.active, .datepicker table tr td span.year:hover:active,
.datepicker table tr td span.decade.active, .datepicker table tr td span.decade.disabled.active, .datepicker table tr td span.decade.disabled:active, .datepicker table tr td span.decade.disabled:hover.active, .datepicker table tr td span.decade.disabled:hover:active, .datepicker table tr td span.decade:active, .datepicker table tr td span.decade:hover.active, .datepicker table tr td span.decade:hover:active,
.datepicker table tr td span.century.active, .datepicker table tr td span.century.disabled.active, .datepicker table tr td span.century.disabled:active, .datepicker table tr td span.century.disabled:hover.active, .datepicker table tr td span.century.disabled:hover:active, .datepicker table tr td span.century:active, .datepicker table tr td span.century:hover.active, .datepicker table tr td span.century:hover:active {
    background: #2980b9!important;
    color: #fff!important;
}

.select2-container--disabled,
.select2-container--disabled .select2-selection--single:not([class*=bg-]) {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.select2-selection--single {
    color:  inherit;
    border-color: #cbd5e1;
}

#formio a:not(.nav-link), #builder a:not(.nav-link) {
    color: var(--info);
}
