/* app css stylesheet */

.menu {
  list-style: none;
  border-bottom: 0.1em solid black;
  margin-bottom: 2em;
  padding: 0 0 0.5em;
}

.menu:before {
  content: "[";
}

.menu:after {
  content: "]";
}

.menu > li {
  display: inline;
}

.menu > li:before {
  content: "|";
  padding-right: 0.3em;
}

.menu > li:nth-child(1):before {
  content: "";
  padding: 0;
}

/** 
 Modal
*/
.ng-modal-overlay {
  /* A dark translucent div that covers the whole screen */
  position:fixed;
  z-index:9999;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:#000000;
  opacity: 0.8;
}
.ng-modal-overlay {
  /* A dark translucent div that covers the whole screen */
  position:fixed;
  z-index:9999;
  top:0;
  left:0;
  width:100%;
  height:100%;
  height:150%;  
  height: 10000%;
  background-color:#000000;
  opacity: 0.8;
}
.ng-modal-dialog {
  /* A centered div above the overlay with a box shadow. */
  z-index:10000;
  position: fixed;
  width: 50%; /* Default */

  /* Center the dialog */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);

  background-color: #fff;
  box-shadow: 4px 4px 80px #000;
  overflow-x: scroll;
}

.no-x-scroll .ng-modal-dialog {
  overflow-x: auto;
}
.ng-modal-dialog.fixedTopMargin
{
    position: fixed;
    top: auto;
    bottom: -10px;
    left: 50%;
}
.ng-modal-dialog.restrictedmax, .ng-modal-dialog-content.restrictedmax
{
    max-width: 850px;
}
.ng-modal-dialog-content {
  padding:10px;
  text-align: left;
}
.ng-modal-close {
  position: absolute;
  top: 3px;
  right: 5px;
  padding: 5px;
  cursor: pointer;
  font-size: 120%;
  display: inline-block;
  font-weight: bold;
  font-family: 'arial', 'sans-serif';
}

.padded15
{
    padding: 15px;
}

.greyout
{
    background-color: #E0E0E0 	 ;
}

/**
 * Sports Menu
 */
.sports-menu ul
{
    list-style: none;
    background-color: #F2F2F2;
    margin: 0;
    padding: 0;
    padding-left: 5px;
}

.sports-menu ul li a
{
    text-decoration: none;
    /* margin-left: 15px; */
    padding: 0;
    /* padding-left: 15px; */
}

.sports-menu ul li a.active
{
    font-weight: bold;
}

.sports-menu ul ul
{
    margin-left: 30px;
}

.bg-danger2
{
    color: white;
    background-color: #B40404;
}
.bg-danger2 a
{
    color: white;
}

/*
 * Limits setup screen
 */
a.removeLink
{
    color: #800000;
}

.form-control-inline {    
    min-width: 0;    
    max-width: 100%;
    width: auto;
    display: inline;
}

.nomargintop {
    margin-top: 0;
}

.nopadleftright
{
    padding-left: 0px;
    padding-right: 0px;
}

.padtop10
{
    padding-top: 10px;
}

.validationEnabled input.ng-invalid.ng-dirty {
       background-color: #FA787E;
}
.validationEnabled input.ng-valid.ng-dirty {
       background-color: #78FA89;
}

.manualTradeTable td
{
    padding-left: 5px;
}


.manualTradeTable td.first
{
    padding-left: 0px;
}

.paddedTableRows tr td
{
    padding-top: 5px;
}



.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}
/** Limits setup: save review and background saves */
.ng-modal-close { z-index: 3; }
.limit-link { margin-left: 8px; white-space: nowrap; }
.limit-review-head {
  position: sticky; top: 0; z-index: 2; background: #fff;
  border-bottom: 1px solid #ddd; margin: -10px 0 10px; padding: 6px 30px 4px 0;
}
.limit-review-head h3 { margin: 4px 0 6px; }
.limit-review-head p { margin: 0 0 6px; }
.limit-review-count { font-size: 15px; }
.limit-review-explain ul { margin: 4px 0 0; padding-left: 20px; }
.limit-review-explain p { margin: 0; }
.limit-review-explain.well { margin-bottom: 12px; }
.limit-review-toolbar { margin: 0 0 14px; }
.limit-review-toolbar .btn { margin-left: 8px; }
.limit-review-toolbar .btn.active { background: #337ab7; color: #fff; border-color: #2e6da4; }
.limit-review-fills { margin: 0 0 12px; }
.limit-review-fills-list { margin: 6px 0 0 18px; }
.limit-review-table .radio { margin: 0 0 4px; }
.limit-review-table .limit-review-name { font-weight: bold; }
.limit-review-choice-col { width: 230px; }
.limit-review-levels-row > td { background: #fafafa; }
.limit-review-level { border-top: 1px solid #e5e5e5; padding: 8px 0; margin: 0; }
.limit-review-level:first-child { border-top: 0; }
.limit-review-level-missing { background: #f2dede; }
.limit-review-effect { margin-top: 6px; padding-left: 8px; border-left: 3px solid #ddd; }
.limit-review-fill { margin-left: 8px; }
.limit-review-foot {
  position: sticky; bottom: 0; z-index: 2; background: #fff;
  border-top: 1px solid #ddd; margin: 10px 0 -10px; padding: 10px 0;
  display: flex; align-items: center;
}
.limit-review-foot .btn { margin-left: 8px; }
.limit-review-foot-status { flex: 1; }
.limit-job-banner .btn { vertical-align: baseline; }
.limit-job-steps { list-style: none; padding: 0; margin: 0 0 12px; display: flex; }
.limit-job-steps li { padding: 4px 12px; margin-right: 6px; border-radius: 12px; background: #eee; color: #777; }
.limit-job-steps li.active { background: #337ab7; color: #fff; }
.limit-job-steps li.done { background: #dff0d8; color: #3c763d; }
.limit-job-options .panel-body p { min-height: 2.8em; }
.limit-job-affected { margin: 8px 0; }
.limit-overrides-tools { display: flex; gap: 12px; align-items: center; margin: 8px 0; }
.limit-overrides-tools input[type=search] { max-width: 420px; }
.limit-overrides-foot { text-align: right; margin-top: 12px; }
.limit-job-affected-table { margin-bottom: 6px; }
.limit-job-affected-table a { white-space: nowrap; }
/* "Limits saved" (a save written at once): the agents ticked, in their tree. */
.limit-saved-level { font-weight: bold; margin-bottom: 6px; }
.limit-saved-tree { margin: 8px 0 12px; max-height: 45vh; overflow-y: auto; text-align: left; }
.limit-saved-tree ul { margin: 4px 0 0; }
.limit-saved-tree li { line-height: 22px; }
.limit-saved-icon { margin-right: 6px; }
.limit-job-pager .btn, .limit-job-pager span { margin-right: 8px; }
.limit-ladder ul { margin: 4px 0 0; padding-left: 20px; }
.limit-checking p { font-size: 15px; }

/* "Save Only Selected": the box of each bet type. */
.limit-select-col { width: 24px; }
/* A profile save: "Agents only" / "Agents and players". */
.limit-scope-select { padding: 4px 0; }
.limit-scope-choice { display: flex; align-items: flex-start; margin: 10px 0; }
.limit-scope-choice .btn { min-width: 170px; margin-right: 14px; }

/* "What's being saved" on the Agents only / Agents and players step and the review. */
.limit-save-what { background: #eef5fb; border-left: 4px solid #337ab7; padding: 10px 14px; margin: 6px 0 12px; }
.limit-save-what-title { color: #23527c; font-size: 15px; margin-bottom: 6px; }
.limit-save-what-chips { margin-bottom: 6px; }
.limit-chip { display: inline-block; border: 1px solid #b6d4ec; border-radius: 12px; padding: 0 10px; font-size: 12px; color: #337ab7; background: #fff; margin-right: 4px; }
.limit-chip-strong { background: #337ab7; border-color: #337ab7; color: #fff; font-weight: bold; }
.limit-save-what-meta { color: #5a6b7b; font-size: 12px; line-height: 18px; }
.limit-save-what-toggle { display: inline-block; margin-top: 6px; }
.limit-save-what-toggle .glyphicon { font-size: 10px; }
.limit-save-what-values { margin: 8px 0 0; background: #fff; }
.limit-save-what-values th { background: #dceaf6; }

/* A background save's card: "What's being saved" on one line, details below. */
.limit-save-what-compact { padding: 7px 12px; }
.limit-save-what-line { display: flex; align-items: center; }
.limit-save-what-line .limit-grow { flex: 1; margin: 0 6px; }
.limit-save-what-line .limit-chip { margin: 0 4px 0 0; }
.limit-save-what-caret .glyphicon { font-size: 10px; }
.limit-save-what-details { margin-left: 8px; font-size: 12px; }
.limit-save-what-more { border-top: 1px solid #cfe0ef; margin-top: 7px; padding-top: 7px; }
.limit-save-what-label { color: #23527c; font-weight: bold; font-size: 12px; margin-top: 6px; }
