/************************************************/
/*----------------------------------------------*/
/*  Plures Multi Website Analytics 1.3          */
/*----------------------------------------------*/
/*  Copyright (c) 2017                          */
/*  v1.1 originally written by Joćo Ferreira    */
/*                                              */
/*----------------------------------------------*/
/*  CSS FILE                                    */
/*----------------------------------------------*/
/************************************************/


/*--------------------------------------*/
/*            DEFAULT TAGS              */
/*--------------------------------------*/

BODY {
	margin: 0px;
	padding: 0px;
	font-family: verdana;
	font-size: 13px;
}

H1 {
	font-weight: normal;
}

INPUT, TEXTAREA, SELECT {
	padding: 5px;
	margin: 5px;
}

/*--------------------------------------*/
/*            MAIN PAGE                 */
/*--------------------------------------*/

#main {
	padding: 20px;
}

#main .settings_link {
	text-align:right;
	font-family: verdana;
	font-size: 12px;
}

#main .active_months {
	text-align: center;
	margin-bottom: 10px;
}

#main .no_sites_registered {
	text-align: center;
	width: 700px;
	border: 2px dashed #AAAAAA;
	padding: 50px;
	margin: 20px auto 20px auto;
}

#main .show_hide_links {
	text-align: center;
	margin-bottom: 15px;
	font-size: 9px;
}

/*--------------------------------------*/
/*            ALIGNMENT                 */
/*--------------------------------------*/

.center {
	text-align: center;
}


/*--------------------------------------*/
/*            VISIBILITY                */
/*--------------------------------------*/


.closed {
	display: none;
}

.open {
	display: block;
}

.clb {
	clear: both;
}

/*--------------------------------------*/
/*            HEADER                    */
/*--------------------------------------*/

#header {
	background-color: #000000;
	padding: 2px;
	text-align: center;
}

#header a {
	color: #FFFFFF;
}


/*--------------------------------------*/
/*            MONTH TOTALS              */
/*--------------------------------------*/

#table_totals {
	width: 800px;
	margin: auto;
	margin-bottom: 20px;
	border-spacing: 1px;
}

#table_totals th {
	border: 1px solid #AAAAAA;
	border-radius: 5px;
	padding: 5px;
	background-color: #f0e7cb;
	font-weight: bold;
	text-align: left;
}

#table_totals th.corner {
	border: 0px;
	background-color: transparent;
}

#table_totals th span {
	font-size: 7pt;
	font-family: tahoma;
	font-weight: normal;
}

#table_totals td,
#table_totals td.updated_referrers {
	border: 1px solid #CCCCCC;
	padding: 5px;
}

#table_totals td.updated_referrers span.sengines {
	font-size: 10px;
}

#table_totals td.no_data {
	padding: 10px;
}

#table_totals td.site_title {
	padding: 5px;
	font-weight: bold;
	color: white;
	border-radius: 5px
}

#table_totals td sup {
	float: right;
	color: #AAAAAA;
	font-size: 7pt;
	font-family: tahoma
}

#table_totals td img.icon {
	width: 12px;
	margin-left: 5px;
}

#table_totals td span.non_genuine_visit {
	font-size: 7pt;
	font-family: tahoma;
	margin-left: 2px;
}

/*--------------------------------------*/
/*            DAY TOTALS                */
/*--------------------------------------*/

#table_days {
	border-spacing: 1px;
	margin: auto;
}

#table_days th {
	border: 1px solid #AAAAAA;
	border-radius: 5px;
	padding: 5px;
	background-color: #f0e7cb;
	font-weight: bold;
	text-align: left;
}

#table_days tr.site_title th {
	width: 100px;
	color: white;
}

#table_days tr.site_title th.corner {
	width: 10px;
	background-color: transparent;
	border: 0px;
}

#table_days tr.site_title th.separator {
	width: 5px;
	background-color: transparent;
	border: 0px;
}

#table_days th.day {
	text-align: center;
}


#table_days tr.day td {
	border: 1px solid #CCCCCC;
	padding: 5px;
}

#table_days tr.day td.day { 
	background-color: #f9f7fd;
	text-align: center;
}

#table_days tr.day td.weekend { 
	background-color: #fff4ef;
}

#table_days tr.day td.today { 
	font-weight: bold;
}


#table_days tr.day td.average { 
	background-color: #d9e2c3;
}

/*--------------------------------------*/
/*            LISTS                     */
/*--------------------------------------*/
/*----------------------------------------------------------------*/
/*    UNIQUE USERS; REFERRERS; KEYWORDS; FILTERED; REQUESTS       */
/*----------------------------------------------------------------*/


#filtered_list .sort_options,
#unique_visitors .sort_options,
#referrer_list .sort_options,
#req_list .sort_options {
	float: right;
}

#unique_visitors .showall_link,
#req_list .showall_link {
	margin: 20px;
	text-align: center;
}

#filtered_list table,
#unique_visitors table,
#referrer_list table,
#keyword_list table,
#req_list table {
	border-collapse: collapse;
	width: 100%;
}

#filtered_list tr.active_today:hover,
#unique_visitors tr.active_today:hover,
#referrer_list tr.active_today:hover,
#keyword_list tr.active_today:hover,
#req_list tr.active_today:hover {
	background-color: #ecf9e8;
}

#filtered_list tr:hover,
#unique_visitors tr:hover,
#referrer_list tr:hover,
#keyword_list tr:hover,
#req_list tr:hover {
	background-color: #fafafa;
}


#filtered_list td,
#unique_visitors td,
#referrer_list td,
#keyword_list td,
#req_list td {
	border-bottom: 1px solid #CCCCCC;
	padding: 5px;
}

#referrer_list td svg {
	overflow: visible !important;
}


#filtered_list tr.active_today,
#unique_visitors tr.active_today,
#referrer_list tr.active_today,
#keyword_list tr.active_today,
#req_list tr.active_today {
	background-color: #f2fbef;
}

#filtered_list tr .host {
	font-size: 9px;
}


#filtered_list th,
#unique_visitors th,
#referrer_list th,
#keyword_list th,
#req_list th {
	font-weight: bold;
	text-align: left;
	border-bottom: 1px solid #CCCCCC;
	padding: 5px;
}

#req_list th span {
	font-size: 9px;
}

#filtered_list th.user_agent {
	width: 60%;
}

#unique_visitors img.tag {
	width: 20px;
}

#unique_visitors .top_browsers {
	float: right;
}

#unique_visitors .top_icon_txt {
	font-size: 9px;
}

#unique_visitors .host_addr,
#unique_visitors .request {
	font-size: 7pt;
	font-family: tahoma;
	color: #AAAAAA
}

#unique_visitors .dynamic_ip_tag {
	margin-left: 5px;
	width: 12px
}

#keyword_list td img.sengine_icon {
	width: 15px;
}

/*--------------------------------------*/
/*            FORMS                     */
/*--------------------------------------*/
/*---------------------------------------------*/
/*            SETTINGS; WEBSITE REG./EDIT      */
/*---------------------------------------------*/

#settings form, #edit_site form, #register_site form {
	margin: 20px;
}


#settings form input[name="crawlers"],
#settings form input[name="host_filter"],
#settings form input[name="default_colors"] {
	width: 500px;
}

#settings form input[name="tbl_margin_after_curr_day"],
#settings form input[name="tbl_margin_before_curr_day"] {
	width: 50px;
}

#settings .small_font,
#register_site .small_font,
#edit_site .small_font {
	font-size: 10px;
	font-family: verdana;
}

#settings .container,
#register_site .container,
#edit_site .container {
	margin: 20px;
}

#settings fieldset {
	border: 1px dotted #AAAAAA;
}

#register_site input[name="host"],
#edit_site input[name="host"] {
	width: 500px;
}

#edit_site .custom_color_preview {
	width: 50px;
	border: 1px solid #AAAAAA;
}

#edit_site .delete_site  {
	width: 150px;
	float: right;;
}

#edit_site .js_code_box {
	margin: 10px;
	padding: 10px;
	background-color: #EEEEEE;
	border: 1px dotted #BBBBBB
}

#edit_site .delete_site input[name="delete_site"] {
	
}

/*--------------------------------------*/
/*            LOGIN SCREEN              */
/*--------------------------------------*/

#login {
	padding: 50px;
	text-align: center;
}

#login INPUT {
	padding: 5px;
	margin: 5px;
}


/*--------------------------------------*/
/*            QUERY MESSAGES            */
/*--------------------------------------*/


#message {
	padding: 3px;
}

#message .success {
	color: #60bf5b;
	font-style: italic;
	font-size: 16px;
}

#message .fail {
	color: #FF0000;
	font-style: italic;
	font-size: 16px;
}

/*--------------------------------------*/
/*            FOOTER                    */
/*--------------------------------------*/

#footer {
	margin: 20px;
	text-align: center;
}

/*--------------------------------------*/
/*            CHART                     */
/*--------------------------------------*/

#main_chart {
	margin: auto;
	display: block;
}

#main_chart .title {
	font-size:15px;
	font-family: tahoma;
	fill: black;
}

#main_chart .v_axis {
	stroke:black;
	stroke-width: 1;
	shape-rendering:crispEdges
}

#main_chart .h_axis {
	stroke:black;
	stroke-width:1; 
	shape-rendering:crispEdges
}

#main_chart .h_ref_text {
	font-size: 9px;
	font-family: tahoma;
	fill: black;
}

#main_chart .h_ref_line {
	stroke:black;
	stroke-width:0.1;
	stroke-dasharray: 1,1
}

#main_chart .v_guide_line {
	stroke:black;
	stroke-width:0.1;
	stroke-dasharray: 1,1
}

#main_chart .v_guide_weekend {
	fill: #fff4ef;
}

#main_chart .index_text {
	font-size: 9px;
	font-family: tahoma;
	text-anchor:middle;
	fill: black;
}

#main_chart .site_label {
	font-size: 12px;
	text-anchor: end
}

#main_chart .data_line_views {
	stroke-width: 1;
	stroke-dasharray: 2,2;
	fill: none;
}

#main_chart .data_line_visitors {
	fill:none;
	stroke-width: 1
}

#main_chart .data_node {
	r: 2.5;
	stroke-width: 0.5;
	fill: white
}

#main_chart #data_types_label rect {
	fill: #f4f7f9;
	stroke-width: 1;
	stroke: #8fa5c9;
	shape-rendering: crispEdges
}

#chart_compact .data_line {
	fill: none;
	stroke: blue;
	stroke-width: 0.4
}

#chart_compact .data_line_filled {
	fill: #e8fdff;
	stroke: none;
}

#chart_compact .data_node {
	r: 1.5;
	fill: white;
	stroke: blue;
	stroke-width: 0.5;
}


/*--------------------------------------*/
/*            CHART TOOLTIP             */
/*--------------------------------------*/


#tooltip_container .tooltip {
	visibility: hidden;
}

#tooltip_container:hover .tooltip {
    visibility: visible;
    opacity: 0.7
}

#tooltip_container:hover circle {
    stroke-width: 2;
}

#tooltip_container .tooltip rect {
    fill: #eaf5ff;
    stroke: #8ac7fc;
    stroke-width: 0.2
}