* {
	margin: 0;
	padding: 0;
}
body {
	font-size: 1em;
	direction: rtl;
	color: #464646;
	font-family: tahoma;
}
input[type=text], input[type=tel], input[type=email], input[type=number] {
	width: 170px;
	direction: rtl;
	height: 25px;
	padding: 1px 5px;
	font-size: 1em;
}
input[type=checkbox]{
	width: 18px;
	height: 18px;
	vertical-align: -3px;
	/*
	-webkit-transform: scale(1.2);
	-moz-transform:    scale(1.2);
	-ms-transform:     scale(1.2);
	-o-transform:      scale(1.2);
	transform:         scale(1.2);
	*/
}
p {
	font-size: 1em;
	margin-bottom: 5px;
}
select {
	height: 29px;
	padding: 1px 1px 1px 4px
}


.gray {
	color: gray;
}

.section {
	margin-bottom: 30px;
}
/* red star for required fields
[data-required] .col1 span:before, [data-required] label:before{
	content: '*';
	color:red;
}
.ltr [data-required] .col1 span:before, .ltr [data-required] label:before{
    font-size: 1.2em;
}
*/

.info {
	position: relative;
	top: 2px;
}
.error {
	font-size: 0.8em;
	font-weight: bold;
	color: #EC1212 !important; /* win inline from server */
}
.ltr .error {
	font-size: 0.9em;
}

.error[id*=notFoundLabel] { /* hide the not in use field{XX}_notFoundLabel fields */
	display: none !important;
}



.display-inline {
	display:inline;
}
.small-text {
	font-size: 0.8em;
}
.flex {
	display: flex;
	margin-bottom: 10px;
}
.hide {
	display: none;
}
.show {
	display: inline;
}
.bold {
	font-weight: bold;
}
.red {
	color: red;
}
.clear {
	clear:both;
}
.italic {
	font-style: italic;
}
.pointer {
	cursor: pointer;
}
.align-center {
	text-align: center;
}
.align-left {
	text-align: left;
}
.align-right {
	text-align: right;
}
#add_relative {
	cursor: pointer;
	display: inline-block;
	padding: 2px 6px 6px 8px;
	border: 1px solid gray;
	border-radius: 7px;
	background: #71bb00;
	color: white;
	font-size: 0.9em;
	margin: 0 5px;
}
@media only screen and (max-width: 768px){
	#add_relative {
		margin: 5px 0;
	}
}




.flex .flex-field-name {
	/*background: red;*/
	flex: 0 1 233px;
	text-align: left;
	padding-left: 15px;
	padding: 5px 15px 0 15px;
}
.ltr .flex .flex-field-name {
	padding-top: 7px; /* English/Russian font needs more space above */
	text-align: right;
}
.flex .flex-field {
	/*background: blue;*/
	flex: 1;
}
@media only screen and (max-width: 1100px){
	.flex {
		flex-direction: column;
	}
	.flex .flex-field-name {
		flex: 0;
		text-align: right;
		padding: 0 2px 2px 0;
	}
	.ltr .flex .flex-field-name {
		padding: 0 0 2px 2px;
		text-align: left;
	}
}

/* tooltip customs */
#jBox_left, #jBox_Bright {
	text-align: right;
}
[id^="jBox"] .jBox-container {
	background: #ffdc00 !important;
	color: #2e2e2e !important;
}
.jBox-container {
	box-shadow: 0 0 3px rgba(0, 0, 0, .4) !important;
}
.jBox-pointer:after {
	background: #ffdc00 !important;
}
.manual-toolbox { /* mobile tooltip */
	background: #ffdc00;
    padding: 5px 10px;
    box-shadow: 0px 0px 2px #828282;
    border-radius: 3px;
    margin-top: 7px;
    color: #000;
}
/*
	background: #1487c7;
	color: #fff;

	background: #ffdc00;
	color: #2e2e2e;
*/



/* ui */
.img_div {
	text-align: right;
}
img.logo {
	background: #38AFF1;
}
img.logo.small {
	width: 130px;
}
.title {
	font-size: 1.5em;
	font-weight: bold;
	text-align: center;
}
#canvasloader-container { /* loading */
    position: fixed;
    top: 50%;
    right: 50%;
    margin-top: -50px;
}

/* layout */
#wrapper {
    width: 710px;
    margin: 30px auto 0 auto;
    padding: 20px 30px;
}
#header {
	position: relative;
	text-align: center;
    margin-bottom: 20px;
}
#header h1 {
	font-size: 1.5em;
    margin-top: 20px;
	margin-bottom: 10px;
	font-weight: normal;
    font-weight: bold;
}
#header .langs {
	text-align: left;
	direction: ltr;
	position: absolute;
	top: 0px;
	left: 0px;
}
#header .langs img {
	cursor: pointer;
	width: 60px;
	height: 40px;
	position: absolute;
	top: 0;
}
#header .langs [data-lang=he]{
    left: 0;
}
#header .langs [data-lang=en]{
    left: 65px;
}
#header .langs [data-lang=ru]{
    left: 130px;
}
#footer {
	text-align:center;
    margin-top: 80px;
}


/* submit */
input[type=submit] {
	display: block;
	min-width: 190px;
	padding: 5px 30px 8px 30px;
	border-radius: 10px;
	background: #0c7fc7;
	color: #FFF;
	font-size: 2em;
	margin: 15px auto 10px auto;
	border: 1px solid #c1c1c1;
	outline: none;
	cursor: pointer;
	/* box-shadow: 0px 2px 2px #d0d0d0; */
	/* text-shadow: 1px 1px 1px #414141; */
}
@-moz-document url-prefix() {
input[type=submit] {
	font-size: 1.7em;
	font-family: tahoma;
	padding: 5px 10px 8px 10px;
}
}
/*
input[type=submit]:hover {
	box-shadow: 0px 4px 6px #949494;
	border-bottom: 1px solid #526D7F;
	transform: translate(0px, -3px);
	transition: all 0.1s ease;
}
*/




/* ltr */
body.ltr {
	direction: ltr;
}
.ltr input[type=text], .ltr input[type=tel], .ltr input[type=email]{
	direction: ltr;
}
select {
	padding: 1px 4px 1px 1px;
}


/*** global responsive ***/
@media only screen and (max-width: 1100px){
	/*
	input[type=checkbox]{
		  -webkit-transform: scale(1.5);
		  -moz-transform:    scale(1.5);
		  -ms-transform:     scale(1.5);
		  -o-transform:      scale(1.5);
		  transform:         scale(1.5);
	}
	*/
}
@media only screen and (max-width: 768px){
	#wrapper {
		width: auto;
		padding: 10px 15px;
		margin: 0px;
	}
	.img_div {
		text-align: center;
	}
	.img_div img.logo {
		margin: 15px auto 10px;
	}
	#header .langs {
		position: static;
		text-align: center;
		margin-bottom: 5px;
	}
	#header .langs img {
		position: static;
	}
}
@media only screen and (max-width: 480px){
	#header {
		margin-bottom: 15px;
	}
	#header h1 {
		font-size: 16px;
		margin-top: 0px;
	}
	#header .langs img {
		width: 50px;
		height: 30px;
	}
	.img_div img.logo {
		margin: 5px auto 10px;
	}
	.disclaimer {
		font-size: 0.8em;
	}
	input[type=submit]{
		margin: 15px auto;
	}
}



/* theme-noat */
body.theme-noat {
	background: #3d5071;
}
body.theme-noat #wrapper {
    background: #E0F3FF;
}
/* theme-yambus */
body.theme-yambus {
	background: #518cc8;
}
body.theme-yambus #wrapper {
	background: #ffc030;
}
body.theme-yambus img.logo {
	background: none;
}
body.theme-yambus div.img_div {
	text-align: center;
}
body.theme-yambus input[type=submit] {
    border: 1px solid #4c4c4c;
}