/**
 * Description: CSS for backend.
 * CSS version 3
 * @category   wms7-backend-style.css
 * @package    WatchMan-Site7
 * @author     Oleg Klenitsky <klenitskiy.oleg@mail.ru>
 * @version    4.2.0
 * @license    GPLv2 or later
 */

/* for button debug log. Begin*/
.blinking {
	animation:blinkingText 0.8s infinite;
}
@keyframes blinkingText{
	50%{	color: lightgreen;	}
	100%{	color: green;	}
}


/* for modal window - cron-table. Not found:,Plugin task:,Themes task:,WP task: */
ul.tasks {
	margin-top: -5px;
	margin-bottom:5px;
}
ul.tasks li.tasks {
	display: inline;
	margin-right: 15px;
	margin-left: 15px;
	padding: 3px;
	list-style-type: none;
}

/* for filters II level. */
.visits {
	position: relative;
	top: 5px;
	font-weight: bold;
}
.radio + label {
	cursor: pointer;
	top:5px;
}
.radio:not(checked) {
	position: absolute;
	opacity: 0;
}
.radio:not(checked) + label {
	font-size: 13px;
	position: relative;
	padding: 0 0 0 20px;
}
.radio:not(checked) + label:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #FFF;
}
.radio:not(checked) + label:after {
	content: '';
	position: absolute;
	top: 1px;
	left: 1px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #9FD468;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
	opacity: 0;
	transition: all .2s;
}
.radio:checked + label:after {
	opacity: 1;
}
.radio:focus + label:before {
	box-shadow: 0 0 10px rgba(0,0,0,0.3),	0 1px 1px rgba(0,0,0,0.25);
}

/* Custom button SSE */
.sse {
	position: relative;
	width: 80px;
	height: 15px;
	margin: auto;
	margin-bottom: -20px;
	padding:0;
	top:10px;
	left:-10px;
}

.sse input {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	z-index: 100;
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.sse label {
	display: block;
	width: 100%;
	height: 100%;
	background: #a5a39d;
	border-radius: 40px;
	box-shadow:
	inset 0 3px 8px 1px rgba(0,0,0,0.2),
	0 1px 0 rgba(255,255,255,0.5);
}

.sse label:after {
	content: "";
	position: absolute;
	z-index: -1;
	top: -8px; right: -8px; bottom: -8px; left: -8px;
	border-radius: inherit;
	background: #ababab;
	background: -moz-linear-gradient(#f2f2f2, #ababab);
	background: -ms-linear-gradient(#f2f2f2, #ababab);
	background: -o-linear-gradient(#f2f2f2, #ababab);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#ababab));
	background: -webkit-linear-gradient(#f2f2f2, #ababab);
	background: linear-gradient(#f2f2f2, #ababab);
	box-shadow: 0 0 10px rgba(0,0,0,0.3),	0 1px 1px rgba(0,0,0,0.25);
}

.sse label:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -18px; right: -18px; bottom: -18px; left: -18px;
	border-radius: inherit;
}

.sse label i {
	display: block;
	height: 100%;
	width: 60%;
	border-radius: inherit;
	position: absolute;
	z-index: 2;
	right: 40%;
	top: 0;
	background: #b2ac9e;
	background: -moz-linear-gradient(#f7f2f6, #b2ac9e);
	background: -ms-linear-gradient(#f7f2f6, #b2ac9e);
	background: -o-linear-gradient(#f7f2f6, #b2ac9e);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f2f6), to(#b2ac9e));
	background: -webkit-linear-gradient(#f7f2f6, #b2ac9e);
	background: linear-gradient(#f7f2f6, #b2ac9e);
	box-shadow:
	inset 0 1px 0 white, 0 0 8px rgba(0,0,0,0.3),	0 5px 5px rgba(0,0,0,0.2);
}

.sse label i:after {
	content: "SSE";
	font-size: 13px;
	position: absolute;
	left: 27%;
	top: -5%;
	width: 70%;
	height: 50%;
}

.sse label i:before {
	content: "OFF";
	text-transform: uppercase;
	font-style: normal;
	font-weight: bold;
	color: rgba(0,0,0,0.4);
	text-shadow: 0 1px 0 #bcb8ae, 0 -1px 0 #97958e;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 13px;
	position: absolute;
	top: 80%;
	margin-top: -12px;
	right: -50%;
}

.sse input:checked ~ label {
	background: #9abb82;
}

.sse input:checked ~ label i {
	right: -1%;
}

.sse input:checked ~ label i:before {
	content: "ON";
	right: 115%;
	top: 80%;
	color: #82a06a;
	text-shadow: 0 1px 0 #afcb9b,	0 -1px 0 #6b8659;
}

/* Blue shield on the main page */
.banners {
	position:absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 98%;
	margin-top:-12px;
	z-index:-1;
}

/* Display panel info -items of fieldset on screen settings tab*/
.panel-info-screen-setting{
	position: absolute;
	top:72px;
	left: 360px;
	border: 1px solid black;
	width: auto;
	padding: 0 10px;
}
/* Main panel info*/
.info_panel{
	display: flex;
	justify-content: space-around;
	position: relative;
	margin: 0 0 20px 0;
	width: 100%;
	height:120px;
	top: 10px;
	border-radius: 10px;

	background: #a5a39d;
	box-shadow:
	inset 0 3px 8px 1px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.5);
}
.info_panel:after {
	content: "";
	position: absolute;
	z-index: -1;
	top: -8px; right: -8px; bottom: -8px; left: -8px;
	border-radius: inherit;
	background: #ccc;
	background: linear-gradient(#f2f2f2, #ababab);
	box-shadow: 0 0 10px rgba(0,0,0,0.3), 0 1px 1px rgba(0,0,0,0.25);
}
/* Legent of 4items panel info*/
.panel_title {
	font-style: normal;
	font-weight: bold;
	font-family: Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	text-shadow: 0 1px 0 #bcb8ae, 0 -1px 0 #97958e;
	background: #82a06a;
}
/* Block area of 4items panel info*/
.blockarea_panel_info {
	display: block;
	width: 95%;
	height:80px;
	margin: 0 auto;
	border-collapse: collapse;
	background-color:#F0F0F1;
}
/* Fieldset content of 1-4 items panel info*/
.fldset_panel_info {
	position: relative;
	float:left;
	height:110px;
	border-radius: inherit;
	background: #b2ac9e;
	background: linear-gradient(#f7f2f6, #b2ac9e);
	box-shadow:	inset 0 1px 0 white, 0 0 8px rgba(0,0,0,0.3), 0 5px 5px rgba(0,0,0,0.2);
}
/* Field Info of main table -> Login: */
.successful{
	font-weight:bold;
	color:green;
}
.failed{
	font-weight:bold;
	color:red;
}
.robot{
	font-weight:bold;
	color:black;
}
.unlogged{
	font-weight:bold;
	color:blue;
}
/* Formating fields of main table */
.wp-list-table .column-cb { width: 4%; }
.wp-list-table .column-id { width: 5%; }
.wp-list-table .column-uid { width: 5%; }
.wp-list-table .column-user_login { width: 10%; }
.wp-list-table .column-user_role { width: 10%; }
.wp-list-table .column-time { width: 8%; }
.wp-list-table .column-user_ip { width: 12%; }
.wp-list-table .column-bl { width: 10%; }
.wp-list-table .column-page_visit { width: 12%; }
.wp-list-table .column-page_from { width: 12%; }
.wp-list-table .column-info { width: 12%; }

/* Styles related to the popup window and table cron */
.table_cron {
	table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
	border: 1px solid #5A5750;
	-webkit-box-shadow: 0px 0px 10px #000;
	-moz-box-shadow: 0px 0px 10px #000;
	box-shadow: 0px 0px 10px #000;
}
.th_cron, .td_cron {
	text-align: left;
  word-wrap: break-word;
  padding: 5px;
  border: 1px solid black;
}
.thead_cron, .tfoot_cron {
	background: #fff;
	display:table;
	width:100%;
	width:calc(100% - 18px);
}
.tbody_cron {
	height:195px;
	max-height:195px;
	overflow-x: hidden;
	overflow-y: scroll;
	display:block;
	width:100%;
	color: black;
}
.tbody_cron .tr_cron {
	display:table;
	width:100%;
	table-layout:fixed;
}

/* Styles related to the popup window and table stat */
.table_stat th {
  background: #fff;
}
.stat_td, .stat_th {
  padding: 5px;
  border: 1px solid black;
}

/* button of close win */
.win-popup .btn-close {
	position: absolute;
	top: 12px;
	right: 12px;padding: 0;
	width: 18px;
	height: 18px;
	border: 2px solid #ccc;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-ms-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
	background-color: rgba(61, 61, 61, 0.8);
	-webkit-box-shadow: 0px 0px 10px #000;
	-moz-box-shadow: 0px 0px 10px #000;
	box-shadow: 0px 0px 10px #000;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	line-height: 18px;
	-webkit-transition: all ease .8s;
	-moz-transition: all ease .8s;
	-ms-transition: all ease .8s;
	-o-transition: all ease .8s;
	transition: all ease .8s;
}
.win-popup .btn-close:before {
	color: rgba(255, 255, 255, 0.9);
	content: "X";
	text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
	font-size: 14px;
}
.win-popup .btn-close:hover {
	background-color: rgba(252, 20, 0, 0.8);
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	transform: rotate(360deg);
}

/* Styles related to the popup window and content */
.popup-header {
	padding: 10px 10px;
}
.popup-header h2 {
	color: #008000;
	background-color: #D4D0C8;
	text-align: center;
	text-shadow: 0 1px 3px rgba(0,0,0,.3);
	font:22px Arial, Helvetica, sans-serif;
	position: relative;
	margin: 0 0 0 0;
	padding: 0 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	-webkit-box-shadow: 0px 0px 10px #000;
	-moz-box-shadow: 0px 0px 10px #000;
	box-shadow: 0px 0px 10px #000;
}

.win-popup{
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.5);
	overflow:hidden;
	position:fixed;
	top:0;
	left:0;
}
.win-popup .popup-content{
	width: 680px;
	height: 400px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
.popup-content{
	position: relative;
	margin: 0 0 20px 0;
	float:left;
	width: 100%;
	height:120px;
	top: 10px;
	border-radius: 10px;

	background: #a5a39d;
	box-shadow: inset 0 3px 8px 1px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.5);
}
.popup-content:after{
	content: "";
	position: absolute;
	z-index: -1;
	top: -8px; right: -8px; bottom: -8px; left: -8px;
	border-radius: inherit;
	background: #ccc;
	background: linear-gradient(#f2f2f2, #ababab);
	box-shadow: 0 0 10px rgba(0,0,0,0.3), 0 1px 1px rgba(0,0,0,0.25);
}
.popup-body{
	width: 670px;
	padding:0;
	margin:0;
}
.popup-body textarea{
	position: relative;
	text-align: left;
	padding: 10px 15px;
	width: 94%;
	background: #fff;
	color: black;
	margin-left: 20px;
	height:295px;
	border: 1px solid #5A5750;
	-webkit-box-shadow: 0px 0px 10px #000;
	-moz-box-shadow: 0px 0px 10px #000;
	box-shadow: 0px 0px 10px #000;
	z-index:1;
}
.popup-footer{
	position: relative;
	text-align: left;
	padding: 0;
	margin:5px;
}
/* Styles related to the popup window and console */
#wms7_console #shell #header {
	font-family: 'lucida grande', 'lucida sans unicode', 'lucida sans', 'frutiger linotype', 'sans-serif';
	font-size: 13px;
	color: green;
}
#wms7_console #shell {
	display: block;
	margin:0 auto;
	padding: 5px 10px;
	overflow: auto;
	cursor: text;
	height: 310px;
	width: 90%;
	background-color: #2A2A2E;
	color: #FFFFFF;
	font-family: monaco, 'lucida console', 'courier new', 'courier', monospace;
	font-size: 13px;
	line-height: 18px;
	border: 1px solid #5A5750;
	-webkit-box-shadow: 0px 0px 10px #000;
	-moz-box-shadow: 0px 0px 10px #000;
	box-shadow: 0px 0px 10px #000;
}
#wms7_console #shell .row,
#wms7_console #shell .row form {
	display: inline;
	line-height: 18px;
}
#wms7_console #shell .row form input {
	border: none;
	outline: none;
}
#wms7_console #shell .result {
	line-height: 18px;
	margin-left: 10px;
}
#wms7_console #shell .result pre {
	font-size: 13px;
	font-family: monaco, 'lucida console', 'courier new', 'courier', monospace;
	margin: 0;
}
#wms7_console #shell .prompt {
	color: #fafbb9;
	font-weight: bold;
}
#wms7_console #shell input {
	font-family: monaco, 'lucida console', 'courier new', 'courier', monospace;
	font-size: 13px;
	background-color: #2A2A2E;
	color: #FFFFFF;
	width: 98%;
}
#wms7_console #shell .err {
	color: #FF0000;
	margin-left: 10px;
}
#wms7_console #shell a:link,
#wms7_console #shell a:visited {
	color: #FFFFFF;
}
