/* @media only screen and (max-width: 768px) iPads */
/* @media only screen and (max-width: 480px) phones */

* {
	margin: 0;
	padding: 0;
}
body {
	font-size: 1em;
	padding: 30px;
	direction: rtl;
	background: #518cc8;
	font-family: tahoma;
}
input[type=text], input[type=tel], input[type=email], input[type=number] {
	display: inline; /* overriding defaults */
	width: 250px;
	direction: rtl;
	/*height: 25px;*/
	/*padding: 1px 5px;*/
	padding: 1px 5px;
	font-size: 1em;
}
@media only screen and (max-width: 480px){ /* smartphones */
	input[type=text], input[type=tel], input[type=email], input[type=number] {
		width: 100%;
	}
}

input[type="submit"] {
	margin-top: 15px;
	font-size: 1em;
    margin-top: 15px;
    padding-bottom: 8px;
}
select {
	display: inline !important;
	width: 250px !important;
	height: 29px;
	padding: 1px 1px 1px 4px
}
.shorted select {
	width: 80px !important;
}
@media only screen and (max-width: 480px){ /* smartphones */
	select {
		width: 100% !important;
	}
}
input.num_field_50, #field50_quantity, #field60_quantity {
	width: 50px;
	text-align: center;
}
input.num_field_70 {
	width: 70px;
	text-align: center;
}
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 {
	margin-bottom: 5px;
}
label {
	font-weight: normal;
    display: inline;
}

.gray {
	color: gray;
}

.section {
	margin-bottom: 30px;
}

.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: 15px;
}
.hide {
	display: none;
}
.show {
	display: inline;
}
.bold {
	font-weight: bold;
}
.underline {
	text-decoration: underline;
}
.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;
}

.flex .flex-field-name {
	/*background: red;*/
    flex: 0 1 220px;
}
.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;
	}
}

@media only screen and (max-width: 480px){ /* smartphones */
	.bottom_elements {
		text-align: center;		
	}
}



h1 {
    margin-bottom: 10px;
    margin-top: 20px;
}
h2 {
	font-size: 20px;
	margin-top: 10px;
	margin-bottom: 30px;
}
@media only screen and (max-width: 480px){ /* smartphones */
	h1 {
		font-size: 30px;
	}
}
h3 {
	margin-bottom: 0;
}

img.logo {
	width: 150px;
	margin-bottom: 10px;
}

#wrapper {
	background: #ffc030;
	font-size: 20px;
	width: 660px;
	margin: 0 auto;
	box-shadow: 0px 2px 1px #212121;
	padding: 20px;
	margin-top: 20px;
	border-radius: 10px;
}
@media only screen and (max-width: 768px){ /* iPads */
	#wrapper {
		width: auto;
	}
}

#header {
	text-align: center;
}
#footer {
	text-align: center;
	margin-top: 10px;
	color: #fff;
	font-size: 15px;
}
#page_error {
	padding: 0 10px 20px 10px;
	text-align: center;
	margin-top: -10px;
}




