/**
 * Metrici - version 3 CSS
 * Works with Bootstrap 3
 */


#node-properties .nav-link {
  color: inherit;
  padding: 0px;
}

.code {
  font-family: Fixed, monospace;
}
.preformat {
  white-space: pre-wrap;
}
.targetname {
  font-weight: bold;
}

/* A block containing an icon and a link */

.linkblock {
  width: 120px;
  margin: 10px;
  text-align: center;
}

/* Adds spacing between buttons. */

.btn-spaced .btn + .btn {
  margin-left: 10px;
}

.btn-link-plain {
  display: inline;
  padding: 0px;
  border: none;
  white-space: normal;
  text-align: left;
}  

/* Formats a div like a para */
.para {
  margin: 0 0 10px;
}  

/* btn-tabs added to nav nav-tabs to allow <a> to surround <button class="btn btn-link"> */
.btn-tabs > li > a {
  padding: 0px;
}
.btn-tabs .btn-link {
  padding: 10px 15px;
  border: 0px;
}

.btn-tabs .btn-link:hover,
.btn-tabs .btn-link:focus {
  text-decoration: none;
}

/* Make sure there is a margin beneath the tabs, if there is no h2 to have one */
.node-tabs {
  margin-bottom: 15px;
}

.nav-tabs .btn-link {
  text-decoration: none;
}

#header-search-form {
  /*margin-top: 8px;*/
}

/* Allows scrollable navbar area on larger devices
   Known issue with BS3 - see https://github.com/twbs/bootstrap/issues/11243 */

/*
@media (min-width: 768px) {
  #header .navbar-collapse.in, #header .navbar-collapse.collapse {
    overflow-y: auto!important;
  }
}
*/

/* Section class that removes stripes from striped tables. */
.nostripes .table-striped>tbody>tr:nth-child(odd) {
  background-color: inherit;
}
.nostripes .table-striped>tbody>tr:nth-child(odd)>td {
  background-color: inherit;
}
.nostripes .table>tbody>tr>td {
  border-top: 0px;
}
@media (max-width: 767px) {
  .nostripes .table-responsive {
    border: 0px;
  }
}

/* Removes the not entered from radio buttons */
.hidenotentered .radiogroup .notentered, .hidenotentered .acrossgroup > div > div.notentered, .hidenotentered .acrossgroupradios .notentered {
  display:none;
}

/* Standard formatting */
.nodeMemberSequence, .nodeMemberSequence input {
  text-align: right;
  width: 4em;
}

.nodeMemberScale input, input.nodeMemberScale {
  max-width: 7em;
  text-align: right;
}

.selectTargetIndicator, .selectTargetIndicator input,
.selectMemberIndicator, .selectMemberIndicator input ,
.deleteMemberIndicator, .deleteMemberIndicator input {
  height: 1.5rem;
  width: 1.5rem;
  text-align: center;
}

.acrossgroup {
  display: table;
  text-align: center;
  table-layout: fixed;
}
.acrossgroup > div {
  display: table-row;
}
.acrossgroup > div > div {
  display: table-cell;
  width: 2%;
}

/* Spacing for the standard sections */

#title h1 {
  margin-top: 0px;
}

/* Show on hover */
.hover-show{
  display:none;
}
.hover-context:hover .hover-show {
  display:block;
}

/* Summary show/hidden */
.summary-show {
  display:none;
}
.summary .summary-show {
  display:block;
}
.summary .summary-hidden {
  display:none;
}

.section-responsive-horizontal h2.sectionheader {
  margin-top: 0px;
}
.section-responsive-horizontal.section-responsive-right h2.sectionheader {
  text-align: right;
}  
/**
 * Support popups
 */
#popup-modal .modal-dialog {
  width: 770px;
  max-width: initial;
}

.modal-backdrop {
  background-color: transparent;
}

h1#popup-title {
  margin: 3px 0px 0px 2px;
}
#popup-modal .close {
  opacity: 0.8;
}
.modal-header {
  display: block;
}
.modal-header .close {
  margin-left: 10px;
  float: right;
  border: none;
  background-color: inherit;
}
#popup-close-icon {
  font-size: 2rem;
}
#popup-size-icon {
  font-size: 1.5rem;
  padding-top: 0.4rem;
}
#popup-modal .modal-body {
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
}
#popup-iframe {
  width: 768px;
  min-height: 40px;
}

body.inframe #headerwrapper, body.inframe #titlewrapper, body.inframe #footerwrapper, body.inframe #bannerwrapper {
  display:none;
}

body.inpopup #headerwrapper, body.inpopup #titlewrapper, body.inpopup #footerwrapper, body.inpopup #bannerwrapper {
  display:none;
}


body.inframe #content.container {
  width: 100%;
  max-width: 100%;
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

body.inframe .dt-bootstrap5 .row,
body.inframe .dt-bootstrap5 .col-sm-12 {
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0px;
  margin-right: 0px;
}


.resetPasswordMessage + .resetPasswordMessage {
  border-top: 1px solid black;
  padding-top: 10px;
}
body.inpopup #content.container {
  width: 100%;
  max-width: 100%;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
}

.search-summary {
  margin-bottom: 5px;
}
.search-highlights {
  font-size: 0.8em;
}
.search-highlight {
  background-color: #EEEEFF;
}
/* Reinstate BS3 horizontal form */
@media (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: right;
    margin-bottom: 0;
    padding-top: 7px;
  }
}
/* BS5 negative margins (required for BS3 compatibility) */
.ms-n4 {
  margin-left: -1.5rem !important;
}

/* Expand menu drop downs in responsive view */
#header.show-responsive-menu .nav-menu-button-group .dropdown-menu {
  display:block;
}

/* Don't show arrow down in menu drop downs in responsive view */
#header.show-responsive-menu .nav-menu-button-group .dropdown-toggle:after {
  visibility: hidden;
}

/* Break out of the container and make something full width */
.full-width {
  width: 100%;
  /*
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  position: relative;
  right: 50%;
  width: 100vw;
  */
}

