/* Utilities */
.clearfix {
  clear:both;
  display:block;
}
.toolTip {
  position: absolute;
  display: none;
  min-width: 80px;
  height: auto;
  background: none repeat scroll 0 0 #ffffff;
  border: 1px solid #6F257F;
  padding: 14px;
  text-align: center;
}
/* Inputs & Lists */

input[type="radio"],
input[type="checkbox"] {
    line-height: 1.25em;
    transform: scale(1.25);
    -webkit-transform: scale(1.25);
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 13px;
    height: 13px;
    box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    border-radius: 100%;
    background: #fff;
    transform: scale(1.15);
    -webkit-transform: scale(1.15);
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 7px;
    height: 7px;
    background: #666;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}

[type="radio"]:disabled + label:before {
    box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid rgb(240, 240, 240);
}
[type="radio"]:disabled + label:after {
    background: rgb(194, 194, 194);
}
fieldset.module .form-row ul li {
    padding-right: 10px;
}
.form-horizontal .control-group .field-box .controls .multi-field-box input[type=checkbox],
fieldset.module .form-row ul li input[type=radio] {
    vertical-align: baseline;
    margin: 0px 10px 10px 0px;
}
.table.table-condensed tbody th, .table.table-condensed tbody td {
    line-height: 2em;
}
.form-inline input[type=checkbox] {
    vertical-align: baseline;
}
.stat .table {
    width: 100%;
    margin-bottom: 78px;
}
.controls .file-upload .custom-file-input input {
    float: none;
}

/* Checkboxes */

.form-horizontal .control-group .field-box .controls .multi-field-box li label {
    float: none;
}

/* Radio buttons */

fieldset.module .form-row ul:not(.inline) {
    list-style:none;
    margin: 0;
}

/* Text boxes */

textarea.input-full-width {
    width:95%;
}

/* Utility hidden class */

.hidden {
    display: none;
}

/* Hide "today" and "now" links for custom date and datetime widgets */

.suit-date.hide-link .datetimeshortcuts a:first-child {
    display: none;
}

/* Date filter styles */

.date-range-filter {
    display: inline-block;
}

.date-range-filter .datetimeshortcuts {
    visibility: hidden;
    margin-left: 22px;
}

.date-range-filter .datetimeshortcuts a {
    visibility: visible;
}

.date-range-filter .add-on {
    margin-top: 5px;
}

.date-range-filter .errorlist {
  list-style-type: none;
  position: relative;
  top: 4px;
  margin: 0 5px;
}

.date-range-filter .field-container {
  display: inline-block;
}

.date-range-filter .filter-title {
    position: relative;
    top: 4px;
    margin-right: 10px;
}

.date-range-filter .suit-date input {
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}

/* Dashboard Styles */
.module.app {
  float:left;
  width:150px;
  background:#eee;
  font-size:1em;
  padding:0.5em;
}
.module.app i {
  font-size:2em;
  padding:0.25em;
  clear:both;
  display:block;
  text-align:center;
}
.module.app span.icon {
  font-size:2em;
  padding:0.25em;
  float:right;
  position:absolute;
  margin-top:-1.5em;
}
.module.app a {
  text-decoration:none;
  color:black;

  line-height:1em;
  display:block;
  text-align:center;
}

.module.app a:hover {
 color:#11aacc !important;
}

/* Login Page  */
#login-logo {
  width:90%;
}

#donut-charts { width:100%; display:block; }

#id-Appointment {
  background-image: ('../img/glyphicons-halflings.png')
}

/* Menu Fix for Chrome 9/2019 update*/
.suit-columns {
  display:flex;
}

/* Fix to django-suit bootstrap */
.container {
  width:100%;
}
body {
  min-width:0px; /* body had a min-width set! */
}
.suit-columns .table {
  margin-left:1em;
}
.row {
  margin-left:0;
}
#content-related
{
  padding:0; margin:0;
}
/* d3 corrections */
svg a {
  cursor:pointer; cursor:hand;
}
/* select2 override */
span.select2-selection__clear {
  font-size: 20px !important;
  /* padding: 0.5em; */
  background: grey;
  margin-bottom: 0.25em;
  padding-left: 0.25em;
  padding-right: 0.25em;
  margin-top: -0.1em;
  color: white;
}
.select2.select2-container {
  min-width: min-content !important;
}
.search-container .search-filters > .select2.select2-container {
  vertical-align: bottom;
}

/* record transfer form */
table.table-record-transfer {
  width: 80%;
}
.report-params {
  float: left;
}
.report-form .controls {
  min-width: 100px;
}
.report-form .report-submit {
  text-align: center;
  padding: 10px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #F6F7F8;
}
/* separates submit button from form with border */
.report-form fieldset div:nth-last-child(2) .controls {
  border-bottom: 1px solid #EDEDED;
}
.report-results {
  float: left;
  margin-left: 20px;
}

/* Responsive Rules */
@media only screen and (max-width: 840px) {
  #suit-center .row div {
    width:100% !important;
    margin:0 !important;

  }
  #suit-center { width: 100% !important; }
  .footer {
    /* Suit CSS fix */
    margin:0 !important; padding:0 !important;
  }

  /* Fix for app list */
  #suit-center .module.app a {
    background:#fff;
    padding:1em;
  }
  /* Add striping for app list */
  #suit-center .module.app a:nth-child(even) {
    background:#F6F7F8;
  }

  #suit-center .module.app a:hover {
    background:#1ac;
    color:white !important ;
  }

  /* Fix for the "Sidebar" */
  #content-related {
    width:100%;
    margin-left:0 !important;
  }
  #content-related .actionlist {
    width:100%;
  }

}
@media only screen and (max-width: 640px) {
  #suit-left, #suit-center {
    width:100% !important;
    background:#eee;
  }
  #suit-center {padding:0 !important;}
  #wrap {
    background:#eee;
  }
  .suit-columns {
      padding:0;
      margin:0;
  }
  .suit-columns .table {
    margin-left: 0em;
  }
  #suit-left { display: none; }
}

/* Header */
.notification-badge {
  margin-left: 7px;
}

.inline-related.last-related.dynamic-notes-note-content_type-object_id .field-box.field-created_date,
.inline-related.last-related.dynamic-notes-note-content_type-object_id .field-box.field-updated_date
{
  display: none;
}

/* Dashboard Home Stats Graph/Table hide/show toggle & hover */
.stat .table {
    display: none;
    width: 100%;
    margin-bottom: 78px;
}
.onoffswitch {
    position: relative; width: 154px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "Switch to Table";
    padding-left: 10px;
    background-color: #34A7C1; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "Switch to Graph";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 19px; margin: 5.5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 120px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}
.pie-chart-tooltip {
    background: #eee;
    box-shadow: 0 0 5px #999999;
    color: #333;
    display: none;
    font-size: 12px;
    left: 130px;
    padding: 10px;
    position: absolute;
    text-align: center;
    top: 95px;
    width: 80px;
    z-index: 10;
}
polyline{
    opacity: .3;
    stroke: black;
    stroke-width: 2px;
    fill: none;
}
/* Make the percentage on the text labels bold*/
.labelName tspan {
    font-style: normal;
    font-weight: 700;
}
.labelName {
    font-size: 0.9em;
    font-style: italic;
}

input[name="setup-method"],
input[name="method-method"] {
    position: static !important;
    vertical-align: initial;
    transform: scale(1.0);
}

#id_method-method,
#id_setup-method {
    list-style-type: none !important;
}
