/****************************

- [Grid Setup]
- [Geral]
- [Forms]
- [Collapse]
- [Header]
- [Modal]

Responsivo

- [992]
- [992 - Header]

- [768]
- [768 - Geral]

- [575]

*****************************/
/*
cor principal: #772288
mais escuro: #5d186b;
mais claro: #ad3bc4;
font-family: 'Lato', sans-serif;
font-weight: 400 (ou 800)
*/

/*****************************************
[Grid Setup]
******************************************/
.container {
    margin-left: auto;
    margin-right:auto;
    width: calc(100% - 40px);
}
@media screen and (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media screen and (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media screen and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}
/*****************************************
[Geral]
******************************************/
* {
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}
body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1em;
    color: #000;
    background: #fff;
}
.mx450 {
    max-width: 400px;
    margin-right: auto;
    margin-left: auto;
}
h1 {
    font-size: 1.4em;
    line-height: 1em;
    color: #772288;
    font-weight: 900;
    text-transform: uppercase;
}
.row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
.col {
    margin: 0 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.col-25 {
    width: calc(25% - 10px);
}
.col-30 {
    width: calc(30% - 10px);
}
.col-40 {
    width: calc(40% - 10px);
}
.col-50 {
    width: calc(50% - 10px);
}
.col-33 {
    width: calc((100% / 3) - 10px);
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 20px;
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/*****************************************
[Forms]
******************************************/
.wrap-field {
    margin-bottom: 20px;
    width: 100%;
}
.wrap-field span {
    margin-top: 5px;
    padding: 0 5px;
    font-size: 0.9em;
    line-height: 0.9em;
}
.wrap-field span.error {
    color: red;
}
.wrap-field span.label {
    color:brown;
    font-size: 14px;
}
.wrap-field span.success {
    color: green;
}
input, select, textarea {
    border: 1px solid #999;
    border-radius: 5px;
    padding: 0 10px;
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border: 1px solid #000;
}
input.error, select.error, textarea.error {
    border: 1px solid red;
}
input.success, select.success, textarea.success {
    border: 1px solid green;
}
input.disabled, select.disabled, textarea.disabled{
    border: 1px solid #ccc;
    background: #f0f0f0;
    color: #999;
}
input, select {
    height: 40px;
}
textarea {
    height: 100px;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    background: #fff url('../imagens/seta.png') no-repeat;
    background-size: 12px auto;
    background-position: right 15px top 11px;
}
button, input[type="submit"] {
    border: none;
    border-radius: 5px;
    background: #772288;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: 40px;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 700;
    /* text-transform: uppercase; */
    margin-left:5px;
}
button:hover, input[type="submit"]:hover {
    background: #5d186b;
}
button:active, input[type="submit"]:active {
    background: #ad3bc4;
}
.wrap-radio, 
.wrap-check {
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrap-radio input, 
.wrap-check input  {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.wrap-radio label, 
.wrap-check label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 22px;
    height: 22px;
    border: 1px solid #999;
    padding: 0;
}
.wrap-radio label, .wrap-radio .checkmark {
    border-radius: 50%;
}
.wrap-radio .checkmark, 
.wrap-check .checkmark {
    position: absolute;
    top: 3px;
    left: 3px;
    height: 14px;
    width: 14px;
    background-color: none;
}
.wrap-radio label input:checked ~ .checkmark,
.wrap-check label input:checked ~ .checkmark {
    background-color: #772288;
}
.wrap-radio .texto, 
.wrap-check .texto  {
    margin-left: 10px;
}
/**************************************
[Collapse]
***************************************/
.card {
    max-height: 2px;
    overflow: hidden;
    transition: all 0.3s;
}
.content {
    display: table;
}


/**************************************
[Header]
***************************************/
header {
    width: 100%;
    height: 80px;
    position: fixed;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    background: #fff;;
    z-index: 100;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.icon-menu-mobile, .menu-mobile {
    display: none;
}
header .logo {
    max-height: 50px;
}
header .menu-principal {
    display: flex;
    justify-content: center;
    align-items: center;
}
header .menu-principal li {
    list-style: none;
}
header .menu-principal li a {
    color: #772288;
    text-decoration: none;
    margin: 0 20px;
    text-transform: uppercase;
    font-size: 1.1em;
    line-height: 1.1em;
    font-weight: 700;
    cursor: pointer;
}
header .menu-principal li a:hover,
header .menu-principal li a:active {
    color: #5d186b;
    text-decoration: underline;
}
.area-logado .usuario button {
    background: none;
    padding: 0;
    color: #772288;
    height: auto;
}
.area-logado .usuario {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.area-logado .usuario button {
    margin-left: 20px;
}
.area-logado .usuario button img {
    height: 20px;
    width: auto;
}
.area-logado .menu-usuario select {
    height: 30px;
    margin-top: 6px;
    border-radius: 30px;
}

/*****************************************
[Modal]
******************************************/
.wrap-modal, .bg {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}
.wrap-modal {
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrap-modal .bg {
    background: rgba(0,0,0,0.7);
}
.wrap-modal .modal {
    max-width: 500px;
    max-height: 60vh;
    width: calc(100% - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.wrap-modal .modal h1 {
    max-width: calc(100% - 40px);
    padding-left: 40px;
    margin-bottom: 30px;
}
.wrap-modal .modal .bt-fechar {
    position: absolute;
    width: 35px;
    height: 35px;
    background: #772288;
    border-radius: 50%;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrap-modal .modal .bt-fechar img {
    width: 15px;
    height: 15px;
}
.wrap-modal .modal .botoes {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.wrap-modal .modal .botoes button {
    margin: 0 5px;
}
.wrap-modal .modal .botoes button.bt-cancelar {
    background: #bbb;
}
.wrap-modal .modal .botoes button.bt-cancelar:hover,
.wrap-modal .modal .botoes button.bt-cancelar:active {
    background: #999;
}

/**************************************
[992]
***************************************/
@media screen and (max-width: 992px) {
    
    /************** [992 - Header]  **********************/
    .icon-menu-mobile, .menu-mobile {
        display: block;
    }
    .icon-menu-mobile {
        width: 30px;
        height: 30px;
    }
    .hamburguer-bt {
        cursor: pointer;
        height: 30px;
        position: absolute;
        right: 0;
        top: 0;
        width: 30px;
        transition: all .2s ease-out;
    }
    
    .hamburguer-bt .hamburguer-bt__stripe {
        width: 100%;
        height: 4px;
        border-radius: 3px;
        background: #772288;
        margin: 6px auto;
        transition: all 0.3s;
        backface-visibility: hidden;
    }
    
    .hamburguer-bt.on .hamburguer-bt__stripe__top {
        transform: rotate(45deg) translate(4px, 10px);
    }
    
    .hamburguer-bt.on .hamburguer-bt__stripe__middle {
        opacity: 0;
    }
    
    .hamburguer-bt.on .hamburguer-bt__stripe__bottom {
        transform: rotate(-45deg) translate(4px, -10px);
    }
    header {z-index: 200;}
    header .menu-principal,
    header .area-logado {
        display: none;
    }
    header, header .container {
        height: 60px;
    }
    header .logo {
        max-height: 35px;
    }
    .menu-mobile {
        position: fixed;
        width: 100vw;
        height: calc(100vh - 60px);
        background: #fff;
        top: -100vh;
        transition: all 0.3s;
        overflow-y: auto;
        z-index: 100;
    }
    .menu-mobile.ativo {
        top: 60px;
        transition: all 0.3s;
    }
    .menu-mobile .area-logado .wrap-usuario {
        background: #772288;
        padding: 10px 0;
    }
    .menu-mobile .area-logado .usuario {
        justify-content: flex-start;
    }
    .menu-mobile .area-logado .usuario p {
        color: #fff;
    }
    .menu-mobile .area-logado .menu-usuario {
        background: #ad3bc4;
        padding: 10px 0;
    }
    .menu-mobile .area-logado .menu-usuario select {
        margin-top: 0;
    }
    .menu-mobile .menu-principal {
        padding: 20px 0;
    }
    .menu-mobile .menu-principal li {
        list-style: none;
    }
    .menu-mobile .menu-principal li a {
        text-transform: uppercase;
        font-weight: 700;
        margin-bottom: 20px;
        text-decoration: none;
        display: block;
    }
}
/*************************************************
[768]
**************************************************/
@media screen and (max-width: 768px) {
    /************** [768 - Geral]  **********************/
    h1 {
        font-size: 1.2em;
    }
}
/*************************************************
[575]
**************************************************/
@media screen and (max-width: 575px) {
    .wrap-modal .modal .botoes {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-right: auto;
        margin-left: auto;
    }
    .wrap-modal .modal .botoes button {
        margin: 5px 0;
        width: 100%;
    }
    .col-40, .col-30, .col-25, .col-50 {
        width: calc(100% - 10px);
    }
}