/* -- PORTAL-ORGANOGRAMA - ESTILO AVANCADO*/
.portlet-organograma {
  min-height: 1000px; }

.portal-organograma {
  width: 100%;
  height: auto;
  position: absolute; }
  .portal-organograma a, .portal-organograma button {
    outline: none;
    text-decoration: none !important; }
  .portal-organograma .fancybox-close {
    background-image: url("../images/common/close.png") no-repeat center center !important; }
  .portal-organograma .modulo {
    height: 100%;
    width: 100%; }
    .portal-organograma .modulo button {
      width: 30px;
      height: 30px;
      line-height: 22px;
      border-radius: 100%;
      background: #2888d6;
      color: #fff;
      text-align: center;
      font-size: 20px;
      position: absolute;
      border: 3px solid #fff;
      box-shadow: 0 0 5px #ccc;
      cursor: s-resize;
      z-index: 9;
      top: 580px; }
      .portal-organograma .modulo button.btn-1 {
        left: calc(50% - 422px); }
      .portal-organograma .modulo button.btn-2 {
        left: calc(50% - 220px); }
      .portal-organograma .modulo button.btn-3 {
        left: calc(50% - 15px); }
      .portal-organograma .modulo button.btn-4 {
        left: calc(50% + 190px); }
      .portal-organograma .modulo button.btn-5 {
        left: calc(50% + 393px); }
  .portal-organograma .fancybox {
    box-shadow: 0 0 15px #e5e5e5;
    padding: 10px 20px;
    position: absolute;
    left: 50%;
    top: 150px;
    width: 120px;
    margin-left: -80px;
    text-align: center;
    color: #999;
    text-decoration: none;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-weight: normal;
    z-index: 9; }
    .portal-organograma .fancybox:hover {
      background: #2888d6;
      color: #fff; }
    .portal-organograma .fancybox span {
      display: none;
      position: absolute;
      box-shadow: 0 2px 2px #ccc;
      z-index: 999;
      top: -30px;
      width: 200px;
      height: auto;
      line-height: 12px;
      max-height: 50px;
      background: #fff;
      border: 1px solid #2888d6;
      border-style: double;
      color: #88aece;
      font-size: 12px;
      left: calc(50% - 3px);
      margin-left: -105px;
      border-radius: 3px;
      padding: 5px; }
      .portal-organograma .fancybox span:after {
        content: '';
        width: 0px;
        height: 0px;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 5px solid #2888d6;
        position: absolute;
        bottom: -5px;
        left: 50%;
        margin-left: -15px;
        z-index: 99; }
    .portal-organograma .fancybox .bullet-l,
    .portal-organograma .fancybox .bullet-b,
    .portal-organograma .fancybox .bullet-r,
    .portal-organograma .fancybox .bullet-t {
      background: #f9f9f9;
      border: 1px solid #999;
      display: block;
      width: 15px;
      height: 15px;
      position: absolute;
      border-radius: 100%; }
    .portal-organograma .fancybox .bullet-l,
    .portal-organograma .fancybox .bullet-r {
      top: calc(50% - 7.5px); }
    .portal-organograma .fancybox .bullet-b,
    .portal-organograma .fancybox .bullet-t {
      left: calc(50% - 10px); }
    .portal-organograma .fancybox .bullet-l {
      left: -8px; }
    .portal-organograma .fancybox .bullet-r {
      right: -8px; }
    .portal-organograma .fancybox .bullet-b {
      top: calc(100% - 9px); }
    .portal-organograma .fancybox .bullet-t {
      top: -8px; }

.org-modal {
  display: none; }
  .org-modal .org-modal-header {
    border: 1px solid #2888d6;
    text-align: center;
    padding: 10px;
    background: #2888d6; }
    .org-modal .org-modal-header h1 {
      text-transform: uppercase;
      font-size: 22px;
      color: #fff;
      line-height: 0 !important; }
  .org-modal .org-modal-body {
    padding: 10px;
    background: #f9f9f9; }
    .org-modal .org-modal-body h2 {
      text-align: center;
      padding-bottom: 8px !important;
      font-size: 16px;
      line-height: 0 !important; }
    .org-modal .org-modal-body .org-modal-info {
      padding: 20px;
      border: 1px solid #cccccc;
      border-radius: 8px;
      text-align: center;
      background: #fff; }
      .org-modal .org-modal-body .org-modal-info p {
        font-size: 14px; }
      .org-modal .org-modal-body .org-modal-info .img-container {
        position: relative;
        width: 120px;
        height: 120px !important;
        overflow: hidden;
        border: 3px solid #cccccc;
        margin: 20px auto 10px auto;
        border-radius: 100%; }
        .org-modal .org-modal-body .org-modal-info .img-container img {
          width: 100%;
          height: auto; }
      .org-modal .org-modal-body .org-modal-info .user-info p:first-child {
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 10px; }
        .org-modal .org-modal-body .org-modal-info .user-info p:first-child span {
          display: block;
          font-weight: normal;
          font-size: 12px; }
      .org-modal .org-modal-body .org-modal-info .user-info a {
        display: block;
        font-weight: normal;
        font-size: 12px;
        color: #1276CA;
        text-decoration: none; }
      .org-modal .org-modal-body .org-modal-info .aniversario {
        position: relative;
        margin-bottom: 10px; }
        .org-modal .org-modal-body .org-modal-info .aniversario span {
          position: absolute;
          z-index: 999;
          display: block;
          width: 30px;
          left: 50%;
          height: 30px;
          border-radius: 100%;
          background: #1276ca url("/anvisa-portal-internet-theme/images/portal-organograma/icon-bolo.png") no-repeat;
          background-position-y: -1px;
          top: -33px;
          margin-left: -15px; }

/* -- FANCYBOX -- */
.fancybox-wrap {
  border: 1px solid #cccccc;
  width: 100%;
  max-height: 500px;
  max-width: 350px;
  padding: 0;
  background: #fff;
  border-radius: 8px; }

.fancybox-inner {
  width: 100%;
  max-height: 500px;
  max-width: 350px;
  padding: 0;
  background: #fff;
  border-radius: 8px; }

.fancybox-skin {
  box-shadow: 0 0 20px #e5e5e5 !important;
  border-radius: 8px; }

.fancybox-close {
  background: white url("/anvisa-portal-internet-theme/images/portal-organograma/close.png") no-repeat center center;
  box-shadow: -2px 3px 10px #0f3656 !important;
  border-radius: 100%;
  border: 1px solid #cccccc; }

/* ===============================
portal-organograma MODULOS
================================*/
.org-tree img {
  position: absolute;
  z-index: 9;
  opacity: .7; }
  .org-tree img.t-r {
    top: 89px;
    left: calc(50% + 81px); }
  .org-tree img.h-line {
    top: 169px;
    left: calc(50% - 141px); }
  .org-tree img.l2 {
    top: 212px;
    left: calc(50% - 38px); }
  .org-tree img.t-l {
    top: 231px;
    left: calc(50% - 270px); }
  .org-tree img.l3 {
    top: 393px;
    left: calc(50% - 409px); }

/* -- LINHA-1-NIVEL-1-BASE -- */
.linha-1.nivel-1.base {
  left: 50%;
  top: 130px;
  padding: 27px 20px;
  background: #2888d6;
  color: #fff;
  font-size: 22px; }
  .linha-1.nivel-1.base span {
    display: block; }

/* -- LINHA-1-NIVEL-2-ESQUERDA -- */
.linha-1.nivel-2.a-esquerda {
  left: calc(50% - 230px); }

/* -- LINHA-1-NIVEL-2-DIREITA -- */
.linha-1.nivel-2.a-direita {
  left: calc(50% + 224px); }
  .linha-1.nivel-2.a-direita.loc-1 {
    left: calc(50% + 224px);
    top: 69px; }
  .linha-1.nivel-2.a-direita.loc-2 {
    left: calc(50% + 224px);
    top: 123px; }
  .linha-1.nivel-2.a-direita.loc-3 {
    left: calc(50% + 224px);
    top: 177px; }
  .linha-1.nivel-2.a-direita.loc-4 {
    left: calc(50% + 224px);
    top: 230px; }

/* -- LINHA-2-NIVEL-2-ESQUERDA -- */
.linha-2.nivel-2.a-esquerda {
  left: calc(50% - 127px);
  top: 292px; }

/* -- LINHA-2-NIVEL-3-ESQUERDA -- */
.linha-2.nivel-3.a-esquerda {
  left: calc(50% - 358px); }
  .linha-2.nivel-3.a-esquerda.loc-1 {
    top: 211px; }
  .linha-2.nivel-3.a-esquerda.loc-2 {
    top: 266px; }
  .linha-2.nivel-3.a-esquerda.loc-3 {
    top: 320px; }
  .linha-2.nivel-3.a-esquerda.loc-4 {
    top: 374px; }

/* -- LINHA-3-NIVEL-2 -- */
.linha-3.nivel-2 {
  top: 551px !important; }
  .linha-3.nivel-2.loc-1 {
    left: calc(50% - 406px); }
  .linha-3.nivel-2.loc-2 {
    left: calc(50% - 204px); }
  .linha-3.nivel-2.loc-3 {
    left: 50%; }
  .linha-3.nivel-2.loc-4 {
    left: calc(50% + 204px); }
  .linha-3.nivel-2.loc-5 {
    left: calc(50% + 406px); }

/* -- LINHA-3-NIVEL-3 COL-1 -- */
.linha-3.nivel-3 {
  top: 750px !important; }
  .linha-3.nivel-3.loc-1 {
    left: calc(50% - 406px); }

/* -- LINHA-4 -- */
.L4-L-long, .L4-L, .V-LINE, .L4-R, .L4-R-long {
  position: absolute;
  display: none;
  top: 610px; }
  .L4-L-long.L4-L-long, .L4-L.L4-L-long, .V-LINE.L4-L-long, .L4-R.L4-L-long, .L4-R-long.L4-L-long {
    left: calc(50% - 409px); }
    .L4-L-long.L4-L-long img, .L4-L.L4-L-long img, .V-LINE.L4-L-long img, .L4-R.L4-L-long img, .L4-R-long.L4-L-long img {
      width: 411px; }
  .L4-L-long.L4-L, .L4-L.L4-L, .V-LINE.L4-L, .L4-R.L4-L, .L4-R-long.L4-L {
    left: calc(50% - 208px); }
    .L4-L-long.L4-L img, .L4-L.L4-L img, .V-LINE.L4-L img, .L4-R.L4-L img, .L4-R-long.L4-L img {
      width: 209px; }
  .L4-L-long.V-LINE, .L4-L.V-LINE, .V-LINE.V-LINE, .L4-R.V-LINE, .L4-R-long.V-LINE {
    left: calc(50% - 3px); }
    .L4-L-long.V-LINE img, .L4-L.V-LINE img, .V-LINE.V-LINE img, .L4-R.V-LINE img, .L4-R-long.V-LINE img {
      opacity: .7; }
  .L4-L-long.L4-R, .L4-L.L4-R, .V-LINE.L4-R, .L4-R.L4-R, .L4-R-long.L4-R {
    left: calc(50% - 2px); }
    .L4-L-long.L4-R img, .L4-L.L4-R img, .V-LINE.L4-R img, .L4-R.L4-R img, .L4-R-long.L4-R img {
      width: 209px; }
  .L4-L-long.L4-R-long, .L4-L.L4-R-long, .V-LINE.L4-R-long, .L4-R.L4-R-long, .L4-R-long.L4-R-long {
    left: calc(50% - 2px); }
    .L4-L-long.L4-R-long img, .L4-L.L4-R-long img, .V-LINE.L4-R-long img, .L4-R.L4-R-long img, .L4-R-long.L4-R-long img {
      width: 411px; }
  .L4-L-long.visivel, .L4-L.visivel, .V-LINE.visivel, .L4-R.visivel, .L4-R-long.visivel {
    opacity: .7;
    display: block; }

.linha-3.nivel-3 {
  display: none;
  margin-top: 10px !important;
  position: relative !important;
  float: left !important;
  width: calc(15% - 42px) !important;
  left: 0 !important; }
  .linha-3.nivel-3 .bullet-r {
    border-radius: 0 0 50px 0 !important;
    border-left: 0 !important;
    border-top: 0 !important;
    background: #fff !important;
    right: -11px !important; }
  .linha-3.nivel-3 .bullet-l {
    border-radius: 0 0 0 50px !important;
    border-top: 0 !important;
    border-right: 0 !important;
    background: #fff !important;
    left: -10px !important; }
  .linha-3.nivel-3:hover .bullet-l, .linha-3.nivel-3:hover .bullet-r {
    background: transparent !important;
    border-color: #2888d6 !important; }

/*header-organograma*/
.header-organograma {
  padding-bottom: 20px;
  border-bottom: 1px  solid #CCC;
  overflow: hidden; }
  .header-organograma p:first-child {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px; }
  .header-organograma .modulo {
    float: left;
    width: calc(33.3% - 100px);
    padding: 0 50px; }
    .header-organograma .modulo img {
      float: left;
      margin-right: 10px; }
    .header-organograma .modulo p {
      font-size: 10px;
      margin-top: 10px;
      line-height: 14px; }

