/** Realdooh bar workaround
 ** Con Bootstrap 4 la barra de Realdooh presenta algunos errores:
**/

.realdooh-bar {
  display: inherit !important;
}

/** - CURSOR - **/
.cursor {
  cursor: pointer !important;
  padding: 2px;
}

/** - TABLE - **/
table {
  font-size: 0.8em !important;
  color: black !important;
  margin-top: 6px !important;
}
.table > thead > tr > th {
  background-color: #015d6f !important;
  color: #fff !important;
  border: none;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ffc799 !important;
  white-space: nowrap !important;
}
.table > thead > tr > th:first-child {
  border-radius: 5px 0px 0px 0px;
}
.table > thead > tr > th:last-child {
  border-radius: 0px 5px 0px 0px;
}
.table > tbody > tr:hover {
  background-color: #ffc799 !important;
}
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
  background-color: #ffc799 !important;
}
.table > tbody > tr:nth-child(even) > td,
.table > tbody > tr:nth-child(even) > th {
  background: #fff;
}
.table > tbody > tr:nth-child(odd) > td,
.table > tbody > tr:nth-child(odd) > th {
  background: #d9e0fa;
}

/** - STYLED RADIO/CHECKBOX - **/
.cr-styled {
  display: inline-block;
  margin: 0px 2px;
}
.cr-styled i {
  display: inline-block;
  height: 20px;
  width: 20px;
  cursor: pointer;
  vertical-align: middle;
  border: 2px solid #ccc;
  border-radius: 3px;
  text-align: center;
  padding-top: 1px;
  font-family: "FontAwesome";
}
.cr-styled input {
  visibility: hidden;
  display: none;
}
/* Checkbox */
.cr-styled input[type="checkbox"]:checked + i:before {
  content: "\f00c";
}
/* Radio */
.cr-styled input[type="radio"] + i {
  border-radius: 20px;
}
.cr-styled input[type="radio"]:checked + i:before {
  content: "\f111";
}
/*** cr-styled Theaming/Colorss ***/
.cr-styled input:checked + i {
  border-color: #a49bc4;
  color: #a49bc4;
}

/** - SORTABLE ELEMENT - **/
.sortable-element {
  cursor: move;
  cursor: -webkit-grab;
  margin: 5px 0 5px 0;
  padding: 5px;
  border: 1px solid silver;
}
.sortable-element:hover {
  box-shadow: 0 5px 15px rgba(255, 168, 0, 0.4);
}

/* - PAGINATION - */
.pagination > li > a,
.pagination > li > span {
  color: #015d6f;
  border-radius: 1px solid #000000 !important;
}
.pagination > li > a:hover {
  background: #015d6f;
  color: #ffa800;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background: #015d6f;
  color: #ffffff;
  border-color: #ff7200;
}
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #428bca;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  color: #2a6496;
  background-color: #eee;
  border-color: #ddd;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #fff;
  cursor: default;
  background-color: #428bca;
  border-color: #428bca;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
}
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
}
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/** - MANDATORY FIELD - **/
span.mandatory {
  margin: auto 0.5em;
  color: red !important;
  font-weight: bold;
}

/** - USER REALDOOHAPP ICON - **/
.rd-app-icon-tiny {
  width: 20px;
  margin-left: 2px;
  margin-right: 2px;
}

/** MULTISELECT **/

.rolesApps{
  height:50px !important;
}

multiselect.multiselect-active button {
  background-color: #015d6f !important;
  color: white !important;
}

multiselect .dropdown-menu {
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  color: inherit;
}

multiselect .btn {
  padding: 0px;
  font-size: 0.8rem;
  height: 31px;
  color: #495057;
  background-color: white;
  border-radius: 0px;
}

multiselect .btn:hover {
  cursor: default !important;
  background-color: white;
}

multiselect.form-control {
  padding: 0px !important;
}

multiselect .glyphicon {
  display: none !important;
}

multiselect a.item-selected {
  background-color: #281657 !important;
}

multiselect .dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  white-space: nowrap;
  color: black !important;
}

multiselect .dropdown-menu:not(.uib-datepicker-popup) li:hover,
multiselect .dropdown-menu:not(.uib-datepicker-popup) .active {
  background-color: #015d6f !important;
}

multiselect .dropdown-menu > .active > a,
multiselect .dropdown-menu > .active > a:focus,
multiselect .dropdown-menu > .active > a:hover {
  color: #ffffff !important;
  text-decoration: none;
  background-color: #015d6f !important;
  outline: 0;
}

multiselect .glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

multiselect .glyphicon-ok:before {
  content: "\e013";
}

multiselect .glyphicon-remove:before {
  content: "\e014";
}

multiselect .dropdown-menu:not(.uib-datepicker-popup) li:nth-child(odd) {
  background-color: #ffffff;
}

multiselect .dropdown-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5 !important;
}

multiselect .form-control {
  line-height: 1;
}

/** USER FORM **/
div.user-ou-panel {
  min-height: 10vh;
  max-height: 60vh;
  overflow: auto;
  font-size: 0.67rem;
}
div.rd-app {
  padding-right: 5px !important;
  padding-left: 5px !important;
  margin-top: 10px;
}
div.user-ou-panel ul {
  list-style: none !important;
  margin-top: 5px;
  border-left: 1px dotted silver;
  padding-left: 9px;
  margin-left: 6px;
  margin-bottom: 5px;
}
div.user-ou-panel li {
}
div.user-ou-panel .node-icon-type {
  display: inline-block !important;
  text-align: center !important;
  cursor: pointer !important;
  width: 15px;
}
.user-ou-panel label {
  margin-bottom: 0 !important;
}
.ou-name {
  font-weight: normal;
}

div.user-ou-panel .node-icon-type:hover {
  color: silver !important;
}
/** OU LIST **/
.angular-ui-tree-placeholder {
  border: 1px dashed silver !important;
}
div.ou-panel ol {
  list-style: none !important;
  border-left: 1px dotted silver;
  padding-left: 15px;
  margin-left: 8px;
}
div.ou-panel ol.tree-root {
  list-style: none !important;
  border-left: none !important;
  padding-left: 0px !important;
  margin-left: 0px !important;
}
.label-node-location {
  font-size: 0.8em !important;
}
.label-node {
  text-decoration: underline;
}
div.ou-panel ol li {
  margin-top: 2px;
  margin-bottom: 2px;
}
div.ou-panel ol li .node-icon-type {
  width: 20px !important;
  display: inline-block !important;
  text-align: center !important;
}
div.ou-panel .node-controls {
  display: inline-block;
}
div.ou-panel .node-controls .btn {
  padding: 0px !important;
}
div.tree-node {
  border: 1px solid white;
  display: inline-block;
}
div.tree-node:hover {
  border: 1px dotted black;
}
div.node {
  display: inline-block;
  font-weight: bold;
  padding: 5px;
  cursor: -webkit-grab;
  cursor: -moz-grab;
}
div.node > .grab {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
}
div.node:hover {
  color: silver;
}

/** - NO ARROWS IN INPUT TYPE=NUMBER - **/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/** - SPINNER LOADING TREE AND TABLES - **/
.spinner {
  width: 40px;
  height: 40px;
  margin: 100px auto;
  background-color: #333;

  border-radius: 100%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
  animation: sk-scaleout 1s infinite ease-in-out;
}
@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}
@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

.spinner-s {
  width: auto;
  height: 6px;
  margin-top: 1px important!;
  margin-bottom: 1rem important!;
  background-color: #333;

  border-radius: 100%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
  animation: sk-scaleout 1s infinite ease-in-out;
}

/** - LOADING VIEWS - **/
.loading-container {
  background-color: #f9f9f9;
  z-index: 10001;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor: wait;
  padding-top: 20rem;
}
.dots {
  margin: auto;
  width: 60px;
  height: 60px;
  text-align: center;

  -webkit-animation: sk-rotate 2s infinite linear;
  animation: sk-rotate 2s infinite linear;
}
.dot1,
.dot2 {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  background-color: #015d6f;
  border-radius: 100%;

  -webkit-animation: sk-bounce 2s infinite ease-in-out;
  animation: sk-bounce 2s infinite ease-in-out;
}
.dot2 {
  top: auto;
  bottom: 0;
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}
@-webkit-keyframes sk-rotate {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes sk-rotate {
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes sk-bounce {
  0%,
  100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}
@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

/** - PADDINGS - **/
.no-padding-left {
  padding-left: 0px;
}
.no-padding-right {
  padding-right: 0px;
}
.no-padding-sides {
  padding-left: 0px;
  padding-right: 0px;
}

/** - VIEWS MARGIN BOTTOM - **/
div.card,
div.table-view {
  margin-bottom: 4rem !important;
}

/** - EMPTY NODE IN OU's TREE - **/

ul.empty-node > li {
  margin-left: 12px;
  margin-bottom: 12px;
  opacity: 0.7;
}

/** - INPUTS PADDING - **/
.span-padding {
  margin-bottom: 6px;
  margin-top: -5px;
}

/** - VIEWS OVERFLOW - **/
.all-content {
  padding-bottom: 8rem;
}

/** - TEXT ELLIPSIS - **/
.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

/* - MODALS  -*/
.modal-content {
  border-radius: 0px !important;
}
div.modal-preview-ppoint {
  width: 60% !important;
}
div.modal-wrapper {
  width: 85% !important;
}

.modal-content {
  min-width: 650px;
}
.body-padding {
  padding-top: 2rem;
}
.buttons-position {
  margin-right: -35px !important; /*-3rem;*/
}
.title-position {
  margin-left: -35px !important;
}
a.btn.btn-delete:hover {
  color: #fff !important;
}
div.body-padding > h5 {
  font-size: 1.1rem !important;
}

/* - SMALL SIZE PANEL - */
div.small-size-panel {
  font-size: 0.8em;
}
div.small-size-panel .input-group-addon {
  padding: 3px 6px;
}
div.small-size-panel .form-control {
  height: 24px;
  padding: 3px 6px;
  font-size: 0.7rem;
  border-radius: 2px;
}
div.small-size-panel textarea.form-control {
  height: auto !important;
}

/* - SELECT - */
/*select{ height: 1.5rem !important; }*/

/* - LEGEND AWESOME ICONS - */
ul.ous-legend > li > svg.fa-pencil-alt {
  color: gray;
}
ul.ous-legend > li > svg.fa-trash-alt {
  color: red;
}
ul.ous-legend > li > svg.fa-expand-arrows-alt {
  color: orange;
}
ul.ous-legend > li > svg.fa-plus {
  color: green;
}
ul.ous-legend > li > svg.fa-info-circle {
  color: #6ea1ff;
}

span.node-icons {
  color: silver;
  margin-left: 0.8rem;
  font-size: 0.8rem;
  white-space: nowrap;
  cursor: pointer;
}
span.node-icons > span > svg {
  margin-right: 0.2rem;
}
span.node-icons > span > .fa-plus {
  font-size: 0.9rem;
}
span.node-icons > span > .fa-pencil-alt:hover {
  color: gray;
}
span.node-icons > span > .fa-trash-alt:hover {
  color: red;
}
span.node-icons > span > .fa-expand-arrows-alt:hover {
  color: orange;
}
span.node-icons > span > .fa-plus:hover {
  color: green;
}

.oumanagementtree {
  vertical-align: middle !important;
}

.active {
  color: #85868a;
  cursor: pointer;
}
.noactive {
  color: #c9c9c9;
  transition: color 0.4s;
}
.noactive:hover {
  color: #85868a;
  cursor: move;
}

div.info-messages svg {
  color: #6ea1ff;
}
div.info-messages i {
  font-family: initial;
}
div.info-messages span {
  text-decoration: underline;
}

.fa-custom {
  top: 0.6rem !important;
  left: 0.3rem !important;
}

.formOUparentName {
  padding-bottom: 1rem;
}
.newOUfooter {
  margin-top: 0rem !important;
}

.cursor-disabled {
  cursor: not-allowed;
}

.title-crud {
  position: relative;
  z-index: 0;
  background-color: #015d6f;
  color: #fafafa;
  display: inline-block;
  margin-left: -35px !important;
  padding: 1.1rem !important;
  min-width: 350px;
}
.title-crud svg {
  vertical-align: -0.11rem !important;
}
.title-crud h2 {
  margin-bottom: 0 !important;
}

.root-node {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.root-node svg {
  font-size: 1rem !important;
}

.root-sons-container {
  border-left: 1px dotted silver;
  padding-left: 15px;
  margin-left: 8px;
}

.root-name {
  vertical-align: bottom;
}

.root-node-icon {
  vertical-align: middle;
}

.createouinfo {
  font-size: 0.7rem;
}
.createouinfo svg {
  color: #6ea1ff;
}

.soft-placeholder > input::placeholder {
  color: #c9c9c9;
}

.url-container {
  white-space: nowrap;
  display: inline-flex;
}
.url-tag {
  background: #eee;
  border-radius: 3px 0 0 3px;
  color: #85868d;
  padding: 0.3rem;
  margin-left: 0.2rem;
  font-weight: 600;
  -webkit-transition: color 0.2s;
}
.url-tag:hover {
  background-color: #ffffff;
  color: crimson !important;
  cursor: pointer;
}
.url-container > ul {
  margin-top: 0 !important;
  border-left: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.url-icon {
  margin-top: 0.2rem;
  margin-left: 0.1rem;
  font-size: 1rem;
  margin-right: 0.2rem;
}

.own-overflow {
  overflow: auto;
}
/*.own-overflow::-webkit-scrollbar{ width: .4rem; }
.own-overflow::-webkit-scrollbar-track{
	box-shadow: inset 0 0 5px grey;
	border-radius: .1rem;
}
.own-overflow::-webkit-scrollbar-thumb{
	background: #015d6f;
	border-radius: .1rem;
}
.own-overflow::-webkit-scrollbar-thumb:HOVER{ background: #9E443F; }*/
::-webkit-scrollbar {
  width: 0.4rem;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 0.1rem;
}
::-webkit-scrollbar-thumb {
  background: #015d6f;
  border-radius: 0.1rem;
}
::-webkit-scrollbar-thumb:hover {
  background: #9e443f;
}

.no-pointer {
  cursor: default !important;
}
.in-pointer {
  cursor: pointer !important;
}

.node-icon {
  width: 20px !important;
  display: inline-block !important;
  text-align: center !important;
}
.node-icon:hover {
  color: silver !important;
}

.vh-50 {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 10px;
}
