/* background images for pre_inscription pages according to screen size*/
@media only screen and (min-width: 1175px) {
  .pre_inscription {
    /* background: url(/static/images/bsg_salle_nb_niveaux_1980.jpg); */
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    background-size: cover;
    margin-top: 1.5rem;
  }
}

@media only screen and (max-width: 1174px) {
  .pre_inscription {
    /* background: url(/static/images/bsg_salle_nb_niveaux_1980.jpg); */
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    background-size:  cover;
    margin-top: 0.5rem;
  }
}

/* start color variables */
.btn-primary, .btn-primary:visited, .btn-primary:active {
    background-color: #982135 !important;
    border: 1px solid #982135 !important;
    color: white !important;
}
.btn-primary:hover {
    background-color: white !important;
    color: #982135 !important;
}

.btn-secondary, .btn-secondary:visited, .btn-secondary:active {
    background-color: white !important;
    border: 1px solid #982135 !important;
    color: #982135 !important;
}
.btn-secondary:hover {
    background-color: #982135 !important;
    color: white !important;
}

.btn-light, .btn-light:visited, .btn-light:hover, .btn-light:active {
    background-color: white !important;
    border: 1px solid #982135 !important;
    color: #982135 !important;
}
.border-primary {
    border: 1px solid rgb(222, 226, 230)!important;
}

.dropdown-item {
    color: #982135 !important;
    background-color: white !important;
}

.dropdown-item:hover {
    color: white !important;
    background-color: #982135 !important;
}

.text_myprimary {
  color: #982135;
}

.btn-link {
  color: #982135 !important;
}

.btn-link:hover {
  opacity: 0.7 !important;
  color: #666666 !important;
  text-decoration: none !important;
}

.bg-primary {
  background-color: #982135 !important;
  color: white !important;
}

.border {
  border-bottom-color: rgb(222, 226, 230) !important;
/*  border-color: #982135 !important;*/
}

.border-bottom {
  border-bottom-color: rgb(222, 226, 230) !important;
/*  border-bottom-color: #982135 !important;*/
}

.border-primary-bottom {
  border-bottom: 1px solid !important;
  border-bottom-color: #982135 !important;
}

.border-primary-top {
  border-top: 1px solid  !important;
  border-top-color: #982135 !important;
}

.border-primary-left {
  border-left: 1px solid  !important;
  border-left-color: #982135 !important;
}

.border-primary-right {
  border-right: 1px solid  !important;
  border-right-color: #982135 !important;
}

/*.text_active {
  color: #bb324d;
}
.border_myprimary {
  border: 1px solid #982135;*/
  /* border: 1px solid pink; */
/*}*/
.border_disabled {
  border: 1px solid gray;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
  /* border: 1px solid pink; */
}

.border_top_myprimary {
  border-top: 1px solid #982135;
}
.border_bottom_myprimary {
  border-bottom: 1px solid #982135;
}
.border_left_myprimary {
  border-left: 1px solid #982135;
}
.border_right_myprimary {
  border-right: 1px solid #982135;
}

.bg_mysecondary {
  background-color: #639fa8;
}
.text_mysecondary {
  color: #639fa8;
}
.border_mysecondary {
  border: 1px solid #639fa8;
}
.border_top_mysecondary {
  border-top: 1px solid #639fa8;
}
.border_bottom_mysecondary {
  border-bottom: 1px solid #639fa8;
}
.border_left_mysecondary {
  border-left: 1px solid #639fa8;
}
.border_right_mysecondary {
  border-right: 1px solid #639fa8;
}

.text_color_bsg_jaune {
    color:  #c1cc41;
 }

.my-form-control-plaintext {
/* width:60% !important;*/
 /*padding:.375rem 0;*/
 margin-bottom:0;
 font-size:0.875rem;
 line-height:1.5;
 color:#212529;
 background-color:transparent;
 border:solid transparent;
 border-width:1px 0
}

.myLink {
  text-decoration: none;
  font-weight: bold;
}
.myLink:hover {
  text-decoration: none;
}

.myLink.presence {
  color: #3a7729;
  padding: 0.4rem;
}
.myLink.presence:hover {
  color: #17a2b8ff;
  border-radius: 0.25rem;
}
.myLink.vigil:hover {
  color: rgb(188, 191, 191);
  border-radius: 0.25rem;
}

.myLink.resa {
  color: #17a2b8ff;
  padding: 0.4rem;
}
.myLink.resa:hover {
  color: #3a7729;
  background: #afc9de;
  border-radius: 0.25rem;
}

.myLink.cda {
  color: #17a2b8ff;
  padding: 0.4rem;
}
.myLink.cda:hover {
  color: #3a7729;
  background: #d3dce3;
  border-radius: 0.25rem;
}

.myLink.validation:hover {
  color: #17a2b8ff;
}


/* end color variables */

.dtHorizontalVerticalExampleWrapper {
max-width: 100px;
margin: 0 auto;
}
#dtHorizontalVerticalExample th, td {
white-space: nowrap;
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
bottom: .5em;
}

.custom-file-input ~ .custom-file-label:lang(fr)::after {
  content: "Choisir...";
  background-color: #982135;
  color: white;
}

.container_viverrin {
  position: relative;
  width: 100%;
}
.overlay {
  position: relative; /*absolute;*/
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100px;
  height: 60px;
  opacity: 0;
  transition: .5s ease;
}

.overlay_texte {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 200px;
  height: 120%;
  opacity: 0;
  transition: .5s ease;
}


.container_viverrin:hover .overlay {
  opacity: 1;
  transform: scale(1.5);
  }

.container_viverrin:hover .overlay_texte {
  opacity: 1;
  transform: scale(1.5);
  }

 .bg_bsb_lilas {
    background-color: #fdf7ff;
 }

 .text_color_bsb_violet {
    color: #6f4082;
 }

  .border_color_bsb_violet {
    border-width: .1em;
    border-color: #6f4082;
 }

  .bg_bsb_violet {
    background-color: #6f4082;
 }

  .bg_bsg_vert {
    background-color: #dfedda;
 }
   .bg_bsg_vert_sombre {
    background-color: #2c7012;
 }
  .text_color_bsg_vert {
    color:  #2c7012;
 }
  .border_color_bsg_vert {
    border-width: .1em;
    border-color: #2c7012;
 }

.overlay_bulle {
  position: absolute;
  top: 0;
  bottom: 60px;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: .5s ease;
  color: white;
  background-color: #dfedda;
}

.overlay_detail_annulation {
  position: absolute;
  display: none;
  top: 10;
  bottom: 10;
  left: 50;
  right: 50;
  width: 300px;
  height: 200px;
  opacity: 0;
  transition: .5s ease;
  color: #2c7012;
  background-color: #dfedda;
  z-index: 3;
  border: .1em solid #2c7012;
  border-radius: .25em;
  white-space: normal;
  text-align: justify;
  text-justify: auto;
  overflow: auto;
}

.auto {
    height:auto;
    background-color:orange;
        }
.inherit {
    height:inherit;
    background-color:cyan;
}
.percentage {
    height:25%;
}


.container_viverrin:hover .overlay_bulle {
  opacity: 1;
  transform: scale(1);
  }

.container_viverrin:hover .overlay_detail_annulation {
  display: block;
  opacity: 1;
  transform: scale(1);
  }

.col_130 {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  min-width: 130px;
  max-width: 130px;
  height: 100%;
}

.col_180 {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  min-width: 180px;
  max-width: 180px;
  height: 100%;
}

.col_80 {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  min-width: 80px;
  max-width: 80px;
  height: 100%;
}

.col_280 {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  min-width: 280px;
  max-width: 280px;
}

.col_place_resa {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  min-width: 260px;
  max-width: 260px;
}

.line {
  text-decoration: line-through;
}

.imgHolder {
    position: relative;
}
.imgHolder span {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.branch_title {
  font-weight: 100;
  font-size: 0.75rem;
}

.pseudo_title {
  font-weight: 300;
  font-size: 1.7rem;
}

.section_head {
  font-weight: 300;
  font-size: 1.3rem;
}

/* for page ecran_vigile*/
.large_screen {
  width: 100%; /* 1280px;*/
  height: auto;
  margin: auto;
  margin-left: 0x;
  background-color: #292727;
  font-size: 1.2rem;
  font-family: Helvetica;

}
.text-light-gray {
  color: #d4d3d3;
}

.block_entete {
   width: 50%;
   font-weight: 400;
   padding: 10px 10px 10px 10px;
  }
.recherche_pda {
   font-weight: 400;
   padding: 0 0px 0 0px;
   border-right: 1px #ffffff solid;
   border: 0;
   margin: auto;

  }
.block_usager {
   font-weight: 400;
  }
.block_lecteur {
   font-weight: 400;
  }
.block_resas {
   font-weight: 400;
  }
.mypendule {
  position: absolute;
  top: 3px;
  right: 6px;
  height: auto;
  z-index: 4;
  padding: 1.6px 22px;
}


/* Checkboxes */

.checkbox-wrapper .switch {
  display: none;
  align-items: center;
}

.checkbox-wrapper .switch + label {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: #982135;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 15px;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-wrapper-h25 .switch-h25 + label {
  font-size: 14px;
  line-height: 24px;
}

.checkbox-wrapper .switch + label::before,
.checkbox-wrapper .switch + label::after {
  content: '';
  display: block;
}

.checkbox-wrapper .switch + label::before {
  background-color: #ddd;
  border-radius: 13px;
  height: 15px;
  margin-right: 8px;
  -webkit-transition: background-color 0.125s ease-out;
  transition: background-color 0.125s ease-out;
  width: 30px;
}

.checkbox-wrapper-h25 .switch-h25 + label::before {
  height: 24px;
  margin-right: 25px;
  width: 52px;
}

.checkbox-wrapper-w52 .switch-w52 + label::before {
  width: 52px;
}

.checkbox-wrapper .switch + label::after {
  background-color: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 1px 0 rgba(37, 34, 71, 0.05), 0 2px 2px 0 rgba(37, 34, 71, 0.1), 0 3px 3px 0 rgba(137, 34, 71, 0.05);
  height: 13px;
  left: 1px;
  position: absolute;
  top: 1px;
  -webkit-transition: -webkit-transform 0.125s ease-out;
  transition: -webkit-transform 0.125s ease-out;
  transition: transform 0.125s ease-out;
  transition: transform 0.125s ease-out, -webkit-transform 0.125s ease-out;
  width: 13px;
}

.checkbox-wrapper-h25 .switch-h25 + label::after {
  height: 22px;
  border-radius: 23px;
  width: 25px;
}

.checkbox-wrapper .switch + label .switch-x-text {
  display: block;
  margin-right: .3em;
}

.checkbox-wrapper .switch + label .switch-x-toggletext {
  display: block;
  /*font-weight: bold;*/
  height: 15px;
  overflow: visible;
  position: relative;
  width: 30px;
}

.checkbox-wrapper-h25 .switch-h25 + label .switch-x-toggletext {
  height: 25px;
}

.checkbox-wrapper-110 .switch + label .switch-x-toggletext {
  width: 110px;
}

.checkbox-wrapper-130 .switch + label .switch-x-toggletext {
  width: 130px;
}

.checkbox-wrapper-300 .switch + label .switch-x-toggletext {
  width: 300px;
}

label .switch-x-toggletext-h25 {
  height: 25px;
}

.checkbox-wrapper .switch + label .switch-x-unchecked,
.checkbox-wrapper .switch + label .switch-x-checked {
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transition: opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
  transition: opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
  transition: transform 0.125s ease-out, opacity 0.125s ease-out;
  transition: transform 0.125s ease-out, opacity 0.125s ease-out, -webkit-transform 0.125s ease-out;
}

.checkbox-wrapper .switch + label .switch-x-unchecked {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.checkbox-wrapper .switch + label .switch-x-checked {
  opacity: 0;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
}

.checkbox-wrapper .switch + label .switch-x-hiddenlabel {
  position: absolute;
  visibility: hidden;
}

.checkbox-wrapper .switch:checked + label::before {
  background-color: #982135;
}

.checkbox-wrapper .switch:checked + label::after {
  -webkit-transform: translate3d(15px, 0, 0);
  transform: translate3d(15px, 0, 0);
}

.checkbox-wrapper-w52 .switch-w52:checked + label::after {
  -webkit-transform: translate3d(25px, 0, 0);
  transform: translate3d(25px, 0, 0);
}

.checkbox-wrapper-w42 .switch-w42:checked + label::after {
  -webkit-transform: translate3d(18px, 0, 0);
  transform: translate3d(18px, 0, 0);
}

.checkbox-wrapper .switch:checked + label .switch-x-unchecked {
  opacity: 0;
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
}

.checkbox-wrapper .switch:checked + label .switch-x-checked {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}


/******************************************/

/* =============================================
* RADIO BUTTONS
=============================================== */

#radios label {
  cursor: pointer;
  position: relative;
}

#radios label + label {
  margin-top: 20px;
  margin-left: 40px;
}

input[type="radio"] {
  opacity: 0; /* hidden but still tabable */
  position: absolute;
}

input[type="radio"] + span {
  font-family: 'Material Icons';
  color: #982135;
  border-radius: 50%;
  padding: 12px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
}

input[type="radio"]:checked + span {
  color: white;
  background-color: #982135;
}

input[type="radio"]:focus + span {
  color: #fff;
}

/* =============================================
* CENTERING, CONTAINER STYLING ETC || IGNORE
=============================================== */

#radios {
  text-align: center;
  margin 0 auto;
  justify-content: center;
  align-items: center;
}

.radio-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #982135 !important;
  color: white !important;
}

.zone-upload{
  border:2px dashed #9a9a9a;border-radius:8px;
  padding:36px;text-align:center;background:#fafafa;
  cursor:pointer;transition:border-color .2s;
}
.zone-upload:hover{border-color:var(--bleu-france);}
.zone-upload .icone{font-size:34px;}
.zone-upload .formats{font-size:12px;color:#777;margin-top:10px;}
