/* Root tag styling */
* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-y: scroll;
}

body {
    font-family: sans-serif;
    font-size: 14px;
    color: black;
    text-align: left;
    width: 90%;
    max-width: 900px;
    margin: 5px auto !important;
    float: none !important;
}

h1 {
    margin: 10px 0;
    padding: 0;
}

h2 {
    margin: 15px 0 8px 0;
    padding: 0;
}

h3 {
    margin: 12px 0 8px 0;
}

hr {
    border-top: 1px solid #ccc;
    border-bottom: none;
}

ul {
    margin: 0px 15px;
    padding: 0px 0px;
}

li {
    margin: 5px 0px;
    padding: 0px 0px;
}

/* Bedrock specific tags */
.page-container-div {
    border-radius: 6px;
    border-width: 1px;
    border-color: #ddd;
    border-style: solid;
    background: #fdfdfd;
    padding: 5px 20px 12px;
}

.section-content-div {
    padding: 0px;
    margin: 0px 0px 10px 15px;
}

.odd {
    background-color: aliceblue;
}

/* Paged Display default styling tags */

.bedrock-paged-display-header {
    border: solid;
    border-width: 0;
    border-bottom-width: 1px;
    border-color: #999;
    width: 100%;
    height: 26px;
}

.bedrock-paged-display-header-row {
    padding: 4px 4px 0px 4px;
    width: calc(100% - 12px);
}

.bedrock-paged-display-header-entry {
    display: inline-block;
    text-align: center;
}

.bedrock-paged-display-header-entry-text {
    font-size: 12px;
    font-weight: bold;
    height: 18px;
    line-height: 18px;
    overflow-x: hidden;
    overflow-y: hidden;
    text-align: center;
    margin: 0 2px;

    border: solid;
    border-width: 0;
    border-bottom-width: 1px;
    border-color: #ddd;
}

.bedrock-paged-display-table {
    overflow-y: scroll;
    overflow-x: hidden;
    height: calc(100% - 26px);
}

.bedrock-paged-display-table::-webkit-scrollbar {
    width: 12px;
}

.bedrock-paged-display-table::-webkit-scrollbar-track{
    background: #eee;
}

.bedrock-paged-display-table::-webkit-scrollbar-thumb{
    width: 12px;
    background: #aaa;
}

.bedrock-paged-display-table-row {
    padding: 5px 4px 0px 4px; /* top right bottom left */
    color: black;
    height: 20px;
}

.bedrock-paged-display-table-row-entry {
    display: inline-block;
    height: 100%;
    text-align: center;
}

.bedrock-paged-display-table-row-entry-text {
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    margin: 0 2px;
    padding: 0 3px;

    font-size: 10px;
    line-height: 10px;
    vertical-align: top;
    white-space: nowrap;
}

.bedrock-paged-display-odd {
    background-color: aliceblue;
}

.bedrock-paged-display-hover {
    color: white;
    background-color: mediumblue;
}

.bedrock-paged-display-entry-left-justify {
    text-align: left;
}

.bedrock-paged-display-entry-center-justify {
    text-align: center;
}

.bedrock-paged-display-entry-right-justify {
    text-align: right;
}

.bedrock-paged-display-entry-image {
    text-align: center;
}

/* ComboBox default styling tags */

.combobox-input {
    width: 125px;
    height: 23px;
    padding: 2px 17px 2px 4px;
    border-width: 1px;
    border-color: #bbb;
    border-style: solid;
    border-radius: 3px;
    font-size: 12px;
    font-family: sans-serif;
    -webkit-appearance: none;
    background: url("img/down-arrow.png") no-repeat right center rgba(255, 255, 255, 1.0);
    background-size: 15px;
    margin-bottom: 4px;
}

.combobox-pseudo-parent {
    position: relative;
    width: 0;
    height: 0;
}

.combobox-options {
    position: absolute;
    top: -2px;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    max-height: 200px;
    opacity: 0.9;
    background-color: white;
    border-color: #bbb;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    width: 175px;
}

.combobox-option {
    opacity: 1;
    padding: 2px 4px;
    font-size: 11px;
    line-height: 15px;
    vertical-align: middle;
    overflow-x: hidden;
}

.combobox-option-label {
    opacity: 0.75;
    margin-left: 10px;
    line-height: 11px;
    padding: 2px 4px;
    font-size: 9px;
    width: 95%;
    text-align: right;
    overflow-x: hidden;
}

.bedrock-combobox-paged-display-table {
    overflow-y: scroll;
    height: 100%;
}

.bedrock-combobox-paged-display-table-row {
    font-family: sans-serif;
    padding: 3px;
    color: black;
    font-size: 10px;
    height: 19px;
}

.bedrock-combobox-paged-display-table-row-entry {
    display: inline-block;
    height: 100%;
    width: 80px;
    text-align: center;
}

.bedrock-combobox-paged-display-table-row-entry-text {
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    margin: 0 2px;
    padding: 0 3px;
    white-space: nowrap;
}

.bedrock-combobox-paged-display-odd {
    background-color: #f0f0ff;
}

.bedrock-combobox-paged-display-hover {
    color: white;
    background-color: #004;
}


/* Database styling tags */

.bedrock-database-group-container {
    display: inline-block;
    font-family: sans-serif;
    font-size: 12px;
    text-align: left;
}

.bedrock-database-element-container {
    width: 130px;
    vertical-align: top;
    margin-right: 4px;
    display: inline-block;
}

.bedrock-database-element-text-div {
    width: 100%;
    height: 15px;
    margin: 4px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bedrock-database-clear-button {
    width: 100%;
    height: 23px;
    margin: 0px;
    padding: 0;
    vertical-align: top;
    border-width: 2px;
    border-color: #444;
    border-style: solid;
    border-radius: 3px;
    background: rgba(128, 128, 255, 0.66);
}

/* Form styling tags */

.form-container {
    vertical-align: top;
    border-radius: 4px;
    border-width: 1px;
    border-color: #ddd;
    border-style: solid;
    background: #fafafa;
    margin: 0px 0px 10px 15px;
    padding: 8px 12px 10px 12px;
    font-family: sans-serif;
    font-size: 12px;
}

.form-div {
    margin: 4px 0px;
    height: 25px;
    line-height: 25px;
    width: 475px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.form-button-wrapper {
    width: 392px;
    margin-top: 10px;
    border: none;
}

.form-submit-button {
    outline-color: blue;
    outline-width: 1px;
    border-style: solid;
    border-color: #999;
    border-width: 1px;
    border-radius: 3px;
    width: 100%;
    height: 100%;
    background: rgba(196, 196, 255, 0.66);
    line-height: 15px;
    padding: 4px 5px;
}

.form-title-div {
    height: 100%;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.form-error {
    visibility: hidden;
    width: 80px;
    margin-left: 5px;
    height: 100%;
    color: red;
    display: flex;
    align-items: center;
}

.form-input-div {
    height: 100%;
    width: 250px;
}

.form-input {
    outline-color: blue;
    outline-width: 1px;
    height: 100%;
    width: 100%;
    padding: 4px 5px;
}

select.form-input {
    background: url("img/down-arrow.png") no-repeat right center rgba(255, 255, 255, 1.0);
    background-size: 15px;
    height: 25px;
    line-height: 15px;
    border-width: 1px;
    border-color: #ddd;
    border-radius: 2px;
    border-style: solid;
    -webkit-appearance: none;
}

input[type=text].form-input {
    border-width: 1px;
    border-color: #ddd;
    border-radius: 2px;
    border-style: solid;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
}

input[type=checkbox].form-input {
    height: 16px;
    width: 16px;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border-width: 1px;
    border-color: #ccc;
    border-radius: 2px;
    border-style: solid;
    background-color: white;
}

input[type="checkbox"].form-input:checked {
    border-color: #aaa;
    background-color: rgba(128, 128, 255, 0.25);
    background-image: url("img/x.png");
    background-position: 3px 3px;
    background-repeat: no-repeat;
    background-size: 8px 8px;
}

/*
.combobox-options {
    width: 325px;
}
*/

/* Service Descriptor styling tags */

.content-center {
    margin-left: auto;
    margin-right: auto;
}

.container-div {
    border-radius: 6px;
    border-width: 1px;
    border-color: #ddd;
    border-style: solid;
    background: #fdfdfd;
    padding: 5px 20px;
}

.description-div {
    margin-left: 15px;
}

.events-div {
    margin-left: 15px;
}

.event-div {
    vertical-align: top;
    border-radius: 4px;
    border-width: 1px;
    border-color: #ddd;
    border-style: solid;
    background: white;
    margin-bottom: 6px;
    padding: 8px 12px 10px 12px;
}

.event-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 6px;
    line-height: 18px;
    vertical-align: top;
}

.even-odd-title {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 6px;
    margin-top: 10px;
    line-height: 14px;
    vertical-align: top;
}

.try-it {
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    float: right;
    line-height: 12px;
    vertical-align: top;
    color: blue;
}

.event-description {
    font-size: 14px;
    margin-bottom: 10px;
}

.even-odd-div {
    border-radius: 4px;
    width: 95%;
    font-size: 12px;
    margin-left: 15px;
    margin-right: 10px;
    padding: 4px 6px;
}

.even-odd-name {
    vertical-align: middle;
    width: 22%;
    font-family: monospace;
    font-style: italic;
    display: inline-block;
}

.even-odd-description {
    vertical-align: middle;
    width: 62%;
    display: inline-block;
    margin-left: 5px;
}

.even-odd-required {
    vertical-align: middle;
    width: 12%;
    display: inline-block;
    margin-left: 5px;
    color: #bbb;
    font-size: 10px;
}

.footer {
    width: 50%;
    color: #aaa;
    font-size: 10px;
    text-align: center;
    margin-top: 3px;
}

.footer-link {
    color: #888;
    font-size: 10px;
    text-decoration: none;
}

div[id="bedrock-service-descriptor-hover-box"] {
    z-index: 100;
    width: 100%;
    height: 100%;
    max-width: 900px;
    position: fixed;
    top: 50px;
    opacity: 0.975;
    padding: 20px 10px;
    visibility: hidden;
    background-color: transparent;
}

div[id="bedrock-service-descriptor-hover-box-buffer"] {
    width: calc(100% - 60px);
    max-height: calc(95% - 50px);
    margin: auto;
    background-color: #fffcfa;
    padding: 15px;
    border-width: 2px;
    border-color: darkblue;
    border-style: solid;
    overflow-y: scroll;
}

.header-image {
    display: flex;
    text-decoration: none;
    color: #bbbbbb;
    float: right;
    line-height: 48px;
    margin-right: 5px;
}

.header-image-img {
    height: 48px;
}

.header-version {
    margin-right: 5px;
}

.header-wrapper {
    width: 100%;
}

.header-title {
    display: inline-block;
}

.code-pre {
    background-color: #ddffff;
    padding: 8px;
    font-size: 14px;
    line-height: 18px;
    border-color: #688;
    border-style: solid;
    border-width: 1px;
    overflow-x: auto;
    display: flex;
    max-height: 50%;
}
