
body {
	--color-bg-strong: hsl(14deg 88% 56%);
	font-family: helvetica;
	font-size: 1rem;
}
body.rct::before {
	content: "ENVIRONNEMENT DE RECETTE";
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-size: 3.5em;
	font-weight: bold;
	color: rgba(0,100,200,0.4);
	text-align: center;
	opacity: 0.5;
  }
.card.menu {
	text-align: center;
	background-color: var(--secondary);
}
.card.menu:hover{
	background-color: var(--primary);
	text-decoration: none;
}
.card.menu .oi {
	font-size: 4em;
}
.card.menu .card-title {
	font-size: 2em;
}

.col-05 {
	width: 4.16666%;
}

#context-menu {
	position: fixed;
	z-index: 10000;
	width: 150px;
	border: solid 1px;
	transform: scale(0);
	transform-origin: top left;
}

#context-menu.visible {
	transform: scale(1);
	transition: transform 200ms ease-in-out;
}

#context-menu .item {
	padding: 8px 10px;
	font-size: 15px;
	cursor: pointer;
	border-bottom: solid 1px;
	background-color: white;  
	
}

#context-menu .item:hover {
	/* background: #343434; */
	filter: invert(10%);
}

.detailDoc .card {
	margin-bottom: 0.25rem ! important;
}

.detailDoc .card-header {
	font-size: 16px;
	background-color: hsl(15deg 10% 92%);
}

.docgrise {
	background-color: lightgrey;
}

.hoverableDropdown:hover .hoverableDropdownContent {
	display: block;
}

.hoverableDropdownContent {
	display: none;
}

.has-error, input.ng-invalid{
    border-color: #a94442 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important;
    color: #a94442 !important;
    font-weight: bold !important;
	border: solid 1px !important;
}
#informationsGenerales table td {
	border-top: 0px;
}
#informationsGenerales table .row {
	border-top: 1px solid #dee2e6;
}
.input100 {
    width: 100%;
    border: solid 1px lightblue;
    padding-left: 5px;
}
.link {
	cursor: pointer;
}
.link:hover {
	transform: scale(1.01);
	box-shadow: 10px 5px 5px grey;
	filter: brightness(80%);
}
.navbar {
	background-color: --color-bg-strong !important;
}
.ng-cloak { 
	display:none; 
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.noBorder input, .noBorder div[mb-editable] {
    border: 0px;
    margin-top: 1px;
    margin-bottom: 1px;
}

.rubrique {
	background: lightblue;
	margin-top: 4px;
	margin-bottom: 4px;
}

.spacerNavBar {
	height: 66px;
}

.sorted.bottom::after {
	content: "↓";
}

.sorted.top::after {
	content: "↑";
}

.strong {
    font-weight: bold;
}

.tdAmount {
	text-align: right;
	white-space: nowrap;
}

.tdAmount input {
	text-align: right;
	white-space: nowrap;
}

.tdPct::after {
	content: "%";
}

.texte-barre {
	text-decoration:line-through;
}

.thumbnail {
	overflow: hidden;
	transition: all .2s ease-in-out;
	position: relative;
}

@media only screen and (min-width : 481px) {
    .row.equal-height > [class*='col-'] > .thumbnail,
    .row.equal-height > [class*='col-'] > .thumbnail > .caption {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
    }
    .row.equal-height > [class*='col-'] > .thumbnail > .caption > .flex-text {
        flex-grow: 1;
    }
    .row.equal-height > [class*='col-'] > .thumbnail > img {
        width: 100%;
        height: 200px; /* force image's height */

        /* force image fit inside it's "box" */
        -webkit-object-fit: cover;
           -moz-object-fit: cover;
            -ms-object-fit: cover;
             -o-object-fit: cover;
                object-fit: cover;
				
		border:	solid #2D770C 2px;
    }
    .row.equal-height > .sm > .thumbnail > img {
		height: 150px; /* force image's height */
	}
    .row.equal-height > .sm > .thumbnail {
		font-size: 0.9em;
	}
    .row.equal-height > .sm > .thumbnail > .smCircle {
		width: 36px;
		height: 36px;
	}
}

