/* custom colors by project */

.bg-project,
.pace .pace-progress {
    background-color: rgba(47,102,38,1) !important;
}

.text-project, .tab-content a {
    color: rgba(47,102,38,1) !important;
}

.bg-project-secondary {
    background-color: rgba(176,117,46,1) !important;
}

.text-project-secondary {
    color: rgba(176,117,46,1) !important;
}

/* end custom colors by project */


body {
	background: var(--light);
}

body .page-title small {
	display: block;
	margin-left: 0px;
	margin-top: -5px;
	font-size: 70%;
}

body .page-title small:before {
	display: none;
}

body .sidebar-expand-md.sidebar-main {
    box-shadow: none !important;
}

body .content-wrapper:first-child:before {
    position: fixed;
}

.tile .description {
    opacity: 0.8;
}

.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-md img {
    height: 2rem;
}
body .mobile-navbar .navbar-brand img {
    height: 2.6rem;
    margin-left: 15px;
}

body .content .content {
	padding: 0px;
}

body .navbar-collapse,
body .content,
body .page-header-content {
 	padding-left: 2rem;
 	padding-right: 2rem;
}

body .navbar-brand img {
    height: 4.5rem;
    margin-left: 8px;
}

.sidebar-xs .navbar-header .navbar-brand-xs img {
    height:  2.3rem;
}

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: #333 !important;
}


body .navbar {
	border: none;
}

body .navbar-header {
	margin-top: 0px;
    margin-bottom: 0px;
}

.loading-bar:before {
	display: block;
	content: "";
	background-color: #009EE2;
	height: 1px;
	overflow: hidden;
	animation-name: loading-card;
	animation-duration: 1s;
}

@keyframes loading-card {
	from { width: 0%; }
	to { width: 100%; }
}

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.body-gradient footer .text-muted {
    color:  #fff !important;
    opacity:  0.8;
}

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: 30vh;
}

.body-gradient .page-content {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,1,0.5) 50%,
        rgba(0,0,0,0.8) 100%
    );
}

.pace .pace-progress {
  background: rgba(1,126,60,1) !important;
	height: 4px;
  top: inherit;
}

/* Tetris forms */

.card-header.is-invalid {
	color: #c53636;
}

.body-gradient .page-title {
    text-shadow: 0 0 0.1875rem rgba(0,0,0,.5);
    color: #fff !important;
}

/* 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);
}

.media-chat-scrollable {
  max-height: inherit;
  overflow: auto;
}

.select2-selection--single {
  padding: 7px 0 8px 0;
}
/* 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: #e9ecef !important;
  /*border-radius: 50%!important;*/
}

#formio a:not(.nav-link), #builder a:not(.nav-link) {
    color: var(--danger);
}
