h1,h2,h4{font-family:'BWHaasText-55Roman','HaasDisplayBold',sans-serif;color:#222}

#inner-content{font-family:'BWHaasText-55Roman','HaasText',sans-serif; min-height: 600px;}

.chartwidth{
	width:94%;
	max-width: 1200px;
	margin:60px auto 100px;
}
.chartwidth.nomargin{
	margin:0px auto 0px;
}

.copywidth {
    width: 74%;
}

.copywidth.bottombump{
	margin-bottom: 56px;
}

.source{
	display: block;
	float: none;
}

svg{
	width: 100%;
}

h2{
	font-size: 2.5em;
	line-height: 1.2em;
	margin-bottom: 14px;
}
h3{
	font-size: 1.2em;
	line-height: 1.2em;
	font-family:'BWHaasText-65Medium','HaasDisplayBold',sans-serif;
	text-align: center;
	white-space: nowrap;
}
h4{
	font-size: 1.0em;
	line-height: 1.3em;
	text-align: center;
	font-family:'BWHaasText-55Roman','HaasText',sans-serif;
}

h2 .asof{
	font-family:'BWHaasText-55Roman','HaasDisplayBold',sans-serif;
	font-size: 14px;
	line-height: 1.2em;	
}

.del-btn span{
	font-family:'BWHaasText-65Medium','HaasDisplayBold',sans-serif;
	font-size: 13px;
	line-height: 18px;
	padding: 6px 10px 5px;
	color: #222;
	background-color: #e7e7e7;
	cursor: pointer;
	display: inline-block;
	float: left;
	margin-right: 4px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.del-btn span:last-child{
	margin-right: 0;
}

.del-btn span:hover{
	background-color: #ddd;
}

.del-btn.opt1 .btn-opt1{
	color: #888;
	background-color: #f3f3f3;
}
.del-btn.opt1 .btn-opt1:hover{
	color: #666;
	background-color: #ddd;
}

.del-btn .btn-opt2{
	color: #888;
	background-color: #f3f3f3;
}
.del-btn .btn-opt2:hover{
	color: #666;
	background-color: #ddd;
}
.del-btn.opt1 .btn-opt2{
	color: #222;
	background-color: #e7e7e7;
}
.del-btn.opt1 .btn-opt2:hover{
	background-color: #ddd;
}

.st4{
	fill: transparent !important;
	fill-opacity: 0 !important;
	stroke: #333;
}



.uiblock{
	margin-top: 4px;
}

.uidivider{
	margin: -2px 14px;
	width: 1px;
	height: 32px;
	background-color: #555;
	display: inline-block;
}

.righty{
	float: right;
}
.lefty{
	float: left;
}

.key-today{
	margin-top: 2px;
	margin-right: 4px;
	font-size: 13px;
	line-height: 18px;
	padding: 6px 0 5px;
	font-family:'BWHaasText-65Medium','HaasDisplayBold',sans-serif;
	border-bottom: 5px solid #333;
}

.keyset{
	padding: 6px 0 5px;
	margin: 2px;
}

.key-box{
	margin: 4px;
	font-size: 13px;
	line-height: 18px;
	font-family:'BWHaasText-65Medium','HaasDisplayBold',sans-serif;
}

.key-box img{
	width: 22px;
	height: 22px;
	margin-bottom: -6px;
}

.keyoff{
	display: inline-block;
	margin-top: -12px;
	float: right;
}

.key-box.stacked{
	min-width: 292px;
	margin-top: 8px;
}
.key-box.stacked img{
    width: 64px;
    height: 44px;
    margin-top: -3px;
    float: left;
}
.ketstack{
    display: block;
    margin: 4px 0 5px;
}

body.mobile #brick-toggle{
	display: none;
}
body.mobile .uidivider{
	display: none;
}

#brick-toggle{
}

/*body.view-DEM #party-toggle{
	background-color: rgba(255,0,0,0.7);
}
body.view-DEM #party-toggle:hover{
	background-color: red;
}
#party-toggle{
	background-color: rgba(0,0,255,0.7);
	color: #fff;
}
#party-toggle:hover{
	background-color: blue;
}*/

.percentlist{
	position: relative;
	width: 100%;
	margin: 12px auto;
	overflow: hidden;
	display: none;
}
.percentlist li{
	float: left;
	height: 40px;
	width: 1%;
}

body.mobile .percentlist{
	display: block;
}

body.mobile .delbrick{
	display: none;
}
body.view-DEM.mobile #delegate-brick-DEM{
	display: none;
}

body.view-DEM #delegate-brick-GOP{
	display: none;
}
body.view-DEM #delegate-brick-DEM{
	display: block;
}
#delegate-brick-DEM{
	display: none;
}

body.view-DEM #delegate-bar-GOP{
	display: none;
}
body.view-DEM.mobile #delegate-bar-DEM{
	display: block;
}
#delegate-bar-DEM{
	display: none;
}

body.view-DEM .R-card{
	display: none;
}
body.view-DEM .D-card{
	display: block;
}
.D-card{
	display: none;
}

body.view-DEM .dellist{
	padding: 0;
	width: 184px;
	margin: 10px auto 0;
}
body.auto.view-DEM .dellist{
    width: 168px;
}
body.view-DEM .dellist.delspec{
	padding-top: 7px;
}
body.view-DEM .datebox {
    /*height: 208px;*/
}
body.view-DEM .datebox.xwide{
    width: 426px;
}
body.view-DEM .datebox.xwide .dellist{
    width: 296px;
}

body.view-DEM #keylist-DEM{
	display: block;
}
body.view-DEM #keylist-GOP{
	display: none;
}
#keylist-DEM{
	display: none;
}

#d-by-date, #d-by-total{
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-webkit-opacity: 1;
	opacity: 1;
	-webkit-transition: opacity 0.2s linear;
	-moz-transition: opacity 0.2s linear;
	-o-transition: opacity 0.2s linear;
	-ms-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}

#delegate-all.nodates #d-by-date{
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-webkit-opacity: 0;
	opacity: 0;
	pointer-events: none;
}

.copyblock.methodology .keylist{
	margin-left: 0;
}

.keylist{
	margin-left: 3px;
}
.keylist li{
	display: inline-block;
	margin-right: 18px;
	margin-bottom: 4px;
}

.keylist li:last-child{
	margin-right: 0;
}

.keylist li.prehead{
	font-family: 'BWHaasText-65Medium','HaasDisplayBold',sans-serif;
    margin-bottom: 18px;
    display: block;
    margin-top: -12px;
}
.keylist li.prehead .keyblock{
	display: none;
}
.keyblock{
	width: 8px;
	height: 8px;
	margin: 0 6px 2px 0;
	background-color: rgb(230,231,232);
	display: inline-block;
	/*box-sizing: content-box;*/
}


.calbox{
	width: 100%;
	margin-left: 6px;
	overflow: hidden;
	margin-top: 0px;
	padding-top: 30px;
}

.datebox.noevent{
	display: none;
}

body .datebox.R-noevent{
	display: none;
}
body.view-DEM .datebox.R-noevent{
	display: block;
}


.datebox{
	width: 208px;
	height: 216px;
	margin: 0 10px 10px 0;
	float: left;
}

body.auto .dellist{
	overflow: hidden;
    width: 112px;
    margin: 0 auto 0;
}

.dellist{
	overflow: hidden;
    width: 96px;
    margin: 0 auto 0;
}

.dellist.delspec{
	margin-top: 5px !important;
	padding-top: 7px;
	border-top: 1px solid #ddd;
}

.dellist .delegate{
	width: 6px;
	height: 6px;
	margin: 0 2px 2px 0;
	background-color: rgb(230,231,232);
	float: left;	
}


.results{
	width: 92%;
	margin: 4px auto 0;
}
.results p{
	display: inline-block;
	height: inherit;
	margin: 0;
	padding: 0;
}
.results .th{
	width: 100%;
	padding-bottom: 1px;
	margin-bottom: 6px;
	border-bottom: 1px solid #ddd;
	position: relative;
}
.results .th .td{
	position: relative;
}

.results .th .td:nth-child(1), .results .tr .td:nth-child(1){
	width: 66%;
}
.results .th .td:nth-child(2), 
.results .tr .td:nth-child(2){
	width: 20%;
	text-align: right;	
}

.results .th .td:nth-child(3),
.results .tr .td:nth-child(3){
	width: 14%;
	text-align: right;
}
.results .th .td, .results .tr .td{
	font-size: 0.9em;
	line-height: 1.3em;
	text-align: left;
	font-weight: normal;
	font-family:'BWHaasText-55Roman','HaasText',sans-serif;
}

.results .tr .td.candidate span{
	display: inline-block;
    width: 7px;
    height: 7px;
    top: -1px;
    margin-right: 2px;
    position: relative;
}
.results .tr .td.candidate img{
	width: 14px;
	height: 14px;
	margin-left: 2px;
	margin-bottom: -3px;
}
.results .tr .td.val{
	text-align: right;
}


.vpercent{
	position: absolute;
	right: 0%;
	display: inline-block;
	width: 100px;
	top: 0px;
}

.votenote{
	width: 90%;
	margin: 4px auto 0;
	font-size: 0.8em;
	color: #888;
}

.dispnone{
	display: none;
}



.flip-container {
	-webkit-perspective: 1000;
	-moz-perspective: 1000;
	-ms-perspective: 1000;
	perspective: 1000;
	-ms-transform: perspective(1000px);
	-moz-transform: perspective(1000px);
	-moz-transform-style: preserve-3d; 
	-ms-transform-style: preserve-3d; 

	position: relative;
	animation: z-animate-out 0.5s ease normal;
	-webkit-animation: z-animate-out  0.5s ease normal;
	animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
	
}

.flip-container.noevent{
	display: none;
}


/* START: Accommodating for IE */

.flip-container.decided:hover .back {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.flip-container.decided:hover .front {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

/* END: Accommodating for IE */


.flip-container.decided:hover {
	/*z-index: 8;*/
	animation: z-animate-in 0.5s ease normal;
	-webkit-animation: z-animate-in  0.5s ease normal;
	animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
	
}


/*.flip-container.decided:hover .flipper {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
	filter: FlipH;
	-ms-filter: "FlipH";
}*/

.flip-container.decided:hover .flipper .back{
	z-index: 3;
}



.flip-container, .front, .back {
	width: 100%;
	height: 100%;
}
.flip-container .back.longer {
	height: initial;
	border-bottom: 1px solid #e3e3e3;
}

.flipper {
/*	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	-ms-transition: 0.6s;

	-moz-transition: 0.6s;
	-moz-transform: perspective(1000px);
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;

	transition: 0.6s;
	transform-style: preserve-3d;*/
	position: relative;
	width: 100%;
	height: 100%;
}

.front, .back {

	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;

	-webkit-transition: 0.7s;
	-webkit-transform-style: preserve-3d;
	-webkit-transform: rotateY(0deg);

	-moz-transition: 0.7s;
	-moz-transform-style: preserve-3d;
	-moz-transform: rotateY(0deg);

	-o-transition: 0.7s;
	-o-transform-style: preserve-3d;
	-o-transform: rotateY(0deg);

	-ms-transition: 0.7s;
	-ms-transform-style: preserve-3d;
	-ms-transform: rotateY(0deg);

	transition: 0.7s;
	transform-style: preserve-3d;
	transform: rotateY(0deg);
	position: absolute;
	border: 1px solid #e3e3e3;
	top: 0;
	left: 0;
	padding: 8px 0 8px;
}

.flip-container.decided .front:before{
	content: '';
width: 0;
height: 0;
border-style: solid;
border-width: 0 0 23px 23px;
border-color: transparent transparent #e3e3e3 transparent;
	position: absolute;
	bottom: -0px;
	right: -0px;
}
.flip-container.decided .front:after{
	content: '';
width: 0;
height: 0;
border-style: solid;
border-width: 0 0 22px 22px;
border-color: transparent transparent #f3f9f9 transparent;
	position: absolute;
	bottom: -0px;
	right: -0px;
}


.front {
	z-index: 2;
	-webkit-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
	background-color: #fff;
}

.front h4{
	margin-bottom: 10px;
}

.back {
	-webkit-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
	background-color: #f3f9f9;
}

.datebox.today .front, .datebox.today .back{
	border-top: 1px solid #333;
	border-right: 1px solid #333;
	border-bottom: 5px solid #333;
	border-left: 1px solid #333;
}

.datebox.today .back .notation{
    border-top: 5px solid #333;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    border-left: 1px solid #333;
}


#graphicbox{
	position: relative;
}

.sticky-wrap{
	padding-top: 16px;
	background-color: #fff;
}


.graph-scroll-fixed .sticky-wrap{
	position: fixed;
	top: 0px;
	z-index: 10;
}
.graph-scroll-below .sticky-wrap{
	position: absolute;
	bottom: 0px;
	z-index: 10;
}
.noadd .graph-scroll-fixed .sticky-wrap{
	top: 0px;
}

.notation{
	font-size: 0.8em;
	color: #888;
	position: absolute;
	z-index: 8;
	top: 100%;
	left: -1px;
	width: 208px;
	padding: 0 10px ;
	background-color: #f3f9f9;
	border-top: 1px solid #eee;
	border-right: 1px solid #e3e3e3;
	border-bottom: 1px solid #e3e3e3;
	border-left: 1px solid #e3e3e3;

	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	transition: all 0.3s linear;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.notation p{
	position: relative;
}

 .notation {
  -webkit-transform-origin: 50% 0%;
  -o-transform-origin: 50% 0%;
  transform-origin: 50% 0%;
  -webkit-transform: perspective(360px) rotateX(90deg);
  -o-transform: perspective(360px) rotateX(90deg);
  transform: perspective(360px) rotateX(90deg);

  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-webkit-opacity: 0;
	opacity: 0;
 }

.flip-container.decided:hover .notation {
	-webkit-transform: perspective(360px) rotateX(0deg);
	-o-transform: perspective(360px) rotateX(0deg);
	transform: perspective(360px) rotateX(0deg);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-webkit-opacity: 1;
	opacity: 1;

	-webkit-transition-delay: 0.5s;
	transition-delay: 0.5s;
}


.copyblock.methodology{
	/*max-width: 768px;*/
	margin: 100px auto;
}
.copyblock.methodology p{
	font-size: 1.15em;
	line-height: 1.6;
	/*margin-left: 20px;*/
}



#inner-content .copyblock.methodology h2{
	text-align: left;
	margin-bottom: 10px;
	padding: 0;
}
#inner-content .copyblock.methodology h3{
	margin: 44px 0 8px;
	text-align: left;
	font-size: 1.45em;
	line-height: 1.2em;
	font-family:'BWHaasText-65Medium','HaasDisplayBold',sans-serif;
}

#inner-content .copyblock.methodology h4{
	margin: 44px 0 8px;
	text-align: center;
	font-size: 1.1em;
	line-height: 1.15em;
	font-family:'BWHaasText-75Bold','HaasDisplayBold',sans-serif;
}

#inner-content .copyblock.methodology .keylist{
	text-align: center;
}

a.anchor, a.link{
	color: rgb(20, 0, 195);
	cursor: pointer;
}
a.anchor:hover, a.link:hover{
	color: rgb(60, 20, 235);
	text-decoration: underline;
}


.only-mobile{
	display: none;	
}

body.mobile .only-mobile{
	display: block;
}

.inline-graph{
	width: 49%;
	display: inline-block;
}
.inline-graph img{
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	display: block;
}

.inline-graph.center-graph{
	width: 100%;
	max-width: 400px;
	margin: 8px auto;
	display: block;
}

.poke-icon{
	width: 38px;
	margin-bottom: -7px;
}

p.direction {
	font-size: 13px;
	text-align: left;
	margin: 20px auto -15px;
	font-family: 'BWHaasText-65Medium','HaasDisplayBold',sans-serif;
	line-height: 18px;
}


@media only screen and (max-width: 1160px){
	.chartwidth{
		width: 872px;
	}
	h2 {
	    font-size: 2.0em;
	}
	.keyoff{
		margin-top: -20px;
	}
}
@media only screen and (max-width: 940px){
	.chartwidth{
		width: 656px;
	}
	.uiblock{
		float: none;
		clear: both;
		margin-top: 10px;
		min-height: 30px;
	}
	.uiblock .righty{
		float: left;
	}
	.inline-graph{
		width: 100%;
		max-width: 400px;
		margin: 8px auto;
		display: block;
	}
	.keyoff{
		margin: -5px 0 -12px -10px;
		float: left;
	}
}
@media only screen and (max-width: 694px){
	.chartwidth{
		width: 440px;
	}
	.del-btn span{
		font-size: 12px;
		line-height: 18px;;
	}
	.key-box{
		float: none;
		clear: both;
	}
	.keyoff{
		display: block;
		margin-top: 2px;
		float: none;
		clear: both;
		overflow: hidden;
	}
	.keyoff .keyset.righty{
		float: left;
		margin: -2px 4px;
	}
}
@media only screen and (max-width: 452px){
	.chartwidth{
		width: 100%;
	}

	.datebox{
	    width: 320px;
	}
	.calbox{
		width: 320px;
		margin: 0 auto 30px;
	}
	#inner-content {
	    margin-top: 30px;
	    margin-left: 0px;
	    margin-right: 0px;
	}
	.notation {
	    width: 100%;
	}
	body.view-DEM .datebox.xwide{
    	width: 100%;
	}
	.sticky-wrap {
		padding: 16px 14px;
	}
	#delegate-cal h2{
	    padding: 16px 14px;
	}
}
@media only screen and (max-width: 420px){
	.uidivider{
		display: none;
	}
	.del-btn{
		display: block;
		overflow: hidden;
		margin-bottom: 6px;
	}
	.del-btn.righty{
		float: none;
	}
	h2 {
	    font-size: 1.6em;
	}
	.key-today, .key-box {
    	margin-top: -2px;
    }
	#delegate-cal h2{
		padding: 0px 14px;
	}
	.key-box.stacked {
	    margin-top: -14px;
	    margin-top: -14px;
	    display: block;
	    float: none !important;
	    clear: both;
	}
}

@media only screen and (max-width: 324px){
	body.view-DEM .datebox.xwide{
    	width: 100%;
	}
	.datebox{
	    width: 100%;
	}
	.calbox{
		width: 98%;
	}
	.key-today, .key-box {
		float: none;
		display: inline-block;
	}
}


@keyframes z-animate-in{
	0%	{
		z-index: 1;
	}
	100% {
		z-index: 8;
	}
}
@-webkit-keyframes z-animate-in{
	0%	{
		z-index: 1;
	}
	100% {
		z-index: 8;
	}
}

@keyframes z-animate-out{
	0%	{
		z-index: 8;
	}

	100% {
		z-index: 1;
	}
}
@-webkit-keyframes z-animate-out{
	0%	{
		z-index: 8;
	}
	100% {
		z-index: 1;
	}
}



@keyframes unreveal{
  0%   {
    top: 0%;
  }
  50% {
    top: -30%;
  }
  100% {
    top: -50%;
  }
}

@-webkit-keyframes unreveal{
  0%   {
    top: 0%;
  }
  50% {
    top: -30%;
  }
  100% {
    top: -50%;
  }
}


body.graph-scroll-fixed #full-header.stuck.sticky-header {
  position: fixed;
  z-index: 999;
  top: 0px;
  background-color: white;
  animation: unreveal .9s ease normal;
  -webkit-animation: unreveal .9s ease normal;
	animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
}

body.noadd.graph-scroll-fixed #full-header.stuck.sticky-header {
	position: static;
}


/*ie9+ (????)*/
/*  #full-header{
    background: #2800D7 !important;
  }
  #full-header.sticky-header.stuck{
    background: white !important;
  }*/

