/*
 * Base structure
 */

 div#message-dates * {
  font-size: 13px;
}
div#content * {
    font-size: 13px;
}
.fixed-table-body {
    overflow-x: auto !important;
    overflow-y: auto !important;
    height: 100%;
}

.bootstrap-table.bootstrap3 * {
  font-size: 13px;
}

div#Messages {
    margin-top: -10px;
}

td, th {
  color: #525151;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 0px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
    margin-bottom:40px !important;
  }
}
/* main navigation */
ul li.active a {
  background: #1ab394;
  color: white;
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 20px;
    padding-left: 20px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

/*
 * Sidebar, Detail, Modal, and Accordion CSS 
 * for Account and Triage views.
 */

#content {
  float:left;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom:40px !important;
}

#openSidebar {
  float:left;
}

#closeSidebar {
  float:left;
}

#mapCanvas img {
  max-width: none;
}

#maincont{
  margin-top: 10px;
}

#toggleSidebar {
  float:left;
  color:#779DD7;
  padding:2px 4px;
}

#toggleDetail {
  /*display:block;*/
  float:left;
  margin-left: auto;
  margin-right: auto;
  color:#779DD7;
  padding:4px 4px;
}

#toggleBrand {
  /*display:block;*/
  float:left;
  color:#779DD7;
  padding:4px 4px;
}

#sidebar{
  float:left;  
}

#detail{
  float:right;
  margin-bottom:40px !important;
  /*margin-top:55px !important;  */
}

#account-list{
  margin-bottom:40px !important;
}

#tsList{
  margin-bottom:40px !important;
}

#notLogBox{
  margin-bottom:40px !important;
  /*background: -moz-linear-gradient(center top , #F1F2F2 0%, #F1F2F2 100%) repeat scroll 0 0 transparent;*/
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  bottom: 20px;
  /*font-size: 0.8em;*/
  /*font-style: normal;*/
  /*font-weight: normal;*/
  /*left: 50%;*/
  /*margin-left: auto;*/
  /*margin-right: auto;*/
  /*padding-top: 20px;*/
  position: fixed;
  /*text-align: center;*/
  /*width: 97.5%;*/
  height: 40%;
  width: 100%;
  left: 0px;
  right: 0px;
  /*margin-bottom: 40px;*/
  /*background-repeat:no-repeat;*/
  /*background-position: center center;*/
}
#notMessages{
  margin-bottom:40px !important;
  height: 100%;
}
#notDetailBox{
  margin-bottom:40px !important;
  /*background: -moz-linear-gradient(center top , #F1F2F2 0%, #F1F2F2 100%) repeat scroll 0 0 transparent;*/
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  bottom: 0px;
  font-size: 1.2em;
  font-style: normal;
  font-weight: normal;
  /*left: 50%;*/
  /*margin-left: auto;*/
  /*margin-right: auto;*/
  /*padding-top: 20px;*/
  position: fixed;
  /*text-align: center;*/
  /*width: 97.5%;*/
  height: 40%;
  width: 100%;
  left: 0px;
  right: 0px;
  /*overflow-y: scroll;*/
  /*margin-bottom: 40px;*/
  /*background-repeat:no-repeat;*/
  /*background-position: center center;*/
}
#message-sidebar{
  overflow-y: scroll;
  overflow: hidden;
  margin-bottom:40px !important;
  /*height: 100%;*/
}
#message-table{
  overflow-y: scroll;
  margin-bottom:40px !important;
  /*height: 100%;*/
}
#brand-sidebar{
  overflow-y: scroll;
  margin-bottom:40px !important;
  /*height: 100%;*/
}
#account-table{
  overflow-y: scroll;
  margin-bottom:40px !important;
  /*height: 100%;*/
}
#cpu-list{
  overflow-y: scroll;
  margin-bottom:80px !important;
  /*float: right;*/
}
.accordion-heading .accordion-toggle-small {
    display: block;
    padding: 4px 8px; /*8px 15px;*/
}

.accordion-inner-small {
    padding: 4px 8px;  /*9px 15px;*/
    border-top: 1px solid #e5e5e5;
}

.no-sidebar {
    margin-left:0 !important;
}

.no-detail {
    margin-right:0 !important;
}
.panel-scroll {
  /*max-height: 320px;*/
  overflow: hidden;
  overflow-y: scroll;
  margin-bottom:80px !important;
}
.scrollDiv {
  overflow-y: scroll;
  display: inline-block;
  float: none; /* Very important */

  display: block;
  /*position:absolute;*/
  height:auto;
  bottom:0;
  top:0;
  margin-bottom:60px;
  margin-top:0px;
}

.modal .modal-body {
  /*max-height: 450px;*/
  overflow-y: auto;
}

.editor {
  white-space:pre;
}

/* Fixed table cells with ellipsed content.
   Need column resizing jQuery. */

/*.table {
  table-layout:fixed;
}*/

.table td {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  /*overflow-y: scroll;*/
  overflow: hidden;
  /*margin-bottom:40px !important;*/
  /*table-condensed-cell-padding: 3px;*/
  /*table-cell-padding: 3px;*/
  /*height:20px;*/
  /*overflow: hidden;*/
  /*text-overflow: ellipsis;*/
}

div.stageOuter {
    position: relative;
}
div.stageInner {
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    text-overflow: ellipsis;
    width: 100%;
    margin-top: -8px;
}

div.cellOuter {
    position: relative;
}
div.cellInner {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    text-overflow: ellipsis;
    width: 100%;
    /*height: 100%;*/
}

.popin {
  margin-bottom:40px !important;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  bottom: 20px;
  font-size: 13px;
  /*font-style: normal;*/
  /*font-weight: normal;*/
  position: fixed;
  height: 40%;
  width: 100%;
  left: 0px;
  right: 0px;
}

.popin img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.center-spinner img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 50%;
}

#Messages img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#status {
  font-size: 12px;
}

.ui-layout-south { 
  /*background: #F8F8FF  !important;  */
  /*width: 300px !important;*/
  width: 100%;
  height: 40%;
}
.ui-layout-center {
  width:100%;
  height: 100%;
  /*background-color:lightblue;*/
}
.progress-bar {
  min-width: .2em;
}
/*@media (min-width: 768px) and (max-width: 1000px) {
   .navbar-collapse {
       display: none !important;
   }
}*/
/* Menu Collapse Breakpoint */
@grid-float-breakpoint: 1000px;

/*@media(max-width:1000px)  {
  .navbar-collapse.collapse {
      display: none !important;
  }
  .navbar-collapse {
      overflow-x: visible !important;
  }
  .navbar-collapse.in {
    overflow-y: auto !important;
  }
  .collapse.in {
    display: block !important;
  }
}*/

span#help:before {
  content: " Help";
}

@media screen and (min-width: 767px) and (max-width: 1050px) {

  span#help:before {
    content: none;
  }
}



.spinner {
  margin: 20px auto;
  width: 40px;
  height: 40px;
  position: relative;
}

.cube1, .cube2 {
  background-color: #333;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  
  -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
  animation: sk-cubemove 1.8s infinite ease-in-out;
}

.cube2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes sk-cubemove {
  25% { -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5) }
  50% { -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg) }
  75% { -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5) }
  100% { -webkit-transform: rotate(-360deg) }
}

@keyframes sk-cubemove {
  25% { 
    transform: translateX(42px) rotate(-90deg) scale(0.5);
    -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
  } 50% { 
    transform: translateX(42px) translateY(42px) rotate(-179deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
  } 50.1% { 
    transform: translateX(42px) translateY(42px) rotate(-180deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
  } 75% { 
    transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
  } 100% { 
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
  }
}

/* ALLOW FILL AVILABLE */
.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
    text-align: left;
    max-height: 300px;
    min-width: max-content;
    max-height: -webkit-fill-available;
    overflow: auto;
    -ms-overflow-style: scrollbar;
    z-index: 1001;
}

/* MAKE MORE READABLE COLS begin */
table#result_list * {
  font-size: 10px;
  margin: 2px;
  padding: 2px;
}
/* MAKE BUTTONS MORE READABLE */
.bold {
  font-weight: bold;
}

/* PRVENT CLIPING */
ul#brandList {
  z-index: 200000;
}
/* CORRECTION */
h5.t-fix {
  margin-top: 6px;
}

/* FORCE BRAND DROP DOWN STYLE */
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary, .btn-primary:active:focus, .btn-primary:active:hover, .btn-primary.active:hover, .btn-primary.active:focus {
  background-color: #18a689 !important;
  border-color: #18a689 !important;
  color: #FFFFFF !important;
}

/* TOP NAV HOVER LINK */
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
  color: #1ab394;
  background-color: transparent;
}

/* TOP NAV ACTIVE LINK */
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
  color: #1ab394;
  background-color: white;
}

/* prevent page content from touch top nav. */
body {
  padding-top: 60px
}