@import url(https://fonts.googleapis.com/css?family=Open+Sans|Montserrat|Galindo|Satisfy|Oswald);

/** RESET **/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
div.clear {
  clear: both;
}
div.center,
.tac {
  text-align: center;
}
div.right {
  text-align: right;
}

/** STYLES **/
* {
  box-sizing: border-box;
  font-family: "Open Sans", "sans-serif";
}
select,
option {
  font-family: "Open Sans", "sans-serif";
  color: #444;
  line-height: 1.5em;
}
a {
  color: #fd4d16;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
p {
  margin: 0.5em 0 1em;
  text-align: justify;
}
img {
  display: block;
  border: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
.nostyle {
  padding: 0;
  line-height: 1;
  padding: 0;
}
.hide {
  display: none !important;
}

body {
  background-color: #fff;
  font-size: 16px;
  font-family: "Open Sans", "sans-serif";
  color: #444;
  line-height: 1.5em;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

label {
  display: block;
  font-weight: bold;
  font-size: 0.8em;
  margin-bottom: 5px;
}
label.checkbox,
label.radio {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.9em;
  font-weight: normal;
}
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  background-color: #fff;
  border: 2px solid #e6e6e6;
  padding: 5px 5px;
  color: #444;
  border-radius: 2px;
  margin-bottom: 10px;
  width: 100%;
  font-size: 1em;
  resize: none;
  font-family: "Open Sans", "sans-serif";
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  border: 2px solid #cdcdcd;
}
textarea {
  height: 150px;
}

b,
strong {
  font-weight: bold;
}
i {
  font-style: italic;
}
.df {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fdc {
  flex-direction: column;
}
.jcsb {
  justify-content: space-between;
}
.df.g1 {
  gap: 1rem;
}
.df.g2 {
  gap: 2rem;
}
.aifs {
  align-items: flex-start;
}
.aic {
  align-items: center;
}
.jcfs {
  justify-content: flex-start;
}
.jcc {
  justify-content: center;
}
.pr {
  position: relative;
}

.mt-small {
  margin-top: 0.5rem;
}
.mt-medium {
  margin-top: 1rem;
}
.mt-large {
  margin-top: 2rem;
}

.fs-small {
  font-size: 0.8rem;
}
.fs-normal {
  font-size: 1rem;
}

.fs0-8 {
  font-size: 0.8em;
}
.fs0-85 {
  font-size: 0.85em;
}
.fs0-9 {
  font-size: 0.9em;
}
.fs0-95 {
  font-size: 0.95em;
}
.fs1-1 {
  font-size: 1.1em;
}
.fs1-5 {
  font-size: 1.5em;
}
.fs2 {
  font-size: 2em;
}
.fs3 {
  font-size: 3em;
}
.fs5 {
  font-size: 5em;
}
.p0-5 {
  padding: 0.5em;
}
.width10 {
  width: 10% !important;
}
.width20 {
  width: 20% !important;
}
.width30 {
  width: 30% !important;
}
.width40 {
  width: 40% !important;
}
.width50 {
  width: 50% !important;
}
.width60 {
  width: 60% !important;
}
.width70 {
  width: 70% !important;
}
.width80 {
  width: 80% !important;
}
.width90 {
  width: 90% !important;
}
.width100 {
  width: 100% !important;
}
.wa {
  width: auto;
}
.mw400 {
  max-width: 400px;
}
.m0a {
  margin: 0 auto;
}
.ml-small {
  margin-left: 0.5rem;
}

.lh2 {
  line-height: 2em;
}

.dib {
  display: inline-block;
}
.tac {
  text-align: center;
}
.tar {
  text-align: right;
}
.vat {
  vertical-align: top;
}

a.red_icon:hover {
  color: #a8220c;
}

body.pageload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}
body.activeLoader {
  overflow: hidden;
}
.transition {
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#background_loader {
  display: none;
  background: #0f0f11;
  opacity: 0.87;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 500;
}
#background_loader #loader {
  border: 6px solid rgba(100, 100, 100, 0.4);
  border-top: 6px solid rgba(255, 255, 255, 0.6);
  border-radius: 100%;
  height: 50px;
  width: 50px;
  -webkit-animation: fancybox-rotate 0.8s infinite linear;
  animation: fancybox-rotate 0.8s infinite linear;
  background: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
  z-index: 99999;
}
.custom_loader {
  display: inline-block;
  border: 6px solid rgba(100, 100, 100, 0.4);
  border-top: 6px solid rgba(255, 255, 255, 0.6);
  border-radius: 100%;
  height: 50px;
  width: 50px;
  -webkit-animation: fancybox-rotate 0.8s infinite linear;
  animation: fancybox-rotate 0.8s infinite linear;
  background: transparent;
}
@-webkit-keyframes fancybox-rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes fancybox-rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.main_color {
  color: #599cc2;
}
.validation_color {
  color: green;
}

.content_border {
  border-bottom: 1px solid #dee2e9;
  margin: 10px 0;
}
.custom_btn {
  display: inline-block;
  background-color: #5eb6dd;
  color: #fafafa;
  border-radius: 3px;
  padding: 5px 10px;
  outline: none;
  cursor: pointer;
  border: none;
}
.custom_btn:focus {
  background-color: #4b5f83;
}
/*.custom_btn.custom_btn_supprimer {background-color:#bb260d;text-decoration:none;}
.custom_btn.custom_btn_supprimer:hover {background-color:#ad2913;}*/
.custom_btn_border {
  display: inline-block;
  border: 1px solid #508cae;
  padding: 1px;
  outline: none;
  cursor: pointer;
  font-size: 1em;
}
.custom_btn_border > a,
.custom_btn_border > span {
  display: block;
  color: #fafafa;
  padding: 10px 15px;
  background-color: #599cc2;
  text-decoration: none;
  position: relative;
  z-index: 1;
  font-size: 0.85em;
  text-transform: uppercase;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.custom_btn_border:hover > span,
.custom_btn_border:hover > a {
  background-color: #508cae;
}

.custom_btn_border.rouge {
  border-color: #bb260d;
}
.custom_btn_border.rouge:focus,
.custom_btn_border.rouge:hover {
  border-color: #a8220c;
}
.custom_btn_border.rouge > a,
.custom_btn_border.rouge > span {
  background-color: #bb260d;
}
.custom_btn_border.rouge:hover > a,
.custom_btn_border.rouge:hover > span {
  background-color: #a8220c;
}

/*
.custom_btn_border a:hover:after, .custom_btn_border span:hover:after {
	width: 100%;
}*/

.custom_fieldset {
  display: inline-block;
  max-width: 96%;
  padding: 30px 30px 15px;
  background-color: #f1f1f1;
  /*-moz-box-shadow: 0px 0px 3px 0px #656565;
    -webkit-box-shadow: 0px 0px 3px 0px #656565;
    -o-box-shadow: 0px 0px 3px 0px #656565;
    box-shadow: 0px 0px 3px 0px #656565;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=3);*/
  position: relative;
  margin-top: 30px;

  border: 1px solid #bfbfbf;
  background: white;
  border-radius: 5px;
}

.custom_fieldset .fieldset_title {
  position: absolute;
  background: white;
  padding: 5px 10px;
  border: 1px solid #ddd;
  left: 5px;
  top: -5px;
  font-weight: bold;
  font-size: 0.8em;
}

.custom_field {
  position: relative;
  margin: 1rem 0;
  display: flex;
}
.custom_field input[type="text"],
.custom_field input[type="email"],
.custom_field input[type="password"],
.custom_field textarea,
.custom_field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 0.5rem;
  border: 1px solid #ccc;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 0;
  height: 40px;
  margin: 0;
}
.custom_field textarea,
.custom_field select {
  height: auto;
}
.custom_field input:focus {
  border-color: transparent;
  border-bottom-color: #666;
}
.custom_field textarea:focus {
  border-color: #666;
}
.custom_field label {
  position: absolute;
  top: 0;
  left: 0.5rem;
  display: inline-block;
  font-size: 15px;
  height: 40px;
  line-height: 40px;
  color: #aaa;
  font-weight: normal;
  cursor: text;
}
.custom_field input:focus + label,
.custom_field input:not([value=""]) + label,
.custom_field textarea:focus + label,
.custom_field textarea:not(:placeholder-shown) + label,
.custom_field select + label {
  top: -15px;
  font-size: 0.7rem;
  left: 5px;
  color: #999;
  background: white;
  padding: 0.5rem;
  height: 20px;
  line-height: 1;
}
.custom_field input[type="checkbox"],
.custom_field input[type="radio"] {
  margin-right: 1rem;
}
.custom_field input[type="checkbox"] + label,
.custom_field input[type="radio"] + label {
  position: relative;
  text-align: left;
  flex: 1;
  top: inherit;
  left: inherit;
  height: auto;
  font-size: 0.85rem;
  line-height: 1rem;
  padding: 0;
  cursor: pointer;
}

.fancybox-slide > * {
  padding: 0;
}
.fancybox-slide--html .fancybox-close-small {
  right: 5px;
  top: 5px;
  background: white;
  border-radius: 100%;
  width: 35px;
  height: 35px;
  padding: 5px;
  color: #666;
}

.custom_popup {
  width: 94%;
  max-width: 650px;
  display: none;
}
.flex_popup {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}
.flex_popup .visual {
  background-color: #5eb6dd;
  padding: 2rem;
  border-right: 3px solid #599cc2;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.flex_popup .visual.nocolor {
  border: none;
  background-color: transparent;
}
.flex_popup .visual img {
  width: 100%;
}
.flex_popup .visual .title_popup {
  font-size: 2rem;
  line-height: 2.5rem;
  color: white;
  font-family: "Satisfy", sans-serif;
  margin-bottom: 1.5rem;
  text-align: center;
}
.flex_popup .form {
  width: 100%;
  align-self: center;
  flex: 1;
}
.flex_popup form,
.flex_popup .content_popup {
  padding: 2rem;
}
.flex_popup.small-visual .visual {
  width: 30%;
}
.flex_popup.small-visual .form {
  width: 70%;
}
.flex_popup .popup_title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #484848;
  font-family: "Oswald", "Montserrat", sans-serif;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.colonnes2 .col {
  float: left;
  width: 50%;
}
.colonnes2 .col:nth-child(1) {
  padding-right: 0.5%;
}
.colonnes2 .col:nth-child(2) {
  padding-left: 0.5%;
}
.colonnes2::after {
  content: "";
  display: block;
  clear: both;
}

.usertag {
  color: #adadad;
  font-size: 0.85em;
}
#page_content {
  flex: 1;
}

header {
  background-color: #5eb6dd;
  border-bottom: 3px solid #599cc2;
  text-align: center;
}
header #logo {
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  margin: 1em 0;
}
header #logo #logo_border {
  width: 100%;
  width: 280px;
  border: 3px double #dedede;
  position: relative;
  padding: 15px 15px 10px;
  text-align: center;
  transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}
header #logo #logo_intro,
header #logo #logo_outro {
  position: absolute;
  top: -9px;
  right: 0;
  left: 0;
  text-align: center;
  font-family: "Satisfy", sans-serif;
  color: #fafafa;
  font-size: 1.3em;
}
header #logo #logo_intro span,
header #logo #logo_outro span {
  display: inline-block;
  padding: 0px 10px;
  background: #5eb6dd;
}
header #logo #logo_outro {
  left: inherit;
  right: 10px;
  bottom: -9px;
  top: inherit;
}
header #logo #logo_lettres {
  font-family: "Galindo", sans-serif;
  font-size: 1.4em;
}
header #logo #logo_lettres span {
  color: #fafafa;
  display: inline-block;
}
header #logo #logo_border:hover {
  border-color: white;
}

header #header_menu {
  max-width: 1200px;
  width: 96%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header #menubar {
  text-align: right;
}
header #menubar ul {
  position: relative;
  background: none;
  left: 0;
  top: 0;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}
header #menubar ul li {
  display: inline-block;
}
header #menubar ul li a {
  color: #fafafa;
  display: block;
  padding: 10px 15px;
  text-transform: uppercase;
  position: relative;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  text-align: center;
}
header #menubar ul li a:focus {
  outline: none;
}
header #menubar ul li a.connection {
  background-color: #599cc2;
  border-radius: 5px;
  position: relative;
}
header #menubar ul li a.connection .border-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: #94cde7;
}
header #menubar ul li a.connection .border-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 100%;
  height: 1px;
  background: #94cde7;
}
header #menubar ul li a.connection .border-left {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 100%;
  width: 1px;
  background: #94cde7;
}
header #menubar ul li a.connection .border-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 100%;
  width: 1px;
  background: #94cde7;
}
header #menubar ul li a.connection:hover .border-top {
  right: 0;
}
header #menubar ul li a.connection:hover .border-bottom {
  left: 0;
}
header #menubar ul li a.connection:hover .border-left {
  top: 0;
}
header #menubar ul li a.connection:hover .border-right {
  bottom: 0;
}
header #menubar ul li a:not(.connection):after {
  display: block;
  content: "";
  position: absolute;
  left: 10px;
  bottom: 5px;
  right: 10px;
  background-color: transparent;
  height: 2px;
  margin: auto;
  transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}
header #menubar ul li a.current:not(.connection):after {
  background-color: #94cde7;
}
header #menubar ul li a label {
  cursor: pointer;
}

/*
header #menubar ul {position:absolute;top:0;background-color:#5EB6DD;left:-270px;top:3.1em;-o-transition: all 0.5s ease;-ms-transition: all 0.5s ease;-moz-transition: all 0.5s ease;-webkit-transition: all 0.5s ease;transition: all 0.5s ease;border-radius: 5px;overflow: hidden;z-index: 5;}
header #menubar input[type=checkbox]:checked ~ ul {left: 0;}
header #menubar ul li {display:block;}
header #menubar ul li a{color: #FAFAFA;display: block;padding: 10px 15px;text-transform: uppercase;position: relative;text-decoration: none;font-family:'Montserrat', sans-serif;cursor: pointer;}
header #menubar ul li a.current{background-color:#85c7e5;}
header #menubar ul li a.connection{background-color:#599cc2;border-radius: 5px;}
header #menubar ul li a.connection:hover{background-color:#599cc2;}
header #menubar label[for="hmbrg_menu"] {color:white;font-size:2.2em;cursor:pointer;display:inline-block;}*/

/*
header #menu_connexion {background-color:#599cc2;text-align: right;color:white;}
header #menu_connexion a {color:white;}
header #menu_connexion .content{max-width: 1200px;width: 96%;margin:0 auto;position:relative;}
header #menu_connexion .content #profile_btn{position:absolute;top:-40px;right:0;background-color:#599cc2;cursor:pointer;color:white;padding:10px;display:inline-block;font-size:1.5em;border-radius:5px 5px 0 0;}
header #menu_connexion .content #profile_btn:hover{color:#427a9b;}
header #menu_connexion #bloc_connexion {text-align: right;overflow:hidden;max-height:0;}
header #menu_connexion.active #bloc_connexion{max-height:180px;}
header #menu_connexion .menu_logged {padding:0.5em 0;}
*/

/*@media only screen
and (min-width : 1024px) {*/
/*header #header_menu {max-width:1200px;width:96%;margin:0 auto;display:flex;align-items: center;}
  header #menubar{text-align: right;}
  header #menubar ul {position:relative;background:none;left:0;top:0;-webkit-transition: none !important;-moz-transition: none !important;-ms-transition: none !important;-o-transition: none !important;}
  header #menubar ul li {display:inline-block;}
  header #menubar ul li a:after {display:block;content:"";position: absolute;left: 10px;bottom: 0px;right: 10px;background-color:transparent;height: 2px;margin: auto;transition: all 0.5s ease;-o-transition: all 0.5s ease;-ms-transition: all 0.5s ease;-moz-transition: all 0.5s ease;-webkit-transition: all 0.5s ease;}
  header #menubar ul li a.current{background-color:transparent;}
  header #menubar ul li a.current:not(.connection):after {background-color: #94CDE7;}
  header #menubar label[for="hmbrg_menu"] {display:none;}

  header #menu_connexion .content #profile_btn{bottom:-45px;top:auto;border-radius:0 0 5px 5px;}*/

/*}*/

.middle_block {
  padding: 30px 0;
}
.middle_block.gray {
  background-color: #f7f7f7;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}
.middle_block .content {
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
}
.custom_popup .middle_block {
  background-color: #fff;
  padding: 0;
}
#footer {
  padding: 20px 0;
  background-color: #4a4a4a;
  color: white;
  text-align: center;
}
#footer .content {
  width: 96%;
  max-width: 1024px;
  margin: 0 auto;
  font-size: 0.85em;
}
#footer a {
  color: white;
}
.titre_page {
  color: #484848;
  font-family: "Oswald", "Montserrat", sans-serif;
  font-size: 1.4em;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 20px;
  padding: 15px 5px;
  text-transform: uppercase;
  padding-top: 0;
}
.sous_titre_page {
  color: #484848;
  font-size: 1.2em;
  margin-bottom: 20px;
  padding: 15px 5px;
  text-transform: uppercase;
  padding-top: 0;
}

.message_info {
  margin-bottom: 10px;
  display: block;
  font-size: 0.8em;
  border-radius: 3px;
  text-align: center;
  padding: 5px;
}
.message_info.message_error {
  background-color: #f2dedc;
  border: 1px solid #ebcccf;
  color: #bb260d;
}
.message_info.message_ok {
  background-color: #dff0d4;
  border: 1px solid #d6e9c4;
  color: #188d3e;
}
.message_info.message {
  background-color: #d1e4f1;
  border: 1px solid #c4dced;
  color: #31708c;
}

.liste_items.mode_liste .item_miniature {
  height: auto;
  margin: 0.1em 0;
  border-top: none;
  display: inline-block;
  width: 49%;
}
.liste_items.mode_liste .item_miniature:hover {
  border-color: #dee2e9;
  background-color: #dee2e9;
}
.liste_items.mode_liste .item_miniature:nth-child(1),
.liste_items.mode_liste .item_miniature:nth-child(2) {
  border-top: 1px solid #dee2e9;
}
.liste_items.mode_liste .item_miniature .image {
  display: none;
}
.liste_items.mode_liste .item_miniature .image img {
  position: relative;
  float: left;
  width: 60px;
  margin-right: 10px;
}
.liste_items.mode_liste .item_miniature .titre .nom {
  border-bottom: none;
}

.item_miniature.transition a.blocked:before {
  position: absolute;
  content: attr(data-textblocked);
  background: #000000a6;
  z-index: 9999;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  color: #e1e1e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 2rem;
  text-shadow: 1px 1px 5px black;
}

.liste_items {
  margin-top: 1.5rem;
  text-align: center;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.liste_items .item_miniature a {
  color: inherit;
  text-decoration: none;
}
.liste_items .item_miniature {
  border: 1px solid #e3e3e3;
  width: 220px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow;
  transition-property: box-shadow;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}
.liste_items .item_miniature:hover {
  border-color: #ddd;
  box-shadow: 0 0 5px rgba(150, 150, 150, 0.5);
}
.liste_items .item_miniature .image {
  display: block;
  overflow: hidden;
  text-align: center;
  background-color: #c1c1c1;
  height: 170px;
  position: relative;
}
.liste_items .item_miniature .image img {
  display: inline-block;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
  position: absolute;
  min-height: 100%;
  min-width: 100%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}
/*.liste_items .item_miniature:hover .image img{transform: scale(1.05) translateX(-50%) translateY(-50%);}*/
/*.liste_items .item_miniature:hover .image img{transform: scale(1.1);}*/
.liste_items .item_miniature .titre {
  background-color: #fefefe;
  text-align: center;
  padding: 0.4rem 0.5rem;
}
.liste_items .item_miniature .titre .nom {
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: bold;
  text-overflow: ellipsis;
  max-width: 100%;
  overflow: hidden;
}
.liste_items .item_miniature .titre .owner {
  margin-top: 0.4rem;
  font-size: 0.6rem;
  text-align: right;
  font-style: italic;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.liste_items .item_miniature .titre .owner .name {
  white-space: nowrap;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.liste_items .item_miniature.add_item {
  background-color: #ccc;
  color: #6e6e6e;
  padding-top: 20%;
  position: relative;
  width: 170px;
  min-height: 235px;
}
.liste_items .item_miniature.add_item .content_middle {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: auto;
  transform: translateY(-50%);
}
.liste_items .item_miniature .categorie {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1;
  background: #5eb6dd;
  padding: 0rem 0.5rem 0.1rem;
  border-radius: 5px;
  color: white;
  font-size: 0.7rem;
  box-shadow: 0px 0px 3px 2px #6f6f6f82;
  pointer-events: none;
}

#fil_ariane {
  margin-bottom: 15px;
  font-size: 0.85em;
}
#item_page_photos {
  text-align: center;
}
#item_page_photos #large_photo {
  display: inline-block;
  vertical-align: middle;
  max-width: 49%;
  margin-right: 1em;
}
#item_page_photos #min_photos {
  display: inline-block;
  vertical-align: middle;
  max-width: 20%;
}
#item_page_photos a {
  margin: 2em;
}
#item_page_photos a img {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(54, 54, 54, 1);
  -moz-box-shadow: 0px 0px 5px 0px rgba(54, 54, 54, 1);
  box-shadow: 0px 0px 5px 0px rgba(54, 54, 54, 1);
}

#item_page_description .description {
  text-align: justify;
}
#edit_objet_images .image {
  display: inline-block;
  border: 1px solid #bfbfbf;
  padding: 1em;
  margin: 1em;
}
#edit_objet_images a.btn_delete {
  color: white;
  background-color: #bb260d;
  display: inline-block;
  border-radius: 5px;
  padding: 0.3em 0.5em;
  font-size: 1.2em;
}
#edit_objet_images a.btn_add {
  color: #599cc2;
  font-size: 3em;
}
#edit_objet_custom_fields {
  background-color: #f1f1f1;
  padding: 1em;
}
#edit_objet_custom_fields .custom_field {
  display: flex;
}
#edit_objet_custom_fields .custom_field > * {
  flex: 1;
}
#edit_objet_custom_fields .custom_field > .intitule {
  width: 100%;
  max-width: 100px;
}

.block_gris_admin {
  background: #f8f9fa;
  padding: 10px;
  border: 1px solid #ebebeb;
  display: inline-block;
  vertical-align: top;
  position: relative;
}
.admin_gauche {
  width: 55%;
  margin-right: 5%;
}
.admin_gauche #collection_photo {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 2px solid #dedede;
  overflow: hidden;
}
.admin_droite {
  width: 40%;
}
#popup_inscription {
  max-width: 96%;
  width: 400px;
}
/*#popup_ajout_objet, #popup_ajout_collection {max-width:96%;width:600px; }*/
#ajouter_objet,
#ajouter_colection {
  width: 100%;
}
.custom_field_chip {
  font-size: 0.9rem;
  padding-right: 0.4rem;
  border: 1px solid #dedede;
  display: inline-block;
  border-radius: 5px;
  background: white;
}
.custom_field_chip .content_chip {
  display: inline-block;
  padding: 0.2rem 0.4rem;
}

i.indication {
  font-size: 0.85em;
  color: #666;
}

form#form_inscription,
form#form_oubli_mdp {
  width: 96%; /*max-width: 400px;*/
  margin: 0 auto;
  text-align: center;
}
/*form#form_monCompte, form#form_contact, form#form_inscription {width:96%;max-width: 400px;margin: 0 auto;}*/
form#form_monCompte {
  max-width: 500px;
  margin: 0 auto;
}

form#form_monCompte_avatar #avatar {
  position: relative;
  width: 200px;
  height: 200px;
  margin: auto;
  border-radius: 200px;
  overflow: hidden;
}

form#form_monCompte_avatar input[type="file"] {
  display: none;
}
form#form_monCompte_avatar #avatar .placeholder {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

form#form_monCompte_avatar #avatar:hover .placeholder {
  opacity: 1;
}

.boite_a_idees .idee {
  border: 1px solid #ccc;
  background-color: white;
  display: inline-block;
  border-radius: 5px;
  margin-bottom: 5px;
  padding: 5px 10px;
}

#etapes_home {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
#etapes_home .etape {
  background-color: #5eb6dd;
  color: white;
  border: 1px solid #599cc2;
  padding: 0.5em;
  text-align: center;
  width: 200px;
  max-width: 30%;
  margin: 0 1em;
  font-size: 1.15em;
  line-height: 1.3;
}
#etapes_home .etape .picto {
  font-size: 2em;
  margin-bottom: 0.15em;
}

#derniers_inscrits {
  display: flex;
  flex-wrap: wrap;
}
#derniers_inscrits > div {
  width: 33%;
}

#recherche_collection #input_recherche {
  max-width: 500px;
}

#infos_profil {
  display: flex;
  align-items: center;
}
#infos_profil .abonnement {
  flex-grow: 1;
  text-align: right;
}

.apercuImg img {
  display: inline-block;
  vertical-align: top;
  max-width: 190px;
  max-height: 170px;
  margin: 1em 0;
  border: 2px dashed #a0a0a0;
  padding: 3px;
}

#liste_tri {
  font-size: 0.8rem;
}
#block_suppression_compte {
  background-color: #f2dedc;
  border: 1px solid #ebcccf;
  padding: 1rem;
  margin-top: 2rem;
}

#dashboard {
  display: flex;
  align-content: center;
  justify-content: center;
}
#dashboard .list_dashboard {
  width: 250px;
  margin: 0 1rem;
  text-align: center;
  color: white;
  background-color: #5eb6dd;
  padding: 1rem 0;
  border-radius: 5px;
  border: 1px solid #599cc2;
  text-decoration: none;
}
#dashboard .list_dashboard:hover {
  background-color: #599cc2;
}
#dashboard .list_dashboard .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tooltip_link {
  color: #599cc2;
  border: 1px solid #599cc2;
  display: inline-block;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 0.4rem;
  cursor: help;
  z-index: 3;
}
.block_gris_admin .tooltip_link {
  position: absolute;
  top: 5px;
  right: 5px;
}
.tooltip_link:hover ~ .tooltip_content {
  display: block;
}
.tooltip_content {
  position: absolute;
  display: none;
  top: 2.5rem;
  z-index: 2;
  background: #fff;
  border: 1px solid #bbb;
  font-size: 0.8rem;
  left: 0;
  right: 0;
  border-radius: 5px;
  padding: 0.3rem;
  width: 95%;
  margin: auto;
}

#liste_commentaires > .commentaire {
  margin-top: 1.5rem;
}
#liste_commentaires > .commentaire:nth-child(1) {
  margin-top: 0;
}
#liste_commentaires .commentaire .header_comment {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
#liste_commentaires .commentaire .header_comment .pseudo {
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background-color: #5eb6dd;
  color: white;
  text-decoration: none;
}
#liste_commentaires .commentaire .header_comment a.pseudo:hover {
  background-color: #3b9cc7;
}
#liste_commentaires .commentaire .header_comment .pseudo.inactive {
  background-color: #ccc;
  color: #666;
  font-size: 0.8rem;
}
#liste_commentaires .commentaire .header_comment .date {
  font-style: italic;
  flex: 1;
  font-size: 0.8rem;
}
#liste_commentaires .commentaire .header_comment .lien_reponse {
  font-size: 0.8rem;
}
#liste_commentaires .commentaire > .contenu {
  background-color: #eee;
  border-radius: 5px;
  margin: 0.5rem 0 1rem;
  padding: 0.5rem;
}
#liste_commentaires .commentaire.owner .contenu {
  background-color: #ebf6fb;
}
#liste_commentaires .commentaire > .liste_reponses {
  padding-left: 1.5rem;
  margin-left: 1.5rem;
  border-left: 2px dashed #eaeaea;
  margin-bottom: 2rem;
}
#liste_commentaires .commentaire > .liste_reponses > .commentaire .contenu {
  margin-bottom: 1rem;
}

#block_add_comment .field {
  position: relative;
}
#block_add_comment #comment_referer {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  left: 0.5rem;
  background: #f1f1f1;
  display: flex;
  padding: 0.5rem;
  max-height: 50px;
  max-height: 50px;
  border-radius: 10px;
}
#block_add_comment #comment_referer .date,
#block_add_comment #comment_referer .lien_reponse {
  display: none;
}
#block_add_comment #comment_referer .contenu {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
  flex: 1;
  margin: 0 1rem;
}
#block_add_comment .field.referer textarea {
  padding-top: 55px;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width: 320px) and (max-width: 767px) {
  .display_desktop {
    display: none;
  }

  .m-fdc {
    flex-direction: column !important;
  }

  header #menubar ul li a.connection .texte,
  .custom_btn_border .texte {
    display: none;
  }

  .liste_items .item_miniature .titre .nom {
    font-size: 0.75rem;
  }
  .liste_items .item_miniature {
    max-width: 46%;
  }
  .liste_items .item_miniature .image {
    max-height: 130px;
  }
  .admin_gauche {
    width: 100%;
    margin: 1% 0;
  }
  .admin_droite {
    width: 100%;
    margin: 1% 0;
  }

  #edit_objet_images .image {
    margin: 0.5em;
  }

  .flex_popup form,
  .flex_popup .content_popup {
    padding: 1rem;
  }

  .flex_popup form {
    padding: 0.5rem;
  }
  .flex_popup .visual {
    padding: 1.5rem;
  }
  #popup_connexion {
    border-radius: 10px;
  }
  #popup_connexion .visual img {
    display: none;
  }

  #derniers_inscrits {
    gap: 1rem;
  }

  #derniers_inscrits > div {
    width: 48%;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0rem;
    line-height: 1.3;
  }

  #header_collection {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  #header_collection #actions_collection {
    display: flex;
    gap: 0.5rem;
    align-self: center;
  }

  #header_collection #actions_collection .custom_btn_border > a,
  #header_collection #actions_collection .custom_btn_border > span {
    padding: 5px 15px;
  }
}

/* Tablettes (portrait and landscape) ----------- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .display_mobile {
    display: none;
  }
}

/* PC----------- */
@media only screen and (min-width: 1024px) {
  .display_mobile {
    display: none;
  }
}

/* Smartphones et tablettes ----------- */
@media only screen and (min-width: 320px) and (max-width: 1024px) {
  /*

    

    #menu_connexion .content #profile_btn{top:-40px;bottom:0;border-radius:5px 5px 0 0;}
    #etapes_home {font-size:0.8em;}*/

  header #header_menu {
    flex-direction: column;
  }
  header #menubar {
    text-align: center;
    margin: 1rem auto;
    width: 100%;
    max-width: 280px;
  }
  header #menubar ul {
    display: flex;
    justify-content: space-between;
  }
  header #menubar ul li a {
    background-color: #599cc2;
    border-radius: 5px;
    position: relative;
  }
  header #menubar ul li a > br,
  header #menubar ul li a > label {
    display: none;
  }
  header #menubar ul li a.current {
    background-color: #5cabd3;
  }
  header #menubar ul li a.current:after {
    display: none;
  }

  .flex_popup {
    flex-direction: column;
  }
  .flex_popup .visual,
  .flex_popup .form,
  .flex_popup.small-visual .visual,
  .flex_popup.small-visual .form {
    width: 100%;
  }
  .flex_popup .visual img {
    max-width: 150px;
  }
}

.swal2-title {
  margin-bottom: 1em !important;
  line-height: 1.2;
}
