/**
 * These CSS rules have been created to customize
 * the look and feel of OSDx documentation.
 */

/* Reduce ReST content width */
.wy-nav-content {
    max-width: 70% !important;
}

/**
 * The following rules are intended to reduce spaces
 * in order to make web look more compact
 */

/* First paragraph */
.rst-content p.first {
    margin-bottom: 10px !important;
}

/* Table with command params */
.rst-content table.docutils {
    margin-bottom: 8px !important;
}

/* Table with command params (table header) */
.rst-content table.field-list th {
    padding: 0px !important;
}

/* Table with command params (table data) */
.rst-content table.field-list td {
    padding-top: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 8px !important;
}

/* Sidebar */
.rst-content .sidebar {
    width: 30%;
    padding-bottom: 0px !important;
}

/* Dropdown */
.rst-content .sd-dropdown .sd-summary-title {
    font-weight: normal;
}

.rst-content .sd-dropdown .highlight-default {
    margin: 0 !important;
}


/**
 * The following rules are intended to increase
 * space in some specific points
 */

.cmd-option-list > * {
    margin-bottom: 30px;
}

.rst-content .sd-dropdown {
    margin-bottom: 30px !important;
    overflow-x: auto;
}


 /**
  * The following rules are used to create "badges".
  * These badges identify which devices include a
  * specific command.
  *
  * - Device list: sde, m10, w20xxax, w2022ac
  */

/* Badges (used to identify devices */
.badge {
    color: white;
    padding: 2px 5px;
    text-align: center;
    border-radius: 8px;
}

/* This is just for improving a little bit the
aspect of highlighted badges */
.rst-content .badge .highlighted {
    padding: 0px;
    border-radius: 16px;
    font-size: 110%;
}
