

@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: auto;
  src: url("../fonts/libre-franklin-v4-latin-regular.eot");
  src: local("Libre Franklin"),
       local("LibreFranklin-Regular"),
       url("../fonts/libre-franklin-v4-latin-regular.eot?#iefix") format("embedded-opentype"),
       url("../fonts/libre-franklin-v4-latin-regular.woff2") format("woff2"),
       url("../fonts/libre-franklin-v4-latin-regular.woff") format("woff"),
       url("../fonts/libre-franklin-v4-latin-regular.ttf") format("truetype"),
       url("../fonts/libre-franklin-v4-latin-regular.svg#LibreFranklin") format("svg");
}

@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700;
  font-display: auto;
  src: url("../fonts/libre-franklin-v4-latin-700.eot");
  src: local("Libre Franklin Bold"),
       local("LibreFranklin-Bold"),
       url("../fonts/libre-franklin-v4-latin-700.eot?#iefix") format("embedded-opentype"),
       url("../fonts/libre-franklin-v4-latin-700.woff2") format("woff2"),
       url("../fonts/libre-franklin-v4-latin-700.woff") format("woff"),
       url("../fonts/libre-franklin-v4-latin-700.ttf") format("truetype"),
       url("../fonts/libre-franklin-v4-latin-700.svg#LibreFranklin") format("svg");
}


body {
  margin: 0;
  font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}


.county-logo {
    height: 70px;
    width: auto;
    margin-bottom:10px;
}


.badge {
    padding: 0.35em 0.4em !important;
}

.dropdown-menu {
	right:0;
	font-size: .8rem !important;
}

 .navbar-nav .dropdown-menu {
    position: absolute;
    float: none;
}

.candidate-box {
	margin-bottom:  1.1em;
}

.candidate-row {
	font-weight: 700;
}

.cd-top--is-visible { // back-to-top button visible
  visibility: visible;
  opacity: 1;
}

.cd-top--fade-out { // reduce button opacity if user keeps scrolling
  opacity: .5;
}

section {
	margin-bottom: 4rem;
}

.race-title {
	font-weight: 700;
}



/* back to top button */

#button {
  display: inline-block;
  background-color: #FF9800;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 5%;
  transition: background-color .3s, 
  opacity .5s, visibility .5s;
  z-index: 1000;
}

/*
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 40px;
  color: #fff;
}
*/

.white-filter {
	filter: invert(99%) sepia(1%) saturate(7430%) hue-rotate(181deg) brightness(132%) contrast(87%);
}

#button:hover {
  cursor: pointer;
  background-color: #333;
}

#button:active {
  background-color: #555;
}

#button.show {
  opacity: 1;
  visibility: visible;
}


@media (max-width: 992px)
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}


/* phone only requests */

@media (max-width: 576px) { 

	 body {
        font-size: .65rem !important;
    }

    .county-logo {
    	height: 32px;
    	width: auto;
	}   

    h5, .h5 {
    font-size: 1rem !important;
    }

     .navbar-brand {
        font-size: .75rem !important;
    }

    .dropdown-menu {
	
	right:0;
    }



}