@charset "UTF-8";

/*

|-----------------------------------|
 TABLE DES MATIÈRES (Ctrl+F)        |
                                    |
 #GENERIC - Styles génériques       |       
 #INDEX - Page d'accueil            |
 #SGHRMUI - Page de recherche       |
                                    |
|-----------------------------------|

*/

* {
  box-sizing: border-box;
}

a:not([href]):not([tabindex]) {
  color: white;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

.rhsgc-admin-controls .adminbar .btn-dc,
.rhsgc-admin-controls .adminbar .btn-dc:hover {
  text-transform: none;
  font-family: inherit;
  font-weight: 400;
  margin: 0;
  height: 35px;
  line-height: 28px;
  font-size: 16px;
  letter-spacing: initial;
  border-radius: 0;
}

.modal-visible {
  overflow-y: hidden;
}

.modal-body {
  background-color: white;
}

.modal-visible .sghrm-body {
  margin-right: 17px;
}

.sghrm-button {
  background-color: #0071bb;
}

.sghrm-logo {
  padding: 0;
}

.sghrm-login-titre {
  font-size: 28px;
}

.sghrm-content {
  width: 100%;
  max-width: 1400px;
  margin: 0px auto;
}

.sghrm-section-title {
  padding-top: 20px;
}

.sghrm-legend {
  font-size: 18px;
  font-weight: 700;
  width: auto;
  margin-bottom: -10px;
}

.sghrm-pagination li a {
  font-weight: 700;
  color: #0071bb;
  border: 2px solid #e0e0e0;
}

.sghrm-pagination li a:hover {
  border-color: #0071bb;
}

.sghrm-table thead th {
  font-weight: 700;
  font-size: 18px;
  color: #000;
}

.sghrm-scrollable-table tbody {
  max-height: 600px;
  overflow-y: scroll;
}

.sghrm-modal-overlay {
  z-index: 20;
  display: none;
  transition: 0.2s ease-in-out;
}

.sghrm-modal {
  border-radius: 0;
  max-width: 90%;
  height: 0;
  height: calc(100% - 30px);
  overflow-y: scroll;
  top: 15px;
  left: 0;
  right: 0;
  margin: auto;
  transform: inherit;
  z-index: 20;
  transition: 0.5s ease-in-out;
}

.sghrm-modal .modal-body {
  padding: 5px 10px;
}

.sghrm-modal .form-horizontal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sghrm-modal .fieldset-container {
  flex: 0 0 50%;
  padding: 0 10px;
}

.sghrm-modal select {
  background-image: inherit;
}

.sghrm-mariage-relie {
  cursor: pointer;
}

.sghrm-index-header {
  border-bottom: 8px solid #0071bb;
  background-image: url("/images/texturehead.jpg");
}

.sghrm-index-footer {
  border-top: 8px solid #0071bb;
  background-image: url("/images/texturehead.jpg");
}

.sghrm-header {
  position: fixed;
  height: 65px;
  width: 100%;
  border-bottom: 8px solid #0071bb;
  background-image: url("/images/texturehead.jpg");
  z-index: 10;
  padding: 0;
}

.sghrm-logo img {
  position: relative;
  top: 5px;
}

.sghrm-app-title {
  line-height: 65px;
  font-weight: 700;
  font-size: 26px;
}

.sghrm-body {
  margin-top: 65px;
}

.sghrm-erreur {
  color: #a94442;
  background-color: #f2dede;
  padding: 15px;
  margin: 16px 0;
  border: 1px solid #ebcccc;
  border-radius: 0px;
  font-size: 20px;
}

.sghrm-erreur a {
  color: #a94442;
  font-size: 20px;
}

.sghrm-succes {
  padding: 15px;
  margin: 16px 0;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
  border-radius: 0px;
  font-size: 20px;
  color: #3c763d;
}

.sghrm-modal .form-control,
.form-control-group .form-control,
.panel-body .form-control {
  border: 0px solid transparent;
  margin-bottom: 0;
  padding: 0 15px 0 0;
}

.sghrm-modal .form-control:last-of-type,
.form-control-group .form-control:last-of-type,
.panel-body .form-control:last-of-type {
  padding: 0;
}

.sghrm-footer {
  position: relative;
  bottom: 0px;
  border-top: 8px solid #0071bb;
  background-image: url("/images/texturehead.jpg");
  z-index: 10;
}

.section-info h2 {
  text-align: center;
}

.button-lisezmoi,
.button-municipalite {
  background-color: #D0312D !important;
  border: 0px solid transparent;
}

tbody {
  border: none;
}

.row,
.col-md-6 {
  outline: none !important;
}

@media screen and (max-width: 865px) {
  .row .col-md-6 {
    flex: none;
    max-width: 100%;
    width: 100%;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 650px) {
  td {
    max-width: 198px;
  }
}

.col-md-6:hover {
  outline: 2px solid yellow !important;
}

@media screen and (max-width: 720px) {
  .sghrm-modal .fieldset-container {
    flex: 0 0 100%;
    padding: 0;
  }

  .sghrm-modal .form-control-group {
    flex-direction: column;
  }

  .sghrm-modal .form-control {
    padding-right: 15px;
  }

  .sghrm-modal .modal-footer > a {
    margin: 7px;
  }

  .sghrm-modal #fiche-mariage-enfants {
    content: "S\E9lectionner...";
  }
}

