/*  '#02649c', // dark blue
  '#eeeff0', // grey
  '#ffc20e', // mediumOrange
  '#00aeef', // mediumBlue
  '#ffecc5', // lightOrange
  '#ffcf5c', // darkOrange
  '#00bdf2', // darkBlue
  '#b9e5fb' // lightBlue

  $sm:   640px;
  $md:   768px;
  $lg:   992px; // keep this for strange bug with bs grid
  $xl:   1280px;
  $xxl:  1610px;

*/

.hero-content .text-center {
  text-align: left !important;
}

.revocations-db {
  overflow: hidden;
}

.revocations-highcharts {
  height: 650px;
  position: relative;
  width: 480px;
}

.revocations__body li {
  font-size: 18px;
  line-height: 1.5;
}

.revocations__body small p {
  font-size: 14px;
  line-height: 1.5;
}

.revocations__body strong {
  color: #02649c;
}

.revocations__body li {
  margin-bottom: 1rem;
}

.revocations__header {
  height: auto;
  padding-top: 0.5rem;
}

/* Front */

/* Front: Header */
.revocations__front__header {
  box-sizing: border-box;
  position: relative;
}

.revocations__front__header__img {
  display: block;
  height: auto;
  margin-left: -0.25rem;
  margin-top: -1rem;
  margin-bottom: -6.5rem;
  max-width: 750px;
  width: 100%;
}

/* Front: intro */

.revocations__intro {
  display: flex;
  margin-bottom: 1rem;
}

.revocations__intro p {
  line-height: 1.7;
}

.revocations__intro aside label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.revocations__intro aside div {
  margin-top: 1rem;
  padding: 1rem;
}

@media(min-width: 768px) {
  .revocations__intro aside div {
    margin-top: 0;
  }
}

.revocations__intro select, .revocations__print {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #444;
  height: 45px;
	line-height: 1.3;
	padding: .6em 1.4em .5em .8em;
	width: 100%;
	max-width: 100%; /* useful when width is set to anything other than 100% */
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	  linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
	background-repeat: no-repeat, repeat;
	/* arrow icon position (1em from the right, 50% vertical) , then gradient position*/
	background-position: right .7em top 50%, 0 0;
	/* icon size, then gradient */
	background-size: .65em auto, 100%;
}

.revocations__print {
  background-image: linear-gradient(to bottom, #ffda6e 0%, #ffc20e 100%);
  background-repeat: repeat;
  background-position: 0 0;
  background-size: 100%;
  border: 1px solid #d09c05;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  text-align: left;
}

/* Hide arrow icon in IE browsers */
.revocations__intro select::-ms-expand {
	display: none;
}
/* Hover style */
.revocations__intro select:hover {
	border-color: #888;
}
/* Focus style */
.revocations__intro select:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222;
	outline: none;
}

/* Set options to normal weight */
.revocations__intro option {
	font-weight:normal;
}

/* Disabled styles */
.revocations__intro select:disabled, .revocations__intro select[aria-disabled=true] {
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	  linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
}

.revocations__intro select:disabled:hover, .revocations__intro select[aria-disabled=true] {
	border-color: #aaa;
}

/* Front: Population chart */

.wysiwyg .revocations__front__population__h1 h1 {
  color: black;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.revocations__front__population__detail {
  background-color: rgba(185,229,251,0.25);
  font-weight: bold;
  font-size: 16px;
  padding: 1rem;
}

.revocations__front__population__detail br {
  display: none;
}

@media(min-width: 768px) {
  .revocations__front__population {
    position: relative;
  }

  .revocations-highcharts--front__population {
    position: relative;
    left: 20%;
    z-index: 2;
  }
}

@media(min-width: 960px) {
  .revocations__front__population__detail {
    position: absolute;
    top: 10rem;
    left: 80%;
    background: radial-gradient(circle at left, rgba(185,229,251,0.25) 86%, transparent 86%, transparent 100%);
    font-weight: bold;
    font-size: 16px;
    height: 300px;
    margin-top: 133px;
    margin-left: -229px;
    padding-bottom: 1rem;
    padding-left: 136px;
    padding-right: 5rem;
    padding-top: 1.5rem;
    z-index: 1;
  }

  .revocations__front__population__detail br {
    display: block;
  }
}

.wysiwyg p.totalPopulation {
  position: absolute;
  top: 0;
  font-size: .95rem;
  line-height: 1.5;
  text-align: center;
  left: 25%;
  top: 45%;
}

.revocations__front__population__definitions {
  text-align: center;
}

/* Front: Costs */
.revocations__front__costs {
  color: black;
  margin-top: 5rem;
}

.revocations__front__costs p {
  margin-top: 0;
}

.revocations__front__costs strong {
  background-color: #ffc20e;
  color: black;
}

/* Front: Supervision Violation */

.revocations-highcharts--front-supervision-violation {
  height: 1500px;
}

.revocations__front__supervision-violation-tech {
  margin-top: 4rem;
}

.revocations__front__supervision-violation {
  margin-top: 4rem;
}

.revocations__front-supervision-violation__h1 {
  color: black;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media(min-width: 768px) {
  .revocations__front-supervision-violation__h1 {
    font-size: 2rem;
  }
}

.revocations__front-supervision-violation__h1 span {
  color: #ffc20e;
  font-weight: bold;
  text-transform: uppercase;
}

/* Front: Supervision violation */

.revocations-highcharts--front-supervision-violation-tech {
  height: 1500px;
}

.revocations__front-supervision-violation-tech__h1 {
  color: black;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.25;
}

@media(min-width: 768px) {
  .revocations__front-supervision-violation-tech__h1 {
    font-size: 2rem;
  }
}

.revocations__front-supervision-violation-tech__h1 span {
  color: #02649c;
  font-weight: bold;
  text-transform: uppercase;
}

/* Front: key questions */

.revocations__front__key-questions {
  background-color: #ffc20e;
  color: black;
  margin-top: 4rem;
  padding: 2rem;
}

@media(min-width: 768px) {
  .revocations__front__key-questions {
    background-color: #ffc20e;
    color: black;
      -webkit-columns: 2;
    columns: 2;
    margin-top: 4rem;
    padding: 2rem;
  }
}

.revocations__front__key-questions h1 {
  color: black;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: bold;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

@media(min-width: 768px) {
  .revocations__front__key-questions h1 {
    font-size: 2rem;
  }
}

.revocations__front__key-questions p {
  position: relative;
  z-index: 1;
}

.revocations__front__key-questions h1::after {
  content: "?";
  color: rgba(255,255,255,0.75);
  font-size: 8rem;
  font-weight: bold;
  position: absolute;
  right: 0;
  top: -4rem;
  z-index: -1;
}

@media(min-width: 768px) {
  .revocations__front__key-questions h1::after {
    font-size: 10rem;
    right: 11.75rem;
  }
}

.revocations__front__key-questions li, .revocations__front__key-questions p {
  font-weight: bold;
}

/* Front: methods/definitions/footer */

.revocations__footer {
  margin-top: 3rem;
}

.revocations__footer--state {
  margin-top: 2rem;
}

.revocations__front__methods, .revocations__front__definitions {
  margin-top: 2rem;
  padding-top: 1rem;
}

.revocations__front__methods h1, .revocations__additional-notes__h1 {
  color: black;
  font-size: 24px;
  margin-bottom: 0;
}

.revocations__front__definitions h1 {
  color: black;
  font-size: 24px;
}


.revocations__front__methods p {
  margin-top: 0;
}

.revocations__front__footer p:first-of-type {
  margin-top: 0;
}

.revocations__footer__logo-wrap {
  margin-bottom: 2rem;
}

.revocations__footer__logo-wrap a {
  background-image: none;
}

.revocations__front__footer__logo {
  display: inline-block;
  height: auto;
  margin-right: 0.5rem;
  max-width: 200px;
}

.revocations__front__footer__logo--arnold {
  max-width: 150px;
}

.revocations__front__footer__logo--asca {
  max-width: 50px;
}

/* State page inside */

/* State: header */

.revocations__inside-header__h1 {
  color: #02649c;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

/* State: admissions/population */

@media(min-width: 992px) {
  .revocations__inside__sidebyside {
    display: flex;
    margin-top: 3rem;
  }
}

@media(min-width: 1280px) {
  .revocations__inside__sidebyside {
    justify-content: center;
  }
}

.revocations__inside__sidebyside--center {
  justify-content: center;
}

.admissions__inside__h1, .population__inside__h1 {
  color: #000;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 2rem;
}

.revocations__inside__sidebyside--center .admissions__inside__h1 {
  text-align: center;
}

.admissions__inside__h1--highlight, .population__inside__h1--highlight {
  color: #02649c;
  display: block;
  font-weight: bold;
  text-transform: uppercase;
}


/* State: costs */

.revocations__inside__costs {
  color: black;
  margin-top: 4rem;
  position: relative;
}

.revocations__inside__costs--one-col {
  align-items: center;
  display: flex;
  height: 120px;
}

@media(min-width: 768px) {
  .revocations__inside__costs--two-col {
      -webkit-columns: 2;
    columns: 2;
    height: 200px;
  }
}

.revocations__inside__costs p {
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.revocations__inside__costs strong {
  background-color: #ffc20e;
  color: black;
}

/* State: Missing data */

.revocations__inside__missing-data {
  background-color: #ffc20e;
  color: black;
  display: none;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding: 2rem 2rem 2rem 6rem;
}

.revocations__inside__missing-data strong {
  color: black;
  font-weight: bold;
}

.revocations__inside__missing-data h1 {
  color: black;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: bold;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.revocations__inside__missing-data h1::after {
  content: "!";
  color: rgba(255,255,255,0.75);
  font-size: 7rem;
  font-weight: bold;
  position: absolute;
  left: -4rem;
  top: -1.35rem;
  z-index: 0;
}

/* State: notes/footer */

.jc-footer {
  margin-top: 2rem;
}

.revocations__additional-notes {
  margin-top: 3rem;
}

.revocations__additional-notes p {
  margin-top: 0;
}

.revocations__no-additional-notes {
  display: none;
}

/* print only */

@media print {

  #hero {
    display: none;
  }

  .d-inline-block.my-5.pb-5.w-100 {
    display: none !important;
  }

  .highcharts-legend-item:nth-of-type(2) rect.highcharts-point {
    fill: #ccc;
  }

  .hero {
    padding-top: 0 !important;
  }

  .hero-body, .hero-body * {
    padding: 0;
  }

  .revocations-db {
    margin: 0;
    padding-top: 0 !important;
  }

  .revocations__header h2 {
    margin-top: 0 !important;
  }

  .sticky-header, .footer, .go-top, .revocations__intro aside, .is-widescreen, .revocations__footer.revocations__footer--state {
    display: none !important;
  }

  .revocations__intro {
    margin-bottom: 0;
  }

  .revocations__intro article {
    width: 100%;
  }

  .revocations__front__costs, .revocations__front__key-questions, .revocations__inside__costs, .revocations__inside__missing-data {
    padding: 0;
  }

  .revocations__inside__costs::before, .revocations__inside__missing-data h1::after {
    content: "";
  }

  .admissions__inside, .revocations__front__population {
    page-break-after: always;
  }

  .revocations__inside__costs, .admissions__inside {
    page-break-before: always;
  }

  .revocations-highcharts--front__population {
    width: 100%;
  }

  .revocations__front__footer__logo {
    display: inline-block;
    height: auto !important;
    width: 100% !important;
  }

  .revocations__front__footer__logo--csg {
    max-width: 200px !important;
  }

  .revocations__front__footer__logo--arnold {
    margin-left: 1rem;
    margin-right: 1rem;
    max-width: 130px !important;
  }

  .revocations__front__footer__logo--asca {
    max-width: 50px !important;
  }

  .revocations__front__costs, .revocations__front__key-questions {
      -webkit-columns: 1 !important;
    columns: 1 !important;
    margin-top: 8rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0;
  }

  .revocations__front__costs::before, .revocations__front__key-questions h1::after {
    content: "";
  }

  .revocations__front__key-questions h1 br {
    display: none;
  }

  .revocations__front__costs p {
    margin-bottom: 0;
  }

  .admissions__inside__h1, .population__inside__h1 {
    font-size: 23px;
  }

  .revocations__front__population__h1 {
    display: block;
    height: auto;
    width: 35%;
    position: static;
    width: 100%;

  }

  .revocations__front__population {
    height: 775px;
  }

  .revocations-highcharts--front__population {
    position: static;
  }

  .revocations__front__population__detail {
    position: static;
    width: 100%;
  }

  .revocations__front__population__detail p {
    display: block;
    font-size: 16px;
    font-weight: 300;
    height: auto;
    margin-top: 0;
    margin-left: 0;
    padding: 0;
  }

  .admissions__inside__h1--highlight, .replace-prison-admissions-percentage, .population__inside__h1--highlight, .replace-prison-incarcerated-percentage {
    color: #02649c !important;
  }

  .revocations__state  {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
