html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

#wrapper {
    position: relative;
    /* r�f�rent du footer */
    min-height: 70%;
}

#main {
    position: relative;
    margin: auto;
    max-width: 2000px;
    font-size: 0.9em;
    /* overflow-x: hidden; */
    padding-bottom: 8em;
}

.container {
    /*    margin-left: 0 !important;
        margin-right: 0 !important;*/
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    top: 1px;
}

@media (min-width:2048px) {
    .container {
        width: 1170px;
    }
}

.cadre_message,
.cadre_avert,
.cadre_avert_transp,
.cadre_success,
.cadre_cornee {
    max-width: 450px;
    width: 95%;
    padding: 15px 20px !important;
    margin-top: 30px !important;
    border-radius: 5px;
}

.cadre_avert {
    background-color: #ec6607;
    color: black;
}

.cadre_avert_transp {
    background-color: transparent;
    border: black 1px solid;
    color: black;
    font-weight: bold;
}

.cadre_message {
    background-color: #c5093d;
    color: white;
}

.cadre_success {
    background-color: #97b952;
    color: white;
}

.cadre_avert_ss_postit {
    min-width: 180px;
    width: 95%;
    padding: 10px !important;
    margin-top: 10px !important;
    border-radius: 5px;
    background-color: transparent;
    border: #666666 3px solid;
    color: #666666;
    font-weight: bold;
    font-size: 9px;
}

.cadre_message_ss_postit {
    z-index: 1001;
    min-width: 180px;
    width: 95%;
    padding: 10px !important;
    margin-top: 10px !important;
    border-radius: 5px;
    background-color: white;
    border: #c5093d 3px solid;
    color: #c5093d;
    font-weight: bold;
    font-size: 9px;
}

.cadre_message_ss_postit * {
    color: #c5093d;
}

.cadre_cornee {
    background-color: #3cb371;
    color: black;
}

.warning-accueil {
    margin-bottom: 20px;
    padding: 20px;
    border: lightgrey 1px solid;
    border-left: red 2px solid;
    background: #fcfcfc;
    color: red;
    font-size: 1.1em;
}

#header {
    /*background: url(init/logolcs_cercle.png) no-repeat 90%;*/
    /*background-color: #c5073c;*/
    height: 90px;
    /*padding-top: 2%;*/
    padding: 0;
    margin-bottom: 10px;
    /*margin-left: -160px;*/
    display: block;
}

#footer {
    position: absolute;
    width: 100%;
    height: 4em;
    bottom: 0;
    left: 0;
    /*margin-top: 20px;*/
    text-align: center;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

#block_logoIAdapt {
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
    color: #fff;
}

#logoIAdapt {
    max-width: 300px;
    max-height: 60px;
}

#header .container {
    position: relative;
}

#header #logoLCS,
#header .logoLCS {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent no-repeat 90%;
    display: inline-block;
    height: 90px;
    width: 160px;
    margin: 0;
    margin-top: -1px;
    margin-left: 15px;
    padding: 0;
    vertical-align: middle;
    z-index: 1;
}

#header #logoLCS {
    right: 170px;
}

#header #lien,
#lien_compte,
#lien_histo,
#lienlcs,
#lien_formations {
    background: none;
    border: none;
    color: white;
    margin: 0;
    margin-left: 5%;
    padding: 2px 10px;
    vertical-align: bottom;
}

#lien_compte,
#lien_histo,
#lien_formations {
    margin-left: 0;
    margin-bottom: -2px;
    padding: 2px 0;
}

#lienlcs {
    margin-left: 5%;
}

#header #lien:hover,
#lien_compte:hover,
#lien_histo:hover,
#lienlcs:hover,
#lien_formations:hover {
    text-decoration: underline;
}

#header #lien:active,
#lien_compte:active,
#lien_histo:active,
#lienlcs:active,
#lien_formations:active {
    background-color: #ddd;
    color: black;
}

#table_porteurs {
    width: 500px;
}

#table_histo {
    width: 50%;
}

#table_porteurs,
#table_histo {
    cursor: default;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}

#lens_title {
    display: inline-block;
    margin: 10px auto;
}

a,
a:hover {
    color: white;
}

h1,
legend {
    color: #c5093d;
    font-size: 1.4em;
    vertical-align: middle !important;
}

h2 {
    font-size: 1.1em;
}

thead {
    color: #c5093d;
}

label {
    padding-right: 0.5em;
    font-weight: normal;
    /*padding-top: 0 !important; */
    padding: 2px 5px !important;
    border-radius: 3px;
    margin: 0 2px;
}

.form-group {
    padding: 1em 0 1em 0;
    margin: 0;
}

.nav.nav-tabs {
    position: relative;
}

.tab-content {
    padding-top: 20px;
}

.nav>li>a {
    color: #666666;
}

ul.nav li.active a {
    color: #c5093d !important;
    height: 40px;
}

#OD1,
#OD2,
#OD3,
#OD4,
#OD20,
#OD30 {
    max-width: 470px;
}

.tab-pane.fade.active.in {
    width: 100%;
}

#first_lentille #OD1,
#modif_lentille #OD2,
#modif_expert #OD3,
#cmd_direct #OD3,
#trial_set #OD4,
#cmd_direct #OD20,
#cmd_direct #OD30 {
    float: left;
    width: 40%;
}

.postitOrderEasily,
.postitEBS,
.postitICD,
.postitAKS,
.postitLRPG,
.postitCRT,
.postitAeriaMC,
.postitPauneLens,
.postitOCEA {
    /*float: left;*/
    width: 20%;
    padding-top: 30px;
    padding-right: 5px !important;
    padding-bottom: 15px;
    padding-left: 15px !important;
    margin-top: 15px;
    border-radius: 40px 0 40px 40px;
    box-shadow: 3px 6px 5px 1px #656565;
}

#first_lentille #OG1,
#modif_lentille #OG2,
#modif_expert #OG3,
#cmd_direct #OG3,
#cmd_direct #OG20,
#cmd_direct #OG30 {
    margin-left: 60%;
    width: 40%;
}

#result_OD1,
#result_OD2,
#result_OD3,
#result_OD4,
#result_OD20,
#result_OD30 {
    padding-bottom: 15px;
}

.postitOrderEasily,
.postitEBS,
.postitICD,
.postitAKS,
.postitLRPG,
.postitCRT,
.postitAeriaMC,
.postitPauneLens,
.postitOCEA {
    min-width: 180px;
    min-height: 400px;
}

.bouton-convert {
    width: 75%;
    height: 48px;
    line-height: 42px;
    margin: auto;
    border: white 3px solid;
    border-radius: 25px;
    box-shadow: rgba(90, 77, 72, 0.27) 0px 1px 1px;
    background: #5a4d48;
    color: white;
}

/*#modif_lentille .postitLRPG strong {
    font-size: 1.5em;
}

#modif_lentille .postitLRPG {
    font-size: 0.8em;
}*/

.form-horizontal .control-label {
    text-align: left;
}

.control-label {
    vertical-align: middle !important;
}

.form-horizontal .control-label.text-center {
    text-align: center;
}

.form-horizontal .form-group {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.form-group {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
}

input[type=number] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    margin: 0;
}

input[type=number],
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    margin: 0;
}

input[type="radio"],
input[type="checkbox"] {
    margin-top: 0;
}

input {
    height: 30px;
    margin: 0 2px;
}

textarea,
select {
    margin: 0 2px;
}

#inputCust,
#inputNom,
#inputPrenom {
    width: 11em !important;
}

#inputDate {
    width: 8em !important;
}

.input-sm {
    width: 6em !important;
}

.input-axe {
    width: 4em !important;
}

.input-rayon {
    width: 5.8em !important;
}

.input-puissance {
    width: 5.7em !important;
}

input.input-borderless,
select.select-borderless {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

input.input-borderless:not(.error_input):not(:hover):not(:active),
select.select-borderless:not(.error_input):not(:hover):not(:active) {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 1px !important;
    padding-right: 1px !important;
}

.container.results {
    max-width: 180px;
    float: left;
    padding-bottom: 15px;
}

.container.results {
    max-width: 160px
}

.container.postitAll {
    position: relative;
    position: sticky;
    width: 210px;
    float: left;
}

.container.postitAll .imageClip {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 53px;
    background: transparent url(../images/clip.png) no-repeat;
    background-position: 75% 3px;
    z-index: 100;
}

.boutons_cmd.results {
    text-align: center;
    margin-top: 15px;
    /*margin-left: -15%;*/
}

select {
    height: 30px !important;
    padding: 4px 6px !important;
    background-image: none !important;
    background-color: #F1F1F1 !important;
}

h1 {
    display: inline;
}

#texte_date_naissance {
    font-size: 0.8em;
}

#ia_historique {
    float: left;
    width: 52%;
    min-height: 200px;
    max-height: 400px;
    margin-top: 20px;
}

.ligne_commande {
    overflow-y: scroll;
}

#square_commande,
#square_importation,
#square_comments {
    /* display: inline-block; */
    width: 48%;
    padding-left: 50px;
    float: left;
}

.ligne_commande {
    font-size: 13px;
}

#btn_nouveau_calcul {
    margin-top: 10px;
    float: left;
    width: 52%;
}

.ui-widget-content {
    background-color: white !important;
}

.radio input[type=radio],
input[type=radio] {
    vertical-align: middle
}

#image_od,
#image_og {
    position: fixed;
    top: 10px;
    z-index: 1000;
}

#image_od {
    right: 10%
}

#image_og {
    left: 10%
}

#block_image_od,
#block_image_og {
    position: absolute;
    top: 80px;
    z-index: 1000;
}

/*#block_image_og,
#block_image_od {
    min-width: 660px;  TODO meilleure facon de faire
}*/

#block_image_od {
    left: 460px;
    right: 0;
    text-align: right;
}

#block_image_og {
    left: 0;
    right: 480px;
    text-align: left;
}

#block_image_od>*:empty,
#block_image_og>*:empty {
    display: none;
}

#block_image_od,
#block_image_og {
    /*max-height: calc(100% - 20px);*/
    overflow-y: auto;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    background-color: #777;
    border-radius: 5px;
}

#block_image_od>div,
#block_image_og>div {
    margin: 5px;
    padding-bottom: 5px;
}

#block_image_od>div>img,
#block_image_og>div>img {
    padding: 0 2px;
}

#block_image_od .image_tooltip,
#block_image_og .image_tooltip {
    position: fixed;
    max-width: 400px;
    border: red 1px solid;
    border-radius: 5px;
    background-color: white;
    padding: 5px 10px;
    font-size: 14px;
}

#block_image_od>[data-after-content]:not(:empty):after,
#block_image_og>[data-after-content]:not(:empty):before {
    display: inline-block;
    width: 80px;
    content: attr(data-after-content);
    color: white;
}

#block_image_od .observations_title,
#block_image_og .observations_title {
    background-color: white;
    border-radius: 3px 3px 0 0;
    text-align: center;
    padding: 5px;
    font-size: 18px;
    display: none;
}

#htmlPerso {
    margin: 30px 0 0;
    padding: 0;
}

#messageGlobal {
    text-align: center;
    font-size: 150%;
    font-weight: bold;
    color: red;
    margin: 10px auto 20px;
}

#messageGlobal a {
    color: blue
}

#messageGlobal a:hover {
    color: lightblue
}

.btn-img {
    background-color: transparent;
    border: none;
    padding: 0;
}

.btn-img>img {
    height: 100%;
}

img.bouton {
    height: 48px;
}

/* Tooltip (?) */
.info-tooltip {
    position: relative;
    display: inline-block;
}

.info-tooltip>i {
    color: #c5073c;
    font-size: large;
}

.info-tooltip .light-bulb {
    position: absolute;
    top: 5px;
    left: 5px;
    display: inline-block;
    width: 40px;
    height: 40px;
    background: transparent top left no-repeat;
    background-size: contain;
}

.info-tooltip>.tooltiptext {
    visibility: hidden;
    position: absolute;
    min-width: 300px;
    border: #c5073c 5px solid;
    box-shadow: 10px 10px 10px darkgrey;
    background-color: white;
    border-radius: 6px;
    padding: 10px 15px;
    z-index: 1;
    bottom: 125%;
    left: 50%;
}

.info-tooltip:hover>.tooltiptext {
    /* .info-tooltip>.tooltiptext { */
    visibility: visible;
}

.info-tooltip h5 {
    position: relative;
    display: inline-block;
    text-decoration: #c5073c 2px underline;
    font-weight: bold;
    margin-left: 40px;
    margin-bottom: 15px;
}

.info-tooltip h5.mid-underline {
    text-decoration: none;
}

.info-tooltip h5.mid-underline:after {
    content: "";
    position: absolute;
    bottom: -4px;
    height: 2px;
    background-color: #c5073c;
    left: 25%;
    right: 25%;
}

.info-tooltip p u {
    text-decoration: #ffe619 2px underline;
}

/* -- Tooltip (?) */
/* CRT */
.crt_histo {
    margin-top: 50px;
}

/* .crt_histo table {} */

.crt_histo table th,
.crt_histo table td {
    padding: 5px;
    border: white 2px solid;
}

.crt_histo table th {
    background-color: #EEEEEE;
}

.crt_histo table tr {
    cursor: pointer;
}

.crt_histo table>tbody>tr:nth-child(even) {
    background-color: #F0F8FF;
}

.crt_histo table tr.active {
    background-color: #CCCCCC !important;
}

/* --------------- */
/* jqxDropDownList */
/* --------------- */
.jqx-dropdownlist-content,
.jqx-listitem-element span {
    padding-left: 10px !important;
}

div[id^="dropdownlistArrow"] {
    position: absolute !important;
    right: 0;
}
