@media screen and (min-width: 601px) {

.form-check-input:checked {
  background-color: #dc001c !important;
  border-color: #dc001c !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25) !important;
}

.form-check.form-switch {
  margin: 0.5rem 0 0 0.5rem;
}

.tab-content{
  height: 160px;
}


#mapSearchBox {
  width: 325px;
}

#mapSearch {
  position: absolute;
  left: 10px;
  top: 10px;
  pointer-events: none;
  width: auto;
}

#formsearch{
  z-index: 500;
  position: relative;
  pointer-events: auto;
  display: flex;
  gap: 8px;
}

#forminfo{
  position: absolute;
  left: 0;
  z-index: 300;
  pointer-events: none;
  width: 365px;
  background-color: rgba(255,255,255,0.9);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  top: 40px;
}

#formsearch, #forminfo {
  -ms-flex-direction: row;
  flex-direction: row;
}

#formsearch .list-group-item {
  padding: 0;
}

#logoVini {
  z-index: 99;
  position: absolute;
  bottom: 10px;
  left: 3px;
  padding: 3px;
}

#logoViniImg {
  width: 50px;
  height: 50px;
}

#mapSearch .form-group{
  margin-bottom: 0 !important;
}
#mapSearchResult {
  top: 50px;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
}

#mapSearchResult li {
  cursor: pointer;
  margin-top: 6px;
  margin-left: 15px;
}

#mapSearchResult li span {
  display: inline-block;
  width: 30px;
}

#locationSearch{
  z-index: 99;
  position: absolute;
  right:10px;
  top:10px;
}

/*
#forminfo {
  position: absolute;
  z-index: 50!important;
  background-color: rgba(255,255,255,0.5);
  padding: 1rem;
  border-radius: 0.5rem;
}
*/

#contextPanel {
  z-index: 400;
  overflow-y: scroll;
  overflow-x: hidden;
  position: absolute;
  left:0;
  top:0;
  width: 400px;
  height: 100%;
  background-color: #ffffff;
  border-right: 1px solid #eee;
}

#contextPanel::-webkit-scrollbar {
  display: none;
}

#closeContextPanel {
  top: 65px;
  right: 20px;
  position: absolute;
  cursor: pointer;
  color: #555;
  z-index: 10;
}

#contextDetail {
  top:64px;
  left:20px;
  position: absolute;
  width: 95%;
}

#contextLoad{
  display: none;
  text-align: center;
  padding-top: 96px;
}

#contextLoadImg{
  width: 48px;
  height: 48px;
}

#searchLoadImg{
  width: 20px;
  height: 20px;
}

#dividerbarg, #dividerbari {
  margin-top: 0 !important;
  width: 95%;
}

#searchInProgress {
  display:none;
  position: relative;
  right: 35px;
  top: 12px;
  z-index: 120;
  width:0;
  color: #000000;
}

.glyphicon-refresh-animate {
    -animation: spin .9s infinite linear;
    -webkit-animation: spin2 .9s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

.etateligible .badge{
  background-color: #5cb85c;
  color: #FFF;
}

.etatnoneligible .badge{
  background-color: #d9534f;
  color: #FFF;
}

.etatinconnu .badge{
  background-color: #777;
  color: #FFF;
}

#contextGeneralData {
  overflow-y: auto;
}

.contextGeneralData::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 4px;
	background-color: #F5F5F5;
}
.contextGeneralData::-webkit-scrollbar
{
	width: 5px;
	background-color: #F5F5F5;
}
.contextGeneralData::-webkit-scrollbar-thumb
{
	border-radius: 4px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}

.card-body {
  padding: .5rem 1.25rem;
}
#carddemandeinfocontent .form-group{
  margin-bottom: 0;
}
#demandinfostatus {
  color: black;
}
#demandeinfosbutton {
  z-index: 5000;
  padding-top: 2px;
  cursor: pointer;
  display: none;
}

#demandeinfosbutton svg {
  margin-top: -10px;
}

#iconedemandeinfos {
  padding-top: 2px;
  vertical-align: middle;
}

#iconedemandeinfos svg {
  margin-top: -22px;
}

#displayinfosbutton {
  position: absolute;
  top: 64px;
  left: 255px;
  z-index: 5000;
}

.btn-rond-fill {
  width: 32px;
  height: 32px;
  background-image: url('/images/chat-fill.svg');
  background-size: 100%;
  -webkit-box-align: center!important;
  -ms-flex-align: center!important;
  align-items: center!important;
  -webkit-box-pack: center!important;
  -ms-flex-pack: center!important;
  justify-content: center!important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#legend {
  z-index: 2;
  position: absolute;
  bottom: 10px;
  right: 3px;
  width: 375px;
  height: auto;
  padding: 3px;
  background-color: rgba(255, 255, 255, 0.80);
  border: 1px solid #ced4da;
  border-radius: .25rem;
  font-size: small;
  font-weight: 600;
}

#openlegend {
  z-index: 2;
  position: absolute;
  bottom: 10px;
  right: 3px;
  width: 195px;
  height: auto;
  padding: 3px;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid #ced4da;
  border-radius: .25rem;
  font-size: small;
}

.nav{
  display: flex;
  flex-wrap: nowrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link{
  color: #dc001c;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  background-color: #dc001c;
}

a {
  color: #dc001c;
}

a:hover {
  color: #dc001c;
}

.ol-zoom  {
  display: none;
}
}
