

/* ==========================================================================
   Author's custom styless
   ========================================================================== */

html {
  -webkit-text-size-adjust: none;
}

h4 {
  font-size: 18px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: inherit !important;
  letter-spacing: 0px !important;
  text-transform: none !important;
}

h6 {
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: normal !important;
  margin-top: 6px !important;
}

table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border-width: 0px !important;
  margin: 0px !important;
  table-layout: auto !important;
  width: 100% !important;
  border: 0px !important;
}

td {
  border: 0px !important;
  padding: 0px !important;
}

td > img {
  max-width: 20px;
}

p { margin: 0 0 10px !important;}


/* The side navigation menu */
.sidenav {
  width: 0; /* 0 width - change this with JavaScript */
  position: absolute; /* Stay in place */
  z-index: 10000000; /* Stay on top */
  top: 0;
  left: 0;
  overflow-x: hidden; /* Disable horizontal scroll */
  overflow-y: hidden;
  height: 100%;
  /*margin-top: 76px;*/
  background-color: #e6e6e9;
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0 !important;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.filter-container {
  width: 250px !important;
}

#top {
  background-color: #dddee1;
  border-bottom: 0.5px solid #d5d6da;
}

#rooms_div, #categories_div {
  overflow: hidden;
  height: 35%;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#calendar_container {
  position: absolute;
  width: 100%;
  max-width: 100%;
  overflow: scroll;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  border-radius: 5px;
  border: 1px solid;
  background-color: #30332e;
  margin-top: 10px;
  transition: background-color .5s;
  transition: margin-left .5s;
}

#plugin_main_container {
  position: relative;
  width: 100%;
  font-family: 'Roboto', sans-serif !important;

}

.xaxis { 
  color: white; 
  font-weight: bold; 
  padding: 0; 
  z-index: 11; 
  white-space: nowrap;
  background-color: rgba(163,163,163,1);
  display: inline-block; 
  width: 100%; 
  z-index: 11;
}

.xaxis-extra {
  height: 28px; 
}

.xaxis-extra-new-cms {
  height: 60px; 
}

.fixed { position: absolute; }
.top { top: 0; left: 0;}




.room_holder {
  height: 60px;
  width: 150px;
  display: inline-block;
  background-color: rgba(163,163,163,1);
  border-right: 1px dashed white;
  /*background: rgba(163,163,163,0.8);*/
  /*background: rgba(255,255,255,0.5);*/
}

.room_holder-extra {
  background-color: rgba(163,163,163,1);
  border-right: 1px dashed white;
}

.room_holder-extra-new-cms {
  background-color: #f4f4f4;
  border-right: 1px solid #e6e6e6;
}

.preroom0 {
  width: 60px;
  display: inline-block;
  margin-right: -3px;
  height: 60px;
}

.preroom0-extra-new-cms {
  background-color: #f4f4f4;
}

.room {
  display: inline-block;
  /*width: 140px !important;*/
  padding: 0 5px;
  margin-right: 5px;
  height: 28px;
  font-size: 9pt;
  padding-top: 2px;
  text-align: center;
}

.room-extra {
  color: white;
}

.room-extra-new-cms {
  color: #888;
}

.room0 {
  display: inline-block;
  width: 60px;
  padding: 0 5px;
  margin-right: 5px;
  height: 28px;
  font-size: 9pt;
  padding-top: 2px;
  text-align: center;
}

.yaxis { position: absolute; width: 100%;}

.yaxis.major { 
  font-weight: bold; 
  height: 20px;
}

.yaxis.major-new-cms { 
  /* border-top: 1px solid #e6e6e6; */
  box-shadow: 0px 1px 0px #e6e6e6 inset;
}

.vertical-schedule-line {
  width: 1px;
  background-color: #e6e6e6;
  position: absolute;
}

.half-hour {
  border-top: 1px dashed white;
}

.half-hour-new-cms {
  border-top: 1px dashed #e6e6e6;
}

.center { text-align: center; }
/*.yaxis.minor:nth-child(even) { background: rgba(0,0,0,0.1); }*/
/*.yaxis.minor { background: rgba(0,0,0,0.1);}*/

.yaxistime {
  z-index: 10;
  width: 60px;
  height: 20px;
  position: relative;
  /*background: rgba(255,255,255,0.5);*/
}

.yaxistime-extra {
  background: rgba(163,163,163,0.8);
}

.yaxistime-extra-new-cms {
  background: #fcfcfc;
  color: #888;
}

.yaxistext {
  text-align: center;
  font-weight: bold;
  width: 60px;
  position: absolute;
}

.yaxistext-extra {
  color: white;
  border-top: 1px solid white;
}

.yaxistext-extra-new-cms {
  border-top: 1px solid #e6e6e6;
  color: #888;
}

.yaxistext-minor {
  text-align: center;
  font-weight: bold;
  width: 60px;
  position: absolute;
  color: white;
}

.yaxistext-minor-extra {
  color: white;
}

.yaxistext-minor-extra-new-cms {
  color: #888;
}

.event_content{
  /*overflow: auto;*/
  overflow: hidden;
  height: 93%;
  line-height: 1.3;
}

.event {
  position : relative ;
  visibility: visible;
  display: inline-block;
  background: #F3F3F3;
  color: black;
  padding : 5px 5px 0px 5px !important;
  margin-bottom : 5px !important;
  border: 1px solid black;
}
.event { position: absolute; display: none; font-size: 11px;}

.event-extra {
  border: initial;
  border-radius: 3px;
}

.event2 { position: absolute; top: calc(25px + 240px); left: calc(100px + 1 * 200px + 2 * 5px); width: 200px; height: 240px;}
.event3 { position: absolute; top: calc(25px + 120px); left: calc(100px + 2 * 200px + 3 * 5px); width: 200px; height: 240px;}
.event:hover, .event2:hover { background: rgb(200, 200, 200); cursor: pointer; }

.icon { width: 20px; height: 20px; color: red; margin-right: 5px;}

.break { padding: 5px; display: inline-block; border: 1px solid black; background: rgb(240,240,240); position: absolute; top: calc(25px + 4 * 12 * 20px); width: calc(0px + 3 * 200px + 3 * 5px); height: calc(12 * 20px + 1px); line-height: calc(12 * 20px + 1px); left: 100px; z-index: -1; text-align: center; z-index: 1;}
.break.lunch { background: repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px); color: white; }
.title { font-weight: bold; margin-bottom: 1px;}
/*.title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.2em; max-height: 3em; }*/
.time { font-style: italic;}

.category { border: 1px solid black; width: 1em; height: 1em; display: inline-block; }
.category-item { border: 1px solid #999; border-radius: 5px; background: #eee; padding: 3px 5px; overflow: hidden; line-height: 2;}
.circle { border-radius: 100%; }
.hr { border-bottom: 1px solid #ddd; padding-bottom: 5px; margin-bottom: 5px;}



/*
.filter-show-button {
  position:absolute;
  top:0;
  left:0;
}
*/

.filter-show-button { visibility: visible;}

/*button that allows to open the filter table*/
#opener {
  margin: 10px 0 !important;
  padding-top: 1px;
  padding-bottom: 1px;
  /*margin-left: 8px !important;*/
  background: #7ea92d;
  height: 29px;
  /*width: 105px;*/
  border-radius: 3px 3px 3px 3px;
}

#opener:hover {
  background: #a0c489;
  margin-top: 5px;
}

#opener:active {
  background-color: #a0c489;
  box-shadow: 0 1px #666;
  transform: translateY(1px);
}

/* class that holds day buttons*/
.btn-group {
  padding-top: 6px;
  /*margin-top: -20px;*/
  width: 100%;
  position: relative !important;
  overflow-x:auto;
  overflow-y:hidden;
  white-space: nowrap;
}

.btn .btn-default {
  top :0;
  margin-top: 12px !important;
  padding: 6px 12px !important;
  margin-top: 12px !important;
  font-size: 12px !important;
}

.btn_day_selected {
  /* background-color: #ffd700 !important; */
  background-color: rgba(0,0,0,0.1) !important;
}

/*coloured button style*/
.onoffswitch {
  position: relative !important;
  width: 110px !important;
  -webkit-user-select:none !important;
  -moz-user-select:none !important;
  -ms-user-select: none !important;
  height:inherit !important;
}
/*hide checkbox*/
.onoffswitch-checkbox {display: none !important; }
/* change label synlig->dold or dold->synlig*/
.onoffswitch-label {
  display: block !important;
  height: 0px;




}

.filters_button_container{
  width: 100%;
  margin-top: 5px;
  background: #FFFFFF;
  margin-left: 8px;
  height: 60%;
  cursor: pointer;
}

/*moving coloured button */
.onoffswitch-switch{
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  position: absolute !important;
  right: 10px !important;
  border-radius: 0px !important;
  margin-top: 12px;
  cursor: pointer;
}

#all_categories_checkbox:not(:checked) + .onoffswitch-label .onoffswitch-switch  {
  background-color: rgba(161,161,161,0.5) !important;
}

#all_rooms_checkbox:not(:checked) + .onoffswitch-label .onoffswitch-switch  {
  background-color: rgba(161,161,161,0.5) !important;
}


#calendar_container::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    height: 11px;
}

#calendar_container::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgb(240, 240, 240);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0,.5);
}


/*
div::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

div::-webkit-scrollbar-thumb  {
  border-radius: 4px;
  background-color: rgba(0,0,0,.5);
  -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);

}
*/

/* Joakim */

#main-header {
  z-index: 999 !important;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.width-30 {
  width: 30px;
}

.modal-holder {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
}

/* List scheme css */
#list_calendar_container {
  width: 100%;
}

#list_calendar_container_inner {
  width: 100%;
  overflow-y: scroll;
}

.box {
	background-color: white;
	border: 1px solid black;
	margin-bottom: 20px;
	display: flex;
  cursor: pointer;
  width: 100%;
}

.box_inner {
	padding: 10px;
  width: 100%;
}

.box-wrapper {
	display: flex;
}

.vertical_bar {
	width: 20px;
}

.name_time_div {
	font-size: 9pt;
}

.fa-check {
	color: green;
}

.fa-circle-o-notch {
	color: green;
}

.fa-times {
	color: red;
}

.list_header {
	background-color: rgb(32, 132, 196);
	border: 1px solid black;
	margin-bottom: 20px;
	display: flex;
  color: white;
  padding: 3px;
  padding-left: 5px;
  position: sticky;
  position: -webkit-sticky;
  top: 0; /* required */
}

.time-header {
  width: 50px;
  font-weight: bold;
}

#scroll-down-for-more {
  text-align: center;
  cursor: pointer;
}

#personal_filter_div {
  margin-bottom: 10px;
  display: flex;
}

#list_filter_input {
  /* max-width: 300px; */
  padding-left: 8px;
}

#list_filter_button_print {
  margin-left: 15px;
}

#list_filter_button_reset {
  margin-left: 5px;
}

#personal_information {
  font-size: 12pt;
}

#personal_filter_user_information {
  margin-bottom: 8px;
}

.email-input-group {
  max-width: 50%;
  margin-right: 10px;
}

.list-room, .list-time {
  font-size: 9pt;
  font-style: italic;
}

#type_filter_div {
  margin-bottom: 10px;
}

.selected_list_type {
  background-color: #ffd700 !important;
  /* background-color: rgba(0,0,0,0.1) !important; */
}

.full-event {
  color: red;
}

#main_div > p {
  padding-bottom: 0em !important;
}

#spacer {
  width: 60px;
  top: 28px;
  height: 3px;
  background-color: rgba(163,163,163,0.8);
  position: absolute;
}
