html,
body {
  width: 100%;
  height: 100%;
}

h2 {
  font-size: 16px;
}

a>.btn,
a>i {
  color: black;
}

.form-control:disabled, .form-control[readonly] {
  border: none;
  background-color: whitesmoke;
}

.form-group {
  position: relative;
}

select[disabled] {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
}

.nav-link {
  color: inherit;
  font-weight: bold;
  color: #808080;
}

.nav-link.active {
  font-weight: bold;
}

.nav-link:hover {
  color: initial;
}

/* Page */
.page-wrapper {
  height: 100%;
}

h1.page-header {
  margin-top: 20px;
  font-size: 22px;
  border: none;
  padding: 0;
  text-align: center;
}

h3.app-title {
  /* color: #3175a2; */
  color: #62d834;
}

.main-container {
  margin-top: 26px;
  padding: 8px;
  min-width: 392px;
}

.main-content {
  margin-top: 8px;
}

/* Top Navigation */
.top-nav {
  padding: 0 15px;
  margin-bottom: 0;
  border: none;
  background-color: #0f2538;
}

/* Side Navigation */
.side-nav {
  /*height: calc(100% - 51px);*/
  /*display: none;*/
  background: ghostwhite;
  width: 200px;
  list-style: none;
  padding-top: 8px;
  position: fixed;
  top: 51px;
  bottom: 0;
  overflow-y: auto;
  z-index: 12;
}

.side-nav ul {
  list-style: none;
}

nav.side-nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

nav.side-nav a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  border-bottom: 1px solid white;
  color: #444444;
}

nav.side-nav a:hover,
nav.side-nav a.current-nav-item {
  /*color: #ffffff;*/
  color: black;
}

nav.side-nav a:visited {
  /*color: #d0d1d4;//white;*/
}

nav.side-nav a>span,
body:not(.menu-default-visibility) nav.side-nav a>span {
  /*text-transform: uppercase;*/
  font-size: 12px;
  /* font-weight: 600; */
  /*letter-spacing: 0.5px;*/
  /*color: #d0d1d4;*/
  opacity: 1;
  visibility: visible;
  -webkit-transition: ease opacity 0.5s, ease visibility 0.5s;
  transition: ease opacity 0.5s, ease visibility 0.5s;
  letter-spacing: 1px;
  font-size: 14px;
}

body.menu-default-visibility nav.side-nav a>span {
  /*display: none;*/
  opacity: 0;
  visibility: hidden;
  -webkit-transition: ease opacity 0.5s, ease visibility 0.5s;
  transition: ease opacity 0.5s, ease visibility 0.5s;
}

nav.side-nav a>i {
  margin: 0 12px 0 16px;
  font-size: 20px;
  width: 18px;
}

body.menu-default-visibility .side-nav {
  -webkit-transition: ease transform 0.5s, ease width 0.5s, ease overflow-x 0.5s;
  transition: ease transform 0.5s, ease overflow-x 0.5s;
  -ms-transform: translateX(-300px);
  /* IE 9 */
  -webkit-transform: translateX(-300px);
  /* Safari */
  transform: translateX(-300px);
  overflow-x: hidden;
}

body:not(.menu-default-visibility) .side-nav {
  -webkit-transition: ease transform 0.5s, ease width 0.5s, ease overflow-x 0.5s;
  transition: ease transform 0.5s, ease overflow-x 0.5s;
  -ms-transform: translateX(0px);
  /* IE 9 */
  -webkit-transform: translateX(0px);
  /* Safari */
  transform: translateX(0px);
  overflow-x: auto;
}

nav.side-nav ul {
  width: 100%;
}

nav.side-nav ul li {
  box-sizing: content-box;
  width: 100%;
  min-height: 40px;
}

nav.side-nav ul li::after,
nav.side-nav ul li::before {
  box-sizing: content-box;
}

nav.side-nav ul li a {
  height: 60px;
  /*width: 300px;*/
  width: 100%;
}

/* Registration */
.login-form {
  width: 340px;
  margin: 50px auto;
}

.login-form form {
  margin-bottom: 15px;
  /*background: #f7f7f7;*/
  /*box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);*/
  padding: 30px;
  /*background: white;*/
  margin-top: 30px;
  background: ghostwhite;
}

.login-form h2 {
  margin: 0 0 15px;
}

.login-form .form-control,
.login-form .btn {
  min-height: 38px;
  border-radius: 2px;
}

.invalid-feedback {
  position: absolute;
  top: 4rem;
}
.feedback-fix{
    position: relative;
    top:auto;
}

/* Dashboard*/
a.dashboard-button:hover {
  text-decoration: none;
}

/* Apartment's Νέα κράτηση button */
a.apartment-button {
  color: black;
  text-decoration: none;
}

.card-body-icon {
  position: absolute;
  z-index: 0;
  top: -1.25rem;
  right: -0.5rem;
  opacity: 0.4;
  font-size: 5rem;
}

.dashboard-number {
  font-size: 32px;
}

/* Tables */
 table th,
table tr {
  text-align: center;
}

table.table-striped tbody tr:nth-of-type(odd) {background-color: white;}
table.table-striped tbody tr:nth-of-type(even) {background-color: white;}
table.table-striped tbody tr:nth-of-type(odd):hover {background-color: ghostwhite;}
table.table-striped tbody tr:nth-of-type(even):hover {background-color: ghostwhite;}

/*table.dataTable td a {
  color: inherit;
}*/


/*#users-table tr {
  /*height: 50px;*/
/*}*/

/*#visitors-table_filter {
  display: none;
}*/

/* div.dataTables_wrapper div.dataTables_info {
  padding-left: 15px;
  font-size: 90%;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, .007);
} */

/* DateTime Pickers */
.date-picker-wrapper {
  background: white;
  border: none;
}

.date-picker-wrapper .month-wrapper table{
    border-collapse:separate;
    border: 1px solid #e1e5e8;
}

/* .date-picker-wrapper .month-wrapper table, */
.date-picker-wrapper .month-wrapper table.month2 {
  order:3;
  min-width: 300px;
  width: 45%;
  margin-right: 10px;
  margin-left: 10px;
}

.date-picker-wrapper .month-wrapper table.month1 {
  order:1;
  width: 45%;
  min-width: 300px;
  margin-right: 10px;
  margin-left: 10px;
}

.date-picker-wrapper .month-wrapper .time{
    /* border: 1px solid black; */
    order:2;
    width:0px;
}

.date-picker-wrapper .month-wrapper .dp-clearfix{
    order:2;
}

.date-picker-wrapper .month-wrapper table,
.date-picker-wrapper .month-wrapper table thead{
  background: white;
}



.date-picker-wrapper .gap {
  min-height: 40px;
  order:3;
  width: 0;
  /* margin: 0px; */
}


.date-picker-wrapper .month-wrapper table .day.checked {
  font-weight: bold;
}

.date-picker-wrapper .drp_top-bar {
  font-size: 16px;
}

.date-picker-wrapper .month-wrapper {
  width: 100% !important;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  border: none;
}

.date-picker-wrapper .month-wrapper table .day.reserved:not(.checked) {
  background-color: red;
  font-weight: bold;
  color: navajowhite;
  /*border: 1px solid #fa0000;*/
}

.date-picker-wrapper .month-wrapper table .day.reserved.last-date {
  border-right: 2px solid white;
}

.date-picker-wrapper .month-wrapper table .day.checked {
  background-color: #9cdbf7;
  color: white;
}

.date-picker-wrapper .month-wrapper table td,
.date-picker-wrapper .month-wrapper table th {
  width: 14.28%;
}

.date-picker-wrapper.inline-wrapper {
  padding-left: 0;
  padding-right: 0;
  display: block;
  /*width: 100%;*/
}

.date-picker-wrapper .date-range-length-tip {
  font-size: 16px;
  padding: 8px;
  line-height: 24px;
  background-color: #f5f5f5;
  color: #000000;
  margin-top: -20px;
}

.date-picker-wrapper {
  font-size: 14px;
  line-height: 22px;
  color: inherit;
  font-family: inherit;
}

.apartments-grid::after{
    /* content: '';
    flex:auto; */
}

/* Lightbox */
.custom-lightbox-content-body table {
  color: #6d747e;
  font-size: 0.95em;
  background-color: #ecf3fd;
}

.custom-lightbox-content-body table thead {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  background-color: ghostwhite;
}

.custom-lightbox-content-body table tr {
  text-align: center;
}

.custom-lightbox-content-body table th {}

.custom-lightbox-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  background: -ms-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  background: -moz-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  background: -o-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  background: -webkit-gradient(radial, center center, 0, center center, 497, color-stop(0, rgba(0, 0, 0, 0.3)), color-stop(1, rgba(0, 0, 0, 0.7)));
  background: -webkit-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  background: radial-gradient(ellipse farthest-corner at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  /*-webkit-transition: ease opacity 0.3s, ease visibility 0.3s;*/
  /*transition: ease opacity 0.3s, ease visibility 0.3s;*/
}

.custom-lightbox-background.shown {
  opacity: 1;
  visibility: visible;
  -webkit-transition: ease opacity 0.3s, ease visibility 0.3s;
  transition: ease opacity 0.3s, ease visibility 0.3s;
}

.custom-lightbox-wrapper {
  position: fixed;
  /*top: 3%;*/
  top: 70px;
  left: 50%;
  /*margin-left: -390px;*/
  /*width: 780px;*/
  margin-left: -47%;
  width: 94%;
  width: 90vw;
  margin-left: -45vw;
  height: 96%;
  height: calc(100% - 74px);
  z-index: 21;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: ease opacity 0.5s, ease visibility 0.5s;
  transition: ease opacity 0.5s, ease visibility 0.5s;
}

.custom-lightbox-wrapper.shown {
  opacity: 1;
  visibility: visible;
  -webkit-transition: ease opacity 0.5s, ease visibility 0.5s;
  transition: ease opacity 0.5s, ease visibility 0.5s;
}

.custom-lightbox-wrapper>.custom-lightbox-container {
  /*display: table;*/
  height: 100%;
  width: 100%;
}

.custom-lightbox-wrapper>.custom-lightbox-container>.custom-lightbox-content-wrapper {
  /*display: table-cell;*/
  vertical-align: middle;
  width: 100%;
  height: 100%;
}

.custom-lightbox-content {
  position: relative;
  box-shadow: 0 12px 30px 0 rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  color: #d0d1d4;
}

.custom-lightbox-content>.content-datatable-edit {
  /*background: white;*/
  border-radius: 6px;
  /*border: 1px solid #666;*/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  border: 1px solid #424953;
  height: 100%;
}

.custom-lightbox-content-header {
  right: 0;
  width: auto;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.custom-lightbox-content-header {
  position: absolute;
  top: 0;
  left: 0;
  height: 52px;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 16px 10px 2px 16px;
  font-size: 1.3em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 2;
  font-size: 18px;
  color: #6d747e;
  background-color: ghostwhite;
}

.custom-lightbox-content-footer {
  right: 0;
  width: auto;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.custom-lightbox-content-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 52px;
  width: 100%;
  /*background-color: #e8e9eb;*/
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #ECF3FD;
  z-index: 2;
}

.custom-lightbox-content-body {
  position: relative;
  padding: 52px 0;
  background-color: #FFFFFF;
  border-radius: 6px;
  z-index: 1;
  overflow: auto;
  height: calc(100% - 104px);
  max-height: calc(96vh - 104px);
}

.custom-lightbox-content-body-content {
  padding: 30px;
  color: #424953;
}

.custom-lightbox-content-body-content label {
  text-align: left;
  letter-spacing: 1px;
}

.custom-lightbox-row {
  margin-bottom: 28px;
}

.custom-lightbox-label {
  text-align: left;
  letter-spacing: 1px;
}

.custom-lightbox-field {
  text-align: left;
  /*letter-spacing: 1px;*/
  background: ghostwhite;
  padding-top: 6px;
  padding-bottom: 6px;
}

.custom-lightbox-field.custom-lightbox-field-button {
  text-align: left;
  /*letter-spacing: 1px;*/
  background: none;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 0;
  padding-right: 6px;
}

.custom-lightbox-field-button button:first-of-type {
  margin-right: 12px;
}

.custom-lightbox-content-body,
.custom-lightbox-content-body-content {
  position: relative;
  /*overflow: auto;*/
}

.custom-lightbox-close {
  position: absolute;
  top: -11px;
  right: -11px;
  width: 24px;
  height: 24px;
  border: 2px solid white;
  background-color: #141c29; //black;
  text-align: center;
  border-radius: 15px;
  cursor: pointer;
  z-index: 22;
  box-shadow: 2px 2px 6px #111;
}

.custom-lightbox-close::after {
  content: '\00d7';
  color: white;
  font-weight: bold;
  font-size: 24px;
  line-height: 24px;
  font-family: 'Courier New', Courier, monospace;
  padding-left: 0px;
}

/* Media Queries */
@media(min-width:768px) {
  h1.page-header {
    margin-top: 0px;
    text-align: left;
  }

  .main-container {
    position: fixed;
    left: 200px;
    right: 0;
    top: 51px;
    margin-top: 0;
    overflow: auto;
    height: calc(100% - 51px);
  }

  .side-nav {
    display: block;
    position: fixed;
    margin-top: 0;
    top: 46px;
    width: 200px;
    /*height: calc(100% - 51px);*/
    bottom: 0;
  }

  nav ul li {
    display: inline;
  }

  nav.side-nav ul li a {
    height: 60px;
    width: 200px;
  }

  body:not(.menu-default-visibility) .side-nav {
    /*width: 52px;*/
    width: 200px;
    -webkit-transition: ease transform 0.5s, ease width 0.5s, ease overflow-x 0.5s;
    transition: ease transform 0.5s, ease width 0.5s, ease overflow-x 0.5s;
    -ms-transform: translateX(0px);
    /* IE 9 */
    -webkit-transform: translateX(0px);
    /* Safari */
    transform: translateX(0px);
    /*overflow-x: hidden;*/
    overflow-x: auto;
  }

  body.menu-default-visibility .side-nav {
    /*width: 200px;*/
    width: 52px;
    -webkit-transition: ease transform 0.5s, ease width 0.5s, ease overflow-x 0.5s;
    transition: ease transform 0.5s, ease width 0.5s, ease overflow-x 0.5s;
    -ms-transform: translateX(0px);
    /* IE 9 */
    -webkit-transform: translateX(0px);
    /* Safari */
    transform: translateX(0px);
    /*overflow-x: auto;*/
    overflow-x: hidden;
  }

  nav a>span,
  body:not(.menu-default-visibility) nav a>span {
    opacity: 1;
    visibility: visible;
    -webkit-transition: ease opacity 0.5s, ease visibility 0.5s;
    transition: ease opacity 0.5s, ease visibility 0.5s;
  }

  body.menu-default-visibility nav a>span {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: ease opacity 0.5s, ease visibility 0.5s;
    transition: ease opacity 0.5s, ease visibility 0.5s;
  }

  body:not(.menu-default-visibility) .main-container {
    left: 200px;
    -webkit-transition: ease left 0.5s;
    transition: ease left 0.5s;
  }

  .main-container {
    left: 52px;
    -webkit-transition: ease left 0.5s;
    transition: ease left 0.5s;
  }

  .custom-lightbox-wrapper {
    top: 0;
    margin-left: -380px;
    width: 760px;
    height: 100%;
  }

  .custom-lightbox-wrapper>.custom-lightbox-container {
    display: table;
    height: 100%;
    width: 100%;
  }

  .custom-lightbox-wrapper>.custom-lightbox-container>.custom-lightbox-content-wrapper {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    max-width: 768px;
  }

  .custom-lightbox-content {
    height: auto;
  }

  .custom-lightbox-content>.content-datatable-edit {}

  .custom-lightbox-content-body {}

  .custom-lightbox-content-body-content label {
    text-align: right;
    letter-spacing: 0;
  }

  .custom-lightbox-row {
    margin-bottom: 28px;
  }

  .custom-lightbox-label {
    text-align: right;
    letter-spacing: 0;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .custom-lightbox-wrapper {
    top: 0;
    margin-left: -390px;
    width: 780px;
    height: 100%;
  }
}

/* Timeline */
.vis-timeline {
  border-radius: 8px;
}

.vis-top {
  background-color: #e2e2e2;
}

.vis-minor {
  border-left: solid 2px #c9c9c9;
  border-top: solid 1px #c9c9c9;
}

.vis-labelset {
  background-color: #f0f0f0;
  border-right: solid 1px #c9c9c9;
}

.vis-item {
  background-color: #ffe578;
}

.vis-item.vis-range {
  border-radius: 8px;
}

.vis-item-content {
    cursor:pointer;
}

.timeline-visitors-0 {
  color: red;
}

.timeline-visit-warning {
  background-color: #ec6262;
  color: #ffffff;
}

.tooltip {
  position: absolute;
  z-index: 2;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}

@media(min-width:1024px) {}
