html {
  font-size: 14px;
}

html, body {
    overflow-x:hidden;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
@media (max-width:600px) {
    main {
        width: 100% !important;
    }
    .left-navbar {
        display: none !important;
    }
    .left-navbar.visible {
        position:fixed !important;
        display:block !important;
        width:100%;
        height:100%;
        z-index:9999;
    }
    .left-navbar.visible button {
        text-align: left !important;
        display:block;
    }

    .left-navbar-button-text {
        display: inline-block;
        padding: 8px;
    }
}

@media (min-width:600px) {

    .btn-menu-toggle {
        display:none;
    }

    .left-navbar-button-text {
        display: none;
    }

    .left-navbar-button-text a {
        display: none;
    }

    .left-navbar-button:hover {
        position: relative;
        display:block;
    }

    .left-navbar-button:hover .left-navbar-button-text {
        display: flex;
        position: absolute;
        left: 90px;
        top: 0px;
        height: 75px;
        white-space: nowrap;
        z-index: 9999;
        padding: 22px;
        min-width: 200px;
    }

}
.left-navbar-button svg {
    margin: 0px 8px;
}



html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0px;
  min-width:400px;
}

::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="%23ced4da" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>');
}

textarea {
    vertical-align:top !important;
}

nav a {
    text-decoration:none;
}

input[readonly][onfocus] {
    background-color:white !important;
}

.mw-100p {
    max-width: 100px !important;
}

.mw-150 {
    max-width: 150px !important;
}

.mw-200 {
    max-width: 200px !important;
}

.mw-250 {
    max-width: 200px !important;
}

.mw-300 {
    max-width: 300px !important;
}

.mw-400 {
    max-width: 400px !important;
}

.mw-500 {
    max-width: 500px !important;
}

sep {
    display:block;
    height:25px;
}

th[title]::after {
    display: inline-block;
    width: 12px;
    height: 12px;
    fill: #81dee5;
    stroke: blue;
    vertical-align: text-top;
    content: ' ';
    line-height: inherit;
    background-image: url('data:image/svg+xml;utf8,<svg  xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> <path style="fill:rgb(173,144,229)" fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd" /> </svg>');
}

.copyButton {
    user-select:none;
}

.copyButton::after {
    content: 'copiar';
    color: var(--purple);
    cursor: pointer;
}

.copyButton:active::after {
    color: #c2b8d6;
}



.divAlert {
    position:absolute;
    right:0;
    margin:20px;
    padding:10px 20px;
    box-shadow:-5px 5px 5px #bbb;
    display:none;
    }


div.form-group input[type="checkbox"] {
    height: 1em;
    width: 1em;
    margin-left: 10px;
    margin-top: 5px;
}


div.maincontainer {
    display: flex;
    flex-direction: row;
    position:relative;
}

main {
    display: flex;
    width: calc(100% - 90px);
    min-height: calc(100vh - 75px );
    background-color: #f3f4f6;
}

.content {
    padding:10px;
    width:100%;
}

header {
    line-height:1em;
    border:none;
    display:block;
    height:75px !important;
}

.menu-corner {
    display: inline-block;
    background-color: #7a64a5;
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    flex: 0;
    height: 75px;
    background-image: url(/img/logoCornerWhite.fw.png);
    background-size: 45px 45px;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-title {
    margin:0;
    padding:5px 20px;
}

.btn-menu-toggle {
    margin: 0;
    width: 90px;
    flex:0 0 90px;
    height: 75px;
    border: none;
    background-color: transparent;
    color: #CCC;
    line-height: 1em;
}
.btn-menu-toggle svg{
    width:45px;
}

.navbar {
    padding: 0 !important;
    border: none !important;
}

.container-fluid {
    width:auto;
    align-items: flex-end !important;
    margin-right:0;
}

div.form-group {
    margin-bottom: 20px;
}

.form-group>label {
    display:block;
}

.left-navbar {
    display: flex;
    width: 90px;
    flex-flow: column;
    background-color: #1f2937;
    padding-top:15px;
}

.left-navbar-button-text {
    color: white;
    font-size: 1.4em;
    font-weight: 600;
    padding-left: 20px;
}

.left-navbar a {
    background-color: transparent;
    border: none;
    width: 100%;
    padding: 15px;
    text-align: center;
    align-content: center;
    display:flex;
}
    .left-navbar a:hover {
        background-color: #363F4B;
    }

.left-navbar-button:hover .left-navbar-button-text {
    background-color: #363F4B;
}

.left-navbar-button svg {
    width: 45px;
    height: 45px;
    color:white;
    fill:transparent;
}

.left-navbar a svg path {
    stroke:white;
    stroke-width:1px;
}

.btn-new {
margin:20PX 0px;
}

.info {
    font-style:italic;
    font-size:0.8em;
}

.customListItem {
    display: block;
    background-color: #F2EEFB;
    border-left: 5px solid var(--purple);
    border-radius: 5px;
    padding: 10px;
    margin-top: 1em;
}

.field-validation-error > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
}

    .field-validation-error > span:hover::before {
        display: inline-block;
        position: absolute;
        content: attr(data-message);
        z-index: 999;
        background-color: #f3f4f6;
        border:1px solid #DDD;
    }

.tableScroller {
    width:100%;
    overflow-x:auto;
}
    
.table {
    white-space:nowrap;
}
.table svg {
    height:21px;
    margin:0;
    padding-left:5px;
}
.table a {
    text-decoration:none;
}

.UserPhoto {
    width: 50px;
    height: 50px;
}

    .UserPhoto img {
        height: 100%;
        width: 100%;
        background-color: #fff;
    }

.EmptyUserPhoto {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="gray" class="w-6 h-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z" /> </svg> '); 
    background-size:contain;
}


.cardPrograma {
    display: inline-block;
    min-width:320px;
    width:100%;
    max-width: 380px;
    border-radius: 10px;
    background-color: white;
    margin-bottom:20px;
}

.cardPrograma > .header {
    padding:8px 16px;
    height:91px;
    color:white;
    background-color: var(--purple);
    border-radius: 10px 10px 0 0;
    position:relative;
    background-repeat:no-repeat;
    background-size:cover;
}

    .cardPrograma > .header > label {
        right: 4px;
        top: 5px;
        position: absolute;
        display: block;
        width: 1.5em;
        height: 1.5em;
        color: white;
    }

    .cardPrograma > .header > span {
        left: 10px;
        bottom: 5px;
        position: absolute;
        display: block;
        color: white;
        text-shadow: 0 0 10px black,0 0 9px black,0 0 8px black,0 0 7px black,0 0 6px black,0 0 5px black;
    }

.cardProgramaBody {
    padding: 10px;
}

    .cardProgramaBody table {
        padding: 10px;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
        border: none;
    }

        .cardProgramaBody table th,
        .cardProgramaBody table td {
            font-weight: 600;
            border: none;
            padding: 3px 10px;
        }

        .cardProgramaBody table td {
            text-align: right;
        }

.cardPrograma > .body > label {
    font-weight: 600;
}

.cardPrograma > .footer {
    padding: 10px 10px;
    color: #AAA;
    border: 1px solid #eee;
    border-radius: 0 0 10px 10px;
    line-height: 1em;
    text-align: right;
}


    .cardPrograma > .footer > a {
        margin-left: 5px;
        color: #AAA;
        text-decoration: none;
    }

    .cardPrograma > .footer svg {
        height: 20px;
    }

    .cardPrograma > .footer > label {
        width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 0;
    }






.btn-search {
    width: 50px !important;
    min-width: 50px !important;
    color:white;
    stroke:white;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="white" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"></path></svg>');
    background-size: 24px 24px;
    background-position:center center;
    background-repeat:no-repeat;
}

    .btn-search::after {
    }

.searchMark {
    background-color: #F1EFF5;
    border: 1px dashed #7a64a5;
    border-radius: 3px;
    color: var(--purple);
    cursor:default;
}

th {

}

*[center] {
    text-align: center;
}

*[left] {
    text-align: left;
}

*[right] {
    text-align: right;
}

.customVerticalScrollbar {

}

.customVerticalScrollbar::-webkit-scrollbar {
    width: 5px;
}

.customVerticalScrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.customVerticalScrollbar::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 2px;
}

.customVerticalScrollbar:hover::-webkit-scrollbar-thumb {
    background: var(--purple);
}

.customVerticalScrollbar:hover::-webkit-scrollbar-track {
    background-color: #CFC8DD;
}

.customVerticalScrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--purple);
}

input:-webkit-autofill,
input:-webkit-autofill::first-line,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    background-color: inherit;
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    font-size:inherit;
    font-family:inherit;

}



div.note-editor .btn {
    min-width: auto;
    background-color: #f3f4f6;
    border-radius:5px;
}
    div.note-editor .btn:hover {
        background-color: white;
    }

div .note-toolbar {
    background-color: #f3f4f6;
    border-radius: 5px;
}


input[type="checkbox"],
input[type="checkbox"] + label[for],
input[type="radio"],
input[type="radio"] + label[for] {
    cursor: pointer;
}

input[type="checkbox"] {
    all: unset;
    border: 1px solid #ced4da;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
    width: 16px !important;
    height: 16px !important;
    border-radius: 3px;
    background-color: white;
}

    input[type="checkbox"]:checked {
        background-color: var(--purple);
        position:relative;
        border-color: var(--purple);
    }

    input[type="checkbox"]:checked::after {
        position:absolute;
        top:0px;
        left:5px;
        display: inline-block;
        transform: rotate(45deg);
        height: 13px;
        width: 7px;
        color: white;
        border-bottom: 3px solid white;
        border-right: 3px solid white;
        content:' ';
    }


.btnPrevPage,
.btnNextPage {
    font-weight: bold;
    cursor: pointer;
    color:var(--purple);
    font-weight:bold;
}
.btnPrevPage svg,
.btnNextPage svg{
    height:16px;
}
    .btnPrevPage.disabled, .btnNextPage.disabled {
    color: #555;
    cursor: default;
    opacity:0.25;
}

    .btnNextPage svg path,
    .btnPrevPage svg path {
        stroke-width: 4px;
    }

select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='purple' height='30' width='30' viewBox='0 0 24 24'  xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: center right 5px;
}






.divOverall {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    -webkit-box-align: center;
    box-align: center;
    align-items: center;
    display: flex;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    flex-direction: column;
    bottom: 0;
    left: 0;
    padding: 1vh 1vw;
    right: 0;
    top: 0;
}

.divOverallClose {
    width: 26px;
}

.divOverallContent {
    background-color: white;
    max-width: 98vw;
    max-height: 98vh;
    padding: 20px;
    border-radius: 10px;
    min-width: 366px;
}


.divComentarioRow {
    margin-bottom: 10px;
}

.divComentariosView {
}

.divComentarioText {
    padding: 0 8px;
    max-width: 80vw;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: justify;
    max-width: min(calc(98vw - 90px), 525px)
}

.PostLink {
    display: flex;
    flex-direction: row;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-decoration: none;
    min-width: 350px;
    max-width: 400px;
    margin-top: 12px;
}

.PostLinkIcon {
    width: 70px;
    background-color: #ccc;
    border-radius: 10px 0px 0 10px;
    color: white;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="white" class="w-6 h-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244" /> </svg>');
}

.PostLink div {
    display:flex;
    flex: auto;
    flex-direction:column;
    padding:6px
}

.PostLinkTitle {
    display: flex;
    font-weight: bold;
    color: var(--purple);
    width: 100%;
    padding: 0px 10px;
}

.PostLinkUrl {
    display: flex;
    font-weight: normal;
    color: var(--purple);
    width: 100%;
    padding: 0px 10px;
    max-width:310px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.linkEntrega {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    margin:3px 0;
    display:block;
    text-decoration:none;
}
    .linkEntrega:not(.entregue) {
        background: linear-gradient(35deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 68%, rgba(255,135,135,1) 100%);
    }

    .linkEntrega.entregue {
        background: linear-gradient(35deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 68%, rgba(96,163,88,1) 100%) !important;
    }

    .linkEntregaStatus {
        position: absolute;
        right: 5px;
        top: 5px;
        width: 30px;
        height: 30px;
    }

    .linkEntregaStatus svg {
        width: 30px;
        height: 30px;
    }

.linkEntrega:not(.entregue) .linkEntregaStatus {
    color: darkred;
}


.linkEntrega.entregue .linkEntregaStatus {
    color:green;
}

.linkEntregaTitulo {
    font-weight: bold;
    padding-bottom:5px;
}
.linkEntregaLink {
    margin-top:14px;
    
}

.divLoading {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255,255,255,0.5);
}

.loadingImage {
    width: 100px;
    height: 100px;
    background-image: url('/img/spinner.png');
    background-size: 100px 100px;
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    top: calc( 50vh - 50px);
    left: calc( 50vw - 50px);
    position: absolute;
}
@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.obrigatorio::after {
    content: ' *';
    display: inline;
    color: var(--bs-danger);
    font-weight: bold;
}