@import url(./custom-variables.css);

@font-face {
  font-family: 'CharterITCW05-BlackItalic';
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BlackItalic.eot?#iefix');
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BlackItalic.eot?#iefix')
      format('eot'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BlackItalic.woff2')
      format('woff2'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BlackItalic.woff')
      format('woff'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BlackItalic.ttf')
      format('truetype');
}
@font-face {
  font-family: 'CharterITCW05-Italic';
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Italic.eot?#iefix');
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Italic.eot?#iefix')
      format('eot'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Italic.woff2') format('woff2'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Italic.woff') format('woff'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'CharterITCW05-Black';
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Black.eot?#iefix');
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Black.eot?#iefix')
      format('eot'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Black.woff2') format('woff2'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Black.woff') format('woff'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Black.ttf') format('truetype');
}
@font-face {
  font-family: 'CharterITCW05-Bold';
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Bold.eot?#iefix');
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Bold.eot?#iefix')
      format('eot'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Bold.woff2') format('woff2'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Bold.woff') format('woff'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'CharterITCW05-Regular';
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Regular.eot?#iefix');
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Regular.eot?#iefix')
      format('eot'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Regular.woff2') format('woff2'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Regular.woff') format('woff'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'CharterITCW05-BoldItalic';
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BoldItalic.eot?#iefix');
  src: url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BoldItalic.eot?#iefix')
      format('eot'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BoldItalic.woff2')
      format('woff2'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BoldItalic.woff') format('woff'),
    url('fonts/ITCCharter_CompleteFamilyPack_Webfonts/CharterITCW05-BoldItalic.ttf')
      format('truetype');
}

::-webkit-scrollbar {
  visibility: hidden;
  width: 0;
}

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

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-background-default);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-family), sans-serif;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

.ap-body-overflow-hidden {
  padding-right: 0 !important;
}

.main-container {
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 40px 40px 0 40px;
}

.sidebar-menu {
  display: flex;
  position: absolute;
  top: 64px;
  left: 0;
  min-width: 72px;
  z-index: 2;
  flex-shrink: 0;
}

.main {
  flex-grow: 1;
  padding-top: 65px;
}

.main-container--margin {
  margin-left: 210px;
}

.header,
.main,
.footer {
  flex-shrink: 0;
}

.header {
  z-index: 1001;
  position: fixed;
  top: 0;
  width: 100%;
}

.footer-drawer {
  margin-top: 64px;
}

.filestorage-drawer,
.comments-drawer {
  padding-top: 64px;
}

.sidebar-panel {
  height: calc(100vh - 64px);
}

.modal-visibility {
  z-index: 1100;
}

.header-navigation-button {
  color: var(--color-text-body) !important;

  &:hover {
    background-color: rgba(var(--color-background-primary-rgb-header), var(--opacity-3)) !important;
  }
  &:active,
  &:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--color-background-primary-rgb-header), var(--opacity-3)) !important;
  }
}

.header-profile-avatar {
  background-color: var(--neutral-11, #818181);
}

#logout {
  .ap-button {
    color: var(--color-main-gray-text);
  }
  .ap-button-primary {
    background-color: var(--color-tlp-background-yellow);
  }
  .ap-button-secondary {
    box-shadow: inset 0 0 0 0.0625rem var(--color-tlp-background-yellow);
    &:hover {
      background-color: rgba(255, 182, 0, var(--opacity-3));
    }
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.ap-notifications {
  z-index: 10000;
}

.drawer-motion-enter-start,
.drawer-motion-appear-start,
.drawer-motion-leave-start {
  transition: none !important;
}

.drawer-motion-enter-active,
.drawer-motion-appear-active,
.drawer-motion-leave-active {
  transition: all 0.3;
}

.drawer-motion-enter,
.drawer-motion-appear {
  transform: translateX(100%);
}

.drawer-motion-enter-active,
.drawer-motion-appear-active {
  transform: translateX(0);
}

.drawer-motion-leave {
  transform: translateX(0);
}

.drawer-motion-leave-active {
  transform: translateX(100%) !important;
}

.rc-image-preview-operations-wrapper.image-mask-wrapper {
  z-index: 1011;
}

.footer-primary-color {
  color: var(--color-text-primary) !important;
}

#not-found-container {
  display: none;
  height: 100vh;
}
