/*.nav {
  overflow: hidden;
}
.nav a {
  float: left;
  margin: 10px;
  display: block;
}
.nav #menu-toggle {
    display: none;
}*/


.input-group-text {
  min-width: 160px;
  font-size: 0.9em;
}

@media screen and (max-width: 600px) {
  .nav a:not(:first-child) {
    display: none;
  }
  .nav a#menu-toggle {
    float: right;
    display: block;
  }
  .nav.nav--open {
    position: relative;
  }
  .nav.nav--open #menu-toggle {
    position: absolute;
    right: 0;
    top: 0;
  }
  .nav.nav--open a {
    float: none;
    display: block;
    text-align: left;
  }

  .input-group-text {
    max-width: 100px;
    font-size: 0.9em;
  }
}

.menu-toggle__bar1, .menu-toggle__bar2, .menu-toggle__bar3 {
   width: 21px;
   height: 3px;
   background-color: #000000;
   margin: 4px 0;
   transition: 0.3s;
}
.menu-toggle--open .menu-toggle__bar1 {
  transform: translate(0, 7px) rotate(-45deg);
}
.menu-toggle--open .menu-toggle__bar2 {
  opacity: 0;
}
.menu-toggle--open .menu-toggle__bar3 {
  transform: translate(0, -7px) rotate(45deg);
}

@media (max-width: 1200px) {
  /*By default, containers are only full-width on xs screens. 
  This makes them full-width om sm screens as well*/
  .container {
    margin-left: 0;
    margin-right: 0;
    max-width: 100% !important;
  }
}

#logo {
  height: 25px;
}

#parcellestab .nav-link {
  font-size: 0.9em;
}

.pere {
  width: 40px;
}

caption.titre {
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
}

.input-search {
  margin: 6px;
  padding: 0 12px;
  position: fixed;
  width: 200px;
}

#search {
  box-shadow: none;
  border-color: grey;
  background-color:rgba(255,255,255,0.7) !important;
}

.form-control300 {
  max-width: 300px;
}

.input-group-text130 {
  min-width: 130px;
}

.input-group-text80 {
  min-width: 80px;
}

.footer {
  clear: both;
  color: #666;
  margin-top: 5px;
}


/*arbre généalogique début*/
.tree {
  white-space: nowrap;
  clear: both;
  border-top: 2px dashed #a1c6f7;
  zoom: 75%;
}

.tree ul {
  padding-top: 20px;
  display: flex;
  position: relative;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}
.tree li {
  float: left; 
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 5px 5px 5px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}
 
/*We will use ::before and ::after to draw the connectors*/
 


.tree li::before, .tree li::after{
  content: '';
  position: absolute; top: 0; right: 50%;
  border-top: 1px solid #ccc;
  width: 50%; height: 20px;
}
.tree li::after{
  right: auto; left: 50%;
  border-left: 1px solid #ccc;
}
 
/*We need to remove left-right connectors from elements without 
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
  display: none;
}
 
/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}
 
/*Remove left connector from first child and 
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
  border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
  border-right: 1px solid #ccc;
  border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
  border-radius: 5px 0 0 0;
}
 
/*Time to add downward connectors from parents*/
.tree ul ul::before{
  content: '';
  position: absolute; top: 0; left: 50%;
  border-left: 1px solid #ccc;
  width: 0; height: 20px;
}
 
.tree li a{
  border: 2px solid #ccc;
  padding: 5px 10px;
  text-decoration: none;
  color: #666;
  font-family: arial, verdana, tahoma;
  display: inline-block;
  border-radius: 5px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}

.male {
  border-color: cornflowerblue !important;
}

.femelle {
  border-color: pink !important;
}

.present {
  background-color: #baffc1;
}

.mort {
  background-color: #c6c6c6;
}

.boucherie {
  background-color: lightcoral;
}
 
/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover, .tree li a:hover+ul li a {
  background: #a1c6f7; color: #000; border: 2px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after, 
.tree li a:hover+ul li::before, 
.tree li a:hover+ul::before, 
.tree li a:hover+ul ul::before{
  border-color:  #94a0b4;
}
 
/*arbre généalogique fin*/

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}

  .table-wrapper {
    width: 700px;
    margin: 30px auto;
        background: #fff;
        padding: 20px;  
        box-shadow: 0 1px 1px rgba(0,0,0,.05);
    }
    .table-title {
        padding-bottom: 10px;
        margin: 0 0 10px;
    }
    .table-title h2 {
        margin: 6px 0 0;
        font-size: 22px;
    }
    .table-title .add-new {
        float: right;
    height: 30px;
    font-weight: bold;
    font-size: 12px;
    text-shadow: none;
    min-width: 100px;
    border-radius: 50px;
    line-height: 13px;
    }
  .table-title .add-new i {
    margin-right: 4px;
  }

table.tablefontsm {
  font-size: 0.8em;
}

button.rem {
  all: unset;
}

button.rem:focus {
  outline: revert;
}

input[readonly], textarea[readonly]{
  background-color:transparent;
  border: 0;
  font-size: 1em;
  outline: 0;
  width: 100%;
  resize: none;
}

.dateinput {
  font-weight: bold;
}

.badge-cls {
  font-size: 0.7em;
  margin: 0.1em;
  font-weight: bold;
  color: white;
  padding: 0px 5px;
  border-radius: 5px;
  text-wrap: nowrap;
}

#card-to-right {
  width: 8rem;
  right: 20px;
  margin-top: 40px;
  position: fixed;
  display: none;
  background-color:rgba(255,255,255,0.7);
  z-index: 1;
}

#card-to-right .select {
  margin: 5px 0;
}

.form-range {
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

#date-group, #troupeau-group, #troupeau-personnalise {
  display: none;
}

#buttonleft {
  position: fixed;
  top: 50%;
  left: -5px;
  color: grey;
}

/* optional junk to toggle the button text */
.offcanvas-btn span:last-child,
.offcanvas.show .offcanvas-btn span:first-child {
  display: none;
}

.offcanvas.show .offcanvas-btn span:last-child {
  display: inline;
}

dd { margin:0; }

/* Fix pour checkboxes dans les tableaux */
table .form-check-input {
    width: 14px;
    height: 14px;
    border-color: #6c757d !important;
}