/*
 * Enunciate's *[id]:before scroll-offset hack (visibility:hidden; height:70px)
 * also matches property spans (id="prop-*"). Kill that on .property-name and use
 * scroll-margin instead so ::before is free for the PUT tag. Lock uses background
 * so ::after stays free for POST.
 */
.property-name[id] {
    scroll-margin-top: 70px;
}

.property-name[id]:before {
    content: none;
    display: none;
    height: 0;
    margin: 0;
    visibility: visible;
}

.secured {
    background-image: url("../img/lock.png");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 16px 16px;
    padding-right: 24px;
}

/*
 * Flat tag icons. PUT on ::before, POST on ::after (float:right → POST then PUT).
 * Must come after the :before reset above.
 */
.property-name.required-put:before,
.property-name.required-post:after {
    display: inline-block;
    float: right;
    visibility: visible;
    height: auto;
    width: auto;
    margin: 0 0 0 6px;
    padding: 2px 8px;
    font-family: arial, helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    vertical-align: middle;
}

.property-name.required-put:before {
    content: "PUT";
    background-color: #1976d2;
}

.property-name.required-post:after {
    content: "POST";
    background-color: #388e3c;
}

/* Inline legend badges (same look as property-name POST/PUT tags) */
.badge-post,
.badge-put {
    display: inline-block;
    margin: 0 2px;
    padding: 2px 8px;
    font-family: arial, helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    vertical-align: middle;
}

.badge-post {
    background-color: #388e3c;
}

.badge-put {
    background-color: #1976d2;
}

table.datatype-properties tr th:nth-child(4),
table.datatype-properties tr td:nth-child(4) {
    display: none;
}

h1.welcome {
    margin-bottom: 25px;
}

h2 {
    font-size: 25px;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-bottom: 20px;
}

.sidebar {
    background-color: #EDE9E1;
}

.navbar {
    background-color: #22222E;
}

em  {
  margin: 10px 0px 10px 0px;
  display: block;
  background: #deebff;
  padding: 20px 20px 20px 50px;
  line-height: 1.4;
  position: relative;
  font-family: arial, helvetica, sans-serif;
  font-style: normal;
  font-size: 14px;
}

em::before {
  display: block;
  position: absolute;
  left: 15px;
  top: 17px;
  content: "!";
  border-radius: 50%;
  border: 1px solid #0052cc;
  background-color: #0052cc;
  width: 25px;
  height: 25px;
  line-height: 22px;
  text-align: center;
  color: #ffffff;
  font-weight: normal;
}
