/*#region UTILS */

#icon-user::before {
    font-family: FontAwesome;
    content: "\f007";
    position: absolute;
    padding: 5px 15px;
}

#icon-password::before {
    font-family: FontAwesome;
    content: "\f023";
    position: absolute;
    padding: 5px 15px;
}

#icon-calendar::before {
    font-family: FontAwesome;
    content: "\f073";
    position: absolute;
    padding: 5px 15px;
}

#icon-visibility::before {
    font-family: FontAwesome;
    content: "\f06e";
    position: absolute;
    padding: 5px 15px;
}

#icon-database::before {
    font-family: FontAwesome;
    content: "\f1c0";
    position: absolute;
    padding: 5px 15px;
}

#icon-functionality::before {
    font-family: FontAwesome;
    content: "\f140";
    position: absolute;
    padding: 5px 15px;
}

#icon-plan::before {
    font-family: FontAwesome;
    content: "\f61f";
    position: absolute;
    padding: 5px 15px;
}

#icon-ref::before {
    font-family: FontAwesome;
    content: "\f069";
    position: absolute;
    padding: 5px 15px;
}

#icon-cpf::before {
    font-family: FontAwesome;
    content: "\f577";
    position: absolute;
    padding: 5px 15px;
}

#icon-phone::before {
    font-family: FontAwesome;
    content: "\f3cd";
    position: absolute;
    padding: 5px 15px;
}

#icon-external-code::before {
    font-family: FontAwesome;
    content: "\f02a";
    position: absolute;
    padding: 5px 15px;
}

/*#endregion */

/*#region CRIAÇÃO COM BASE NO BOOTSTRAP */

.form-control-robot {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding-left: 2.5rem !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .form-control-robot:focus {
        color: #495057;
        background-color: #fff;
        border-color: #17a2b8;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(23,162,184,.25);
    }

.btn-robot {
    color: #fff !important;
    border-color: #17a2b8 !important;
    background-color: #17a2b8 !important;
    border-radius: 30px !important;
    line-height: 1.6rem !important;
}

    .btn-robot:hover {
        color: #fff !important;
        border-color: #17a2b8 !important;
        background-image: linear-gradient(90deg, #17a2b8 -15%, #495057 250%);
        line-height: 1.6rem !important;
    }

/*#endregion */

/*#region SOBREESCRITA BOOTSTRAP */

.table td, .table th {
    padding: .5rem !important;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(23,162,184,.25) !important;
}

.toast-error {
    border-left: 5px solid #FA5252 !important;
}

.toast-success {
    border-left: 5px solid #81C69E !important;
}

.progress-bar {
    background-color: #17a2b8 !important;
}

.table td {
    vertical-align: middle !important;
    padding: 0.85rem !important;
}

.table-bordered > :not(caption) > * > * {
    border-width: 1px 1px !important;
}

.spinner-grow {
    color: #17a2b8;
}

.accordion-button:not(.collapsed) {
    color: white !important;
    background-image: linear-gradient(85deg, #17a2b8 0%, #495057 200%);
    background-size: cover;
}

.accordion-body {
    display: flex !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(23,162,184,.25) !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transform: rotate(-180deg) !important;
}

.badge {
    font-size: .85rem !important;
    font-weight: 100 !important;
}

.spinner-border {
    width: 0.75rem !important;
    height: 0.75rem !important;
    border: 0.15rem solid currentColor !important;
    border-right-color: transparent !important;
}

/*#endregion */

/*#region CRIAÇÃO COM BASE NO THEME */
.bg-gradient-robot {
    background-image: linear-gradient(180deg, #17a2b8 0%, #495057 75%);
    background-size: cover;
}

.text-robot {
    color: #17a2b8;
    font-size: 1.15rem;
    padding: 5px;
}

/*#endregion */

/*#region SOBREESCRITA THEME */

.sidebar .sidebar-heading {
    font-size: .7rem !important;
}

.page-link {
    color: #17a2b8 !important;
}

    .page-link:focus {
        border-color: #17a2b8 !important;
        box-shadow: 0 0 0 0.2rem rgba(23,162,184,.25) !important;
    }

.page-item.active .page-link {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
    color: white !important;
}

.dropend .dropdown-toggle::after {
    content: none !important;
}

.dropdown .dropdown-toggle::after {
    content: none !important;
}

.sidebar-dark .nav-item .nav-link {
    color: rgba(255,255,255,.65) !important;
}

    .sidebar-dark .nav-item .nav-link:hover {
        color: #fff !important;
    }

.sidebar {
    width: 9rem;
    min-height: 100vh;
}

select:disabled {
    opacity: 0.5 !important;
    background: #ced4da !important;
}

input:disabled {
    opacity: 0.5 !important;
    background: #ced4da !important;
}

@media (min-width: 0px) {
    .sidebar.toggled {
        overflow: visible !important;
        width: 9rem !important;
    }
}

/*#endregion */

/*#region TELA PADRÃO */

* {
    font-family: Calibri;
    font-size: 1rem;
}

.robot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-robot {
    height: 100vh;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .action-robot form {
        width: 400px;
    }

.link-robot a {
    color: #212529 !important;
    text-decoration: none;
    padding: 6px;
}

    .link-robot a:hover {
        color: #212529 !important;
        text-decoration: underline;
        padding: 6px;
    }

.nav-link-robot i {
    font-size: 1rem !important
}

.nav-link-robot span {
    font-size: 1rem !important;
    padding: 5px;
}

.required-robot {
    color: #17a2b8;
    opacity: 0.8;
}

i.icon-action-left {
    cursor: pointer;
}

    i.icon-action-left:hover {
        color: #17a2b8;
        position: relative
    }

    i.icon-action-left span {
        display: none
    }

    i.icon-action-left:hover span {
        color: white;
        border-radius: 10px;
        background-color: #17a2b8;
        display: block;
        font-weight: 300;
        min-width: 170px;
        padding: 5px;
        position: absolute;
        top: -30px;
        left: -160px;
        text-decoration: none
    }

i.icon-action-right {
    cursor: pointer;
}

    i.icon-action-right:hover {
        color: #17a2b8;
        position: relative
    }

    i.icon-action-right span {
        display: none
    }

    i.icon-action-right:hover span {
        color: white;
        border-radius: 10px;
        background-color: #17a2b8;
        display: block;
        font-weight: 300;
        min-width: 170px;
        padding: 5px;
        position: absolute;
        top: -30px;
        text-decoration: none
    }

/*#endregion */

/*#region TELA DE LOGIN */

.container-loggin-robot {
    display: flex;
}

    .container-loggin-robot form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: white;
        height: 100vh;
    }

        .container-loggin-robot form input {
            width: 400px;
        }

        .container-loggin-robot form button {
            width: 400px;
        }

.apresentation-robot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: linear-gradient(to left, transparent -20%, black 170%), url('../images/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    color: white;
    padding: 100px;
}

    .apresentation-robot h1 {
        font-size: 3rem;
        font-weight: 100;
        text-shadow: #000000 -1px 1px 2px;
    }

    .apresentation-robot p {
        font-size: 1.5rem;
        font-weight: 100;
        text-shadow: #000000 -1px 1px 2px;
    }

@media (max-width: 992px) {
    .container-loggin-robot {
        display: block;
    }

        .container-loggin-robot form {
            height: 50vh;
        }

            .container-loggin-robot form input {
                width: 350px;
            }

            .container-loggin-robot form button {
                width: 350px;
            }

    .apresentation-robot {
        height: 50vh;
        align-items: center;
        padding: unset;
    }

        .apresentation-robot h1 {
            font-size: 2.5rem;
            font-weight: 100;
            text-shadow: #000000 -1px 1px 2px;
        }
}

/*#endregion */

/*#region TELA DE GERENCIAR ROBÔ */

.card-robot {
    display: flex;
    align-items: center;
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0px;
}

.bg-success-robot {
    background-color: #17A2B8 !important;
}

.bg-danger-robot {
    background-color: darkgray !important;
}

/*#endregion */
