/*
Theme Name: YScale
Theme URI: http://www.exstodesign.com
Author: Alexander Reznik
Author URI: http://www.exstodesign.com
Description: Yscale theme for Yscale Consulting based on WP Theme 2011
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, white, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: yscale
*/

@font-face { font-family: HelveticaNeue; src: url('Neue Helvetica/HelveticaNeueLTCom-Roman.ttf'); }
@font-face { font-family: HelveticaNeueMed; src: url('Neue Helvetica/HelveticaNeueLTCom-Md.ttf'); }
@font-face { font-family: HelveticaNeue; font-weight:bold; src: url('Neue Helvetica/HelveticaNeueLTCom-Bd.ttf'); }
/*general*/
html { background-color: #F5F5F5; }
body { margin: 0px; font-family: Helvetica; font-size:11px; text-align:left; background-color:#f5f5f5; }
a > img {border: none;}
hr { height:0px; border:0; border-top:solid 1px #d5d2d2; border-bottom:solid 1px #efefef; padding:0px; margin-bottom:10px; }
ul {list-style: square url(images/square.png); margin: 7px 0px; }
p {margin:7px 0px; line-height:20px;}

/*headings*/
h1 {margin:0px;padding:0px;}
h2 {margin:0px;padding:0px;}
h3 {margin:0px;padding:0px; text-transform: uppercase;}
.header1 {margin:15px 0px; padding:0px; font-size:21px; font-weight:normal; color: #2a6f92; text-transform: capitalize; }
.page-title {margin:15px 0px; padding:0px; font-size:21px; font-weight:normal; color: #2a6f92; }
.header2 {margin:5px 0px; padding:0px; font-size:18px; font-weight:normal; color: #5b686e; }
.header3 {}
.clear { clear:both; }

h3 a {text-decoration: none;}
h3 a:hover {text-decoration:underline;}
.entry-content h3, h3#reply-title {width:100%; margin-left:-40px; padding: 4px 0px; padding-left:40px; background-color: #eee; margin-top:20px; font-size:12px; border-top-right-radius: 5px; border-bottom-right-radius: 5px;}
/*layout*/
.wrapper{margin: 0 auto; padding: 0px; position: relative; width: 908px; border-left: solid 2px white; border-right: solid 2px white;}

/*header*/
#header {height:126px; border-bottom: solid 2px white; background-image: url(images/header-bg.png); background-repeat: repeat-x; background-position: center bottom; background-color:white; position:relative;}
#logo {position: absolute; top: 24px; left: 45px; }
div#contact {font-size:11px; font-weight: bold; line-height:14px; position:absolute; right:0px; top:85px; }
div#contact > div {float:right; margin-right:25px;}
div#contact a, div#contact div {text-decoration: none; color: #2a6f92;}
div#contact a:hover {text-decoration: underline;}

/*mast*/
#mast {height:160px; background-color:#BFC0C0; position:relative; }
.home #mast {height:257px;}
#mast .wrapper, #nomast .wrapper {height:100%;}
/*menu*/
#menu {width:100%;height:40px; background:rgb(3,11,14); background:rgba(3,11,14,0.81); position:absolute; left:0px; bottom: 0px; border-top: solid 2px white; z-index:10;  } /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); */
#menu ul { margin:0px; padding:0px; list-style: none; margin-left:40px; }
#menu ul.menu > li {float:left; font-size:13px; font-weight: bold; text-transform:uppercase; margin-right:1px; font-family: Helvetica; width:17%;}
#menu ul li a {color:white; text-decoration:none; padding:0px 20px; line-height:40px; display:block; }
#menu ul li:hover, .current_page_item, .current-page-ancestor {background-color:#999; } /*#156A91*/
#menu ul ul { box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none;	float: left; margin: 0; width: 188px; z-index: 99999; }
#menu ul ul a { background: #262F34; border-top: 1px solid #565858; color: #fff; font-size: 11px; font-weight: bold; height: auto; line-height: 1.4em; padding: 10px 10px; width: 168px; text-transform: capitalize;}
#menu ul ul a:hover {background-color:#999; color:white;} 
#menu ul li:hover > ul { display: block; }

/*nomast template*/
#nomast {background-color:#BFC0C0; position:relative; height:40px; }
#nomast #menu {width:100%;height:40px; background-color:#030b0e; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
#nomast #menu ul ul {margin-top:1px; }

#content { background-image: url(images/content-bg.png); background-repeat: repeat-x; background-position: center top; background-color:white; position:relative; min-height:400px; padding-bottom:65px; overflow:hidden; }
#content #main { width: 579px; min-height:400px; margin:30px 0 0 40px; position:relative; padding-bottom:20px; }
#content #main {line-height:18px; font-family:Helvetica;}
#content:after { content: url("images/content-bottom-margin-grey2.png"); display: block; position: fixed; margin-left:-2px;}


/*sidebar*/
#sidebar { width:230px; right:0px; position:absolute; height:100%; padding:15px 17px; background-color:#eee; }
/*#sidebar { padding-bottom:1000px; margin-bottom:-1000px;}*/
.news { margin:0px; padding:0px; list-style: none; color:#5b686e; border-top:solid 1px #d5d2d2; border-bottom:solid 1px #fff;}
.news li { padding:10px 0px; border-bottom:solid 1px #d5d2d2; border-top:solid 1px #fff; }
.news p {margin:7px 0px 10px 0px; color: #2a6f92; font-size:11px; font-family: HelveticaNeueMed, Helvetica; line-height:16px;}
.news div.alink {text-align:right;}
.news div.title {text-align:left; text-transform: capitalize; font-size:11.5px;}
.alink a {text-decoration:none; color:#5b686e; font-weight:bold;}
.alink a:hover {text-decoration:underline;}
.more-news {text-align:right; text-transform:uppercase; font-size:12px; margin-top:20px;}

#supplementary {margin-top:15px; border-top:solid 1px #d5d2d2; padding:7px 0px; position: absolute; bottom:0; width: 579px;  }
#supplementary:after {content: ""; clear:both; display:block; }
#supplementary > div { border-right: solid 1px #d5d2d2; float: left; margin-left: 17px; padding-right:7px; padding-bottom: 10px;}
.two > div { width:45%; }
#supplementary > div:first-child {margin-left:0px;}
#supplementary > div:last-child {border-right:none;}
#supplementary a {font-size:10px; color: #13a9ee; line-height:15px;}
#supplementary ul { margin:0px; padding:0px; list-style: none; }
#supplementary ul li:before { content: "- "; color: #1bb3f8; }
#supplementary h3 {text-transform:lowercase;}

#footer {height:25px; background-color: #9A9FA5; text-align:center; line-height:25px; color: #fbfcfd; width:100%; position:fixed; bottom:0; z-index:10;}
#footer .wrapper {	border:none; }

.page .entry-meta{ float:right; }
.edit-link { float:right; font-weight:bold;}
.post .entry-meta {font-weight:bold;}
.nav-previous {float:left;}
.nav-next {float:right;}
.home .entry-content { font-size:13px !important; }

/* =Aside----------------------------------------------- */
.format-aside .entry-title,
.format-aside .entry-header .comments-link {
	display: none;
}
.singular .format-aside .entry-title {
	display: block;
}
.format-aside .entry-content {
	padding: 0;
}
.singular .format-aside .entry-content {
	padding: 1.625em 0 0;
}
/* =Gallery----------------------------------------------- */
.format-gallery .gallery-thumb {
	float: left;
	display: block;
	margin: .375em 1.625em 0 0;
}

/* =Status----------------------------------------------- */
.format-status .entry-title,
.format-status .entry-header .comments-link {
	display: none;
}
.singular .format-status .entry-title {
	display: block;
}
.format-status .entry-content {
	padding: 0;
}
.singular .format-status .entry-content {
	padding: 1.625em 0 0;
}
.format-status img.avatar {
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 2px #ccc;
	-moz-box-shadow: 0 1px 2px #ccc;
	box-shadow: 0 1px 2px #ccc;
	float: left;
	margin: 4px 10px 2px 0;
	padding: 0;
}
/* =Image----------------------------------------------- */
.indexed.format-image .entry-header {
	min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */
}
.indexed.format-image .entry-content {
	padding-top: 0.5em;
}
.indexed.format-image .entry-content p {
	margin: 1em 0;
}
.indexed.format-image .entry-content p:first-child,
.indexed.format-image .entry-content p:first-child a,
.indexed.format-image .entry-content p:first-child img {
	display: block;
	margin: 0;
}
.indexed.format-image .entry-content .wp-caption .wp-caption-text {
	margin: 0;
	padding-bottom: 1em;
}
.indexed.format-image footer.entry-meta {
	background: #ddd;
	overflow: hidden;
	padding: 4%;
	max-width: 96%;
}
.indexed.format-image div.entry-meta {
	display: inline-block;
	float: left;
	width: 35%;
}
.indexed.format-image div.entry-meta + div.entry-meta {
	float: none;
	width: 65%;
}
.indexed.format-image .entry-meta span.cat-links,
.indexed.format-image .entry-meta span.tag-links,
.indexed.format-image .entry-meta span.comments-link {
	display: block;
}
.indexed.format-image footer.entry-meta a {
	color: #444;
}
.indexed.format-image footer.entry-meta a:hover {
	color: #fff;
}
#content .indexed.format-image img {
	border: none;
	max-width: 100%;
	padding: 0;
}
.indexed.format-image .wp-caption {
	background: #111;
	margin-bottom: 0;
	max-width: 96%;
	padding: 2% 2% 0;
}
.indexed.format-image .wp-caption .wp-caption-text {
	color: #ddd;
}
.indexed.format-image .wp-caption .wp-caption-text:before {
	color: #444;
}
.indexed.format-image a:hover img {
	opacity: 0.8;
}

/* =error404
----------------------------------------------- */

.error404 #main #searchform {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-width: 1px 0;
	margin: 1.625em -8.9%;
	overflow: hidden;
	padding: 1.625em 8.9%;
}
.error404 #main #s, .error404 #searchform {
	width: 95%;
}
.error404 #main .widget {
	clear: none;
	float: left;
	margin-right: 3.7%;
	width: 30.85%;
}
.error404 #main .widget_archive {
	margin-right: 0;
}
.error404 #main .widget_tag_cloud {
	float: none;
	margin-right: 0;
	width: 100%;
}
.error404 .widgettitle {
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}
.error404 input#searchsubmit, .error404 label {
    display: none;
}


.entry-header .entry-format { display:none; }

/*comments*/
/* Password Protected Posts */
.post-password-required .entry-header .comments-link {
	margin: 1.625em 0 0;
}
.post-password-required input[type=password] {
	margin: 0.8125em 0;
}
.post-password-required input[type=password]:focus {
	background: #f7f7f7;
}

.hentry,
.no-results {
	border-bottom: 1px solid #ddd;
	margin: 0 0 1.625em;
	padding: 0 0 1.625em;
	position: relative;
}
.hentry:last-child,
.no-results, .page {
	border-bottom: none;
}

/* Author Info */
#author-info {
	font-size: 12px;
	overflow: hidden;
}
.singular #author-info {
	background: #f9f9f9;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 2.2em -35.6% 0 -35.4%;
	padding: 20px 35.4%;
}
.archive #author-info {
	border-bottom: 1px solid #ddd;
	margin: 0 0 2.2em;
	padding: 0 0 2.2em;
}
#author-avatar {
	float: left;
	margin-right: -78px;
}
#author-avatar img {
	background: #fff;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 2px #bbb;
	-moz-box-shadow: 0 1px 2px #bbb;
	box-shadow: 0 1px 2px #bbb;
	padding: 3px;
}
#author-description {
	float: left;
	margin-left: 108px;
}
#author-description h2 {
	color: #000;
	font-size: 15px;
	font-weight: bold;
	margin: 5px 0 10px;
}

/* Comments link */
.entry-header .comments-link a {
	background: url(images/commentbubble.png) no-repeat;
	color: #666;
	font-size: 13px;
	font-weight: bold;
	line-height: 28px;
	overflow: hidden;
	padding: 0 0 0;
	position: absolute;
	right: 0;
	text-align: center;
	text-decoration: none;
	width: 45px;
	height: 32px;
}
.entry-header .comments-link a:hover,
.entry-header .comments-link a:focus,
.entry-header .comments-link a:active {
	background-color:transparent !important;
	color: #2A6F92;
	color: rgba(42,111,146,0.8);
}
.entry-header .comments-link .leave-reply {
	visibility: hidden;
}

/* =Comments
----------------------------------------------- */

#comments-title {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	line-height: 2.6em;
	padding: 0 0 2.6em;
	text-transform: uppercase;
}
.nopassword,
.nocomments {
	color: #aaa;
	font-size: 24px;
	font-weight: 100;
	margin: 26px 0;
	text-align: center;
}
.commentlist {
	list-style: none;
	margin: 0 auto;
	margin-left:60px;
}
.content .commentlist,
.page-template-sidebar-page-php .commentlist {
	width: 100%; /* reset the width for the one-column and sidebar page layout */
}
.commentlist > li.comment {
	background: #f6f6f6;
	border: 1px solid #ddd;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 0 1.625em;
	padding: 1.625em;
	position: relative;
}
.commentlist .pingback {
	margin: 0 0 1.625em;
	padding: 0 1.625em;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li.comment {
	background: #fff;
	border-left: 1px solid #ddd;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
	margin: 1.625em 0 0;
	padding: 1.625em;
	position: relative;
}
.commentlist .children li.comment .fn {
	display: block;
}
.comment-meta .fn {
	font-style: normal;
}
.comment-meta {
	color: #666;
	font-size: 12px;
	line-height: 2.2em;
}
.commentlist .children li.comment .comment-meta {
	line-height: 1.625em;
	margin-left: 50px;
}
.commentlist .children li.comment .comment-content {
	margin: 1.625em 0 0;
}
.comment-meta a {
	font-weight: bold;
}
.comment-meta a:focus,
.comment-meta a:active,
.comment-meta a:hover {
}
.commentlist .avatar {
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 2px #ccc;
	-moz-box-shadow: 0 1px 2px #ccc;
	box-shadow: 0 1px 2px #ccc;
	left: -100px;
	padding: 0;
	position: absolute;
	top: 0;
}
.commentlist > li:before {
	content: url(images/comment-arrow.png);
	left: -21px;
	position: absolute;
}
.commentlist > li.pingback:before {
	content: '';
}
.commentlist .children .avatar {
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	left: 2.2em;
	padding: 0;
	top: 2.2em;
}
a.comment-reply-link {
	background: #eee;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #666;
	display: inline-block;
	font-size: 12px;
	padding: 0 8px;
	text-decoration: none;
}
a.comment-reply-link:hover,
a.comment-reply-link:focus,
a.comment-reply-link:active {
	background: #888;
	color: #fff;
}
a.comment-reply-link > span {
	display: inline-block;
	position: relative;
	top: -1px;
}

/* Post author highlighting */
.commentlist > li.bypostauthor {
	background: #ddd;
	border-color: #d3d3d3;
}
.commentlist > li.bypostauthor .comment-meta {
	color: #575757;
}
.commentlist > li.bypostauthor .comment-meta a:focus,
.commentlist > li.bypostauthor .comment-meta a:active,
.commentlist > li.bypostauthor .comment-meta a:hover {
}
.commentlist > li.bypostauthor:before {
	content: url(images/comment-arrow-bypostauthor.png);
}

/* Post Author threaded comments */
.commentlist .children > li.bypostauthor {
	background: #ddd;
	border-color: #d3d3d3;
}

/* sidebar-page.php comments */
/* Make sure we have room for our comment avatars */
.page-template-sidebar-page-php .commentlist > li.comment,
.page-template-sidebar-page-php.commentlist .pingback {
	margin-left: 102px;
	width: auto;
}
/* And a full-width comment form */
.page-template-sidebar-page-php #respond {
	width: auto;
}


	/* Comment Form */
#respond input[type="text"],
#respond textarea {
	background: #fff;
	border: 1px solid #eee;
	-moz-border-radius: 5px;
	border-radius: 0px 5px 5px 0px;
	-webkit-box-shadow: inset -1px 1px 1px rgba(204,204,204,0.95);
	-moz-box-shadow: inset -1px 1px 1px rgba(204,204,204,0.95);
	box-shadow: inset -1px 1px 1px rgba(204,204,204,0.95);
	position: absolute;
	top:-3px;
	padding: 5px;
	text-indent: 80px;
}
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url,
#respond .comment-form-comment {
	position: relative;
}
#respond .comment-form-comment textarea{
	position: relative;
}
#respond .comment-form-author label,
#respond .comment-form-email label,
#respond .comment-form-url label,
#respond .comment-form-comment label {
	background: #eee;
	-webkit-box-shadow: 1px 1px 1px rgba(204,204,204,0.8);
	-moz-box-shadow: 1px 1px 1px rgba(204,204,204,0.8);
	box-shadow: 1px 1px 1px rgba(204,204,204,0.8);
	color: #555;
	display: inline-block;
	font-size: 13px;
	left: 1px;
	min-width: 60px;
	padding: 2px 10px;
	position: relative;
	top: 0px;
	z-index: 1;
	height: 20px;

}
#respond .comment-form-comment label{
	top:23px;
}
#respond input[type="text"]:focus,
#respond textarea:focus {
	text-indent: 0;
	z-index: 1;
}
#respond textarea {
	resize: vertical;
	width: 95%;
	left:0px; 
}
#respond .comment-form-author .required,
#respond .comment-form-email .required {
	color: #2A6F92;
	font-size: 18px;
	font-weight: bold;
	left: 63%;
	position: absolute;
	top: 6px;
	z-index: 1;
}
#respond .comment-notes,
#respond .logged-in-as {
	font-size: 13px;
	display:none;
}
#respond p {
	margin: 20px 0;
}
#respond .form-submit {
}
#respond input#submit {
	background: #222;
	border: none;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	color: #eee;
	cursor: pointer;
	font-size: 12px;
	padding: 5px 22px 5px 22px;
	position: relative;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
	text-transform:uppercase;
}
#respond input#submit:active {
	background: #1982d1;
	color: #bfddf3;
}
#respond #cancel-comment-reply-link {
	color: #666;
	margin-left: 10px;
	text-decoration: none;
}
#respond .logged-in-as a:hover,
#respond #cancel-comment-reply-link:hover {
	text-decoration: underline;
}
.commentlist #respond {
	margin: 1.625em 0 0;
	width: auto;
}
#reply-title {
	color: #373737;
	font-size: 24px;
	font-weight: bold;
	line-height: 30px;
}
#cancel-comment-reply-link {
	color: #888;
	display: block;
	font-size: 10px;
	font-weight: normal;
	line-height: 2.2em;
	letter-spacing: 0.05em;
	position: absolute;
	right: 1.625em;
	text-decoration: none;
	text-transform: uppercase;
	top: 1.1em;
}
#cancel-comment-reply-link:focus,
#cancel-comment-reply-link:active,
#cancel-comment-reply-link:hover {
	color: #ff4b33;
}
#respond input[type=text] {
	display: block;
	width: 65%;
}
#respond p {
	font-size: 12px;
}
p.comment-form-comment {
	margin: 0;
}
.form-allowed-tags {
	display: none;
}

.commentlist #respond h3 { width:auto; margin-left:-17px;}


/*IE7*/
#ie7 #supplementary { width: auto; }
#ie7 .three #third, #ie8 .two #second  { border-right: none; }
/*IE8*/
#ie8 #supplementary { width: auto; }
#ie8 .three #third, #ie8 .two #second  { border-right: none; }

