:root {


  /* TYPOGRAPHY */
  --type-body-size: 13px;
  --type-body-family: "Open Sans", sans-serif;
  --type-body-lineheight: 1.4;
  --type-body-weight: 600;
  --type-body-font: var(--type-body-weight) var(--type-body-size)/var(--type-body-lineheight) var(--type-body-family);

  /*
  --color-primary: #5d1345; 
  --color-highlight1: #cd74a7; 
  --color-mainbg: #eee; 
  --color-tablebg: #ededee; 
  --color-mainborder: #5d1345;
  --size-primary: 16px; 
  --size-primary-body: 14px;
  */
  --size-iphone-hack-percent-up: 114.2857143%; /* 16/14 */
  --size-iphone-hack-percent-down: 87.5%; /* 14/16 */




  /* COLORS */
  --color-primary: #404040;
  --color-secondary: #808080;

  --color-base1: #f5f5f5;
  --color-base2: #eee;
  --color-base3: #ddd;
  --color-base4: #ccc;
  --color-base5: #bbb;
  --color-base6: #aaa;

  --color-highlight1: #5b1447;
  --color-highlight2: #eb655b;

  --color-bkg: #fff;




  /* BUTTONS */
  --button-padding: 5px 10px 5px 10px;
  --button-margin: 3px 4px 3px 0px;
  --button-margin: 6px 6px 9px 0px;
  --button-margin: 3px 3px 4px 0px; /* trying for less space */

  --button-color-bkg: var(--color-base3);


  /* BORDERS */
  --curve-base: 5px;
  --curve-button: 5px;
  --curve-field: 0px;
  --curve-table: 0px;

  --border-basic-width: 1px;
  --border-basic-color: var(--color-base4);
  --border-basic: var(--border-basic-width) solid var(--border-basic-color);

  --border-input-base: var(--border-basic-width) solid transparent; /* no border */
  --border-input-base: var(--border-basic-width) solid var(--border-basic-color); /* with border */
  --border-input-highlight: var(--border-basic-width) solid var(--color-highlight1);


  /* TYPOGRAPHY */

  --type-h1-size: 24px;
  --type-h2-size: 18px;
  --type-h3-size: 12px;

  --type-h1-size: 28px;
  --type-h2-size: 21px;
  --type-h3-size: 14px;

  --type-body-size: 13px;
  --type-body-size: 14px;
  --type-body-family: "Open Sans", sans-serif;
  --type-body-lineheight: 1.5;
  --type-body-weight: 600;
  --type-body-font: var(--type-body-weight) var(--type-body-size)/var(--type-body-lineheight) var(--type-body-family);


  /* DROPDOWNS */
  --select-maxheight: 400px;
  --select-padding: 5px 10px 5px 10px;
  --select-padding: 5px 8px 5px 4px; /* requested reduction by Troy 1/25/19 */
  --select-margin-bottom: 9px;
  --select-margins: 3px 6px var(--select-margin-bottom) 0px;
  --select-margins: 3px 3px 4px 0px;  /* less spacy */


}




body {
font: var(--type-body-font);
padding-top: 70px;
background-color: var(--color-bkg);
/*
background-color:#EEEEEE;
background-color: var(--color-mainbg);
*/
}


h2 {
  font-size: var(--type-h2-size);
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"], 
input[type="date"] {
 -webkit-appearance: none;
  border-radius: var(--curve-field);
}

.col-100 {
  max-width:100%; 
}

.btn {
  font-size: var(--size-primary); 
  font: var(---type-body-font);

  cursor: pointer;
  padding: 4px;
  border-radius: var(--curve-button);

  background-position: center;
  transition: background 0.8s;
}

.btn-dark, .btn-primary {
  display: inline-block;
  border: none;
 -webkit-font-smoothing: antialiased;
  cursor: pointer;
  padding: var(--button-padding);

  background-color: var(--color-base3);
  color: #000000;

  text-align: center;
  line-height: 1.5;
  font-size: var(--size-primary);
  font-weight: 500;
  font: var(--type-body-font);

  text-decoration: none;
  border-radius: 2px;
}

.btn-dark:hover, .btn-primary:hover {
  background-color:#52657B; 
  border: 1px solid #AAAAAA; 
}
/*
.btn-dark:hover {
  background: #CF73A3 radial-gradient(circle, transparent 1%, #CF73A3 1%) center/15000%;
  background: #CF73A3 radial-gradient(circle, transparent 1%, #CF73A3 1%) center/15000%;
}
.btn:active {
  transition: background 0s;
}

.btn:focus {
  box-shadow:none; 
}
*/

.rounds_table_class {
padding:0px; 
background-color:#F5F5F5;
background-color: var(--color-tablebg); 

border-radius:2px; 
border: 1px solid #DDDDDD; 
}

.rounds_existing_entry_class {
padding:4px;
margin-top:5px;
margin-bottom:5px; 
background-color:#F0F0F0;
background-color: var(--color-tablebg); 
border-radius:2px;
border: 1px solid var(--mainborder);

}

.clicked_row_class {
  background-color:#EAEAEA !important;
}

.starter-template {
  padding: 3rem 1.5rem;
  text-align: center;
}

.notes_table_container {
  border: 1px solid #1E2B36; 
  background-color:#FDFDFD; 
  padding:5px;
}
.ui-timepicker-container {
  z-index: 10000080 !important; 
}

.loader {
position: fixed;
display:none;
left: 50%;
top: 30%;
width:100%;
z-index: 10000081;

width: 150px;
height: 150px;
margin: -75px 0 0 -75px;
border: 16px solid #fff;
border-radius: 50%;
border-top: 16px solid #28A745;
border-bottom: 16px solid #617ABA;
width: 120px;
height: 120px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}

#loading_spinner {
width: 100%;
height: 100%;
position: absolute;
position: fixed;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
right: 0px;
left: 0px;
top: 0px;
bottom: 0px;
z-index: 10000080;
background: #FFFFFF;
opacity: 0.5;
display: none;
}

@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.center_container {
  text-align:center; 
  padding: 3rem 1.5rem; 
}

.successText {
  color: #1E2B36; 
}

.failText {
  color: #FF0000; 
}
.boldText {
  font-weight: 900; 
}

.nav-bar-logo {
  height: 40px; 
}

#content_panel h2 {
  font-size: var(--type-h2-size);
}

#content_panel {
  padding: 0px 40px 200px 40px;
}

.login-sec {
  border: 1px solid #1E2B36; 
  border-radius: 8px;
  background-color:#F8F9FA; 
  padding:20px;
}

.linkSpan, .urlLink {
  cursor:pointer; 
  color:#697e9b; 
  font-weight:900;
}
.linkSpan:hover, .urlLink:hover {
  color:#001f3f;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
 -webkit-border-radius: 0 6px 6px 6px;
 -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

footer .container {
  padding-top: 80px;
}

.h2-box {
  margin-bottom: 5px;
  margin-top: 37px;
  padding: 6px;
  background-color: #343436;
  color: #FFFFFF;
}

.btn-primary:active {
  font-weight: 700;
  color: #FFFFFF;
  background: #272B2F;

}

.btn-warning {
  display: inline-block;
  border: 1px solid #FF0000;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  cursor: pointer;
  line-height: 1.5;
  padding: 4px 12px;
  font-size: var(--size-primary);
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  background-color:#F44336;;
  color:#FFFFFF;
}

.btn-warning:hover {
background-color:#DA190B; 
color:#FFFFFF;
}

.btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
background-color: #52657B;
color:#FFFFFF;
}

.sidenav {
height: 100%;
width: 0px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: var(--color-highlight1); /* will change later to lighter color to match piccolo */
overflow-x: hidden;
/*
transition: 0.5s;
*/
padding-top: 60px;
padding-left: 12px;
}

@media screen and (max-width:800px) {
.sidenav {
width:0px; 
}
body {
padding-top: 50px;
}

.task_due_date_class {
display:none; 
}
.k-animation-container {
width: 70vw !important;
height: 100% !important;
position: fixed !important;
margin: 0px 0px 0px 0px !important;
padding: 0px 0px 0px 0px !important;
right: 0px !important;
left: 0px !important;
top: 0px !important;
bottom: 0px !important;
}

.k-popup {
z-index:10002 !important;
width: 70vw !important;
height: 100% !important;
position: fixed !important;
margin: 0px 0px 0px 0px !important;
padding: 0px 0px 0px 0px !important;
right: 0px !important;
left: 0px !important;
top: 0px !important;
bottom: 0px !important;
}
}

.sidenavOpen {
width:250px; 
-webkit-transition: width 0.3s; 
transition: width 0.3s; 
white-space: nowrap;
}
.sidenavOpenMargin {
margin-left:250px; 
-webkit-transition: margin-left 0.3s;
transition: margin-left 0.3s;
}

.sidenav a {
padding: 5px 5px 5px 5px;
padding-left:20px; 
text-decoration: none;
color: #DDDDDD;
display: block;
/*
transition: 0.3s;
*/
}

.sidenav a:hover {
color: #FFFFFF;
}

.sidenav .closebtn {
position: absolute;
top: 5px;
right: 25px;
font-size: 26px;
margin-left: 50px;
}

.sidenav .menu_parent_item {
color: #FEFEFE;
padding-left:3px; 
cursor:pointer; 
}

#main {
/* 
transition: margin-left .5s;
*/
padding: 16px;
}

.menu_parent_item .fa {
padding-right:5px; 
}

#top-nav-bar {
max-height:50px; 
background-color:#5D1345 !important;
color:#FFFFFF !important;   
}


.logged_in_as_span {
padding-left:20px; 
}
@media screen and (max-width:800px) {
.logged_in_as_span {
display:none; 
}
#content_panel {
padding-left:20px; 
padding-right:5px; 
}
body {
padding-top:50px; 
}
.sidenavOpen {
width:100%;
}
.sidenavOpenMargin {
margin-left:0px;

}

}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}

.lightbox_bg_class {
width: 100%;
height: 100%;
position: absolute;
position: fixed;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
right: 0px;
left: 0px;
top: 0px;
bottom: 0px;
z-index: 100021;
background: #000000;
opacity: 0.7;
display: none;
}


.lb_content_class {
width: 100%;
height: 100%;
position: absolute;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
right: 0px;
left: 0px;
top: 0px;
bottom: 0px;
/*
z-index:100024;
*/
display: none;
}

.lb_data_class {
width: 500px;
margin-left:auto;
margin-right:auto;
background-color: #F9F9F9;
-moz-box-shadow: 0px 0px 20px #000000;
-webkit-box-shadow: 0px 0px 20px #000000;
box-shadow: 0px 0px 20px #000000;
/*
padding: 10px 10px 10px 10px;
*/
/*       -moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
border-radius: 10px;
border: 1px solid #cccccc;
*/
/*
overflow:auto;
*/
position:relative;
top:30px;
padding: 0px; 
}


.lb_loaded_content_class {
padding:5px;
}

.lb_loaded_content_header {
padding:0px;
background-color:var(--color-primary);
color:#FFFFFF;
}

.close_lb_class {
text-align:right; 
background-color:#5D1345;
padding:5px;
}
.close_lb_class .btn {
padding:4px !important; 
}

/* Input Text */
input[type=date] {
color: #000000;
background-color:#F9F9F9;

border: 1px solid #AAAAAA ;
font-size: var(--size-primary);
box-sizing: border-box;
padding: 1px;
border-radius: 2px;
font-weight: 100;
letter-spacing: 0.01em;
position: relative;
margin-top:3px; 
margin-bottom:3px; 
z-index: 1;
font-weight:500;

}

input[type=date]:focus {
outline: none;

background: #FFFFFF;
color: #000000 !important;

}

input[type=text], input[type=search], input[type=password] {
border: 1px solid #AAAAAA;
line-height: 0;
font-size: var(--size-primary);
box-sizing: border-box;
padding: 5px;
margin-top:3px; 
margin-bottom:3px;
border-radius: 2px;
color: #000000;
background-color:#F9F9F9;
font-weight: 100;
letter-spacing: 0.01em;
position: relative;
z-index: 1;
font-weight:500;

}

textarea {
border-radius: 2px;
border: 1px solid #AAAAAA;
background-color:#F9F9F9;
color: #000000;
font-size:16px; 
}

textarea:focus {
outline: none !important; 
background: #FFFFFF;

}
input[type=text]:focus, input[type=password]:focus {
outline: none;
background: #FFFFFF;
color: #000000 !important;
}

.select2-container {
max-width:100%; 
font-size: var(--size-primary); 
margin-top:3px;
margin-bottom:3px;
}
.select2-container--default .select2-selection--single {
background-color: #F9F9F9;
border: 1px solid #AAAAAA;
border-radius: 2px;
}

.select2-container--default .select2-selection--multiple {
background-color: #F9F9F9;
border: 1px solid #AAAAAA;
border-radius: 2px;
cursor: text;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: #e4e4e4;
border: 1px solid #aaa;
border-radius: 2px;
cursor: default;
float: left;
margin-right: 2px;
margin-top: 2px;
padding: 0 2px;
}

select {
background-color:#F9F9F9; 
padding:7px;
}
select option {
padding:3px; 
}

/* Rounds Dashboard */
#rounds_navigation_div {
max-width:100%; 
width:800px; 
margin-left:auto;
margin-right:auto; 
/*
position:fixed;
z-index:2;
*/  
}

.rounds_navigation_option {
max-width:100%; 
width:33%; 
padding:10px; 
border:1px solid #AAAAAA; 
cursor:pointer; 
text-align:center; 
background-color:#FFFFFF; 

}
.rounds_navigation_option:hover {

}

#rounds_dashboard_select {
width:200px; 
}
.selected_rounds_navigation_option {
background-color:#6E7881; 
background-color:var(--color-primary);
color:#FFFFFF;
}
.selected_rounds_navigation_option:hover {
background-color: var(--color-highlight1); 
}
.rounds_navigation_option:hover {
background-color: var(--color-highlight1);
color:#FFFFFF; 
}
@media screen and (max-width:800px) {
#rounds_navigation_div {
position:fixed;
bottom:0px; 
z-index:2; 
}
.rounds_navigation_option {
}
.lb_data_class {
top: 0 !important; 
min-height:100vh !important;
}
.lb_loaded_content_class {
padding-bottom:30px !important;
}
.lb_content_class {
top: 0 !important;
}

#rounds_dashboard_select {
max-width:90%; 
margin:0px;
}
.k-grid-toolbar, .k-grouping-header {
margin: 0;
padding: 0px;
cursor: default;
}
.close_lb_class {
width:100%; 
top:0px; 
position:fixed; 
padding:0px; 
}
.lb_loaded_content_header {
/*
position: relative;
width: 100%;
top: 50px;
margin-bottom:50px; 
*/
}
.lb_all_content_container_class {
overflow:auto; 
position:fixed; 
top:40px; 
max-height:100%; 
height:100%; 
margin-bottom: -40px; 
width:100%; 
}
}

.k-grid > .k-grouping-header {
overflow:auto; 
}
.k-filter-row .k-dropdown-operator {

}

.time_entry_input {
width:50px; 
}

.k-grid td {
line-height: 1.1em;
}

.capitalize {
text-transform: capitalize; 
}

.patient_heading_name {
font-size:15px; 
text-transform:capitalize; 
}

.k-alt, .k-separator, .k-resource.k-alt, .k-pivot-layout > tbody > tr:first-child > td:first-child {
background-color: #ffffff;
}

.k-grid td {
border-top: 1px solid #EAEAEA !important;
border-right: 0px solid #FFFFFF; 
border-left: 0px solid #FFFFFF;
}

.k-grid {
font-size:13px; 
}

.patient_round_info_td {
padding-left:5px;
}

.groupable_span {
background-color:#FFFFFF; 
padding:5px; 
border-radius: 8px;
font-size:10px; 
color:#AAAAAA;
}

.primary_color_div {
background-color:#5D1345;
color:#FFFFFF; 
}

.lb_content_html {
padding:10px;
}

.round_entry_notes_class {
max-height:100px; 
overflow:auto; 
}

.new_task_due_class {
width:75px; 
max-width:100%; 
}

.one_client_task_list_container {
max-height:170px;
overflow:auto;
}

.task_due_date_class {
width:150px; 
max-width:100%; 

}

.one_task_row {
border-bottom: 1px solid var(--color-primary) ; 
}

#task_details_div .row {
padding-top:4px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: #5D1345;
background-color: var(--color-primary);
color: white;
}

.scratchpad_container_class {
background-color: #FFFFFF; 
height:100%; 
overflow:auto; 
padding-top:10px;
}

#user_scratch_pad_notes {
width:100%; 
height:200px; 
max-height:100%; 
}

.scratchpad_row {
width:98%; 
border-top:1px solid #DDDDDD; 
margin:5px;
height:26px; 
max-height:26px; 
overflow:hidden;
text-overflow:ellipsis; 
white-space:nowrap;
cursor:pointer; 
}

.scratchpad_row:hover {
background-color:#FEFEFE; 
}






/* Piccolo styling ----------------------------------------------------------------------------------------*/


/* Tab navigation */
/* These are more specific so as to override the bootstrap css */

div#kb-dashboard-tabs .kb-nav-tab>a.active {
  background: var(--color-bkg);
  color: var(--color-highlight1);
  border-style: solid;
  border: none;
  border-bottom: 3px solid var(--color-highlight1);
}

div#kb-dashboard-tabs .kb-nav-tab>a {
  position: relative;
  display: block;
  padding: 8px 14px 8px 14px;
  margin: 3px 0px 16px 0px;
  font: var(--type-body-font);
  background: var(--color-bkg);
  color: var(--color-secondary);
  border-radius: 0px;
  border-style: solid;
  border-width: 0px;
  border-bottom-width: 3px;
  border-color: transparent;
}


/* Topic navigation */

.kb-cat-link,
.kb-topic-link,
.kb-subtopic-link {
  cursor: pointer;
  color: var(--color-primary);
}

.kb-this-subtopic-link {
  color: var(--color-highlight1) !important;
}


.kb-cat-link a:hover, .kb-cat-link a:active,
.kb-topic-link a:hover, .kb-topic-link a:active {
  color: var(--color-secondary) !important; /* !important since some bootstrap stuff is in the way */
}


.kb-subtopic-link a:hover, .kb-subtopic-link a:active {
  color: var(--color-highlight1) !important; /* !important since some bootstrap stuff is in the way */
}

.kb-subtopic-link a:hover:before, .kb-subtopic-link a:active:before,
.rel-subtopics ul li a:hover:before, .rel-subtopics ul li a:active:before,
.kb-this-subtopic-link:before {
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: normal;
  font-size: calc(var(--type-body-size) - 1px); /* bit smaller than body to avoid size shifting */
  text-decoration: none;
  margin-right: 3px;
}

.kb-cat-link {
  font-size: var(--type-h2-size);
}

/*
.kb-topic-link {
  color: var(--color-primary);
}

.kb-subtopic-link {
  color: var(--color-primary);
}
*/

.kb-cat-div,
.kb-topic-div,
.kb-subtopic-div {
  margin: 10px 0px 0px 10px;
}

.kb-cat-div#div-cat-1 {
  margin-top: 0px;
}

.kb-topic-div {
  margin-left: 20px;
}

.kb-subtopic-div {
  margin-left: 30px;
}




/* Content page (View) ----------------------------------------------------------- */

div#kb-view {
  margin: 0px 12px 0px 12px;
}

.kb-section-div {
  margin: 0px 0px calc( var(--type-body-size) * 1.3 * 1.3 * 1.3)  0px;
  /* max-width: calc( var(--type-body-size) * 80); /* this is to ensure easier reading (80 character max, experimental */
}

.kb-section-div {
  font: var(--type-body-font);
  line-height: 1.6;
  color: var(--color-primary);
}

div .kb-section-div h1, 
div .kb-section-div h2 {
  font: var(--type-body-font);
  margin: 0px 0px calc( var(--type-body-size) * 1.3) 0px;
}

div .kb-section-div h1 {
  font-size: var(--type-h1-size);
}

div .kb-section-div h2 {
  font-size: var(--type-h2-size);
}

div .kb-section-div ul {
  list-style-type: none;
  padding: 0;
  margin: 0; 
}

div .kb-section-div .term {
  font-weight: 700;
}

div .sections-map {
  background-color: var(--color-base2);
  padding: calc( var(--type-body-size) * 0.75);
  margin-bottom: calc( var(--type-body-size) * 1.3 * 1.3 * 1.3);
}

.sections-map-title {
  font-size: var(--type-h2-size);
}

div .sections-map ol,
div .rel-subtopics ul {
  margin: calc( var(--type-body-size) * 0.5 )  0px  calc( var(--type-body-size) * 0.25 )  0px;
}

div .sections-map ol li a,
div .rel-subtopics ul li a {
  cursor: pointer;
}

div .sections-map ol li a:hover, div .sections-map ol li a:active,
div .rel-subtopics ul li a:hover, div .rel-subtopics ul li a:active {
  color: var(--color-highlight1) !important; /* !important since some bootstrap stuff is in the way */
}

div .rel-subtopics {
  background-color: var(--color-base2);
  padding: calc( var(--type-body-size) * 0.75);
  margin-bottom: calc( var(--type-body-size) * 1.3);
  margin-top: calc( var(--type-body-size) * 3)
}

div .rel-subtopics ul {
  list-style-type: none;
}

.div-section-location {
  margin: 0px 0px calc( var(--type-body-size) * 1.3) 0px;
}

.section-location-box {
  background-color: var(--color-base2);
  padding: calc( var(--type-body-size) * 0.75 * 0.75);
  margin-right: calc( var(--type-body-size) * 0.75 * 0.75);
  font-size: calc( var(--type-body-size) * 0.75);
  color: var(--color-secondary);
  letter-spacing: 1px;
}

.section-location-text {
 color: var(--color-secondary);
}

.section-line {
  border-bottom: var(--border-basic);
  margin: calc(var(--type-body-size) * 0.5) 0px calc(var(--type-body-size) * 0.5) 0px;
}
