html {
  font-size: 14px;
}

/* Body padding */
body { margin-top: 55px !important; margin-bottom: 95px !important; height:100%;}

/* background */
body {
    background-color: #f6f7f7 !important;
    font-family: 'Open Sans', sans-serif !important;
}

#main {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

/* navbar */
.navbar-default {
    background-color: #ffffff !important;
    border: none !important;
    min-height: 55px !important;
}

.fixed-top-2 {
    margin-top: 55px;
}

@media(min-width:576px) {
    body { margin-top: 99px !important;}
}

@media(min-width:992px) {
    body {margin-top: 144px !important; margin-bottom: 144px !important;}
    .navbar-brand {
        padding: 10px 92px !important;
    }
    .dropdown {
        padding-right: 20px !important;
    }
    .navbar-bottom {
        min-height: 80px !important;
    }
    .fixed-top-2 {
        margin-top: 100px;
    }
    .navbar-default {
        min-height: 100px !important;
    }
}

.menu-rectangle {
    border: 1px solid !important;
    border-right: none !important;
    border-left: none !important;
    border-color: #d5d5d5 !important;
    margin-right: 20px !important;
    padding-right: 60px !important;
    margin-top: 10px;
}

.header {
    color: #005b8f !important;
    font-weight: bold;
    height: 34px;
    bottom: 8px;
}




.page-actuelle {
    background-color: #004475;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    height: 44px;
    color: #ffffff;
    line-height: 44px;
    width: 100%;
}

.page-actuelle-link {
    color: #ffffff !important;
}
.page-actuelle-link:hover {
    color: #e5da05 !important;
    text-decoration: none !important;
    background-color: transparent;
}



.search-box {
    height: 34px;
    padding: 10px 16px;
    font-size: 12px;
    line-height: 1.42857143;
    color: #898989;
    background-color: #fff;
    background-image: none;
    border: 1px solid #898989;
    border-right: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.search-btn {
    height: 34px;
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid #898989 !important;
    border-left: none !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    padding: 4px 12px !important;
}

.footer {
    background-color: #283f50 !important;
}
.footer {
  position: absolute !important;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  margin-bottom: 0px !important;
}

html {
  position: relative;
  min-height: 100% !important;
}
/* panel of same height in row*/
@media(min-width:992px) {

	.equal, .equal > div[class*='col-'] {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		display:1 0 auto;
	}
}	
	
.panel {
	width: 100%;
}

.panel-body {
   z-index: 1;
}

.panel-stretch {
	display: flex;
	flex-direction: column;
	align-content: stretch;
}
.panel-stretch-body {
	display: flex;
	flex-grow:1;
}

/* Responsive canvas */
canvas {
	width: 100%;
	height: auto;
}
	
/* Sidebar */
/* @media(min-width:768px) { */
.label-topic,.label-agency,.label-eligible,.label-target,.label-geoloc {

	list-style:none;
	padding-right:0;
	padding-left:1;


}
.label-topic {
   /* text-align:right; */
}
.item-topic,.item-agency,.item-eligible,.item-target,.item-geoloc {

	list-style:none;

	padding-right:1;
	padding-left:1;

}
/* } */


div.tooltip {
    position: absolute;
    text-align: center;
    color: black;
    width: 150px;
    height: 18px;
    padding: 2px;
    font: 12px sans-serif;
    background: grey;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
}

.scrolling {
    max-height:150px;
    overflow-y:auto;
    max-width:240px;
}


.scrolling-lg {
    max-height:250px;
    overflow-y:auto;
}



.label-as-badge {
    border-radius: 1em;
    padding: 3px 7px;
}

.btn-warp{
white-space:normal !important;
    word-wrap: break-word;
    word-break: normal
}

.table-borderless>thead>tr>th,
.table-borderless>thead>tr>td,
.table-borderless>tbody>tr>th,
.table-borderless>tbody>tr>td,
.table-borderless>tfoot>tr>th,
.table-borderless>tfoot>tr>td {
    border: none;
}

/* instrument_bloc */
        .dispositif-index {
            background-color: #ffffff !important; border-radius: 8px;
            width: 98%;
            position: relative;
            margin-bottom: 20px;
            border-left: 12px solid #ffffff;
            border-right: 12px solid #ffffff;
            padding: 10px 10px;
        }
        .dispositif-index:hover {
            background-color: #e6f4ff !important; border-radius: 8px;
            position: relative;
            margin-bottom: 20px;
            border-left: 12px solid #004475;
            border-right: 12px solid #004475;
        }
        .dispositif-link:hover {
            text-decoration: none;
            background-color: transparent !important;
        }

        .dispositif-link {
            color: #005b8f;
        }
        .name {
            color: #005b8f;
            font-size: 1.8em;
            font-weight: 550;
            margin-top: 10px !important;
            margin-bottom: 32px !important;
            display: inline-block;
            width: 80%;
        }
        .type {
            background-color: #e5da05 !important;
            padding: 16px 20px;
            margin-top: 10px;
            margin-right: -42px;
            color: #005b8f;
            font-size: 1em;
            font-weight: bold;
            position: relative;
            width: 140px;
        }
        .type:after {
            content: '';
            display: block;
            position: absolute;
            top: 100%;
            right: 0%;
            width: 0;
            height: 0;
            border-color:  #a7a500 transparent transparent #a7a500;
            border-style: solid;
            border-width:  5px 10px;
        }
        .infos {
            color: #005b8f;
            display: inline-block;
            font-size: 1.5rem;
        }
        .montant {
            color: #44B7FE !important;
            background-color: #004475 !important;
            display: block !important;
            padding-top: 4px !important;
            padding-bottom: 4px !important;
            border-radius: 8px !important;
            margin: 20px 60px !important;
            font-weight: bold !important;
        }
        .fiche-courte {
            margin-bottom: 8px !important;
            font-weight: 300 !important;
            line-height: 1.4 !important;
        }

/* instrusummary */
.type-left {
    background-color: #e5da05 !important;
    padding: 16px 20px;
    margin-top: 20px;
    margin-left: -38px;
    color: #005b8f;
    font-size: 1em;
    font-weight: bold;
    position: relative;
    width: 140px;
}
.type-left:after {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    left: 0%;
    width: 0;
    height: 0;
    border-color: #a7a500 #a7a500 transparent  transparent ;
    border-style: solid;
    border-width:  5px 10px;
}

@media (min-width: 768px){
    .sticky {
        position: fixed;
        top: 124px;
        z-index: 99 !important;
        width: 100%;
    }
}

.bouton-fiche {
    display: block; margin: 0 auto; background-color: #004475; color: #ffffff; font-size: 24px; white-space: normal;
    border: none; border-radius: 4px; width: 100%; padding: 20px 0px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.bouton-fiche:hover {
    background-color: #e5da05; /* yellow */
    color: #005687;
}

.bouton-lien:hover {
    text-decoration: none;
}

.comparer {
    background-color: #004475; color: #ffffff; white-space: normal;
    border: none; border-radius: 4px; padding: 0.3em 0.5em;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    margin-top:1em;
    z-index:99;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.comparer:hover {
    background-color: #e5da05; /* yellow */
    color: #005687;
    text-decoration: none;
}

@media (min-width: 768px){
    .favo {
        margin-left: 40%;
    }
}

.notification{
    text-align: center;
    color: #004475;
    font-weight: 700;
    position: fixed;
    bottom: 0;
    background-color: #e6f4ff;
    padding: 15px;
    width: 100%;
}

.topbar {
    background-color: #e6f4ff !important;
    padding-bottom: 10px;
}

.titre-dispositif {
    color: #004475 !important;
    text-align: center;
    line-height: 1.6 !important;
}
@media(min-width:992px) {
    .titre-dispositif {
        color: #004475 !important;
        text-align: center;
        padding: 20px 40px;
        line-height: 1.6 !important;
    }
}

.jumbofinelink {
    background-color: #ffffff !important;
    color: #004475 !important;
    border-left: 3px solid #004475;
    font-size: 1.2em !important;
    line-height: 1.6 !important;
    padding-top: 30px;
    padding-bottom: 20px;
}

.fond-bleu {
    background-color: #e6f4ff !important;
}

.recap-infos {
    color: #004475 !important;
    padding-left: 10px;
    padding-right: 10px;
}

.recap-infos-lien {
    color: #004475 !important;
    text-decoration: underline;

}
.recap-infos-lien:hover {
    color: #e5da05 !important;
    text-decoration: underline;
    background-color: transparent;
}


.description {
    padding-left: 10px;
    padding-right: 10px;
}

.collapsible-top {
    font-size: 1.25em;
    text-decoration: underline;
    background-color: #e6f4ff !important;
    border-top: solid 10px #e6f4ff;
    border-bottom: solid 10px #e6f4ff;
    border-left: solid 20px #e6f4ff;
    border-right: solid 20px #e6f4ff;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.collapsible, .collapsible-top {
    color: #004475 !important;
}
.active, .collapsible:hover, .collapsible-top:hover {
    color: #e5da05 !important;
}
.collapsible:focused, .collapsible-top:focused {
    color: #00a2f2;
    border: none;
    width: 100%;
}
.collapsible-content {
    display: none;
}

.collapsible-content-top {
    display: block;
}
@media only screen and (max-width: 768px) {
    .collapsible-content-top {
        display: none;
    }
}

.liens-summary {
    color: #004475 !important;
    font-size: 1.2em;
    font-weight: 550;
    margin: 10px;
    width: 300px;
    text-decoration: underline;
}

.liens-summary:hover {
    text-decoration: underline;
    color: #ffffff !important;
    background-color: transparent;
}

.liens {
    border-left: 2px solid #004475;
    margin-top: 30px;
    width: 0px;
    -webkit-transition: width 1s; /* Safari */
    transition: width 1s;
    white-space: nowrap;
    overflow: visible;
}

.liens:hover {
    width: 400px;
    background-color: #004475;

}

.topBtn {
  display: none;
  position: fixed;
  bottom: 55px;
  right: 10px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #004475;
  color: white;
  cursor: pointer;
  padding-top: 10px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 5px;
  border-radius: 4px;
}


.topBtn:hover {
  background-color: #e5da05;
  color: #004475;
  text-decoration: none;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}
.icon-top {
  width: 1.2158203125em;
}

/*homeinstru*/
.icon-reglage {
    margin-left: 10px;
}

.bouton-filtre {
    background-color: #e6f4ff !important;
    border: none;
}

.filtre-rectangle {
    border: 1px solid !important;
    border-right: none !important;
    border-left: none !important;
    border-color: #d5d5d5 !important;
    width: 100%;
    text-align: left !important;
}

.filtre {
    padding: 0px !important;
}

.sup-filtre {
    color: #004475 !important;
    font-size: 1.2em;
    margin-right: 1.2em;
    font-weight: bold;
}
.sup-filtre:hover {
    color: #e5da05 !important;
    text-decoration: none !important;
}

.filtre-text {
    color: #004475 !important;
}

.dropdown-menu>li>a {
    white-space: normal !important;
}

/* datacompany index*/
#id_search {
    height: 74px;
    font-size: 20px;
    background-color: #ffffff !important;
}

.finelink-talk {
	position: relative;
	color: white; border-radius: 16px;
    max-width: 70%;
    display: table;
    background-color: #004475;
    margin-left: 20px;
    padding: 10px;
}

.finelink-talk:after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 0.719em solid transparent;
	border-right-color: #004475;
	border-left: 0;
	border-top: 0;
	margin-top: -0.359em;
	margin-left: -0.719em;
}

.user-talk {
	position: relative;
    color: white; border-radius: 16px !important;
    max-width: 94%;
    background-color: #00c074;
    margin-right: 20px;
    text-align: right !important;
    padding: 10px;
    display: table;
    white-space: normal !important;
}

.user-talk:after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 0.719em solid transparent;
	border-left-color: #00c074;
	border-right: 0;
	border-top: 0;
	margin-top: -0.359em;
	margin-right: -0.719em;
}

.user-btn {
    color: white !important;
    background-color: #00c074 !important;
}

.user-input-btn {
    color: white !important;
    background-color: #00c074 !important;
    height: 34px;
    border: 1px solid #ccc !important;
    border-left: none !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    padding: 4px 12px !important;
}
.user-input-btn-gray {
    color: black !important;
    background-color:light-gray !important;
    height: 34px;
    border: 1px solid #ccc !important;
    border-left: none !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    padding: 4px 12px !important;
}

.user-edit {
    position: fixed;
    top:40%;
    left:5%;
    width: 90%;
    background: white;
    border-radius: 8px;
    border: 0.1em solid #004475;
}

@media only screen and (min-width: 1024px) {
    .user-edit {
        position: fixed;
        top:40%;
        left:30%;
        width: 40%;
        background: white;
        border-radius: 8px;
        border: 0.1em solid #004475;
    }
}

#chat::-webkit-scrollbar {
width: 10px;
}


/* Handle */
#chat::-webkit-scrollbar-thumb {
    background: #7990a6;
    border-radius: 5px;
}
