/* body{
	background-color: #FFF;
} */

.contact .col {
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    float: left;
    width: 100%;
}

.contact .col50 {
    width: 50%;
}

.contact input {
    width: 100%;
}

.contact .row {
    width: 100%;
}

div.col-xs-8:nth-child(n + 1) {
    margin-top: 2rem;
}

.row {
    margin: 0;
}

@media (min-width: 768px) {
    #page-wrapper {
        border: 0;
        margin: 0 25px 0 275px;
    }
    .animimg {
        position: relative;
        top: -100px;
    }
    .animbt {
        position: relative;
        top: -250px;
    }
    .navbar {
        min-height: 0px;
    }
}

@media screen and (max-width: 767px) {
    .menu-title {
        opacity: 1 !important;
    }
    .toggle-menu {
        width: 100% !important;
        height: auto;
    }
    .menu-push-toright {
        left: 0px !important;
    }
    .navbar-collapse {
        top: -203px;
        width: 700px;
        height: 600px;
        z-index: 10000;
    }
    .toggle-menu a {
        font-size: 15px !important;
        padding: 0.5em !important;
    }
    .navbar-collapse {
        display: none;
    }
}

nav.navbar.navbar-default.navbar-static-top {
    margin-bottom: 30px;
}

.leaflet-top,
.leaflet-bottom {
    z-index: 500 !important;
}

.legende {
    margin-bottom: 10px;
}

body.sfl_history .main h1::after,
body.blb_history .main h1::after {
    background: none;
}

/*test menu*/

li.disabled a,
li.disabled a:hover {
    background-color: #3b3939;
}

.nav > li > a {
    padding-left: 12px;
}

.toggle-menu {
    position: fixed;
    width: 50px;
    height: 100%;
    z-index: 1000;
    left: 0;
}

.toggle-menu a {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    /* border-bottom: 1px solid #258ecd;*/
    padding: 1em;
    background: #05375e;
    white-space: nowrap;
}

.toggle-menu a:hover {
    background: #05375e;
    text-decoration: none;
}

.menu-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}

.menu-push-toright {
    left: 190px;
}

.menu-title {
    white-space: nowrap;
    vertical-align: middle;
    color: #fff;
}

.menu-sub-title {
    font-size: 13px;
}

.sidebar ul li ul li a {
    font-size: 15px;
}

/* Vertical menu that slides from the left or right */

.menu-open {
    width: 280px;
}

.menu-open .menu-title {
    opacity: 1;
}

.menu-left {
    background-color: #05375e;
    position: fixed;
    width: 250px;
    height: 100%;
    z-index: 1000;
    left: 0;
    font-family: "Open Sans", sans-serif;
}

/* Transitions */

.toggle-menu,
.menu-push {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

/* #graph{
	min-height:1000px;
} */

#graph-container,
#graph2-container {
    width: 100%;
    padding-right: 1rem;
}

@media (max-width: 768px) {
    #graph-container,
    #graph2-container {
        min-height: 400px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #graph-container,
    #graph2-container {
        min-height: 500px;
    }
}

@media (min-width: 1024px) and (max-width: 2048px) {
    #graph-container,
    #graph2-container {
        min-height: 600px;
    }
}

@media (min-width: 2048px) {
    #graph-container,
    #graph2-container {
        min-height: 800px;
    }
}

.main > h1 {
    background: #fff none 0 50% no-repeat;
    background-size: contain;
    color: #000;
    text-transform: none;
    font-size: 1.4em;
    line-height: 2.3;
    font-weight: bold;
    padding: 0 2.3em;
    margin: 0 -0.4em;
    border: none;
    position: relative;
}

.main > h1::after {
    background-color: #f4f4f4;
    border-radius: 7px;
    content: " ";
    display: block;
    width: 2em;
    height: 2em;
    position: absolute;
    right: 0.1em;
    top: 0;
}

body > .main {
    position: absolute;
    z-index: 1;
    -ms-perspective: 45em;
    -webkit-perspective: 45em;
    perspective: 45em;
    -ms-perspective-origin: 50% 50%;
    -webkit-perspective-origin: 50% 50%;
    perspective-origin: 50% 50%;
}

.main {
    background-color: #fff;
    top: 1em;
    bottom: 1em;
    left: 0em;
    right: 1em;
    /*border: 0.1em solid #E9E9E9;*/
}

#main-state {
    display: none;
}

/*ici*/

.main > section {
    top: 3em;
    /*bottom: 0;*/
    right: 0;
    left: 0;
    background-color: #fff;
    transition: all 0.5s ease-in-out;
    transition-property:
        -ms-transform,
        -webkit-transform,
        transform,
        z-index;
    -ms-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: auto;
}

#main-state-change {
    font-family: FontAwesome;
    font-size: 2em;
    line-height: 1.45em;
    position: absolute;
    top: 0;
    right: 0.3em;
    height: 1.45em;
    width: 1.45em;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    cursor: pointer;
    -ms-transform: rotate(0);
    -webkit-transform: rotate(0);
    transform: rotate(0);
    transition: all 0.5s ease-in-out;
    transition-property:
        -ms-transform,
        -webkit-transform,
        transform;
    background: url(/images/flechesf.png) 0 0 no-repeat;
    background-size: 80%;
    background-position: 25% 25%;
}

#main-state-change:before {
    /*content:"\f0e2";*/
    content: " ";
}

#main-state:checked ~ #main-state-change {
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}

#main-state ~ section + section {
    z-index: 1;
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    height: 0;
    margin-top: 0;
}

#main-state ~ section,
#main-state:checked ~ section + section {
    z-index: 2;
    -ms-transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    height: auto;
}

#main-state:checked ~ section {
    z-index: 1;
    -ms-transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    height: 0;
    margin-top: 0;
}

.no-csstransforms #main-state ~ section + section,
.no-csstransforms #main-state:checked ~ section {
    display: none;
}

.no-csstransforms #main-state:checked ~ section + section,
.no-csstransforms #main-state ~ section {
    display: block;
}

/* quelques style pour les tableaux */

body.krm_plan_allumage #tabular-data table th {
    padding: 0;
    height: 2em !important;
}

body.krm_plan_allumage #tabular-data table th.j {
    width: 2em !important;
}

body.krm_plan_allumage #tabular-data table td {
    border: 1px solid #000;
    height: 2em !important;
    width: 2em !important;
}

.table > tbody + tbody {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#tabular-data td,
#tabular-data2 td {
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

#tabular-data td.picto,
#tabular-data2 td.picto {
    width: 1em;
    text-align: center;
}

#tabular-data,
#tabular-data2 {
    overflow: auto;
}

#tabular-data h2,
#tabular-data2 h2 {
    padding: 0 0.5em;
}

#tabular-data table,
#tabular-data2 table {
    margin-bottom: 40px;
}

#tabular-data th,
#tabular-data td,
#tabular-data2 th,
#tabular-data2 td {
    padding: 0.4em 1em;
    overflow: hidden;
}

#tabular-data td,
#tabular-data2 td {
    text-align: right;
}

#tabular-data th,
#tabular-data2 th {
    font-weight: bold;
    color: #fff;
    border: none;
    text-align: center;
    position: relative;
    vertical-align: middle;
}

.table-hover > tbody > tr:hover {
    background-color: #777575;
    color: #fff;
}

tr.odd {
    background-color: #f3f3f3;
}

tr.odd1 {
    background-color: #e8f1f5;
}

td.gauche {
    text-align: left !important;
}

#tabular-data2 table {
    table-layout: fixed;
}

#tabular-data th.group,
#tabular-data2 th.group {
    background-color: #1e375b;
}

#tabular-data th.n,
#tabular-data th.j,
#tabular-data2 th.n,
#tabular-data2 th.j {
    background-color: #387eb0;
}

#tabular-data th.n1,
#tabular-data th.g,
#tabular-data2 th.n1,
#tabular-data2 th.g {
    background-color: #4ea6e2;
}

#tabular-data th:empty,
#tabular-data td:empty {
    border: 0;
    /*background-color: transparent;*/
}

#tabular-data th.g {
    border-bottom: 1px solid #000;
}

#tabular-data table + h2 {
    margin-top: 1em;
}

#href-container {
    width: 95%;
    padding: 1em;
}

#href-container a {
    color: #cccccc;
    font-weight: bold;
}

#href-container a.active,
#href-container a:hover {
    color: #333333;
}

input[type="submit"] {
    position: relative;
    z-index: 10;
    background-color: #157fb5;
    border: inherit;
    /*height: 36px;*/
    color: white;
}

.lien_histo {
    font-size: 14px;
    padding: 10px;
    border: 1px solid #337ab7;
    border-radius: 11px;
}

/* Style pour changer la couleur des regroupements  */

/*.marker-cluster-medium, .marker-cluster-small, .marker-cluster-medium div, .marker-cluster-small div ,.marker-cluster-large, .marker-cluster-large div{
	background-color: rgba(94, 87, 81, 0.6)!important;
}*/

.marker-cluster {
    margin-left: -20px !important;
    margin-top: -20px !important;
    width: 40px !important;
    height: 40px !important;
    /*	transform: translate3d(542px, 64px, 0px)!important;
	z-index: 64!important;*/
}

.marker-cluster-large,
.marker-cluster-large div {
    background-color: rgba(188, 19, 57, 0.6) !important;
}

.marker-cluster-small,
.marker-cluster-small div {
    background-color: rgba(49, 167, 49, 0.5) !important;
}

.marker-cluster-maintenance,
.marker-cluster-maintenance div {
    background-color: rgba(0, 102, 255, 0.5) !important;
}

.marker-cluster-installation,
.marker-cluster-installation div {
    background-color: rgba(130, 88, 250, 0.5) !important;
}

.marker-cluster span {
    color: #ffffff !important;
}

section#graph,
section#tabular-data,
section#tabular-data2 {
    margin-top: 4%;
}

@media (max-width: 768px) {
    section#graph,
    section#tabular-data,
    section#tabular-data2 {
        margin-top: 20%;
    }
}

.sidebar-nav.navbar-collapse {
    font-size: 18px;
}

i.fa.fa-home {
    font-size: 25px;
}

a:hover {
    text-decoration: none !important;
}

/* Fin styles regrouepement */

/* Détail anomalies sf sous la carte */

#detail_carte {
    margin-top: 15px;
}

/* Fin  Détail anomalies sf sous la carte */

.btn-install {
    color: #fff;
    background-color: #8258fa;
    border-color: #8258fa;
}

.btn-install:hover {
    color: #fff;
    background-color: #7451da;
    border-color: #5f41b5;
}

.btn-maintenance {
    color: #fff;
    background-color: #3686f3;
    border-color: #3686f3;
}

.btn-maintenance:hover {
    color: #fff;
    background-color: #327bde;
    border-color: #2967bb;
}

.forgotten {
    color: #f00;
}

.navbar-brand {
    padding-top: 5px;
    padding-left: 20px;
    padding-bottom: 5px;
    height: auto;
}

/* .navbar{
	min-height: 82px;
} */

.navbar-top-links li a {
    min-height: 82px;
    color: #000;
    font-size: 2rem;
    padding-top: 25px;
}

.dtenav {
    min-height: 82px;
    color: #000;
    font-size: 2rem;
    text-align: center;
    padding-top: 25px;
    padding-right: 20px;
    border-right: solid 1px #000;
    border-left: solid 1px #000;
    padding-left: 20px;
}

/* .navbar-static-top {
	border-bottom: solid 1px #000;
} */

.btn-primary {
    background-color: #c72924 !important;
    border-color: #c72924 !important;
}

.btn-animation {
    width: 255px !important;
    margin: auto;
}

.sidebar {
    background-color: #000;
    color: #fff;
}

.nav > li > a:hover {
    background-color: #3476a6;
}

.nav > li > a:focus,
.nav > li > a:hover {
    text-decoration: none;
    background-color: inherit;
}

.sf-active {
    background-color: #3476a6 !important;
}

.nav > li {
    color: #fff;
    border-bottom: 1px #fff solid;
    list-style: none !important;
}

.sidebar a {
    color: #fff;
}

@media (min-width: 768px) {
    body.login {
        background: url(/images/filigrane.png) center 0 no-repeat;
        background-size: 60%;
    }
    body.login .login-panel {
        margin-top: 20%;
    }
    body.login .col-logo img {
        padding: 5px;
    }
    body.accueil {
        background: url(/images/filigrane.png) center 0 no-repeat;
        background-size: 55%;
        background-position: right;
    }
    body.accueil .col-lg-3 {
        padding: 5px;
    }
    body.accueil .col-lg-3 img {
        width: 100%;
    }
    body.accueil .menu-item {
        width: 60%;
        padding: 5%;
        margin: auto;
    }
}

.datepicker.dropdown-menu {
    z-index: 9000;
}

tbody.collapse > tr > td:first-child {
    padding-left: 5rem !important;
}

.menu-container > hr {
    height: 1px;
    background-color: #05375e;
}

.titre {
    font-size: 1.4em;
    color: #05375e;
    font-weight: 500;
}

body {
    font-family: "Montserrat", sans-serif;
}

.menu-item {
    color: #fff;
}

.fa-size {
    font-size: 27px;
}

.sidebar-device-name {
    font-size: 10px;
    font-weight: 600;
    padding-left: 34px;
}

#overlay {
    position: fixed;
    /* Sit on top of the page content */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 999999;
    /* Specify a stack order in case you're using a different order for other elements */
    display: none;
}

#overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.select2.select2-container {
    max-width: 100%;
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .menu-item {
        min-height: 340px;
    }
}

body.krm_plan_allumage #tabular-data table.auto-cell td {
    width: auto !important;
}

.btn-export-donnees {
    font-weight: bold;
    margin-left: 1em;
}