/*
 * Base structure
 */

html {
  position: relative;
  min-height: 100%;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  padding-bottom: 200px;
}

.bg-primary {
  background-color: #015477 !important;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.roundrect {
    border-radius: 10px;
}

.border-left {
    border-left: solid 1px lightgray;
}

.navbar-nav .nav-link {
  white-space: nowrap;
}
.navbar-inverse .navbar-nav .nav-link {
  color: #FFF;
}
.navbar-inverse .navbar-nav .nav-link:hover {
  color: #FFF;
}

.text-small {
  font-size: 0.8em;
}

.ui-autocomplete {
  background: white;
  border-radius: 5px;
}
.ui-front {
  z-index: 9999 !important;
}
.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #015477 !important;
    color: #ffffff !important;
}

.nav-pills .nav-link.active {
  background-color: #015477;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  min-height: 120px;
  background-color: #f5f5f5;
  z-index: 9999;
}

.badge-outline {
  border: solid 1px #5b6dd8;
  color: inherit !important;
}

.form-control::-webkit-input-placeholder {
    color: #aebdc8;
    opacity: 1
}

.form-control::-moz-placeholder {
    color: #aebdc8;
    opacity: 1
}

.form-control:-ms-input-placeholder {
    color: #aebdc8;
    opacity: 1
}

.form-control::placeholder {
    color: #aebdc8;
    opacity: 1
}

.no-wrap {
  display: block;
  white-space: nowrap !important;
}

.table-responsive {
  display: table !important;
}
/*
 * Timeline
 */

#timeline-table td {
  overflow-x: hidden;
  vertical-align: middle;
  padding: 0.5em;
  white-space: nowrap !important;
}

#timeline-table tr.date-follower td {
  border-top: none;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 51px;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  border-right: 1px solid #eee;
  padding-left: 0;
  padding-right: 0;
}

.sidebar .nav {
  margin-bottom: 20px;
}

.sidebar .nav-item {
  width: 100%;
}

.sidebar .nav-item + .nav-item {
  margin-left: 0;
}

.sidebar .nav-link {
  border-radius: 0;
}

.tooltip-inner {
  text-align: left;
  max-width: 50% !important;
}

a[id]:not([href]) {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}

.CodeMirror, .CodeMirror-scroll {
	min-height: 50px !important;
}


.table-editable {
  position: relative;
  
  /*.glyphicon {
    font-size: 20px;
  }*/
}

.table-remove {
  color: #ccc;
  cursor: pointer;
}

.table-up, .table-down {
  color: #ccc;
  cursor: pointer;
}

.table-add {
  color: #ccc;
  cursor: pointer;
}


.price-tag {
  background: #058;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  font-size: 0.875rem;
  height: 30px;
  line-height: 30px;
  padding: 0 0.666rem;
  position: relative;
  text-align: center;
}
.price-tag:after {
  background: inherit;
  border-radius: 4px;
  display: block;
  content: "";
  height: 22px;
  position: absolute;
  left: -8px;
  top: 4px;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  transform: rotate(45deg);
  width: 22px;
  z-index: -1;
}

/* Company page */
.event {
  border: solid rgb(209, 223, 235) 1px;
  border-radius: 3px;
}
.event-content {
  font-size: 0.8em;
}
.event-content p {
  margin-bottom: 0
}

.hidden {
  display: none !important
}

.light-blue-bg {
  background-color: rgb(65, 116, 177);
}

#fact-sheet table {
  table-layout: fixed;
  width: 100%;
}

#ipo-sector-focus {
  line-height: 1.1em;
  cursor: pointer;
  display: block;
}

#fact-sheet th {
  font-weight: 700;
  padding-left: 1em;
  padding-right: 1em;
  background-color: #015477;
  color: white;
}

#fact-sheet td {
  padding-left: 1em;
  padding-right: 1em;
  background-color: #fafafa;
  text-align: right;
}

#chart-canvas {
  height: 256px;
  width: 446px;
}

/* Companies Table */
#symbols th {
  white-space: normal !important;
  line-height: 100%;
  border: none;
  font-size: 0.8em;
  text-align: center !important;
}

#symbols thead tr {
  white-space: nowrap;
}

#symbols tbody td {
  text-overflow: ellipsis;
  overflow-x: hidden;
}

#symbols th>div.th-inner {
  line-height: 100%;
}

#symbols .nav-item {
  white-space: nowrap;
}

#symbols .tab-content {
  min-height: 800px;
}

.rightside-login-form {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fafafa;
  padding: 2em 2em 1em 2em;
}

#companies-table-sticky-header-sticky-header-container > div {
  padding-left: 15px
}

#rightside {
  position: fixed;
  top: 200px;
  right: 50px;
  border-radius: 5px;
  background-color: white
}

/* Archive Table */

#companies-table.no-wrap td {
  white-space: nowrap !important;
}


.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.video-js .vjs-tech {
    background-color: white;
}


.trial-hidden {
    -webkit-filter: blur(5px);
    filter: blur(5px);
}

#custom-FAQ {
  width: 75%;
}

/* Underwriter League */

.league-header {
  line-height: 1.5;
}

/* Legal League */

#legal-league th {
  border: none;
  white-space: normal !important;
  line-height: 100%;
}

#legal-league th .th-inner {
  line-height: 0.95rem!important;
}

/* Auditor League */

#auditor-table th {
  border: none
}

/* fpa table */
#fpa-table .fpa-detail-text {
  padding-left: 45px;
  white-space: normal;
}

#fpa-table .fpa-detail-text ul {
  padding-left: 18px;
}

/* Newsletters */

a.buffer:before {
    content: "";
    display: block;
    height: 8em;
    margin: -8em 0 0;
}

.data-table thead{
  color:rgba(255,255,255,.85) !important;
  background-color : #015477 !important
}
.data-table tbody {
  white-space: nowrap
}

.data-table-small thead{
  font-size:0.8em !important;
  color:rgba(255,255,255,.85) !important;
  background-color : #015477 !important
}
.data-table-small tbody {
  font-size: 0.8em; 
  white-space: nowrap
}

.main-right-div {
  margin-right: 1em; 
  max-height:950px; 
  overflow-y:auto;
}

.popover {
  background-color: #b4cfb4
}

.table td, .table th {
  border-top: 0px solid #eceeef;
}
.table thead th {
  border-bottom: none;
  border-top: none;
}

.borderless td, .borderless th {
  border: none;
}

.selected-option {
  background-color:#015477!important;
}  
.selected-option a{
  color: white;
  cursor: default;
}

.has-text-grey {
  font-size: .75rem!important;
  color:#222222!important
}  

.left-panel {
  max-height:950px; 
  overflow-y:auto; 
  padding-left: 0; 
  padding-right: 0;
}

.right-panel {
  max-height:950px; 
  overflow-y:auto; 
}

.badge-light {
  color: #212529 !important;
  background-color: #f7f7f7 !important;
}

.badge {
  text-align : left;
  margin-left: 1em;
  font-size : 85%
}

@media(max-width: 768px) {
	.div-max {
        width:300%
        }
  .footer.expand-width {
        width:300% ;
        }    
	}

  .text-decoration-none {
    text-decoration: none !important;
}