@import '../thirdparty/daterangepicker-bs3.css';
@import '../thirdparty/react-data-grid-cell.css';
@import '../thirdparty/react-data-grid-checkbox.css';
@import '../thirdparty/react-data-grid-core.css';
@import '../thirdparty/react-data-grid-drop-target.css';
@import '../thirdparty/react-data-grid-header.css';
@import '../thirdparty/react-data-grid-image.css';
@import '../thirdparty/react-data-grid-row.css';
@import '../thirdparty/react-data-grid-toolbar.css';
@import '../thirdparty/react-data-grid-viewport.css';
@import '../thirdparty/react-grid-ScrollShim.css';
@import '../thirdparty/ron-react-autocomplete.css';


.delete-device-label {
    position: absolute;
    top: 25px;
    right: -1px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 3px;
    line-height: .9;
    color: black;
    border-radius: 10px;
    width:3rem;
    height: 3rem;
  }

.secondary{
  background-image:  url('../../images/icon__key-grey.svg');
  background-repeat: no-repeat;
  background-size: 30px;
  background-origin: content-box;
  background-position-x: 1rem;
}


.detail-devices{
  flex: 0.5 1 auto;
}

.detail-devices-emptyspace{
  flex: 0.9 1 auto;
}

.detail-device-display {
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0px;
}

.detail-devices > a:hover,
.detail-devices > a:active,
.detail-devices > a:focus
{
  background: #E6E6FA;
  color: #f6f6f6;
}

.grid-tool-bar-border{
  border-left:0.5px solid #D8D8D8;
  border-right:1px solid #D8D8D8;
}
.grid-items{
  padding: 0.5rem;
  text-align: center;
}

.grid-tool-bar-items{
  height:100%;
  width:100%;
  border-left:0.5px solid #D8D8D8;
  border-right:1px solid #D8D8D8;
  color: #ccc;
  padding-top: 13px;
  text-align: center;
}

.grid-tool-bar-devices{
  height:100%;
  width:100%;
  border-left:0.5px solid #D8D8D8;
  border-right:1px solid #D8D8D8;
  color: #ccc;
  padding-top: 13px;
  text-align: center;
}

.grid-loadmore {
  width: 50%;
  height: 50%;
  margin-left: auto;
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.grid-loadmore-link {
  margin-left: 1rem;
  margin-top: 0.3rem;
}

.grid-loadmore-link-disable {
  opacity: 0.2;
  pointer-events: none;
  text-decoration: none;
}


.grid-loadmore-rightangle {
  font-size: 29px;
  /*color: rgb(60, 141, 188);*/
  color:#8561c5;
  margin-top: -0.6rem;
  margin-right:3px;
}

.grid-loadmore-rightangle:hover {
  cursor: pointer;
}

/*Grid View common*/
.grid-tool-bar-devices > img{
  height: 3rem;
  width: 3rem;
}

.user-header-span{
  display: flex;
  justify-content: center;
  align-items:center;
  border-left: 1px solid #D8D8D8;
}

.user-header-span:hover{
  background-color: #E6E6FA;
}

.user-header-span-general-info{
  padding-left: 1.5rem;
  padding-top: 1rem;
}


.user-header-span > img{
  height: 3rem;
  width: 3rem;
  margin: auto;
}
.user-header-span-general-info > img{
  height: 3rem;
  width: 4rem;
  margin: auto;
}
.user-header-basic-info{
  /*border-left:0.5px solid #D8D8D8;
  border-right:1px solid #D8D8D8;*/
  color: #6639b7;
  white-space: nowrap;
  margin-bottom: 8px;
}

.user-grid-detail-views{

}

.message{

  padding-left:0.6rem;
  padding-top: 0.1rem;

}


/*Grid View :: Ergonomics */
.user-header-basic-info div:first-child + div
{
  /*border-left: 0.5px solid #D8D8D8;*/
}
.react-grid-HeaderCell:last-of-type{
  border-right: 2px solid #9f9f9f !important;
}

.react-grid-HeaderCell > .react-grid-checkbox-container >.react-grid-checkbox:checked+.react-grid-checkbox-label:before {
   border: solid #9f9f9f 0.7px;
}
.react-grid-Cell:focus {
  outline: none !important;
}
label[for=select-all-checkbox]:hover{
  border: none !important;
}
label[for=select-all-checkbox]:focus {
  outline: none !important;
}
#custom-gridview{
  border-top: .1rem solid #D1C1EE;
  flex: 3 6 auto;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.checkbox-align {
  text-align: start !important;
}
.row-selected {
  color: #ffffff;
  background-color:white !important;
}
.react-grid-HeaderRow {
  overflow-y: hidden;
  width: 100% !important;
}
.react-grid-Row .react-grid-Cell:last-of-type {
  /*border-right: none;*/
 border-right: 1px solid #EFF0F0;
}
.react-grid-HeaderRow .react-grid-HeaderCell:last-of-type {
  /*border-right: none;*/
}
.react-grid-checkbox+.react-grid-checkbox-label{
    /*opacity: 0.02;*/
}
.react-grid-checkbox+.react-grid-checkbox-label:hover{
  opacity: 1;
}
.react-grid-checkbox:checked+.react-grid-checkbox-label{
  opacity: 1;
}
.react-grid-checkbox:checked+.react-grid-checkbox-label:before {
  background:#32AED7 !important;
  background: url("../../../../images/icon__ok-white.svg")!important;
  box-shadow:  none !important;
  /*content: "\2714";*/
   color: white;
    position: absolute;
   -webkit-transform: translate(-5%,-45%);
   -moz-transform: translate(-5%,-45%);
   -ms-transform: translate(-5%,-45%);
   transform: translate(-5%,-45%);
   /*border: solid white 0.7px;*/
   border: solid white 2px !important;
   width: 17px !important;
   height: 17px !important;
   border-radius: 4px;

}
input[name="select-all-checkbox"]:checked + .react-grid-checkbox-label:before {
  border: 2px solid #9f9f9f !important;
  background: url("../../../../images/icon__ok-grey.svg")!important;
}
.react-grid-Row--even .react-grid-Cell{
  background-color:#FAFAFA;
  border-right:solid #EFF0F0 1px;

}

.react-grid-Row--odd .react-grid-Cell{
  /*background-color:#F0F0F0;*/
    background-color:#FFFFF;
  border-right:solid #FAFAFA 1px;
}

.react-grid-Row--even .react-grid-Cell:last-of-type{
}

.react-grid-Row--odd .react-grid-Cell:last-of-type{
}


.radio-custom+.radio-custom-label:before, .react-grid-checkbox+.react-grid-checkbox-label:before{
  border: 2px solid #9f9f9f !important;
  border-radius: 4px;
  width: 17px !important;
  height: 17px !important;
}
.react-grid-Main {
  background-color: #ffffff;
  color: inherit;
  /* outline: none !important; */
  padding: 0px;
  clear : both;
}



.table-holder-align {
  /*min-height: 91.2%;
  min-width: 90.2%*/
  max-width: 100%;
  max-height: 100%;
}


.react-grid-Container {
    clear: both;
    margin-top: 0px;
    padding: 0;
    max-width: 100%;
}

.react-grid-Grid {
    padding: 1px 1px 1px 1px;
    background-color: #ffffff;
    border: none !important;
    height: 100%;
    max-width: 100%;
    /* margin-top: -3px; */
  }
/* #reportsModal .react-grid-Row:hover .react-grid-Cell{
  background-color:	#fff!important;
} */
.react-grid-Row:hover .react-grid-Cell{
  background-color:	#32aed7!important;
}

.react-grid-Canvas {
    background-color: blue;
    overflow-y: auto !important;
    overflow-x: auto !important;
    height:100% !important;
    max-width: 100% !important;
    /*left:-5px !important;*/
    max-height: 100% !important;
}


/** Custom Scrolbar ***/
.react-grid-Canvas::-webkit-scrollbar
{
  width: 10px;
  height:10px;
}
.react-grid-Canvas::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
.react-grid-Canvas::-webkit-scrollbar-thumb{
  background-color: #A8A8A8;
}

/*
.react-grid-Canvas::-webKit-scrollbar {
  height:10px;
  width: 10px;
  background-color:white;
}

.react-grid-Canvas::-webkit-scrollbar-thumb {
background-color:#8561C5;
border-radius:10px;
height:60px;
}

.react-grid-Canvas::-webkit-scrollbar-thumb:hover {
background-color:#8561C5;
/*border:1px solid #333333;
}

.react-grid-Canvas::-webkit-scrollbar-thumb:active {
background-color:#8561C5;
/*border:1px solid #333333;
}
*/
.react-grid-Header {
    font-weight: normal;
    box-shadow: 0px 0px 4px 0px #dddddd;
    background: #f9f9f9;
}

.react-grid-HeaderCell {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #F0F0F0 !important ;
    /*background: #959595;*/
    padding: 8px;
    font-weight: normal !important;
    text-shadow: 0px 0px 0px black;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.react-grid-HeaderCell:hover {
    background-color: white !important;
    color:#32aed7;
  }

.react-grid-HeaderCell__draggable {
  border: solid #9f9f9f ;
  cursor: col-resize;
  right: -5px !important;
}

.react-grid-HeaderCell__draggable:hover {
  border: solid #32aed7 ;
  cursor: col-resize;
}
/*.react-grid-Row--even .react-grid-Cell{
  background-color:#FAFAFA;
}

.react-grid-Row--odd .react-grid-Cell{
  background-color:#F0F0F0;
}
*/

span.nmdropdownlist {
  position: relative;
  top: 0px;
  right: 24px;
  width: 2rem;
  padding: 3px 1.1rem;
  transition: all 0.2s ease;
  pointer-events: none;
  border-radius: 2px;
  background-color: #8561C5;
  background-image: url('../../../../images/icon__down-arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
}

span.nmdropdownlistSearch {

  top: 1px;
  padding: 6px 12px 6px 12px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
@media screen and (max-width: 1500px){
  span.nmdropdownlistSearch {
    top: 0px;
    padding: 5px 12px 6px 12px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
  }
}
.react-grid-HeaderCell>.react-grid-checkbox-container>.react-grid-checkbox-label
{
  left: -10px;
  top: -3px !important;
  outline: none !important;
}

.rdg-selected {
  border: none !important;
}

#ExportConfigModal .rdg-child-row-action-cross {
  display: none;
}