/*-------------------- common --------------------*/
img {	border: none;   }
a.f > img, a.f-r > img {	display: block;   }

.nl {
	clear: both;
	line-height: 0;
	font-size: 0;
	height: 0;
}
.nl5 {	height: 5px;	}
.nl10 {	height: 10px;	}
.nl20 { height: 20px;	}


.relative { position: relative; }
.overflow {	overflow: hidden;   }
.auto-width {   width: auto !important; }
.hidden {	display: none;	}


.dib {	display: inline-block !important;	float: none !important;		clear: none !important;	}
.db {	display: block !important;	}


.no-border {    border: none !important;	}
.borderfix {	border-top: 1px solid transparent;	}


.clear {	clear: both !important; }
.no-clear {	clear: none !important; }


.f {	float: left !important;	}
.f-r {	float: right !important;	}
.no-f {	float: none !important;	}


.fl {	float: left !important;	}
.fr {	float: right !important;	}


.ta {	text-align: left !important;	}
.ta-r {	text-align: right !important;	}
.ta-c {	text-align: center !important;	}

.tal {	text-align: left !important;	}
.tar {	text-align: right !important;	}


.m5 {	margin: 5px !important;	}
.m10 {	margin: 10px !important;	}
.m20 {	margin: 20px !important;	}
.mt5 {	margin-top: 5px !important;	}
.mt10 {	margin-top: 10px !important;	}
.mt20 {	margin-top: 20px !important;	}
.mt40 {	margin-top: 40px !important;	}
.mb5 {	margin-bottom: 5px !important;	}
.mb10 {	margin-bottom: 10px !important;	}
.mb20 {	margin-bottom: 20px !important;	}
.mb40 {	margin-bottom: 40px !important;	}
.ml5 {	margin-left: 5px !important;	}
.ml10 {	margin-left: 10px !important;	}
.ml20 {	margin-left: 20px !important;	}
.mr5 {	margin-right: 5px !important;	}
.mr10 {	margin-right: 10px !important;	}
.mr20 {	margin-right: 20px !important;	}

.last {
	margin-left: 0 !important;
	margin-right: 0 !important;
}



.p5 {	padding: 5px !important;	}
.p10 {	padding: 10px !important;	}
.p20 {	padding: 20px !important;	}
.pt5 {	padding-top: 5px !important;	}
.pt10 {	padding-top: 10px !important;	}
.pt20 {	padding-top: 20px !important;	}
.pb5 {	padding-bottom: 5px !important;	}
.pb10 {	padding-bottom: 10px !important;	}
.pb20 {	padding-bottom: 20px !important;	}
.pl5 {	padding-left: 5px !important;	}
.pl10 {	padding-left: 10px !important;	}
.pl20 {	padding-left: 20px !important;	}
.pr5 {	padding-right: 5px !important;	}
.pr10 {	padding-right: 10px !important;	}
.pr20 {	padding-right: 20px !important;	}


.round5 {	border-radius: 5px;		-moz-border-radius: 5px;		-webkit-border-radius: 5px;		}
.round10 {	border-radius: 10px;		-moz-border-radius: 10px;		-webkit-border-radius: 10px;		}


.sep5 {		margin-right: 5px !important;	}
.sep10 {	margin-right: 10px !important;	}
.sep20 {	margin-right: 20px !important;	}


.di100 {	display: inline-block;	min-width: 100px;	}
.di150 {	display: inline-block;	min-width: 150px;	}
.di200 {	display: inline-block;	min-width: 200px;	}
.di250 {	display: inline-block;	min-width: 250px;	}
.di300 {	display: inline-block;	min-width: 300px;	}


.tip {
	font-style: italic;
	color: #878787;
}

.grayed {
	filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
}
.grayed:hover {
    filter: none;
    -webkit-filter: grayscale(0);
}

.grayedonhover:hover {
	filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
}


.label {
	min-width: 100px;
	display: inline-block;
}

.lh1em {
	line-height: 1.5em !important;
}







/*-------------------- forms --------------------*/
form.myform, .myform form {
}

.myform label,
.myform input[type="text"],
.myform input[type="email"],
.myform input[type="password"],
.myform input[type="file"],
.myform select,
.myform input[type="checkbox"],
.myform input[type="radio"],
.myform textarea {
	display: inline-block;
	font-family: inherit;
	font-size: inherit;
	vertical-align: top;
	outline: none;
	padding: 0 5px;
	margin: 1px;
	line-height: 40px;
	height: 40px;
	border: none;
}

.myform label {
	min-width: 150px;
	padding: 0;
	text-align: right;
}

.myform input[type="text"],
.myform input[type="email"],
.myform input[type="password"],
.myform input[type="file"],
.myform select,
.myform textarea
{
	background-color: #EEEEEE;
	width: 250px;
	outline: none;
	line-height: 1.5em;
}

.myform select {
	width: 260px;
	padding: 0;
	box-sizing: content-box;
    -moz-box-sizing: content-box;
	height: 40px;
}

.myform button,
.myform input[type="button"],
.myform input[type="submit"] {
	display: inline-block;
	font-family: inherit;
	font-size: inherit;
	outline: none;
	line-height: 38px;
	min-width: 80px;
	margin: 1px;
	cursor: pointer;	
	border: none;
	background-color: #878787;
	color: #FFF;
}

.myform input[type="checkbox"],
.myform input[type="radio"] {
	margin: 0;
	padding: 0;
}

.myform label input[type="checkbox"],
.myform label input[type="radio"] {
	vertical-align: middle;
	margin: auto;
	padding: 0;
	height: 40px;
	line-height: normal;
}

.myform textarea {
	height: 9em;
}

.myform textarea.big {
	height: 15em;
	width: 500px;

}

.myform label span {
	font-style: italic;
	color: #666666;
	padding: 0 10px;
}

.myform label.error {
	min-width: 0;
	padding: 0 10px;
}

.myform p {
	display: inline-block;
	vertical-align: top;
	margin: 1px;
	* zoom: 1;
	* display: inline;
	margin: 0;
}









/*-------------------- messages --------------------*/
.error {
	background-color: #F4D2D2 !important;
	color: #000;
}

.notify {
	background-color: #00CC99;
	color: #FFF;
}









/*-------------------- general menu behavior --------------------*/
.menu, .menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	z-index: 1;
}

.menu > li {
	float: left;
	position: relative;
}

.menu ul li {
	position: relative;
}

.menu li > ul, .menu li > div.drop, div.menu > .drop  {
	/*display: none;*/
	position: absolute;
	top: 100%;
	opacity: 0;   
	visibility: hidden;
}

.menu ul li ul {
	top: 0;
	left: 100%;
}

.menu li:hover > ul, .menu li:hover > div.drop, div.menu:hover > .drop {
	/*display: block;*/
	opacity: 1;    
	z-index: 1;
	visibility: visible;
}

.menu li > a {
	display: block;
}


body.rtl .menu > li {
	float: right;
}

body.rtl .menu ul li ul {
	left: auto;
	right: 100%;
}

body.rtl .menu li > ul, body.rtl .menu li > div.drop  {
	right: 0;
}









/*-------------------- rtl --------------------*/
body.rtl .f {	float: right !important;	}
body.rtl .f-r {	float: left !important;	}

body.rtl .ta {	text-align: right !important;	}
body.rtl .ta-r {	text-align: left !important;	}


body.rtl .myform input[type="text"],
body.rtl .myform input[type="email"],
body.rtl .myform input[type="password"],
body.rtl .myform input[type="file"],
body.rtl .myform select,
body.rtl .myform textarea
{
	margin-right: 0;
	margin-left: 5px;
}
body.rtl .myform label {
	text-align: left;
}

body.rtl .sep5 {	margin-right: 0 !important; margin-left: 5px !important;		}
body.rtl .sep10 {	margin-right: 0 !important; margin-left: 10px !important;		}
body.rtl .sep20 {	margin-right: 0 !important; margin-left: 20px !important;		}


