#yddviz-body h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px 0;
  letter-spacing: 0px;
}
#yddviz-body h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px 0;
  letter-spacing: 0px;
}
#yddviz-body strong {
  font-weight: bold;
}
#yddviz-body em {
  font-style: italic;
}

#yddviz-body {
  margin: auto;
  max-width: 720px;
  min-width: 300px;
  padding-left: 16px;
  padding-right: 16px;
}

.yddviz-select-box {
  float: left;
  padding-bottom: 5px;
  width: 295px;
}
#yddviz-select-primary {
  padding-right: 5px;
}

.yddviz-results-school {
  font-size: 85%;
  width: 281px;
  border: 2px solid #e5e5e5;
  float: left;
  border-radius: 6px;
  background: rgba(245, 245, 245, 1)
    url('https://svenska-dataviz.ylestatic.fi/2015-svenska-migrated/gymnasieapp/css/lyra-liten.png')
    no-repeat right top;
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.yddviz-results-school h2 {
  max-width: 220px;
}
#yddviz-results-school-primary {
  margin-right: 5px;
}
#yddviz-results-school-compare {
  display: none;
}

.skolinfo-grade {
  float: left;
  font-size: 40px;
  line-height: 30px;
  font-weight: bold;
  margin-right: 7px;
  margin-top: 5px;
}
.skolinfo-grade-container {
  height: 50px;
}

#yddviz-results {
  clear: both;
  display: none;
  padding-top: 10px;
}

.vis-amne {
  background: rgba(240, 240, 240, 1);
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  float: left;
  font-size: 11px;
  margin-bottom: 5px;
  margin-right: 5px;
  padding: 5px;
  text-align: center;
  white-space: nowrap;
  width: 140px;
}
.vis-code {
  font-weight: bold;
  font-size: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  float: left;
  width: 65px;
}
.vis-code-details {
  font-size: 10px;
  width: 65px;
  float: left;
}

.vis-points {
  font-weight: bold;
  border-bottom: 1px dotted #666;
}

.vis-accent {
  color: #2b8cbe;
}
.vis-jamfor {
  color: #ef6323;
}

.vis-code-jamfor {
  display: none;
}
.vis-code-details-jamfor {
  display: none;
}

.vis-skoldata-header {
  font-size: 18px;
  font-weight: bold;
}
.skoldata-container {
  display: none;
  margin-top: 5px;
}

.skoldata-header-container {
  margin-bottom: 8px;
  border-top: 2px solid #e5e5e5;
  clear: both;
  padding-top: 8px;
}

#vis-amnen-container-real {
  display: none;
}
#vis-amnen-container-sprak {
  display: none;
}

.yddviz-results-subject-name {
  padding-bottom: 5px;
  border-bottom: 2px solid #e5e5e5;
}

.vis-button {
  background: #2b8cbe;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  border-radius: 4px;
  padding: 2px 10px 2px 10px;
  margin: 10px;
  cursor: pointer;
  vertical-align: text-top;
}
.vis-button:hover {
  background: #18b5ca;
}

.vis-code-container {
  width: 140px;
  clear: both;
}

#yddviz-results-footer {
  border-top: 2px solid #e5e5e5;
  clear: both;
  padding-top: 7px;
  margin-bottom: 10px;
  clear: both;
  font-size: 12px;
  font-style: italic;
}

/* tooltip */
.ui-tooltip-content {
  font-size: 10px;
  width: 240px;
  padding: 5px;
}

.yddviz-select-box {
  width: 285px;
}
.yddviz-results-school {
  width: 271px;
}

#yddviz-results-data-3,
#yddviz-results-data-4,
#yddviz-select-compare {
  display: block;
}

.vis-button {
  display: none;
}

.yddviz-gap {
  clear: both;
  margin-bottom: 1rem;
}
