.top-bar {
    margin-top: -7px;
}

#ylapalkki {
    text-align: center;
    margin-top: 15px;
    margin-left: 10%;
}

ul.button-group li a,
ul.button-group li a:hover,
ul.button-group li a:focus {
    background-color: #333333;
    padding: .5rem 1.5rem .5rem;
}

.button-group {
    margin:0 auto;
    display:block;
    left:300px;
}

ul.button-group li:first-child a {
    border-radius: 3px 0 0 3px;
}

ul.button-group li:last-child a {
    border-radius: 0 3px 3px 0;
}
/*
.button-group .button {
    */
.button-group .button {
    border-bottom-color: rgba(255, 255, 255, 0.3);
    border-left-color: rgba(255, 255, 255, 0.3);
    border-right-color: rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 0.3);
    border-top-style: solid;
    border-top-width: 1px;
    box-sizing: border-box;
    color: rgb(34, 34, 34);
    cursor: pointer;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 700;
    line-height: 15.8px;
    /*min-width: 9em;*/
    font-size: 15px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
  /*  padding-bottom: 6.31667px;
    padding-left: 9.48333px;
    padding-right: 9.48333px;
    padding-top: 6.31667px;*/
    padding: .5rem 1.5rem .5rem;
    position: relative;
    text-align: center;
    text-overflow: ellipsis;
    /*text-shadow: rgb(255, 255, 255) 0px 1px 0px;*/
    white-space: normal;

    border: 1px solid #ccc !important;
    background: #eee;
    background-image: none;
    background-clip: border-box;
    font-weight: bold !important;
    color: #222 !important;
    text-shadow: 0 1px 0 #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, from( #fff ), to( #f1f1f1 ));
    background-image: -webkit-linear-gradient( #fff , #f1f1f1 );
    background-image: -moz-linear-gradient( #fff , #f1f1f1 );
    background-image: -ms-linear-gradient( #fff , #f1f1f1 );
    background-image: -o-linear-gradient( #fff , #f1f1f1 );
    background-image: linear-gradient(
        #fff , #f1f1f1 );
}
ul.button-group li:last-child a {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 8.66px;
    border-top-left-radius: 0px;
    border-top-right-radius: 8.66px;

}
ul.button-group li:first-child a {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 8.66px;
    border-top-right-radius: 0px;
    border-top-left-radius: 8.66px;
}

ul.button-group li a.selected {
    /*
    background-color: #1F78B3;
    *//*
    background-color: #eb714b;
    -webkit-box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .5);
    box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .5);
*/

    border: 1px solid #2373a5;
    border-right-width: 1px;
    background: #5393c5;
    background-image: none;
    background-clip: border-box;
    font-weight: bold !important;
    color: #fff !important;
    cursor: pointer;
    text-shadow: 0 1px 0 #3373a5;
    text-decoration: none;
    background-image: -webkit-gradient(linear, left top, left bottom, from( #5393c5 ), to( #6facd5 ));
    background-image: -webkit-linear-gradient( #5393c5 , #6facd5 );
    background-image: -moz-linear-gradient( #5393c5 , #6facd5 );
    background-image: -ms-linear-gradient( #5393c5 , #6facd5 );
    background-image: -o-linear-gradient( #5393c5 , #6facd5 );
    background-image: linear-gradient(
        #5393c5 ,
        #6facd5 );
    font-family: Helvetica, Arial, sans-serif;

}

.sub_header {
    font-size: .8em;
}

.row.full-width {
    width: 100%;
    min-width: 100%;
}

.sidebar {
    background-color: white;
    padding: 4px 8px 8px;
    color: white;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.sidebar h5 {
    color: #333;
}

.sidebar table {
    border: none;
    background-color: transparent;
}

.sidebar table tbody tr {
    background-color: transparent;
}

.sidebar table tbody tr td {
    color: #333;
    padding: 0.15rem 0.15rem;
}

.sidebar table tbody tr td label {
    color: #fff;
}

#options-sidebar {
    position: fixed;
    padding: 4px 8px 8px;
    left: 4px;
    /*   width: 300px;*/
    width: 16.667%;
    height:100%;
}

#color-sidebar {
    position: fixed;
    padding: 4px 8px 0;
    top: 155px;
    right: 10px;
    /* opacity:0.9;

    width: 23%;*/
    width: 16.667%;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .5);
}
/*
#color-sidebar :hover {
    cursor: grab
}
*/
.grabbable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

/* (Optional) Apply a "closed-hand" cursor during drag operation. */
.grabbable:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

body.vis-map #options-sidebar {
 /*   top: 100px; */
    margin-bottom: 0 !important;
}

#main-content {
 /*   margin-left: 16.667%;*/
}

#map {
    width: 50%;
    float: left;
}

#map-info {
    width: 100%;
    float: right;
    padding: 10px;
}

.switch-toggle label br {
    display: none;
}

#mapthemes br {
    display: none;
}

@media screen and (max-width: 1150px) {
    h1 {
        /*font-size: 70% !important;*/
        font-size: 130% !important;
    }
    h3 {
        /*font-size: 70% !important;*/
        font-size: 110% !important;
    }


    body.vis-circles #options-sidebar,
    body.vis-bars #options-sidebar,
    body.vis-circles #color-sidebar,
    body.vis-bars #color-sidebar {
        top: 225px;
    }

    #color-sidebar, #options-sidebar {
        /*   width: 300px;*/
        width: 16.667%;
    }

    #mapthemes br {
        /*display: block;*/
    }

    #main-content {
        margin-left: 16.667%;
    }

    .switch-toggle label br {
        display: block;
    }
/*
    #map {
        width: 50%;
    }

    #map-info {
        width: 100%;
    }*/
}

.arrow_box_abs {
    position: absolute;
 //   visibility:hidden;
    background: #EBE8E8;
    border: 5px solid #333333;
    width: 500px;
    top: 20%;
    right:50px;
    max-width: 25%;
    margin: 200px auto;
    font-size: 2rem;
    padding: 20px;
    line-height: 2.25rem;
}

.arrow_box {
    position: relative;
    background: #EBE8E8;
    border: 5px solid #333333;
    width: 500px;
    max-width: 75%;
    margin: 200px auto;
    font-size: 2rem;
    padding: 20px;
    line-height: 2.25rem;
}

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

.arrow_box_abs:after {
    border-color: rgba(235, 232, 232, 0);
    border-right-color: #EBE8E8;
    border-width: 30px;
    margin-top: -30px;
}

.arrow_box_abs:before {
    border-color: rgba(51, 51, 51, 0);
    border-right-color: #333333;
    border-width: 37px;
    margin-top: -37px;
}

@media screen and (max-height: 850px) {
    #options-sidebar, #color-sidebar {
        position: absolute;
        margin-bottom: 100px;
    }

    .arrow_box_abs {
        margin: 75px auto;
    }
}

.top-bar .button, .top-bar .has-form > .button, .top-bar .has-form > button, .top-bar button, .top-bar input, .top-bar select {
    font-size: 0.75rem;
}

svg {
    overflow: visible;
    /* For svg text */
    font-size: 0.9em;
}

/*
text {
    overflow: visible;
}
*/
.titles.header {
    width: 20px;
    height: 200px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: -0.5px;
    font-size: 1.05em;
}

.titles.empty.header {
    width: 20px;
    height: 200px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: -0.5px;
    font-size: 1.05em;
}

svg {
    overflow: visible
}

#vis tspan {
    /* For svg text */
    font-size: 1.05em;
    font-weight: bold;
    text-transform: uppercase;
    /*   overflow: visible*/
}

/*
#bar-container tspan {
    text-transform: none;
}
*/
svg {
    /*    overflow: visible;*/
    /* For svg text */
    font-size: 1.1em;
}

@media only screen and (max-width: 1200px) {
    #vis tspan {
        /* For svg text */
        font-size: 0.85em;
        font-weight: bold;
    }

    svg {
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 1500px) and (min-width: 1200px) {
    #vis tspan {
        /* For svg text */
        font-size: 0.95em;
        font-weight: bold;
    }

    svg {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 1600px) and (min-width: 1500px) {
    #vis tspan {
        /* For svg text */
        font-size: 1.0em;
        font-weight: bold;
    }

    svg {
        font-size: 0.95em;
    }
}

@media only screen and (max-width: 1800px) and (min-width: 1600px) {
    #vis tspan {
        /* For svg text */
        font-size: 1.05em;
        font-weight: bold;
    }

    svg {
        font-size: 1em;
    }
}

#vis-container {
    overflow: visible;
}


.button-group.toggle li:not(first-child) {
    margin: 0 -0.9rem;
}
.axispath {
    z-index:0;
}

.tooltip {
    top: 1%;
    left: 1%;
    border: 2px solid #333;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .5);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background: #fff;
    opacity: 1;
    color: black;
    padding: 10px;
    width: 30em;
    font-size: 0.9rem;
    z-index: 10;
}

.tooltip .title {
    font-size: 1.125rem;
    font-weight: bold;
}

.tooltip .name {
    font-weight: bold;
}

.tooltip .nameul {
    font-size: 1.125rem;
    margin-top: 15px;
}

.tooltip .valuex {
    color: #de2d26;
}

.tooltip .bar {
    float: left;
    /*    font: 10px sans-serif; */
    border: 0px solid #000;
    background-color: #de2d26;
    text-align: left;
    padding: 1px;
    margin: 0px;
    color: white;
    height: 1.2em;
    /*   width: 17px; */
    z-index: 11;
    border-radius: 0px;
}

#closeButton {
    position: absolute;
    top: 0;
    right: 0;
}

#close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    font-size: 20px;
    height: 30px;
    width: 30px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    text-align: center;
    line-height: 20px;
    border: 2px solid #000;
}

#close-filter-help {
    position: absolute;
    color: white;
    top: 3px;
    right: 1px;
    background-position: -32px -192px;
    background-image: url(ui-icons_222222_256x240.png);
    width: 16px;
    height: 16px;
    display: block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

#drag {
    position:absolute;
    top:5px;
    right:0;
    /*
    background-position: -19px -222px;*/
    background-position: 0 -450px;
    background-image: url(ui-icons_222222_256x240.png);
    background-repeat: no-repeat;
    background-size: 512px 480px;
    width: 32px;
    height: 32px;
}

.fullscreen {
    z-index: 10000;
    position: absolute;
    top: 35px;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 100px;
}

#logobox {
    position: fixed;
    bottom: 5px;
    width: 16.66667%;
    z-index: -100;
}

#logobox .logo {
    padding: 5px;
}

#logobox img {
    max-height: 50px;
    width: auto;
}

@media only screen and (min-width: 1024px) {
    #logobox .logo {
        width: 100%;
        float: left;
    }
}

#textAndSelect > div > a {
    top: 0;
}

#textAndSelect > .switch-toggle {
    margin-top: 7px;
}

#textAndSelect .switch-toggle input + label {
    padding: 0 2rem;
}

.switch-toggle,
.switch-toggle label:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.switch-toggle,
.switch-toggle label:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.switch-toggle input + label {
    border-right: 1px solid #4C4C4C;
}

.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

ul.ui-multiselect-checkboxes.ui-helper-reset {
    height: 250px !important;
}

@media only screen and (max-width: 90em) {
    #textAndSelect span, #visSelect span {
        display: none;
    }
}

.top-bar-section li.has-form {
    padding: 0 0.1rem;
}

#visSelectSelect {
    width: 225px;
}


@media only screen and (max-width: 1150px) {
    #visSelectSelect {
        width: 100px;
    }
}



#copyLink {
    width: 245px;
    display: block;
}

.eac-round {
    position:absolute !important;
    width:100px;
    bottom:15%;
}

.eac-round input {
    background-image: url("images/icon_search.png");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.easy-autocomplete.eac-round input {
    min-width:130px !important;
}
#multivalinta {
    width: 100%;
}
#suodatin {
    width: 100%;
}

#multivalinta button {
    width: 100% !important;
}

label {
    padding-top: 10px;
}
#mapthemes table label {
    padding-top: 1px;
}



