/** Home Page **/
body {
	padding-top: 0;
	padding-bottom: 40px;
	background-color: #f5f5f5;
}


@media (min-width: 979px){
    body {
            padding-top: 60px;
    }
}


/** Login Page **/
#login {
    padding-top: 40px;
    padding-bottom: 40px;
}

#login .form-signin {
    max-width: 300px;
    padding: 19px 29px 29px;
    margin: 200px auto 200px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
       -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
#login .form-signin .form-signin-heading,
#login .form-signin .checkbox {
    margin-bottom: 10px;
}
#login .form-signin .forgotpasswd {
    margin-right: 0px;
    padding-top: 20px;
}
#login .form-signin input[type="text"],
#login .form-signin input[type="password"] {
    font-size: 16px;
    height: auto;
    margin-bottom: 15px;
    padding: 7px 9px;
}

/** 2 level sub menu **/
.dropdown-menu-with-subs .sub-menu {
  left: 100%;
  position: absolute;
  top: 0;
  visibility: hidden;
  margin-top: -1px;
}

.dropdown-menu-with-subs li:hover .sub-menu {
  visibility: visible;
  display: block;
}

.navbar .sub-menu:before {
  border-bottom: 7px solid transparent;
  border-left: none;
  border-right: 7px solid rgba(0, 0, 0, 0.2);
  border-top: 7px solid transparent;
  left: -7px;
  top: 10px;
}
.navbar .sub-menu:after {
  border-top: 6px solid transparent;
  border-left: none;
  border-right: 6px solid #fff;
  border-bottom: 6px solid transparent;
  left: 10px;
  top: 11px;
  left: -6px;
}

/** Global **/
#content {
  margin-left:0px;
}
.hide-sidebar, .show-sidebar {
  cursor: pointer;
}
.padd-bottom {
  margin-bottom: 5px;
}
.breadcrumb {
	margin: 0 0 0px;
	padding: 10px 0px;
	background-color: transparent;
}

.block {
	border: 1px solid #ccc;
	background: white;
	margin: 1em 0em;
	border-top: none;
}

.block-content {
	margin: 1em;
	min-height: .25em;
}

.block-header {
	margin-bottom: 0px;
	border-right: none;
	border-left: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.block-header div {
	padding-top: 10px;
}

.easyPieChart {
	margin: 0px auto;
}

.chart-bottom-heading {
	margin-top: 5px;
	text-align: center;
}

/** Side Bar **/
.bs-docs-sidenav {
  max-width: 228px;
  margin: 30px 0 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
     -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
          box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.bs-docs-sidenav > li > a {
  display: block;
  width: 190px \9;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
}
.bs-docs-sidenav > li:first-child > a {
  -webkit-border-radius: 6px 6px 0 0;
     -moz-border-radius: 6px 6px 0 0;
          border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav > .active > a {
  position: relative;
  z-index: 2;
  padding: 9px 15px;
  border: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
     -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}
/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
  background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
  opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
  opacity: 1;
}
.bs-docs-sidenav.affix {
  top: 40px;
}
.bs-docs-sidenav.affix-bottom {
  position: absolute;
  top: auto;
  bottom: 270px;
}

/* Icons
------------------------- */
.the-icons {
  margin-left: 0;
  list-style: none;
}
.the-icons li {
  float: left;
  width: 25%;
  line-height: 25px;
}
.the-icons i:hover {
  background-color: rgba(255,0,0,.25);
}


.control-label .required {
  color: #e02222;
  font-size: 12px;
  padding-left: 2px;
}
#donut-chart
{
    display: block;
    margin: 0 auto;
}
.used-space
{
	background-color: #F7464A;
}
.unused-space
{
	background-color: #46BFBD;
}
.chart-holder {
	position: relative;
	
	display: block;
	
	width: 100%;
	height: 325px;
}
.dicom-div {
	display: none;
}
body .modal {
    /* new custom width */
    /* width: 960px;*/
    /* must be half of the width, minus scrollbar on the left (30px) */
    /*margin-left: -480px;*/
}
#login .btn-primary{
    margin-left: 100px;
}

#newusermodal {
    width: auto;
    left: 57%;
}

#pwdModal {
    width: 560px;
    /* must be half of the width, minus scrollbar on the left (30px) */
    margin-left: -280px;
}
#pwdModal .btn {
  margin: 0 auto;
}
.application-footer {
  background-color: #f5f5f5;
  z-index: 900;
  height: 100px;
  margin-top: -100px;
  clear: both;
  position: relative;
}
.application-footer .container {
  padding-top: 5px;
  color: #555555;
  text-align: center;
  border-top: 1px solid #999999;
}
.application-footer .container p {
  margin: 0 0 5px;
  }
#diagnosis_intro hr {
    border:1px blue solid;
}

/*===============*/
/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

       /* Force table to not be like tables anymore */
       table, thead, tbody, th, td, tr {
               display: block;
       }

       /* Hide table headers (but not display: none;, for accessibility) */
       thead tr {
               position: absolute;
               top: -9999px;
               left: -9999px;
       }

       tr { border: 1px solid #ccc; }

       td {
               /* Behave  like a "row" */
               border: none;
               border-bottom: 1px solid #eee;
               position: relative;
               padding-left: 50%;
      }

       td:before {
               /* Now like a table header */
               position: absolute;
               /* Top/left values mimic padding */
               top: 6px;
               left: 6px;
               width: 45%;
               padding-right: 10px;
               white-space: nowrap;
       }

       /*
       Label the data
       td:nth-of-type(1):before { content: "First Name"; }
       td:nth-of-type(2):before { content: "Last Name"; }
       td:nth-of-type(3):before { content: "Job Title"; }
       td:nth-of-type(4):before { content: "Favorite Color"; }
       td:nth-of-type(5):before { content: "Wars of Trek?"; }
       td:nth-of-type(6):before { content: "Porn Name"; }
       td:nth-of-type(7):before { content: "Date of Birth"; }
       td:nth-of-type(8):before { content: "Dream Vacation City"; }
       td:nth-of-type(9):before { content: "GPA"; }
       td:nth-of-type(10):before { content: "Arbitrary Data"; }
       */
}
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {


  #content .modal.fade.in {
    top: 5%;
  }
}
.modal-body {
    position: relative;
    overflow-y: auto;
    max-height: 400px;
    padding: 15px;
}
@media (min-width: 320px) and (max-width:979px) { 
    /* one column */
    .row-fluid .span4 {width:100%}
    .row-fluid .span4 {margin-left:0;}  
}

@media (min-width: 980px) and (max-width:1409px) { 
    /* two columns, remove margin off every third span */
    .row-fluid .span4 {width:48.717948718%;}
    .row-fluid .span4:nth-child(2n+3) {margin-left:0;}
}

@media (min-width: 1410px) { 
    /* three columns, .span4's natural width. remove margin off every 4th span */
    .row-fluid .span4:nth-child(3n+4) {margin-left:0;}
}
.btn-center-block {
    margin-left: auto;
    margin-right: auto;
    display:block;
    margin-bottom:0%;
 }
.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.img-container {
    position:relative;
    padding-top:120%;
}

.img-position {
    position: absolute;
    top: 0;
    left: 0;
    width:80%;
}
.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
 }
