﻿html {
    /*overflow-y:scroll;*/
}

.btn-primary.active {
    color: #333333;
}

.btn-primary {
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #e6e6e6;
    *background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary.active,
    .btn-primary.disabled,
    .btn-primary[disabled] {
        color: #333333;
        background-color: #e6e6e6;
        *background-color: #d9d9d9;
    }

    .btn-primary:active,
    .btn-primary.active {
        background-color: #cccccc \9;
    }

.btn-group.open .btn-primary.dropdown-toggle {
    background-color: #e6e6e6;
}

.navbar-inner {
    background-color: #fafafa;
    background-image: -moz-linear-gradient(top, #1C77B5, #1C77B5);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1C77B5), to(#1C77B5));
    background-image: -webkit-linear-gradient(top, #1C77B5, #1C77B5);
    background-image: -o-linear-gradient(top, #1C77B5, #1C77B5);
    background-image: linear-gradient(to bottom, #1C77B5, #1C77B5);
    border: 1px solid #d4d4d4;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1C77B5', endColorstr='#1C77B5', GradientType=0);
    -webkit-box-shadow: 0 0px 4px rgba(0, 0, 0, 0.065);
    -moz-box-shadow: 0 0px 4px rgba(0, 0, 0, 0.065);
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.065);
}

.navbar {
    margin-bottom: 0;
}

    .navbar .brand {
        color: #FFFFFF;
        text-shadow: 0 0 0 #FFFFFF;
    }

    .navbar .nav > li > a {
        color: #FFFFFF;
        text-shadow: 0 0 0 #FFFFFF;
    }

        .navbar .nav > li > a:hover {
            color: #FFFFFF;
            text-shadow: 0 0 0 #FFFFFF;
        }

    .navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
        color: #FFFFFF;
        text-shadow: 0 0 0 #FFFFFF;
    }

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
    outline: 0 none;
}

.nav-list .nav-header {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0.5);
}

.nav-list > .active > a:focus {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0.5);
}

.dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a {
    color: #ffffff;
    text-decoration: none;
    background-image: none;
    background-color: #1C77B5;
}

.btn-primary .caret {
    border-top-color: #333333;
    border-bottom-color: #333333;
}

h3 {
    background-color: #0078b2;
    color: white;
    margin: 0 0 20px 0;
    padding-left: 20px;
    padding-right: 20px;
}

.progress-success .bar, .progress .bar-success {
    background-color: #5EB95E;
    background-image: linear-gradient(to bottom, #d9d9d9, #bfbfbf);
    background-repeat: repeat-x;
}

.grid-saisie th {
    border: thin solid #ffffff;
    background-color: #1C77B5;
    background: -webkit-linear-gradient(#2087CC, #186599);
    background: -moz-linear-gradient(#2087CC, #186599);
    background: linear-gradient(#2087CC, #186599);
    color: #ffffff;
    position: initial;
}

.grid-saisie td {
    padding-bottom: 0px;
}

/* Fait disparaitre le "clear-button" dans les input sous ie */
input::-ms-clear {
    display: none;
}

td.col-button {
    vertical-align: top;
    text-align: center;
}

td.numeric {
    text-align: right;
}

th.numeric {
    text-align: right;
}

td.code {
    text-align: center;
}

td.date {
    text-align: center;
}

td.totaux {
    font-weight: bold;
}

input.activeRow {
    border: 1px solid #f60;
}

input:focus.activeRow {
    border: 1px solid #f60;
}

select.activeRow {
  border: 1px solid #f60;
}

select:focus.activeRow {
  border: 1px solid #f60;
}

a.activeRow {
    border: 1px solid #f60;
}

tr.activeRow a {
    border: 1px solid #f60;
}

textarea.activeRow {
    border: 1px solid #f60;
}

textarea:focus.activeRow {
    border: 1px solid #f60;
}

textarea {
    /* Pour pallier à un bug de l'autosize sous Edge*/
    min-height: 30px;
}

.input-mini-mini-moins {
    width: 18px;
}

.input-mini-mini {
    width: 28px;
}

.input-mini-moins-moins {
    width: 38px;
}

.input-medium-moins {
    width: 134px;
}

.input-medium-moins-moins {
    width: 103px;
}

.input-mini-moins {
    width: 48px;
}

.input-mini-plus {
    width: 68px;
}

.input-mini-plus-plus {
    width: 76px;
}

.input-codeTva {
    width: 22px;
}

.input-date {
    width: 67px;
}

.input-date-big {
    width: 73px;
}

.input-iban-2 {
    width: 18px;
    text-transform: uppercase;
}

.input-iban-3 {
    width: 27px;
    text-transform: uppercase;
}

.input-iban-4 {
    width: 36px;
    text-transform: uppercase;
}

input.numeric {
    text-align: right;
    float: right;
    clear: both;
}

input.numeric_11_3 {
    width: 100px;
}

.ui-datepicker {
    font-size: 10px !important;
}

div.btnAction {
    width: 88px;
}

.form-horizontal .control-group {
    margin-bottom: 10px;
}

legend {
    margin-bottom: 0px;
    line-height: 30px;
    font-size: 14px;
    font-weight: bold;
}

    legend + .control-group {
        margin-top: 10px;
    }

.col-typeahead {
    width: 250px;
}

td.center {
    text-align: center;
}

.required {
    font-weight: bold;
    color: red;
}

input[type="text"].negatif {
    color: red;
}

td.negatif {
    color: red
}

span.negatif {
    color: red !important;
}

span.down-white {
    background-image: url(/Css/images/down_white.png);
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    padding: 0;
}

.col_header > a {
    color: white;
}

.currently-loading {
    background-image: url(../img/attente.gif);
    background-repeat: no-repeat;
    position: absolute;
    height: 48px;
    width: 48px;
    z-index: 10;
}

li.menu_separateur {
    margin-top: 5px;
    margin-bottom: 5px;
}

.menu_separateur hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.popupErreurs {
    color: #b94a48;
    background-color: #f2dede;
    border-radius: 6px 6px 0 0;
}

.align-top {
    vertical-align: top;
}

.ml-2 {
    margin-left: 0.5rem;
}

.overflow-auto {
  overflow: auto !important;
}

@media (max-width: 1466px) {
    .hidden-small-scr {
        display: none;
    }

    .hidden-large-scr {
        display: block;
    }

    td.hidden-large-scr {
        display: table-cell;
    }

    th.hidden-large-scr {
        display: table-cell;
    }
}

@media (min-width: 1467px) {
    .hidden-large-scr {
        display: none;
    }

    .hidden-small-scr {
        display: block;
    }

    td.hidden-small-scr {
        display: table-cell;
    }

    th.hidden-small-scr {
        display: table-cell;
    }
}
