/*
 * Copyright (c) 2023, Mohamed eRrais
 * mohamed@errais.net
 * https://errais.net -  https://akademy.ma - https://1ai.ma - https://2us.ma
 * Specific Style 
 */

header {
	height: 3rem;
}

header button {
	color: white;
}

footer {
	height: 1.5rem;
	padding-top: 0.2rem;
}

footer #etat {
	width: 50%;
	float: left;
	font-weight: bold;
	text-align:left;
}

footer #meEtat {
	width: calc(40% - 5rem);
}

section {
	position: relative;
	display: flex;
	top:3rem;
	margin: 0;
	padding: 0;
	max-width: 100%;
	height: calc(100% - 5rem);
}

.error, .about {
	position: relative;
	background-image: url('/Content/Images/landing.jpg');
	background-size: cover; /* contain; */
	background-position: center;
	opacity: 0.7;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-repeat: no-repeat;
	background-color: rgb(242,251,254); 
	align-items:center;
	margin: 0;
	padding: 0;
	max-width: 100%;
	height: 100%;
}

address a {
	color:rgb(32,18,77);
	background-color: rgb(217,210,233);
}

.Profile {
	float: right;
}

#SideTree {
	background-color: transparent;
}

#SideDetail {
	overflow:hidden;
}

.Question, .Lesson, .Level {
	display: flex;
	align-items:center; 
	justify-content:center;
	width: 100%;
	height: 100%;
}

.Question img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto auto;
}

embed {
    width: 100%;
    height: 100%;
    display: block;
    margin: auto auto;
}

.Picture {
	position: relative;
	width: 100%;
	height: 100%;
	margin: auto ;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    resize: both;
}

/* */
.element {
	position: relative !important;
}


#SettingsContainer {
    width: 100%;
	height: 100%;
	display: block;
    overflow-y: auto;
}

#OnConfirm, #OnNext, #OnQuestion {
	position: absolute;
	color: white;
	font-weight: bold;
	/*border-radius: 10%;*/
	height: 4rem;
	
	align-items: center;
	border: solid rgb(57, 72, 91) 5px;
}

#OnQuestion {
	top: 0;
	width: auto;
	background-color: rgba(47, 103, 107, 0.5);
}

#OnConfirm {
	bottom: 3rem;
	width: 10rem;
	background-color: darkblue;

}

#OnNext {
	height: 3rem;
	background-color: rgba(85,107,47,0.5);
	width: 8rem;
	right: 0;
}


.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;
  }


.home {
    margin: 0 auto;
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
}

.thumbnail .logo {
    width: 100px;
    height: 100px;
    margin-top: 20px;
  }

.thumbnail .details {
	flex: 1;
}

.thumbnail .title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 5px;
}

.thumbnail .description {
	font-size: 16px;
	color: #666;
} 

.thumbnail button {
  color: white;
  font-weight: bold;
  padding: 1rem;
}

ul {
    list-style-type: none;
}

/*MeR 240606*/
tr.selected {
    font-weight: bold;
	border: 2px solid purple;
}

.side {
	&:hover {
		border: 1px solid rgb(157, 65, 157);
	}
}

.ActionButton {
	background-color: #007bff; /* Blue button color */
	color: #fff; /* White button text */
	font-weight: normal;
	padding: 0.5rem 1rem;
	margin: 0 0.5rem;
	border: none;
	border-radius: 5px;
	font-size: 1.2rem;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
  
	&:hover {
	  font-weight: bold;
	  background-color: #0069d9; /* Darker blue on hover */
	}
  
  }