/* ---- BROWSER-SPECIFIC FIXES ---- */

/* remove dotted outlines in Firefox */
::-moz-focus-inner {
	border: 0;
}

/* fix height of select boxes for OS X */
select {
	height: 32px;
}

/* reset typeface for IE8 because OpenSans renders too small */
.ie8 body {
    font-family: Frutiger, Calibri, 'Myriad Pro', Myriad, Arial, sans-serif;
}

.lte8 .icon-delete { background-image: url('../img/actions/delete.png'); }
.lte8 .icon-delete:hover, .icon-delete:focus {
	background-image: url('../img/actions/delete-hover.png');
}

.ie8 .icon-checkmark {
	background-image: url('../img/actions/checkmark.png');
}

.ie8 .icon-close {
	background-image: url('../img/actions/close.png');
}

.lte9 .icon-triangle-e {
	background-image: url('../img/actions/triangle-e.png');
}
.lte9 .icon-triangle-n {
	background-image: url('../img/actions/triangle-n.png');
}
.lte9 .icon-triangle-s {
	background-image: url('../img/actions/triangle-s.png');
}
.lte9 .icon-settings,
.lte9 .settings-button {
	background-image: url('../img/actions/settings.png');
}

.lte9 input[type="submit"], .lte9 input[type="button"],
.lte9 button, .lte9 .button,
.lte9 #quota, .lte9 select, .lte9 .pager li a {
	background-color: #f1f1f1;
}

/* IE8 needs PNG image for header logo */
.ie8 #header .logo {
	background-image: url(../img/logo-icon-175px.png);
}

/* IE8 needs background to be set to same color to make transparency look good. */
.lte9 #body-login form input[type="text"] {
	border: 1px solid lightgrey; /* use border to add 1px line between input fields */
	background-color: white; /* don't change background on hover */
}
.lte9 #body-login form input[type="password"] {
	/* leave out top border for 1px line between input fields*/
	border-left: 1px solid lightgrey;
	border-right: 1px solid lightgrey;
	border-bottom: 1px solid lightgrey;
	background-color: white; /* don't change background on hover */
}
.ie8 #body-login input[type="submit"] {
	padding: 10px 5px;
	margin-top: 3px;
}
/* for whatever unexplained reason */
.ie8 #password {
	width: 271px !important;
	min-width: auto !important;
}

/* disable opacity of info text on gradient
   since we cannot set a good backround color to use the filter&background hack as with the input labels */
.lte9 #body-login p.info {
	filter: initial;
}

/* deactivate show password toggle for IE. Does not work for 8 and 9+ have their own implementation. */
.ie #show, .ie #show+label {
	display: none;
	visibility: hidden;
}

/* fix installation screen rendering issue for IE8+9 */
.lte9 #body-login {
	min-height: 100%;
	height: auto !important;
}

/* oc-dialog only uses box shadow which is not supported by ie8 */
.ie8 .oc-dialog {
	border: 1px solid #888888;
}

/* IE8 doesn't support transparent background - let's emulate black with an opacity of .3 on a dark blue background*/
.ie8 fieldset .warning, .ie8 #body-login .error {
	background-color: #1B314D;
}

/* IE8 isn't able to display transparent background. So it is specified using a gradient */
.ie8 #nojavascript {
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4c320000', endColorstr='#4c320000');
}

/* fix background of navigation popup in IE8 */
.ie8 #navigation,
.ie8 #expanddiv {
	background-color: #111;
}

/* needed else IE8 will randomly hide the borders... */
.ie8 table th#headerDate, table td.date,
.ie8 table th.column-last, table td.column-last {
	position: static;
}

.ie8 #controls {
	background-color: white;
}

.ie8 #content-wrapper {
	overflow-y: auto;
}

.ie8 #app-navigation .app-navigation-entry-edit input {
	line-height: 38px;
}

