/* GENERAL DESIGN  */
/* Add custom fonts */
/* Yes this kind of sucks but adminjs really wants you to use just one font and specifically roboto */
@font-face {
  font-family: "DIalternateBold";
  src: url("/fonts/DINalternateBold.ttf") format("truetype");
}
@font-face {
  font-family: "GothamBold";
  src: url("/fonts/Gotham-Bold.otf") format("opentype");
}
@font-face {
  font-family: "GothamMedium";
  src: url("/fonts/Gotham-Medium.otf") format("opentype");
}
@font-face {
  font-family: "GothamLight";
  src: url("/fonts/Gotham-Light.otf") format("opentype");
}
@font-face {
  font-family: "HelveticaNeueMedium";
  src: url("/fonts/HelveticaNeueMedium.ttf") format("truetype");
}
@font-face {
  font-family: "HelveticaNeueRegular";
  src: url("/fonts/HelveticaNeueRegular.ttf") format("truetype");
}

::-webkit-scrollbar {
    display: none;
}

#app * {
  font-family: "GothamMedium";
}

#app .diemsBranding__name {
  font-family: "DIalternateBold";
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
}

#app .diemsNavbar__title {
  font-family: "DIalternateBold";
}

#app .adminjs_H1 {
  font-family: "GothamBold";
}

#app .ActionHeader__subhead {
  font-family: "GothamLight";
}

#app .diemsNavbar__button {
  font-family: "HelveticaNeueRegular";
}

#app .adminjs_Button {
  font-family: "HelveticaNeueRegular";
}

#app .diemsDashboard__title {
  font-family: "GothamBold";
}

#app .property__status {
  font-family: "GothamBold";
}

#app.login__Wrapper p {
  font-family: "DIalternateBold";
}

#app.login__Wrapper a {
  font-family: "HelveticaNeueRegular";
}

#app.login__Wrapper input {
  font-family: "DIalternateBold";
  font-weight: 600;
}

/* remove gray frame in the main section  */

#app > section > section > section {
  padding: 0;
}

#app > section > section > section > section {
  padding-left: 5%;
  padding-right: 5%;
}

#app > section > section > section.adminjs_Resources > section {
  padding-left: 0;
  padding-right: 0;
}


/* LOGIN SCREEN  */
.diemsMessageBox {
  width: 100%;
}

section.diemsMessageBox > div {
  box-shadow: none;
  background-color: #ffd3d9;
  border-radius: 4px;
  border: 2px solid #ff4567;
}

/* LIST ACTION TABLE  */
.table__wrapper {
  border: 1px solid #7070707c;
}

[class*='table__wrapper'] > table {
  border-radius: 15px;
}

[class*='table__wrapper'] > table > thead {
  background: #f2f2f2;
  height: 113px;
}

[class*='table__wrapper'] > table > thead > tr > td {
  font-size: 17px;
  font: normal;
  letter-spacing: 0px;
  color: #000000 !important;
}

[class*='table__wrapper'] > table > thead > tr > td > a {
  font-size: 17px;
  font: normal;
  letter-spacing: 0px;
  color: #000000 !important;
}

[class*='table__wrapper'] > table > tbody > tr {
  border-bottom: 1px solid #707070;
}

.table__wrapper > table > thead {
  font-weight: bold;
}

/* round up table thick box */
#app > section > section > section > section > div.table__wrapper > table > thead > tr > td:nth-child(1) > span > a {
  border-radius: 4px !important;
  left: 20px;
}

#app > section > section > section > section > div.table__wrapper > table > tbody > tr > td > span > a {
  border-radius: 4px !important;
  left: 20px;
}

/* dropdown with 3 dots icon  */
.table__wrapper .adminjs_ButtonGroupItem a {
  border: 1px solid rgba(0, 0, 0, 0);
  color: #454655;
  background: none;
}

.table__wrapper .adminjs_ButtonGroupItem a:hover {
  background: none;
}

.table__wrapper .adminjs_ButtonGroupItem a .adminjs_Icon svg {
  fill: #1C1C38;
  height: 20px;
  width: 20px;
}

/* element visible on hover action  */
.table__wrapper .adminjs_DropDownMenu {
  margin-right: 5px;
  width: 233px;
  box-shadow: 0px 0px 20px #00000029;
}

.table__wrapper .adminjs_DropDownMenu::after {
  content: '';
  position: absolute;
  right: 0;
  top: -12px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #fff;
}

.adminjs_DropDownMenu > section:hover {
  border-color: #f6f7fb; /* grey20 */
}

/* USERS RESOURCE  */
.diemsUsers > .table__wrapper > table > tbody > tr > td:nth-child(6) > section > section {
  margin-bottom: 0;
}

.diemsUsers > .table__wrapper .adminjs_ButtonGroupItem > .adminjs_Icon > svg:hover  {
  cursor: pointer;
  fill: #000;
  color: #000;
  filter: invert(25%) sepia(16%) saturate(3700%) hue-rotate(324deg) brightness(108%) contrast(94%);
}

/* LIST ACTION HEADER  */
.diemsUsers .adminjs_ActionHeader {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.ActionHeader__wrapper {
  width: calc(100% - 200px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 8px 0;
}

.ActionHeader__inner {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-evenly;
}

.ActionHeader__text {
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 44px;
}

.adminjs_ActionHeader .adminjs_ButtonGroupItem {
  width: 210px;
  height: 43px;
  font-size: 19px;
  text-transform: uppercase;
  line-height: 43px;
  font-weight: 400;
  color: #fff;
  background: #b40000; /* primary100 */
  border-radius: 4px;
  text-align: center;
  letter-spacing: 0px;
  padding: 0;
}

/* DRAWER  */
#drawerPortal {
  max-width: 500px;
  width: auto !important;
}

.diemsDrawer__content {
  overflow-x: hidden;
}
.diemsDrawer__content .adminjs_Label {
  margin-bottom: 17px;
  font-size: 20px;
}

.diemsDrawer__content .adminjs_Input {
  border-radius: 4px;
}

.diemsDrawer__content .adminjs_Select > div {
  border-radius: 4px;
}

.diemsDrawer__content .adminjs_Box button {
  border-radius: 0 4px 4px 0;
  height: 38px;
}

/* password input button  */
.diemsDrawer__content .adminjs_Box .adminjs_Text button {
  border-radius: 4px;
}
/* SETTINGS RESOURCE  */

.diemsSettings__drawer {
  border-bottom: 1px solid #f6f7fb; /*grey20 */
}

form > .diemsSettings__drawer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.diemsSettings #name {
  border-radius: 4px;
  max-width: 470px;
  height: 69px;
}

/* space between uploaded images  */
form > section.diemsSettings__drawer > section:nth-child(3) {
  margin-right: 185px;
}

form > .diemsSettings__drawer > section:nth-child(2) > div > label {
  font-size: 25px;
  font-weight: 300;
  color: #000;
  margin-bottom: 17px;
}

/* dimes settings logo image upload   */
form > .diemsSettings__drawer > section:nth-child(2) {
  width: 100%;
}

/* SIDEBAR  */
#app > section > section.hidden {
  border-right: none;
}

/* Navigation Section Header */
.adminjs_Resources > ul > li > a  {
  margin-top:10px;
  margin-bottom:5px;
  background-color: #000;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
}

.adminjs_Resources .adminjs_Box {
  color: #fff;
}

/* Navigation Not Active List Item */
.adminjs_Resources > ul > li > ul > li > a {
  padding-left: 30px;
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 2px;
}

/* Navigation Active Nav Item, swap out generated classname with each new distribution */
.adminjs_Resources .kKeJox {
  padding-left: 30px;
  background-color: #B40000;
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 2px;
}

.adminjs_Resources > ul > li > ul > li > a:hover {
  color: #fff;
  opacity: 0.8;
}

/* DIRECTORY RESOURCE  */
/* image  */
section.directory__card > section > section > img {
  width: 100%;
  height: 100%;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
}

section.directory__card > section:first-child > section {
  width: 274px;
  height: 177px;
  margin-bottom: 0;
}

section.directory__card > section:first-child {
  overflow: hidden;
}

/* title  */
section.directory__card > section:nth-child(2) {
  margin-top: 10px;
  text-align: left;
  font-size: 22px;
  line-height: 22px;
  letter-spacing: 0px;
  color: #000000;
}

/* 3 dot dropdown  */
.directory__options {
  width: 20px;
  position: absolute;
  right: 22px;
  bottom: 5px;
}

.directory__options .diemsDropDown {
  left: -185px;
  top: 33px;
}

/* 3 dot dropdown--hover element */
.directory__card .directory__options .adminjs_DropDownMenu {
  left: -200px;
  width: 233px;
}

/* directory property status  */
.directory__card .property__status {
  position: absolute;
  right: 50px;
  bottom: 10px;
  width: 41px;
  height: 18px;
  font-size: 9px;
}

/* DIRECTORY RESOURCE HEADER FILTER  */
/* 3 dot dropdown  */
.ActionHeader__directoryFilter .diemsDropDown {
  left: -175px;
  top: 33px;
}

/* DIRECTORY ITEM RESOURCE  */
/* 3 dot dropdown  */
.directoryItem__options {
  width: 20px;
}

.directoryItem__options .diemsDropDown {
  left: -200px !important;
  top: 23px;
}

.diemsDirectoryItems .adminjs_InfoBox button {
  display: none;
}

/* adjust first column width  */
td[data-property-name="thumbnail"] {
  width: 250px;
  box-sizing: border-box;
}

/* COLLECTION  */
/* dropdown in card  */
.collection__card .diemsDropDown {
  left: -95px !important;
}

.diemsCollectionItems .adminjs_InfoBox button {
  display: none;
}
/* CALENDAR  */
.diems__navigationElement a:first-child {
  padding: 4px 10px;
  background-color: #fff;
  border-top: 1px solid #9d9a9a;
  border-bottom: 1px solid #9d9a9a;
  margin-bottom: 20px;
}

.diems__navigationElement a:first-child > div {
  font-weight: bold;
  font-size: 18px;
  color: #959595;
}

.diems__navigationElement > section {
  padding-left: 10px;
}

/* CALENDAR SCHEDULE  */

.diemsDrawer__calendar .react-datepicker-wrapper {

}

.diemsDrawer__calendar .adminjs_DatePicker span {

}

.diemsDrawer__calendar .react-datepicker__navigation {
  height: 12px !important;
}

.diemsDrawer__calendar
  .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
  right: 95px !important;
}

.diemsDrawer__calendar .react-datepicker__input-time-container {
  display: none;
}

/* SYSTEM CONTROLS  */
.systemControls .diemsDropDown {
  left: -175px;
  top: 33px;
}

.systemControls .systemControls__grid .diemsDropDown {
  left: -130px;
  top: 33px;
}

.adminjs_DatePicker {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
}

/* Scheduler select button  */
.scheduleSelect {
  width: 300px;
}

.scheduleSelect .adminjs_Select > div {
  border-radius: 4px;
}

/* MEDIA  */
.diemsMedia .diemsDropDown {
  left: -175px;
  top: 33px;
}
