﻿/* BASE */
body {
    margin: 0px;
    font-family: 'Roboto', sans-serif;
    font-size: 10.4pt;
    color: #333333;
    background-color: #ffffff;
    line-height: 26px;
}

img {
    border: 0;
}

/* CORES UTILITÁRIAS */
.cinza {
    color: #333333;
    text-decoration: none;
}

.azulTitulo {
    color: #89B8F2;
    text-decoration: none;
}

.vermelho {
    color: #C62525;
}

.verde {
    color: #44c767;
}

.branco {
    color: #ffffff;
}

.interacao {
    color: #8196bb;
}

/* CAMPOS DE FORMULÁRIO */
/* INPUTS */
input[type=text],
input[type=password],
input[type=number],
input[type=search],
input[type=tel],
input[type=email] {
    width: 100%;
    padding: 10px 10px;
    border-radius: 8px;
    border: 1px solid #d2d2d2;
    font-size: 12pt;
    color: #333333;
    outline: none;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    line-height: 1.2;
    box-sizing: border-box;
    display: block;
    font-family: 'Roboto', sans-serif;
}

    input[type=text]:focus,
    input[type=password]:focus,
    input[type=number]:focus,
    input[type=search]:focus,
    input[type=tel]:focus,
    input[type=email]:focus {
        border-color: #6c4bc8;
        box-shadow: 0 0 0 2px rgba(108, 75, 200, 0.15);
        outline: none;
    }

/* TEXTAREA */
textarea {
    width: 100%;
    padding: 6px;
    font-size: 12pt;
    color: #333333;
    border: 1px solid #E6E6E6;
    background-color: #ffffff;
    box-sizing: border-box;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
}

    textarea:focus {
        border-color: #6c4bc8;
        box-shadow: 0 0 0 2px rgba(108, 75, 200, 0.15);
        outline: none;
    }

/* SELECT */
select {
    width: 100%;
    padding: 10px 4px;
    border-radius: 8px;
    border: 1px solid #d2d2d2;
    font-size: 12pt;
    color: #333333;
    outline: none;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    display: block;
    font-family: 'Roboto', sans-serif;
}

    select:focus {
        border-color: #6c4bc8;
        box-shadow: 0 0 0 2px rgba(108, 75, 200, 0.15);
    }

/* BUTTONS */
input[type=submit],
input[type=button],
input[type=file] {
    padding: 8px;
    font-size: 12pt;
    box-sizing: border-box;
    line-height: normal;
}

/* CHECKBOX CUSTOMIZADO */
input[type="checkbox"] {
    display: none;
    line-height: normal;
    font-family: 'Roboto', sans-serif;
}

    input[type="checkbox"] + label {
        display: inline;
        cursor: pointer;
        position: relative;
        font-weight: normal;
        background-color: #B8B8B8;
        padding: 4px;
        color: #ffffff;
        vertical-align: baseline;
        white-space: nowrap;
        border-radius: 2px;
        line-height: normal;
    }

    input[type="checkbox"]:checked + label {
        background-color: #6DBA6F;
    }

    input[type="checkbox"]:disabled + label {
        opacity: 0.5;
    }

/* PLACEHOLDER */
::placeholder {
    color: #BFBFBF;
    font-family: 'Roboto', sans-serif;
}

.form-group { margin-bottom:18px; }

/* LINKS */
a,
a:visited,
a:active {
    color: #333333;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    font-size: 11pt;
    line-height: 22px;
}

    a:hover {
        color: #777777;
        text-decoration: none;
    }

/* OUTROS UTILITÁRIOS */
.noborder {
    border: 0;
    background: none;
}

/* BOTÕES */
.myBtn,
.myBtnRed,
.myBtnGreen,
.myBtnPurple,
.myBtnWhite {
    border-width: 0;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 11pt;
    padding: 6px;
    width: 100px;
    text-decoration: none;
}

.myBtn {
    background-color: #129CE0;
    color: #ffffff;
}

    .myBtn:hover {
        background-color: #23A8E9;
    }

    .myBtn:active {
        position: relative;
        top: 1px;
    }

.myBtnRed {
    background-color: #EE6969;
    color: #ffffff;
}

    .myBtnRed:hover {
        background-color: #F77878;
    }

    .myBtnRed:active {
        position: relative;
        top: 1px;
    }

.myBtnGreen {
    background-color: #44c767;
    color: #ffffff;
}

    .myBtnGreen:hover {
        background-color: #5cbf2a;
    }

    .myBtnGreen:active {
        position: relative;
        top: 1px;
    }

.myBtnPurple {
    background-color: #6c4bc8;
    color: #ffffff;
}

    .myBtnPurple:hover {
        background-color: #7654d5;
    }

    .myBtnPurple:active {
        position: relative;
        top: 1px;
    }

.myBtnWhite {
    background-color: #E9E9E9;
    color: #333333;
}

    .myBtnWhite:hover {
        background-color: #EDECEC;
    }

    .myBtnWhite:active {
        position: relative;
        top: 1px;
    }

/* BOX INTERAÇÕES SIMPLES */
.boxInteracoes {
    float: left;
    padding: 2px;
    width: 84px;
    margin-right: 6px;
    border: 1px solid #F2F2F2;
    background-color: #FAFAFA;
    text-align: center;
    line-height: 24px;
    border-radius: 8px;
}

/* TABELA */
table td {
    padding: 2px;
}

/* TÍTULO DE ALGUMAS PÁGINAS */
.classTitle {
    float: left;
    color: #89b8f2;
    font-weight:bold;
    font-size:13pt;
    margin-bottom:14px;
}

/* TAGS */
h1 {
    font-size: 7pt;
    line-height: 18px;
    font-weight: normal;
    padding: 0 4px 0 1px;
    margin: 0;
}

h2 {
    font-size: 8pt;
    line-height: 18px;
    font-weight: normal;
    padding: 0 4px 0 1px;
    margin: 0;
}

h3 {
    font-size: 10.4pt;
    line-height: 18px;
    font-weight: normal;
    padding: 0 4px 0 1px;
    margin: 0;
}

/* MODAL */
.modal-header,
h4,
.close {
    background-color: #5cb85c;
    color: #ffffff;
    text-align: center;
    font-size: 14pt;
}

.modal-footer {
    background-color: #f9f9f9;
}

.modal .modal-body {
    max-height: 440px;
    overflow-y: auto;
}

.modal-content {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    border: 0;
}

/* SIDR MENU */
.sidr {
    display: block;
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 1;
    width: 280px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f8f8f8;
    color: #333;
    box-shadow: inset 0 0 5px 5px #ebebeb;
}

    .sidr .sidr-inner {
        padding: 0 0 15px;
    }

        .sidr .sidr-inner > p {
            margin: 0 15px;
        }

    .sidr.sidr-right {
        left: auto;
        right: -280px;
    }

    .sidr.sidr-left {
        left: -280px;
        right: auto;
    }

#idMenuSidrOverlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100;
    display: none;
    opacity: 0.7;
}

/* BOOTSTRAP HACK */
.list-group-item {
    padding: 12px;
}

/* PAGINAÇÃO */
.pagTit {
    font-size: 10.4pt;
    color: #8196bb;
}

.pagNormal {
    font-size: 10.4pt;
    color: #8196bb;
    border: 1px solid #8196bb;
    padding: 8px;
}

.pagSelecionada {
    font-size: 10.4pt;
    color: #ffffff;
    border: 1px solid #8196bb;
    padding: 8px;
    background-color: #8196bb;
}

/* THUMBS */
.fotoThumb {
    float: left;
    width: 124px;
    height: 124px;
    padding: 2px;
    background-color: #F6F6F6;
    border: 1px solid #F2F2F2;
    border-radius: 2px;
    text-align: center;
}

/* STAR RATING */
div.stars {
    width: 270px;
    display: inline-block;
}

input.star {
    display: none;
}

label.star {
    float: left;
    padding: 10px 10px 10px 4px;
    font-size: 30px;
    color: #444;
    transition: all .2s;
}

input.star:checked ~ label.star:before {
    content: '\2605';
    color: #FD4;
    transition: all .25s;
}

input.star-5:checked ~ label.star:before {
    color: #FE7;
    text-shadow: 0 0 20px #952;
}

input.star-1:checked ~ label.star:before {
    color: #F62;
}

label.star:hover {
    cursor: pointer;
    transform: rotate(-15deg) scale(1.3);
}

label.star:before {
    content: '\2605';
}

/* BOX GRID */
.LarguraBoxGrid {
    float: left;
    width: 100%;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 0 14px #cccccc;
    padding-bottom: 12px;
}

.LarguraBoxGrid2 {
    float: left;
    width: 100%;
    border-radius: 6px 6px 0 0;
}

/* INTERAÇÕES (CHAT) */
.msgCliente1 {
    float: left;
    padding: 4px 6px;
    min-width: 260px;
    max-width: 86%;
    border: 1px solid #EFF2FF;
    background-color: #F2F5FF;
    color: #333333;
    font-size: 11pt;
    text-align: left;
    line-height: 20px;
    word-wrap: break-word;
    border-radius: 4px;
    margin: 4px 6px;
    clear: both;
}

.msgCliente2 {
    float: right;
    padding: 4px 6px;
    min-width: 260px;
    max-width: 86%;
    border: 1px solid #F9F9F9;
    background-color: #FCFCFC;
    color: #333333;
    font-size: 11pt;
    text-align: right;
    line-height: 20px;
    word-wrap: break-word;
    border-radius: 4px;
    margin: 4px 6px;
    clear: both;
}

/* BOX INTERAÇÕES (BOTÕES) */
.btn-interacao-icon {
    width: 26px;
    height: 30px;
    padding: 8px 6px 6px 6px;
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    text-align: center;
}


/* APP LOADING (SPINNER) */
.aploading {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}


/* loading bar */
.barra {
    width: 100%;
    background: #f3f3f3;
    border-radius: 999px;
    height: 4px;
    overflow: hidden;
}

.barra-progresso {
    height: 100%;
    background: #89B8F2;
    border-radius: 999px;
    width: 0;
    animation: crescer 4s ease forwards;
}

@keyframes crescer {
    from {
        width: 0;
    }

    to {
        width: 90%;
    }
}
/* */


/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* CARDS DE INTERAÇÕES */
.containerInteracao {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.cardInteracao {
    flex: 1 1 208px;
    width: calc(100% - 20px);
    min-width: 210px;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .cardInteracao.recebidas .headerInteracao {
        background-color: #ffffff;
        color: #9b59b6;
    }

    .cardInteracao.realizadas .headerInteracao {
        background-color: #ffffff;
        color: #85c1e9;
    }

.headerInteracao {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 0 16px;
    font-size: 12pt;
}

.gridInteracao {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    background-color: #ffffff;
}

.itemInteracao {
    text-align: center;
    padding: 10px 0 2px;
    border: 1px solid #eee;
}

    .itemInteracao span {
        display: block;
        font-size: 24px;
        margin-bottom: 8px;
    }

/* STORIES HOME */
.stories-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.stories-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}

.story-item {
    flex: 0 0 auto;
    width: 90px;
    text-align: center;
}

.classStoryAvatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 6px;
}

    .classStoryAvatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.story-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.story-name {
    font-size: 12px;
    font-weight: bold;
}

.story-age {
    font-size: 11px;
    color: #333333;
}

/* Scrollbar mobile / desktop */
@media (max-width: 767px) {
    .stories-wrapper {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .stories-wrapper::-webkit-scrollbar {
            display: none;
        }
}

@media (min-width: 768px) {
    .stories-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .stories-wrapper::-webkit-scrollbar-thumb {
        background: #e5e5e5;
        border-radius: 3px;
    }
}




/* menu baixo interacoes */
#idMenuInteracoes {
    position: relative;
    display: inline-block;
}

#idMenuFavoritos {
    position: relative;
    display: inline-block;
}

#idMenuVisitas {
    position: relative;
    display: inline-block;
}

#idMenuInteracoes .glyphicon-transfer {
    position: relative;
}

#idMenuFavoritos .glyphicon-star {
    position: relative;
}

#idMenuVisitas .glyphicon-eye-open {
    position: relative;
}

.badgeMenu {
    position: absolute;
    top: -4px;
    left: 100%;
    margin-left: -10px;
    background-color: #fc2e3e;
    color: #fff;
    border-radius: 999px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    line-height: 1;
    display: none;
}

.pulse-once {
    animation: pulse 0.8s ease-out 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    60% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}


/* CSS MODAL */
.modalApp-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.55);display:none;align-items:center;justify-content:center;padding:20px;z-index:999999;box-sizing:border-box;}
.modalApp-overlay.ativo{display:flex;}
.modalApp-dialog{width:100%;max-width:520px;}
.modalApp-content{background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,0.25);overflow:hidden;display:flex;flex-direction:column;max-height:calc(100vh - 40px);transform:scale(0.96);opacity:0;transition:all 0.18s ease;width:100%;}
.modalApp-overlay.ativo .modalApp-content{transform:scale(1);opacity:1;}
.modalApp-header{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ededed;background:#fff;flex-shrink:0;gap:12px;}
.modalApp-title{font-size:20px;margin:0;color:#222;line-height:1.2;}
.modalApp-close{border:0;background:transparent;color:#666;font-size:28px;line-height:1;cursor:pointer;width:36px;height:36px;padding:0;flex-shrink:0;}
.modalApp-close:hover{color:#000;}
.modalApp-body{padding:24px;overflow-y:auto;color:#333333;flex:1 1 auto;background:#fff;font-size:11pt;}
.modalApp-footer{padding:14px 24px;border-top:1px solid #ededed;background:#fff;flex-shrink:0;color:#cccccc;font-size:10pt;}
.modalApp-link{font-size:10pt;color:#999999;cursor:pointer;text-decoration:none;}
.modalApp-link:hover{text-decoration:underline;color:#666666;}
.modalApp-textbox{width:98%;padding:10px 12px;border:1px solid #d6d6d6;border-radius:8px;font-size:11pt;outline:none;box-sizing:border-box;background:#fff;}
.modalApp-textbox:focus{border-color:#999;}
.modalApp-footer-wrap{width:96%;}
.modalAppErro{width:100%;background:#ffecec;color:#d8000c;padding:0 10px;font-size:13px;text-align:center;border-bottom:1px solid #f5c2c7;opacity:0;max-height:0;overflow:hidden;transition:opacity .25s ease,max-height .25s ease,padding .25s ease;box-sizing:border-box}
.modalAppErro.show{opacity:1;max-height:60px;padding:10px}
@media (max-width:700px){
    .modalApp-overlay{padding:10px;}
    .modalApp-dialog,.modalApp-dialog.modalApp-dialog-cadastro{max-width:100%;}
    .modalApp-content{max-height:calc(100vh - 20px);border-radius:12px;}
    .modalApp-header,.modalApp-body,.modalApp-footer{padding-left:16px;padding-right:16px;}
    .modalApp-textbox{width:100%;}
}



/* MENU */
.list-group-item {
    display: block;
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    box-sizing: border-box;
    transition: background 0.15s ease, transform 0.05s ease;
}

    /* hover */
    .list-group-item:hover {
        background: #f7f7f7;
    }

    /* click (efeito pressão) */
    .list-group-item:active {
        background: #ececec;
        transform: scale(0.98);
    }