/* MeRrais Started 20141227
Standardized 231023 10:10 
*/

body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100vh;
	font-family: Verdana, Arial, sans-serif;
	overflow: hidden;
	min-height: 300px; min-width: 400px;	
	background-color: #FAFAFA;
	background-image: linear-gradient(to bottom right, rgb(32,18,77), silver, rgb(12,52,61));
}

header {
	display: flex;
	padding-top: 0.5rem;
	top:0;
	width: 100%;
	height: 3.5rem;
	color: #33498A;
}

section {
	position: relative;
	display: flex;
	top:3.5rem;
	margin: 0;
	padding: 0 4px;
	max-width: 100%;
	height: calc(100% - 5rem);
}

footer {
    position: fixed;
	padding-top: 0.2rem;
    bottom: 0;
	width: 100%;
	text-align:center;
	height: 1.5rem;
	font-size: small;
	color: rgb(7, 5, 102);
}

footer p {
	font-size: small;
}

footer a {
	font-size: small !important;
	color: darkblue;
}

footer #meEtat {
	width: calc(100% - 5rem);
	float: left;
	text-align:center;
}

.meEtat {
	position: fixed;
	font-size: 1/5rem;
	height: 1rem;
	padding: 0;
	margin: 0;
    bottom: 0;
    font-size: large;
    color: red;
    background-color: yellow;
    width: auto;
    left: 0;
	width: 100%;
	text-align: center;
}

footer #meTime {
	float: right;
	text-align:right;
	font-size: small;
	width: 5rem;
	padding-right: 0.2rem;
}

.home {
    margin: 0 auto;
    padding-top: 6rem;
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
}

.thumbnail {
    border: 1px solid #ccc;
    flex: 1;
    margin: 10px;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
  }


.logo {
    width: 80px;
    height: 80px;
    margin-right: 20px;
  }

.details {
	flex: 1;
}

.title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 5px;
}
.description {
	font-size: 16px;
	color: #666;
} 


.container {
	position: relative;
	width: 100%;
	height: 100%;
	margin: auto auto;
	overflow-y: auto; 
}

.element {
	position: fixed; 
	border: 0px solid silver; /*192*/
	padding: 4px;
	box-shadow: 0 0 4px 4px rgba(80, 80, 160, 0.2) inset;

}

.relative {
	position: relative !important;
}

.element:hover {
	border: 1px solid silver;
	box-shadow: 5px 3px 3px rgba(127, 127, 127, 0.6);
}

.side {
	position: relative;
	margin: 0;
    padding: 0;
	top: 0;
	width: 50%;
	height: 100%;
	/* overflow-y: auto; */
	&:hover {
		border: 1px solid red;
	}
}

.part {
	position: relative;
	margin: 0;
    padding: 0;
	left: 0;
	width: 100%;
	height: 50%;
	&:hover {
		border: 1px solid rgb(109, 11, 109);
	}
}


.icons {
    width: 1rem;
	aspect-ratio : 1 / 1;
	margin-top: 0.1rem;
	float: right;
}

.icons:hover{
	border: 1px solid lightblue;
}

#title {
    font-size: 700%;
    text-align:center;
    width: 100%;
    font-weight: bold;
    color: #33498A;
}

#miniature {
	height: 100px;
	margin: auto;
}

table {
	position: relative;
	width: 100%;
}

td, th {
	position: relative;
	padding: 5px 10px;
	font-size: medium;
	/*cursor: pointer;*/
}

th {
	border:1px solid #2c577f;
	text-align: center;
	font-weight: normal ;
}

td {
	border:1px solid gray;
}

h1{
	font-size: 32px;
	line-height: 40px;
}
h2{
	font-size: 24px;
	line-height: 32px;
}

strong{
	font-size: 16px;
	line-height: 24px;
	font-weight: bold;
}

hr{
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: 1px solid #888888;
	margin: 10px 0;
}
br{
	clear: both;
}

button{
	color: white;
	padding: 5px 10px;
	background-color: gray;
	border: 1px solid #adadad;
	cursor: pointer;
	display: inline;
	font-size: 1rem;
	font-weight: normal;
}
button.btn{
	color: #FAFAFA;
	border-color: transparent;
}
button.btn-none{
	background-color: #888888;
}
button.btn-danger{
	background-color: #F3192A;
}
button.btn-warning{
	background-color: #FB7C19;
}
button.btn-primary{
	background-color: #1953F3;
}
button.btn-success{
	background-color: #2CA62B;
}
button.btn-help{
	background-color: #671E72;
}
button.btn-info{
	background-color: #17716e;
}

button.rounded{
	background-color: blue;
	color: azure;
	float: left;
	border-radius: 50%;
	height: 32px;
}

button:hover {
	color:white;
	font-weight: bold;
	position: relative;
}
  
button[title]:hover:after {
	/*content: attr(title);*/
	color: red;
}

a{
	font-size: 16px;
	text-decoration: none;
	color: #1953F3;
	cursor: pointer;
}
a.btn{
	padding: 3px 10px;
	border:1px solid transparent;
	color: #FAFAFA;
	display: inline-block;
	border-radius: 10px;
}

.editable {
	font-size: 14px;
	color:  rgb(87, 6, 16);
}

.error {
    color: rgb(209, 12, 12);
	margin: 6rem 15%;
	padding: 1rem;
	background-color:yellow;
	text-align:center;
	font-weight: normal;
}

.error h2 {
    font-size: 2rem;
}

.error h3 {
    font-size: 1.5rem;
}


nav {
    display: inline-block;
	width: auto;
    text-align: left;
}
nav ul {
    list-style-type: none;
}
nav li {
    display: inline-block;
    margin-right: 1rem;
}
nav a {
    font-size: 1em;
    color: #FFFFFF;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover {
    color: #AAFFFF;
    border-bottom: 3px solid #FFFFFF;
	font-weight:bold;
}


.indef{
	padding: 5px 0;
}
.indef label{
	display: block;
	cursor: pointer;
}
.indef input{
	width: 100%;
	border: 1px solid #888888;
	font-size: 16px;
	padding: 5px 10px;
}
.indef select, .indef option{
	width: 100%;
	background-color: #1953F3;
	color: #FAFAFA;
	padding: 5px;
	font-size: 16px;
}

.indef textarea{
	width: 100%;
	border: 1px solid #888888;
	font-size: 16px;
	padding: 5px 10px;
	height: 400px;
	resize: none;
}	

#meCanvas {
	position: relative;
	border: 0px; /* solid #9C9898; */
	display: inline-block;
    image-rendering: optimizeQuality;
	transition: width 1s;
}

#meLogin {
	border-radius: 5px;
	background-color:#FFFFFF ;
	border: 1px solid #9C9898;
	display: inline-block;
	vertical-align: top;
	text-align: justify;
	position:fixed;	/* MER 20160620 */
	top:0;
    right:0;
}
#meForm, #meTable {
	position:relative; 
	width: 100% ;
}
	
#logo {
	position:relative; 
	width: 100% ;
	height: 200px ;
	background-image:url('Images/logo.png');
	
	background-position: center ;
	background-repeat: no-repeat; 
	background-size: contain; 
}

.meSubmit  {
	position:relative; 
	margin-top: 2em;
	margin-bottom:1em;
	background-color: rgb(9, 74, 177);
	color: rgb(255, 255, 255);
	width: 100%;
	height: 3em;
	border: 1px none;
	font-size: 1.2em;
	text-align:center;
	border-radius:5px;
	display: inline-block;
	cursor:pointer;
	text-decoration: none;
}

.meInput  {
	position:relative; 
	width: 97% ;
	height: 2.5em;
	color: rgb(33, 33, 33);
	border: 1px solid rgb(186, 186, 186);
	background-color: rgba(255, 255, 255, 191);
	margin:1%;
	border-radius:5px;
}

.SideHome{
    background-image: url('/Content/Images/Home.jpg');
	margin-left: auto;
	margin-top: -0.5rem;
    border:none;
    height: -webkit-fill-available;
    aspect-ratio : 1 / 1;
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: contain;
}

#SignLogo {
	float: left;
	/*border-image: linear-gradient(to bottom right, blue, silver, purple) 1;*/
}

#SignSide  {
	direction: rtl;
}

.Choice {
	position: fixed;
	border-width: 5px;
	border-style: solid;
	border-image: linear-gradient(to bottom right, #7851a9, silver, #800080) 1;
}

.Clip {
	position: fixed;
	background-color: rgba(128, 0, 128, 0.1);
	border: 1px solid blue;
}

.Clip textarea {
	color: gray;
}


/*
MeR 230924 2041 : 2-level contextual menu for a div 
*/
.context-menu {
	position: absolute;
	top: 0;
	left: 0;
	width: 100px;
	height: auto;
	background-color:rgba(150,150,150,0.5);
	border: 1px solid silver;
	list-style: none;
	padding: 0;
	margin: 0;
	display: none;
	z-index: 99999; /* front top */
  }
  
  .menu-item {
	cursor: pointer;
	height: 25px;
  }
  
  .menu-item:hover {
	background-color: lightblue;
  }
  
  .menu-item .menu-text {
	font-size: 12px;
  }
  
  .sub-menu {
	position: absolute;
	top: 0;
	left: 100px;
	width: 60px;
	border: 1px solid gray;
	list-style: none;
	padding: 0;
	margin: 0;
	display: none;
	background-color: white;
  }

  .sub-menu-font {
	font-size: 0.8rem;
	width: 150px;
	background-color: lightgray;
  }
  
  .sub-menu .menu-item:hover {
	border: 2px solid white;
  }
  
  #picture-input {
    position: absolute;
    width: 1rem;
	aspect-ratio : 1 / 1;
	right:0;
    top:0;
    border: 1px solid orange;
 }


 .action-button {
    text-align: center;
    margin: 1rem auto;
    width: 50%;
	max-width: 15rem;
    height: 4rem;
	padding: auto 2rem;
    font-size: large;
    background-color: rgb(6, 35, 48);
    color: white;
    cursor: pointer;
	float: right;
	&:disabled {
		background-color: rgb(48, 12, 6);
		color: silver;
		cursor: not-allowed;
	}

	&:hover {
		background-color: rgb(11, 39, 168);
	}
}





