/* Remove border radius on nav */
@media (min-width: 768px) {
  .navbar {
    border-radius: 0px;
  }
}

/* Make Group check boxes a fixed height, then scroll */
.groupList{
overflow-y: scroll;
height: 150px;
}


/* Cancel button on login-verify */
#cancelLoginVerify{
  background-color: #fff;
  color: #333333;
  /* TODO: Cancel Button too 3d? make border color: #ebebeb maybe */
  border: 1px solid #333333;
  box-shadow: 0 1px 1px 0;
  hsla(0, 0%, 0%, 0.2);

}
/* For small screens, create a top margin for cancel button*/
@media
only screen and (max-width: 359px),
(min-device-width: 0px) and (max-device-width: 359px)  {
  #cancelLoginVerify{
    margin-top: 10px;
  }

}







/* TODO: Even margins for login buttons - a maybe for the first login button but I think neccesary for the verify and cancel buttons */
.login100-form-btn{
    margin: 0 auto;
}



.col-md-6 profile-dashboard{
  width: 90%;
}

/* Remove horizontal scrollbars*/
body {
  overflow-x: hidden;
}

/* When the Navbar collapses on small screens, hold the toggler in place */
.navbar-toggler{
  margin: 0 auto;
}

/* Change style for dsiabled users */
.formDisabled {
  color: #a6a6a6;
}

.rowDisabled {
  color: #a6a6a6;
  background-color: #cccccc !important;
}

.rowDisabled:hover {
  background-color: #cccccc !important;
}

#mainComponentRow {
  margin-top: 40px;
  margin-bottom: 100px;
}


/* Style buttons*/
.btn-light{
  color: #4885ed;
  border: 0;
  box-shadow: 0 1px 1px 0;
  hsla(0, 0%, 0%, 0.2);

}
button.btn{
  height: 34px;
  width: 90%;
  white-space: normal;
  margin-top: 1rem;
  margin-left: 1.25rem;
  margin-bottom: 0.5rem;
}
button.btn-outline-secondary{
  border: 0;
  box-shadow: 0 1px 1px 0;
  hsla(0, 0%, 0%, 0.2);
  font-weight: bold;
}



/* Style the Tree View */
.list-group-item{
  border: none !important;

}

/* Attempt to target leaf nodes in sites tree */
.list-group-item > ul > .list-group-item > ul > li{
  border: 0;
  margin-top: 1rem;

}

/* Space groups o ftree entries apart*/
.list-group-item > ul > .list-group-item{
 margin-top: 15px;
}

/* Style for tree info pane */
#infoPane{
  border: 0;
  width: 100%;
  height:100%;
  display: inline-block;
  
}

/* Seperate the groups of info in the infoPane a bit */
.infoGroup{
  margin-top: 20px;
}

/* Styles for form data incorrectly entered */
.form-error{
  color: red !important;
}

/* Dentotes components that should have a top margin - creates logical seperation of components */
.spaceAboveMe{

}




/* Shift page titles to the right a small bit */
.form-title{
  margin-left: 2rem;
}

/* Remove additional border from tree */
ul.list-group{
border:none !important;
box-shadow: none !important;
}


/* User Icon in User row in user management */
.pictureIconBackground{
  background-color: #4885ed;
  margin-left: 15%;
  margin-top:5%;
  display: inline-block;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  border: 0;
  box-shadow: 0 2px 6px 0;
}

/* verified icon in User row in user management */
.verifiedIconBackground{
  margin-left: 7.5%;
  margin-top: 7.5%;
  color: #4885ed;
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
}




span.glyphicon.glyphicon-user.tableIcon{
   font-size: 20px;
  margin-top:10%;
}




/*Remove Borders from input boxes and style*/
input.form-control{
  border-left: 5px solid #4885ed ;
  border-right: none !important;
  border-bottom: none !important;
  border-top: none !important;
  box-shadow: 0 0.1 0.1 0;
  hsla(0, 0%, 0%, 0.2);
  border-radius: 0 !important;
  background-color: #f2f2f2 !important;
  -webkit-box-shadow: inset 0 0 0px 9999px #f2f2f2;
}



input.invalidField:focus {
  background-color: #ffcccc !important;
  color: #000000;
  outline: none;
}

input.validField:focus {
  background-color: #c1f0c1 !important;
  color: #000000;
  outline: none;
}

input.inputError {
  border-color: #ED4A4A;
  border-top: 1px solid #ED4A4A !important;
  border-right: 1px solid #ED4A4A !important;
  border-bottom: 1px solid #ED4A4A !important;
}

input.inputError:focus {
  border-color: #fcc2c2 !important;
  border-top-color: #fcc2c2 !important;
  border-right-color: #fcc2c2 !important;
  border-bottom-color: #fcc2c2 !important;
}

input.form-control:disabled{
  border-color: #CCCCCC;
  color: #CCCCCC;
}

.errorMessage {
  padding-top: 5px;
  color: #ED4A4A;
}

/* Form loading spinner */

.sk-circle {
  margin: 100px auto;
  width: 40px;
  height: 40px;
  position: relative;
}
.sk-circle .sk-child {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.sk-circle .sk-child:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #333;
  border-radius: 100%;
  -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
          animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
}
.sk-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
          transform: rotate(30deg); }
.sk-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
      -ms-transform: rotate(60deg);
          transform: rotate(60deg); }
.sk-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg); }
.sk-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
      -ms-transform: rotate(120deg);
          transform: rotate(120deg); }
.sk-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
      -ms-transform: rotate(150deg);
          transform: rotate(150deg); }
.sk-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg); }
.sk-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
      -ms-transform: rotate(210deg);
          transform: rotate(210deg); }
.sk-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
      -ms-transform: rotate(240deg);
          transform: rotate(240deg); }
.sk-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
      -ms-transform: rotate(270deg);
          transform: rotate(270deg); }
.sk-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
      -ms-transform: rotate(300deg);
          transform: rotate(300deg); }
.sk-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
      -ms-transform: rotate(330deg);
          transform: rotate(330deg); }
.sk-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s; }
.sk-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s; }
.sk-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s; }
.sk-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s; }
.sk-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s; }
.sk-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s; }
.sk-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s; }
.sk-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s; }
.sk-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s; }
.sk-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s; }
.sk-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s; }

@-webkit-keyframes sk-circleBounceDelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  } 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes sk-circleBounceDelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  } 40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

/* toggle checkbox styling (user enable/disable) */
.toggleSwitch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggleSwitch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.toggleSwitchSlider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.toggleSwitchSlider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50px;
}

.toggleSwitch input:checked + .toggleSwitchSlider {
  background-color: #4885ed;
}

.toggleSwitch input:focus + .toggleSwitchSlider {
  box-shadow: 0 0 1px #4885ed;
}

.toggleSwitch input:checked + .toggleSwitchSlider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}


/*Select styling*/
select.form-control {
  border-left: 5px solid #4885ed ;
  border-right: none !important;
  border-bottom: none !important;
  border-top: none !important;
  padding: 10px 0px;
  padding-left: 12px;
  height: auto !important;
  border-radius: 0 !important;
  background-color: #f2f2f2 !important;
  color: #555555 !important;
  cursor: pointer;
}

select.form-control option {
  background-color: #FFF;
}

select.form-control:focus {
  border-left: 5px solid #FFFFFF;
}

#custom-search-input{
  border: none !important;
  box-shadow: 0 0.1 0.1 0;
  hsla(0, 0%, 0%, 0.2);
  border-radius: 0 !important;
  background-color: #f2f2f2 !important;
  -webkit-box-shadow: inset 0 0 0px 9999px #f2f2f2
}

#selected.dropdown-item{
    border-left: 5px solid #4885ed ;
    font-weight: bold;
}



/* Remove autofill highligthing*/
input:-webkit-autofill,input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-box-shadow: inset 0 0 0px 9999px #f2f2f2;
}


/* Styling Group Checkbox input*/
.form-check{
  display: block !important;
  margin-left: 0  !important;
  margin-top: 1rem !important;
  width: 90%;
}
.form-check-label{
  margin-left: 1rem;
}




/* Set User Management table up, this will change to a block table for mobile view */
table {
  width: 100%;
  border-collapse: collapse;
  table-layout:fixed;   /*Maxes column widths nicer */
}
/* Zebra striping */
tr:nth-of-type(even) {
  background: #f2f2f2;


}
tr{
  border: none;
}
th {
  background: #4885ed;
  color: white;
  font-weight: bold;
}
td, th {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: left;
  border: none !important;
}


/** MOBILE SIZING **/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

  /* When navbar is in collapsed version, inverse colors */
  .dropdown-item{
    color:white !important;
    margin-bottom: 10px:
    font-size: 40px;
  }

  /* When navbar is in collapsed version, inverse colors */
  .dropdown-menu {
    background-color:#343a40 !important;
  }

  /* When navbar is in collapsed version, Fix toggler position */
  .navbar-toggler {
    margin-right: 1.25rem;
  }


  /* Force table to not be like tables anymore */
  table, thead, tbody, th, td, tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

tr { /*border: 1px solid #ccc;*/ }

td {
  /* Behave  like a "row" */
  border: none;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 50% !important;
  overflow-x: scroll;
}

td:before {
  /* Now like a table header */
  position: absolute;
  /* Top/left values mimic padding */
  top: 6px;
  left: 6px;
  width: 45%;
  padding-right: 10px;
  white-space: nowrap;
  font-weight: 600;
}

/* Label User row data When the table is changed */
.userRow:nth-of-type(1):before { content: ""; }
.userRow:nth-of-type(2):before { content: "Uid"; }
.userRow:nth-of-type(3):before { content: "Name"; }
.userRow:nth-of-type(4):before { content: "Surname"; }
.userRow:nth-of-type(5):before { content: "Groups"; }
.userRow:nth-of-type(6):before { content: "Verified"; }
.userRow:nth-of-type(7):before { content: ""; }

/* Label Group row data When the table is changed
.groupRow:nth-of-type(1):before { content: "Group Name"; }
*/

/* Mobile view - hide picture icon, move verified icon back*/
.pictureIconBackground{
  display: none;
}
.verifiedIconBackground{
  margin-left: 0%;
  margin-top: 0%;
  box-shadow: none;
}






}

/** MEDIUM SCREEN SIZING - mainly to combat dissapearing nav toggler
@media
only screen and (min-width: 576px) and (max-width: 767px)  {
a.nav-link.dropdown-toggle.btn{
visibility: visible;
display: inline-block !important;

}

}**/





/* User Search Styling */
#custom-search-input{
  border: solid 1px #E4E4E4;
  border-radius: 6px;
  background-color: #fff;
  width: 100%;
}

#custom-search-input input{
  border: 0;
  box-shadow: none;
}

#custom-search-input button{
  margin: 2px 0 0 0;
  background: none;
  box-shadow: none;
  border: 0;
  color: #666666;
  padding: 0 8px 0 10px;
  border-left: solid 1px #ccc;
}

#custom-search-input button:hover{
  border: 0;
  box-shadow: none;
  border-left: solid 1px #ccc;
}

#custom-search-input .glyphicon-search{
  font-size: 15px;
}




.treeItemContainer{
  display:inline-block;
}


/* Status lights */

.light{
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 20px;
}

#greenLight{
  background-color: #4aed4a;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #89FF00 0 2px 12px;
}
#yellowLight {
  background-color: #FF0;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 12px;
}
#redLight{
  background-color: #ff0000;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #460101 0 -1px 9px, #ff8080 0 2px 12px;
}
#flashRedLight{
  background-color: #F00;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 12px;
  -webkit-animation: blinkRed 1.5s infinite;
  -moz-animation: blinkRed 1.5s infinite;
  -ms-animation: blinkRed 1.5s infinite;
  -o-animation: blinkRed 1.5s infinite;
  animation: blinkRed 1.5s infinite;
}

@-webkit-keyframes blinkRed {
  from { background-color: #F00; }
  50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
  to { background-color: #F00; }
}
@-moz-keyframes blinkRed {
  from { background-color: #F00; }
  50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
  to { background-color: #F00; }
}
@-ms-keyframes blinkRed {
  from { background-color: #F00; }
  50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
  to { background-color: #F00; }
}
@-o-keyframes blinkRed {
  from { background-color: #F00; }
  50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
  to { background-color: #F00; }
}
@keyframes blinkRed {
  from { background-color: #F00; }
  50% { background-color: #A00; box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;}
  to { background-color: #F00; }
}
