﻿
/************************************************************************************************************************************/
/*https://stackoverflow.com/questions/19288546/how-can-i-prevent-body-scrollbar-and-shifting-when-twitter-bootstrap-modal-dialo*/
body {
  padding-right: 0px !important;
  margin-right: 0px !important;
}

body.modal-open {
  overflow: auto;
}
/************************************************************************************************************************************/

/*Fixed submenus that fly out to the right -- alignment issue*/
body.menu-on-top ul ul ul {
  margin-top: 7px !important;
}


a, .paginate_button > a, a.list-group-item
{
  cursor:pointer;
}

.form-horizontal .has-feedback .form-control-feedback
{
  right:0px;
}

/*.smart-style-glass .configuration_panel {
  background-color: rgba(236, 52, 74, 0.83) !important;
}*/

/*.smart-style-glass .dashboard-cofiguration-panel {
  background-color: rgba(236, 52, 74, 0.83) !important;
  background-color: #ADDFFF;
  border-color: #0089E0;
}
*/

.row-margin {
  margin-left: 15px;
  margin-right: 15px;
}

.form-group .no-margin
{
  margin-left:0px;
  margin-right:0px;
}

.smart-style-glass td.btn-danger
{
    border-color: rgba(217, 20, 44, 0.83)!important;
    background-color: rgba(236, 52, 74, 0.83)!important;
    webkit-text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25)!important;
    -moz-text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25)!important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25)!important;
}

.surgeone-alert .btn-primary
{
  color:#fff!important;
}

.surgeone-alert .btn-primary:hover
{
  color:#FFD600!important;
}

.table-padding td
{
  padding:3px;
}

.controls.readonly
{
  padding: 5px;
  background-color:rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.25);  
  max-height:250px;
  overflow:hidden;
  overflow-y:auto;  
}

.dt-toolbar 
{
  padding-bottom:5px!important;
}

.double-clicked
{
  background-color:#900404;
}

.double-clicked:hover
{
  background-color:#900404;
}

.text-circle {
    border-radius: 50%;
    behavior: url(PIE.htc); /* remove if you don't care about IE8 */

    width: 16px;
    height: 16px;
    padding: 8px;
    
    background: red;    
    color: #fff;
    text-align: center;
    
    font: 12px Arial, sans-serif;
}

.badge-small
{
  padding:2px 4px;
  font-size:10px;
}

/*Used by the report builder to make extra large boot strap dialog*/
@media (min-width: 768px) {
  .modal-xl {
    width: 90%;
   max-width:1200px;
  }
}

@media screen and (max-width: 767px) {
  .table-responsive {
    margin-bottom: 0px;
  }
}

.margin-left-5
{
  margin-left:5px;
}
.margin-left-10 {
  margin-left: 10px;
}


  /*Makes the select input the same height as the textboxes -- looks nicer*/
  select.input-sm {
    height: 32px;
    line-height: 32px;
  }


  /*https://stackoverflow.com/questions/19227496/scrollable-menu-with-bootstrap-3-menu-expanding-its-container-when-it-should-n */
  .scrollable-menu {
    height: auto;
    max-height: 400px;
    overflow-x: hidden;
  }


  /*https://stackoverflow.com/revisions/18839305/5*/
.left-inner-addon {
  position: relative;
}

.left-inner-addon input {
  padding-left: 30px;
}

  .left-inner-addon select {
    padding-left: 18px;
  }

  .left-inner-addon i {
    position: absolute;
    left: 0px;
    padding: 10px 12px;  
  }

  .left-inner-addon-element {
    position: absolute;
    left: 18px;
    top:0px;
    z-index: 100;
  }


.right-inner-addon {
  position: relative;
}

.right-inner-addon input {
  padding-right: 30px;
}

.right-inner-addon i {
  position: absolute;
  right: 0px;
  padding: 10px 12px;
  
}


/*Tab left margin -- instead of being flush with the left hand side of the panel*/
.nav-tabs > li:first-of-type > a,
.nav-tabs > li:first-of-type > a,
.nav-tabs > li:first-of-type > a:hover,
.nav-tabs > li:first-of-type > a:active,
.nav-tabs > li:first-of-type > a:focus {
  margin-left: 10px;
}



/*Hack can not figure out the global PO search formatting*/
.smart-style-glass .textbox {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #FFF !important;
}

  /*https://www.codeproject.com/Questions/831569/How-to-set-bootstrap-tooltip-placement-to-Top-righ*/
  /*
.tooltip.top-left .tooltip-arrow {
  bottom: -5px;
  left: 5px;
  border-width: 5px 5px 0;
  border-top-color: black;
}
.tooltip.top-right .tooltip-arrow {
  bottom: -5px;
  right: 5px;
  border-width: 5px 5px 0;
  border-top-color: black;
}
.tooltip.bottom-left .tooltip-arrow {
  top: -5px;
  left: 5px;
  border-width: 0 5px 5px;
  border-bottom-color: black;
}
.tooltip.bottom-right .tooltip-arrow {
  top: -5px;
  right: 5px;
  border-width: 0 5px 5px;
  border-bottom-color: black;
}
*/

/* Multi Column Drop Down Menu */
/* https://codepen.io/dustlilac/pen/Qwpxbp */
.dropdown-menu {
  min-width: 300px;
}

  .dropdown-menu.columns-2 {
    min-width: 600px;
  }

  .dropdown-menu.columns-3 {
    min-width: 900px;
  }

  .dropdown-menu li a {
    padding: 5px 15px;
    font-weight: 300;
  }

.multi-column-dropdown {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

  .multi-column-dropdown li a {
    display: block;
    clear: both;
    line-height: 1.428571429;
    color: #333;
    white-space: normal;
  }

    .multi-column-dropdown li a:hover {
      text-decoration: none;
      color: #262626;
      background-color: #999;
    }

@media (max-width: 767px) {
  .dropdown-menu.multi-column {
    min-width: 240px !important;
    overflow-x: hidden;
  }
}

#DivSurgeOneNotice {
  position: fixed;
  bottom: 10px;
  left: 140px;
  background-color: #2B2D2F;
  color: aliceblue;
  font-size: 16px;
  min-width: 300px;
  text-align: center;
  border: 2px solid #686868;
  z-index: 10000;
  /*font-weight: bold;*/
  /*text-transform: uppercase;*/
  padding: 15px 20px 15px 25px;
  border-radius: 5px;
}

.div-inline 
{
  float: left;
  margin-right: 5px;
  width: 100px;
  height: 36px;
}

.div-inline-left {
  float: left;
  margin-right: 5px;  
  height: 36px;
}

.div-inline-right {
  float: right;
  margin-right: 5px;  
  height: 36px;
}
.form-horizontal .control-label{
    text-align:left;
}