﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

:root {
    --color-main: #ED1722;
    --color-primary: #102034;
    --color-secondary: #CCCCCC;
    --color-tertiary: #FAFAFA;
    --color-quartenary: #777777;
    --color-success: #3EBC12;
    --color-danger: #EF510E;
    --color-bg-1: #FAFAFA;
    --color-bg-stroke-1: #E5E5E5;
}

body {
    background-color: #131f2f;
    height: 93.46vh;
    width: 100vw;
}

header {
    height: 61px;
    border-bottom: 1px solid;
    border-color: var(--color-bg-stroke-1);
}

    header nav img.logo {
        height: 40px;
        margin: 10px;
    }

    header a.btn {
        margin: 10px;
    }

.page-wrapper > div.container-fluid {
    height: 100%;
    min-height: 88vh;    
}

/*Select2*/
span.select2-selection {
    border-color: #e7e7e7 !important;
    height: 33px !important;
    border-radius: 3px !important;
    /*padding: .375rem .75rem !important;*/
    border: solid 0px white;
    
}

    span.select2-selection > span {
        padding-left: 5px !important;        
    }


span.select2-selection__arrow {
    height: 100% !important;
}

    span.select2-selection__arrow > b {
        left: .375rem !important;        
    }

span.select2-selection__choice__display, button.select2-selection__choice__remove {
    background-color: #01A5B1 !important;
    color: white !important;
    /*border-color: #1976d2 !important;*/
    /*border: solid 0px white !important;*/
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #01A5B1 !important;
    color: white !important;
    border: 1px solid #01A5B1 !important;
    /*border-color: #1976d2 !important;*/
    /*border: none !important;*/
}

.select2-selection:focus {
    /*box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);*/
    box-shadow: none;
    border-color: #1877f2 !important;
}

/*Dashboard*/
.dashboard-hover:hover {
    background-color: rgb(251, 251, 251);
}

/*Img effects*/
.img-overlay {
    position: relative;
    display: block;
}

.img-overlay:hover .overlay-content {
    display:block;
}

.overlay-content {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
}

.overlay-center {
    position:relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
}

.overlay-content .overlay-button {
    color: rgb(229, 229, 229);
    cursor: pointer;
    font-size: 30px;
    background-color: transparent;
    border:none;
}

.overlay-content .overlay-button:hover {
    color: white;
}
    
/*Full screen img*/
.modal-visible {
    display: block;
}

.modal-container {
    position: fixed;
    background-color: rgba(0, 0, 0, .4);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: auto;
    padding: 30px;
    z-index: 1;
    display:none;
}

.modal-img {
    max-height: 110%;
    position: relative;
    left: 60%;
    transform: translate(-50%, 0%);
}

.modal-close-btn {
    position: relative;
    float: right;
    background-color:transparent;
    border: none;
    font-size: 50px;
    color: white;
}

@media(max-width: 1024px) {
    .page-wrapper > div.container-fluid {
        margin-top: 60px;
    }
}

@media screen and (max-width: 500px) {
    .modal-img {
        transform: translate(-50%, 0%)
    }

    .modal-container {
        padding: 15px;
    }
}

label.control-label {
    width: 100%;
}

/*modal*/

.modal {
    background-color: rgba(0, 0, 0, .5);
}

span.select2-container {
    width: 100% !important;    
} 

/*barra de rolagem*/
body::-webkit-scrollbar {
    width: 10px; /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
    background: #131f2f; /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
    background-color: #1c2e46; /* color of the scroll thumb */
    border-radius: 0px; /* roundness of the scroll thumb */
    border: 2px solid #6f42c1; /* creates padding around scroll thumb */
}

.nav-tabs .nav-link.active {
    background-color:#1c2e46; 
    color: #fff;
}

.table-limit {
    max-width: 200px; /* Define o tamanho máximo desejado */
    overflow: hidden;
    text-overflow: ellipsis; /* Adiciona reticências (...) ao texto que transborda */
    white-space: nowrap; /* Evita que o texto seja quebrado em várias linhas */
}


.navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    max-height: 60px;
    height: auto;
}

.navbar-nav {
    flex: 1;
    justify-content: center;
}

.ml-auto {
    margin-left: auto !important;
}

.custom-dropdown {
    background: rgb(28,46,70);
}