/**
 * Voter Guide CSS File
 * created 2016-07-11
 */

body {
  margin: 0;
  padding: 0;
  background-color: white;
  font-family: "Lyon", Georgia, serif;
}

a {
  color: #0d76ba;
  text-decoration: none;
}

.flag {
  background-color: #004B76;
  background: #213864;
  background: linear-gradient(to right, #213864 0%, #213864 50%, #8d262a 50%, #8d262a 100%);
}

.flag [title] {
  font-family: "McClatchy Sans Cond", Georgia, serif;
  font-size: 60px;
  margin: 0;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

section {
  width: 720px;
  max-width: 100%;
  margin: 1rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.headline {
  font-size: 62px;
  font-weight: 400;
  font-family: "McClatchy Slab", Georgia, serif;
  line-height: 1.0em;
  text-align: center;
  margin-bottom: 0.5rem;
}

.summary {
  font-size: 22px;
  font-weight: 400;
  font-family: "McClatchy Sans", Helvetica, sans-serif;
  line-height: 1.45em;
  color: #999;
  text-align: center;
}

.key-item {
  display: inline-block;
  vertical-align: text-bottom;
  height: 1em;
  width: 1em;
  margin: 0 0.15em;
}

.key-item.rep {
  background-color: #c23b42;
}

.key-item.dem {
  background-color: #3c66b8;
}

.key-item.grabs {
  background-color: #562154;
}

.mobile-only {
  display: none;
}

dc-state-info {
  display: none;
}

.click-note {
  text-align: center;
  font-size: 16px;
  font-style: italic;
}

path.state-selected {
  fill-opacity: 0.5;
}

state-info h2 {
  font-family: 'McClatchy Slab',Georgia,Times,'Times New Roman',serif;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.25em;
  padding: 0;
  font-size: 24px;
}

state-info h4 {
  font-family: 'McClatchy Sans',Arial,'Helvetica Neue',Helvetica,sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  margin: 0 0 5px;
}

state-info p {
  font-size: 17px;
  font-family: 'Lyon',Georgia,serif;
  line-height: 1.5em;
  margin: 0 0 10px;
}

state-info li {
  font-size: 17px;
  font-family: 'Lyon',Georgia,serif;
}

@media (max-width: 769px) {
  .flag img {
    height: 60px;
  }

  .flag [title] {
    font-size: 26px;
  }

  .headline {
    font-size: 32px;
  }

  .summary {
    font-size: 16px;
  }

  dc-state-info {
    display: block;
  }

  .click-note {
    display: none;
  }

  path.state-selected {
    fill-opacity: 1;
  }
}
