.rentcompare{
    font-weight: 500;
    text-align: center;
    background-color: #1b365d;
    color:#ffffff;
    padding: .5rem;
}
.h2-style{font-size: 1.3rem;

}
.center{text-align: center;}

.c3-chart-line .c3-shapes .c3-shape{
    stroke-width: 3px!important;
}
.c3-text{font-size:1rem!important;}
.tick text>tspan{font-size: .9rem;line-height: 150%;}
/*
input[type="radio"]:checked + label {
  background: rgb(165, 190, 245);
  color: hsla(215, 0%, 100%, 1);
  padding:.5rem;
  border-radius:1rem;
}

*/
p.select-chart{margin-bottom:.5rem;
  font-size:1.1rem;
}
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}


input {
  display: none;
}

label {
  background: #eee;
  border-radius: 5px;
  font-weight: 300;
  margin-bottom:.5rem;
  margin-right:.5rem;
  padding: .4rem;
  padding-top: .2rem;
  padding-bottom: .2rem;
  display:inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

label:hover {
  background: #ccc;
}

input:checked + label {
  background: #4d70c9;
  color: #fff;
}

/** select box **/

.wrapper {text-align:center;}
.selectstyle {
  --selectsize:2rem;
  --uibordercolor:#bbb;
  --uibackground:#f8f8f8;
  --uiborderradiusfactor:0;
  --uihovercolor:#363636;
  --uireversecolor:#fff;
  --unicodepointer:"\25bc";
}
.selectstyle--style1 {
  --uibordercolor:#ace;
  --uibackground:#f8f8ff;
  --uiborderradiusfactor:0.167;
  --uihovercolor:#f5fbff;
  --uireversecolor:#4a5781;
}

.selectstyle__box {
  margin:0 auto;
  width:auto;
  height:auto;
  text-align:center;
  overflow:visible;
  position: relative;
  display:inline-block;
  font-size:calc(var(--selectsize) * 0.5);
}

.selectstyle__label {
  font-size:calc(var(--selectsize) * 0.5);
  position: relative;
  top: 9px;
  display: inline-block;
  margin:0 calc(var(--selectsize) * 0.5) 0 0;
  white-space:nowrap;
}
.selectstyle__box__select {
  position:relative;
  display: inline-block;
  border: 2px solid var(--uibordercolor);
  padding: 0 calc(var(--selectsize) * 0.09) 0 calc(var(--selectsize) * 0.15);
  margin: 0;
  font: inherit;
  height:var(--selectsize);
  line-height: calc(var(--selectsize) * 0.92);
  background: var(--uibackground);
  -webkit-appearance: none;
  -moz-appearance: none;
  /* remove the strong OSX influence from Webkit */
  border-radius: calc(var(--selectsize) * var(--uiborderradiusfactor));
  cursor:pointer;
}
.selectstyle__box__select optgroup, .selectstyle__box__select optgroup option {
  /* This helps the appearance of select dropdowns in Firefox to be more like other browsers.
  Chrome and Safari ignore these rules */
  color:black;
  background:#ccc;
  font-size:inherit;
}

/* for Webkit's CSS-only solution */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .selectstyle__box__select {
    padding-right: calc(var(--selectsize) * 0.835);
  }
}
/* Select arrow styling using unicode symbol */
.selectstyle__box::after {
  width:var(--selectsize);
  height:var(--selectsize);
  content: var(--unicodepointer);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  font-size: 60%;
  line-height: var(--selectsize);
  padding: 0 7px;
  background: var(--uibackground);
  color: black;
  pointer-events: none;
  border-radius: 0 calc(var(--selectsize) * var(--uiborderradiusfactor)) calc(var(--selectsize) * var(--uiborderradiusfactor)) 0;
  border: 2px solid var(--uibordercolor);
}
.selectstyle__box:hover::after, .selectstyle__box__select:hover {
  background:var(--uihovercolor);
  color:var(--uireversecolor);
}
.no-pointer-events .selectstyle__box__select:after {
  content: none;
}