﻿.ofMain_header {
  font-size: 16px;
  font-weight: 400;
  color: white;
  height: 60px;
  background-color: var(--of-primary500);
  z-index: 17001;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

  .ofMain_header .ofActions ol {
    margin: 0px;
    padding: 0;
    height: 100%;
  }

  .ofMain_header .ofActions .sub_m_box ol {
    margin: 2px 0px 2px 0px;
  }

  .ofMain_header .app_title.ofMain_longtitle {
    font-size: 14px;
  }

  .ofMain_header > div:first-child {
    display: flex;
    flex-flow: row;
    align-items: center;
  }

  .ofMain_header .hamburger {
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
  }

  .ofMain_header svg {
    width: 28px;
    height: 28px;
    min-height: 28px;
    min-width: 28px;
    fill: var(--of-white500);
    margin: auto;
  }

  .ofMain_header .app_title {
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0;
    font-style: normal;
    font-weight: normal;
    padding: 0 10px;
    border-radius: 1px;
    min-width: 70px; /*menu = 200px, minus icon (40 + 10 margin) and field padding (20) and border width (2)*/
    max-width: 250px;
    height: 40px;
    text-align: left;
    align-items: center;
    justify-content: center;
    /*line-height: 100%;*/
    margin-left: 10px;
  }

    .ofMain_header .app_title span:first-child {
      overflow:hidden;
    }

    .ofMain_header .app_title a {
      text-decoration: none;
      color: white;
    }


@media only screen and (min-width: 1000px) {
  .ofMain_header .app_title {
    max-width: 400px;
  }
}

.app_title .app_title_icon, .ofLogoContainer .app_title_icon {
  width: 16px;
  height: 12px;
  margin: 1px 0 0 15px;
}

.app_title.ofActive .app_title_icon svg, .app_title:not(.ofActive) .app_title_icon.menuopen svg {
  transform: none;
}

.app_title .app_title_icon svg {
  width: 16px;
  height: 12px;
  min-width: 16px;
  min-height: 12px;
  margin: 0;
  padding: 0;
  stroke-width: 14;
  transform: rotate(180deg);
}

.ofHeaderMenuIcon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
}

.ofMain_header .ofAction.ofActive {
  background-color: var(--of-primary300);
}

.ofMain_header .ofAction:active {
  background-color: var(--of-primary300);
}

.ofMain_header .ofAction:hover {
  background-color: var(--of-primary400);
}

  .ofMain_header .ofAction .ofLink{
    height: 100%;
    display: flex;
  }

    .ofMain_header .ofAction .ofLink > span {
      margin: auto 0px;
    }

.ofMain_header .ofLogoContainer.ofActive {
  background-color: var(--of-primary300);
}


  .ofMain_header .ofLogoContainer .ofIcon.ofHover, .ofMain_header .ofLogoContainer .ofIcon:hover, .ofMain_header .ofLogoContainer .ofIcon svg:hover {
    border: 1px solid transparent;
  }

  .ofMain_header .ofLogoContainer .ofIcon.ofActive, .ofMain_header .ofLogoContainer .ofIcon:active, .ofMain_header .ofLogoContainer .ofIcon svg:active {
    border: 1px solid transparent;
  }

@media only screen and (min-width: 600px) {
  .ofMain_header .app_title {
    display: flex !important;
  }

  .ofMain_header .ofLogoContainer .ofLogoMenu {
    display: none;
  }

  .ofMain_header .ofLogoContainer .app_title_icon{
    display: none;
  }
}

.ofLogo {
  max-height: 40px;
  height: 100%;
  margin: 6px 5px 2px 5px;
}

@media only screen and (max-width: 599px) {
  .ofLogo {
    border-radius: 3px;
    max-height: 30px;
    height: 30px;
    margin-left: 10px;
    /*margin-right: 10px;*/
  }

  .ofMain_header #headerPageTitle {
    font-size: 16px;
  }

  .ofMain_header .ofLogoContainer .app_title_icon {
    width: 16px;
    height: 12px;
    /*margin: 10px 0px 10px 0px;*/
    display: flex;
    height: 100%;
    padding-right: 5px;
  }

    .ofMain_header .ofLogoContainer .app_title_icon svg {
      width: 16px;
      height: 12px;
      min-width: 16px;
      min-height: 12px;
      stroke-width: 8px;
      margin: auto;
    }

  .ofMain_header .ofLogoContainer:not(.ofActive) .app_title_icon:not(.ofActive) .ofLogoMenu {
    transform: rotate(180deg);
  }

  .ofMain_header {
    font-size: 14px;
    font-weight: 400;
    color: white;
    height: 56px;
    background-color: var(--of-primary500);
    z-index: 17001;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .ofActive .sub_m_box {
    visibility: visible;
    z-index: 17002 !important;
    margin-top: 12px;
  }

  /* For recent apps*/
  .ofActive.ofRecentApps.sub_m_box:not(.ofHide_sm) {
    visibility: visible;
    z-index: 17002 !important;
    right: 0px;
  }

  .ofLogoContainer {
    display: inline-flex;
    border-radius: 1px;
    height: 40px;
  }

    .ofLogoContainer.ofBorderless {
      border: 0px solid #2970b8;
    }
}

.ofMain_header .page_title {
  font-size: 22px;
  margin-left: 20px;
  overflow: hidden;
  line-height: 24px;
  letter-spacing: 0px;
  font-style: normal;
  font-weight: 300;
}

.ofMain_header .ofActions {
  text-align: right;
  margin-left: auto;
  height: 100%;
}

  .ofMain_header .ofActions > ol {
    display: flex;
  }

    .ofMain_header .ofActions > ol > li {
      display: inline-block;
      padding: 0px 5px;
    }


@media only screen and (min-width: 450px) {

  .ofMain_footer {
    font-size: 8px;
    padding-top: 5px;
    height: 1.6em;
    overflow: hidden;
    flex-shrink: 0;
  }

    .ofMain_footer .machine_span {
      display: block;
      float: left;
    }

    .ofMain_footer .mach, .ofMain_footer .copy, .ofMain_footer .term {
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      float: left;
      white-space: pre-line;
      word-wrap: break-word;
      padding-right: 3px;
      line-height: 90%;
    }

    .ofMain_footer .mach {
      left: 3px;
      width: 30%;
    }

    .ofMain_footer .copy {
      width: 40%;
    }

    .ofMain_footer .term {
      width: 10%;
      text-align: center;
    }

    .ofMain_footer .version {
      text-align: right;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      float: left;
      padding-right: 3px;
      display: inline-block;
      width: 20%;
      line-height: 80%;
    }
}



/*About Dialog*/
#aboutWin {
  display: none;
  position: fixed;
  z-index: 2147483647;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4);
}

  #aboutWin .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 450px;
    font-size: 14px;
    box-shadow: 0px 0px 10px 2px #555555;
  }

  #aboutWin .modal-header {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    background-color: #818181;
    color: white;
    height: 30px;
  }

    #aboutWin .modal-header > div {
      display: flex;
      align-items: center;
      padding-right: 5px;
    }

  #aboutWin .close {
    width: 22px;
    height: 22px;
    cursor: pointer;
    overflow: hidden;
    fill: var(--of-white500);
/*    stroke-width: 10;
    stroke-linejoin: round;
    stroke-linecap: round;*/
  }

  #aboutWin .modal-body {
    padding: 10px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #555555;
  }

  #aboutWin .subscriptionList {
    display: block;
    border: 2px solid;
    height: 244px;
    border-radius: 3px;
    overflow-y: auto;
    overflow-x: hidden;
  }

@media only screen and (min-width: 450px) {
  #aboutWin #subscriptions {
    min-width: 400px;
  }

  #aboutWin .rightLink {
    text-align: right;
  }
}

@media only screen and (max-width: 450px) {
  #aboutWin #subscriptions {
    min-width: 240px;
  }

  #aboutWin .rightLink {
    text-align: left;
  }

  #aboutWin .title {
    text-align: center;
  }
}

#aboutWin .full {
  width: 100%;
}

#subscriptions svg {
  width: 22px;
  height: 22px;
  overflow: hidden;
  fill: var(--of-grey900);
/*  stroke-width: 10;
  stroke-linejoin: round;
  stroke-linecap: round;*/
  vertical-align: middle;
}

#subscriptions .indenter a[title="Expand"] svg {
  transform: rotate(90deg);
}

span.ofLanguageSelected{
  margin-left:2px;
}
#subscriptions .indenter a[title="Collapse"] svg {
  transform: rotate(-90deg);
}
/*end of About Dialog*/
.sub_m_box {
  position: absolute;
  top: -999px;
  z-index: 2200;
  visibility: hidden;
  text-align: left;
  background: var(--of-white500);
  -moz-box-shadow: -1px 3px 5px -1px var(--of-grey400);
  -webkit-box-shadow: -1px 3px 5px -1px var(--of-grey400);
  box-shadow: -1px 3px 5px -1px var(--of-grey400);
  min-width: 180px;
  right: 0px;
  border-top: none;
}


.ofAction_profile .sub_m_box {
  top: 68px;
  width: 230px;
  right: 0px;
}

.ofAction_profile .sub_m_box .sub_m_inner_box .sub_m_li a {
    width: 210px;
}

@media only screen and (min-width: 600px) {
    .ofActive .sub_m_box {
    visibility: visible;
    z-index: 17002 !important;
    margin-top: 12px;
    animation-name: perspectiveDown;
    animation-duration: 0.5s;
  }

  /* For Recent Apps */
  .ofActive.ofRecentApps.sub_m_box.ofHide_sm {
    visibility: visible;
    z-index: 17002 !important;
    animation-name: perspectiveDown;
    animation-duration: 0.5s;
    right: 110px;
  }
}

@keyframes perspectiveDown {
  0% {
    transform-origin: 0 0;
    transform: perspective(800px) rotateX(-90deg);
  }

  100% {
    transform-origin: 0 0;
    transform: perspective(800px) rotateX(0deg);
  }
}

.top_m_arr {
  position: relative;
  top: -1px;
  border-style: solid dashed dashed;
  border-color: transparent;
  border-top-color: #c0c0c0;
  display: -moz-inline-box;
  display: inline-block;
  font-size: 0;
  height: 0;
  line-height: 0;
  width: 0;
  border-width: 3px 3px 0;
  padding-top: 1px;
  left: 4px;
}

.sub_m_inner_box, .sub_m_ol {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sub_m_inner_box {
  background: #fff;
  position: relative;
  z-index: 2200;
  zoom: 1;
}

@media only screen and (max-width: 599px) {
  .ofMain_header .ofHamburger:hover {
    background-color: rgba(255,255,255,0.16);
    border-radius: 2px;
  }

  .ofMain_header .ofHamburger.ofActive {
    background-color: rgba(255,255,255,0.24);
    border-radius: 2px;
  }

  .ofMain_header .ofHamburger {
    margin-right: 15px;
    margin-left: 15px;
    height: 34px;
    width: 34px;
    display: flex;
  }

    .ofMain_header .ofHamburger > svg {
      width: 24px !important;
      height: 20px !important;
      min-width: 24px;
      min-height: 20px;
      stroke-width: 8px;
      margin: auto;
    }
}

/*override hover settings for app title icon hover*/
.ofMain_header div.app_title svg:hover, .ofMain_header div.ofLogoContainer svg:hover, .ofMain_header div.app_title svg:active, .ofMain_header div.ofLogoContainer svg:active {
  background-color: transparent;
  fill: var(--of-white500);
}

.ofMain_header div.app_title svg:hover, .ofMain_header div.app_title svg:active {
  border: 1px solid transparent;
}

.ofMain_header div.ofLogoContainer svg:hover, .ofMain_header div.ofLogoContainer svg:active {
  border: none;
}

.ofActive .top_m_sp {
  border-color: #bebebe;
  color: #555555;
  padding-bottom: 1px;
  padding-top: 2px;
}

.sub_m_link:hover, .top_m_link:hover {
  background-color: var(--of-grey200);
  background-repeat: repeat-x;
  outline: none;
  text-decoration: none;
}

.sub_m_link:focus, .top_m_link:focus {
  background-color: var(--of-grey100) !important;
  background-repeat: repeat-x;
  outline: none;
  color: var(--of-secondary500) !important;
}

.s2m_box, .s3m_box {
  visibility: hidden;
  display: none;
  text-align: left;
  background: #fff;
  -moz-box-shadow: -1px 1px 1px #ccc;
  -webkit-box-shadow: 0 1px 5px #ccc;
  box-shadow: 0 1px 5px #ccc;
}

.sub_sub_m_inner_box {
  background: #fff;
  padding: 10px 0;
  zoom: 1;
}

.sub_sub_m_ol {
  margin-left: -18px;
}

.sub_sub_m_li {
  list-style: none;
}

.s2m_show .s2m_box, .s3m_show .s3m_box {
  visibility: visible;
  display: block;
}

.s2m_arrow, .s3m_arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  margin-right: 2px;
  margin-left: 0px;
}

.s2m_indicator .s2m_arrow, .s3m_indicator .s3m_arrow {
  background-image: url("../../images/sprite.png");
  background-position: -48px -176px;
}

.s2m_show .s2m_arrow, .s3m_show .s3m_arrow {
  background-position: -48px -160px !important;
}

/* Scrollbar styles */
.ofRecentApps .sub_m_inner_box::-webkit-scrollbar {
  width: 5px;
}

.ofRecentApps .sub_m_inner_box::-webkit-scrollbar-track {
  background: var(--of-white500);
}

.ofRecentApps .sub_m_inner_box::-webkit-scrollbar-thumb {
  background: var(--of-grey300);
}

.ofRecentApps .sub_m_inner_box::-webkit-scrollbar-thumb:hover {
  background: var(--of-grey400);
}

.ofRecentApps {
  width: 230px !important;
}

.ofRecentApps .sub_m_li a {
  align-items: center;
  width: 205px;
  padding: 5px 10px;
  display: flex;
  line-height: 15px;
}

.ofRecentApps .sub_m_li {
  line-height: 30px;
  margin: 2px 0px;
}

.ofRecentApps .sub_m_li {
  flex-direction: row;
}

  .ofRecentApps .sub_m_li .sub_m_link {
    display: flex;
    line-height: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

.sub_m_link {
  color: var(--of-grey800);
  display: block;
  text-decoration: none !important;
  padding: 0 10px;
  cursor: pointer;
  font-size: 12px;
  position: relative;
  font-weight: 500;
}

a.sub_m_link:visited {
  color: var(--of-grey900);
}

.sub_m_li {
  padding: 0;
  margin: 0;
  line-height: 40px;
  font-size: 14px;
  min-height: 40px;
  display: inline-flex;
  flex-direction: column;
}

  .sub_m_li a {
    align-items: center;
    width: 166px;
  }

  .sub_m_li a img {
    width: 30px;
    height: 30px;
    padding-right: 10px;
    vertical-align: middle;
  }

  .sub_m_li span {
    /*display: block;*/
    text-decoration: none !important;
    /*padding: 0 8px;*/
    min-width: 150px;
  }

  .sub_m_li .sub_m_li span {
    /*display: block;*/
    text-decoration: none !important;
    padding: 0 8px;
    min-width: 150px;
  }

.sub_m_link.ofSelectedLanguageLink {
  padding-left: 0;
}

.sub_m_sep {
  border-top: 1px solid #e5e5e5;
  font-size: 0;
  margin: 6px 0;
}

.std_m_apps {
  font-weight: bold !important;
  padding: 0 10px !important;
}

.brightfontcolor {
  color: White;
}

.ofHide { /* .ofHide*/
  visibility: hidden;
  width: 0px;
  height: 0px;
}

/*
.ofMain_header svg.hamburger {
  margin-top: 1px;
}
*/
.ofMain_header .ofActive ol.sub_m_ol li.has-sub:not(.open) > a > .holder {
  width: 0;
  height: 0;
  position: absolute;
  top: -9px;
  right: 0px;
  visibility: visible;
}

.ofMain_header .ofActive ol.sub_m_ol li.open > a > .holder {
  width: 0;
  height: 0;
  position: absolute;
  top: -4px;
  right: 0px;
  visibility: visible;
}

li.open > a.sub_m_link {
  background-color: rgba(0,170,255,0.15);
}

.sub_m_li.ofMenuHead span {
  color: var(--of-primary500);
  padding: 0 10px;
  font-size: 18px;
  font-weight: 300;
}

.sub_m_li.ofMenuHead {
  margin-top: 4px;
}


.ofMain_header .ofAction_alert .ofHeaderMenuIcon .ofIcon_overlay {
  transform: scale(0.4) translate(1000px, 800px)
}

.ofMain_header .ofAction_alert .ofHeaderMenuIcon .ofIcon_overlay g {
  fill: transparent;
}
  .ofMain_header .ofAction_alert .ofHeaderMenuIcon.ofHasAlerts .ofIcon_overlay g {
    fill: var(--of-gold400);
  }