@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
@import url("variable.css");

/* width */
::-webkit-scrollbar {
  width: 9px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px white;
  border-radius: 4px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: grey;
  border-radius: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: grey;
}

body {
  color: #333;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

/* .container {
  display: flex;
  flex-flow: row wrap;
} */

.main-content {
  background-color: var(--color-white);
  padding: 2.5rem;
}

.container .sidebar {
  background-color: #333;
  color: #fff;
  width: 30%;
  height: 100%;
  padding: 0 1rem;
  position: fixed;
  top: 0;
  left: 0;
  transition: width 0.1s ease-in-out;
}

.container .sidebar a {
  color: #fff;
  text-decoration: none;
}

.container .sidebar .sidebartop {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 1rem;
  height: 55px;
}

.container .sidebar .sidebartop .logo {
  width: 70%;
}

.container .sidebar .sidebartop .logo img {
  height: auto;
  width: 100%;
}

.container .sidebar .sidebartop .menu {
  width: 20%;
  text-align: end;
}

.container .sidebar .sidebartop .menu i {
  cursor: pointer;
  font-size: 1.75rem;
}

.container .sidebar .sidebartop .logo-mobile {
  display: none;
}

.container .sidebar .search {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: 1rem 0;
}

.container .sidebar .search button {
  cursor: pointer;
  width: auto;
  background-color: transparent;
  border: 0;
  color: #fff;
  position: absolute;
  font-size: 1.25rem;
  left: 1.5rem;
  top: 50%;
  transform: translate(-50%, -50%);
}

.container .sidebar .search input {
  background-color: #404040;
  border: 0px;
  padding: 1rem;
  border-radius: 0.5rem;
  width: calc(100% + 1rem);
}

.container .sidebar .search input::placeholder {
  padding-left: 1.5rem;
}

.container .sidebar nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.container .sidebar nav ul li {
  display: block;
  align-items: center;
  padding: 1.25rem 0;
  position: relative;
  background-color: transparent;
  transition: background-color 0.25s ease-in-out;
}

.container .sidebar nav ul li a {
  display: block;
}

.container .sidebar nav ul li a i {
  font-size: 1.25rem;
}

.container .sidebar nav ul li a .text {
  position: relative;
  left: 1rem;
  top: -0.2rem;
}

.container .sidebar .account {
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  width: calc(100% - 2rem);
  position: absolute;
  bottom: 1rem;
}

.container .sidebar .account .avatar {
  margin-right: 1rem;
  width: 20%;
}

.container .sidebar .account .avatar img {
  border-radius: 50%;
  height: 50px;
  width: 50px;
}

.container .sidebar .account .name {
  flex: 1 1 auto;
}

.container .sidebar .account .name h4 {
  padding: 0;
  margin: 0;
}

.container .sidebar .account .logout {
  flex: 1 1 auto;
  text-align: end;
}

.container .sidebar .account .logout i {
  font-size: 1.5rem;
}

.container .main {
  margin-left: calc(30% + 2rem);
  padding: 1rem;
}

.short .sidebar {
  width: 5%;
  text-align: center;
}

.short .sidebar .logo,
.short .sidebar .searchInput,
.short .sidebar .text,
.short .sidebar .avatar,
.short .sidebar .name {
  display: none;
}

.short .sidebar .sidebartop {
  display: block;
  height: 75px;
}

.short .sidebar .sidebartop .logo-mobile {
  display: none;
}

.short .sidebar .sidebartop .menu {
  width: 100%;
  text-align: center;
}

.short .sidebar .text.hover {
  display: block !important;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 0.5rem;
  box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.25);
  position: absolute;
  left: 3rem;
  top: 1rem;
  border-radius: 0.25rem;
}

.short .sidebar .account {
  display: block;
}

.short .sidebar .account .logout {
  width: 100%;
  text-align: center;
}

.short .sidebar .search {
  margin: 1.75rem -0.2rem;
}

.short .main {
  margin-left: calc(5% + 2rem);
}

.searchWindow {
  position: fixed;
  height: 100vh;
  width: 100vw;
  background-color: rgba(51, 51, 51, 0.9);
  z-index: 1;
  top: 0;
  padding: 1rem;
  text-align: center;
  color: #fff;
  padding-top: 20vh;
  display: none;
}

.searchWindow input {
  background-color: #bfbfbf;
  border: 0px;
  padding: 1rem 0.5rem;
  border-radius: 0.5rem;
  width: 60vw;
}

.searchWindow input::placeholder {
  padding-left: 0.5rem;
}

.searchWindow button {
  background-color: transparent;
  border: 2px solid #fff;
  font-size: 1rem;
  padding: 1rem 2rem;
  color: #fff;
  border-radius: 0.5rem;
  cursor: pointer;
}

.searchWindow button.cancelSearch {
  border: 0px;
  font-size: 2rem;
  position: absolute;
  top: 0;
  right: 2vw;
}

.searchWindow.active {
  display: block;
}

.table-section__wrapper#dashboard_my-penalties{
  font-weight: bold;
}

.table-section__wrapper .title {
  display: block;
  font-size: 24px;
  line-height: 40px;
  color: #121826;
  font-weight: 700;
  margin: auto;
}

.table-section__wrapper {
  margin-bottom: 40px;
}

.peb-table.dataTable {
  margin: 0;
}

.peb-table.dataTable thead th {
  font-weight: bold;
  font-size:16px;
  background-color: #dedcdc;
  border: 1px solid #92a4b1;
}

.peb-table.dataTable tbody td {
  vertical-align: top;
}

table.dataTable.display>tbody>tr:nth-child(even)>* {
  background: #c5dcff80;
}

.dt-layout-table {
  margin-bottom: 70px;
}

/* .dt-layout-row {
  width: auto !important;
} */

.dt-layout-cell.dt-start {
  display: block !important;
}

.dt-length .dt-input {
  margin-right: 10px;
  width: fit-content;
}

.overflow-hidden {
  overflow: hidden;
}

.semi-bold {
  font-weight: 600;
}

.no-padding {
  padding: 0 !important;
}

.peb-modal .modal-title {
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
}

.peb-modal .event-title {
  margin-right: 20px;
}

.full-text {
  white-space: normal;
}

.short-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.peb-modal .secondary-btn {
  width: 100%;
}

.peb-modal .modal-header {
  position: relative;
  border-bottom: none;
}

.peb-modal .modal-close-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  position: absolute;
  right: -10px;
  top: -10px;
  background-color: var(--color-default);
  border: none;
  color: var(--color-white);
}

.peb-modal .register-btn_wrapper {
  margin-top: 20px;
}

.back-link {
  color: var(--text-black);
  text-decoration: underline;
  cursor: pointer;
}

.page-title {
  margin: 20px 0;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
}

.pointer {
  cursor: pointer;
}

.bg-white {
  background-color: white !important;
}

.margin_top_12x {
  margin-top: 12px !important;
}

.margin_right_0 {
  margin-right: 0 !important;
}

.margin_auto {
  margin: auto;
}

.pt-10 {
  padding-top: 10px !important;
}

.pl-10 {
  padding-left: 10px !important;
}

.pl-1 {
  padding-left: 1px !important;
}

.pr-1 {
  padding-right: 1px !important;
}
.mb-0 {
  margin-bottom: 0px !important;
}

.mt-0 {
  margin-top: 0px !important;
}

.mt-5 {
  margin-top: 5px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.ml-5 {
  margin-left: 5px !important;
}

.ml-10 {
  margin-left: 10px !important;
}

.ml-20 {
  margin-left: 20px !important;
}

.hide_element {
  display: none !important;
}

.disable-element {
  pointer-events: none;
  opacity: 0.4;
}

.red {
  color: red;
}

/* declarations screen */

.d-flex {
  display: flex;
}

.d-inline {
  display: inline;
}

.d-inline-block {
  display: inline-block;
}

.align-items-center {
  align-items: center;
}

.nav-link-item {
  cursor: pointer;
}

.p-0 {
  padding: 0 !important;
}

.mobile-sidebar_item {
  position: relative;
  color: var(--color-white);
}

.mobile-sidebar_item .arrow-wrapper {
  position: absolute;
  right: 20px;
  transition: 0.3s;
}

.mobile-sidebar_item .arrow-wrapper.rotated {
  transform: rotate(180deg);
}

.nav-list .mobile-li_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-list .mobile-sidebar_item {
  width: 100%;
  padding: 10px 15px;
}

#sidebarMobileMenu {
  /* max-height: 76vh; */
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-li_item .mobile-nav-subitem {
  padding: 12px 48px !important;
  display: flex;
  align-items: center;
  color: var(--color-white) !important;
}

.cursor-pointer {
  cursor: pointer;
}

.modal-row {
  /* display: flex !important;
  align-items: flex-end !important; */
}

.title-row {
  font-weight: 600;
}

.pre-section {
  white-space: pre;
}

.address-row {
  position: relative
}

.address-row .onemap-suggestion_wrapper {
  position: absolute;
  right: -10px;
  top: 10px;
  z-index: 9;
}

.onemap-btn {
  cursor: pointer;
  background-color: #0287C2;
  color: white;
}

.onemap-btn img {
  height: 32px;
  width: 32px;
}

.onemap-btn-select {
  cursor: pointer;
  background-color: #0287C2;
  color: white;
}

.btn-disabled {
  background-color: #bfbfbf !important;
  cursor: not-allowed;
}

.modal .error-content {
  word-break: break-word;
}

.auto-height-text {
  resize: none;
  overflow: hidden;
  min-height: 24px;
  width: 100%;
}

.popup-file-title {
  font-size: 24px !important;
  color: var(--text-black) !important;
  padding-bottom: 16px !important;
}

.popup-file-description {
  font-size: 16px !important;
  color: var(--text-black) !important;
  margin: 0 0 10px;
}

.popup-file-confirm-btn {
  width: 114px;
  padding: 6px 12px !important;
  background-color: #0287C2;
}
.popup-file-confirm-btn:focus {
  box-shadow: unset !important;
}

.popup-file-deny-btn {
  width: 114px;
  padding: 6px 12px !important;
  border: 1px solid black !important;
  color: var(--text-black) !important;
  background-color: none !important;
}

.popup-file-actions {
  margin-top: 0 !important;
}

.swal2-styled.swal2-confirm {
  width: 114px;
  padding: 6px 12px !important;
  background-color: #0287C2 !important;
}

.swal2-styled.swal2-confirm:focus {
  box-shadow: none;
}

.swal2-title {
  color: var(--text-black) !important;
  font-size: 24px !important;
}

.ui-timepicker-container {
  z-index: 1000 !important;
}

.safari-timepicker {
  width: 70px;
}

.safari-timepicker-label {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
}

.safari-timepicker-label .atnbtn-custom{
  width: 16px;
  height: 16px;
}

#pdu-summary td {
  text-align: center;
}

.pdu_legends td {
  text-align: center;
}

.modal-dialog {
  padding-bottom: 60px 0 !important;
}

.modal-dialog__big {
  width: 100%; 
}

@media (min-width: 768px) {
  .modal-dialog__big {
    width: 70%; 
  }
}

.dt-type-numeric {
  text-align: left !important;
}

@media only screen and (max-width: 991px) {
  .flex-column-on-campus {
    min-height: unset !important;
  }
  .flex-column-on-campus-ppe {
    min-height: unset !important;
  }
}
@media only screen and (min-width: 768px) {
  .hide_desktop {
    display: none;
  }
}

@media (max-width: 844px) {
  .container .sidebar {
    width: 5%;
    text-align: center;
  }

  .container .sidebar .logo,
  .container .sidebar .searchInput,
  .container .sidebar .text,
  .container .sidebar .avatar,
  .container .sidebar .name {
    display: none;
  }

  .container .sidebar .sidebartop {
    display: block;
    height: auto;
  }

  .container .sidebar .sidebartop .logo-mobile {
    display: block;
  }

  .container .sidebar .sidebartop .logo-mobile img {
    height: auto;
    width: 80%;
  }

  .container .sidebar .sidebartop .menu {
    display: none;
  }

  .container .sidebar nav ul li {
    padding: 0;
  }

  .container .sidebar nav ul li a {
    padding: 0.6rem 0;
  }

  .container .sidebar .account {
    display: block;
  }

  .container .sidebar .account .logout {
    width: 100%;
    text-align: center;
  }

  .container .sidebar .search {
    margin: 1.5rem -0.2rem;
  }

  .container .main {
    margin-left: calc(5% + 2rem);
  }

  .peb-table {
    width: 100% !important;
  }

  .dt-layout-cell.dt-start {
    margin-right: 0;
  }
}

.summary-email {
  word-break: break-word;
}

.ui-timepicker, .ui-timepicker-viewport, .ui-menu-item {
  width: 100px !important;
}

.ui-timepicker-container {
  width: 104px !important;
}

chrome_annotation {
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  border-bottom: none !important;
}

@media only screen and (max-width: 768px) {

  .main-content {
    padding: 1rem;
  }

  .hide_mobile {
    display: none;
  }

  .mobile_center {
    margin: auto;
  }

  .peb-table {
    width: 100% !important;
  }

  .dt-layout-cell.dt-start {
    margin-right: 0;
  }

  #add-form .modal-dialog, #add-form-supervising .modal-dialog{
    max-width: 80vh;
    padding-bottom: 60px !important;
  }

  #onemap-form .modal-dialog{
    max-width: 80vh;
  }
}

::-ms-reveal {
  display: none;
}

.password-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.password-group .show-password-btn {
  right: 0;
  position: absolute;
  cursor: pointer;
}

.show-password-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 450px) {
  .container .sidebar {
    width: 8%;
  }

  .container .sidebar nav ul li {
    padding: 0;
  }

  .container .sidebar nav ul li a {
    padding: 2rem 0;
  }

  .container .sidebar .search {
    margin-top: 4rem;
    margin-bottom: 3rem;
    margin-left: -0.5rem;
  }

  .container .main {
    margin-left: calc(8% + 2rem);
  }

  .searchWindow {
    padding: 0;
    padding-top: 10vh;
  }

  .searchWindow input {
    width: calc(100% - 2rem);
  }

  .searchWindow button {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
  }

  .peb-table {
    width: 100% !important;
  }

  .dt-layout-cell.dt-start {
    margin-right: 0;
  }

  #add-form .modal-dialog, #add-form-supervising .modal-dialog {
    max-width: 45vh;
  }

  #onemap-form .modal-dialog {
    max-width: 45vh;
  }
}

.flex-column-on-campus {
  display: flex;
  flex-direction: column;
  min-height: 185px;
}

.flex-column-on-campus-ppe {
  display: flex;
  flex-direction: column;
  min-height: 191px;
}

.grant-total-table {
  margin-bottom: 10px;
}

.grant-total-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}

.main-panel .notice {
  margin-top: 16px;
  border-radius: 8px;
  background-color: #D9D9D9;
  padding: 12px;
}

.notice .notice-title {
  margin-left: 8px;
}

.btn_link {
  margin-top: 16px;
  margin-bottom: 16px;
  border: 0;
  background: transparent;
}

.buttons .btn {
  font-weight: 500;
  font-size: 16px;
  border-radius: 6px;
  border-color: none;
  border-style: none;
  height: 40px;
  line-height: 40px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-custom-cancel {
  color: #0287C2;
  text-decoration: underline;
  width: 84px;
}

.btn-custom-secondary {
  border: 1px solid black !important;
  width: 114px;
  color:black !important;
}

.btn-custom-primary {
  background-color: #0287C2;
  color: white;
  width: 84px;
}

.notify-panel {
  background-color: #EED8DB;
  border: solid 1px #C63646;
  padding: 16px;
  margin: 8px 2%;
  border-radius: 12px;
}
#add-form{
  padding-left: 0 !important;
}
#add-form .modal-dialog{
  /* width: calc(100vw - 40px);  */
  /* height: calc(100vh - 40px);
  max-width: none;
  margin: 20px;  */
}
#onemap-form{
  padding-left: 0 !important;
}

#profile_image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
}

@media (min-width: 768px){
  #add-form .modal-dialog, #add-form-supervising .modal-dialog{
    width: calc(100vw - 40px);
  }

  #onemap-form .modal-dialog{
    width: calc(100vw - 40px);
  }

  #confirm-form .modal-dialog{
    width: calc(100vw - 40px);
  }

  #pe-regno-form .modal-dialog{
    width: calc(100vw - 40px);
  }

  #my-modal .modal-dialog{
    width: calc(100vw - 40px);
  }
}


.modal-content-form{
  padding: 2% 0;
}

.modal-dialog.confirmation{
  top: 30%;
}

.modal-content-custom {
  padding: 16px 16px 16px 16px;
  text-align: center;
}

.modal-content-custom .dialog-title {
  font-size: 24px;
  padding-bottom: 16px;
}

.atnbtn-custom-delete{
  background-image: url(../../../Styles/images/icons/Delete.png);
}

.atnbtn-custom-edit{
  background-image: url(../../../Styles/images/icons/Edit.png);
}

.atnbtn-custom-dropdown{
  background-image: url(../../../Styles/images/icons/down_arrow.png);
}

.atnbtn-custom{
  width:24px;
  height: 24px;
  padding: 0;
  border: 0;
  background-size: cover;
  background-position: center;
  background-color: transparent;
}

#closeBtn{
  background-image: url(/Styles/images/icons/close.png);
  background-color: transparent;
  color: black;
  height: 24px;
  margin-top: 10px;
  margin-right:10px;
  position: absolute;
  top:0;
  right:0;
}

#totalCredit {
  display: flex;
  justify-content: center;
  max-width: 77px;
  min-height: 24px
}

.hidden-sum {
  min-height: 24px;
  min-width: 58px;
}
.licence-container .checked-item {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.licence-container .checkbox {
  margin-top: 0px;
  border: 1px solid #CACACA;
  min-width: 20px;
  min-height: 20px;
  cursor: pointer;
}
.licence-container .checked-title {
  margin-left: 10px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 0px;
  font-weight: normal;
}

/* Modify/follow CSS for font size across the application - newest */
.heading-1 {
  font-size: 24px;
  font-weight: bold;
}
.heading-2 {
  font-size: 18px;
  font-weight: bold;
}
.popular-text {
  font-size: 16px;
  font-weight: normal !important;
}
.hint-text {
  font-size: 14px;
}


.declaration-text {
  color: red;
  text-decoration: underline;
}

#editBtn, .editBtn{
  background-image: url(/Styles/images/icons/Edit.png);
}

#removeBtn, .removeBtn {
  background-image: url(/Styles/images/icons/Delete.png);
}

.removeBtn:disabled{
  filter: grayscale(100%) brightness(80%);
}
