﻿@font-face {
    font-family: 'CircularStd';
    src: url('fonts/CircularStd-Black.eot');
    src: url('fonts/CircularStd-Black.eot?#iefix') format('embedded-opentype'), url('fonts/CircularStd-Black.woff') format('woff'), url('fonts/CircularStd-Black.ttf') format('truetype'), url('fonts/CircularStd-Black.svg#bcc26993292869431e54c666aafa8fcd') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'CircularStd-Book';
    src: url('fonts/CircularStd-Book.eot');
    src: url('fonts/CircularStd-Book.eot?#iefix') format('embedded-opentype'), url('fonts/CircularStd-Book.woff') format('woff'), url('fonts/CircularStd-Book.ttf') format('truetype'), url('fonts/CircularStd-Book.svg#bcc26993292869431e54c666aafa8fcd') format('svg');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}
.greybg{
    background-color:#ddd;
}

h3 {
    margin-bottom: 10px;
    margin-top: 10px;
}
.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

.wrap {
    max-width: 768px;
    height: auto;
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'CircularStd', sans-serif;
    font-size: 15px;
}

.wrongTxt {
    text-align: center;
    color: red;
    line-height: 26px;
}

.wrongTxt span {
    font-size: 18px;
    font-weight: bold;
}

.chartWrap {
    padding: 15px;
    margin-top: 50px;
    font-family: 'CircularStd-Book', sans-serif;
    font-size: 18px;
    letter-spacing: -0.1px;
}

.chartHeading {
    width: 300px;
    line-height: 24px;
    color: #0095A1;
    float: left;
    font-size: 1.1em;
}
.chartBox {
    position: relative;
    padding: 5px 5px 0;
    margin: 0 auto;
    /* user-select: none; */
    float: left;
}

.circle {
    border-radius: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 0;
}

.circle .text {
    color: #fff;
    text-align: center;
    margin: 6px 0px 0px 0px;
    white-space: nowrap;
    font-size:0.7em;
}
.circle .text p {
    margin-bottom:0em!important;
}

/* ------------------------------------------
            chart type 2 style start
--------------------------------------------*/
.amChartWrap {
    max-width: 768px;
    min-height: 450px;
    margin: auto;
    font-family: 'CircularStd-Book', sans-serif;
    font-size: 18px;
    letter-spacing: -0.3px;
    padding: 15px;
}
.amchartSet{
    width: 100%;
}
.chartdiv {
    width: 100%;
    min-height: 520px;
}

.lagends {
    /* display: none; */
    height: 0;
    width: 0;
    font-size: 0;
}

.legend-marker {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-right: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px
}

.amcharts-chart-div a {
    display: none !important;
}

.amcharts-balloon-div {
    pointer-events: auto !important;
}
.amcharts-pie-slice{
    cursor: pointer;
}
/*------------------------------------- 
        chart type 2 type end 
---------------------------------------*/
/*-------------------------------------
        Chart type 3 start 
........................................*/
/* diagram */

.diagram {
    max-width: 768px;
    font-family: 'CircularStd-Book', sans-serif;
    font-size: 18px;
    letter-spacing: -0.1px;
    padding: 30px 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

/* total */

.total-income {
    width: 142px;
    height: 181px;
    margin: auto;
    position: relative;
    margin-top: 120px;
}

.total-income:before {
    width: 8px;
    height: 220px;
    display: block;
    top: -220px;
    left: 0;
    right: 0;
    content: '';
    margin: 0 auto;
    background: #239dba;
    position: absolute;
}

/* divide */

.divide-income {
    position: relative;
}

.incomeSegment {
    width: 100%;
    height: 100%;
}

.divide-income.income {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.divide-income.income:before {
    width: 20px;
    height: 120%;
    box-sizing: border-box;
    border: 1px solid #979797;
    border-right: 0;
    content: '';
    position: absolute;
    left: -25px;
    top: -10%;
}

.divide-income.income .item {
    /*flex-direction: row-reverse;*/
    flex-direction: inherit;
    left: calc(-100% - 76px);
}

/* item */

.divide-income .item {
    position: absolute;
    /* flex-direction: row-reverse; */
    left: calc(100% + 40px);
    top: calc(50% - 40px);
    display: flex;
    align-items: center;
}

.divide-income .item .icon {
    /* width: 80px;*/
    height: 85px;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 100%;
    color: #fff;
    flex: none;
    margin-right: 10px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.divide-income.income .item .icon {
    width: 85px;
    height: 85px;
}

.divide-income.income .item .icon {
    background: #465a63;
    margin-right: 0;
    margin-left: 10px;
}

.divide-income .item .icon:before {
    content: '';
    background: #979797;
    position: absolute;
    width: 40px;
    height: 1px;
    left: -40px;
    top: calc(50% - 1px);
}

.divide-income.reinvestment .item .icon:before {
    background: #68589f;
}

.divide-income.expenditure .item .icon:before {
    background: #0085ab;
}

.divide-income.income .item .icon:before {
    background: #979797;
    left: auto;
    right: -40px;
}

/* graph */

.graph-top {
    width: 100%;
    position: relative;
    height: 400px;
}

.graph-top .circle {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    height: 200px;
    border-radius: 100%;
    margin: auto;
    color: #fff;
    display: flex;
    align-items: center;
    background: #239dba;
    z-index: 2;
}

.graph-top .circle p {
    height: 65px;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    padding: 0 22px;
    text-align: center;
    letter-spacing: -0.1px;
}

.graph-top .item {
    position: absolute;
    cursor: pointer;
    opacity: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* icon */

.graph-top .item .icon {
    min-width: 80px;
    height: 80px;
    display: block;
    box-sizing: border-box;
    border: 5px solid #239dba;
    border-radius: 100%;
    background: #fff;
    position: relative;
    z-index: 1;
}
.graph-top .item .icon:after {
    height: 1px;
    background: #979797;
    position: absolute;
    display: block;
    content: '';
    width: 190px;
    left: 50%;
    top: calc(50% - 1px);
    transform-origin: left center;
    z-index: -1;
}
.graph-top .item .icon.act{
    border-color: rgb(10, 87, 148);
}
.graph-top .item .icon.act::after{
    background: rgb(10, 87, 148);
}
.graph-top .item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 100%;
}

/* title */

.graph-top .item .title {
    padding: 0 10px;
    color: #000
}

.graph-top .item.classroom {
    flex-direction: row-reverse;
    right: calc(50% + 145px);
    top: calc(50% - 40px);
}

.graph-top .item.laboratori {
    flex-direction: row-reverse;
    right: calc(50% + 40px);
    top: 0;
}

.graph-top .item.laboratori .icon:after {
    transform: rotate(60deg);
}

.graph-top .item.techonology {
    flex-direction: row;
    left: calc(50% + 40px);
    top: 0;
}

.graph-top .item.techonology .icon:after {
    transform: rotate(120deg);
}

.graph-top .item.sport-faciliti {
    flex-direction: row;
    left: calc(50% + 145px);
    top: calc(50% - 40px);
}

.graph-top .item.sport-faciliti .icon:after {
    transform: rotate(180deg);
}

.graph-top .item.libraries {
    flex-direction: row;
    left: calc(50% + 40px);
    bottom: 0;
}

.graph-top .item.libraries .icon:after {
    transform: rotate(240deg);
}

.graph-top .item.student-faciliti {
    flex-direction: row-reverse;
    right: calc(50% + 40px);
    bottom: 0;
}

.graph-top .item.student-faciliti .icon:after {
    transform: rotate(300deg);
}

/* popThumb */

.popThumb {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    display: none;
}

.popBox {
    max-width: 600px;
    height: 300px;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    position: absolute;
}

.close {
    position: absolute;
    right: 0;
    background:#cccccc;
    padding: 4px 10px;
    color: #fff;
    margin: 5px;
    text-decoration: none;
}

.popThumb img {
    width: 100%;
    border: 1px solid #979797;
}

.popThumb .desc {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    width: 60%;
    font-size: 14px;
    padding: 10px;
    margin: 5px;
}

.popClose {
    width: 100%;
    height: 100%;
}
.popThumbDesk{
    position: absolute;
    width: 270px;
    height: 220px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9;
    border: 5px solid rgb(10, 87, 148);
    border-radius: 6px;
    display: none;
}
.popThumbDesk .imgPan{
    height: 100%;
}
.popThumbDesk .imgPan img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popThumbDesk .desc{
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    font-size: 13px;
    padding: 5px 10px;
    color: #ddd;
    max-height: 100px;
    overflow: hidden;
}
.deskVersion {
    display: block;
}

.mbVersion {
    display: none;
}

/* loader */

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: -1px;
        left: -1px;
        width: 58px;
        height: 58px;
        opacity: 0;
    }
}

/* loader end  */
/*......................................
        chart type 3 end 
 .......................................*/
@media screen and (max-width: 767px) {
    .chartBox,
    .chartHeading {
        float: none;
        margin: 35px auto 0;
    }

    .lagends {
        height: auto;
        width: auto;
        font-size: 16px;
    }
    .chartdiv {
        min-height: 400px;
    }
    .amChartWrap {
        font-size: 16px;
    }
/* chart type 3 mediea */
    .diagram {
        padding: 25px;
    }
    .deskVersion {
        display: none;
    }
    .mbVersion {
        display: block;
    }
    .topWrap,
    .btmWrap {
        width: 320px;
        margin: auto;
        padding: 0 15px;
    }
    .icon {
        margin-top: 1px;
        width: 85px;
        height: 85px;
        box-sizing: border-box;
        padding: 10px;
        border-radius: 100%;
        color: #fff;
        margin-right: 10px;
        background: #465a63;
        display: flex;
        text-align: center;
        align-items: center;
    }
    .segmentWrap {
        width: 142px;
        height: 181px;
        position: relative;
        margin-bottom: 15px;
    }
    .segmentWrap::before {
        width: 20px;
        height: 120%;
        box-sizing: border-box;
        border: 1px solid #979797;
        border-right: 0;
        content: '';
        position: absolute;
        left: -25px;
        top: -10%;
    }
    .segment {
        position: relative;
    }
    .segment .item {
        position: relative;
        left: calc(100% + 40px);
        top: calc(70% - 40px);
    }
    .segment .item .title {
        max-width: 150px;
        display: inline-block;
    }
    .segment .item .icon::before {
        content: '';
        background: #979797;
        position: absolute;
        width: 40px;
        height: 1px;
        left: -40px;
    }
    .segment:first-child .item{
        top: -92px;
    }
    /* .segment:first-child .icon::before {
        width: 50px;
        left: -50px;
    }
    .segment:first-child .item .icon::after {
        content: '';
        background: #979797;
        position: absolute;
        width: 1px;
        left: -50px;
        top: 46px;
        height: 50px;
    } */
    .btmWrap {
        padding-bottom: 100px;
    }
    .circleMb {
        width: 200px;
        height: 200px;
        border-radius: 100%;
        color: #fff;
        display: flex;
        align-items: center;
        background: #239dba;
        z-index: 2;
        position: relative;
    }
    .circleMb:before {
        width: 6px;
        height: 100px;
        display: block;
        bottom: -100px;
        left: 0;
        right: 0;
        content: '';
        margin: 0 auto;
        background: #239dba;
        position: absolute;
    }
    .circleMb p {
        height: 65px;
        margin: 0;
        text-overflow: ellipsis;
        overflow: hidden;
        font-size: 18px;
        letter-spacing: -0.1px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        padding: 0 22px;
        text-align: center;
    }
    .investList {
        padding-bottom: 20px;
        position: relative;
    }
    .investList .item {
        display: flex;
        align-items: center;
        position: relative;
        padding-left: 60px;
    }
    article.item:before {
        position: absolute;
        content: '';
        left: 0;
        width: 60px;
        height: 1px;
        background: #979797;
    }
    .investList .item .icon {
        background: none;
        border: 5px solid #239dba;
        width: 60px;
        height: 60px;
        padding: 0;
    }
    .investList .item .icon img {
        width: 100%;
    }
    .investList:before {
        position: absolute;
        width: 1px;
        height: 100%;
        background: #979797;
        content: '';
        bottom: -35px;
    }
    .investList:after {
        position: absolute;
        left: 0;
        content: '';
        width: 25px;
        height: 1px;
        background: #979797;
        bottom: -35px;
    }
    .popBox {
        max-width: 380px;
    }
/* chart type 3 mediea end */
}

@media screen and (max-width: 568px) {
    .chartWrap {
        padding: 0;
        font-size: 16px;
    }
    .circle .text {
        margin-top: 8px;
    }
}