﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@page {
    size: auto;
}

:root {
    /*SIZES*/
    --normalFontSize: 14px;
    --titleFontSize: 18px;
    --pageWidth: 1200px;
    /*COLORS*/
    /*TOAST*/
    --toastWarningColor: #F6B783;
    --primaryRippleOne: #4CD6DB;
    --primaryRippleTwo: #1DC6CC;
    --primary: #00b1b7;
    --boldColor: #5d5d5d;
    --lightForegroundColor: #8a94a6;
    --greenAccent: #00b1b7;
    --warningColor: lightcoral;
    --appBackground: aliceblue;
    --appDarkBackground: #E6F3FE;
    --appMenuBackground: white;
    --overshadowColor: white;
    --defaultBoxShadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    scroll-behavior: smooth;
    user-select: none;
    font-family: 'Open Sans', sans-serif;
}

ul {
    margin-bottom: 0;
    margin-left: 20px;
}

::-moz-selection { /* Code for Firefox */
    background: lightblue;
}

::selection {
    background: lightblue;
}

.blazored-toast-container {
    z-index: 999;
}

.toastWarning {
    background-color: var(--toastWarningColor);
}

body > div.blazored-toast-container.position-topright > .toastWarning > div.blazored-toast-progressbar > span {
    background-color: #EC8A3A;
    filter: unset;
}

html, body {
    height: 100%;
    box-sizing: border-box;
    font-size: var(--normalFontSize);
}

input:not(.rz-dropdown-filter), select, .rz-dropdown {
    padding: 5px;
    border: unset;
    border-bottom: 2px solid lightgray;
    transition: border,background-color 0.3s;
    border-radius: 7px 7px 0 0;
    /*height: 100%;*/
}

    .rz-dropdown:focus {
        -webkit-box-shadow: unset;
        box-shadow: unset;
        border: unset;
        border-bottom: 2px solid lightgray;
    }

    .rz-dropdown:hover:not(:focus) {
        -webkit-box-shadow: unset;
        box-shadow: unset;
        border: unset;
        border-bottom: 2px solid lightgray;
    }

.rz-dropdown-label {
    display: flex;
    align-items: center;
    height: 100%;
}

.rz-dropdown-item:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}


input:focus, select:focus, .rz-dropdown:focus-within {
    border-bottom: 2px solid var(--primary);
    outline: unset;
    background-color: #e6e6e6;
}

.fontNormalBold {
    font-weight: 600;
    color: var(--boldColor);
}

.fontTitle {
    font-size: var(--titleFontSize);
}

.fontTitleBold {
    font-size: var(--titleFontSize);
    font-weight: 600;
    color: var(--boldColor);
}

svg {
    fill: currentColor;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btnLupa {
    margin-left: 20px;
    width: 40px;
    min-width: 40px;
    padding: 5px;
    border: 0;
    background: var(--primary);
    border-radius: 3px;
    box-shadow: var(--defaultBoxShadow);
}

    .btnLupa img {
        width: 100%;
        height: 100%;
    }

.content {
    padding-top: 1.1rem;
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

.invalid {
    border-bottom: 2px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    transition: opacity 0.3s ease-in-out;
}

.modal-content {
    margin: 5% auto;
    padding: 20px;
    max-width: 800px;
    background-color: #fefefe;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.modal:hover .modal-content {
    transform: scale(1.05);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.opcoes {
    text-align: right;
    margin-top: 10px;
}

#downloadLink {
    color: #007bff;
    text-decoration: none;
}

    #downloadLink:hover {
        text-decoration: underline;
    }



    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.defaultButton {
    padding: 5px 15px;
    color: white;
    height: 35px;
    border: 0;
    background: var(--primary);
    border-radius: 3px;
    box-shadow: var(--defaultBoxShadow);
    align-self: flex-start;
    cursor: pointer;
}

.rippleButton {
    background-position: center;
    transition: background 0.8s;
}

    .rippleButton:hover {
        background: var(--primaryRippleTwo) radial-gradient(circle, transparent 1%, var(--primaryRippleTwo) 1%) center/15000%;
    }

    .rippleButton:active {
        background-color: var(--primaryRippleOne);
        background-size: 100%;
        transition: background 0s;
    }

.elementDisabled {
    border: 1px solid #999999 !important;
    background-color: #cccccc !important;
}

/*.rippleButton {
    position: relative;
    overflow: hidden;
}

    .rippleButton:after {
        content: "";
        background: white;
        display: block;
        position: absolute;
        padding-top: 300%;
        padding-left: 350%;
        margin-left: -20px !important;
        margin-top: -120%;
        opacity: 0;
        transition: all 0.8s
    }

    .rippleButton:active:after {
        padding: 0;
        margin: 0;
        opacity: 1;
        transition: 0s
    }*/

.centerElement {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.loaderElement {
    border: 16px solid lightblue;
    border-top: 16px solid var(--primary);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite, fadeIn 500ms ease-out;
    align-self: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fadeInElement {
    animation: fadeInAnimation 500ms ease-out;
}

.elementTooltip {
    position: relative;
    display: inline-block;
}

    /* Tooltip text */
    .elementTooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        position: absolute;
        z-index: 2;
        opacity: 0;
        transition: opacity 1s;
    }

        .elementTooltip .tooltiptext.left {
            right: 105%;
        }
    /* Show the tooltip text when you mouse over the tooltip container */
    .elementTooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.elementHoverEffect:hover {
    opacity: 0.9;
    cursor: pointer;
}

.iconButton {
    display: flex;
    height: 40px;
    align-items: center;
    padding: 5px 10px;
    border-radius: 3px;
    box-shadow: var(--defaultBoxShadow);
    overflow: hidden;
    align-self: flex-start;
    background-color: var(--primary);
    color: white;
    border: none;
    outline: none;
}

    .iconButton img {
        height: 100%;
    }

::deep .iconButton svg {
    fill: currentColor;
    height: 24px;
    width: 24px;
}

.iconButton span {
    font-size: var(--titleFontSize);
    white-space: nowrap;
    margin: 0 10px;
}

.labelBold {
    font-weight: 600;
}

.flexRowDiv {
    display: flex;
}

.warningText {
    display: flex;
    align-items: center;
    color: red;
}

    .warningText:before {
        content: '';
        background-color: red;
        border-radius: 50%;
        height: 5px;
        width: 5px;
        margin-right: 10px;
        margin-left: 3px;
    }

.selectable {
    user-select: text;
}

.hidden {
    display: none;
}

.formInfo{
    margin:5px;
    width:100%;
}
    .formInfo > .formInfoLabel {
        font-weight: 600;
        color: var(--lightForegroundColor);
    }
    .formInfo > input {
        width:100%
    }
    .formInfo > select {
        width:100%
    }

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.slideInFromRight {
    animation: 0.5s ease-out 0s 1 slideInFromRight;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(50%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.campo-obrigatorio {
    border: none !important;
    border-bottom: 2px solid red !important;
}

.slideInFromLeft {
    animation: 0.5s ease-out 0s 1 slideInFromLeft;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.glass {
    background: rgba( 255, 255, 255, 0.25 );
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    /*background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(130%);*/
}

#section-to-print {
    display: none;
    width: 100%;
}

    #section-to-print > *:last-child {
        margin-bottom: 0;
    }


@media print {

    html, body {
        height: auto;
    }

        body * {
            visibility: hidden;
        }

    #section-to-print, #section-to-print * {
        visibility: visible;
    }

    #section-to-print {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
    }
}
