/*
 * Styles for older IE versions (previous to IE9).
 * @package forestly
 */

body.custom-background-empty .site,
body.custom-background-white .site {
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.assistive-text,.site .screen-reader-text {
	clip: rect(1px 1px 1px 1px); /* IE7 */
}

.full-width .site-content {
	float: none;
	width: 100%;
}

img.size-full,img.size-large,
img.header-image,img.wp-post-image,
img[class*="align"],img[class*="wp-image-"],
img[class*="attachment-"] {
	width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
}

.site {
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
	margin: 0 auto;
	max-width: 1040px;
	overflow: hidden;
	padding: 24px 24px 0;
}

.site-content {
	float: left;
	width: 65.104166667%;
	padding: 30px 2% 0 1%;
}

.author-avatar {
	float: left;
	margin-top: 10px;
}

.author-description {
	float: right;
	width: 80%;
}

body.template-front-page .site-content,
body.single-attachment .site-content,
body.full-width .site-content {
	width: 100%;
}

.widget-area {
	float: right;
	width: 26.041666667%;
	padding: 0 2% 0 0;
}

.site-header h1,.site-header h2 {
	text-align: left;
}

.site-header h1 {
	font-size: 26px;
	line-height: 1.846153846;
}

.fosforit-nav ul.nav-menu,.fosforit-nav div.nav-menu > ul {
	display: inline-block !important;
	text-align: left;
	width: 100%;
}

.fosforit-nav ul {
	margin: 0;
	text-indent: 0;
}

.fosforit-nav li a,.fosforit-nav li {
	display: inline-block;
	text-decoration: none;
}

.ie7 .fosforit-nav li a,.ie7 .fosforit-nav li {
	display: inline;
}

.fosforit-nav li a {
	border-bottom: 0;
	line-height: 3.692307692;
	text-transform: uppercase;
}

.fosforit-nav li {
	margin: 0px;
	position: relative;
}

.fosforit-nav li ul {
	display: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100%;
	z-index: 1;
}

.ie7 .fosforit-nav li ul {
	left: 0;
}

.fosforit-nav li ul ul,.ie7 .fosforit-nav li ul ul {
	top: 0;
	left: 100%;
}

.fosforit-nav ul li:hover > ul {
	border-left: 0;
	display: block;
}

.fosforit-nav li ul li a {
	display: block;
	font-size: 11px;
	line-height: 2.181818182;
	padding: 8px 10px;
	width: 160px;
}

.fosforit-nav .current-menu-item > a,
.fosforit-nav .current-menu-ancestor > a,
.fosforit-nav .current_page_item > a,
.fosforit-nav .current_page_ancestor > a {
	font-weight: bold;
}

.menu-toggle {
	display: none;
}

.entry-header .entry-title {
	font-size: 22px;
}

#respond form input[type="text"] {
	width: 46.333333333%;
}

#respond form textarea.blog-textarea {
	width: 79.666666667%;
}

.template-front-page .site-content,
.template-front-page article {
	overflow: hidden;
}

.template-front-page.has-post-thumbnail article {
	float: left;
	width: 47.916666667%;
}

.entry-page-image {
	float: right;
	margin-bottom: 0;
	width: 47.916666667%;
}

.template-front-page .widget-area .widget,
.template-front-page.two-sidebars .widget-area .front-widgets {
	float: left;
	margin-bottom: 24px;
	width: 51.875%;
}

.template-front-page .widget-area .widget:nth-child(odd) {
	clear: right;
}

.template-front-page .widget-area .widget:nth-child(even),
.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
	float: right;
	margin: 0 0 24px;
	width: 39.0625%;
}

.template-front-page.two-sidebars .widget,
.template-front-page.two-sidebars .widget:nth-child(even) {
	float: none;
	width: auto;
}


/* = RTL overrides for IE7 and IE8
-------------------------------------------------------------- */
.rtl .site-header h1,.rtl .site-header h2 {
	text-align: right;
}

.rtl .widget-area,.rtl .author-description {
	float: left;
}

.rtl .author-avatar,.rtl .site-content {
	float: right;
}

.rtl .fosforit-nav ul.nav-menu,
.rtl .fosforit-nav div.nav-menu > ul {
	text-align: right;
}

.rtl .fosforit-nav ul li ul li,
.rtl .fosforit-nav ul li ul li ul li {
	margin-left: 40px;
	margin-right: auto;
}

.rtl .fosforit-nav li ul ul {
	position: absolute;
	bottom: 0;
	right: 100%;
	z-index: 1;
}

.ie7 .rtl .fosforit-nav li ul ul {
	position: absolute;
	bottom: 0;
	right: 100%;
	z-index: 1;
}

.ie7 .rtl .fosforit-nav ul li {
	z-index: 99;
}

.ie7 .rtl .fosforit-nav li ul {
	position: absolute;
	bottom: 100%;
	right: 0;
	z-index: 1;
}

.ie7 .rtl .fosforit-nav li {
	margin-right: auto;
	margin-left: 40px;
}

.ie7 .rtl .fosforit-nav li ul ul ul {
	position: relative;
	z-index: 1;
}
