@media all {
	@keyframes slide-in-left {
		0% {
			margin-left: 100%;
		}
		100% {
			margin: 5px;
		}
	}
	@keyframes slide-in-right {
		0% {
			margin-right: 100%;
		}
		100% {
			margin: 5px;
		}
	}
	@keyframes slide-in-left-finish {
		0% {
			margin: 5px;
		}
		100% {
			margin-left: -100%;
		}
	}
	@keyframes slide-in-right-finish {
		0% {
			margin: 5px;
		}
		100% {
			margin-right: -100%;
		}
	}
}

@media all and (min-width: 641px) {
	div.smartphone {
		position: absolute;
		left: -1px;
		top: -1px;
		width: 0;
		height: 0;
		z-index: -1;
		overflow: hidden;
	}
}

@media all and (max-width: 640px) {

	.float_left, .float_right {
		float: none;
		display: contents;
		margin-bottom: 20px;
		/*padding: 30px;
		margin: 0 auto;*/
	}
	.flexbox1 {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-content: center;
		justify-content: center;
		align-items: center;
	}

	/* SLIDER START */
	.slider-container {
		background-color: #fff;
		margin: 0 auto;
	}

	.slider {
		display: block;
	}

	.slider div {
		text-align:center;
	}
	.slider img {
		display: inline-block;
		width: 100%;
		/*max-width: 100%;
		/*
		/*width: 100%;
		 /* object-fit: cover; */
		 /* max-height: 640px; */
	}

	.slider-button {
		display: none;
	}
	/* SLIDER END */

	.desktop-band {
		width:auto;
	}

	#mainContainer {
		width:100%;
		margin-top: 50px;
	}

	#contentBox {
		width:100%;
	}
	#content {
		background: white;
		padding: 10px;
		text-align: justify;
	}

	.photo, .micro {
		margin: 10px 0;
		max-width: 90%;
	}

	ul {
		padding-left: 10px;
	}

	ul.divSofts {
		padding: 0;
	}

	.smartphone-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 10;
		text-align: center;
	}

	.smartphone-header-top {
		padding: 5px 10px;
		position: relative;
	}
	.smartphone-content {
		position: relative;
	}
	.smartphone-content-bg {
		position: absolute;
		top: 0;
		left: 5px;
		right: 5px;
		bottom: 5px;
		background: white;
		border-radius: 10px;
		z-index: -1;
		box-shadow:0 0 5px 5px rgba(0, 0, 0, 0.2);
		opacity: 0.7;
	}
	.smartphone-content-title {
		min-height: 50px;
	}
	.smartphone-content-title h1 {
		font-size: 18px;
		text-align: center;
		margin: 0;
		line-height: 20px;
		/*border: 1px solid black;*/
		font-family: "Comic Sans MS", arial;
		padding-top: 3px;
	}

	.smartphone-content-title p {
		font-size: 14px;
		margin: 0;
		padding: 5px 10px 10px 10px;
		text-align: center;
	}

	.smartphone-header-bottom {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-content: center;
		justify-content: space-between;
		align-items: center;
		padding: 3px 10px;
		background: linear-gradient(to bottom, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%);
	}
	.menuflag {
		border-radius: 5px;
		border: 1px solid rgb(173, 174, 206);
	}
	.menuflag a {
		display: inline-block;
		width: 50px;
		height: 30px;
		font-size: 14pt;
	}

	.smartphone-header-bottom .bleu {
		background: rgb(0, 85, 164);
	}
	.smartphone-header-bottom .blanc {
		background: white;
	}
	.smartphone-header-bottom .rouge {
		background: rgb(239, 65, 53);
	}


	.smartphone-header-bottom a {
		color: white;
	}
	/*
	div.smartphone-header #breadcrumb-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		background-color: black;
		padding: 0 10px;
		height: 16px;
		z-index: 10;
	}

	div.smartphone-header #breadcrumb {
		font-size: 12px;
		color: white;
	}
*/
	div.smartphone #open-menu {
		background: none;
		border: none;
		cursor: pointer;
		z-index: 10;
	}

	/*div.smartphone #open-menu img {
		width: 24px;
		height: 24px;
	}*/

	div.smartphone #menu-background {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: #333;
		background-image: linear-gradient(45deg, #333 25%, #444 25%, #444 50%, #333 50%, #333 75%, #444 75%, #444 100%);
		background-size: 28.28px 28.28px;
		z-index: 11;
	}

	div.smartphone #menu-container {
		display: none;
		position: absolute;
		top: 10px;
		left: 0;
		right: 0;
		z-index: 12;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}

	div.smartphone #close-menu {
		position: absolute;
		top: 0;
		right: 10px;
		background: linear-gradient(to bottom, #00ff00, #006600);
		border: 2px solid #fff;
		border-radius: 50%;
		color: white;
		font-size: 24px;
		cursor: pointer;
		z-index: 10;
		width: 36px;
		height: 36px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	div.smartphone .tab {
		display: none;
		position: relative;
		width: 200px;
		padding: 10px;
		margin: 5px;
		background-color: white;
		border: 3px solid black;
		box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
		border-radius: 10px;
		opacity: 0;
		text-decoration: none;
		color: black;
		font-family: 'Comic Sans MS', sans-serif;
		font-size: 16px;
		animation: slide-in 0.2s linear forwards;
	}

	div.smartphone .tab.active {
		background-color: wheat;
	}

	div.smartphone .tab:nth-child(odd) {
		margin-left: 100%;
	}

	div.smartphonex .tab:nth-child(even) {
		margin-right: 100%;
	}

	div.smartphone .show .tab {
		display: block;
		opacity: 1;
	}

	div.smartphone #mainContainer {
		position: relative;
		width: 100%;
		padding-top: 20px;
		background-color: white;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		margin-top: 56px; /* Adjusted to avoid being overlapped by header and breadcrumb */
	}

	div.smartphone .show .tab:nth-child(odd) {
		animation: slide-in-left 0.2s linear forwards;
	}

	div.smartphone .show .tab:nth-child(even) {
		animation: slide-in-right 0.2s linear forwards;
	}


	 div.smartphone #content {
		margin-top: 20px;
		margin-left: 10px;
		margin-right: 10px;
		/*padding: 10px;
		text-align: justify;*/
	}

	/* Animation de fin */
	div.smartphone .finish .tab:nth-child(odd) {
		animation: slide-in-left-finish 0.2s linear forwards;
	}

	div.smartphone .finish .tab:nth-child(even) {
		animation: slide-in-right-finish 0.2s linear forwards;
	}

	div.smartphone #content img {
		display: inline-block;
		max-width: 100%;
		border: 1px solid red;
	}
	div.smartphone ul {
		padding-left:0px;
	}
	div.smartphone li {
		max-width: 100%;
		display: inline-block;
		background: red;
	}

  #bottom {
    position: relative;
    margin: 10px 0 0;
    background-image: none;
  }

  .bottomBackground {
    position: absolute;
    background: white;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(150,150,150,1) 55%,rgba(255,255,255,1) 100%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.7;
    width: 100%;
  }

  .bottomlinksleft > a {
		padding: 6px 10px 3px;
		margin: 5px;
		background: white;
    border-radius: 10px;
    border: 1px solid #aaa;
		box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
	}

	.bottomlinksleft {
	  display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
		position: relative;
		z-index: +1;
	}

}
