/**
 * Created by Juan Cruz-Benito on 10/01/16.
 * GRIAL Research Group, University of Salamanca
 */

body {
    font-family: "Lato", Helvetica, sans-serif;
}

svg {
    width: 100%;
    height: 100%;
    position: center;
}

path.slice{
    stroke-width:2px;
}

polyline{
    opacity: .3;
    stroke: black;
    stroke-width: 2px;
    fill: none;
}

.labelValue
{
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 60%;
    opacity: .5;

}

label {
    font-family: "Lato", Helvetica, sans-serif;
    font-weight: normal;
}

.dummy {
    margin-top: 100%;
}
.thumbnail {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    text-align:center;
    padding-top:calc(100% - 3em);
}

.tooltip {
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 15.5px;
    position: absolute;
    display: none;
    width: auto;
    height: auto;
    background: none repeat scroll 0 0 white;
    border: 0 none;
    border-radius: 8px 8px 8px 8px;
    box-shadow: -3px 3px 15px #888888;
    color: black;
    padding: 5px;
    opacity: 1;
    text-align: center;
}

.legend {
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 60%;
}

.legendBig {
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 100%;
}
rect {
    stroke-width: 2;
}
.call-to-action h3 {
    color: #FFF;
}


text {
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 68%;
}

text.label{
    font-size: 70%;
}

.axis text {
    font-family: "Lato", Helvetica, sans-serif;
    font-size: 40%;
}

.axis path{
    fill: none;
    stroke: #000;
}
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.axis .tick line {
    stroke-width: 1;
    stroke: rgba(0, 0, 0, 0.2);
}

.axisHorizontal path{
    fill: none;
}

.axisHorizontal line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.axisHorizontal .tick line {
    stroke-width: 1;
    stroke: rgba(0, 0, 0, 0.2);
}

.bar {
    fill: #35978f;
    fill-opacity: .9;
}

h1, h2, h3, h4, h5, h6 {
   font-family: "Lato", Helvetica, sans-serif;
}

.btn{
    font-family: "Lato", Helvetica, sans-serif;
}

@media (min-width: 768px) {
    text {
        font-size: 11px !important;
    }
    .axis text {
        font-size: 9.5px !important;
    }

    text.label {
        font-size: 9.5px !important;
    }

    .legendLinear text {
        font-size: 9.5px !important;
    }

    #jumbotronBigDonut {
        width: 80%;
        margin: 0 auto;
        background: none;
    }
    #jumbotronBigDoubleDonut {
        width: 100%;
        height: 50%;
        margin: 0 auto;
        background: none;
    }
    #jumbotronBigBars {
        width: 60%;
        margin: 0 auto;
        background: none;
    }

    #jumbotronBigRadar {
        width: 60%;
        margin: 0 auto;
        background: none;
    }
    .grid-big {
        display: block;
    }
    .grid-sm {
        display: none;
    }
}

@media (max-width: 768px) {
    h3 {
        font-size: 140%;
    }
    p {
        font-size: 90%;
    }
    text {
        font-size: 9px !important;
    }
    .axis text {
        font-size: 8.5px !important;
    }
    .x.axis text {
        font-size: 8.5px !important;
    }

    .double-2-text {
        fill: black !important;
    }
    #jumbotronBigDonut {
        width: 100%;
        margin: 0 auto;
        background: none;
    }
    #jumbotronBigDoubleDonut {
        width: 100%;
        height: 50%;
        margin: 0 auto;
        background: none;
    }
    #jumbotronBigBars {
        width: 100%;
        margin: 0 auto;
        background: none;
    }
    #jumbotronBigRadar {
        width: 70%;
        margin: 0 auto;
        background: none;
    }
    .grid-big {
        display: none;
    }
    .grid-sm {
        display: block;
    }
}
