div.select2-container { margin-left: 0; }

.core-mega-menu {
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.core-mega-menu:first-child {
    border-top: none;
}

.core-mega-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #333333;
    white-space: nowrap;
    text-decoration: none;
}

.core-mega-menu > li > a:hover,
.core-mega-menu > li > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.core-mega-menu > .active > a,
.core-mega-menu > .active > a:hover,
.core-mega-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-repeat: repeat-x;
  outline: 0;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.core-mega-menu > .disabled > a,
.core-mega-menu > .disabled > a:hover,
.core-mega-menu > .disabled > a:focus {
  color: #999999;
}

.core-mega-menu > .disabled > a:hover,
.core-mega-menu > .disabled > a:focus {
  text-decoration: none;
  cursor: default;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.core-mega-menu .nav-header {
    color: #3a87ad;
    font-size: 12px;
}

ul.core-mega-menu li.nav-header {
    display: block;
    padding: 3px 15px;
    font-size: 11px;
    font-weight: bold;
    line-height: 20px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-size: 12px;
}

.show-dropdown {
    display: block;
    left: -500px;
}

.mega-col {
    float: left;
    border-left: 1px solid #eee;
}

li:first-child .mega-col {
    border-left: none;
}

ul.dropdown-menu1 li {
    overflow: hidden;
}

.disable-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.core-mega-menu .divider {
    margin: 1px 20px;
    background-color: #eaeaea;
    border-bottom: 1px solid f5f5f5;
}

.core-socket-mask {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent url(/public/core_admin/images/error-bw.png) center center no-repeat;
    background-color: rgba(255, 255, 255, 0.6);
}

.core-socket-mask::after, .core-socket-mask::before {
    content: 'There seems to be a communications issue with the server';
    position: absolute;
    top: 50%;
    margin-top: 180px;
    width: 310px;
    font-weight: bold;
    color: #000;
    left: 50%;
    margin-left: -155px;
    text-align: center;
    font-size: 24px;
    line-height: 22px;
    text-shadow: 1px 1px 4px #fff;
    font-family: courier;
    text-shadow: 0px 0px 10px rgba(0,0,0, 0.6);
}

.core-socket-mask::before {
    content: 'Please Wait...';
    position: absolute;
    margin-top: -200px;
}

.colour-picker-group input[type=color] {padding: 5px;}

.form-group.disabled-elevate label.control-label.control-label {
    opacity: 1;
}

.form-group.disabled-elevate label.control-label::after {
    content: "🚫";
    display: inline-block;
    position: relative;
    font-size: 1em;
    cursor: help;
}

.form-group.disabled-elevate :is(.form-control, .core-tick-box, input, select, textarea, .select2-selection) {
    border-style: dashed;
}

.navbar-current-user .glyphicon.glyphicon-user.is-elevated::after{
    content: "";
    width: .6em;
    height: .25em;
    background: url('/public/images/crown.svg') no-repeat center center;
    display: block;
    position: absolute;
    top: 0;
    right: -0.1em;
    translate: -50% -50%;
    background-size: 100%;
    rotate: -3deg;
}