/*
  New Loading
  by Nanda W

  USAGE 
  add class:; "show-loading" to whatever visible element
  add attribute:; data-loading-text="YOUR LOADING TEXT HERE" to show loading text
 */
.show-loading,
.element-loading {
	position: relative;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; 
  cursor: wait;
}
.show-loading:after {
  content: "L O A D I N G";
  content: attr(data-loading-text);
  font-family: monospace;
  font-weight: 600;
  font-size: 1.3em;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: absolute;
  text-align: center;
  display: block;
  line-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,.8) url(/assets/img/loading-mini.gif) no-repeat center center;
  background-position: center 150px;
  background-position: center calc(50% - 50px);
  padding-top: 50px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1234567890;
  transition: none;
}
html.show-loading:after,
body.show-loading:after {
  position: fixed;
  background: rgba(255,255,255,.8) url(/assets/img/loading.gif) no-repeat center center;
  background-position: center calc(50% - 50px);
  transition: none;
}
/* EOF New Loading */

/* Admin Styles */
.sidebar {
  overflow-x: hidden;
}

.select2-dropdown li p.s2-maintext {
    margin: 0;
}

.select2-dropdown li p.s2-subtext {
    margin: 0;
    font-size: .7em;
    opacity: .5;
}

.profile-user-img {
  width: 200px;
  max-width: 100%;
  height: 200px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/assets/img/placeholder.jpg);
}

.btn-change-activation {
  cursor: pointer;
}

/* Public Styles */
.public-page {
  -ms-flex-align: center;
  align-items: center;
  background-color: #e9ecef;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100vh;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: 3rem;
  position: relative;
  background-image: url(../img/diamond-upholstery.png);
  background-attachment: fixed;
}
.public-wrapper {
  max-width: 600px;
}
.public-footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: .5rem 3rem;
  background: #e9ecef;
  border-top: 1px solid #e5e5e5;
  opacity: .4;
}
.form-group-wrapper {
    padding: 10px;
    margin: 10px;
    border: 1px solid #ddd;
    position: relative;
}
.form-group-wrapper:after {
  content: attr(data-title);
  display: block;
  position: absolute;
  top: -10px;
  left: 10px;
  background: #fff;
  color: #555;
  font-size: 10px;
  text-transform: uppercase;
  padding: 2px 4px;
  letter-spacing: .1em;
}
