@import url('https://fonts.googleapis.com/css2?family=Economica:wght@400;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/kollektif?styles=28735,28732');

body {
    padding: 0;
    margin: 0;
    font-family: Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #2b4b6d;
}
    body.natgreen {
        padding: 0;
        margin: 0;
        font-family: "Economica", sans-serif;
        font-weight: 400;
        font-style: normal;
        color: #103944;
    }
    button, input, select, optgroup, textarea {
    font-family: Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #4375a6;
}
body.natgreen button, body.natgreen input, body.natgreen select, body.natgreen optgroup, body.natgreen textarea {
    font-family: "Economica", sans-serif;
    color: #103944;
}

.container {
    padding: 2rem;
    padding-top: calc(60px + 2rem);
}

h1 {
    font-family: 'Anonymous Pro', monospace;
    font-weight: normal;
    margin: 0;
    text-transform: uppercase;
    padding-left: calc(95px + 2rem);
    color: #1881bf;
    background: url(../images/Cadima-3bandes-before-title.png) left center no-repeat;
}
body.natgreen h1 {
    font-family: 'Kollektif', sans-serif;
    background: url(../images/Natgreen-2bandes-before-title.png) left center no-repeat;
    padding-left: calc(100px + 2rem);
    color: #103944;
}
.header {
    display: flex;
    background: #f3f4f5;
    position: fixed;
    width: 100%;
    align-items:center;
    z-index:5
}
body.natgreen .header {
    background: #c5c8b3;
}

    .header .logo a {
        padding: 1rem;
        font-family: 'Anonymous Pro', monospace;
        font-size: 1.2rem;
        color: #2b4b6d;
        text-decoration: none;
    }
body.natgreen .header .logo a {
    font-family: 'Kollektif', sans-serif;
    color: #103944;
}

#main-menu {
    flex-grow: 1 !important;
}
#menu-login {
    background: #1881bf;
    padding-right: 1.5rem;
}
body.natgreen #menu-login {
    background: #9ab28a;
}
.top-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem
}
body.natgreen a.btn_link, body.natgreen .table tr:last-child td a, body.natgreen .table td a {
    color: #93aa22;
}
.button {
    background: #2b4b6d;
    border: 2px solid #4375a6;
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}
body.natgreen .button {
    background: #103944;
    color: #fff;
    border: 2px solid #9ab28a;
}

   .button:hover {
        background: #1881bf;
        color: #fff;
    }
body.natgreen .button:hover {
    background: #93aa22;
}
.button.outline {
    border-color: #1881bf;
    color: #1881bf;
    background-color: #fff
}

        .button.outline:hover {
            border-color: #2b4b6d;
            color: #2b4b6d;
            background-color: #fff
        }
body.natgreen .button.outline {
    border-color: #93aa22;
    color: #93aa22;
    background-color: #fff
}
    body.natgreen .button.outline:hover {
        border-color: #103944;
        color: #103944;
    }
    .button.yellow {
        background: #ffec51;
        color: #2b4b6d;
        border-color: #2b4b6d;
    }
        .button.yellow:hover {
            background: #2b4b6d;
            color: #fff;
           
        }
    .button.danger {
        border-color: #8b0000;
        color: #8b0000
    }

        .button.danger:hover {
            background: #8b0000;
        }

   /* .button.excel, .search-panel .button.excel {
        background-image: url(../images/file-excel-regular.svg);
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 13% auto;
        padding-left: 35px;
    }

        .button.excel:hover, .search-panel .button.excel:hover {
            background-image: url(../images/file-excel-solid.svg);
            background-repeat: no-repeat;
            background-position: left center;
            background-size: 13% auto;
        }*/

.search-panel {
    padding: 1rem;
    background: #4375a6;
    color: #fff;
    display: flex;
    margin-bottom: 1rem;
}
body.natgreen .search-panel {
    background: #9ab28a;
}
.search-panel > div {
    margin-right: 1rem;
    align-self: end;
}

        .search-panel > div:last-child {
            align-self: end;
        }

    .search-panel label {
        padding-right: 0.5rem;
        display: block;
        font-size: 0.9rem;
    }

    .search-panel input, .search-panel select {
        border: 0;
        background: #fff;
        border-radius: 0;
    }

    .search-panel select {
        height: 26px;
    }

    .search-panel .button {
        background: #fff;
        border: 2px solid #fff;
        color: #4375a6;
        padding: 0.5rem 1rem;
        cursor: pointer;
        font-weight: bold;
        font-size: 0.9rem;
        text-transform: uppercase;
    }
        .search-panel .button.outline {
            background: transparent;
            color:#fff;
        }
        .search-panel .button:hover {
            background: #2b4b6d;
        }

.table th {
    background: #2b4b6d;
    color: #fff;
    font-size: 0.9rem;
    text-align:left;
}
body.natgreen .table th {
    background: #103944;
  
}

    .table th a {
        text-decoration: none;
        color: #fff;
    }

.table th, .table td {
    padding: 0.25rem 0.5rem;
    border: 0;
}

    .table th:first-child {
        border-top-left-radius: 0.5rem;
    }

    .table th:first-child, .table td:first-child {
        padding-left: 2rem;
    }

    .table th:last-child {
        border-top-right-radius: 0.5rem;
    }

    .table th:last-child, .table td:last-child {
        padding-right: 2rem;
    }

.table tr:nth-child(odd) {
    background-color: #f3f4f5;
}

.table tr:hover {
    cursor: pointer;
    background-color: #ffec51;
}
body.natgreen .table tr:hover {
    background-color: #d3c1a9;
}


/*.table td:nth-child(2) {
    min-width: 300px;
}*/

.grid-container-3 {
    display: grid;
    grid-template-columns: 25% 45% 30%;
   /* max-width: 1000px;*/
    border: 1px solid #4375a6;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    margin-bottom: 2rem;
    align-content: start;
}
body.natgreen .grid-container-3 {
   
    border: 1px solid #103944;
}

  .grid-container-3 > div {
    padding: 0.25rem 0.5rem;
    height: max-content;
  }

    .grid-container-3 .item-titre {
        grid-column-start: 1;
        grid-column-end: 4;
        background: #4375a6;
        color: #fff;
        text-align: center;
        text-transform: uppercase;
        font-weight: bold;
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
        margin-bottom: 0.5rem;
        height: min-content;
    }
   body.natgreen .grid-container-3 .item-titre {
       
        background: #9ab28a;
       
    }
    .grid-container-3 .item-3 {
        grid-column-start: 1;
        grid-column-end: 4;
    }
    .grid-container-3 .item-2 {
        grid-column-start: 2;
        grid-column-end: 4;
    }


.grid-container-2 {
  display: grid;
  grid-template-columns: 50% 50%;
  margin-bottom: 2rem;
  align-content: start;
}
  .grid-container-2 > div {
    margin: 0.25rem;
  }
  .grid-container-2 .lot-produit  > div:not(.lot-produit-header) {
    padding: 0 0.25rem
  }

  .item-1 {
    max-width: 1000px;
  }
    input[type=text], textarea, input[type=password] {
        border: 1px solid #4375a6;
        width: 99%;
    }



select {
    border: 1px solid #4375a6;
    width: 100%;
    height: 26px;
    background-color: #fff;
}
body.natgreen input[type=text], textarea, input[type=password], body.natgreen select {
    border: 1px solid #9ab28a;
}
    select .w-50 {
        width: 50%;
    }

.d-flex {
    display: flex;
    justify-content: space-between;
}

    .d-flex > div {
        width: 49%;
    }

.align-items-center {
    align-items: center;
}

.HeaderStyle, .searchLine {
    background: #4375a6;
    color: #fff;
    padding: 0.5rem 1rem;
}

body.natgreen .HeaderStyle, .searchLine {
    background: #93aa22;
}
.table1 .AlternativeRow {
 
    background: #eee;
}
.table1 table td {
    padding: 0.5rem 1rem;
}
.pagination .textbox {
width:auto;margin-right:1rem}
.custom_tabs {
    position: relative;
    min-height: 1000px; /* This part sucks */
    clear: both;
    margin: 2rem 0;
}

.custom_tab {
    float: left;
    clear: both;
    width: 286px;
}

    .custom_tab > label {
        background: #f3f4f5;
        padding: 1rem;
        border: 0;
        margin-left: -1px;
        font-size: 1.0rem;
        vertical-align: middle;
        position: relative;
        left: 1px;
        width: 7rem;
        height: 5rem;
        display: table-cell;
        /* font-weight: bold; */
        /* font-family: Anonymous; */
    }
    .custom_tab > [type=radio] {
        display: none;
    }

.custom_content {
    position: absolute;
    top: 0;
    left: 9rem;
    background: white;
    right: 0;
    bottom: 0;
    padding: 0 1.5rem;
    border-left: 3px solid #2b4b6d;
}

    .custom_content span {
        animation: 0.5s ease-out 0s 1 slideInFromTop;
    }

.custom_tab > [type="radio"]:checked ~ label {
    background: #2b4b6d;
    border-bottom: 3px solid #ffec51;
    z-index: 2;
    color: #fff;
}
body.natgreen .custom_tab > [type="radio"]:checked ~ label {
    background: #103944;
    border-bottom: 3px solid #d3c1a9;
    
}

.custom_tab > [type=radio]:checked ~ label ~ .custom_content {
    z-index: 1;
}
.msgDanger, .message {
    background: #f3f4f5;
    padding: 0.5rem;
    cursor: pointer;
    color: #1881bf;
}
body.natgreen .msgDanger, .message {
    color: #93aa22;
}

.border-0 {
border:0;}
    .border-0 > div:nth-child(1), .border-0 > div:nth-child(2), .border-0 > div:nth-child(3) {
        background: #f3f4f5;
    }
/***************LOGIN**************/
.login-box {
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
    background: url(../images/Cadima-bg-3bandes.jpg) no-repeat bottom center;
}
body.natgreen .login-box {
    background: url(../images/Natgreen-bg-2bandes.jpg) no-repeat bottom center;
}
    .login-form {
    background: #2b4b6d;
    padding: 3rem;
    margin-left: -5rem;
    color: #fff;
}
body.natgreen .login-box {
    background: url(../images/bg-texture-netgreen.jpg);
}
body.natgreen .login-form {
    background: #9ab28a;
}
.login-form > div {
    margin-bottom: 1em;
}

    .login-form input[type=submit] {
        border-color: #fff;
        color: #fff;
    }

    .login-form .logo {
        background: #fff;
        text-align: center;
    }
    /**************************************/
.btnHidden {
    display: none;
}

.fileupload {
    width:100%;
    height:100%;
}

.deleteDocument {
    font-size:16px;
}

ul.ui-front {
    z-index: 1000;
}

.text-red {
    color: #F24907;
}
    .text-red:hover {
        color: #BF2C31;
    }

.text-green {
    color: #10CCAC;
}

    .text-green:hover {
        color: #0FBFA1;
    }

.hdn{
  display:none;
}


/*
LISTE DE LOTS
*/
.lot-produit {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  max-width: 1000px;
  border: 1px solid #4375a6;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  margin-bottom: 2rem;
  align-content: start;
}

.lot-produit-header {
  grid-column-start: 1;
  grid-column-end: 5;
  background: #4375a6;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  margin-bottom: 0.5rem;
  height: min-content;
}

.grd-lines > div {
  width: 98% !important;
}

.lot-selected > .lot-produit-header {
  background-color: black;
}

.lstLots {
  max-height: 450px;
  overflow: auto;
}

.obligatoire {
  border: 1px solid red !important;
}

.number-align {
    text-align: right;
}


.stock-invalide {
  background-color: #ed0010;
  color: white;
}

/*
.gridview {
  border: 0;
  border-collapse: collapse;
  width: 100%;
  max-width: 1900px;
}

  .gridview td, .gridview th {
    padding: 0.5em;
    border: 1px solid #139BC4;
    cursor: pointer;
  }

  .gridview th {
    background: #139BC4;
    color: #fff;
    font-weight: 700;
    border-right: 1px solid #fff;
  }

    .gridview th:last-child {
      border-right: 1px solid #139BC4;
    }

    .gridview th a {
      color: #fff;
      text-decoration: none;
    }

  .gridview.align-right {
    text-align: right;
  }

  .gridview .textbox, .gridview select {
    height: 30px;
  }

  .gridview img {
    display: initial;
  }*/
