@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
html {
  height: 100%;
}
body {
	font-family: 'Lato', sans-serif;
	padding:1%;
	position:relative;
	height:96%;
	padding:1%;
	margin:0;
	min-height:550px;

}
 #socialDiv {
	position:absolute;
	top: 0.5%;
	/*top:-10%;*/
	right: 0.5%;
	z-index: 9999999999;
	vertical-align:middle !important;
	/*opacity: 0;*/
	display:block;
	
}
#twDiv1 {
	float:left;
	/*margin: 0.4vw;*/
	margin-left: 0.3vw;
	margin-top: 0vw;
	vertical-align:middle !important;
	line-height:normal;
}
#fbDiv1 {
	float:left;
	vertical-align:middle !important;
	line-height:normal;
}
#cred {
	position:absolute;
	bottom:10px;
	font-size:9px;
}
#cred1 {
	padding-bottom:5px;
}
#fname {
	width:20%;
}
#fscore {
	width:10%;
}
#zonesel {

}
#mainbody {

	width:100%;
	height:100%;
	padding:0;
	margin:0;
		max-width:850px;
		margin: auto;
		position:relative;
}
#maindiv {
	position:relative;
	/*height:80%;*/
	/*overflow:scroll;
	overflow-x: hidden;*/
	/*border:1px solid #888888;*/
	width:100%;
	/*border-radius: 10px;*/

}
.searchtxt {
	font-size:12px;
	padding-left:10px;
	padding-right:5px;
	
}
.scoretxt {
	font-size:12px;
	padding-left:10px;
	padding-right:5px;
	
}
.const {
	padding:10px;
	padding-top:10px;
	padding-bottom:10px;
	border-radius: 10px;
	border:1px solid #A9A9A9;
	margin-bottom:5px;
	height:10vh;
}
.hconst {

	padding:10px;
	padding-top:10px;
	padding-bottom:10px;
	border-radius: 10px;
	/*border:1px solid #A9A9A9;*/
	margin-bottom:5px;
	/*height:10vh;*/
	

}
.consthead {
	width:100%;
}
.constsubmain {
	width:100%;
}
.constsub1, .constsub2 {
	font-size:12px;
	padding-right:10px;
	display:inline-block;
}
.constname, .hconstname {
	font-weight:bold;
	font-size:10.5px;
	padding-bottom:5px;
	padding-right:5px;
	width:26%;
	display:inline-block;
	/*border:1px solid black;*/
}


.constcol {
	display:inline-block;
	width:12%;
	/*background-color:green;*/
	height:12px;
	text-align:center;
	/*border:1px solid black;*/
	font-size:11px;
	vertical-align:top;
}
.hconstcol {
	display:inline-block;
	width:12%;
	/*background-color:green;*/
	/*height:12px;*/
	text-align:center;
	/*border:1px solid black;*/
	font-size:12px;
	vertical-align:top;
}
.hconstcolsub {
	font-size:9px;
}
.constnamesubspace {
	padding-top:3px;
}
.constnamesub {
	color:#999999;
	font-size:9.4px;
	padding-top:2px;
}
.constnamesub2 {
	color:#79a6d2;
	font-size:9.4px;
}
.grey {
	background-color:#F5F5F5;
}
.fullbar {
	display:inline-block;
	width:64%;
	/*background-color:green;*/
	height:12px;
	text-align: right;
}
.partybarfull {
	display:inline-block;
	width:65.5%;
	/*background-color:green;*/
	height:10px;
	
}
.partybarpap {
	background-color:#DF4D66;
	height:10px;
	
}
.papbar {
	background-color:#07A1DD;
	height:10px;
}
.partystr {
	margin-top:10px;
	padding:10px;
	background-color:#F5F5F5;
	border-radius: 10px;
	display:none;
}
.partytitle {
	font-weight:bold;
	font-size:18px;
	padding-bottom:5px;
	display:inline-block;
	width:29.5%;
	padding-right:5px;
}
.partycont {
	font-size:14px;
	padding:10px;
	padding-left:30px;
	background-color:#E0E0E0;
	border-radius: 10px;
	display:none;
	/*width:100%;*/
}
.partysubmain {
	width:100%;
}
.partysub1, .partysub2 {
	font-size:12px;
	display:inline-block;
	padding-right:10px;

}
.partydiv {
	padding:5px;
}

.partydiv2 {
	
	padding:5px;
	padding-left:8px;
	/*width:100%;*/
}

.partydiv2 div {
	
	display:inline-block;
	
	/*width:100%;*/
}
.partyname {
	
	width:22%;
	font-weight:bold;
}
.party1, .party2 {
	
	width:25%;
}
#sgcharttitle {
	font-size:14px;
	padding-top:28px;
	padding-bottom:10px;
	font-weight:bold;
	display:inline-block;
}
#sgcharttitlesub {
		font-size:16px;
		padding-bottom:8px;
}
	#sgcharttitlesub2 {
		font-size:12px;
	padding-top:0px;
	padding-bottom:10px;
	display:none;
}
#sgchartcont {
	width:100%;
}

#sortspend, #sortalpha {
	padding:5px;
	display:inline-block;
	cursor:pointer;
	border-radius: 8px;	
	border:1px solid #888888;
	color:#888888;
	margin-left:10px;
}
#sortspend {
	padding:5px;
	display:inline-block;
	cursor:pointer;
	border-radius: 8px;	
	border:none;
	margin-left:10px;
	color:white;
	background-color:#888888;
}
	


.arrow-down {
  /*width: 0; 
  height: 0; 
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  
  border-top: 20px solid #D3D3D3;
  */
  position:absolute;
  right:8px;
  color:#888888;
  
}

.arrow-down:before {
   content:  "+";
}

.arrow-down2 {
  /*width: 0; 
  height: 0; 
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  
  border-top: 18px solid #585858;*/
  position:absolute;
  right:18px;
  color:#888888;
}
.arrow-down2:before {
   content:  "+";
}

.legend {
	background-color:white;
	font-size: 15px;
	
}
.label {
	pointer-events: none;
	font-size: 10px;
	font-weight:bold;
}
.label1 {
	pointer-events: none;
	font-size: 11px;
}
.label2 {
	pointer-events: none;
	font-size: 11px;
}
#sgchart1 {
	width:100%;
	margin: 0 auto;
	position:relative;
	/*max-width:850px;;*/
}
svg {
	text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
	/*shape-rendering: crispEdges;*/
	shape-rendering: auto;
	/*font-family: 'Lato', sans-serif;*/

}
.rect {
	pointer-events: none;	
}

.axis path,
.axis line {
	fill: none;
	stroke: #000;
}

path.domain {
	stroke: none;
}

.y .tick line {
	stroke: #ddd;
}
.tooltip {	
	position: absolute;			
	text-align: center;			
	width: 230px;					
	/*height: 5vw;	*/
	height:auto;
	padding: 0.6vw;
	/*font-size: 1.2vw;*/
	color:white;
	border: 0px;		
	border-radius: 8px;			
	pointer-events: none;	
	font-family: 'Lato', sans-serif;
	left:0;
	/*top:0;*/
	display:block;	
	font-size:16px;
	font-weight:bold;

	background:white;
	color:black;
	-webkit-box-shadow: 6px 6px 22px -5px rgba(0,0,0,0.31);
	-moz-box-shadow: 6px 6px 22px -5px rgba(0,0,0,0.31);
	box-shadow: 6px 6px 22px -5px rgba(0,0,0,0.31);
}
.tty {
	/*background-color:white;*/
	border-radius: 8px;	
	margin-bottom:0.4vw;	
	padding: 0.6vw;	
	font-weight:bold;
}
.ttd {
	background: #bd060a;
	border-radius: 8px;	
	color:white;
	margin-bottom:0.4vw;	
	padding: 0.6vw;	
}
.tth {
	
	background: #617ab3;
	border-radius: 8px;	
	color:white;
	padding: 0.6vw;	
	margin-bottom:0.4vw;	
}
 #charttitle {
	font-family: 'Lato', sans-serif;
	padding:0px;
	width:100%;
	margin: 0 auto;
	text-align:center;
	font-size:18px;
	font-weight:bold;
	padding-top:15px;
	padding-bottom:10px;

}
span.avoidwrap { display:inline-block; }

.line {
  fill: none;
  stroke: #EF5285;
  stroke-width: 2px;
}

.axis path, .axis line {
    fill: none;
    stroke: #000000;
}
	
.grid line {
  stroke: lightgrey;
  stroke-opacity: 0.7;
  shape-rendering: crispEdges;
}
.legendtxt {
	font-size:18px;
}
.barbg {
	/*fill: #F4FCFF;*/
}
#tt1 {
	position: absolute;			
	text-align: center;				
	padding: 12px;				
	font: 12px sans-serif;		
	background: #EDEDED;	
	border: 0px;		
	border-radius: 8px;			
	pointer-events: none;	
	left:100px;
	top:100px;
	border-radius: 15px;
	opacity:0;
	z-index:9999;
}

.tt1lntitle {
	font-size: 14px;
	padding-top:3px;
	padding-bottom:8px;

}

.tt1ln {
	padding:3px;
	padding-left:10px;
	padding-right:10px;
	background-color:white;
	margin-bottom:5px;
	border-radius: 10px;

}
.tt1lnnm {
	font-size: 12px;
}
.tt1lndesc {
	font-size: 10px;
	font-weight:bold;

}
#tt1ln1 {
	background-color:white;
}
#tt1ln5 {
	background-color:#2b62b9;
	color:white;
}

#tt1ln4 {
	background-color:#dee7f5;
}
#tt1ln3 {
	background-color:#FFAC9E;
}
#tt1ln2 {
	background-color:#f9adad;
}
.layer {
pointer-events: none;
}	
.sgchartln {
	border:1px solid #C8F1FF;
	display: inline-block;
	width:14.5%;
	height:7%;
	padding:5px;
	margin:0.15%;
	background-color:#F4FCFF;
}
#sgchartln1 {
	width:16%;
}
.sgchartlntitle {
	font-size:9.5px;
	font-weight:bold;
}
.sgchartlnnum {
	font-size:12px;
}
#cnalogodiv {
		position:absolute;
		bottom:15px;
		right:5px;
		z-index:999;
		cursor:pointer;
	}
	#cnalogo {
		width:35px;
		z-index:999;
	}
	
#legenddiv {
	position:absolute;
		bottom:15px;
		left:5px;
		z-index:999;
}
.legendbox {
	display:inline-block;
		width:10px;
	height:10px;
	margin-right:3px;
	background-color:red;
}
#legendbox1 {
	background-color:#2b62b9;
}
#legendbox2 {
	background-color:#dee7f5;
}
#legendbox3 {
	background-color:#FFAC9E;
}
#legendbox4 {
	background-color:#f9adad;
}
#legendboxnew {
	display:inline-block;
}
#legendbox5 {
	background-color:#c1392b;
	
}
.legendtxt {
	display:inline-block;
	padding-right:10px;
	font-size:10px;
}
#sgchartinfo {
	display:none;
}
#itemPageTxt {
	font-size:12px;
}
#itemPageLeft, #itemPageRight {
	display: inline-block;
	width:2vw;
	cursor:pointer;
	/*border:2px solid #39a33f;*/
	color: #39a33f;
	padding:3px;
	margin-left:10px;
	margin-right:10px;
	  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */

}


/* @media (orientation: portrait) */
@media (max-width:520px)  { /* smartphones, Android phones, landscape iPhone */ 
	
/*@media screen and (max-width: 980px) {*/

	body {
		padding:0%;
		margin:0.8%;
	}
	#maindiv {
		height: 76%;
		
	}

	#sgchart1 {
		width:100%;
	}
	svg {
		text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
	}
	.axis {
		font-size:14 px;
	}
	.legend {
		font-size: 22px;
	}
	.tooltip {	
		font-size:12px;
		width: 150px;	
	}
	.label {
		pointer-events: none;
		font-size: 8px;
		font-weight:bold;
	}
	.label1 {
		font-size:12px;
		font-weight:bold;
	}
	.label2 {
		font-size:12px;
		font-weight:bold;
	}
	#sgcharttitle {
		font-size: 12px;
		padding:8px;
		padding-top:28px;
		padding-bottom:6px;
		
		display:block;

	}
	#sgcharttitlesub {
		display:none;
	}
	#sgcharttitlesub2 {
		font-size:12px;
		padding-top:5px;
		padding-bottom:5px;
		display:block;
		padding-left:12px;
	}
	#sortspend, #sortalpha {
		margin-bottom:2px;
		font-size:10.5px;
	}

.const {
    padding: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.constname {
	font-size:8px;
}

.constcol {
	font-size:8.5px;
}
.hconstcol {
	
	/*width:11.4%;*/
	height:12px;
	font-size:9px;
}
.hconstcolsub {
	font-size:7.5px;
}




.hconstname {
	width:24%;
}

.hconst {
    padding: 0px;
    padding-top: 15px;
    padding-bottom: 18px;
}

.partytitle {
	font-size:14px;
}
.partycont {
    padding: 5px;
    padding-left: 0px;
    border-radius: 5px;
    font-size:10px;
}
.partydiv {
    padding: 5px;
}
.partydiv2 {
    padding: 5px;
    padding-left: 15px;
}
.partyname {
    width: 62%;
    font-weight: bold;
    display:block;
    font-size:14px;
    padding-bottom:1.5px;
    padding-right:10px;
}
.party1, .party2 {
    width: 35%;
    font-size:13px;
     display:block;
}
.party3 {
    width: 100%;
    font-size:13px;
     display:block;
}
	.sgchartln {
		width:45%;
		padding:0.8%;
		margin:0.15%;
	}
	#sgchartln1 {
		width:45%;
	}
	#sgchartln4 {
		width:45%;
	}
	.sgchartlntitle {
		font-size:9px;
	}
	#cnalogodiv {
		bottom:0px;
		right:5px;
	}
	#cnalogo {
		width:30px;
		z-index:999;
	}


}
  