/*
 * Base structure
 */

html {
  height: 100%;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  height: 100%;
}

/**
 * Deletions Title Page
 */

.title--inline {
  display: inline;
}

/*
 * Beefcake User Permissions Styling
 */

.perm-expired {
  color: gray;
  font-style: italic;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

.navbar-brand {
  padding: 0px 8px;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0px;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f1f1f1;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #6441A5;
  background-color: #B9A3E3;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

#content-panel {
  min-height: 100%;
  height: auto;
  margin-bottom: -40px;
}

/*
 * Footer
 */

.footer {
  position: relative;
  width: 100%;
  height: 40px;
  background-color: #f5f5f5;
  clear: both;
  z-index: 2000;
  padding: 10px 0;
}

.footer p {
  text-align: center;
}

/*
 * Buttons
 */

.btn-default {
  background-color: #6441A5;
  border-color: #6441A5;
  color: #fff;
}

/*
 * Alerts
 */

.alert-success {
  background-color: #B9A3E3;
  border-color: #6441A5;
  color: #6441A5;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

/*
 * Fake table
 */

.fake-table {
  border-collapse: collapse;
  display: table;
}

.fake-thead {
  background-color: #EFEEF1;
  border-bottom: 0;
  border-color: inherit;
  display: table-header-group;
  vertical-align: middle;
}

.fake-thead .fake-th.left {
  box-shadow: 3px 0px 0px #6441A4 inset;
}

.fake-tbody {
  border-color: inherit;
  display: table-row-group;
  vertical-align: middle;
}

.fake-tr {
  display: table-row;
}

.fake-tr:nth-child(even) {
  background-color: #EFEEF1;
}

.fake-th {
  display: table-cell;
  font-weight: bold;
  padding: 2rem;
}

.fake-td {
  display: table-cell;
  padding: 10px 2rem 10px 2rem;
  vertical-align: top;
}

/*
 * Utilities
 */

.hidden {
  display: none;
}

.inline {
  display: inline;
}

.pd-0 {
  padding: 0em !important;
}

.pd-t-2 {
    padding-top: 2em !important;
}

.m-b-1 {
    margin-bottom: 1em !important;
}

#duo_iframe {
  width: 100%;
  min-width: 304px;
  max-width: 620px;
  height: 330px;
}

.boxart_image img {
  width: 150px;
  height: 200px;
  background-color: #F7F6F7;
  min-width: 150px;
  max-height: 200px;
  display: table-cell;
}

.account-active {
  background-color: #5FD453;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  padding: 3px 5px 2px;
}

.account-blockrecord {
  background-color: #FF8C00;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  padding: 3px 5px 2px;
}

.account-deactivated {
  background-color: #D45F53;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  padding: 3px 5px 2px;
}

.user-type-staff {
  background-color: #000000;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  padding: 3px 5px 2px;
}

.user-type-partner {
  background-color: #9147ff;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  padding: 3px 2px 2px;
}
.label_badge .glyphicon-partner .badge_label {
  padding-right: 4px;
}

.glyphicon-partner:before {
  content: "\00a0";
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAPfSURBVHgB7Zw/TxRBGId/sxhsxFhoLKQgWGEhdCRWYAKxk9ZE/QzyCYRPAFSWFvoBtDNiIpWJlScmboVSSKKhMcFGkF3nPRiynLfuvO/szNyGfZIjd7kL7DzMs3t3+0ehh5U7+UxyiAUo3NUPx3A26KgcncMhLC++UtvFJ5S5szKTXxoaxuMceIQzjBayerivRW2on8ePj+Qkw3ir706hhehk+5glSQk9opmDVk6RqWMnUHqdM5Zk+IqWf8gyzCbJHyyhpT8KC4n+MYmWviR6S06C2nVPOWPnMABcuwmM6nk8MQf8/gWk68DWO2DvB6Kj1ubzHBEoSrl4tf9rdrfiywoqyEZKGbFkeRfkIqWMkLK8CPIhpQzfsmoTFFJKGT5kOQkaBCll1CVLLOjKOHDvCRrB04dySQmETMyjMdxwWFaxoPFbaAy0KpAiEkR5Ddo653+MakEjwuUVCWpSXgZpZiJBTcrLIM2MLahpeRmkmbEFNTEvgyQztqAm5mWQZMYSFDuv98/17RnESDJjCYqZl5HjKombGUtQrLx6pbhI4mZmLShWXmUypJK4mVkLipFXlQSpJE5m1oJC52U7eIkkTmZWglzz4g7CdUVcBSczK0EueXG3Plw50/f17QHY2GZmJUiaF3frE0oOYZtZpSBpXtytT0g5hG1mlYIkeXFnSmg5BpvMKnc9c/PirGu6qDhyCJvMKgUp+ONEkiV1yiHOX6h+TWVin1+DRd2D8Pl7U4uxVQr6tgk2dQ/Gl3TaZ1ZFpaCdTdk+pboG5UvO7he7cVm9D+JmZnAdnC85RGo5JitBkswM0kH6lEPY5EVYCZJmZuAO1rcc27wI60/z0swMtoP2LYdIGWOxFuSSmaFq8CHkELZ5EdaCXDMzlEkIJYeTF8H6Tto1M0OvjFByiJQ5BtZhwJTZNOqBpHTJw8khOHkRLEEms5Gavrw/kRQIbl4Ee89qXZnFIBUsO1tQHVuzWHDzItiC6tqahUaSFyE6PqiJmaXCZRYJamJmkrwIkaCmZSbNixAf5dqkzFKHZRULakxmuTwvwulUhMvX9a6TuaM9HwN13KIe0c5H/U/8pGf6eqRTEXoZBFldKZvuUop4OR0qpCwfUop4P6HOhyzfUooEPSXTRVZIKUWindRrIyuWlCLRBBUpytr7Hl9KkYEQNMjQG8VttJTRSbIcL9HSl1xpQfpd5wu09EULWk4W36gNPYvW0HIK7WSVrmd29GH1AEt6JnXQYvignSzTna4gulZXdoDZdiYhp5mT7eP2qYu8FaFLdiHDksoxqeJfWyjIWxD9R7Zz2ljpG61yis/9Bdyd0nkvSuEGAAAAAElFTkSuQmCC");
  background-repeat: no-repeat;
  background-size: contain;
  clip-path: circle(45% at 50.1% 51%);
  shape-outside: circle(45% at 50.1% 51%);
  font-size: 1.9rem;
  vertical-align: text-top;
}

.user-type-affiliate {
  background-color: #FFB300;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  padding: 3px 5px 2px;
}

.user-type-developer {
  background-color: #428bca;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  padding: 3px 5px 2px;
}

.user-type-regular {
  text-transform: uppercase;
  letter-spacing: .05em;
}

.hidden-copyable,
.icon_badge .badge_label {
  clip: rect(0,0,0,0);
  position: absolute;
}
.icon_badge .badge_label:after {
  content: ",\00A0";
}
.icon_badge {
  min-width: 2.5rem;
  min-height: 2.5rem;
}

.label_badge .badge_label {
  position: inherit;
  top: -2px;
  margin-left: -1rem;
}

@media (max-width: 768px) {
  .label_badge .badge_label {
    clip: rect(0,0,0,0);
    position: absolute;
  }
}

.staff-activity-logs {
  table-layout: fixed
}

.geoip-results {
  margin: 4px;
  padding: 4px;
}

.geoip-submission p{
  margin-top: 10px;
  text-align: center;
}

code {
  font-size: 100%;
  letter-spacing: 0.05rem;
  color: #262626;
  background: none;
  padding: 0;
}

.table.v-center th,
.table.v-center td {
  vertical-align: middle;
  position:relative;
}

.table.v-center.horizontal tbody {
  display: inline-table;
  width: 100%;
  table-layout: fixed;
}

.table.v-center.horizontal tbody tbody {
  table-layout: auto;
}

.text-center > th,
.text-center > td {
  text-align: center;
}

.table.horizontal tr > :nth-child(odd) {
  text-align: right;
  white-space: normal;
  word-break: normal;
}
.table.horizontal tr > :nth-child(even) {
  text-align: center;
  border-right: 1px solid rgb(221,221,221);
  border-left: 1px dotted rgb(221,221,221);
  word-break: break-word;
  white-space: normal;
}
.table.horizontal tr > :nth-child(even):after {
  content: "\000A";
}

.table.v-center.horizontal tr > :nth-child(even) > .btn.glyphicon.pull-right {
  position: absolute;
  height: 2.2rem;
  right: 0.8rem;
  top: calc(50% - (2.2rem / 2));
}

[data-content]:before {
  content: attr(data-content);
}

td.contains-button:hover a.btn.hover.pull-right, 
a.btn.hover.pull-right:hover {
    display: inline-block;
}

.hover {display:none;}
