header{
        background-color:gray;
        color: white;
        position: absolute;
        width: 100%;
        height: 100px;
        top: 0;
        left: 0;
}

header h1{
  margin: 0;
  position: absolute;
  top: 50%;
  left:20px;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

header img{
  margin: 0;
  width: 20%;
  position: absolute;
  top: 50%;
  right:20px;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
h1{
    color:white;
}

table tbody tr{
  cursor: pointer;
}

.required:before {
    content:"* ";
    color: red;
  }

.legrandLogo{
    width: 50%;
    margin: 0;
    float: inline-end;

}

.legrand-icon{
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url('/img/icon/LR.PA.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.canvas{
    aspect-ratio: 1;
    max-height: 300px;
}

body {
    /*background-image: url("/img/legrandstand.jpg");*/
    background-color: gray;
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
    background-attachment:fixed ;
}

.container{
    margin-top: 25px;
    padding: 25px;
}

.dashboardContainerBG{
    background-color: rgba(66, 66, 66, 0.9);
    border-radius: 5px;
}

.tableModal{
    width: 100%;
}

.close-button1{
    position: absolute;
    right: 22px;
    border-radius: 10px;
}

.inputIcon{
    position: relative;
}

.inputIcon input[type="text"],.inputIcon select{
    padding-left: 40px !important;
    width: 100%;
    border-radius: 4px;
    outline: none;
    padding: 8px;
    box-sizing: border-box;
    transition: 0.3s;
    border:2px solid #aaa;

}

.inputIcon input[type="text"]:focus, .inputIcon select:focus {
    border-color: #030303;
    box-shadow: 0 0 8px 0 #030303;
  }

.inputIcon i{
    position: absolute;
    left:0;
    top:0;
    color:#aaa;
    height: -webkit-fill-available;
    transition: 0.3s;
    padding: 0 10px;
}

.inputIcon input[type="text"]:focus + i,.inputIcon select:focus + i {
    color: #030303;
  }

  .inputIcon.inputIconBg i {
    background-color: #aaa;
    color: #fff;
    height: -webkit-fill-available;
    border-radius: 4px 0 0 4px;
  }

  .inputIcon.inputIconBg i::before{
    vertical-align: -90%;
  }

  .inputIcon.inputIconBg input[type="text"]:focus + i,.inputIcon.inputIconBg select:focus + i {
    color: #fff;
    background-color: #030303;
  }
  
/*Special Buttons*/

.buttonsGroup .btn{
  margin-left: 3px;
}


/*Datatables rebuilds*/
table.dataTable thead tr>.dtfc-fixed-left,table.dataTable thead tr>.dtfc-fixed-right,table.dataTable tfoot tr>.dtfc-fixed-left,table.dataTable tfoot tr>.dtfc-fixed-right {
  background-color: inherit;
}

table.dataTable tbody tr>.dtfc-fixed-left,table.dataTable tbody tr>.dtfc-fixed-right {
  background-color: inherit;
}

div.dtfc-left-top-blocker,div.dtfc-right-top-blocker {
  background-color: inherit;
}

/*NAV*/
nav.menu{
  position: relative;
  z-index: 9999;
  width: 100%;
  top: 0;
  background: #242526;
}
nav.menu .wrapper{
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .logo{
  position: relative;
  height: inherit;
}

.wrapper .logo a{
  color: #f2f2f2;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}

.wrapper .logo img{
  position: absolute;
  left: 0;
  width: 120pt;
  top:0;
  bottom:0;
  margin:auto;
}

.wrapper .nav-links{
  display: inline-flex;
  margin-top: auto;
}
.nav-links li{
  list-style: none;
}
.nav-links li a{
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.nav-links li a:hover{
  background: #3A3B3C;
}
.nav-links .mobile-item{
  display: none;
}
.nav-links .drop-menu{
  position: absolute;
  background: #242526;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a{
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
.mega-box{
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content{
  background: #242526;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.mega-box .content .row{
  width: calc(25% - 30px);
  line-height: 45px;
}
.content .row img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header{
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.content .row .mega-links{
  margin-left: -40px;
  border-left: 1px solid rgba(255,255,255,0.09);
}
.row .mega-links li{
  padding: 0 20px;
}
.row .mega-links li a{
  padding: 0px;
  padding: 0 20px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
}
.row .mega-links li a:hover{
  color: #f2f2f2;
}
.wrapper .btn{
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn{
  position: absolute;
  right: 30px;
  top: 10px;
}

@media screen and (max-width: 970px) {
  .wrapper .btn{
    display: block;
  }
  .wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #242526;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box{
    max-height: 100%;
  }
  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #3A3B3C;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box{
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content{
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row{
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2){
    border-top: 0px;
  }
  .content .row .mega-links{
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li{
    margin: 0;
  }
  .content .row header{
    font-size: 19px;
  }
}
nav.menu input{
  display: none;
}


/*Modal*/

.modal-content{
  background-color: rgba(66, 66, 66, 0.9);
}

.ui-autocomplete {
    z-index: 9999; /* A value higher than your modal's z-index */
}

.loaderScreen{
  position: fixed;
  height: 100vh;
  width: 100vw;
  z-index: 9998;
  top:0;
  background: rgba(255,255,255,0.5);
}

.loaderScreen img{
  position: absolute;
  content: url(/img/icon/untitled@1x-1.0s-46px-46px.gif);
  top:45%;
  left: 45%;
  width: 5vw;
}