/* entry_content is used as there is a bug in ie when
displaying textarea in comment form generated by wordpress reply-script */

.entry_content textarea,
input[type="text"] {
	position: relative; /* fix display bug for search text field */
}

textarea {
	overflow: auto; /* hidden scrollbar */
}

/* to center text vertically in text fields */
input[type="text"]#s {
	line-height: 43px;
}

input[type="text"] {
	line-height: 24px;
}

/* z-index bug fix */
.menu {
	position: relative;
	z-index: 2;
}

.menu > ul > li:hover {
	z-index: 3; /* multiple rows bug fix */
}

/* ie 7 bug when text of the last menu item doesn't wrap to a new line */
.menu ul li a {
	white-space: nowrap !important;
}

.slider .slide {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /* for internet explorer */
	filter: alpha(opacity=0); /* for internet explorer 8*/
}

/* bug fix: increase line-height to fit main text size */
.slider_main_text,
.slider-no-image-text {
	bottom: 437px;
	line-height: 62px;
}

.slider_text {
	bottom: 409px;
}

.slider_link {
	top: -128px;
}

.slider .slide.current_slide { /* this class is added to elements in JavaScript code */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=100)"; /* for internet explorer */
	filter: alpha(opacity=100); /* for internet explorer 8*/
}

.entry_content img, .post img {
	width: inherit; /* Make images fill their parent's space. Solves bug in IE8. */
}

.rad_styled,
.che_styled {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /* for internet explorer */
	filter: alpha(opacity=0); /* for internet explorer 8*/
}

.file_styled {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)";
	filter: alpha(opacity:0); /* for internet explorer 8*/
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
	position: relative;
}

.upload_file,
.sel_styled_cont,
.file_styled_cont {
	position: relative;
}

.comments-link a,
a.post-edit-link,
a.comment-reply-link,
a.comment-edit-link,
#cancel-comment-reply-link {
	position: relative;
	background: #3BA2E2;
}

.comments-link a {
	padding: 2px 10px 2px;
}

input[type="reset"],
input[type="submit"] {
	position: relative;
	font-size: 14px;
}

#respond input[type="submit"] {
	width: 115px; /* fix bug when button's width changes during page loading */
	background: #3BA2E2;
}

.che_styled,
.rad_styled {
	margin-left: 0; /* to move input[type='checkbox'] in the middle of its parent span */
}

.ie-8 .rad_styled_cont,
.ie-8 .che_styled_cont {
	position: relative;
	bottom: 3px;
}

.ie-7 input[type="reset"],
.ie-7 input[type="submit"] {
	padding-right: 0px; /* to fix bug in ie-7 when submit button is clipped and displayed full-width only on hover */
	padding-left: 0px;
	width: 95px;
}

.ie-7 input[type="reset"] {
	margin-right: 10px; /* to increase space between reset and submit buttons as margin-left in submit doesn't work in ie-7 */
}

.ie-7 .entry_content .rad_styled_cont,
.ie-7 .entry_content .che_styled_cont {
	position: relative;
	top: 18px;
}

/* to fix display bug when labels in .widget-area are placed too close to below elements*/
.ie-7 .widget-area label.positioned {
	position: relative;
	bottom: 20px;
}

.entry_content textarea,
input[type="text"],
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled,
.upload_file,
.sel_styled_cont,
.file_styled_cont,
.comments-link a,
a.post-edit-link,
a.comment-reply-link,
a.comment-edit-link,
#cancel-comment-reply-link,
input[type="reset"],
input[type="submit"] {
	behavior: url('../js/pie.htc');
}