body {
	font-family: "Comic Sans MS", Consolas, Calibri;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	text-align: left;
	background-color: whitesmoke;
	position:relative;
}

.anchor {
    display: block;
    height: 90px;
    margin-top: -90px;
    visibility: hidden;
}

.brandTop {
	font-size:1rem;
}

@media only screen and (min-width: 576px) {
	.brandTop {
		font-size:2rem;
	}
}

.section-nav {
	background-color: rgb(72,100,140,0.1)!important;
	border-bottom: none;
	transition: border-bottom 0.5s, background-color 0.5s;
}
.section-nav .section-nav-scrolled {
	background-color: rgb(227,239,252,1)!important;
	border-bottom: solid 1px #e9ecef;
	transition: border-bottom 0.5s, background-color 0.5s;
}
.section-nav:hover {
	background-color: rgb(227,239,252,1)!important;
	transition: background-color 0.5s;
}
.progress{
	height: 0;
}
.section-nav.section-nav-scrolled + .progress {
	height: 2px;
}

.section-hero {
	padding-top:64px;
	background-color : #abcdef!important; 
	/*border-bottom: solid 1px #e9ecef;*/
	margin-bottom: 50px;
	box-shadow: 0 0 1rem 1rem rgba(171,205,239,1)!important;
}

.section-footer {
	background-color : #abcdef!important;
	/*border-top: solid 1px #e9ecef;*/
	margin-top: 50px;
	padding-bottom: 30px;
	box-shadow: 0 0 1rem 1rem rgba(171,205,239,1)!important;
}

.section-legal {
	/*border-top: solid 1px #e9ecef;*/
	background-color : #e3effc!important;
	box-shadow: 0 0 1rem 1rem rgba(227,239,252,1)!important;
}

/* NAV */	
.nav-item {
	display: flex;
}
.nav-link.active::before {
	font-family: 'Font Awesome 5 Free';
    font-weight: 800;
    content: "\f061";
	padding: 0.5rem 0.5rem 0.5rem 0;
}
.nav-link.active {
	border-bottom: none;
}

@media only screen and (min-width: 576px) {
	.nav-item {
		display: flex;
	}
	.nav-link.active::before {
		content:"";
		padding: 0;
	}
	.nav-link.active {
		border-bottom: solid 2px;
		border-left: none;
	}
}

/* CONTENT */
.sticky {
	position: -webkit-sticky;
    position: sticky;
    top: 66px;
	margin-top : 15px;
	margin-bottom : 15px;
}

img.sticky {
		background-color: whitesmoke;
}

.masked {
	position : absolute ;
	filter : alpha(opacity=70);
	-moz-opacity : 0.70;
	opacity : 0.70;
	width: 100%;
    height: 100%;
    background-color: lightyellow;
    z-index: 999;
    background-image: url(/images/rouages_msg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
}

.section-hero p.lead {
	color:mediumblue;
}

.section-hero h2 {
	color:darkblue;
}

.section-footer {
	color:mediumblue;
}

.section-footer h3 {
	color:darkblue;
}

.collapse-title {
	cursor: pointer;
	background-color: inherit;
}

.collapse-title h3{
	font-size: 1.25rem;
}

.collapse-title-active {
	background-color: #e3effc;
}

.p-title{
	font-weight: bold;
	font-size: 1.05rem;
	color: #48648C;
}

p + .p-title{
	margin-top : 2rem;
}

.title-section {
	box-shadow: 0 5px 0.25rem 0 mediumblue, 0 -5px 0.25rem 0 #e9ecef;
    padding: 5px;
    text-align: center;
    margin-bottom: 15px;
	margin-top: 15px;
	color: mediumblue;
	text-transform: uppercase;
	letter-spacing: 10px;
}

/* CARDS */ 
.card {
	margin-bottom: 5px;
}

.card-h-fixed {
    max-height: 200px;
    max-width: fit-content;
    padding-bottom: 1.25rem;
}

@media only screen and (min-width: 576px) {
	.card-h-fixed {
		max-height: 150px;
		max-width: fit-content;
		padding-top: 1.25rem;
	}
}

.row-deck > div[class*='col-'] {
  display: flex;
  flex:1 0 auto;
}

/* LIST-GROUP */
.list-group-item-none {
	background-color: transparent;
}
.list-group-item.list-group-custom {
	color: rgba(0,0,0,.5);
}

.list-group-item.list-group-custom.active::after {
    content: "";
    position: absolute;
	right: -16px;
    top: 25%;
	height: 50%;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 16px solid #abcdef;
}

.list-group-item.list-group-custom.active {
	background-color: #abcdef;
	color: #000;
	border: solid 1px #abcdef;
}

.list-group-custom.active h5,  .list-group-custom.active p{
	color: mediumblue;
}

.list-group-custom.active .badge-secondary {
    background-color: mediumblue;
}

.list-group-custom:not(.list-group-item-action) {
	margin-bottom: 5px;
}

.list-group-custom .list-group-item-title {
	background-color: #abcdef;
}

.list-group-custom .list-group-item-detail {
	background-color: rgb(171,205,239,0.1);
}

.carousel-custom {
	background-color: rgb(171,205,239,0.1);
	border-radius: 0.3rem;
	padding : 15px;
	min-height: 250px;
}

.carousel-custom .carousel-inner {
	padding-left: 15%;
	padding-right: 15%;
	padding-bottom: 15px;
}

.col-tab-content {
	background-color: rgb(171,205,239,0.1);
	border-radius: 0.3rem;
	border: solid 1px #abcdef;
	padding : 15px;
}

/* DISPLAY HEIGHT */
.dh-none {
	display:none;
}
.dh-block {
	display:block;
}

@media only screen and (min-height: 500px) {
	.dh-sm-none {
		display:none;
	}
	.dh-sm-block {
		display:block;
	}
}

@media only screen and (min-height: 600px) {
	.dh-md-none {
		display:none;
	}
	.dh-md-block {
		display:block;
	}
}
	
@media only screen and (min-height: 700px) {
	.dh-lg-none {
		display:none;
	}
	.dh-lg-block {
		display:block;
	}
}

/* BUTTONS */
.card .btn {
	display:block;
	padding: 0.25rem 0.5rem;
	font-size: .875rem;
	line-height: 1.5;
	border-radius: 0.2rem;
}

.btn-customPrimary {
    color: white;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-customPrimary:hover {
    color: white;
    background-color: #0069d9;
    border-color: white;
	box-shadow: 0 0 1rem 0.1rem #0069d9;
}

.btn-customSecondary {
    color: white;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-customSecondary:hover {
    color: white;
    background-color: #138496;
    border-color: white;
	box-shadow: 0 0 1rem 0.1rem #138496;
}

.btn-customLight {
    color: #212529;
    background-color: white;
    border-color: white;
}

.btn-customLight:hover {
    color: #212529;
    background-color: whitesmoke;
    border-color: #212529;
	box-shadow: 0 0 1rem 0.1rem whitesmoke;
}

.btn-customDark {
    color: white;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-customDark:hover {
    color: white;
    background-color: #5a6268;
    border-color: white;
	box-shadow: 0 0 1rem 0.1rem #5a6268;
}
