/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.haspointer {
    cursor: pointer;
}

#paroverlay{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height:100%;
    display: none;
    background: rgba(0,197,192,0.2);
}
.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}


/* ROUNDED TABLE */

.rounded-table {
    border-collapse:separate;
    border:solid 1px;
    border-radius:6px;
    -moz-border-radius:6px;
}

.rounded-table td,
.rounded-table th {
    border-left:solid 1px;
    border-top:solid 1px;
}

.rounded-table th {
    border-top: none;
}

.rounded-table tr:first-child td{
    border-top: none;
}

.rounded-table td:first-child,
.rounded-table th:first-child {
    border-left: none;
}

.parbtn {
    width: 100%;
    margin-bottom: 0;
    color: white !important;
    padding-left: 35px;
}

.parbtn:hover{
    background-color: #508A96 !important;
}

.parbtn:before{
    font-family: "FontAwesome";
    font-size: 1.2em;
    content: "\f0fe";
    position: absolute;
    left: 13px;
    background-color: transparent;
}
.parbtn.open:before{
    content: "\f146";
}
.level-1 .parbtn:before,
.level-2 .parbtn:before,
.level-3 .parbtn:before,
.level-4 .parbtn:before{
    left: 53px;
}

.pcontainer {
    -moz-transition: height .5s;
    -ms-transition: height .5s;
    -o-transition: height .5s;
    -webkit-transition: height .5s;
    transition: height .5s;
    height: 0;
    overflow: hidden;
    background-color: transparent !important;
}

.level-0{
    margin-top: 10px;
    margin-left: 0;
    width: 100%;
}
/*colors only*/
.level-0.parbtn,
.level-0.parcont:before,
.level-0.parcont:after,
.level-0 .parbtn{
    background-color: #2A4C7E;
}
.level-1.parbtn,
.level-1.parcont:before,
.level-1.parcont:after,
.level-1 .parbtn{
    background-color: #46699f;
}
.level-2.parbtn,
.level-2.parcont:before,
.level-2.parcont:after,
.level-2 .parbtn
{
    background-color: #5d759b;
}
.level-3.parbtn,
.level-3.parcont:before,
.level-3.parcont:after,
.level-3 .parbtn{
    background-color: #6a7c97;
}
.level-4.parbtn,
.level-4.parcont:before,
.level-4.parcont:after,
.level-4 .parbtn{
    background-color: #828b97;
}

.level-1 .parbtn,
.level-1 .actions{
    width: calc(100% - 40px);
}
.level-2 .parbtn,
.level-2 .actions{
    width: calc(100% - 80px);
}
.level-3 .parbtn,
.level-3 .actions{
    width: calc(100% - 120px);
}
.level-4 .parbtn,
.level-4 .actions{
    width: calc(100% - 160px);
}

@media (max-width: 768px) {
    .parbtn,
    .actions {
        width:100% !Important;
    }
    .actions .btn {
        padding: 6px !important;
    }
}

.public-indexes-container.simple .parbtn {
    background-color: transparent !important;
    color: #2A4C7E !important;
    text-align: left !important;
    width: unset;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 30px !important;
    margin-bottom: -10px;
}
.public-indexes-container.simple .parbtn:before {
    font-size: 1.3em;
}
.public-indexes-container.simple .level-0 > .parbtn:before{
    left:6px !important;
    margin-top: -3px !important;
}

.public-indexes-container.simple .level-1 .parbtn:before,
.public-indexes-container.simple .level-2 .parbtn:before,
.public-indexes-container.simple .level-3 .parbtn:before,
.public-indexes-container.simple .level-4 .parbtn:before{
    left:46px !important;
    top:11px !important;
}

.public-indexes-container.simple .parcont:before,
.public-indexes-container.simple .parcont:after{
    background-color: #2A4C7E !important;
    left: 14px !important;
}
.public-indexes-container.simple .parcont:before{
    top: 26px !important;
    width: 32px !important;
}
.public-indexes-container.simple .parcont:last-child:after{
    height: 26px;
}
.public-indexes-container.simple .actions {
    text-align: left!important;
    margin-left: 20px;
}


.parcont{
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.parcont:before{
    position: absolute;
    top: 25px;
    left: 20px;
    width: 20px;
    height: 2px;
    margin: auto;
    content: '';
}
.parcont:after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    content: '';
}

.parcont:last-child:after{
    height: 25px;
}

.fa-16x {
    font-size: 1.6em;
}

.actions {
    text-align: center !important;
}
/*
.paratiritirio-category {
    display: block !important;
}
*/

.chartcontainer {
    max-height: 400px;
}

.metadatacontainer {
    border: 1px solid grey;
    border-radius: 5px;
    padding: 5px;
}

.descriptioncontainer {
    font-weight: 500;
}

.actions .fa-circle {
    color: #00c5c0;
}

.tolinechart,
.tobarchart,
.totable {
    color: #2A4C7E;
    border-radius: 5px;
    padding: 3px;
}

.titlecontainer {
    text-align: center;
    font-weight: bold;
}

.unitselection {
    font-weight: bold;
    border: 1px solid #00c5c0;
}

.unitselection.selected,
.tolinechart.selected,
.tobarchart.selected,
.totable.selected {
    color: white;
    background-color: #00c5c0;
}

.metadataname {
    background-color: #2A4C7E;
    color:white;
}

.graphcontainer {
    /*height: 540px;*/
    border: 1px solid #2A4C7E;
    border-radius: 10px;
}
.graphcontainer .graphtitle {
    height: 70px;
    font-size: 14px;
    background-color: #2A4C7E;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    color:white;
}
.graphcontainer .chartoptions,
.graphcontainer .unitoptionscontainer,
.graphcontainer .descriptioncontainer{
    height: 60px;
}

.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}
.styled-table thead tr {
    background-color: #00c5c0;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}
.styled-table th,
.styled-table td {
    padding: 12px 15px;
}
.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.sortable.asc span:after {
    content: '\25bc';
    padding-left: 0.5em;
    opacity: 0.8;
}
.sortable.desc span:after {
    content: '\25b2';
    padding-left: 0.5em;
    opacity: 0.8;
}


