:root {
	--dark-red: #A00;
	--dark-green: #0A0;
	--width: 1400px;
	--fixed-left: calc(50% - var(--width) / 2);
	--font-size: 16px;
	--font-size-footer: 13px;
}

body {
	margin: 0px;
	padding: 0px;
	font-family: Arial;
	direction: rtl;
}
img {
	border: 0px;
	margin: 0px;
}

.tox-tinymce-aux {
    display: none;
}

.dark-red {
	color: var(--dark-red);
}

.clearfix::after {
	content: "";
	clear: both;
	display: block;
}

section.sticky {
    top: 66px;
	padding: 5px 0;
	box-shadow: 0 5px 4px -6px #000;
	margin-bottom: 15px;
}

#main input[type=text], #main input[type=number], #main input[type=email],
#main input[type=tel], #main input[type=password], #main select {
    width: 200px;
    padding: 2px;
    line-height: 1.4;
    height: 2em;
    box-sizing: border-box;
}
#main textarea, #main input.wide-input {
	box-sizing: border-box;
	width: 600px;
}

#main .auto-width-inputs input[type=text], #main .auto-width-inputs input[type=number],
#main .auto-width-inputs input[type=email], #main .auto-width-inputs input[type=tel],
#main .auto-width-inputs input[type=password], #main .auto-width-inputs select {
	width: auto;
}
input[type="submit"] {
    box-sizing: border-box;
	cursor: pointer;
}
select[multiple]
{
	vertical-align: top;
}

.center
{
	text-align: center;
}
.floatleft
{
	float: left;
}
.floatright
{
	float: right;
}
.inline-block
{
	display: inline-block;
}
.hidden
{
	display: none;
}
.ltr
{
	direction: ltr;
	display: inline-block;
}
tr.always-show
{
	display: table-row!important;
}
table.data-table.black td
{
	color: #000;
}
table.data-table.black .hidden td
{
	color: #666;
}
table.data-table.black tr.other-admin td:first-child
{
	color: #480;
}
table.data-table.black tr.private td:first-child,table.data-table.black tr.other-admin.private td:first-child
{
	color: purple;
}
.show-all .hidden
{
	display: table-row;
}
header.sticky {
	z-index: 3;
}
header.sticky, #site {
	margin: 0px auto 0px auto;
	max-width: var(--width);
}
header #topLine {
    line-height: 31px;
    font-size: 1.154rem;
    font-weight: bold;
	margin: 0 5px 5px;
}
header #topLine a{
	margin-right: 40px;
	color: #000;
}
header #topLine form {
	float: left;
	margin: 0;
}
header #logoLine {
	height: 28px;
	font-size: var(--font-size);
	text-align: center;
}
header #menuLine {
	line-height: 1.5rem;
	color: #ffffff;
	font-size: var(--font-size);
	background-image: linear-gradient(180deg, rgba(119,119,119,1) 0%, rgba(85,85,85,1) 40%, rgba(51,51,51,1) 60%, rgba(43,43,43,1) 100%);
	border-top: 1px solid #333;
	padding-bottom: 4px;
}
header #menuLine ul {
	list-style: none;
	margin: 0;
	padding-right: 25px;
}
header #menuLine > ul > li {
	display: inline-block;
	position: relative;
	margin-left: 10px;
}
header #menuLine ul ul {
	display: none;
	position: absolute;
	right: 0;
	top: 29px;
	background: #333;
	z-index: 10;
	padding: 3px 10px 8px 15px;
	white-space: nowrap;
	box-shadow: 0 2px 8px #333;
}
header #menuLine ul li:hover ul {
	display: block;
}
header #menuLine a {
	color: #ffffff;
	display: block;
	text-decoration: none;
	padding: 5px 4px;
    font-size: 1.25em;
}
header #menuLine a.active {
    color: #EEEEAA;
}
header .right .menuRight img{
	margin: 8px 8px 0px 8px;
	float: right;
}
header .right .menuRight a{
	color: #000000;
	text-decoration: none;
}
#site #main {
	padding: 0px 0px 0px 0px;
	max-width: var(--width);
	color: #444;
	font-size: var(--font-size);
	vertical-align: top;
	padding: 0;
	position: relative;
}
#site #main h1{
	font-size: 1.385rem;
	margin: 5px;
}
#site #main a{
	color: #000000;
	text-decoration: underline;
	cursor: pointer;
}
#site #footerLine {
	padding: 0;
	line-height: 39px;
	color: #FFFFFF;
	font-weight: bold;
	font-size: var(--font-size-footer);
	text-align: center;
	background: #333;
	border: solid #ccc;
	border-width: 3px 0 2px;
	box-sizing: border-box;
}
input.submit {
	width: 210px;
	height: 42px;
	border: 0px;
	color: #ffffff;
	font-size: 1.308rem;
	font-weight: bold;
	font-family: Arial;
	background-image: linear-gradient(180deg, rgba(49,136,181,1) 0%, rgba(40,111,154,1) 47%, rgba(33,89,124,1) 53%, rgba(32,98,131,1) 100%);
	margin: 6px;
	border-radius: 5px;
}

table.data-table
{
	width: 100%;
}

table.data-table tr
{
	height: 33px;
	font-weight: bold;
}

table.data-table th			{ font-weight: bold; text-align: right; }
table.data-table th.center	{ text-align: center; }
table.data-table tr:nth-child(2n+1)	{ background-color: #F1F1F1; }
table.data-table tr:nth-child(2n)	{ background-color: #FFFFFF; }
table.data-table tr:nth-child(2n+1).active	{ background-color: #DDDD88; }
table.data-table tr:nth-child(2n).active	{ background-color: #EEEEAA; }
table.data-table thead tr:first-child		{ background-color: #FFF; }
table.data-table tfoot tr:first-child		{ background-color: #EEE; }

table.form-table td
{
	color: #000;
}
table.form-table td:first-child
{
	color: #444;
}

.bigger
{
	font-size: 1.2em;
}

.black
{
	color: #000;
}

.error
{
	color: #D00;
	font-weight: bold;
}

.msg-box
{
	margin: 1em 0;
	padding: 0.5em 1em;
	border: 1px solid;
	font-weight: bold;
	background-color: #FFE;
}

.msg-error
{
	color: #D00;
}

header
{
	position: relative;
}

#excel-export
{
    float: left;
    margin: 8px 20px 0;
    position: relative;
    z-index: 2;
}

#year
{
	position: absolute;
	right: 500px;
	top: 0;
}

.experty
{
	display: inline-block;
	margin-left: 20px;
	width: 195px;
}

body .chosen-container {
	font-size: 1rem;
}

.chosen-results li.active-result
{
	color: #666;
}

.chosen-results li.active-result.has-additional
{
	font-weight: bold;
	color: #000;
}

#site #main a.red,		#site #main .red		{	color: red;	}
#site #main a.blue,		#site #main .blue		{	color: blue;	}
#site #main a.green,	#site #main .green		{	color: green;	}
#site #main a.highlight,#site #main .highlight	{	background-color: yellow;	}

.select-all
{
	border:0;
	background:transparent;
}

#site #main a.button
{
	display: inline-block;
	font-size: 1em;
	padding: 0.5em 2em;
	background: #EEE;
	border: solid 1px #DDD;
	border-radius: 0.3em;
	text-decoration: none;
}

#site #main a#filter
{
	text-decoration: none;
	display: inline-block;
	background: #EEE;
	font-weight: bold;
	border: 1px solid #999;
	border-radius: 4px;
	padding: 2px 20px;
}

pre.debug
{
	white-space: pre-wrap;
	padding: 0.3em;
	color: #003;
	background: #FFE;
	border:1px solid;
	width:100%;
	direction:ltr;
	text-align:left;
}

table.data-table tr td:first-child {
	position: relative;
}

table.data-table tr[not-signed] td:first-child::before,
table.data-table tr[signed] td:first-child::before {
    display: block;
    float: left;
    position: absolute;
    right: -1em;
	font-family: "Material Design Icons";
	font-weight: normal;
	font-size: 1.3em;
    top: 0.5em;
    content: "\F064F";
}

.mdi {
    font-size: 1.3em;
}

table.data-table tr[not-signed] td:first-child::before {
	color: var(--dark-red);
}

table.data-table tr[signed] td:first-child::before {
    color: var(--dark-green);
}

#del-multi, #send-multi, #filter-by-admin {
	position: fixed;
    top: 80px;
    z-index: 2;
    box-shadow: 0 0 2px 4px #FFF;
}
#send-multi {
	top: 8px;
	z-index: 5;
	left: calc(var(--fixed-left) + 250px);
}
#del-multi {
	left: calc(var(--fixed-left) + 177px);
}
#filter-by-admin {
	left: calc(var(--fixed-left) + 350px);
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #FFF;
}

#execution-time {
	float: left;
	padding: 0 2em;
}

.right-distance {
	margin-right: 4em;
}

select[disabled] {
	color: #000;
}
