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

body{
    width:100%;
    font-family: 'Roboto', sans-serif;
    color:#001a33;
    background-color: rgb(245, 245, 245);
}

input{
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
}

.notifpanier{
    position: relative;
}

.notif{
    position:absolute;
    top:0;
    right:0;
    margin-top:-10px;
    margin-right:-10px;
    background: #1a6ae7;
    padding:5px 7px;
    border-radius: 50px;
}

.notif p{
    margin:0;
    padding:0;
    color:white;
    font-size: 12px;
    line-height: 12px;
}

.outer {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.middle{
    display: table-cell;
    vertical-align: middle;
}

form.connection{
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.connection{
    margin:auto;
    padding:40px;
    text-align: center;
    width:350px;
    border-radius: 15px;
}

.connection > h1{
    color: #202124;
    padding-bottom: 0;
    padding-top: 16px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3333;
    margin-bottom: 0;
    margin-top: 0;
}

.connection > h3{
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .1px;
    line-height: 1.5;
    padding-bottom: 0;
    padding-top: 8px;
}

.connection > h3 > a{
    color:black;
    text-decoration: none;

}

.connection > h3 > a:hover{
    text-decoration: underline;
}

.text, .password, .inpselect{
    border-radius: 4px;
    margin: 1px 1px 0 1px;
    padding: 13px 15px;
    font-size: 16px;
    width:100%;
    border: solid 1px #D0D0D0;
}

.inpselect{
    color: #707070;
    height:20px;
    min-height: 50px;
}

.submit{
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 13px;
    color:white;
    background-color: #1a73e8;
    border:none;
    transition-duration: 0.2s;
    margin-top:10px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.submit:hover{
    transition-duration: 0.2s;
    cursor:pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.inputbox{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-flex: 1;
    box-flex: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    -webkit-flex-shrink: 1;
    flex-shrink: 1;
    min-width: 0%;
    position: relative;
    margin-top:0;
}

.fileContainer{
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 18px;
    color:#1a73e8;
    text-align: center;
    background-color: #fff;
    border:solid 2px #1a73e8;
    transition-duration: 0.2s;
}

.stateButton{
    text-decoration: none;
    border-radius: 4px;
    padding: 8px 11px;
    font-size: 15px;
    text-align: center;
    transition-duration: 0.2s;
    color:#fff;
    width: fit-content;
}

div.state{
    position:relative;
    width: fit-content;
    min-width:130px;
}

.stateList{
    position:absolute;
    left:0;
    right:0;
    display:none;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 4px;
}

.stateList a{
    color: #aaa;
    text-decoration: none;
    transition-duration: 0.2s;
}

.stateList a:hover{
    color:black;
    transition-duration: 0.2s;
}

div.state:hover .stateList{
    display: block;
    z-index: 99;
}

.wait{
    background-color: #F39C12;
}

.validated{
    background-color: #2ECC71;
}

.cancelled{
    background-color: #E74C3C;
}

.terminated{
    background-color: #3498DB;
}

.default{
    color:black;
    background-color: #95A5A6;
}

.wait:hover{
    background-color: #F5B041;
    transition-duration: 0.2s;
}

.validated:hover{
    background-color: #58D68D;
    transition-duration: 0.2s;
}

.cancelled:hover{
    background-color: #EC7063;
    transition-duration: 0.2s;
}

.default:hover{
    color:black;
    background-color: #AAB7B8;
    transition-duration: 0.2s;
}

.terminated:hover{
    background-color: #5DADE2;
    transition-duration: 0.2s;
}

.stateButton:hover{
    transition-duration: 0.2s;
    cursor:pointer;
}

.addButton{
    text-decoration: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 18px;
    color:#1a73e8;
    text-align: center;
    background-color: #fff;
    border:solid 2px #1a73e8;
    transition-duration: 0.2s;
}

.fileContainer:hover, .addButton:hover{
    transition-duration: 0.2s;
    color:#fff;
    background-color: #1a73e8;
    cursor:pointer;
}

.saveButton{
    text-decoration: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 18px;
    color:#2ECC71;
    text-align: center;
    background-color: #fff;
    border:solid 2px #2ECC71;
    transition-duration: 0.2s;
}

.saveButton:hover{
    transition-duration: 0.2s;
    color:#fff;
    background-color: #2ECC71;
    cursor:pointer;
}

.fileContainer [type=file] {
    cursor: inherit;
    display: block;
    font-size: 999px;
    filter: alpha(opacity=0);
    min-height: 100%;
    min-width: 100%;
    opacity: 0;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
}

.addingproduct, .maincontainer, .container .maincontainer{
    width:1400px;
    margin: auto;
}

.container{
    padding-bottom:50px;
}

.maincontainer{
    margin-top:30px;
    background: white;
}

.container .maincontainer{
    background-color: inherit;
}

h1{
    margin:26.8px auto;
}

.productcontainer .update,.productcontainer .delete{
    height:30px;
    width:inherit;
    object-fit: inherit;
    margin:10px;
    float: right;
}

.update, .delete{
    height:30px;
    width:inherit;
    object-fit: inherit;
    margin:10px;
    float: right;
}

table {
    width:100%;
    border-collapse: collapse;
}

table h3, table p{
    line-height: 30px;
    margin:10px;
    padding:0;
}

tr{
    margin-bottom:3px;
    transition-duration: 0.2s;
}

table:not(.orderdetails) tr:hover{
    background-color: #eeeeef;
    transition-duration: 0.2s;

}

.orderhead{
    width:100%;
    display: inline-flex;
}

.productPreview{
    max-height:300px;
    margin: auto;
}

textarea {
    font-family: inherit;
    font-size: inherit;
}

.topnav {
  background-color: #fff;
    margin-bottom:20px;
    min-height: 50px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
}

.topnav a.active {
  background-color: #ddd;
}

.topnav .icons{
    height:17px;
    margin:auto;
}

.topnav .icon {
  display: none;
}

.nav span{
    display: none;
}

.shrink-navbar {
  overflow: hidden;
  transition: 0.4s;
  width: 100%;
  background-image: url("../images/fond.jpg"); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  height: 300px; /* You must set a specified height */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

.filter{
    background: rgba(255, 255, 255, 0.5);
    padding: 20px 10px;
    padding-left:0px;
    padding-right:0px;
    height:100%;
    position: relative;
}

.container{
    width:100%;
    background-color: rgb(245, 245, 245);
    padding-top:20px;
    text-align: center;
}

input[type=text]:not(.text), input[type=number]:not(.text), input[type=email], input[type=tel], input[type=date], input[type=password]:not(.password) {
  padding: 6px;
    padding-left:10px;
  margin-top: 8px;
  font-size: 17px;
  border-radius: 17px;
  border:solid 1px darkgray;
  opacity:0.7;
}

table input[type=text], table input[type=number], table input[type=email], table input[type=tel], table input[type=date] {
  width:50%;
}

table.form tr td:first-child{
    width:500px;
    padding-left:100px;
}

.searchbar{
    background: white;
    padding:15px;
}

.shrink-navbar button, .searchbar button {
  padding: 6px 10px;
  margin-top: 8px;
  font-size: 17px;
  border: none;
  cursor: pointer;
  background-color: inherit;
  border-radius: 17px;
  transition-duration: 0.2s;
}

.shrink-navbar a {
  float: left;
  color: black;
  text-align: center;
  padding: 8px 10px;
  text-decoration: none;
  border-radius: 4px;
  line-height: 20px;
  margin:3px;
}

.shrink-navbar a img{
  height:20px;
}

.shrink-navbar a:hover {
  background-color: #ddd;
  color: black;
}

.shrink-navbar button:hover, .searchbar button:hover, .carticon:hover{
  background-color: #ddd;
  color: black;
  transition-duration: 0.2s;
}

.shrink-navbar a.active {
  background-color: dodgerblue;
  color: white;
}

.shrink-navbar-right {
  float: right;
  margin-right: 20px;
  margin-top:-40px;
}

.shrink-logo {
  text-align: center;
  margin:auto;
  top:50%;
    left:50%;
  transform: translateY(-50%) translateX(-50%);
  position:absolute;
  font-size: 45px;
  font-weight: bold;
  transition: 0.4s;
}

.shrink-logo img {
    height: 275px;
}

.picturednav{
    width:100%;
    margin:100px 0;
    display: inline-flex;
    justify-content: space-around;
}

.dropbtn {
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    float: right;
    display: block;
}

.dropdown.floatleft {
    float: left;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 45px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a {
    color: black;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left !important;
}

.dropdown-content a:hover { font-weight: bold; }

.dropdown:hover .dropdown-content {
    display: block;
}

.container .maincontainer{
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}

.item, .itemproduct{
    position: relative;
    display: flex;
    width:260px;
    height:380px;
    overflow: hidden;
    text-align: center;
}

.pictureproduct{
    position: relative;
    display: flex;
    width: 260px;
    height: 380px;
    overflow: hidden;
    text-align: center;
    background-color: #F2F4F4;
}

.itemproduct, .productcontainer{
    background-color: white;
    margin:20px;
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.item img{
    height:380px;
}

.pictureproduct{
    margin-right:80px;
}
.itemproduct img{
    object-fit: scale-down;
    height:380px;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    margin:auto;
}

.productcontainer img{
    object-fit: scale-down;
    height: 380px;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    margin: auto;
}

.name{
    position:absolute;
    background: rgba(255, 255, 255, 0.5);
    left:0;
    right:0;
    bottom:0;
    margin-bottom: -200px;
    padding:10px 5px;
    display: inline-flex;
    justify-content: space-between;
    transition-duration: 0.2s;
    text-align: center;
}

.addingproduct {
    padding-bottom: 30px;
}

.itemproduct:hover .name{
    margin-bottom: 0;
    transition-duration: 0.2s;
}

.name p{
    margin:0;
    line-height: 30px;
    color:black;
    width:100%;
}

.carticon{
    float:right;
    position: relative;
    transition-duration: 0.2s;
    padding:5px;
    border-radius: 5px;
}

.name img.carticon{
    height:30px;
    width: inherit;
}

.label{
    position: absolute;
    transition-duration: 0.5s;
    bottom: 0;
    text-align: center;
    padding:20px 0;
    width:100%;
    background: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
}

.item:hover .label{
    margin-bottom: 0;
    transition-duration: 0.5s;
}

.label p{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    margin: 0;
    padding:0 10px;
    color:black;
}

.line{
    width:100px;
    height:3px;
    border-radius: 3px;
    background-color: #1a6ae7;
    margin-bottom:50px;
}

.footer{
    width: 100%;
    text-align: center;
    color: white;
    background-color: #2f2f2f;
    padding: 5px;
    position: fixed;
    font-size: 12px;
    bottom: 0;
}

.footer a{
    color: white;
    text-decoration: none;
    transition-duration: 0.2s;
}

.footer a:hover{
    transition-duration: 0.2s;
    text-decoration: underline;
}

.footer p{
    margin: 0;
}

.nav {
    background-color: #fff;
    line-height: 30px;
    padding: 5px 0;
    position: fixed;
    width: 100%;
    z-index: 99;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.nav a {
  float: right;
  display: block;
  color:#001a33;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 17px;
  transition-duration: 0.2s;
  border-radius: 5px;
}

.nav a:hover {
  background-color: rgb(250, 250, 250);
  transition-duration: 0.2s;
}

.nav a.active {
  background-color: rgb(250, 250, 250);
}

.nav .icons{
    height:17px;
    margin:auto;
}

.nav .icon {
  display: none;
}

.nav .iconsnav{
    padding:12px 10px;
}

.nav .iconsnav img{
    height:20px;
    display: flex;
}

.header {
  overflow: hidden;
  transition: 0.4s;
  width: 100%;
  background-image: url("../images/fond.jpg"); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  padding-top: 80px;
    text-shadow: 0 5px 5px rgb(78 78 78 / 20%);
}

.header h3{
    line-height: 180px;
    padding:0;
    margin:0;
    text-align: center;
    text-transform: uppercase;
    color: white;

}

.productcontainer{
    display: inline-flex;
    text-align: left;
    margin:auto;
    padding:30px;
    width:100%;
}

.addtocart{
    padding:15px;
    border:none;
    color:white;
    border-radius: 60px;
    font-size: 17px;
    background-color: #1a6ae7;
    margin-top: 10px;
    margin-right: 30px;
    text-decoration: none;
    transition-duration: 0.2s;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.addtocart:hover{
    transition-duration: 0.2s;
    cursor:pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

input[type="number"]{
    width: 400px;
    margin: 0 20px;
}

.productdetail a{
    color:black;
    text-decoration: none;
    margin-left:20px;
    transition-duration: 0.2s;
}

.productdetail a:hover{
    text-decoration: underline;
    cursor:pointer;
    transition-duration: 0.2s;
}

.consommables-container {
    width: 100%;
    overflow: hidden;
    display: inline-flex;
    padding: 20px;
    justify-content: center;
}

.consommables-container h1,
.consommables-container p {
    text-align: left;
}

.consommables-container img {
    height: 500px;
    margin-right: 30px;
}

.map{
    height:400px;
    width:100%;
    margin-bottom:40px;
    margin-top:20px;
    border:0;
}

.nav a.companyLeft,
.topnav a.companyLeft{
    float:left;
    padding: 0 20px;
}

.topnav a.companyLeft{
    padding: 15px;
}

.nav a.companyLeft img{
    height: 45px;
}

.menuSwitch {
    transform: translateX(-220px);
}

.delivery {
    display: flex;
}

.delivery #map {
    height: 300px;
    width: 100%;
}

.delivery .legend {
    background: rgba(255, 255, 255, 0.8);
    right: 70px;
    top: 20px;
    bottom: 20px;
    padding: 20px;
    border-radius: 4px;
    height: 300px;
}

.delivery .legend h3 {
    margin-top: 0;
}

.delivery .legend .legend-items .item {
    display: flex;
    height: min-content;
    margin-bottom: 10px;
}

.delivery .legend .legend-items .item .color {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: solid 3px transparent;
    margin-right: 10px;
}

.delivery .legend .legend-items .item p {
    line-height: 20px;
    margin: 0;
    text-align: left;
}

table .bold-text {
    font-weight: bold;
}

.orderhead .dest{
    margin-left: 200px;
}

@media screen and (max-width: 1500px) {
    .item, .itemproduct {
        position: relative;
        display: flex;
        width: 200px; /*ration: x0.77*/
        height: 292.6px;
        overflow: hidden;
        text-align: center;
    }

    .item img, .itemproduct img {
        height: 292.6px;
    }
}
@media screen and (max-width: 1399px) {
    .maincontainer, .container .maincontainer{
        width: 100%;
    }

    .addingproduct, .maincontainer, .container .maincontainer{
        width:100%;
        padding: 20px;
    }
}
@media screen and (max-width: 1100px) {
    .orderhead{
        width:100%;
        display: block;
    }

    .orderhead .dest{
        margin-left: 0;
    }

    .topnav a, a .dropbtn.clear {
        float: none;
        color: black;
        text-align: left;
    }

    .productcontainer input[type=text]:not(.text),
    .productcontainer input[type=number]:not(.text),
    .productcontainer input[type=email],
    .productcontainer input[type=tel],
    .productcontainer input[type=date],
    .productcontainer input[type=password]:not(.password) {
        width: 100%;
    }

    form.connection {
        background-color: transparent;
        box-shadow: none;
    }

    table .secondary-column {
        display: none;
    }

    table .bold-text {
        font-weight: normal;
    }

    table {
        text-align: left;
    }

    table .delete, table .update {
        height: 20px !important;
        margin: 5px !important;
    }

    table h3, table p {
        line-height: initial;
        margin: 0;
    }

    .consommables-container {
        flex-wrap: wrap-reverse;
        padding: 0;
        justify-content: left;
    }

    .addtocart {
        display: block;
        margin: auto;
        margin-bottom: 20px;
    }

    .searchbar .maincontainer{
        padding: 0;
    }

    .consommables-container img {
        height: auto;
        width: 100%;
        margin: 0;
    }

    .delivery {
        display: block;
    }

    .addButton, .saveButton{
        display: block;
        margin-bottom: 10px;
    }

    .saveButton{
        display: none;
    }

    .topnav a:not(.companyLeft) {display: none;}

    .nav a:not(.iconsnav) {display: none;}

    .nav a.iconsnav {
        float:left;
        padding: 10px;
    }

    .dropdown, .dropdown.floatleft {
        float: none;
    }

    .dropdown-content {
        display: block;
        position: initial;
        box-shadow: none;
    }

    .nav a.iconsnav span {
        padding: 0px 4px;
    }

    .nav .iconsnav img {
        height: 25px;
    }

    .nav a.icon,
    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive a.iconsnav {
        float: left;
    }

    .nav.responsive, .topnav.responsive {position: relative;}
    .nav.responsive .icon,
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .nav.responsive a,
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .maincontainer, .container .maincontainer{
        width: 100%;
        margin: auto;
    }

    .shrink-navbar {
        width: 100%;
        height: 150px;
        padding: 0;
    }

    .item, .itemproduct {
        width: 120px; /*ratio: 0.46*/
        height: 174.8px;
        margin:10px;
    }

    .menuSwitch {
        transform: translateX(-100px);
    }

    .item img, .itemproduct img {
        height: 174.8px;
    }

    .picturednav {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .shrink-logo img {
        height: 100px;
    }

    .shrink-navbar button{
        padding: 0;
        margin-top: 0;
        font-size: 15px;
    }

    input[type=text]:not(.text){
        padding: 3px;
        margin-top: 0;
        font-size: 12px;
    }

    .filter{
        padding: 10px 10px;
    }

    .shrink-navbar-right {
        margin-right: 0;
        margin-top: -30px;
    }

    h1 {
        font-size: 1.5em;
    }

    .line {
        margin-bottom: 20px;
    }

    .map {
        height: 300px;
        margin-top: 20px;
    }

    .label{
        margin-bottom:0;
        padding:10px 0;
    }

    .label p {
        font-size:15px;
    }

    .header {
        padding-top: 40px;
    }

    .header h3 {
        line-height: 110px;
    }

    img.carticon {
        height: 30px;
    }

    .name{
        margin-bottom:0;
        top:0;
        display:block;
    }

    .name p {
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-top:30px;
    }

    .carticon {
        float: none;
        padding: 5px;
    }

    .productcontainer {
        display: block;
        padding: 10px;
        margin-bottom: 40px;
        padding-bottom: 30px;
        overflow-x: auto;
    }

    .pictureproduct {
        margin: 0;
        width: 100%;
        background: #2E4053;
        height: 150px;
    }

    .productdetail{
        padding:10px;
        padding-top:0;
    }

    input[type="number"] {
        width: 95%;
        margin: 0;
    }

    .productcontainer img {
        height: 100%;
        margin: auto;
    }

    tr td img:not(.delete):not(.update) {
        display: none;
    }

    table.form tr td:first-child {
        padding-left: 0;
        width: 100%;
    }

    table.form tr{
        display: grid;
        width:100%;
    }

    table input[type=text],
    table input[type=number],
    table input[type=email],
    table input[type=tel],
    table input[type=date] {
        width: 60%;
        padding: 3px;
        margin-top: 0;
        font-size: 12px;
    }

    .productcontainer table input[type=text],
    .productcontainer table input[type=number],
    .productcontainer table input[type=email],
    .productcontainer table input[type=tel],
    .productcontainer table input[type=date] {
        width: 100%;
    }

    .nav.responsive .notifpanier, .nav.responsive .iconsnav > img{
        display: none;
    }

    .nav.responsive span{
        display: block;
        padding: 5px;
    }

    .header h3 {
        font-size: 1em;
    }

    .nav.responsive a.iconsnav {
        margin-top: 0;
        height: inherit;
    }

    .nav {
         padding: 0;
    }

    .connection {
        width: inherit;
    }

    .outer {
        display: block;
        position: relative;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }

    .middle {
        display: block;
        padding-top:100px;
    }
}
