
@import url('topo-v2.css');

/* fonts */
@font-face {
    font-family: ZenKakuGothicAntique;
    src: url('../fonts/Zen_Kaku_Gothic_Antique/ZenKakuGothicAntique-Regular.ttf');
}
@font-face {
    font-family: ZenKakuGothicAntiqueBold;
    src: url('../fonts/Zen_Kaku_Gothic_Antique/ZenKakuGothicAntique-Bold.ttf');
}
strong {
    font-family: ZenKakuGothicAntiqueBold;
}

/* colors */
.primary {
    color: #2953A4;
}
.secondary {
    color: #1b5e32;
}
.tertiary {
    color: #3E5A90;
}

/* message box colors */
.success {
    background-color: #FF3D00;
}
.danger {
    background-color: #FF3D00;
    font-family: ZenKakuGothicAntiqueBold;
    color: white;
}
.alert {
    background-color: #FFC107;
}
.info {
    background-color: #E0E0E0;
}

.alert-box {
    background-color: #FFC107;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 2px 20px 2px 0;
}

a:hover {
    cursor: pointer;
}

input[type=submit]:hover {
    cursor: pointer;
}

/* flex box */
.row {
    display: flex;
    flex-direction: row;
}
.column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

body {
    background-image: url('../img/bkg.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-color: #222;
    display: flex;
    flex-direction: column; 
    align-items: flex-end; 
    justify-content: flex-start;
    height: 100vh;
    margin: 0;
}

.icon {
    width: 18px;
}
.links {
    padding: 0 24px;
    font-size: 16px;

    a {
        color: #000000;
            img { margin-right: 8px; }
    }
}

.main-content {
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}

.main {
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    width: 100%;
}

/* logo */
.logo {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    align-items: flex-start;
    padding-right: 12px;
    margin-top: 60px;
}
.logo img {
    width: 96px;
}
.logo-center {
    display: flex;
    justify-content: flex-start;
    padding-right: 16px;
    margin-top: 60px;
}


.flex-row {
    display: flex;
    flex-direction: row;
}
.content {
    display: flex;
    flex-direction: column;
}
.content .sistema-cliente {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 48px;
    font-weight: bold;
    /* margin-bottom: -10px; */
    padding-left: 12px
}

.box-form {
    font-family: ZenKakuGothicAntique;
    background-color:rgba(255, 255, 255, 0.95);
    border-radius: 15px 0 0 15px;
    border-top: 5px solid #2953A4;
    padding: 24px 0 20px 24px;
    display: flex;
    flex-direction: row;
    min-width: 1100px;
}
.box-form-center {
    font-family: ZenKakuGothicAntique;
    background-color:rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    border-top: 5px solid #2953A4;
    padding: 24px 32px;
    display: flex;
    flex-direction: row;
}
.box-form .sistemas-externos {
    font-size: 12px;
}
.box-form .acesse-sua-conta {
    font-size: 1.4rem;
    padding: 8px 0 24px 0;
}
.box-cadastro {
    display: flex;
    flex-direction: row;
}

.form-column #kc-content-wrapper {
    flex-direction: column;
}

.input-left {
    width: 206px;
    margin-right: 8px;
}
.input-right {
    width: 275px;
}
.input-text {
    width: 380px;
    /* width: 100%; */
}
.input-large {
    width: 488px;
}

.nova-conta {
    font-size: 24px;
    padding: 0 140px 24px 0;
}

.form {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.button {
    justify-content: flex-start;
    padding-left: 12px;
}
.button-padding {
    padding: 0 36px 0 12px;
    flex: 1;
    justify-content: flex-end;
}
.primeiro-acesso-button {
    margin-right: 16px;
}
.button input, .button button {
    background-color: #2953A4;
    color: white;
    /* width: 77px; */
    height: 56px;
    border-radius: 8px;
    border: 1px solid silver;
    font-size: 12px;
    padding: 0 20px;
}

.button .button-secondary {
    border: 1px solid silver;
    border-radius: 8px;
    padding: 24px;
    color: #1b5e32;
    background-color: transparent;
}


.nova-conta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.inner {
    font-family: ZenKakuGothicAntiqueBold;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.checkbox {
    padding: 20px 0 8px 0;
    align-items: center;
    font-size: 12px;
}
.input-checkbox {
    margin-right: 8px;
}

.voltar {
    font-family: ZenKakuGothicAntiqueBold;
    display: flex;
    font-size: 12px;
    flex-grow: 1;
    justify-content: flex-end;
    margin-top: 12px;
    text-decoration: none;
    font-weight: bold;
}


/* floating label */
.did-floating-label-content {
    position: relative;
}
.margin-bottom {
    margin-bottom: 20px;
}
.margin-top {
    margin-top: 20px;
}
.margin-right {
    margin-right: 20px;
}

.did-floating-label {
    color: #848484;
    /* font-size: 14px; */
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 15px;
    top: 11px;
    background: #fff;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    top: -9px;
    font-size: 12px;
    padding: 0 6px;
}
.did-floating-input {
    font-size: 16px;
    display: block;
    /* width: 380px; */
    height: 56px;
    padding: 0 16px;
    color: #757575;
    border: 1px solid #848484;
    border-radius: 8px;
    box-sizing: border-box;
    &:focus {
      outline: none;
      /* ~.did-floating-label {
        top: -9px;
        font-size: 12px;
      } */
    }
}
.did-floating-input:not(:placeholder-shown) ~ .did-floating-label {
    top: -9px;
    font-size: 12px;
}
.did-error-input {
    .did-floating-input,
    .did-floating-select {
      border: 2px solid #9d3b3b;
      color: #9d3b3b;
    }
    .did-floating-label {
      font-weight: 600;
      color: #9d3b3b;
    }
}

/* separador */
.wrapper {
    width: 32x;
    display: flex;
    justify-content: center;
  }
.or-separator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000000;
  font-size: 12px;
}
.line {
  border-left: 1px solid #e0e0e0;
  flex-grow: 1;
  width: 1px;
}

/* opções login */
.opcoes-login {
    padding: 20px 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.opcoes-login-idp {
    padding: 0 12px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.center {
    padding: 20px 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 270px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin-bottom: 20px;
    text-decoration: none;
}
.card .text {
    padding-left: 12px;
    color: #616161;
    font-size: 14px;
}
.card .image {
    height: 48px;
}

.form-pass {
    flex-direction: column;
}


.eye-on {
    background: url("../img/visibility_FILL0_wght400_GRAD0_opsz24.svg") no-repeat #ffffff;
    width: 28px;
    height: 28px;
    border: none;
    position: absolute;
    right: 10px;
    top: 17px;
}
.eye-off {
    background: url("../img/visibility_off_FILL0_wght400_GRAD0_opsz24.svg") no-repeat #ffffff;
    width: 28px;
    height: 28px;
    border: none;
    position: absolute;
    right: 10px;
    top: 17px;
}

.eye-float {
    right: 118px;
}
.msg {
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    margin-bottom: 24px;
    /* width: 456px; */
}
.tiny {
    width: 320px;
}
.primeiro-acesso-button .button input {
    margin: 0 16px !important;
}

.row-desk {
    display: flex;
    flex-direction: row;
}

.column-short {
    width: auto;
}

#kc-page-title {
    margin: 0;
}

#kc-content-wrapper {
    display: flex;
    flex-direction: row;
}

#kc-social-providers {
    display: flex;
    flex-direction: row;
    padding-left: 40px;
}
#kc-social-providers-idp {
    display: flex;
    flex-direction: column;
}

.alert-error {
    border-radius: 8px;
    padding: 20px 24px;
    font-size: 14px;
    margin-bottom: 24px;
    /* width: 456px; */
    position: absolute;
    background-color: #FF3D00;
    font-family: ZenKakuGothicAntiqueBold;
    color: white;
}

.alert-warning {
  position: absolute; /* participa do fluxo */
  max-width: 360px;
  background: #f2f2f2;
  border-left: 4px solid #9e9e9e;
  border-radius: 8px;
  padding: 14px 16px 16px 16px;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  font-family: ZenKakuGothicAntiqueBold;
}

.alert-success {
    border-radius: 8px;
    padding: 20px 24px;
    font-size: 14px;
    margin-bottom: 24px;
    /* width: 456px; */
    position: absolute;
    background-color: #198754;
    font-family: ZenKakuGothicAntiqueBold;
    color: white;
}

.alert-info {
    border-radius: 8px;
    padding: 20px 120px 20px 24px;
    font-size: 14px;
    margin-bottom: 24px;
    /* width: 456px; */
    position: absolute;
    background-color: #2953A4;
    font-family: ZenKakuGothicAntiqueBold;
    color: white;
}

.pf-c-alert__icon {
    background-image: url("../img/close.png");
    background-size: contain;
    width: 30px;
    height: 30px;
    position: absolute;
    top: -12px;
    right: -12px;
}


/* esconde para desk */
.title {
    display: none;
}
.button-mobile {
    display: none;
}

.reset-pass-form {
    display: flex;
    flex-direction: row;
}
.btn-desk {
    display: flex;
}
.btn-mobile {
    display: none;
}

.instruction {
    margin-top: 0;
    padding: 0 10px;
}

#kc-select-try-another-way-form {
    padding-left: 8px;
}

.margin-left {
    margin-left: 20px;
}


.valid { color: #009999; }
.valid:before { content: "\2714"; }
.invalid { 
	color: red; 
}
.btn-invalid {
    color: #333 !important;
    background-color: #ccc !important;
    border-color: #ccc !important;
}
.invalid:before { 
	content: "\2716"; 
}
.invalid-tooltip {
	/* position: relative; */
	right: 0px;
	top: 100%;
	z-index: 5;
	display: none;
	max-width: 100%;
	padding: 0.25rem 0.5rem;
	margin-top: .1rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: red;
	background-color: white;
	border-radius: 0.25rem;
	border: 1px solid red;
	box-sizing: border-box;	
}

.button-update-password {
    display: flex;
    align-items: flex-end;
}


.row-desk-show {
    display: flex;
}
.row-mobile-show {
    display: none;
}

.form-column #kc-username {
    display: none;
}

/* @media only screen and (max-device-width: 900px) { */
@media only screen and (max-device-width: 1360px) {
    body {
        width: auto;
        height: auto;
        justify-content: center;
        align-items: center;
    }

    .logo {
        flex-grow: 0;
    }

    .main {
        padding-top: 60px;
        justify-content: center;
        /* padding-right: 96px; */
    }

    .box-form {
        min-width: auto;
        border-radius: 15px;
        padding-right: 30px;
    }

    #kc-content-wrapper {
        flex-direction: column;
    }
    #kc-social-providers {
        flex-direction: column;
        padding-left: 0;
    }

    .or-separator {
      flex-direction: row;
      width: 100%;
    }
    .or-texto {
        padding: 0 12px;
    }
    .line {
      border-top: 1px solid #e0e0e0;
      width: 100%;
    }


    .button-padding {
        padding: 0 0 0 12px;
    }  
    
    .alert-error {
        width: 360px;
    }
}


@media only screen and (max-device-width: 480px) {

    body {
        /* padding: 0 3px; */
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .content {
        padding: 0 12px;
    }

    .logo {
        display: none;
    }

    .logo-mobile img {
        margin-left: 6px;
    }
    
    .title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        font-size: 24px;
        width: 100%;
    }

    .main-content {
        width: 100%;
    }

    .main {
        flex-direction: column;
        margin-bottom: 80px;
        width: 100%;
        /* align-items: center; */
        align-items: unset;
    }

    .sistema-cliente-mobile {
        font-family: ZenKakuGothicAntiqueBold;
        padding: 0 12px 0 0;
        margin-right: 6px;
    }
    .sistema-cliente {
        display: none;
    }

    .box-form {
        border-radius: 15px;
        min-width: auto;
        /* width: 100%; */
        padding: 12px;
    }

    .input-text {
        /* width: 380px; */
        width: 100%;
    }

    .sistemas-externos {
        text-align: center;
    }
    .acesse-sua-conta {
        text-align: center;
        padding: 0 0 24px 0;
    }

    .button {
        padding: 0;
    }
    .button-desk {
        display: none;
    }
    .button-mobile {
        display: block;
        width: 100%;
        padding: 0;
    }
    .button input {
        width: 100%;
    }
    .button-mobile input {
        width: 100%;
        margin-top: 20px;
    }
    .button-padding {
        padding: 0;
    }

    .nova-conta {
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
    }
    .nova-conta a {
        border: 1px solid silver;
        border-radius: 8px;
        padding: 24px;
        display: flex;
        flex-grow: 1;
        margin-top: 16px;
        justify-content: center;
    }

    #kc-content-wrapper {
        flex-direction: column;
    }

    #kc-social-providers {
        flex-direction: column;
        padding-left: 0;
    }
    #kc-social-providers .wrapper {
        display: none;
    }

    .opcoes-login-idp {
        align-items: center;
    }

    .reset-pass-form {
        flex-direction: column;
    }

    .btn-desk {
        display: none;
    }
    .btn-mobile {
        display: flex;
    }

    .msg {
        margin-top: 16px;
    }

    .primeiro-acesso-button {
        margin-right: 0;
    }

    .alert-error, .alert-success, .alert-info {
        padding: 10px 24px;
        margin: 6px 16px 0 0;
        width: auto;
    }

    .alert-warning {
        width: auto;
    }

    .margin-right {
        margin-right: 0;
    }

    .did-floating-input {
        width: 100%;
    }

    .input-mobile {
        width: 340px;
    }

    .form-column {
        width: 100%;
    }

    .margin-left {
        margin-left: 0;
    }

    .row-desk {
        flex-direction: column;
    }

    .row-desk-show {
        display: none;
    }
    .row-mobile-show {
        display: flex;
    }

    .did-floating-label-content {
        width: 100%;
    }

    .primeiro-acesso-button .button input {
        margin: 0 !important;
    }
}
