
/* -----------------------------------------------------------------------------
   Titles
----------------------------------------------------------------------------- */

.form-section-title {
  font-size: 1.5em;
  border-bottom: 1px solid #f0f0f1;
  padding: 0 0 5px 0;
  color: #555;
  font-variant: small-caps;
}


.uppercase {
  text-transform: uppercase;
}





/* -----------------------------------------------------------------------------
   Form layout
----------------------------------------------------------------------------- */

.form-layout .radio {
  padding-left: 0;
}

.oldies .form-layout .radio {
  padding-left: 1px;
}

  .form-layout .radio input[type="radio"] {
    margin: 3px 3px 0 0;
  }

.form-modifier .radio-inline {
  display: inline-block;
  vertical-align: middle;
}

.form-layout .radio-inline {
  margin-right: 1em;
  display: inline;
}

.form-layout .form-group-inline label {
  font-weight: normal;
  width: 180px;
  text-align: right;
}


.form-layout .form-group .custom-select-container {
  display: inline-block;
}

.form-layout .form-control-inline {
  width: auto;
}

.form-layout .control-label {
  font-weight: normal;
}



@media (min-width: 992px) {

  .md-inline {
    display: inline-block;
    vertical-align: top;
    margin: 0;
  }

  .md-inline + .md-inline {
    margin: 0;
  }

}


@media (max-width: 767px) {

  .btn-xs-wide {
    width: 100%;
  }

}


/* -----------------------------------------------------------------------------
   Contact
----------------------------------------------------------------------------- */

.panel-alt .panel-heading {
  background: #305fb4;
  padding-left: 23px;
}

.panel-alt .panel-title {
  text-transform: none;
  font-size: 2em;
  font-weight: normal;
}

.panel-alt .panel-title-small {
  font-size: 1.25em;
}

@media (max-width: 991px) {

  .panel-alt .panel-title-small {
    font-size: 1em;
  }

}

  .panel-alt .panel-body {
    position: relative;
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #305fb4;
    border-top: none;
  }


.form-contact .form-row {
  margin-bottom: 5px;
}

.form-contact label {
  color: #0a285e;
  font-weight: normal;
  font-size: 1.167em;
  display: block;
  margin-bottom: 2px;
}

.form-contact .form-text {
  font-size: 1em;
}

.form-telepoint .options-row label {
  float: none;
  display: inline;
}

.form-contact-1st-col {
  border-right: 1px solid #305fb4;
  padding-right: 22px;
}

  .form-title {
    color: #0a285e;
    font-size: 1.67em;
    font-weight: 600;
    margin: 10px 0 67px;
  }

  .form-title-normal {
    margin-bottom: 20px;
  }

  .form-contact-1st-col .form-title {
    margin-bottom: 20px;
  }

  h3.form-title {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 1.333em;
  }


  .form-contact .btn-right input,
  .form-contact .btn-right button {
    float: right;
  }

.required-mentions,
.legend {
  font-style: italic;
  text-align: right;
  color: #0a285e;
  clear: both;
}

  .form-telepoint sup {
    display: none;
  }

  .required {
    color: #ff0000;
  }




/* Zone de texte */
.form-text {
  margin: 20px 0 0;
  background: #305fb4;
  padding: 10px 20px;
  color: #fff;
  font-size: 1.333em;
  line-height: 1.2;
  overflow: hidden;

    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

.form-text-margin {
  margin-bottom: 10px;
}

.form-telepoint .form-text {
  margin-bottom: 10px;
  font-size: 1.083em;
}


  .form-text p {
    margin: 0;
  }



#contact-message {
  padding: 15px 20px;
  font-size: 14px;
  height: 249px;
  color: #0a285e;
}

/* Listes des fichiers téléchargés */
.uploads-list {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0;
  overflow: hidden;
}

  .uploads-list li {
    margin-bottom: 5px;
    color: #0a285e;
    font-style: italic;
    background: url('../bundles/ants/img/attachment.png') 0 0 no-repeat;
    padding-left: 20px;
  }

  .uploads-list li.upload-in-progress {
    background: none;
    font-style: normal;
  }

/* Bouton "Ajouter PJ" */
.btn-add {
  border: 1px solid #305fb4;
  background: #fff;
  color: #305fb4;
  font-size: 2.5em;
  line-height: 0.8;
  padding: 0;
  margin: 0;
  width: 27px;
  height: 27px;
  font-weight: bold;
  vertical-align: middle;
  position: relative;
  display: inline-block;
  text-align: center;
  overflow: hidden;

    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

.btn-add:hover,
.btn-add:focus,
.btn-add:active {
  background-color: #305fb4;
  color: #fff;
}

.btn-add input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  -ms-filter: 'alpha(opacity=0)';
  font-size: 200px;
  direction: ltr;
  cursor: pointer;
}


.form-contact .btn-alt {
  background: #305fb4;
  border: none;
  font-weight: bold;
  font-size: 1.083em;
  padding: 6px 20px;
}
.form-contact .btn-alt:hover,
.form-contact .btn-alt:focus,
.form-contact .btn-alt:active {
  background: #5180D5;
}


.contact-upload {
  display: none;
}

.js .contact-upload {
  display: block;
}




/* -----------------------------------------------------------------------------
   Custom select
----------------------------------------------------------------------------- */

/* Start Custom select element
=========================================================================== */
/* Wrapper element to enable positioning */
.custom-select-container {position:relative;}
/* Set the dimensions of the replaced select element and make it transparent. */
select.custom.replaced {
  position:relative;
  z-index:10;
  width:100%;
  height:2.3em;
  border:0;
  filter:alpha(opacity=0); /* Move to IE-specific CSS file if you want to. */
  opacity:0;
  line-height:2;
}
.custom-select {
  display:block;
  position:absolute;
  z-index:1;
  top:0;
  left:0;
  width:100%;
}
.custom-select > span {
  display:block;
  padding:0 25px 0 6px;
  border:solid 1px #4a7db7;

  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;

  background: #fff url('../bundles/ants/img/arrow-combobox.png') no-repeat 95% 50%;
  line-height:2;
  color: #0a285e;
}
.custom-select span span {
  display:block;
  height:2.3em;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.custom-select.active > span {
  border-color: #71A4DE;
}
/* End Custom select element
=========================================================================== */



/* -----------------------------------------------------------------------------
   Télépoint
----------------------------------------------------------------------------- */

.js #change-selection { display: none; }
.js #validate-selection { display: none; }
.js #zone-visite-medicale { display: none; }
.js #zone-sans-visite-medicale { display: none; }

.form-telepoint .form-row {
  margin-bottom: 10px;
  clear: both;
}
  .form-telepoint label {
    float: left;
    width: 345px;
    text-align: right;
    margin-right: 10px;
    padding-top: 3px;
    vertical-align: middle;
  }

  .form-telepoint .options-row label {
    padding-top: 0;
    color: #555;
  }

  .form-telepoint input[type="checkbox"] {
    vertical-align: middle;
  }

  .form-telepoint .options-row input[type="checkbox"] { margin-top: 0; }

  .form-telepoint fieldset {
    margin-top: 20px;
  }
  .form-telepoint legend {
    font-size: 1.25em;
    border-bottom-color: #f0f0f1;
    padding-bottom: 10px;
    color: #555;
    font-variant: small-caps;
  }

  .form-telepoint .sous-cat fieldset {
    margin-top: 10px;
  }
    .form-telepoint .sous-cat legend {
      border-color: #888;
      margin-bottom: 10px;
    }
    .form-telepoint .sous-cat .options-row {
      margin-left: 10px;
    }

.form-telepoint .form-control {
  width: 218px;
  display: inline-block;
}

.form-telepoint .custom-select-container {
  float: left;
  width: 218px;
  margin-right: 3px;
}

.form-date .form-control,
.form-date .custom-select-container {
  width: 80px;
  margin-right: 10px;
}

.form-telepoint .label-inline {
  float: none;
  display: inline;
}

.popins-wrapper { display: none; }

.cat-ppl-permis {
  background: #f0f0f1;
  padding: 10px;
  overflow: hidden;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

  .cat-ppl-permis .btn-wrapper {
    overflow: hidden;
    margin-bottom: 10px;
  }

  .cat-ppl-permis .col-sm-3 {
    border-left: 1px solid #888;
  }
  .cat-ppl-permis .col-sm-3:first-child {
    border-left: none;
  }

  .sous-cat {
    margin-bottom: 10px;
  }


/* -----------------------------------------------------------------------------
   Suivi
----------------------------------------------------------------------------- */

.content-box-suivi {
  overflow: hidden;
}

.content-box-suivi label {
  width: 160px;
  font-size: 1.083em;
}

.content-box-suivi .form-text {
  font-size: 1.167em;
  margin: 0 0 1em;
}

.content-box-suivi .form-row {
  float: left;
  width: 49%;
  clear: none;
}

.content-box-suivi .form-control {
  width: 250px;
}

.content-box-suivi .content-box-data {
  font-size: 1.083em;
  margin-top: 10px;
}

.content-box-suivi .content-box-data span {
  margin-left: 172px;
}


.content-box-suivi .content-box-data strong {
  text-align: right;
  float: left;
  font-weight: normal;
  width: 115px;
  margin-right: 10px;
}


.content-box-suivi .content-box-data span {
    margin-left: 0;
}


/* -----------------------------------------------------------------------------
   Formulaire carte grise accueil
----------------------------------------------------------------------------- */

.panel-form input[type="text"].full-width-help {
  width: 85%;
  display: inline;
}

.header-help {
  position: absolute;
  right: 6px;
  top: 6px;
}


/* -----------------------------------------------------------------------------
   Sondage
----------------------------------------------------------------------------- */

.form-survey {
  border: 5px solid #f1f1f1;
  padding: 10px;
  margin-top: 20px;
  overflow: hidden;
}

  .form-survey legend {
    font-size: 12px;
    padding-bottom: 5px;
    font-weight: bold;
  }

  .form-survey input {
    vertical-align: middle;
    margin: 0;
  }

  .form-survey label {
    font-weight: normal;
    display: inline;
    vertical-align: middle;
  }

  .form-survey .btn-right input {
    float: right;
  }



/* -----------------------------------------------------------------------------
   Aide
----------------------------------------------------------------------------- */

.form-help-large {
  width: 33%;
  float: right;
  padding: 1em;
  background: #f5f5f5;
  margin-left: 1em;
  margin-bottom: 1em;
}

  .form-help-large h2 {
    font-size: 1.2em;
    font-weight: bold;
    text-align: right;
    margin-top: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
  }

  .form-help-large a {
    color: #000;
    text-decoration: underline;
  }

  .form-help-large a:hover,
  .form-help-large a:focus,
  .form-help-large a:active {
    text-decoration: none;
  }


  .form-help-large .bleu {
    color: #000;
    font-weight: bold;
  }

  .form-help-large ul {
    padding: 0;
    margin: 0;
    list-style-type: disc;
    list-style-position: inside;
  }

  .form-help-large ul a {
    font-weight: bold;
  }


.form-left {
  overflow: hidden;
}

.form-errors {
  margin: 1em 0;
  color: red;
}

.form-left .captcha {
  overflow: hidden;
}

  .required-mention {
    text-align: right;
    margin-bottom: 10px;
  }

  .form-left .form-row {
    margin-bottom: 10px;
    clear: both;
  }


  .form-left label {
    font-weight: bold;
    width: 170px;
    text-align: right;
    margin-right: 10px;
    margin-top: 4px;
    float: left;
  }

  span.recaptcha_only_if_image {
    display: block;
    font-weight: bold;
  }

  .form-left .form-control {
    width: 250px;
  }

  .form-left textarea {
    resize: vertical;
  }

  .form-left .form-control {
    display: inline;
  }

  .form-left .form-field-help {
    margin-top: 5px;
    margin-left: 170px;
    font-size: 0.917em;
  }

  .form-left .date-set input[type="text"] {
    padding-left: 0;
    padding-right: 0;
  }

  .form-left .btn-right input {
    float: right;
  }





.format-2 { width: 34px !important; }
.format-4 { width: 60px !important; }


.date-set input[type="text"] {
  text-align: center;
  display: inline-block;
  margin-right: 10px;
}


/* -----------------------------------------------------------------------------
   Content box
----------------------------------------------------------------------------- */

.content-box {
  background: #f5f5f5;
  padding: 1em;
  margin: 1em 0;
}

  .content-box-title {
    font-size: 1.083em;
    font-weight: bold;
    margin: 0 0 6px;
  }

  .content-box-data {
    margin: 0;
  }

    .content-box-data span {
      font-weight: bold;
    }


/* -----------------------------------------------------------------------------
   Suivi
----------------------------------------------------------------------------- */

.section-title {
  font-size: 1.25em;
  font-weight: normal;
  padding-bottom: 5px;
  border-bottom: 1px solid #305fb4;
  margin-bottom: 20px;
}

.monitoring-text {
  width: 600px;
  margin: 1em auto;
}

  .monitoring-text img {
    float: left;
    margin-top: 4px;
    margin-right: 10px;
  }




/* -----------------------------------------------------------------------------
   Permis 3 champs
----------------------------------------------------------------------------- */

.form-control.format-num-permis-1 {
  width: 132px;
}

.form-control.format-num-permis-2,
.form-control.format-num-permis-3 {
  width: 40px;
}


/* Ajuster sur la page d'accueil dans les blocs */
.panel-bg .form-control.format-num-permis-1 {
  width: 137px;
}

.panel-bg .form-control.format-num-permis-2,
.panel-bg .form-control.format-num-permis-3 {
  width: 40px;
}











/* =============================================================================
   Media queries
============================================================================= */



@media (max-width: 992px) {

.content-box-suivi label {
  float: none;
  display: block;
  width: auto;
  text-align: left;
}


/* Sur l'accueil, diminuer les espacements */
.panel-bg .form-control.format-num-permis-1,
.panel-bg .form-control.format-num-permis-2,
.panel-bg .form-control.format-num-permis-3 {
  padding-left: 6px;
  padding-right: 6px;
}


.panel-bg .form-control.format-num-permis-1 {
  width: 120px;
}

.panel-bg .form-control.format-num-permis-2,
.panel-bg .form-control.format-num-permis-3 {
  width: 32px;
}






}

@media (max-width: 767px) {

/* -----------------------------------------------------------------------------
   Formulaire contact
----------------------------------------------------------------------------- */

.form-contact-1st-col {
  border: none;
}

.form-title {
  margin: 10px 0;
}

.form-contact .btn-alt {
  display: block;
  width: 100%;
  float: none;
  padding: 10px 0;
  text-transform: uppercase;
  font-size: 1em;
}

/* -----------------------------------------------------------------------------
   Formulaire  Télépoint
----------------------------------------------------------------------------- */

.form-telepoint label {
  float: none;
  display: block;
  width: auto;
  text-align: left;
}

.btn-help-wrapper {
  float: none;
}

.panel-alt .panel-title {
  font-size: 1.167em;
}


/* -----------------------------------------------------------------------------
   Suivi
----------------------------------------------------------------------------- */

.content-box-suivi .form-row {
  float: none;
  width: auto;
  clear: both;
}

.content-box-suivi .form-control {
  width: auto;
}

.content-box-suivi .content-box-data strong {
  text-align: left;
  float: none;
  display: block;
  font-weight: normal;
  width: auto;
  margin-right: 0;
}

.content-box-suivi .content-box-data span {
  margin-left: 0;
}


/* -----------------------------------------------------------------------------
   Formulaire CG
----------------------------------------------------------------------------- */

.form-help-large {
  float: none;
  width: auto;
  margin-left: 0;
}

.form-left label {
  width: auto;
  margin-right: 0;
  text-align: left;
  display: block;
  float: none;
}

.form-left .form-field-help {
  margin-left: 0;
}

.panel-alt .panel-body {
  padding-left: 10px;
  padding-right: 10px;
}

}
/*/Media queries mobile */



/* =============================================================================
   Mon compte connecté
============================================================================= */


@media (max-width: 991px) {

  .row-1-col,
  .row-3-col {
    margin: 0;
  }

}

@media (max-width: 767px) {

  .row-title {

  }

  .row-3-col,
  .row-1-col {
    margin: 0;
  }

  .row-1-col > div,
  .row-3-col > div {
    padding: 0;
  }

  .page-title {
    margin-left: 10px;
    clear: both;
  }

}


.panel-alt .panel-body-reset {
  padding: 0;
}

  .panel-body-inner {
    padding: 10px;
  }

    .panel-alt .panel-body-reset > :first-child,
    .panel-body-inner > :first-child {
      margin-top: 0;
    }

.panel-body-manage {
  min-height: 290px;
}

@media (max-width: 991px) {

  .panel-body-manage {
    min-height: 320px;
  }

}

@media (max-width: 767px) {

  .panel-body-manage {
    min-height: 0;
  }

}


/* -----------------------------------------------------------------------------
   Listes
----------------------------------------------------------------------------- */

.block-links-list {
  margin: 1em 0 1em;
  padding: 0;
  list-style: none;
}

.panel-body-inner .block-links-list {
  margin-left: -10px;
  margin-right: -10px;
}

  .block-links-list li {
    border-bottom: 1px solid #dbdbdb;
  }

  .block-links-list > li:first-child {
    border-top: 1px solid #dbdbdb;
  }

  .block-links-list:first-child > li:first-child {
    border-top: 0;
  }

    .block-links-list a {
      display: block;
      font-size: 1.167em;
      padding: 5px 10px;
    }

    .block-links-list a:hover,
    .block-links-list a:focus,
    .block-links-list a:active {
      text-decoration: none;
      background-color: #305fb4;
      color: #fff !important;
    }



/* -----------------------------------------------------------------------------
   Boutons
----------------------------------------------------------------------------- */

.btn-wrapper-center {
  text-align: center;
}

.btn-wrapper-right {
  text-align: right;
}

.btn-wrapper-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 10px;
}


@media (max-width: 767px) {

  .btn-wrapper-bottom {
    position: static;
  }

}


  .btn-alt-light,
  .btn-alt-light:link,
  .btn-alt-light:visited {
    color: #fff;
    background: #305fb4;
  }

  .btn-alt-light:hover,
  .btn-alt-light:focus,
  .btn-alt-light:active {
    background: #5180D5;
  }





/* -----------------------------------------------------------------------------
   Tableaux de prédemandes
----------------------------------------------------------------------------- */

.panel-pe .panel-heading { background-color: #ec6f9f; }
.panel-pp .panel-heading { background-color: #771c36; }
.panel-im .panel-heading { background-color: #c3561a; }

.panel-pe .panel-body { border-color: #ec6f9f; }
.panel-pp .panel-body { border-color: #771c36; }
.panel-im .panel-body { border-color: #c3561a; }

/* -----------------------------------------------------------------------------
   Tableaux RWD
----------------------------------------------------------------------------- */

@media only screen and (max-width: 992px) {

  /* Force table to not be like tables anymore */
  .table-rwd table,
  .table-rwd thead,
  .table-rwd tbody,
  .table-rwd th,
  .table-rwd td,
  .table-rwd tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  .table-rwd thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-rwd tr { border: 1px solid #ccc; margin-bottom: 1em; }

  table.dataTable.table-rwd tbody th,
  table.dataTable.table-rwd tbody td {
    padding: 8px 3px;
  }

  .table-rwd td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 45% !important;
    white-space: normal;
    text-align: left;
    word-wrap: break-word;
    font-size: 0.917em;
  }

  .table-rwd td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 40%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }

  .table-rwd.table-predemandes .custom-select-container {
    margin-right: 3px;
  }

  .table-rwd.table-predemandes .btn {
    display: inline-block;
    vertical-align: top;
    padding: 3px 5px;
  }

  /*
  Label the data
  */
  .table-rwd td:before { content: attr(data-title); }

  .table-rwd .right,
  .table-rwd .center {
    text-align: inherit !important;
  }

}

/* -----------------------------------------------------------------------------
   Prédemandes
----------------------------------------------------------------------------- */

.table-predemandes .btn-xs {
  padding: 1px 5px;
  font-weight: normal;
}

.table-predemandes .table-link {
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid #0a285e;
}

.table-predemandes .table-link:hover,
.table-predemandes .table-link:focus,
.table-predemandes .table-link:active {
  text-decoration: none;
  border-bottom: none;
}


@media only screen and (max-width: 767px) {

  .form-predemande label {
    margin-top: 1em;
  }

}


/* -----------------------------------------------------------------------------
   Besoin d'aide
----------------------------------------------------------------------------- */


.besoin-d-aide {
  float: right;
}

.besoin-d-aide a {
  font-size: 1.25em;
}





/* -----------------------------------------------------------------------------
   Modifier profil
----------------------------------------------------------------------------- */

input[type="text"],
input[type="password"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
}

textarea {
  resize: vertical;
}


.js .hidden-if-js {
  display: none;
}

.margin-0 {
  margin: 0 !important;
}


.form-modifier textarea {
  min-height: 107px;
}

.form-modifier .form-text {
  margin-bottom: 1em;
}

.form-modifier .form-date {
  margin-top: 50px;
}

.form-modifier .form-date .custom-select-container {
  float: left;
}

.form-offset {
  margin-left: 20px;
  margin-top: 20px;
}

.form-contact .form-row-prenom {
  margin-bottom: 14px;
}

.form-contact .form-row-prenom + .form-row-prenom {
  margin-bottom: 12px;
}



.format-xx {
  width: 34px !important;
  padding-left: 3px;
  padding-right: 3px;
  text-align: center;
}

.format-xxxx {
  width: 55px !important;
  text-align: center;
}

input[type="radio"] {
  vertical-align: middle;
  margin-top: 0;
}

.radio-inline {
    padding-left: 0;
}

.form-control-inline {
  display: inline-block;
  vertical-align: middle;
}


@media (max-width: 767px) {

  .form-inline-xs .form-control {
    display: inline-block !important;
  }

}




/* -----------------------------------------------------------------------------
   Welcome
----------------------------------------------------------------------------- */

.panel-welcome {
  overflow: hidden;
  float: right;
  margin-right: 10px;
  width: 365px;
}


/* -----------------------------------------------------------------------------
   Header
----------------------------------------------------------------------------- */

.oldies .header-tools .btn {
  font-family: Arial, Helvetica, sans-serif;
}

/* -----------------------------------------------------------------------------
   Connexion/Déconnexion
----------------------------------------------------------------------------- */

.btn-logout {
  margin-right: 8px;
}

  .btn-logout img {
    margin-right: 5px;
  }

  .btn-logout-small img {
    margin-right: 0;
  }

.home .header-tools .btn-my-account-logged > span {
  padding-left: 20px;
}

.btn-logout-small .sr-only,
.home .header-tools .btn-my-account-logged .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  margin: 1px !important;
}


/* >= desktop */
@media (max-width: 992px) {

  .btn-logout .sr-only,
  .home .header-tools .btn-my-account .sr-only {
    left: -999999em;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    margin: 1px !important;
  }

  .btn-logout img {
    margin-right: 0;
  }

}






/* -----------------------------------------------------------------------------
   Back to top
----------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  bottom: 1em;
  right: 1em;
  z-index: 10;
}

.js .back-to-top {
  right: -100px;
  opacity: 0;
  filter:alpha(opacity=0);

  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}

.js .back-to-top-is-visible {
  right: 1em;
  opacity: 1;
  filter:alpha(opacity=100);
}

  .back-to-top > a {
    display: block;
    padding: 1em;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #1a4490;
    opacity: 0.70;
    filter:alpha(opacity=70);

    border-radius: 3px;
    -webkit-transition: 500ms;
    -moz-transition: 500ms;
    transition: 500ms;
  }

    .back-to-top > a:hover,
    .back-to-top > a:focus,
    .back-to-top > a:active {
      opacity: 1;
      filter:alpha(opacity=100);
    }



/* -----------------------------------------------------------------------------
   Mairie
----------------------------------------------------------------------------- */

.google-map {
  border: 1px solid #aaa;
}



/* -----------------------------------------------------------------------------
   Pièces à fournir
----------------------------------------------------------------------------- */

.panel-pieces-a-fournir {
  background: #f5f5f5;
  padding: 1em;
  min-height: 500px;
}

.panel-pieces-a-fournir .form-section-title {
  margin-top: 0;
  border-bottom-color: #555;
  margin-bottom: 1em;
}

.panel-pieces-a-fournir-hint {
  font-weight: bold;
}

.panel-pieces-a-fournir-list {
  margin: 1em 0;
  padding: 0 0 0 20px;
}

.panel-pieces-a-fournir-list li {
  margin-bottom: 5px;
  border-bottom: 1px #fff;
}

.paf-section {
  display: none;
}

.paf-section-visible {
  display: block;
}

#paf-submit {
  display: none;
}

.sub-section-option {
  display: none;
}

/* >= desktop */
@media (max-width: 767px) {
  .panel-pieces-a-fournir {
    margin-top: 1em;
    min-height: 0;
  }
}


/* -----------------------------------------------------------------------------
   Page d'impression
----------------------------------------------------------------------------- */

.print .header {
  border-bottom: 0;
}

.date-impression {
  font-size: 20px;
}

.print #panel-pieces-a-fournir-list {
  font-size: 14px;
  list-style: none;
  padding-left: 0;
}


/* -----------------------------------------------------------------------------
    Formulaire de contact DI Mantis : 0103851
   ----------------------------------------------------------------------------- */
.small-form-title{
  margin: 10px 0 5px;
}
.top-line {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #305fb4;
}
