@import url(https://fonts.googleapis.com/css?family=Nunito);/*General*/

.hidden {
  display: none;
}

.section-body {
  margin-bottom: 30px;
}

p,
ul:not(.list-unstyled),
ol {
  line-height: 1.3em;
}

/*Menu/Sidebar*/

ul.dropdown-menu {
  line-height: 1.3em;
}

.main-sidebar .sidebar-menu li ul.dropdown-menu li a {
  height: auto;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

/*Table*/

#table_pagination nav > div.hidden > div:nth-child(2) > span span.relative.text-gray-500 {
  background-color: #6777ef !important;
  color: white;
}

#table_pagination nav > div.hidden > div:nth-child(2) > span button.relative,
#table_pagination nav > div.hidden > div:nth-child(2) > span span.relative {
  padding: 8px 12px !important;
}

/*Form*/

#form-create > div > div.mt-5,
.section-body > div > div.max-w-7xl div.md\:grid div.mt-5 {
  margin-top: 0 !important;
}

textarea.form-control {
  height: 64px !important;
}

.bootstrap-select > .dropdown-toggle {
  background-color: #fdfdff !important;
  border-color: #e4e6fc !important;
  color: #495057 !important;
  font-size: 14px;
  font-weight: normal;
  box-shadow: none;
  padding: 10px 15px;
}

label + small {
  display: block;
}

.invalid-feedback {
  display: block;
}

.signature-input {
  overflow: hidden;
}

.signature-wrapper {
  position: relative;
  width: 400px;
  height: 100px;
  margin-bottom: 0.25em;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img.signature-background,
.signature-pad {
  position: absolute;
  left: 0;
  top: 0;
}

.bootstrap-select > .dropdown-toggle {
  margin-top: -1em;
}

/*Cards*/

.card .card-header h4 + .card-header-action .btn,
.card .card-header h4 + .card-header-form .btn {
  z-index: 2;
  position: relative;
}

/*Gallery*/

.image-gallery-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.image-gallery-item {
  width: 4rem;
  height: 4rem;
  margin: 1rem;
}

.image-gallery-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: left;
  border: solid 2px #e2e8f0;
}

.image-gallery-item {
  width: 4rem;
  height: 4rem;
  margin: 1rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*Sidebar*/

.main-sidebar .sidebar-menu li a {
  height: auto;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.main-sidebar .sidebar-menu li a .badge {
  margin-right: 1em;
}

/*Fullscreen Model*/

.modal.full-screen {
  padding: 0 !important;
}

.modal.full-screen .modal-dialog {
  margin: 0 !important;
  max-width: none !important;
}

/*Day View*/

.dayview-container {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: stretch;
  flex: 1 1 auto;
}

.dayview-timestrings-container {
  height: auto;
  overflow-y: hidden;
  flex: none;
  display: flex;
  align-items: flex-start;
  min-width: 2.5em;
}

.dayview-timestring-container {
  height: 40px;
  position: relative;
  -webkit-padding-end: 0.5em;
          padding-inline-end: 0.5em;
  text-align: right;
}

.dayview-timestring-container:first-child .dayview-timestring {
  display: none;
}

.dayview-timestring {
  display: block;
  color: #70757a;
  font-size: 10px;
  position: relative;
  top: -6px;
}

.dayview-timestrings {
  position: relative;
  background-color: #fff;
  box-sizing: border-box;
  margin-left: auto;
}

.dayview-grid-container {
  flex: 1 1 0;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: flex-start;
}

.dayview-grid {
  border-bottom: #dadce0 1px solid;
  position: relative;
  min-width: 100%;
  flex: none;
  display: inline-flex;
  vertical-align: top;
}

.dayview-grid-tiles {
  z-index: 1;
  border-top: #dadce0 1px solid;
}

.dayview-grid-tile {
  height: 40px;
}

.dayview-grid-tile:after {
  content: "";
  border-bottom: #dadce0 1px solid;
  position: absolute;
  width: 100%;
  margin-top: -1px;
  z-index: 3;
  pointer-events: none;
}

.dayview-grid-marker-start,
.dayview-grid-marker-end {
  width: 0.5em;
  -webkit-border-end: #dadce0 1px solid;
          border-inline-end: #dadce0 1px solid;
}

.dayview-grid-marker-end {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.dayview-gridcell-container {
  position: relative;
  padding: 0 1em;
  box-sizing: border-box;
  flex: 1 0 auto;
  min-width: 1em;
  border-right: white 1px solid;
  overflow: visible;
  overflow-y: hidden;
}

.dayview-gridcell {
  grid-column-gap: 0.25em;
  z-index: 2;
  position: relative;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: repeat(48, 10px);
  /*for 24 hours - repeat(96, 10px);*/
  /* grid-template-columns: fit-content(100%); */
  cursor: copy;
}

.dayview-cell {
  z-index: 2;
  border-radius: 0.25em;
  /* border: 1px solid darkred; */
  background-color: #6670bf;
  padding: 0 0.25em;
}

.dayview-now-marker {
  position: absolute;
  z-index: 504;
  border-top: #ea4335 solid 2px;
  right: 0.5em;
  left: 0;
  pointer-events: none;
}

.dayview-now-marker:after {
  background: #ea4335;
  border-radius: 50%;
  content: "";
  position: absolute;
  height: 12px;
  -webkit-margin-start: -0.5em;
          margin-inline-start: -0.5em;
  margin-top: -5px;
  width: 1em;
}

.dayview-cell {
  padding: 3px;
  color: white;
  font-size: 1em;
  display: flex;
  cursor: auto;
}

.dayview-cell:not(.dayview-cell-extended) .dayview-cell-title:after {
  content: "";
  -webkit-margin-end: 0.25em;
          margin-inline-end: 0.25em;
}

.dayview-cell-extended {
  display: block;
}

.dayview-cell-desc {
  display: none;
}

.dayview-cell-title {
  margin-right: 1em;
}

.dayview-cell-title,
.dayview-cell-desc {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 14em;
  line-height: 1em;
}

.dayview-cell-header-action {
  margin-left: auto;
}

.day-view-responsive {
  width: 100%;
}

.dayview-gridcell-container:nth-child(even) {
  background: rgba(0, 0, 0, 0.06);
}

.dayview-gridcell-container-title {
  height: 40px;
  text-align: center;
  font-size: 1.25em;
  padding: 0.5em 0 0 0;
  margin: 0;
}

/*Month View*/

.month-view-responsive a {
  color: #34395e;
  text-decoration: none;
}

.fc-event-main > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.25em;
}

.fc-cust-details {
  text-align: left;
}

.fc-cust-title {
  font-weight: bold;
}

/* Calendar */

.calendar {
  display: flex;
  flex-flow: column;
}

.calendar .header .month-year {
  font-size: 20px;
  font-weight: bold;
  color: #636e73;
  padding: 20px 0;
}

.calendar .days {
  display: flex;
  flex-flow: wrap;
}

.calendar .days .day_name {
  width: calc(100% / 7);
  border-right: 1px solid #2c7aca;
  padding: 20px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  color: #818589;
  color: #fff;
  background-color: #448cd6;
}

.calendar .days .day_name:nth-child(7) {
  border: none;
}

.calendar .days .day_num {
  display: flex;
  flex-flow: column;
  width: calc(100% / 7);
  border-right: 1px solid #e6e9ea;
  border-bottom: 1px solid #e6e9ea;
  padding: 0.5em;
  font-weight: bold;
  color: #7c878d;
  min-height: 100px;
}

.calendar .days .day_num span {
  display: inline-flex;
  width: 30px;
  font-size: 14px;
}

.calendar .days .day_num .event {
  margin-top: 0.1em;
  font-weight: 500;
  font-size: 14px;
  padding: 3px 6px;
  border-radius: 4px;
  background-color: #3abaf4;
  color: #fff;
  word-wrap: break-word;
}

.calendar .days .day_num .event.green {
  background-color: #51ce57;
}

.calendar .days .day_num .event.blue {
  background-color: #518fce;
}

.calendar .days .day_num .event.red {
  background-color: #ce5151;
}

.calendar .days .day_num:nth-child(7n+1) {
  border-left: 1px solid #e6e9ea;
}

.calendar .days .day_num:hover {
  background-color: #fdfdfd;
}

.calendar .days .day_num.ignore {
  background-color: #fdfdfd;
  color: #ced2d4;
}

.calendar .days .day_num.selected {
  background-color: rgba(255, 220, 40, 0.15);
}

/*Responsive*/

@media only screen and (max-width: 767.98px) {
  .card .card-header h4 + .card-header-action,
  .card .card-header h4 + .card-header-form {
    width: auto;
    margin-top: 0;
  }
}

