@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&family=Roboto+Slab:wght@300;400;500&family=Rubik:wght@400;500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Barlow&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Rubik', Calibri, sans-serif;

}

:root {
    /* CSS HEX */
    --fundo-site: #FFFFFF;
    --fundo-branco: #e8e4e4;
    --fundo-menu: #666666;
    --fundo-submenu: #999999;
    --menu-hover: rgb(244, 224, 92);
    --texto-claro: #dacb45;
    --destaque: #447497;
    --texto-escuro: #000000ff;
    --texto-claro: #2d2d2c;
    --texto-branco: #ffff;



    --botao-primeiro:#2A7800;
    --botao-segundo:#3d3bc3;
    --botao-terceiro:#d68e00;
    --botao-quarto:#948103;
    --botao-quinto:#b41807;
    --botao-sexto:#761da5;

    --tabela-cabecalho: #c7bfb8;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(---);
    color: black;
}

header {
    display: flex;
    justify-content: center;
    height: 80px;
    background-color: var(--fundo-menu);
    color: var(--texto-branco);
}

main {
    display: flex;
    justify-content: center;
}

p {
    text-align: justify;
}

.orange  {
    color:#f46117 !important;
    font-family: Roboto;

}
.red {
    color:red !important;
    font-family: Roboto;

}

.bg_orange {
    background-color: #f5a208f3;

}

.bg_red {
    background-color: #f4170789;

}


.naoexibir{
    display: none;
}


.container {
    width: 1280px;
    display: flex;
    justify-content: space-between;

}

/* Campo Busca */
.search{
    align-items: flex-start;
    justify-content: flex-start;

}

.search label, fieldset{
    font-size: 18px;
    background-color:var(--fundo-submenu);
    color: var(--destaque);
}

.search-area input {
    background-color:var(--texto-branco);
    background-image: url('../images/search.png');
    background-size: 18px;
    background-position-x: 10px;
    background-position-y: center;
    background-repeat: no-repeat;
    width: 250px;
    height:25px;
    border-radius:5px;
    border:0;
    outline:0;
    margin-top:15px;
    padding-left:30px;
    margin-right: 10px;
    transition: all .3s;
    font-size: 18px;
    color: var(--texto-escuro);
}

/* Chrome, Firefox, Opera, Safari 10.1+ */
.search-area ::placeholder {
    color: var(--texto-claro);
    opacity: 1; /* Firefox */
  }

/* Internet Explorer 10-11 */
  .search-area  :-ms-input-placeholder {
    color: var(--texto-claro);
  }

/* Microsoft Edge */
  .search-area ::-ms-input-placeholder {
    color: var(--texto-claro);
  }

.resultSearh {
    margin: 10px;
    overflow-x:scroll;

}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    border: 5px;
    color: var(--texto-branco);

}

.logo img {
    height: 60px;
}

.logo_font {
    padding-left: 10px;
    color: #ffec2d;
    font-family: Barlow;
    font-size: 28px;
}

/* MENU */
.menu {
    display: flex;
    align-items: center;
    z-index: 90;
}

nav ul,
nav li{
    list-style-type: none;
    margin: 0;
    padding: 0;

}

nav ul {
    display: flex;
}

nav a {
    display: block;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    color:  var(--texto-branco) !important;
}

nav .ativo a, nav a:hover {
    background-color: var(--fundo-submenu);
    color: var(--texto-branco);
    border-radius: 10px;
}

/* SUB MENU*/
nav ul ul {
    position: absolute;
    z-index: 90;
    top: 60px;
    border-top: 3px solid var(--texto-claro) ;
    opacity: 0;
    visibility: hidden;
    transition: top .3s;
    display: flex;
    flex-direction: column;
    /* background-color: var(--fundo-submenu); */
}

nav ul li:hover > ul{
    top: auto;
    opacity: 1;
    visibility: visible;
}
nav ul ul li{
    position: relative;
    margin: 0px;
    width: 180px;
    float: none;
    display: list-item;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    background-color: var(--fundo-submenu);
    color: white;
}
nav ul ul li a{
   /* background-color: #c7bfb8; */
    line-height: 30px;
    padding: 5px;

}
nav .submenu a{
    background-color:  var(--fundo-submenu);
    color: red;
}
nav .submenu a:hover {
    background-color: var(--botao-quarto);
    color:#efecec;
    border-radius: 3px;

}

/* CONTEÚDO */
#geral {


    justify-content: center !important;
    padding-left: 10px;
    padding-right: 10px;
    /* min-height: calc(100vh - 130px); */
    width: 100%;

}

#geral section{
    flex: 2;
    padding: 5px;
    height: 300px;

}

.direita {
    text-align: right;
}

.widget {
    width: 100%;

}
.widget_title {
    margin-top: 30px;
    margin-bottom: 20px;

}

.widget_title_text {
    font-family: 'Poppins', serif;
    font-size: 22px;
    color: #404348;
    font-weight: bold;
}

.widget_title_bar{
    width: 150px;
    height: 2px;
    background-color: var(--botao-quarto);
    margin-top: 8px;
    margin-bottom: 8px;
}

.widget_footer_bar{
    margin-top: 8px;
    border-bottom: solid 1px #f18358;
}

.widget_body{
    margin-top: 15px;
    border-bottom: #404348 1px;

}

.widget_body a{
    color: #f3f4f7;
    text-decoration: none;
}
.widget_body a:hover{
    color: #c89c76;
    text-decoration: none;
}

.widget_body strong{
    color: #eb6028;
    text-decoration: none;
}

.widget_body ul{
    display: flex;
    flex-wrap: wrap;
}

.widget_body li{
    display: block;
    line-height: 35px;
    width: 200px;

}

.widget_body p{
    display: block;
    line-height: 5px;
    width: 100%;
    font-size: 15px;

}

.widget_body h2{
    font-size: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: 'Poppins', serif;
}

.widget_body h3, h4{
    font-size: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: 'Barlow', sans-serif;
}

.widget_body p{
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: 'Roboto', sans-serif;
    color: var(--texto-claro);
    line-height:17px;

}

/* TABELAS */

.tabela {
    overflow: hidden;
    overflow-x: auto;
    width: 98%;
}

th, td {
    text-align: left;
    padding: 8px;
  }

tr:nth-child(even){background-color: #f2f2f2}

.tabela td {
    margin-right: 10px;
    padding: 5px;
    border-bottom: 1px solid chocolate;

}

.tabela th {
    text-align: left;
    margin-right: 10px;
    padding: 5px;
    background-color: var(--tabela-cabecalho);
    min-width: 30px;
}
.totais{
    background-color: var(--tabela-cabecalho) !important;
}

.totais strong {
    color:var(--texto-escuro);

}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: orange;
    color: #000000;
    cursor: pointer;
    padding: 8px;
    min-width: 120px;
    border: none;
    text-align: center;
    outline: none;
    font-size: 15px;
    border-radius: 5px;
  }

  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .collapsible:hover {
    background-color: #ccc;

  }

  /* Style the collapsible content. Note: hidden by default */
  .content {
    /* padding: 0 18px; */

    display: none;
    overflow: hidden;
    /* background-color: #f1f1f1; */
    min-width: 120px;
  }

/* Botões */

.btn {
    border: none;
    border-radius: 5px;
    color: white;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 3px;
    margin-top: 2px;
    min-width:120px ;
    font-size: 12px;
}

.btn a{
    color: #efecec;
    text-decoration: none;

}

.btn a:hover{
    color: #0c0c0c;

}

.btn-1 {
    background-color: var(--botao-primeiro);
}

.btn-2 {
    background-color: var(--botao-segundo);
}

.btn-3 {
    background-color: var(--botao-terceiro);
}

.btn-4 {
    background-color: var(--botao-quarto);
}

.btn-5 {
    background-color: var(--botao-quinto);
}

.btn-6 {
    background-color: var(--botao-sexto);
}

.login {
    background-color: var(--fundo-branco);
    max-width: 500px !important;
    min-height: 300px !important;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    margin: 30px;
    border: 1px;
    border-style: solid;
    border-color: #00000058;
    border-radius: 10px;
    padding: 20px;

}

.login input {

    color: var(--texto-escuro);
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    height: 40px;
    width: 100%;
    border: 0px;
    border-radius: 10px;
}

.login input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--fundo-submenu);
    opacity: 1; /* Firefox */
}

.login a {
    text-decoration: none;
    color: blue;
}

.button {
    background-color:var(--botao-quarto) !important;
    color: white;
    padding: 10px;
    max-width: 180px !important;

}

.button hover{
    background-color:var(--botao-segundo) !important;
    color: white;
    padding: 10px;
    max-width: 180px !important;

}

#create_contrato {
    margin: auto;
}

/* FORMULARIO */

.formulario {
    padding: 20px;
    background-color: rgb(237, 235, 235);
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    border-radius: 10px;
    margin-bottom: 20px;
}

.formulario h2{
    width: 100%;
}


form {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    /* align-content:space-around !important; */
    width: 100%;
    /* margin-right: 20px; */
}

textarea {
    width: 100%;
    height: 15vh;
    /* background-color: #f8e4bc; */
    /* font-size: 16px; */
    border-radius: 5px;
}

.agrupar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.agrupar h3{

    width: 100%;
}
.input_area {
    display: block;
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 2px;

}

.input_area_btn {
    display: block;
    align-self: center;
    background-color: #A0364D;
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 2px;
}
.input_area_100 {
    display: block;
    width: 100%;
    align-content: flex-start;
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 2px;
    /* background-color: #1987ee64; */
}

.input_area>label{
    display: block;
}

.input_area>input, .input_area>select{
    height: 25px;
    width: 100%;
    padding-left: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc ;
    background-color: rgba(208, 208, 208, 0.539);
}

textarea {
    background-color: rgba(208, 208, 208, 0.539) !important;
}

.input_area>textarea {
    height: 120px;
    width: 400px;
    padding-left: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc ;

}

.input_area>textarea::placeholder {
   color: var(--texto-claro);
}

/* MENSAGENS DE ALERTA */

.alert {
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px 10px 20px;


}
.alert-error {
background-color: #f3372246;

}


.alert-error li, .alert-success li{
   list-style-type: none;
   color: #171616;
   padding-left: 30px;

}

.alert-error h3, .alert-success h3{
    color: #171616 !important;
 }

.espaco {
    margin: 15px;
    align-content: center;
}

.alert-success {
    background-color: #21fc1272;

    }

.pagination a {
    color: #1d8803;
}

/*  RODAPÉ */
footer {
    background-color:var(--fundo-menu);
    display: flex;
    justify-content:center;
    padding-bottom: 10px;
    /* position: absolute;
    height: auto;
    width: 100%;
    bottom: 0 */
}

.footer_menu{
    display: flex;
    color: var(--texto-branco);
}

.footer_area {
    display: flex;
    color: #efecec;
}

.footer_copy{
    border-top: 1px solid var(--fundo-site);
    color: var(--fundo-site);
    height: 20px;
    line-height: 40px;
    font-size: 12px;
    margin-top: 10px;
}

/* Menu Mobile */
.menuMobile{
    display: none;
    width: 25px;
    height: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 20px;
}

.mm_line {
    height: 3px;
    background-color: var(--texto-claro);
}

.center {
    text-align: center;
}


.btn-search{
    width: 150px;
    height: 30px;
    background-color:rgba(200, 156, 118, 0.6) !important;
    border-radius: 3px;
    justify-self: end;
}

.checked {
    width: 15px;
    height: 15px;
    margin-top: 15px;
}



/* Modal delete  */

@media (max-width:950px) {
    .container {
        width: 100vw;
        padding:5px;
    }

    .search-area input {
        width: 100px;
    }

}

/* responsivo para 600px*/
@media (max-width:740px) {
    .container {
        flex-direction: column;
        padding:0;
    }

    .widget{
        padding-left: 5px;
    }

    #geral section {
        padding: 5px;

    }
    #geral aside {
        padding: 5px;
    }



    .footer_menu {
        flex-direction: column;

    }
    .footer_area {
        flex-direction: column;
        padding: 20px;
    }

    .footer_copy {
        text-align: center;
        padding-left: 20px;
        height: auto;
    }

    header .container {
        flex-direction: row;
    }

    nav ul {
        flex-direction: column;
        display: none;
        position: absolute;
        left: 0;
        width: 100%;
        background-color: #c7bfb8;
    }

    nav ul ul {
        visibility: hidden;
        position: absolute;

    }

    nav ul ul li{

        width: 100%;
        padding-left: 40px;
        height: 48px;
    }

 /* fim Sub menu */

    header {
        height: auto;
    }

    .logo {
        padding-top: 10px;
        padding-left: 10px;
    }

    .menuMobile{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .formulario {
        padding: 20px;
        width:100%;
    }

    .input_area_100 {
        width: 100%;
    }

    .search-area input {
        width: 50%;
    }

    .search-area input {
        width: 50%;
        height: 2em;
        margin: 5%;
        background-color: #fff;
    }


    article {
        margin-right: 3px;
    }


}

@media (max-width: 500px) {
    .slider {
        width: 450px;
        height: 450px;
    }

    .search-area input {
        width: 90%;
        height: 2em;
        margin: 5%;
        /* background-color: #efecec; */
    }
    #anunciante section {
        padding: 2px;
    }

    .formulario {
        padding: 2px;
        width:100%;
        margin: 2px;

    }
    .formulario label {
        font-size: 15px;

    }
    .search label, fieldset {
        font-size: 15px;
        width:100%;
    }
    .formulario select {
        font-size:15px;
    }

    .widget_title {
        margin-top: 2px;
        margin-bottom: 2px;

    }


}

@media (max-width: 450px) {

    .formulario {
        width: 100%;
    }

}

@media (max-width: 400px) {
    article {
        flex: 1;
        margin-right: 0.5rem
    }

    .widget_body {
        margin-top: 5px;
}
}
