.row {
    max-width: 100%;
}

@font-face {
    font-family: "CircularStd-Black";
    src: url("fonts/CircularStd-Black.woff") format('woff');
}

#main {
    height: 72px;
}

#frontPage {
    /*
    background-color: white;
    radial-gradient(white 90%, transparent 80%);
*//*
    background-size: 101%;
    background-repeat: no-repeat;
    background-image: url("nuorisotilastot.jpg");
    */
    background: url(nuorisotilastot.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

.centeri {
    height: 200px;
    width:300px;
    position: relative;
    border-top: 3px solid #2D6CAF;
    border-bottom: 3px solid #2D6CAF;
}

.centeri p {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*
#frontPage {
position: relative;
}
#frontPage:after {

    content : "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("logo_fi-test.svg");
    width: 100%;
    height: 100%;
    opacity : 0.1;
    z-index: -1;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
*/
.vertical-center {
 /*   position: absolute;*/
    top: 50%;
    transform: translateY(-50%);
  /*  width:80%;*/
}

.footerElem {
    padding-left: 4%;
    padding-top: 1.5%;
    float:left;
}

.footerElem h4 {
    color:#01bdf3;
    font-size: 1.3em;
}



.visSelect {
    position:relative;
    /*
    padding: 2% 10px 2% 15% !important;
    padding:2% 5% 5px 15% !important;*/
    padding-left:1%;
    padding-right:1%;
    cursor: pointer !important;

    float:left;
}

.visSelect .large-2 {
    width:15%;
}
.visSelect .large-3 {
    width:20%;
}
.visSelect .large-7 {
    width:65%;
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.hoveri {
    display:none;
}

.dataInfo {
    display:none;
}

#frontPage h3 {
 /*   font-family: Century Gothic, sans-serif;*/
    color:white;
    font-size: 1.5rem;
}

#frontPage p {
    /*   font-family: Century Gothic, sans-serif;*/
    font-size: 1.1em;
    font-weight: bold;
    color:white;
    margin-bottom: 0;
}

#frontPage .visSelect:hover   {
    /*   font-family: Century Gothic, sans-serif;*/
    background-color:rgba(0,0,0,0.1);
}

#frontPage .visSelect:hover .dataInfo {
    display: block;
}

#frontPage .visSelect:hover h3 {
    /*
    color: #005e79;

    color: darkgrey;
    */
}

#frontPage .visSelect:hover .visTitle {
    /*
    color: #005e79;
*/
    top:15%;
    color: white !important;
}

.dataInfo:hover   {
    /*   font-family: Century Gothic, sans-serif;*/
    display:block
}

#frontPage-footer {
    position:relative;
    width:100%;
  /*  border-top: 15px solid dodgerblue;*/
    height:90px;
    background:white;
}

tspan {
    overflow: visible;
}

svg:not(:root) {
    overflow: visible !important;
}

.highcharts-container {
    overflow: visible !important;
}

header.row {
    padding-top: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid gray;
    height: 67px;
}

header h1 {
    margin-bottom: 0px;
    margin-top: 0;
}

h1 {
    font-family: "CircularStd-Black", Century Gothic, sans-serif;
    font-weight:bold;
}

h2 {
    font-family: "CircularStd-Black", Century Gothic, sans-serif;
    font-weight:bold;
}

h3 {
    font-family: "CircularStd-Black", Century Gothic, sans-serif;
    font-weight:bold;
}

h4 {
    font-family: "CircularStd-Black", Century Gothic, sans-serif;
    font-weight:bold;
}

h5 {
    font-family: "CircularStd-Black", Century Gothic, sans-serif;
    font-weight:bold;
}

#s2id_select-vis .select2-choice {
    height: 36px;
    max-width:187px;
    min-width:100px;
    padding: 3px 3px 3px 3px;
}

#title-row {
    max-width: 45% !important;
}

@media only screen and (min-width: 65em) {
    .map {
        border-right: 1px solid grey;
    }

}

.map-sidebar {
    border-right: 1px dotted grey;
    margin-top: 15px;
}

.mainTitle {
    cursor: pointer;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
    float: left;
}
.subTitle {
 /*   padding-left:3px;*/
    float: left;
    color: #2D6CAF;
    /*   left:-8px;*/
    position: relative !important;
    font-size: 1.5rem;
    /*font-size: 80%;*/
}

.mobile-button {
    opacity:0;
}

#menuDiv {
    z-index:10;
}

/*
#vividin-logo {
    position: absolute;
    bottom: -13px;
    left: 2px;
}
*/
#vividin-logo {
    list-style: none;
    position: absolute;
    right: 4px;
    top: 10px;
    z-index: 1000;
}

#vividin-logo img {
    /*   max-height: 40px;*/
    max-height: 35px;
    width: auto;
}

.joyride-content-wrapper a.ui-link:link,
.joyride-content-wrapper a.ui-link:hover,
.joyride-content-wrapper a.ui-link:focus,
.joyride-content-wrapper a.ui-link:visited {
    color: black;
}

#joyride8 {
    top: 40%;
}

#logo-holder {
    float: left;
    padding-right: 8px
}

#logo-holder img {
    height: 50px;
}

#logo-holder2 {
    float: left;
    padding-right: 15px;
    padding-top: 4px;
}

#logo-holder2 img {
    height: 45px;
}

#logo-holder3 {
    float: right;
    padding-top: 4px;
}

#logo-holder3 img {
    height: 50px;
}
/*
@media only screen and (max-width: 1000px) {
    html, body, text {
        font-size: 65% !important;
    }

    #logo-holder {
        float: left;
        padding-right: 8px
    }

    #logo-holder img {
        height: 30px;
    }

    #logo-holder2 {
        float: left;
        padding-right: 15px;
        padding-top: 4px;
    }

    #logo-holder2 img {
        height: 25px;
    }

    #logo-holder3 img {
        height: 25px;
    }
}
*/
#palvelutHamburger {
    width:100px;
  /*  left:10px;*/
}


@media only screen and (max-width: 1024px)/* and (min-width: 1000px)*/ {
    html, body, text, tspan {
        /*font-size: 70% !important;*/
        font-size: 80% !important;
    }

    .button {
        font-size:0.8rem !important;
    }

    h3 {
        line-height: 1.2 !important;
        font-size: 1.1875rem !important;
    }

    #kuntanames {
        font-size:1.4rem !important;
    }

    .highcharts-title {
        /*font-size: 75% !important;*/
        font-size: 110% !important;
    }

    #frontPage {
        background: url(nuorisotilastot.jpg) no-repeat center center fixed !important;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
        background-size: cover !important;
    }

    #frontPage .button {
        /*   font-family: Century Gothic, sans-serif;*/
        padding:1rem !important;
    }

    #mainTitle-fi {
        font-size: 1.1rem !important;
        left: -13px !important;
    }
    #mainTitle-en {
        font-size: 1.1rem !important;
        left: -13px !important;
    }
    #mainTitle-se {
        font-size: 0.9rem !important;
        left: -13px !important;
    }

    #separator {
        left:-0.5rem !important;
        font-size: 1.1rem;
        font-weight: normal;
    }

    #subTitle-fi {
        font-size: 1.1rem !important;
    }
    #subTitle-en {
        font-size: 1.1rem !important;
    }
    #subTitle-se {
        font-size: 0.9rem !important;
    }

    #halfdonutLogo {
        top: 8%;
        height: 85%;
        width: auto;
    }

    #sharerDiv {
        width:7% !important;
        padding-top: 5px !important;
    }

    #menuDiv {
        width:12% !important;
        /*       padding-top: 14px !important; */
    }

    #langDiv {
        width:6.5%!important;
    }

    #dataDiv {
        width:17%!important;
    }

    #titleDiv {
        width:52.5%!important;
    }
    #logoDiv {
        width:29%!important;
    }
    #okm {
        max-height: 40px !important;
    }

    #aviSv {
        max-height: 28px !important;
    }
    #aviFi {
        max-height: 33px !important;
    }

    #s2id_select-vis .select2-choice {
        height: 36px;
        width:135px;
        padding: 3px 3px 3px 3px;
    }

}
/* iPad */
@media only screen and (max-width: 1200px) and (min-width: 1024px) {
    html, body, text, tspan {
        /*font-size: 70% !important;*/
        font-size: 80% !important;
    }

    .button {
        font-size:0.8rem !important;
    }

    h3 {
        line-height: 1.2 !important;
        font-size: 1.4875rem !important;
    }

    #kuntanames {
        font-size:1.4rem !important;
    }

    .highcharts-title {
        /*font-size: 75% !important;*/
        font-size: 110% !important;
    }

    #frontPage {
        background: url(nuorisotilastot.jpg) no-repeat center center fixed !important;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
        background-size: cover !important;
    }

    #mainTitle-fi {
         font-size: 1.2rem;
        left: -15px !important;
     }
    #mainTitle-en {
        font-size: 1.2rem;
        left: -15px !important;
    }
    #mainTitle-se {
        font-size: 0.95rem;
        left: -15px !important;
    }

    #subTitle-fi {
        font-size: 1.2rem;
    }
    #subTitle-en {
        font-size: 1.2rem;
    }
    #subTitle-se {
        font-size: 0.95rem;
    }

    #separator {
        left:-0.5rem !important;
        font-size: 1.2rem;
    }

    #halfdonutLogo {
        top: 8%;
        height: 85%;
        width: auto;
    }

    #sharerDiv {
        width:7% !important;
        padding-top: 5px !important;
    }

    #menuDiv {
        width:11% !important;
 /*       padding-top: 14px !important; */
    }

    #langDiv {
        width:9.5%!important;
    }

    #dataDiv {
        width:17%!important;
    }

    #titleDiv {
        width:50.5%!important;
    }
    #logoDiv {
        width:29%!important;
    }
    #okm {
        max-height: 45px !important;
    }

    #aviSv {
        max-height: 32px !important;
    }
    #aviFi {
        max-height: 40px !important;
    }

    #s2id_select-vis .select2-choice {
        height: 36px;
        width:165px;
        padding: 3px 3px 3px 3px;
    }

}

@media only screen and (max-width: 1350px) and (min-width: 1200px) {
    html, body, text, tspan {
        /*font-size: 75% !important;*/
        font-size: 85% !important;
    }

    .button {
        font-size:0.8rem !important;
    }

    h3 {
        line-height: 1.2 !important;
        font-size: 1.4875rem !important;
    }

    #kuntanames {
        font-size:1.4rem !important;
    }

    #mainTitle-fi {
        font-size: 1.4rem;
    }
    #mainTitle-en {
        font-size: 1.4rem;
    }
    #mainTitle-se {
        font-size: 1.1rem;
    }

    #subTitle-fi {
        font-size: 1.4rem;
    }
    #subTitle-en {
        font-size: 1.4rem;
    }
    #subTitle-se {
        font-size: 1.1rem;
    }

    #separator {
        left:-0.6rem !important;
        font-size: 1.4rem;
    }

    .highcharts-title {
        /*font-size: 75% !important;*/
        font-size: 105% !important;
    }

    #dataDiv {
        width:18%!important;
    }
    #sharerDiv {
        padding-top: 5px !important;
    }

    #menuDiv {
/*        padding-top: 10px !important;*/
    }
/*
    #titleDiv {
        width:28%!important;
    }
*/
    #okm {
        max-height: 48px !important;
    }

    #aviSv {
        max-height: 36px !important;
    }
    #aviFi {
        max-height: 43px !important;
    }
}

@media only screen and (max-width: 1500px) and (min-width: 1350px) {
    html, body, text, tspan {
        /*font-size: 75% !important;*/
        font-size: 90% !important;
    }

    h3 {
        line-height: 1.2 !important;
        font-size: 1.4575rem !important;
    }

    #kuntanames {
        font-size:1.4rem !important;
    }

    #mainTitle-fi {
        font-size: 1.45rem;
    }
    #mainTitle-en {
        font-size: 1.45rem;
    }
    #mainTitle-se {
        font-size: 1.15rem;
    }

    #subTitle-fi {
        font-size: 1.45rem;
    }
    #subTitle-en {
        font-size: 1.45rem;
    }
    #subTitle-se {
        font-size: 1.15rem;
    }

    #separator {
        left:-0.6rem !important;
        font-size: 1.5rem;
    }

    .highcharts-title {
        /*font-size: 75% !important;*/
        font-size: 110% !important;
    }

    #aviSv {
        max-height:40px !important;
    }

    #okm {
        max-height: 53px !important;
    }

    #aviFi {
        max-height: 48px !important;
    }
}

@media only screen and (max-width: 1650px) and (min-width: 1500px) {
    html, body, text, tspan {
        /*font-size: 80% !important;*/
        font-size: 95% !important;
    }



    #mainTitle-fi {
        font-size: 1.4rem !important;
    }

    #mainTitle-se {
        font-size: 1.2rem !important;
    }

    #mainTitle-en {
        font-size: 1.4rem !important;
    }

    #subTitle-fi {
        font-size: 1.4rem !important;
    }

    #subTitle-se {
        font-size: 1.2rem !important;
    }

    #subTitle-en {
        font-size: 1.4rem !important;
    }

    .highcharts-title {
        /*font-size: 75% !important;*/
        font-size: 110% !important;
    }

    #logo-holder {
        float: left;
        padding-right: 8px
    }

    #logo-holder img {
        height: 40px;
    }

    #logo-holder2 {
        float: left;
        padding-right: 15px;
        padding-top: 4px;
    }

    #logo-holder2 img {
        height: 40px;
    }

    #logo-holder3 img {
        height: 40px;
    }
}

@media only screen and (max-width: 1800px) and (min-width: 1650px) {
    html, body, text, tspan {
        font-size: 100% !important;
    }



    .highcharts-title {
        /*font-size: 75% !important;*/
        font-size: 110% !important;
    }

    #logo-holder {
        float: left;
        padding-right: 8px
    }

    #logo-holder img {
        height: 45px;
    }

    #logo-holder2 {
        float: left;
        padding-right: 15px;
        padding-top: 4px;
    }

    #logo-holder2 img {
        height: 40px;
    }

    #logo-holder3 img {
        height: 45px;
    }
}


html, body, text {
    /*font-size: 100% !important;*/
	text-shadow: none !important;
}

#topper {
    /*height: 725px;
    width: 1500px;*/
    width: 100%;
    height: 6%;
    display: table;
    /*	height: calc(100% - 35px); */
    position: absolute;
    margin: 0 auto;
    /*	padding: 0px 5px 0px 5px; */
    float: left;
    padding: 0;
    /*	border: 1px solid silver; */
}

#topper h4 {
    float: left;
    height: 100%;
    padding-right: 2%;
    font-size: 2em;
    font-family: Century Gothic, sans-serif;
    /*	text-decoration: underline; */
}

/*
#topper h5 {
	float: left;
	height: 100%;
	font-size: 1.5em;
	font-family: "Times New Roman", Times, serif;
	padding-right: 2%;
}
*/
#topper .ui-select {
    float: left;
    margin-left: 10px;
    width: 25%;
    top: 0;
    position: relative;
    height: 100%;
}

#database {
    width: 50%;
    float: left;
    display: table;
    position: relative;
    height: 100%;
    vertical-align: middle;
}

#database h5 {
    font-size: 1.5em;
    font-family: "Times New Roman", Times, serif;
    float: left;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    margin-top: 1.5%;
}

#wrapper {
    /*height: 725px;
    width: 1500px;*/
    width: 100%;
    height: 94%;
    /*	height: calc(100% - 35px); */
    position: absolute;
    margin: 0 auto;
    float: left;
    /*	padding: 0px 5px 0px 5px; */
    padding: 0;
    /*	border: 1px solid silver; */
    top: 6%;
}

#map-and-choose {
    /*	float: left; */
    height: 100%;
    width: 50%;
    margin: 0;
    position: absolute;
    left: 0%;
    /*position: relative;
    padding: 0 0 20px 0;
        height: 725px;

        border-style: solid;
        border-color: silver;
        border-width: 1px 1px 1px 1px;*/
    display: table-row;
}

#map-container {
    z-index: 2;
    position: relative;
    width: 100%;
    height: 100%;
}

#map-choose2 {
    position: absolute;
    top: 0;
    margin: 0;
    left: 0;
    padding: 10px 15px;
}

#map-choose2 .ui-slider-track .ui-btn.ui-slider-handle {
    top: -50%;
}

#map-choose2 .ui-controlgroup, fieldset.ui-controlgroup {
    margin: 0;
    z-index: 5000;
}

#map-choose2 .ui-checkbox input, .ui-radio input {
    position: absolute;
    /*	left: 0;
        top: 0;
        width: 0;
        height: 0;
        margin: 0;
        outline: 0; */
}

#map-choose2 input[type="radio"], select {
    margin: 0;
}

#map-choose2 .ui-btn {
    /*	float: left;
        margin: 0.2em 0px 0.2em 5px;
        vertical-align: middle;
        width: 20%;
        font-size: 1em; */
    position: relative;
    margin: 0;
    height: 100%;
    max-height: 30px;
    padding: 0;
}

#settings {
    margin-top: 10px;
    margin-bottom: 10px;
}

#koulu-map-buttons {
    margin-top: 11px;
    margin-bottom: 10px;
    padding-bottom: 3px;
    padding-top: 10px;
}

#settings #row {
    border-radius: 6px;
}

.sideByside {
    width: 100%;
    float: left;
}

#bar-and-info-container {
    /*	float: left; */
    position: absolute;
    left: 50%;
    height: 100%;
    width: 50%;
    margin: 0;
    border-style: solid;
    border-color: silver;
    border-width: 1px 1px 1px 1px;
}

#bar-settings {
    width: 100%;
    height: 8%;
    float: left;
    display: table;

    /*	resize: vertical;
        overflow: scroll; */
}

#bar-container {
    width: 100%;
    height: 90%;
    float: left;
    /*	resize: vertical;
        overflow: scroll; */
}

#general-container {
    width: 100%;
    height: 90%;
    float: left;
    background:white;
    display: none;
    /*	resize: vertical;
        overflow: scroll; */
}

#heatmap {
    width: 100%;
    height: 90%;
    float: left;
    /*	resize: vertical;
        overflow: scroll; */
}

#kouluChart {
    width: 100%;
    height: 90%;
    float: left;
    /*	resize: vertical;
        overflow: scroll; */
}

#donut-container {
    width: 100%;
    height: 100%;
    float: left;
    /*	border: 1px solid silver;
            resize: vertical;
            overflow: scroll; */
}

#avustukset-barcontainer {
    height: 94%;
}

#avustukset-info {
    height: 95%;
    max-width:100%;
    overflow-y: scroll;
}

.basicbar {
    width: 33%;
    float: left;

}

.barYesNo {
    width: 33%;
    float: left;
    border: solid black 1px
}
/*
#kuntaInfo {
    visibility: hidden;
    height:0;
}
*/
@media only screen and (max-width: 900px) {
    #bar-container {
        height: auto;
    }

    #bar-and-info-container {
        position: static;
        height: auto;
        width: 100%;
    }

    #map-and-choose {
        width: 80%;
    }

}

#kunta-container {
    /*	height: calc(100% - 45px); */
    height: 95%;
    width: 95%;
    border-width: 0;
    padding-right: 45px;
}

#pepa2019-container {
    display:none;
}

/*
#country-chart {
	float: left;
	width: 100%;
	height: 50%;
	border: 1px solid silver;
} */


#info h2 {
    margin-bottom: 3px;
}

#info .f32 .flag {
    vertical-align: bottom !important;
}

#info h4 {
    margin: 1em 0 0 0;
}

/*
#slider1 {
	width: 100%;
	z-index: 3000;
} */
#topper legend {
    float: left;
    left: 0;
    width: 25%;
    font-weight: bold;
    /*	margin-top: 0.55em; */
    position: relative;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    margin-top: 1.5%;

}

#settings legend {
    float: left;
    left: 0;
    width: 25%;
    font-weight: bold;
    margin-top: 0.55em;
    position: relative;

}

.element {
    position: relative;
    -moz-user-select: none;
    box-sizing: border-box;
    min-height: 20px;
    margin-left: auto;
    margin-right: auto;
}

.nappulat {
    /*float: left; */
    width: 100%;
    padding-top: 0px;
    padding-left: 0px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.ui-select {
    display: block;
    position: relative;
    width: 100%;
}

.ui-select .ui-btn select {
    cursor: pointer !important;
    left: 0px !important;
    top: 0px !important;
    width: 100% !important;
    min-height: 100% !important;
    height: 3em !important;
    max-height: 100% !important;
    opacity: 0 !important;
}

.slider-button legend {
    margin-left: auto;
    margin-right: auto;
}

.buttonsx legend {
    margin-left: auto;
    margin-right: auto;
}

.buttonsx {
    /*
    border: 1px solid #CCC;
background: linear-gradient(#FFF, #F1F1F1) repeat scroll 0% 0% #EEE;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 1em;
    */
    font-weight: bold;
    /*line-height: 2; */
    color: #222;
    text-shadow: 0px 1px 0px #FFF;
    display: block;
    cursor: pointer;
    position: relative;
    margin: 0.5em 0px;
    padding: 0px;

    /*height: 80px; */
    z-index: 2;
}

/*
.ui-icon-gear {
	background-position: -288px !important;
	background-image: url("icons-18-white.png") !important;
}
*/
.ui-icon-arrow-d {
    background-position: -241.1px 50%;
}

.slider-button {
    /*
    border: 1px solid #CCC;
    background: linear-gradient(#FFF, #F1F1F1) repeat scroll 0% 0% #EEE;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 1em;
    */
    font-weight: bold;
    line-height: 2.1;
    color: #222;
    text-shadow: 0px 1px 0px #FFF;
    display: block;
    text-align: center;
    cursor: pointer;
    position: relative;
    margin: 0.5em 0px;
    padding: 0px;
    /*	height: 65px; */
    height: auto;
    z-index: 2;
}

.slider-button .ui-btn {
    height: 30px !important;
    line-height: none;
    padding: 0;
}

.slider-button .ui-btn-inner {
    line-height: none;
    padding: 0;
}

#linkki {
    bottom: 0;
    top: 100%;
    left: 50%;
    text-decoration: none;
    font-size: 16px;
    /*	letter-spacing:-1px; */
    letter-spacing: 1px;
    /*	font-family: verdana, helvetica, arial, sans-serif; */
    color: black;
    /*	height: 60px; */
    padding: 20px 40px 20px 15px;
    font-weight: 700;
    /*	background:#333333 url(http://spyrestudios.com/demos/sliding-panel-right/images/plus.png) 85% 55% no-repeat; */
    background: #fff url(minus.png) 90% 55% no-repeat;
    border: 1px solid #444444;
    -moz-border-radius-topleft: 12px;
    -webkit-border-top-left-radius: 12px;
    -moz-border-radius-bottomleft: 12px;
    -webkit-border-bottom-left-radius: 12px;
    -moz-border-radius-bottomright: 0px;
    -webkit-border-bottom-right-radius: 0px;
    display: block;
}

.about {
    width: 40%;
    float: left;
    /*	margin:30px 0 0 20px; */
}

.about .profile-photo {
    float: left;
    padding: 24px 15px 0 20px;
}

.about h1 {
    margin: 20px 0 0 0;
    color: black;
    font-weight: bold;
    line-height: 36px;
    font-size: 1.7em;
}

.about h3 {
    font-size: 16px;
    color: black;
    margin-top: 11px;
    font-style: italic;
    line-height: 18px;
}

.about p {
    font-size: 13px;
    color: black;
    margin: 15px 0 0 0;
    line-height: 20px;
}

.basic-info {
    width: 50%;
    float: left;
    margin: 10px 0 0 0;
    padding: 10px 0 0 10px;
    /*	min-height:240px; */
    margin-left: 10px;
}

.basic-info li {
    list-style: none;
    font-size: 12px;
    margin: 0 0 5px 0;
    overflow: hidden;
}

.basic-info li label {
    color: black;
    float: left;
    padding: 4px 7px;
    font-weight: bold;

}

.basic-info li h3 {
    font-size: 18px;
    font-weight: bold;
    color: black;
    margin: 0;
    padding: 0;
}

.basic-info li span {
    width: 170px;
    color: black;
    float: right;
    font-weight: bold;
}

/*
.piilo-ohje {
	visibility: hidden;
	height: 0;
}
*/
#ohje {
    position: absolute;
    top: 6%;
    height: 94%;
    width: 100%;
    /*	background-color: black;
        opacity: 0.7;
        filter: alpha(opacity=70);*/
    z-index: 1000;
    color: white;
    font-weight: bold;
}

#ohje h1 {
    color: black;
    padding: 4px;
    /*	 text-align: center; */
}

#ohje p {
    color: black;
    padding: 2px;
    /*	text-align: center; */
}

/*
    #hiiri img {
        left: 30%;
        top: 60%;
        float:left;
    } */
#karttaohje {
    width: 15%;
    left: 10%;
    top: 50%;
    position: absolute;
    background: white;
    border-color: #000000;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px
}

#hiiriohje p {
    float: left;
    width: 30%;
}

#hiiriohje img {
    float: left;
}

#latausohje {
    width: 15%;
    right: 1%;
    top: 20%;
    position: absolute;
    background: white;
    border-color: #000000;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px
}

#left-panel-ohje {
    left: 15%;
    top: 3%;
    width: 15%;
    position: absolute;
    text-align: left;
    background: white;
    border-color: #000000;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px
}

#upperright {
    left: 34%;
    top: 0%;
    width: 17%;
    position: absolute;
    background: white;
    border-color: #000000;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px
}

#madeBy {
    position: absolute;
    right: 5px;
    bottom: 5px;
    background: white;
    border-color: #000000;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px
}

#loading {
    z-index: 8900;
    display: table;
}

#loading-image {
    z-index: 8950;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.quarterChart {
    width: 50%;
    float: left;
    padding-bottom:20px;

}
.quarterChart

#vaakuna {
    float: left;
    display: block;
    margin: 10px 15px 10px 10px;
}

.panel.nobackground {
    background: transparent;
}

.panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p {
    color: #111;
}

#profile {
    margin-bottom: 10px;
}

@media only screen and (min-width: 64em) {
    .emptySelection {
        position: relative;
        background: #F1F1F1;
        border: 3px solid #D7D7D7;
    }

    .emptySelection:after, .emptySelection:before {
        right: 100%;
        top: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .emptySelection:after {
        border-color: rgba(241, 241, 241, 0);
        border-right-color: #F1F1F1;
        border-width: 30px;
        margin-top: -30px;
    }

    .emptySelection:before {
        border-color: rgba(215, 215, 215, 0);
        border-right-color: #D7D7D7;
        border-width: 34px;
        margin-top: -34px;
    }

    .emptyStatSelection {
        margin-top: 30px;
        position: relative;
        background: #F1F1F1;
        border: 3px solid #D7D7D7;
    }

    .emptyStatSelection:after, .emptyStatSelection:before {
        bottom: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .emptyStatSelection:after {
        border-color: rgba(241, 241, 241, 0);
        border-bottom-color: #F1F1F1;
        border-width: 30px;
        margin-left: -30px;
    }

    .emptyStatSelection:before {
        border-color: rgba(215, 215, 215, 0);
        border-bottom-color: #D7D7D7;
        border-width: 34px;
        margin-left: -34px;
    }

    .chart {
        overflow-y: auto;
    }
}

@media only screen and (max-width: 64em) {
    .emptySelection {
        margin-top: 30px;
        position: relative;
        background: #F1F1F1;
        border: 3px solid #D7D7D7;
    }

    .emptySelection:after, .emptySelection:before {
        bottom: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .emptySelection:after {
        border-color: rgba(241, 241, 241, 0);
        border-bottom-color: #F1F1F1;
        border-width: 30px;
        margin-left: -30px;
    }

    .emptySelection:before {
        border-color: rgba(215, 215, 215, 0);
        border-bottom-color: #D7D7D7;
        border-width: 34px;
        margin-left: -34px;
    }

    .emptyStatSelection {
        margin-top: 30px;
        position: relative;
        background: #F1F1F1;
        border: 3px solid #D7D7D7;
    }

    .emptyStatSelection:after, .emptyStatSelection:before {
        bottom: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .emptyStatSelection:after {
        border-color: rgba(241, 241, 241, 0);
        border-bottom-color: #F1F1F1;
        border-width: 30px;
        margin-left: -30px;
    }

    .emptyStatSelection:before {
        border-color: rgba(215, 215, 215, 0);
        border-bottom-color: #D7D7D7;
        border-width: 34px;
        margin-left: -34px;
    }
}

.alert-box.info {
    padding-left: 45px;
    min-height: 55px;
}

.alert-box.info::before {
    display: block;
    content: "!";
    width: 50px;
    height: 50px;
    font-size: 2rem;
    position: absolute;
    top: 10px;
    left: 20px;
    font-weight: bolder;
    color: #4A7893;
}
/*
#sharer {
    list-style: none;
    padding-top: 10px;
    z-index: 97;
}

#sharer a.ui-btn {
    padding-top: 0;
    padding-bottom: 0;
}

#sharer li {
    float: left;
    position: relative;

}

#sharer a {
    display: block;
    text-decoration: none;
    color: #595959;
    padding: 5px 10px;
    z-index: 1000;
}

#sharer ul {
    list-style: none;
    position: absolute;
    left: -9999px;
    z-index: 1000;
    margin-left: 0 !important;
}


#sharer ul li {
    float: none;
}

#sharer li:hover ul {
    left: 0;
    margin-left: 5px;
    z-index: 1000;
}

#sharer li:hover ul li a {
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !important;
}

#sharer li:hover ul li a:hover {
    background-color: #ddd;
}
*/
ul {
    margin-left: 0 !important;
}
#language {
    list-style: none;
 /*   position: absolute;
    right: 15%;*/
    position:relative;top:50%;transform: translateY(-50%);
    float:left;
}

#language li {
    float: left;
    position: relative;
}

#language a {
    text-decoration: none;
    padding: 10px 5px;
    font-size: .7em;
}
/*
.hide-fi {
    display: none !important;
}
.hide-se {
    display: none !important;
}
.hide-en {
    display: none !important;
}
*/
.fullscreen {
    z-index: 9000;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 150px 100px;
}

/* Dropdown Button */
.dropbtn1 {
    color: white !important;
    padding: 16px !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;

}

/* The container <div> - needed to position the dropdown content */
.dropdown1 {
    position: relative !important;
    display: inline-block !important;
    width:100%;
    top: 50%;
    transform: translateY(-50%);
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content1  {
    display: none;
    position: absolute !important;
    background-color: #f9f9f9 !important;
    min-width: 160px !important;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !important;
    z-index: 200 !important;
}

.dropdown-content2  {
    display: none;
    position: absolute !important;
    background-color: #f9f9f9 !important;
    min-width: 160px !important;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !important;
    z-index: 200 !important;
}

/* Links inside the dropdown */
.dropdown-content1 a {
    color: black !important;
    padding: 12px 16px;
    text-decoration: none !important;
    display: block !important;
}

.dropdown-content2 a {
    color: black !important;
    padding: 12px 16px;
    text-decoration: none !important;
    display: block !important;
}
/*
.dropdown-content1 a:first-child {
    background-color: yellow;
}
*/

.dropdown-content1 a:first-child:hover .dropdown-content2   {
    display: block;
    z-index: 201;
}

#changeVis:hover ul  {
    display: block;
    z-index: 201;
}

/* Change color of dropdown links on hover */
.dropdown-content1 a:hover {
    background-color: #ddd; !important
}

.dropdown-content2 a:hover {
    background-color: #ddd; !important
}

/* Show the dropdown menu on hover */
.dropdown1:hover .dropdown-content1 {
    display: block;
}



/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown1:hover .dropbtn1 {
/*    background-color: #3e8e41 !important;*/
}
#menuDiv .main-navigation {
position: absolute !important;
background-color: #f9f9f9 !important;
min-width: 160px !important;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !important;
z-index: 200 !important;
}
#menuDiv .dropdown1:hover .main-navigation {
    display: block;
}

#menuDiv ul {
    display:none;
    list-style: none;
    padding: 0;
    margin: 0;
    color: white !important;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !important;
}

#menuDiv ul li {
    display: block;
    position: relative;
    float: left;
    z-index:200;
    width:100%;
}
#menuDivli ul { display: none; }



#menuDiv ul li a {
    display: block;
    padding: 1em;
    text-decoration: none;
    white-space: nowrap;
    color: black;
    z-index:200;
}

#menuDiv ul li a:hover { background: #ddd; !important }

#menuDiv li:hover > ul {
    display: block;
    position: absolute;
    z-index:200;
}

#menuDiv li:hover li { float: none; }

#menuDiv li:hover ul {
background-color: #f9f9f9 !important;
}
/*
#menuDiv li:hover li a:hover { background: #ddd; !important }
*/
#menuDiv .main-navigation li ul li { border-top: 0; }

#menuDiv ul ul {
    left: 100%;
    top: 0;
    z-index:200;
}
#menuDiv ul:before,
#menuDiv ul:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

#menuDiv ul:after { clear: both; }

.search-input {
    /*
    position: absolute;
    right: 10px;
    top: 0.4rem;
    width:50px;
    height:30px;
    */
}
/*
.search-input .search-btn {
    position: absolute;
    top: 0;
    right: .9375em;
    bottom: 0;
    margin: auto;
    background-image: url("magnifying-glass.png");
    width: 22px;
    height: 20px;
    z-index: 2;
}
*/
.tftextinput2 {
    font-size: 0.9em !important;
    border: 1px solid #cccccc !important;
    border-radius: 7px;
    height: 30px !important;
}

#avustukset-barcontainer g {
    opacity:1;
}
#avustukset-settings {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    padding-top: 10px;

}

#avustukset-settings .ui-controlgroup, fieldset.ui-controlgroup {
    margin: 0;
    z-index: 5000;
}


.kuva img {
  /*  max-height: 300px;*/
}

#logo {
    background-image: url("logoluonnos.svg");
    width:auto;
    height:70px;
    background-repeat: no-repeat;
    cursor:pointer;
}
h3 {
    opacity:1 !important;
}

#mainTitle-fi {
    position: relative !important;
    top: 50%;
    transform: translateY(-50%);
    float: left;
    left: -19px;
    color: #2D6CAF;
    font-weight: normal !important;
}

#mainTitle-en {
    position: relative !important;
    top: 50%;
    transform: translateY(-50%);
    float: left;
    left: -19px;
    color: #2D6CAF;
    font-weight: normal !important;
}

#mainTitle-se {
    position: relative !important;
    top: 50%;
    transform: translateY(-50%);
    float: left;
    left: -19px;
    color: #2D6CAF;
    font-weight: normal !important;
}
#halfdonutLogo {
    left: 0;
    position: relative;
    float: left;

}
#separator {
    /*font-family: "Helvetica Narrow","Arial Narrow",Tahoma,Arial,Helvetica,sans-serif;*/
    font-weight: 100;
    color: #739DCA;
    left:-0.6rem;
}
#avustukset-barcontainer-parent {
    border-right: 1px dotted grey;
    margin-top: 5px;

}
#avustukset-barcontainer .highcharts-xaxis-labels text {
    text-decoration: none !important;
    font-weight: bolder !important;
    cursor: pointer !important;
    fill: #404040 !important;
}
#avustukset-barcontainer .highcharts-xaxis-labels tspan {
    text-decoration: none !important;
    font-weight: bolder !important;
    cursor: pointer !important;
    fill: #404040 !important;
}

#avustukset-barcontainer .highcharts-drilldown-data-label text {
    text-decoration: none !important;
    font-weight: normal !important;
}

#avustukset-barcontainer .highcharts-data-labels text {
    visibility: hidden;
}
#avustukset-barcontainer .highcharts-data-labels span {
    visibility: hidden;
}

#avustukset-info table {
    border: none !important;
}

.otherstatrow img {
    margin-top:0 !important;
}

.otherstatrow p {
     display: inline-block;
     vertical-align: middle;
     line-height: normal;
    margin-bottom: 0;
 }
.otherstatrow {
    border: 1px solid white;
}
.verticalCenter {
    border: 1px solid white;
    top: 50%;
    transform: translateY(-50%);
}
.horizontalCenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#otherStatsModal .row {
    border-bottom: dotted 1px black
}
.modalFix {

    max-height: 90% !important;
  /*  top: 5%!important;*/

    top: 5% !important;
}
.modalContent {
    height:100%;
    overflow-y:scroll;
}

.magnifyingGlass {
    z-index:1;
    white-space: normal;
    margin-top: 25%;
}
.highcharts-tooltip span {
    background-color: white;
    opacity: 1;

    z-index: 9999 !important;
}
.highcharts-tooltip {
    background-color: white;
    opacity: 1;
    margin-left: -3px;
    z-index: 9999 !important;
}

.play {
    background-image: url("images/play200.png");
    z-index:10000;
    position: absolute;
    top: 80px;
    padding: 12px;
    left: 174px;
    opacity: .5;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;

}
.play:hover
{
    opacity: 0.8;
    -webkit-filter: brightness (0.8);
}

#pajakuva {
    float:left;
}
#tubeParent {
    float:left;
}



.hamburgerParent {
    position: absolute;
    right:10px;
    top: 28px;
    height:23px;
    width:85px;
    cursor:pointer;
}
.hamburger {
    padding-left:3px;
    padding-right:3px;
    padding-top:4px;
    float:left;
}

.hamburgerParent:hover {
    background: #ACCEFF; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(white, #ACCEFF); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(white, #ACCEFF); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(white, #ACCEFF); /* For Firefox 3.6 to 15 */
    background: linear-gradient(white, #ACCEFF); /* Standard syntax */
    border: solid 1px #6688AA;
    border-radius: 2px;
}

#allSources table {
    border-collapse: collapse;
    border: 2px black solid;
    font: 12px sans-serif;
}


#allSources tr:nth-child(even) {background: #CCC}


#allSources td {
    border: 1px black solid;
    padding: 5px;
}
.sourcesModal {
    width:100% !important;
    top: 0 !important;
    left:0 !important;
    margin-left:0 !important;
}
.osallistuminen {
    display:none;
}

.smaller {
    font-size: 146% !important;
}
.smaller2 {
    font-size: 130% !important;
}
.smaller3 {
    font-size: 125% !important;
}

/* Tooltip container */
.tooltipper {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltipper .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltipper .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltipper:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.centerCell {
    width:100px;
    text-align: center;
}

#dataTable {
    width:80%;
    margin-left:11%;
    margin-right:9%;
    top: 80px;
    position:relative;
}
.asterix {
    height:100px;
    width:100%;
    color:red;
    background: green;
}

.smallChart {
    width:50%;
    padding-bottom: 20px;
    float:left;
}
.data-info-icon {
    float:right !important;
}

.fa-info {
    color: #008CBA;
}
/*
input[type=radio] {
    position: absolute;
    visibility: hidden;
    display: none;
}
label {
    color: #9a929e;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    padding: 5px 20px;
}
input[type=radio]:checked + label {
    color: #ccc8ce;
    background: #675f6b;
}
label + input[type=radio] + label {
    border-left: solid 3px #675f6b;
}
.radio-group {
    border: solid 3px #675f6b;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
}
.ui-radio {
    float:left;
}
*/

.ui-select .ui-btn-inner {
    display:none;
}
.ui-page .ui-body-c .ui-page-active {
    background:white !important;;
}

.easy-autocomplere {
    visibility: hidden;
}

.dropper .ui-btn-up-c  {
    border:0;
}

.dropper .ui-btn-hover-c {
    border:0;
}

.selection {
    background: #eee;
    background-image: linear-gradient( #fff , #f1f1f1 );
    text-align: left;
    font-weight: normal;
}
