/* OVERLAY IN THE CASE OF AN UNVALID TOKEN OR NO DATA*/
.warning-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1100;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex; 
  justify-content: center;
  align-items: center;
}
.warning-overlay-text {
  width: 100%;
  background-color: rgba(210, 197, 0, 0.8);
  z-index: 1100;
  text-align: center;
  font-size: 30px;
  line-height: 1.8;
  display: block;
}

/* HEADER */

/* logo */
.skin-blue .main-header .logo {
	background-color: #1173BA;
}

/* logo when hovered */
.skin-blue .main-header .logo:hover {
	background-color: #1173BA;
}

/* sidebar toggle button*/
.skin-blue .main-header .navbar .sidebar-toggle {
  padding-left: 9px;
  border-style: solid;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 6px;
  border-left-color: transparent;
}

/* sidebar toggle button when hovered */
.skin-blue .main-header .navbar .sidebar-toggle:hover {
  background-color: #A2D063;
  border-left-color: #56B0E2;
  color: #1173BA;
}

/* navbar (rest of the header) */
.skin-blue .main-header .navbar {
	background-color: #1173BA;
	color: #000000;
}

/* Language selection input */
.skin-blue .main-header .form-group {
  display: inline-block;
  vertical-align: top;
  height: 50px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0px;
  width: 110px;
}

/* label */
.skin-blue .main-header .control-label {
  display:none;
  margin-bottom: 0px;
}


.skin-blue .main-header .selectize-control {
  margin-bottom: 0px;
  position: absolute;
}

 
.skin-blue .main-header .selectize-input {
  display: table-cell;
  vertical-align: middle;
  height: 50px;
  width: 110px;
  font-size: 14px;
  color: white;
  font-weight: 700;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 6px;
  border-left-color: transparent;
  border-radius: 0px;
  background-color: transparent;
}

.skin-blue .main-header .selectize-input.focus {
  box-shadow: none;
  background-color: #56B0E2;
}

.skin-blue .main-header .selectize-input:hover {
  background-color: #A2D063;
  border-left-color: #56B0E2;
  color: #1173BA;
}

.skin-blue .main-header .selectize-input.input-active {
  display: table-cell;
}

.skin-blue .main-header .selectize-input:after {
  border-top-color: white;
}
.skin-blue .main-header .selectize-input:hover:after {
  border-top-color: #1173BA;
}

.skin-blue .main-header .selectize-input.dropdown-active:after {
  border-bottom-color: white;
}

.skin-blue .main-header .selectize-input.dropdown-active:hover:after {
  border-bottom-color: #1173BA;
}

.skin-blue .main-header .selectize-input input {
  color: white;
  visibility: hidden;
}

.skin-blue .main-header .selectize-dropdown {
  margin-top: 0px;
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
  box-shadow: none;
  border: 1px solid #eee;
}

.skin-blue .main-header .selectize-dropdown-content {
  padding: 0px;
}

.skin-blue .main-header .selectize-dropdown-content .option {
  display: list-item;
  border-bottom: 1px solid #f4f4f4;
  padding: 10px 12px;
  border-left: 6px solid transparent;
}

/* SIDEBAR */

/* main sidebar */
.skin-blue .main-sidebar {
	background-color:#D7DCE6;
	color:#465569;
	height: 90vh;
	overflow-y: auto;
}

/* color font input container */
section.sidebar .shiny-input-container{
	color:#465569;
	margin-bottom: 5px;
}
                                
/* color logo text */
.skin-blue .main-sidebar .sidebar{
	color: #465569;
}

/* active selected tab in the sidebarmenu */
.skin-blue .main-sidebar .sidebar .sidebar-menu .active a{
	background-color: #56B0E2;
	border-left-color: #56B0E2; 
}

/* other links in the sidebarmenu */
.skin-blue .main-sidebar .sidebar .sidebar-menu a{
	background-color: #1173BA;
	color: white;
	border-left-width: 6px;
}

/* other links in the sidebarmenu when hovered */
.skin-blue .main-sidebar .sidebar .sidebar-menu a:hover{
	background-color: #A2D063;
	color: #1173BA;
	border-left-color: #56B0E2;
}

/* icons in the tabs */
.tab-icon {
  padding-right: 5px;
}

/* dynamic label of sidebar link */
#score_tab_label {
  display: inline;
}

/* Patient box */
#patient-div-outer {
  min-height: 104px;
  width: 100%;
  padding-top: 27px;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
  overflow-y: auto;
}


#patient-div-inner {
  background-color: white;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 12px;
  padding-right: 12px;
  min-height: 62px;
  border: 1px solid #56B0E2;
  outline: 0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(117 190 233 / 60%);
  border-radius: 4px;
  overflow-y: auto;
}

#patient-name {
  font-size: 21px;
}

#patient-birth {
  font-size: 17px;
}

#patient-sex {
  font-size: 17px;
}

#patient-icon {
  font-size:30px;
  order: 1;
}

#patient-div-name {
  order: 2;
}


/* buttons for operations */
section.sidebar .btn {
  background-color: white;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid #cccccc;
  border-radius: 4px!important;
  text-align: left;
}

section.sidebar .btn.active {
  background-color: white;
  border-color: #56B0E2;
  outline: 0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(117 190 233 / 60%);
}

section.sidebar .btn.focus {
  background-color: white;
  border-color: #56B0E2;
  outline: 0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(117 190 233 / 60%);
}

section.sidebar .btn:hover{
  background-color: #f5f5f5;
}

/* Checkbox for hospital average */
#average-div .form-group {
  padding: 0px;
  margin-bottom: 0px;
}

#average-div .checkbox {
  margin-top: 0px;
  margin-bottom: 0px;
}

#swissrdl-logo-div {
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

#swissrdl-logo-div img {
  width: 220px;
}

/* BODY */

.title-container {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex; 
  flex-wrap: wrap-reverse;
  justify-content: space-between;
  padding-left:15px;
  padding-right:15px;
}

.title-text-container {
  order:1;
}

.title-logo-container {
  flex-grow: 1;
  order: 2;
}

.title-logo-container img {
  width: 220px;
  margin-top: 20px;
  float: right;
}

.plot-box {
  border: 2px solid #D7DCE6;
  border-radius: 3px;
  box-shadow: 1px 1px 4px 2px rgb(0 0 0 / 10%);
  min-width: 495px;
  margin-bottom: 20px;
  padding: 10px;
  height: 450px;
  width: 100%;
  position: relative;
  
}

.plot-box-score{
  height: 600px;
}
/* background */
.content-wrapper, .right-side {
	background-color: white;
	height: 100%;
}

@media (max-width: 1260px) {
	.col-sm-6 {
		width:100%;                             
	}
}

/* flexbox vendor prefix
.wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}*/

.shiny-output-error { 
    visibility: hidden; 
}

.shiny-output-error:before { 
    visibility: hidden; 
}