
body, html {

}

@media screen and (max-width: 450px) 	{
	#mscreen{
		display: none;
	}
}

.winery {
	font-size: 22px;
	color: #0066cc;
}

.error {
	line-height: 20px;
	font-weight: bold;
	color: #CC0000;
	font-size: 20px;
}

#col_w960 {
	margin: 5px;
}

textarea {
	width: 100%;
}


#col_w160 {
	border: 1px solid #cccccc; 
	padding:6pt 6pt; 
	margin: 0px; 

	width:190px; 
	min-height:90px;
	float:left;
	margin-left: 10px;
	margin-right: 10px;
}


#col_w320 {
	border: 1px solid #C4D2A7; 
	background: #D3DDBD;
	padding:6pt 6pt; 
	margin: 0px; 

	 
	max-width: 100%;
	
	margin-top: 20px;
	
	float:left;
	margin-left: 10px;
	margin-right: 10px;
	border-radius: 10px;
}


#rightside {
	float: right; 
}

.clearfix2 { clear: both; }

.flexgreen{
	display: inline;
}

@media screen and (max-width: 768px) 	{

	#col_w320 { 		
		
	}
	
	.flexgreen{
		width: 100%;
		display: block;
	}

}

table { 
  width: auto;
width: 100%;  

  border-collapse: collapse; 
  text-align: center;

}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #e4e4e4; 
}
th { 
  background: #333; 
  color: white; 
  font-weight: bold; 
}
td, th  { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
  font-size: 14px;
  text-align: center;

}

td a {
  font-size: 10px;
}



.graph {

    min-width: 27px;
    height: 11px;
    border: 1px solid #aeaeae;
    background-color: #efefef;
	display: inline-block;
	 vertical-align: middle;
	

}
.bar {
    height: 8px;
	margin-left: 1px;
	margin-top: 1px;
	margin-bottom: 4px;
    display: inline-block;
    position: relative;
    background-color: #aeaeae;
   

}

     .pieContainer {
          height: 50px;
		margin-left: auto;
		margin-right: auto;

	width: 50px;
     }
     .pieBackground, .pieBackground_v2 {

          position: absolute;
          width: 50px;
          height: 50px;
          -moz-border-radius: 25px;
          -webkit-border-radius: 25px;
          -o-border-radius: 25px;
          border-radius: 25px;
          -moz-box-shadow: -1px 1px 3px #000;
          -webkit-box-shadow: -1px 1px 3px #000;
          -o-box-shadow: -1px 1px 3px #000;
          box-shadow: -1px 1px 3px #000;
     } 
    .pie, .pie_v2 {
          position: absolute;
          width: 50px;
          height: 50px;
          -moz-border-radius: 25px;
          -webkit-border-radius: 25px;
          -o-border-radius: 25px;
          border-radius: 25px;
          clip: rect(0px, 25px, 50px, 0px);
     }
	 
     .hold {
          position: absolute;
          width: 50px;
          height: 50px;
          -moz-border-radius: 25px;
          -webkit-border-radius: 25px;
          -o-border-radius: 25px;
          border-radius: 25px;
          clip: rect(0px, 50px, 50px, 25px);
     }

     .pieBackground, .pie_v2  {
          background-color: #bbb;
     } 
	 
    .pie, .pieBackground_v2 {
		  background-color: #efefef;
     }
	 
	 
	 
	 
@media (max-width: 760px) {
	.graph {
		display: none;
	}
}

.shadowybox {
	width: 1200px; 
	max-width: 100%; 
	margin: 0px; 
	padding: 0px; 
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
	margin-left: auto; 
	margin-right: auto; 
	display: inline-block;

}





/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 560px),
(min-device-width: 568px) and (max-device-width: 1024px)  {

	.pieContainer{
		display: none;
	}

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
		text-align: left;
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 

	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		text-align: right;
		white-space: nowrap;
		
	}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Rank:"; }
	td:nth-of-type(2):before { content: "Term:"; }
	td:nth-of-type(3):before { content: "*Score:"; }
	td:nth-of-type(4):before { content: "†Duration:"; }
	td:nth-of-type(5):before { content: "*†*Duration:"; }
	td:nth-of-type(6):before { content: "**Related Terms:"; }
	
	th{
	display: none;
	}
	
	
}






#paging{
	color:#000000;
	padding-top: 4px;
	padding-right: 0px;
	padding-bottom: 14px;
	padding-left: 0px;
	margin-top: 2px;
	margin-bottom: 1px;
}

#paging a, #paging .current{
	padding:3px 9px 3px 9px;
	margin:0px 5px 0px 5px;
	border:1px solid #cccccc;
	color:#333333;
	text-decoration:none;
	border-radius: 5px 5px 5px 5px;
	box-shadow: 2px 2px 2px gray;
	line-height: 300%;
}

#paging .current{
	background-color: #cccccc;
}

#paging a{
	background-color: #ffffff;
}

#paging a:hover{
	background:#efefef;
}
