@media (max-width: 1240px) {
	.flex-compte {
		flex-direction: column;
	}

	.flex-compte .aside-1 {
		flex: 0 0 100%;
		max-width: 100%;
		padding-right: 0;
	}

	.flex-compte .aside-2 {
		display: flex;
		flex-direction: row;
		flex: 0 0 32%;
		margin-top: 15px;
		flex-direction: row;
		column-gap: 2%;
	}

	.flex-compte .aside-2 > * {
		flex: 0 0 32%;
	}

	#menu-edition.show {
		top: 6rem;
		width: 100%;
	}
}

@media (max-width: 700px) {
	#content-wrapper {
		padding-top: 6rem;
	}

	header .header-left {
		flex-basis: 100%;
		border-bottom: 1px solid rgba(255,255,255,0.06);
		height: 6rem;
	}

	#menu-edition .box-btn {
		max-height: calc(100% - 7rem);
	}

	#account.show {
		top: 10rem;
	}

	.edition {
		font-size: 1.2em;
	}

	#edition .text-edition {
		padding: 2rem;
	}

	.modal.cookies {
		top: calc(100% - 130px) !important
	}

	.btn-messagerie {
		display: grid;
	}

	.btn-send {
		-webkit-box-orient: vertical !important;
		-ms-flex-direction: column !important;
		flex-direction: column !important;
	}

	.btn-editor {
		margin-top: 15px;
		text-align: center;
	}

	.btn-editor-texte {
		display: block;
	}

	.btn-editor button {
		width: 100%;
		margin-left: 0px;
	}

	.btn-editor-icone {
		display: none;
	}

	.topic-header {
		font-size: 0.8rem;
	}

	.topic-header h2 {
		font-size: 1rem;
	}

	.topic-messages * {
		font-size: 0.8rem;
	}

	.topic-messages .card {
		margin-bottom: 10px;
	}

	.topicMessage-image {
		width: 30px
	}

	.editorChat .ql-editor {
		max-height: 60px;
		min-height: 30px;
	}

	.ql-snow.ql-toolbar button, .ql-snow .ql-toolbar button {
		height: 20px !important;
	}

	.ql-file {
		display: none !important;
	}

	.box-visio .visio {
		max-height: 290px;
		min-height: 290px;
	}

	.pict-info {
		flex-direction: column;
	}

	.pict-info>div, .infos>div {
		justify-content: center;
	}

	.infos {
		height: auto;
		display: flex!important;
		border-bottom: 1px solid #272b2f;
	}

	.link:last-child {
		border-right: 1px solid #272b2f;
	}

	#moncompte.mission {
		position: fixed
	}

	#moncompte.housing {
		padding: 1rem;
	}

	.box-titre h1 {
		font-size: 1.4rem;
		margin-bottom: 0.75rem;
	}

	.box-titre h2 {
		font-size: 1.2rem;
		white-space: unset;
	}

	.card .card-body {
		padding: 1.5rem;
	}

	.card .card-body h3.info {
		font-size: 1.2rem;
	}

	h1, .h1 {
		font-size: 2rem;
	}

	.flex-compte .aside-1 .boxes {
		flex-direction: column;
		row-gap: 1rem;
	}

	.card .card-body p.info {
		min-height: 0;
	}

	.flex-compte .aside-2 {
		flex: 1;
		margin-top: 1rem;
		flex-direction: column;
	}

	.toggler-list {
		display: block;
	}

	.logo {
		margin-left: 10px;
		width: 100px;
		background: url(../img/logo2_bis.png) no-repeat;
		background-size: contain;
		background-position: 50%;
		text-align: center;
	}
}

@media (max-width: 500px) {
	#edition {
		flex-direction: column;
	}
	#edition .img-edition {
		max-height: 30vh;
	}
	.btn-head {
		font-size: 1.4rem;
		width: 50px;
	}
	.edition {
		width: 14vw;
		min-width: 110px;
		padding-left: 1rem;
	}
	.edition .arrow {
		width: 2rem;
		font-size: 10px;
	}
	.housing {
	padding: 1rem;
	}
	.housing .no-padding {
	margin: -1rem !important;
	}
	.box-visio .visio {
	max-height: 230px;
	min-height: 230px;
	}
	.link {
	padding: 0.9rem 1rem;
	font-size: 0.7rem;
	}
	.box-titre {
	padding: 1rem;
	flex-direction: column;
	}
	.box-titre .notes {
	margin-left: 0;
	margin-top: 1rem;
	display: flex;
		align-items: center;
	}
	.stars {
	text-align: right;
	}
	.btns-onglets {
	overflow: hidden;
	overflow-x: auto;
	}
	.btn-onglet {
	padding: 0.9rem 0.75rem;
	font-size: 0.9rem;
	border-right: 1px solid #12171b;
	}
	.onglets-right .btn-onglet:first-child {
	border-left: 1px solid #12171b;
	}
	.info-film .btn-pict:first-child {
	border-left: 1px solid #272b2f;
	}
	.box-titre.personne {
	flex-direction: row;
	}
	.box-titre .portrait {
	flex: 0 80px;
	}
	.box-titre .portrait img {
	width: 80px;
	}
	.box-titre.personne .box-infos-pers {
	flex-direction: column;
	}
	.box-titre.personne .box-infos-pers {
	flex: 0 calc(100% - 80px);
	}
	.box-titre.personne .box-infos-pers .infos-structure {
	margin-top: 1.5rem;
	}
	.vignette {
	grid-template-columns: 100px calc(100% - 100px - 30px) 30px;
	}
	.vignette .text {
	padding: 1rem;
	}
	.result {
	font-size: 1.2rem;
	}
	.head .paginator {
	font-size: 1.2rem;
	}
	.vignette .text h1 {
	font-size: 1.2em;
	margin-bottom: 0.3rem;
	}
	.vignette .text .info, .box-titre .info {
	margin: 0.3rem 0;
	font-size: 1rem;
	}
	.extra {
	padding: 0.4rem 0.3rem 0.4rem 0;
	}
	.card .card-body.steps {
	padding: 1rem;
	}
	.nav-link {
	padding: 0.5rem 0.75rem;
	font-size: 1.1rem;
	}
	.steps ul.nav {
	margin-bottom: 1rem;
		}
		.steps ul.nav li {
	padding: 0 0.5rem 2rem;
	}
	.menu > li.menu-item {
	padding: 1rem 1.2rem;
	font-size: 1.2rem;
	}
	#panel-menu .stitle {
	font-size: 1.2em;
	padding: 1rem 1.2rem;
	}
	#panel-menu .title {
	font-size: 1.2em;
	padding: 1rem 1.2rem;
	}
	h4, .h4 {
	font-size: 13px;
	}
}

@media (max-width: 400px) {
	.box-visio .visio {
		max-height: 200px;
		min-height: 200px;
	}
		.box-titre h1 {
		font-size: 1.2rem;
		margin-bottom: 0.5rem;
	}
	.btn-onglet {
		padding: 0.75rem 0.5rem;
		font-size: 0.8rem;
	}
	.edition {
		width: 12vw;
		min-width: 110px;
		font-size: 1rem;
		padding-left: 0.5rem;
	}
	.link {
		padding: 0.9rem 0.5rem;
	}
}


.mobile #panel-menu {
	position: absolute;
	z-index: 1;
	width: 100vw;
	height: calc(100% - 6rem /* header */);
	max-height: calc(100% - 6rem);
	top: 6rem;
	transition-property: left;
	transition-duration: 0.2s;
	transition-timing-function: ease-in-out;
}

.mobile #panel-menu.show ~ #main-content {
	width: 0px;
}

.mobile .main-content-panel {
	width: 100%
}

.mobile #droite.main-content-panel.show {
	display: none !important;
}

.mobile #droite.main-content-panel.show-md {
	display: block !important;
	width: 100%;
}

.mobile header .header-right {
	height: 4rem;
	margin: 0 auto;
}

.mobile header .header-left {
	flex-basis: 100%;
}

.mobile #menu-edition {
	height: 100%;
}