
:root {
  --barHeightMin: 50px;
  --barHeightMax: 70px;
  --barHeight: 0px;
  --sygpurple: #820096;
  --sygorange: #ff8e11;
  --zIndexModals: 1055;
  --zIndexTopbar: 1000;
  --zIndexBottombar: 1000;
  --color-page-inner: rgb(247, 247, 247);
  --color-page-outter: rgb(239, 239, 239);
}

/* ######################################################################### */
/* ######################################################## MQ: => 1000px ## */
/* ######################################################################### */
@media (min-width: 1000px) {
  :root {
    --barHeight: var(--barHeightMax);
  }
}

/* ######################################################################### */
/* ######################################################### MQ: < 1000px ## */
/* ######################################################################### */
@media (max-width: 1000px) {
  :root {
    /*  Calculate a rate between:          */
    /*  Screen width: 410px <-> 1000px     */
    /*  Bar Height: 50px <-> 70px          */
    --barHeight: calc((((100vw - 410px) * 20) / 590) + 50px);
  }
}

/* ######################################################################### */
/* ########################################################## MQ: < 410px ## */
/* ######################################################################### */
@media (max-width: 410px) {
  :root {
    --barHeight: var(--barHeightMin);
  }
}

/* ######################################################################### */
/* ############################################################### Styles ## */
/* ######################################################################### */
html, body {
  margin: 0;
  padding: 0;
  height: 100%!important;
  min-height: 100vh!important;

  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #000;

  background-color: var(--color-page-outter);
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
  flex-shrink: 0 !important;
}

.pageContainer {
  min-height: calc(100vh - (var(--barHeight) + 2px));
  max-width: 1024px;
  min-width: 1024px;
  width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background-color: var(--color-page-inner);
}

@media (max-width: 1025px) {
  .pageContainer {
    height: calc(100vh - (var(--barHeight) + 2px)); 
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    background-color: var(--color-page-inner);
  }
}

.vertSpacer0 { width: 100%; height: 0px; }
.vertSpacer10 { width: 100%; height: 10px; }
.vertSpacer20 { width: 100%; height: 20px; }
.vertSpacer30 { width: 100%; height: 30px; }
.vertSpacer40 { width: 100%; height: 40px; }
.vertSpacer50 { width: 100%; height: 50px; }
.vertSpacer60 { width: 100%; height: 60px; }
.vertSpacer70 { width: 100%; height: 70px; }
.vertSpacer80 { width: 100%; height: 80px; }
.vertSpacer90 { width: 100%; height: 90px; }
.vertSpacer100 { width: 100%; height: 100px; }

#shadow_top_bar {
  display: block;
  width: 100%;
  height: calc(var(--barHeight) + 2px);
}

#shadow_bottom_bar {
  width: 100%;
  height: var(--barHeight);
}

#fixed_notifications {
  display: none;
  width: 100%;
  height: 0px;
}

#page_curtain {
  display: none;
  width: 100%;
  height: 0px;
}

.body_pad {
  padding: 0px 12px;
  width: 100%;
}

footer {
  color: #fff;
  margin-top: auto!important;
  box-sizing: border-box;
}

.topbar_envelope {
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  border-bottom: 2px solid #8093;
  z-index: var(--zIndexTopbar);
}

.topbar {
  background-color: #fff;
  margin-left: auto;
  margin-right:auto;
  width: 100%;
  height: var(--barHeight);
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
}

.topbar_edge_spacer {
  width: 12px;
  height: 100%;
}

.topbar_area {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

.topbar_center {
  display: none;
}

.topbar_right {
  justify-content: end;
}

.topbar_item {
  background-color: var(--sygpurple);
  color: #fff;
  font-weight: 600;
  border: 3px solid var(--sygpurple);
  border-radius: 8px;
  padding: 7px 8px;
  margin-left: 6px;
  cursor: pointer;
  display: none;
  user-select: none;
  white-space: nowrap;
  align-items: center;
  height: calc(100% - ((((100vw - 410px) * 8) / 614) + 12px));
}

.topbar_item:hover {
  background-color: #a0a;
  border-color: #a0a;
}

@media (min-width: 1020px) {
  .topbar_item {
    height: calc(100% - 20px);
  }
}

.logo {
  height: var(--barHeight);
  max-height: calc(var(--barHeight) - 4px);
  min-height: calc(var(--barHeightMin) - 4px);
  width: auto;
}

.effectShine {
  -webkit-mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,.2) 50%,#000 75%);
  mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,.2) 50%,#000 75%);
  -webkit-mask-size: 800%;
  mask-size: 800%;
  -webkit-mask-position: 0;
  mask-position: 0;
}

.effectShine:hover {
  transition: mask-position 2s ease,-webkit-mask-position 2s ease;
  -webkit-mask-position: 120%;
  mask-position: 120%;
  opacity: 1;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-none {
  cursor: none;
}

.pos-rel {
  position: relative;
}

.force-rounded-right {
  border-bottom-right-radius: 6px!important;
  border-top-right-radius: 6px!important;
}

.force-rounded-left {
  border-bottom-left-radius: 6px!important;
  border-top-left-radius: 6px!important;
}

/* ######################################################################### */
/* ################################################# Horizontal Links Bar ## */
/* ######################################################################### */

#layout_hor_menu {
  background-color: #fff;
}

.layout_hor_menu_inner {
  width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

@media (max-width: 950px) {
  #layout_hor_menu {
    height: 0px;
    display: none;
  }  
}

.hor_link_entry {
  cursor: pointer;
  display: inline-block;
  height: 40px;
  margin-right: 10px;
}

.hor_link_entry_content {
  display: flex;
  height: 100%;
  justify-content: center;
  align-content: center;
  align-items: center;
  padding: 0px 10px;

  font-weight: 800;
  font-style: normal;
  font-size: 1em !important;
  color: #272727;
}

.hor_link_entry img {
  max-width: 30px;
  max-height: 30px;
  padding: 0;
  margin: 0;
  margin-right: 4px;
  vertical-align: middle;
  filter: brightness(0);
}

.hor_link_entry_content:hover {
  background-color: var(--sygpurple);
  color: #fff;
}

.hor_link_entry_content:hover img {
  filter: brightness(10);
}

/* ######################################################################### */
/* ####################################################### BreadCrumb Bar ## */
/* ######################################################################### */
.breadCrumbBar {
  width:100%;  
  background: #FFF;
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(255, 255, 255, 1) 100%);
  color:#fff;

  font-size: 18px;
  font-weight: 600;
  height: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
  border-radius: 18px;
  padding-left: 20px;
  user-select: none;
}

.breadCrumbHomeIcon {
  color: #fff;
}

/* ######################################################################### */
/* ############################################################ MQ: 500px ## */
/* ######################################################################### */
@media (max-width: 500px) {
  
  .topbar_item {
    border: 0px solid var(--sygpurple);
    padding: 8px 9px;
    margin-left: 6px;
    font-size: 14px;
    height: calc(100% - 12px);   
  }
}
