html,
body {
    font-style: normal;
    font-size: 16px;
    line-height: 18px;
    font-family:"Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
    font-weight: normal;
    margin:0;
    padding:0;
    height:100%;
    background-color: #F9F9F9;
    text-align: center;
}

/* 
Permet de ne pas avoir les carrés bleus des liens sur Windows Phone
Aucun impact à priori sur les autres plateformes et navigateurs
*/
a img {
    border : none;
}

#wrapper {
    min-height:100%;
    position:relative;
}

#infos {
    text-align: center;
}

#all_platforms img {
    width: 90%;
    max-width: 450px;
}

#content {
    padding-bottom: 42px;
}

* html content {
    height: 100%;
}

#title_bar {
    /* need a position set to something for z-index to take effect */
    position: relative;
    z-index: 1;
    color: #666666;
    font-size: 18px;
    width: 100%;
    max-width:100%;
    line-height: 44px;
    max-height: 44px;
    overflow: hidden;
    background: #E9E9E9;
    border-top: 4px solid #F7931E;
    border-bottom: 1px solid #DDDDDD;
}

#title_bar .disconnect {
    right:0px;
    top:0px;
    position:absolute;
    margin-top: 7px;
    margin-right: 5px;
    height: 35px;
}

#title_bar .disconnect img {
    max-height: 50px;
    max-width: 50px;
    margin-top:-10px;
}

#title_bar img {
    max-height: 32px;
    max-width: 32px;
}

.previous_btn {
    left:0px;
    top:0px;
    position:absolute;
    margin-top: 6px;
    margin-left: 5px;
    height: 33px;
}

.notifications {
    left:0px;
    top:2px;
    position:absolute;
    margin-top: 3px;
    margin-left: 5px;
    height: 33px;
    padding-right: 5px;
    padding-left: 2px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    /*
    background: #4F4F4F;
    */
}

.has_notif {
    background: #F7931E;
}

.notifications, .notifications a {
    color:#fff;
    text-decoration:none;
}

.notifications_count {
    text-decoration:none;
    display:block;
    color: #FFF;
    font-size:14px;
    padding-left: 5px;
    float:left;
    margin-top: -5px;
}

#title_bar .notifications img {
    margin-left: 4px;
    max-height: 24px;
    max-width: 24px;
}

#title_bar .home {
    right:0px;
    top:-2px;
    position:absolute;
    margin-top: 7px;
    margin-right: 5px;
    height: 35px;
}

.home img {
    max-height: 30px;
    max-width: 30px;
}

.app_button {
    -webkit-border-radius: 20px;
    border-radius: 20px;
    display: inline-block;
    padding: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    width: auto;
    min-width:250px;
    background:#F7941E;
    background: -webkit-gradient(linear, 0 0, 0 70%, from(#F7941E), to(#D37F18));
    background: linear-gradient(#F7941E, #D37F18 70%);
    border: 1px solid #C97917;
    font-size: 16px;
    height:auto;
    min-height: 40px;
    line-height: 40px;
    color:#fff;
    text-align: center;
}

.green {
    background: #00662C;
    background: -webkit-gradient(linear, 0 0, 0 70%, from(#008138), to(#009842));
    background: linear-gradient(#008138, #009842 70%);
    border: 1px solid #00662C;
}

.red {
    background: #C10013;
    background: -webkit-gradient(linear, 0 0, 0 70%, from(red), to(#C10013));
    background: linear-gradient(red, #C10013 70%);
    border: 1px solid #C10013;
}

.mini_button {
    min-width: 110px;
}

#back_button {
    background: grey;
}

.view {
    padding: 10px;
    padding-top: 20px;
    display: none;
}

.subHeader {
    font-style: italic;
    font-size: 14px;
    padding-left: 50px;
    padding-right: 50px;
}


/* gère le visuel des graphiques par défaut */
.image {
    width: 100%;
    transition: all .5s ease;
    max-width:1200px;
}

/* gère le visuel des graphiques agrandis */
.enlargeImg {
    height: 100%;
    margin-top:10%;
}

/* bouton de fermeture */
.closeButton {
    display: none;
    position: absolute;
    right: 0;
    width: 35px;
    height: 35px;
    top: 0;
    margin-top: 5px;
    margin-right: 5px;
}

.closeButton img {
    height:100%;
}

/* si on a une image agrandie, on n'affiche pas la barre de titre ni le footer  */
.hasEnlargeImage #title_bar, .hasEnlargeImage .footerContent {
    display:none;
}

/* si on a pas d'image agrandie, on affiche la barre de titre et le footer */
.hasNoEnlargeImage #title_bar, .hasNoEnlargeImage .footerContent {
    display:block;
}

/* si on a pas d'image agrandie, on n'affiche pas l'indicateur de rotation */
#parentDiv.hasNoEnlargeImage #rotationHint {
    display:none;
}

/* si on a une image agrandie, on affiche l'indicateur de rotation (les media-queries s'occuperont de le cacher si besoin) */
#parentDiv.hasEnlargeImage #rotationHint {
    display:block;
}

.fullCenteredParent {
    position: absolute; 
    left: 50%; 
    top:calc(50% - 64px);
    z-index:9999;
}

.fullCenteredChild {
    position: relative; 
    left: -50%; 
    top: -50%; 
}

.fullCenteredChild img {
    height:128px;
}

@media screen and (orientation: landscape) {
    /* on cache ce qui doit être en portrait uniquement */
    .onlyPortrait {
        display : none;
    }

    /* on cache l'indicateur de rotation puisqu'on est en paysage ! */
    #parentDiv.hasEnlargeImage #rotationHint {
        display:none;
    }
}

@media screen and (orientation: portrait) {
    /* on affiche ce qui doit être en portrait uniquement */
    .onlyPortrait {
        display : block;
    }

    /* on affiche l'indicateur de rotation puisqu'on est en portrait ! */
    #parentDiv.hasEnlargeImage #rotationHint {
        display:block;
    }

    /* l'image agrandie est tournée de 90°, déplacée pour être centrée, agrandie et floutée pour inciter à la rotation ! */
    .enlargeImg {
        height: 100%;
        margin-top: 0px;
        transform-origin: 50% 0;
        transform: rotate(90deg) translate(100%, -100%) scale(2);
        filter: blur(2px);
    }
}

#refuel_form {
    display:none;
    line-height:46px;
}

#operation_form {
    display:none;
    line-height:46px;
}

#kmlog_form {
    display:none;
    line-height:46px;
}

#refuel_form_left {
    width:50%;
    float:left;
    max-width:50%;
}

#refuel_form_inside_left {
    float:right;
    padding-right: 10px;
    text-align: left;
}

#refuel_form_label {
    max-height:46px;
    overflow:hidden;
}

#refuel_form_right {
    width:50%;
    float:right;
}

#refuel_form_inside_right{
    float:left;
    text-align:left;
    max-width:100%;
}

#refuel_form_radio {
    line-height:23px;
}

#welcome {
    display: block;  
}

.wide_input {
    width: 280px;
}

input, select, option {
    background-color:#fff;
    font-size: 18px;
    font-weight: 200;
    padding:3px;
    border:1px solid grey;
    border-radius:10px;
    width:150px;
    box-shadow:1px 1px 2px #C0C0C0 inset;
}

textarea {
    background-color:#fff;
    font-size: 14px;
    font-weight: 200;
    padding:3px;
    border:1px solid grey;
    border-radius:10px;
    width:150px;
    box-shadow:1px 1px 2px #C0C0C0 inset;
}

.small_input {
    width:95px;
}

.select_date2 {
    width:60px;
}

.select_date4 {
    width:85px;
}

input[type=radio] {
    width:18px;
    height:18px;
}

input[type=checkbox] {
    width:23px;
    height:23px;
}

input:focus, textarea:focus {
    background-color:#ccc;
}

#validateButtons {
}

.vehicleBox {
    font-size: 14px;
    display: block;
    padding: 10px;
    text-align: center;
    min-width: 280px;
    max-width: 320px;
    min-height: 320px;
    border : 1px solid #CCCCCC;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
    display:inline-block;
    position:relative;
    vertical-align: middle;
}

.withoutHeight {
    height: auto;
}

.vehicleBoxTitle {
    font-size: 16px;
    width:80%;
    display: inline-block;
    color: white;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.45);
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background: #F7931E;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
    border: 1px solid #004754;
    padding: 6px 14px;
    height: 20px;
    overflow: hidden;
}

.vehicleSellImage {
	background: url("images/vehicle_sell.png") no-repeat;
	background-size: 90% 100%;
	background-position: center;
}

.vehicleDesactivateImage {
	background: url("images/vehicle_desactivate.png") no-repeat;
	background-size: 90% 100%;
	background-position: center;
}

img.vehicleSell {
	filter:alpha(opacity=40);
	opacity:0.4;
}

.vehicleBoxImage {
    padding-top: 10px;
    max-width:115px;
    width: 115px;
    max-height: 100px;
    float:left;
    overflow:hidden;
}

.vehicleBoxImage img {
    max-width: 90%;
    max-height: 90%;
}

.vehicleBoxImageCenter {
    padding-top: 30px;
    max-width:400px;
    max-height: 250px;
    overflow:hidden;
}

.vehicleBoxImageCenter img {
    max-width: 70%;
    max-height: 70%;
}

.vehicleBoxInfos {
    font-size: 12px;
    line-height: 26px;
    position: relative;
    margin-top: 10px;
    margin-left: 5px;
    max-width:156px;
    width: 156px;
    height:90px;
    max-height: 90px;
    float:left;
    text-align: left;
}

.vehicleBoxLinks {
    position: relative;
    max-width:100%;
    width: 100%;
    text-align: left;
}

.vehicleBoxLink {
    cursor: pointer;
    display: block;
    margin-top: 10px;
    margin-left: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 10px;
    width: 85%;
    margin-right: 5px;
    float:center;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #004754;
    padding: 6px 14px;
    height: 20px;
    overflow: hidden;
}

.highlight {
    background: #CCCCCC;
}

.vehicleBoxLinkImage {
    width:40px;
    display: inline-block;
}

.vehicleBoxLinkImage img {
    max-height: 20px;
}

.vehicleBoxLinkText {
    display: inline-block;
    position: absolute;
}

.vehicleBoxLinkGo {
    float: right;
    margin-top: -5px;
    margin-right: -10px;
}

.vehicleBoxLinkGo img {
    max-height: 30px;
}


.footerContent a {
    color:#666666;
    text-decoration:underline;
}

.footerContent a:hover {
    color:#666666;
    text-decoration:none;
}

.footerContent {
    position:absolute;
    bottom:0;
    left:0;
    font-size:13px;
    line-height: 20px;
    color:#666666;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    height:42px;
    min-width: 100%;
    width:100%;
    overflow: hidden;
    background: #E9E9E9;
    border-top: 2px solid #F7931E;
}

.footerInner {
    position: relative;
    margin-left:auto;
    margin-right:auto;
    width:100%;
    height:42px;
}

.footerInnerLeft {
    float: left;
    margin-right: 10px;
    margin-top: -8px;
    padding-left : 10px;
}

.footerInnerRight {
    float: right;
    margin-left: 10px;
    margin-top:-8px;
    padding-right : 10px;
}

.footerInnerCenter {
    overflow: hidden;
}

#result {
    padding-bottom: 50px;
}

.notif_display {
    margin-left: auto; /* pour le centrage de la div */
    margin-right: auto; /* pour le centrage de la div */
    background:#EBEBEB;
    padding:10px;
    width:90%;
    max-width: 450px;
    margin-bottom: 20px;
    min-height: 80px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-bottom: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.notif_display_future {
    opacity: .5;
}

.notif_admin {
    background: #F7931E;
    background: -moz-linear-gradient(top, rgba(251, 166, 51, 0.9), rgba(220, 132, 14, 0.7)) no-repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(251, 166, 51, 0.9)), color-stop(1, rgba(220, 132, 14, 0.7))) no-repeat scroll 0 0 transparent;
    color:#FFF;
}

#notif_picture {
    float: left;
    width:80px;
    margin-top: 5px;
    overflow:hidden;
    text-align: center;
}

#notif_picture img {
    max-height: 80px;
    max-width: 80px;
}

#notif_hide {
    position:relative;
    float:right;
}

#notif_hide img {
    max-height: 13px;
    max-width: 13px;
}

#notif_text {
    text-align: left;
    margin-left: 90px;
    margin-right: 22px;
}


.classes_co2 {
    background: url(images/classes_emissions_CO2.png) no-repeat;
    background-size: 75%;
    height:18px;
    width: 60px;
}

.classeAplus {
    background-position: 0px 0px;
}

.classeA {
    background-position: 0px -33px;
}

.classeB {
    background-position: 0px -66px;
}

.classeC {
    background-position: 0px -99px;
}

.classeD {
    background-position: 0px -131px;
}

.classeE {
    background-position: 0px -164px;
}

.classeF {
    background-position: 0px -197px;
}

.classeG {
    background-position: 0px -229px;
}

.synthesisLegalInfos {
    float: bottom;
    font-size: 10px;
    font-style: italic;
    color:grey;
    line-height: 14px;
    text-align: left;
}

.redFont {
    display: inline;
    color: red;
}

.orangeFont {
    display: inline-block;
    color: #FF851B !important;
}

.boldFont {
    display: inline;
    font-weight: bold;
}

.bigFont {
    font-size: 16px;
}

.smallFont {
    font-size: 10px;
}

.underlineFont {
    text-decoration: underline;
}

.post-it {
    margin-top: 15px;
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
    background:#fefabc; 
    padding:15px; 
    font-family: 'Reenie Beanie';
    /*font-family: 'Gloria Hallelujah', cursive; */
    font-size:26px; 
    color: #000; 
    -moz-transform: rotate(-4deg);
    -webkit-transform: rotate(-4deg);
    -o-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg);
    box-shadow: 0px 4px 6px #333;
    -moz-box-shadow: 0px 4px 6px #333;
    -webkit-box-shadow: 0px 4px 6px #333;  
    border-bottom-right-radius: 60px 5px;
    background: rgb(255,255,136); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(255,255,136,1) 77%, rgba(255,255,214,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(77%,rgba(255,255,136,1)), color-stop(100%,rgba(255,255,214,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg, rgba(255,255,136,1) 77%,rgba(255,255,214,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, rgba(255,255,136,1) 77%,rgba(255,255,214,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, rgba(255,255,136,1) 77%,rgba(255,255,214,1) 100%); /* IE10+ */
    background: linear-gradient(-45deg, rgba(255,255,136,1) 77%,rgba(255,255,214,1) 100%); /* W3C */
}

#inside_details {
    width:100%;
    height:100%;
    text-align:left;
}

#details_info {
    height:100%;
    width:90%;
    float:left;
}

#details_actions {
    height:95%;
    width:40px;
    right: 0;
    position: absolute;
    margin-right: 10px;
}

#details_actions_inside {
    bottom:0;
    position:absolute;
}

.jsDiff_del {
    text-decoration: none;
    color: #b30000;
    background: #fadad7;
}

.jsDiff_ins {
    background: #eaf2c2;
    color: #406619;
    text-decoration: none;
}

.underlinedLink {
    color:#a84444;
    text-decoration: underline;
    cursor: pointer;
}