@import "home.css";
@import "insurances.html";
@import "header.css";
@import "quem_somos.css";
@import "dash.css";
@import "footer.css";
@import "cotation.css";

:root{
    --logo: #07156c;
    --main: #3a51cf;
    --secondary: #3473d1;
    --background: #242f3e;
    --body: #dfdfdf;
    --hover: #dae3f0;
    --tag: #7dacf1;
    --cotation: #8db3ec;
}

.green{
    background-color: rgb(116, 197, 116);
}

.red{
    background-color: rgb(216, 113, 118);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Roboto', sans-serif;
    margin: 0px;
    /* background-color: var(--body); */
}

i {
    vertical-align: middle;
}

.large {
    font-size: 50px !important;
}

a:link, a:visited, a:focus{
    text-decoration: none;
    color: black;
}
/* 
.active{
    background-color: var(--main) !important;
    color: white !important;
} */
/* .active a {
    background-color: var(--main) !important;
    color: white !important;
} */

li {
    display: block;
    list-style: none;
    padding: 10px;
}

h1, h2, h3, h4 {
    text-align: center;
}

.hidden {display: none;}

.inline {
    display: inline-block;
}

.button {
    padding: 15px;
    cursor:pointer;
    display: inline-block;
    text-align: center;
    background-color: var(--secondary);
    border-radius: 15px;
}
.button:hover{
    background-color: var(--main);
    color: white
}

label{
    text-transform: uppercase;
    font-weight: bold;
    font-size: smaller;
    color: #3e3c3c;
}

input, select, textarea{
    padding: 15px 5px;
    margin: 5px;
    border: none;
    background-color: #f0f0f0;
    border: 1px solid #d4d4d4;
    border-radius: 5px;
}

input:focus, select:focus{
    background-color: white;
    border: 1px solid black;
    transition: 0.2s;
}

table{
    width: 100%;
    border:1px solid var(--body);
    padding: 20px;
    border-radius: 20px;
}

table td{
    padding: 10px;
    max-width: 150px;
}

table td input, select{
    max-width: 100%;
}

/* .index tr:nth-child(2n+1){
    background-color: var(--secondary);
} */

.index tr:first-child{
    background-color: var(--secondary);
}

.index tr:not(:first-child):hover{
    transform: scale(1.02);
    background-color: var(--secondary) !important;
}

.container {
    /* border-bottom: 1px solid black; */
    padding: 20px;
    /* margin: 0% 10%; */
}

.flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}

.left{
    text-align: left;
}

.center{
    text-align: center;
}

.menu-item-horizontal {
    padding: 10px;
    text-align: center;
}
.menu-item-horizontal:hover{
    background-color: var(--secondary);
}

#formularios #forms, #formularios #insuranceCompanies{
    display: flex;
}

#formularios #forms .c2, #formularios #insuranceCompanies div{
    padding: 10px;
    margin: 10px;
    flex: auto;
}

#formularios #forms .c2 ul{
    padding: 0px;
}

#formularios #forms .c2{
    background-color: white;
}
#formularios #forms .c2 li:hover{
    background-color: var(--secondary);
}

#formularios #insuranceCompanies div {
    max-width: 150px;
    text-align: center;
}

#dashboard div{
    vertical-align: top;
}

#dashboard table{
    text-align: center;
}

/* 
#filter input, select{
    width: 80%;
} */

#pages .item{
    display: inline-block;
    padding: 5px;
    background-color: var(--secondary);
}

.big-text{
    font-size: larger;
}

.title{
    font-weight: bold;
}

.content {
    text-align: justify;
    padding: 10px;
}

.p10 {
    padding: 10px;
}

.desktop {
    display: block;
}

@media only screen and (min-width: 768px) {

    .container{
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
    .c2 {display: inline-block;width: 48%; vertical-align: top;}
    .c3 {display: inline-block;width: 33%; vertical-align: top;}
    .c2-3 {display: inline-block;width: 66%; vertical-align: top;}
    .c3-4 {display: inline-block;width: 74%; vertical-align: top;}
    .c4 {display: inline-block;width: 24%; vertical-align: top;}
    .c5 {display: inline-block;width: 18%; vertical-align: top;}
    .c4-5 {display: inline-block; width: 74%; vertical-align: top;}

    #data{
        border-right: 1px solid black;
    }

    #adminDash{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar{
        display: flex;
        flex-direction: column;
        max-height: 600px;
        overflow-y: auto;
        text-align: justify;
    }

}

@media only screen and (max-width: 810px){
    /* .sidebar{
        display: none !important;
    } */
    .sidebar{
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }

    .desktop {
        display: none !important;
    }
}

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

    .desktop {
        display: none;
    }

    body {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .sidebar{
        display: none;
    }

    form td {
        display: table-row;
    }

    #dashboardTable{
        width: 400px;
        overflow-x: scroll;
    }

    #filter, #sidebar{
        display: none;
    }
}