/**
*  ------------------------------------------------------------------------------------------------
*
*
*   GERAIS
*
*
*  ------------------------------------------------------------------------------------------------
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700&display=swap');

.form-control-afiliados{
   height: 40px;
    margin-top: 5px;
    margin-bottom: 20px;
    max-width: 100%;
    width: 300px;
    display: block;
}
/**
*  ------------------------------------------------------------------------------------------------
*
*
*   ÁREA DO PRODUTO
*
*
*  ------------------------------------------------------------------------------------------------
*/
.area-field-plugin-afiliados-produto{
	margin-bottom: 25px;
}

.area-field-plugin-afiliados-produto h3{

}

.area-field-plugin-afiliados-produto input{

}

/**
*  ------------------------------------------------------------------------------------------------
*
*
*   CHECKOUT
*
*
*  ------------------------------------------------------------------------------------------------
*/

.sessao_identificador_afiliados{
	position: relative;
	display: block;
	padding-top: 30px;
	padding-bottom: 42px;
}

.sessao_identificador_afiliados h3.titulo-identificador-afiliados{

}

/**
*  ------------------------------------------------------------------------------------------------
*
*
*   AREA DO VENDEDOR
*
*
*  ------------------------------------------------------------------------------------------------
*/
.area-vendedores-endpoint{

}

.area-vendedores-endpoint h3.titulo-secundario-relatorio{
  font-weight: bold;
  font-size: 26px;
} 

.area-vendedores-endpoint h3.titulo-secundario-relatorio small{
	display: block;
    font-weight: normal;
    opacity: 0.6;
    font-size: 15px;
    margin-top: -6px;
    margin-bottom: 32px;
}

.area-vendedores-endpoint .caixa-status{
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

.area-vendedores-endpoint .caixa-status .status{
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 5px;
    padding-right: 5px;
}

.area-vendedores-endpoint .caixa-status .status h1{
   color: #fff;
   font-weight: bold;
}

.area-vendedores-endpoint .caixa-status .status p{
   line-height: 19px;
    margin-top: -18px;
    font-size: 14px;
    height: 33px;
}

.area-vendedores-endpoint .caixa-status .status .caixa-status-detalhe{
   position: relative;
   display: block;
   color: #fff;
   background: #eee;
   border-radius: 20px;
   padding: 20px;
   margin-bottom: 25px;
}

.caixa-status-detalhe-cor-1{
  background: #327ded !important;
}
.caixa-status-detalhe-cor-2{
	background: #3cb361 !important;
}
.caixa-status-detalhe-cor-3{
	background: #cbbc11 !important;
}
.caixa-status-detalhe-cor-4{
	background: #d56167 !important;
}


.area-vendedores-endpoint .caixa-saldo-row{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}


.area-vendedores-endpoint .caixa-saldo{
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 20px;
}


.area-vendedores-endpoint .caixa-saldo .saldo{
  position: relative;
  display: block;
  width: 98%;
  background: #f2f2f2;
  border-radius: 20px;
  padding: 20px;
}

.area-vendedores-endpoint .caixa-saldo .saldo h1{
   font-weight: bold;
   margin-bottom: 0px;
}

.area-vendedores-endpoint .caixa-saldo .saldo  p{

}

@media(max-width: 540px){
  .area-vendedores-endpoint .caixa-status .status,
  .area-vendedores-endpoint .caixa-saldo .saldo{
  	-ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}






.retorno-gerador-de-links-afiliados-qrcode{
  background: #f0f0f0;
}

.retorno-gerador-de-links-afiliados-qrcode canvas{
  width: 256px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top:20px;
}


/* Barra de Progresso Afiliados */
.barra-de-progresso-afif-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.barra-de-progresso-afif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.barra-de-progresso-afif-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.barra-de-progresso-afif-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.barra-de-progresso-afif-criterio {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.barra-de-progresso-afif-dias {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.barra-de-progresso-afif-wrapper {
    margin: 15px 0;
}

.barra-de-progresso-afif-bar {
    width: 100%;
    height: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e0e0e0;
}

.barra-de-progresso-afif-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #66bb6a);
    border-radius: 10px;
    transition: width 0.8s ease-in-out;
    position: relative;
}

.barra-de-progresso-afif-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    animation: barra-de-progresso-afif-shine 2s infinite;
}

@keyframes barra-de-progresso-afif-shine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.barra-de-progresso-afif-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.barra-de-progresso-afif-atual {
    color: #4caf50;
}

.barra-de-progresso-afif-separador {
    margin: 0 8px;
    color: #999;
}

.barra-de-progresso-afif-meta {
    color: #666;
}

.barra-de-progresso-afif-reward {
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #ff9800;
}

.barra-de-progresso-afif-reward span {
    color: #666;
    font-size: 14px;
}

.barra-de-progresso-afif-reward strong {
    color: #ff9800;
    font-weight: 700;
}

.barra-de-progresso-afif-faltam {
    text-align: center;
    margin: 10px 0;
    padding: 8px;
    background: #fff3e0;
    border-radius: 6px;
    border: 1px solid #ffcc02;
}

.barra-de-progresso-afif-faltam span {
    color: #e65100;
    font-size: 14px;
}

.barra-de-progresso-afif-faltam strong {
    color: #ff6f00;
    font-weight: 700;
}

.barra-de-progresso-afif-sucesso {
    text-align: center;
    margin: 10px 0;
    padding: 12px;
    background: #e8f5e8;
    border-radius: 6px;
    border: 1px solid #4caf50;
}

.barra-de-progresso-afif-sucesso span {
    color: #2e7d32;
    font-size: 16px;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 768px) {
    .barra-de-progresso-afif-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .barra-de-progresso-afif-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .barra-de-progresso-afif-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .barra-de-progresso-afif-header h4 {
        font-size: 16px;
    }
    
    .barra-de-progresso-afif-numbers {
        font-size: 14px;
    }
}

/* Estado de carregamento */
.barra-de-progresso-afif-loading {
    opacity: 0.6;
    pointer-events: none;
}

.barra-de-progresso-afif-loading .barra-de-progresso-afif-fill {
    background: linear-gradient(90deg, #ccc, #ddd);
    animation: barra-de-progresso-afif-loading 1.5s infinite;
}

@keyframes barra-de-progresso-afif-loading {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}



/* SORTEIO */
/* CSS para Sorteador de Afiliados */
.sorteador-afiliados-meta-container {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Header */
.sorteador-afiliados-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.sorteador-afiliados-meta-header h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 700;
}

.sorteador-afiliados-meta-badge {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sorteador-afiliados-meta-badge-teste {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Info dos Participantes */
.sorteador-afiliados-meta-participantes h4 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.sorteador-afiliados-meta-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.sorteador-afiliados-meta-participante {
    background: white;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 4px solid #4caf50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.sorteador-afiliados-meta-participante:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sorteador-afiliados-meta-nome {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.sorteador-afiliados-meta-meta {
    font-size: 12px;
    color: #666;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Animação da Roleta */
.sorteador-afiliados-meta-animation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sorteador-afiliados-meta-roulette {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.sorteador-afiliados-meta-roleta-ativa {
    animation: sorteador-afiliados-meta-shake 0.5s infinite;
}

.sorteador-afiliados-meta-nome-animacao {
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    margin: 3px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
    animation: sorteador-afiliados-meta-scroll-up 3s linear infinite;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

@keyframes sorteador-afiliados-meta-scroll-up {
    0% { 
        transform: translateY(150px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        transform: translateY(-50px);
        opacity: 0;
    }
}

@keyframes sorteador-afiliados-meta-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Resultado */
.sorteador-afiliados-meta-result {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.sorteador-afiliados-meta-winner h4 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
}

.sorteador-afiliados-meta-vencedor-nome {
    font-size: 28px;
    font-weight: 800;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: sorteador-afiliados-meta-winner-glow 2s infinite alternate;
}

.sorteador-afiliados-meta-vencedor-detalhes {
    font-size: 16px;
    margin: 10px 0;
    opacity: 0.9;
    font-weight: 500;
}

.sorteador-afiliados-meta-vencedor-stats {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.8;
    font-style: italic;
}

@keyframes sorteador-afiliados-meta-winner-glow {
    0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
    100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.5); }
}

/* Botões */
.sorteador-afiliados-meta-actions {
    text-align: center;
    margin: 20px 0;
}

.sorteador-afiliados-meta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    margin: 0 10px;
    position: relative;
    overflow: hidden;
}

.sorteador-afiliados-meta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.sorteador-afiliados-meta-button:active {
    transform: translateY(0);
}

.sorteador-afiliados-meta-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sorteador-afiliados-meta-button-secondary {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.sorteador-afiliados-meta-button-secondary:hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
}

/* Loading */
.sorteador-afiliados-meta-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.sorteador-afiliados-meta-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: sorteador-afiliados-meta-spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes sorteador-afiliados-meta-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Confetti */
.sorteador-afiliados-meta-confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: sorteador-afiliados-meta-confetti-fall 3s linear infinite;
    pointer-events: none;
    z-index: 1000;
}

@keyframes sorteador-afiliados-meta-confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .sorteador-afiliados-meta-container {
        padding: 20px;
        margin: 15px 0;
    }
    
    .sorteador-afiliados-meta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .sorteador-afiliados-meta-header h3 {
        font-size: 20px;
    }
    
    .sorteador-afiliados-meta-lista {
        grid-template-columns: 1fr;
        max-height: 250px;
    }
    
    .sorteador-afiliados-meta-participante {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .sorteador-afiliados-meta-button {
        padding: 12px 24px;
        font-size: 14px;
        margin: 5px;
        width: 100%;
        max-width: 300px;
    }
    
    .sorteador-afiliados-meta-vencedor-nome {
        font-size: 24px;
    }
    
    .sorteador-afiliados-meta-animation,
    .sorteador-afiliados-meta-result {
        padding: 20px;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .sorteador-afiliados-meta-container {
        padding: 15px;
        margin: 10px 0;
    }
    
    .sorteador-afiliados-meta-header h3 {
        font-size: 18px;
    }
    
    .sorteador-afiliados-meta-vencedor-nome {
        font-size: 20px;
    }
    
    .sorteador-afiliados-meta-nome-animacao {
        font-size: 16px;
        padding: 6px 12px;
    }
}

/* Estados especiais */
.sorteador-afiliados-meta-container.loading {
    pointer-events: none;
    opacity: 0.7;
}

.sorteador-afiliados-meta-empty {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.sorteador-afiliados-meta-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
    text-align: center;
}

/* Animações adicionais */
@keyframes sorteador-afiliados-meta-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.sorteador-afiliados-meta-pulse {
    animation: sorteador-afiliados-meta-pulse 1.5s infinite;
}

/* Melhorias visuais */
.sorteador-afiliados-meta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: sorteador-afiliados-meta-gradient-move 3s ease infinite;
}

@keyframes sorteador-afiliados-meta-gradient-move {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Scrollbar customizada */
.sorteador-afiliados-meta-lista::-webkit-scrollbar {
    width: 6px;
}

.sorteador-afiliados-meta-lista::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.sorteador-afiliados-meta-lista::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sorteador-afiliados-meta-lista::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/**************************************************************************************************/

/*                                                                  88
                                                                    88
                                                                    88
 ,adPPYb,d8  ,adPPYba, 8b,dPPYba,   ,adPPYba, 8b,dPPYba, ,adPPYYba, 88
a8"    `Y88 a8P_____88 88P'   `"8a a8P_____88 88P'   "Y8 ""     `Y8 88
8b       88 8PP""""""" 88       88 8PP""""""" 88         ,adPPPPP88 88
"8a,   ,d88 "8b,   ,aa 88       88 "8b,   ,aa 88         88,    ,88 88
 `"YbbdP"Y8  `"Ybbd8"' 88       88  `"Ybbd8"' 88         `"8bbdP"Y8 88
 aa,    ,88
  "Y8bbd*/

  #tps-org-chart{
    background:#fff;
    padding:20px 20px 40px 20px;
    margin-bottom:2em;
  }

  #tps-org-chart a{
    text-decoration: none !important;
  }
  figure ul,
  figure ul li,
  figure ul li a{
    position:relative;
  }
  figure ul{
    padding: 0;
    margin: 0;
    list-style: none;   
  }
  figure ul li{
    padding:10px 0;
  }
  figure ul li a{
    display: block;
    border: 4px solid;
    text-align: center;
    color:#fff;
    font-weight:bold;
    font-size: .8em;
    height: 80px;
    overflow: hidden;
  }
  figure ul li a:hover{
    color:#fff;
    text-decoration:none;
  }
  figure ul li a > span{
    display:block;
    min-height:100%;
    padding-top:20px;
    overflow:hidden;
    transition:all ease .4s;
    text-shadow:rgba(0,0,0,0.5) 1px 1px 1px;
  }

  /*
  figure ul > li a:hover > span{
    background:#222;
  }
  */
  figure small{
    display:block;
    font-weight:normal;
  }
  
  
  /* 
  88                                   88
  88                                   88
  88                                   88
  88  ,adPPYba, 8b       d8  ,adPPYba, 88 ,adPPYba,
  88 a8P_____88 `8b     d8' a8P_____88 88 I8[    ""
  88 8PP"""""""  `8b   d8'  8PP""""""" 88  `"Y8ba,
  88 "8b,   ,aa   `8b,d8'   "8b,   ,aa 88 aa    ]8I
  88  `"Ybbd8"'     "8"      `"Ybbd8"' 88 `"YbbdP"'  */
  
  /* Level 1 
  -------------------------------------------------*/
  figure > ul > li > div > a{
    width:20%;
    margin:0 auto 15px auto;
  }
  figure > ul > li > div:after{
    content:"";
    width:calc(50%);
    height:25px;
    margin:0 auto;
    position:absolute;
    border-left:4px solid;
    top:90px;
    left:calc(50% - 2px);
    display:block;
    z-index:0;
  }
  
  /* Level 2 
  -------------------------------------------------*/
  figure > ul > li > ul:after{ /* horizontal line connecting boxes under head honcho (and vertical lines on the far left and right) */
    content:"";
    width:calc(100% - 30px - 248px + 4px);
    height:20px;
    margin:0 auto;
    position:absolute;
    border:4px solid;
    border-bottom:none;
    top:10px;
    left:calc(15px + 124px - 2px);
    display:block;
    z-index:0;
  }
  figure > ul > li > ul > li{
    z-index:1;
  }
  figure > ul > li > ul > li:first-of-type:before,
  figure > ul > li > ul > li:last-of-type:before{ /* hiding vertical lines on the far left and right */
    border-left:transparent;
  }
  figure > ul > li > ul > li:before{ /* vertical lines connecting boxes to horizontal line under head honcho */
    content:"";
    border-left:4px solid;
    position:relative;
    display:block;
    min-height:20px;
    margin-left:calc(50% - 2px);
  }
  
  /* Level 3 
  -------------------------------------------------*/
  figure > ul > li > ul > li > ul{ /* vertical line connecting boxes under a director (level 2) */
    border-left: 4px solid;
  }
  figure > ul > li > ul > li > ul > li{ /* horizontal line connect level 3 boxes to vertical line under director (level 2) */
    border-top: 4px solid;
    top:50px;
  }
  figure ul > li > ul > li > ul > li > a{ /* level 3 boxes and below... */
    right:-30px;
    top:-50px;
    width:calc(100% - 30px);
  }
  
  /* Level 4 
  -------------------------------------------------*/
  figure > ul > li ul > li > ul > li > ul{ /* vertical line connecting boxes under a level 3 box */
    border-left: 4px solid;
    right:-30px;
    top:-50px;
    width:calc(100% - 30px);
    padding-top: 10px;
  }
  figure ul > li > ul > li > ul > li.tps-org-branch-end{ /* hiding the bottom section of the vertical line above */
    border-left: 4px solid #fff;
    right:4px;
    width:calc(100% + 4px);
  }
  figure ul > li > ul > li > ul > li > ul > li{ /* horizontal line connect level 4 boxes to vertical line under level 3 box */
    border-top: 4px solid;
    top:50px;
  }
  
  
  
  
  /*
    ,ad88PPP88ba,                                         88 88
   d8"  .ama.a "8a                                        88 ""
  d8'  ,8P"88"  88                                        88
  88  .8P  8P   88 88,dPYba,,adPYba,   ,adPPYba,  ,adPPYb,88 88 ,adPPYYba,
  88  88   8'   8P 88P'   "88"    "8a a8P_____88 a8"    `Y88 88 ""     `Y8
  88  8B ,d8 ,ad8' 88      88      88 8PP""""""" 8b       88 88 ,adPPPPP88
  "8a "88P"888P"   88      88      88 "8b,   ,aa "8a,   ,d88 88 88,    ,88
   `Y8aaaaaaaad8P  88      88      88  `"Ybbd8"'  `"8bbdP"Y8 88 `"8bbdP"Y8
      """""""""
  */
  @media all and (max-width: 540px){
    figure > ul > li > div > a{
      width:100%;
      margin:0 auto;
    }
    figure > ul > li > ul{ /* vertical line under head honcho (level 1) */
      border-left: 4px solid;
    }
    figure > ul > li > ul > li{ /* horizontal line connecting level 2 boxes to vertical line under head honcho (level 1) */
      border-top: 4px solid;
      top:50px;
    }
    figure > ul > li > div:after,
    figure > ul > li > ul:after,
    figure > ul > li > ul > li:first-of-type:before,
    figure > ul > li > ul > li:last-of-type:before,
    figure > ul > li > ul > li:before{
      display: none;
    }
    figure > ul > li > ul > li.col-lg-2{
      padding-right:0;
      padding-left:30px;
    }
    figure > ul > li > ul > li > a,
    figure > ul > li > ul > li > ul{
      top:-50px;
    }
    figure ul > li > ul > li.tps-org-branch-end:last-of-type{ /* hiding the bottom section of the vertical line above */
      border-left: 4px solid #fff;
      right:4px;
      width:calc(100% + 4px);
    }
  
  }
  
  /*                     88
                         88
                         88
   ,adPPYba,  ,adPPYba,  88  ,adPPYba,  8b,dPPYba, ,adPPYba,
  a8"     "" a8"     "8a 88 a8"     "8a 88P'   "Y8 I8[    ""
  8b         8b       d8 88 8b       d8 88          `"Y8ba,
  "8a,   ,aa "8a,   ,a8" 88 "8a,   ,a8" 88         aa    ]8I
   `"Ybbd8"'  `"YbbdP"'  88  `"YbbdP"'  88         `"YbbdP"'  */
  
  /* Line color 
  -------------------------------------------------*/
  figure ul li a,
  figure > ul > li > ul,
  figure > ul > li > ul:after,
  figure > ul > li > div:after,
  figure > ul > li > ul > li,
  figure > ul > li > ul > li:before,
  figure > ul > li > ul > li > ul,              
  figure > ul > li > ul > li > ul > li,         
  figure > ul > li ul > li > ul > li > ul,      
  figure ul > li > ul > li > ul > li > ul > li{ 
    border-color: #bbb;
  }
  
  /* Background color 
  -------------------------------------------------*/
  #tps-org-chart,
  figure ul > li > ul > li > ul > li.tps-org-branch-end{
    background: #fff;
  }
  /* Box colors by column 
  -------------------------------------------------*/
  figure ul li a{ background:#858587;} /* level 1 and default box color */
  figure > ul > li > ul > li:nth-of-type(1) a{  background:#00a6de; }
  figure > ul > li > ul > li-dis:nth-of-type(1) a:hover{ color:#00a6de; }
  figure > ul > li > ul > li:nth-of-type(2) a{  background:#66d43d; }
  figure > ul > li > ul > li-dis:nth-of-type(2) a:hover{ color:#66d43d; }
  figure > ul > li > ul > li:nth-of-type(3) a{  background:#f7a30a; }
  figure > ul > li > ul > li-dis:nth-of-type(3) a:hover{ color:#f7a30a; }
  figure > ul > li > ul > li:nth-of-type(4) a{  background:#8c42ad; }
  figure > ul > li > ul > li-dis:nth-of-type(4) a:hover{ color:#bf75df; }/* 3 steps lighter */
  figure > ul > li > ul > li:nth-of-type(5) a{  background:#de5433; }
  figure > ul > li > ul > li-dis:nth-of-type(5) a:hover{ color:#ef6544; }/* 1 step lighter */

  
  figure > ul > li > ul > li:nth-of-type(6) a{  background:#00a6de; }
  figure > ul > li > ul > li-dis:nth-of-type(6) a:hover{ color:#00a6de; }
  figure > ul > li > ul > li:nth-of-type(7) a{  background:#66d43d; }
  figure > ul > li > ul > li-dis:nth-of-type(7) a:hover{ color:#66d43d; }
  figure > ul > li > ul > li:nth-of-type(8) a{  background:#f7a30a; }
  figure > ul > li > ul > li-dis:nth-of-type(8) a:hover{ color:#f7a30a; }
  figure > ul > li > ul > li:nth-of-type(9) a{  background:#8c42ad; }
  figure > ul > li > ul > li-dis:nth-of-type(9) a:hover{ color:#bf75df; }/* 3 steps lighter */
  figure > ul > li > ul > li:nth-of-type(10) a{  background:#de5433; }
  figure > ul > li > ul > li-dis:nth-of-type(10) a:hover{ color:#ef6544; }/* 1 step lighter */

  
  /*figure > ul > li > ul > li:nth-of-type(6) a{  background:#00b0ab; }
  figure > ul > li > ul > li:nth-of-type(6) a:hover{ color:#00b0ab; }*/
  figure ul li a > span.rede{
    padding-top: 12px !important;
  }



/**
*  ------------------------------------------------------------------------------------------------
*
*
*   V3
*
*
*  ------------------------------------------------------------------------------------------------
*/
.jconfirm-box{
  max-width: 97% !important;
  width: 400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.jc-bs3-container.container{
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

a.afif-solic-saque-button,
a.afif-solic-saque-button:hover{
  color: #000;
  text-decoration: none;
  margin-left: auto;
  float: right;
  opacity: 0.8;
}

.afif-actions-saque{

}

.afif-actions-saque input{

}

.afif-actions-saque button,
.afif-actions-saque button:active,
.afif-actions-saque button:focus{

}

@media(max-width:540px){
  .area-vendedores-endpoint .caixa-saldo .saldo {
    position: relative;
    display: block;
    width: 98%;
    background: #f2f2f2;
    border-radius: 20px;
    padding: 20px;
    height: 190px;
  }
}

.container-solicitacoes-saque{

}

.container-solicitacoes-saque{

}

.container-solicitacoes-saque .item-saque{
  background: #f2f2f2;
  padding: 20px;
  margin-bottom: 12px;
  width: 97%;
}
.container-solicitacoes-saque .item-saque h3{
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 0px;
}

.container-solicitacoes-saque .item-saque p{
  margin-bottom: 0;
  font-size: 14px;
}

.container-solicitacoes-saque .item-saque p b{

}

.container-solicitacoes-saque .item-saque p a,
.container-solicitacoes-saque .item-saque p a:hover{
  text-decoration: underline;
}

a.afif-hist-notas,
a.afif-hist-notas:hover{
  float: left;
  margin-right: 4px;
}

a.afif-hist-notas img{
  width: 30px;
  height: auto;
  opacity: 0.58;
}