/* Adjust */
html, body { height:100vh; padding:0 !important; margin:0 !important }
body { background:#f7f7f7 }
h5 { font-weight:bold}
.bg-black { background:#000 }
.bg-red { background:#e30615 }
.form-loader { background:#f7f7f7 }
.form-loader div { border-top-color:#f7f7f7 !important; }
.form-loader { position:absolute; bottom:0; left:0; top:0; right:0; text-align:center; z-index:1000; }
.form-loader div {
	position:absolute;
	bottom:50%;
	left:50%;
	text-align:center;
	border:12px solid;
	border-top:12px solid;
	border-radius:50%;
	width:60px;
	height:60px;
	margin:-30px;
	-webkit-animation:spin 2s linear infinite;
	   -moz-animation:spin 2s linear infinite;
		 -o-animation:spin 2s linear infinite;
		-ms-animation:spin 2s linear infinite;
			animation:spin 2s linear infinite;
}
@keyframes spin {
	0% {
	-webkit-transform:rotate(0deg);
	   -moz-transform:rotate(0deg);
		 -o-transform:rotate(0deg);
		-ms-transform:rotate(0deg);
			transform:rotate(0deg);
	}
	100% {
	-webkit-transform:rotate(360deg);
	   -moz-transform:rotate(360deg);
		 -o-transform:rotate(360deg);
		-ms-transform:rotate(360deg);
			transform:rotate(360deg);
	}
}
.full-height { min-height:none }
#footer	{ padding:2rem 1rem 1rem 1rem }
#logo {margin:1rem auto 3rem auto; max-height:250px }
#aside-CGTS { max-width:none; flex:0 0 100%; position:relative }
h3.title { text-transform:uppercase }
@media (min-width:992px) {
	#aside-CGTS { max-width:30%; flex:0 0 30% }
	#infos-CGTS { min-width:300px }
	#footer { width:30%; position:fixed; background-color:transparent!important; bottom:0; }
	.full-height { min-height:100vh }
}
#footer p,
#footer a { font-size:12px }
#footer .socialshare a { display:inline-block; margin:5px; }
#notices .modal-body { columns:2; column-gap:3rem}
@media (min-width:992px) {
	#form-CGTS { max-width:788px }
}
@media (max-width:1300px) {
	#form-CGTS .form-row > .col-12 { flex:0 0 100%; max-width:100%; }
}
@media (max-width:991px) {
	#aside-CGTS { display:none }
	#cga .modal-body,
	#notices .modal-body { columns:1 }
}
.popover-header { font-weight:bold; font-family:inherit }

.input-group-prepend .bootstrap-select.form-control .dropdown-toggle { border-top-right-radius:0 !important; border-bottom-right-radius:0 !important; margin-right:-1px; }
.input-group .bootstrap-select:not(:last-child).form-control .dropdown-toggle { border-top-right-radius:0 !important; border-bottom-right-radius:0 !important; margin-right:-1px; }
.bootstrap-autocomplete .dropdown-item { white-space:normal }
.bootstrap-select .dropdown-toggle:focus, .bootstrap-select>select.mobile-device:focus+.dropdown-toggle { outline:none!important }
a.dropdown-item.active, a.dropdown-item:active { color:#fff }
.card-small { line-height:1 }
.legend { display:flex; align-items:center }
.legend .badge { font-size:12px; width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; padding:0; margin-right:.5rem; }
.legend * { margin-bottom:0 }
select { -webkit-appearance:none; -moz-appearance:none; text-indent:1px; text-overflow:'' }
select::-ms-expand { display:none }
.text-sm  { font-size:small; line-height:1rem}
.bootstrap-select.is-valid, .bootstrap-select.is-invalid { background-color:transparent; box-shadow:none }
.bootstrap-select .dropdown-menu li a { outline:none }
.dropdown-item.active .text-muted { color:#fff!important }
#M_address_search { border-top-right-radius:.25rem; border-bottom-right-radius:.25rem }
/* Wizard step */
#nav-step .nav-item { text-align:center; flex:1 }
#nav-step .nav-lib { display:block; line-height:1; margin-top:0.5rem }
#nav-step button[data-goto-step] {
  display:inline-flex;
  height:50px;
  width:50px;
  text-align:center;
  padding:0;
  justify-content:center;
  align-items:center;
  border-radius:100%;
  border:none !important;
  outline:none !important;
}
#nav-step button[data-goto-step] i { font-size:1.4rem }
#nav-step .nav-item:not(.active) button[data-goto-step] {
  color:#fff;
  background:#ddd;
  box-shadow:inset 0 0.1rem 0.1rem rgba(0,0,0,.1);
}
#nav-step .nav-item.active:not(.success) button[data-goto-step] { color:#fff; background:#e30615 }
#nav-step .nav-item.success button[data-goto-step] { color:#fff; background:#e30615 }
#nav-step .nav-item .progress { margin-bottom:-25px; height:4px; border-radius:0; }
#nav-step .success .progress-bar { width:100% }
#nav-step .active .progress-bar { width:50% }

[data-step] nav.btn-group .btn-secondary { }
[data-step] nav.btn-group .btn-primary { text-transform:uppercase; font-weight:900}
.custom-control-input.is-invalid~.custom-control-label, .was-validated .custom-control-input:invalid~.custom-control-label,
.custom-control-input.is-valid~.custom-control-label, .was-validated .custom-control-input:valid~.custom-control-label { color:inherit; }
.tooltip-danger .tooltip-inner { background-color:#e30615 }
.tooltip-danger.bs-tooltip-top .arrow::before { border-top-color:#e30615 }
.tooltip-danger.bs-tooltip-right .arrow::before { border-right-color:#e30615 }
.tooltip-danger.bs-tooltip-left .arrow::before { border-left-color:#e30615 }
.tooltip-danger.bs-tooltip-bottom .arrow::before { border-bottom-color:#e30615 }
::-webkit-input-placeholder { font-size:small; line-height:24px!important }
:-ms-input-placeholder { font-size:small }
::placeholder { font-size:small }
