/*
Theme Name: StoneTown Construction Version 2
Theme URI: http://www.stonetownconstruction.com/
Author: DesignOptimizers
Author URI: http://designoptimizers.com
Description: Custom Theme for StoneTown

*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	-moz-box-shadow:    inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	box-shadow:         inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
	-moz-box-shadow:    inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
	box-shadow:         inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	-webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
	-moz-box-shadow:    inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
	box-shadow:         inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: royalblue;
}
a:visited {
	color: purple;
}
a:hover,
a:focus,
a:active {
	color: midnightblue;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}


/* =Menu
----------------------------------------------- */

.navigation-main {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.navigation-main ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.navigation-main li {
	float: left;
	position: relative;
}
.navigation-main a {
	display: block;
	text-decoration: none;
}
.navigation-main ul ul {
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:    0 3px 3px rgba(0, 0, 0, 0.2);
	box-shadow:         0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	position: absolute;
		top: 1.5em;
		left: 0;
	z-index: 99999;
}
.navigation-main ul ul ul {
	left: 100%;
	top: 0;
}
.navigation-main ul ul a {
	width: 200px;
}
.navigation-main ul ul li {
}
.navigation-main li:hover > a {
}
.navigation-main ul ul :hover > a {
}
.navigation-main ul ul a:hover {
}
.navigation-main ul li:hover > ul {
	display: block;
}
.navigation-main li.current_page_item a,
.navigation-main li.current-menu-item a {
}

/* Small menu */
.menu-toggle {
	display: none;
	cursor: pointer;
}

.main-small-navigation ul {
	display: none;
}

@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-small-navigation ul.nav-menu.toggled-on {
		display: block;
	}

	.navigation-main ul {
		display: none;
	}
}

/* =Content
----------------------------------------------- */

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.site-header img,
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
.site-header img,
.entry-content img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.site-header img,
.entry-content img,
img.size-full {
	max-width: 100%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-content [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .next {
	float: right;
	text-align: right;
	width: 50%;
}

/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .submit {
	display: none;
}

/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .navigation-paging, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}


.clear { clear:both;}

#site-wrapper { width:960px; margin:0 auto;}

body { background:#F4F4F4 url(images/bg-top-x.png) repeat-x top; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size:13px; color:#000;}


#primary h2.entry-title { background:url(images/title-bg.png); border-radius:5px; color:#fff; font-size:20px; text-transform:uppercase; font-weight:400; font-family:'Oswald', sans-serif; padding:2px 10px; padding-bottom:3px; margin-bottom:15px;} 
#primary h4.blackbgtitle { background:url(images/title-bg.png); border-radius:5px; color:#fff; font-size:20px; text-transform:uppercase; font-weight:400; font-family:'Oswald', sans-serif; padding:2px 10px; padding-bottom:3px;} 

#header-intro { background:url(images/bot-line.png) repeat-x bottom; margin-bottom:30px; padding-bottom:30px;  }
#header-intro h2 {  font-family:'Open Sans', sans-serif; font-size:28px; text-align:center; text-transform:uppercase; font-weight:600; margin-bottom:20px;}
#header-intro h3 { font-family:'Open Sans', sans-serif; font-size:16px; font-style:italic; text-align:center; line-height:30px;}

#secondary { display:none;}


#recentawards { background:url(images/bot-line.png) repeat-x bottom; padding-bottom:10px; margin-bottom:30px; }
#recentawards h4.blackbgtitle { margin-bottom:20px;}
#recentawards .sc-award-box { padding:0px 0px; width:300px; float:left; background:url(images/award-box-bg.png) no-repeat right center; margin-right:30px;}
#recentawards .last {background:none; margin-right:0px;}
#recentawards .sc-award-box img { float:left; width:70px; padding-right:15px;}
#recentawards .sca-box-data { float:left; width:215px; padding-top:15px;}
#recentawards .scbox-date { font-family:'Open Sans', sans-serif; font-size:14px; color:#AD1B1B; font-weight:bold;}
#recentawards h3.scbox-title { font-family:'Open Sans', sans-serif; text-transform:uppercase; font-size:14px; margin:5px 0px;  font-weight:bold;}
#recentawards p { color:#535353}


#inthenews { padding-bottom:20px; }
#inthenews h4.blackbgtitle { margin-bottom:20px;}
#inthenews a img { margin-right:22px;}
#inthenews a:last-child img { margin-right:0px;}

#footer-out{ background:url(images/footer-bg.png) repeat-x top; padding-top:25px; height:225px;}
#site-footer{ width:980px; margin:0 auto;}
#site-footer .sf-left{ width:620px; float:left;}
#site-footer .sf-left img{ float:left; margin-right:10px; }
#site-footer .sf-left .sf-address{ float:left; font-size:14px;font-style:italic; color: #ccc; width:270px; margin-top:22px;}
#site-footer .sf-left .sf-address .sf-title{font-size: 22px; color: #fff; font-style:normal; display:block; }
#site-footer .sf-right{ width:280px; float:right; }
#site-footer .sf-right .sf-logo{ width:239px; height:73px; margin-top:10px; }
#site-footer .sf-menu{  font-size: 14px; text-transform: uppercase; margin-top:30px; margin-bottom:10px; font-family:'Oswald', sans-serif;  }
#site-footer .sf-menu ul{ list-style:none; margin:0px; }
#site-footer .sf-menu ul li{ list-style:none; display: inline; }
#site-footer .sf-menu ul li a{ text-decoration:none; color:#FFF; margin-right:20px; }
#site-footer .sf-menu ul li a:hover{color:#999;}
#site-footer #sitecredits { font-size: 12px; color: #b4b4b4; margin-top:15px; padding-top:5px; border-top:6px solid #000; border-radius:1px;}
#site-footer .sf-designed-by{ float:left;}
#site-footer .sf-designed-by a{ text-decoration:none; color: #b4b4b4;}
#site-footer .sf-designed-by a:hover{ color:#FFF;}
#site-footer .sf-copyrights{ color: #ccc; float:right; }



#pageslide {
    /* These styles MUST be included. Do not change. */
    display: block;
    position: absolute;
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 999999;
    
    /* Specify the width of your pageslide here */
    width: 272px;
    
    /* These styles are optional, and describe how the pageslide will look */
    background:url(images/sidebar-bg.jpg);
	border-right:solid 5px #FFFD2B;

}

#customleftbar { display: none; color:#CCCCCC; }
#customleftbar .widget { padding-left:40px; margin-top:20px; padding-right:10px;}
#customleftbar .widget h4.widget-title { font-family:'Open Sans', sans-serif;  font-size:14px; background:url(images/leftbar-botline.png) repeat-x bottom; padding-bottom:10px; margin-bottom:10px;}



#customleftbar #lblogo { text-align:center; padding:20px 0px;}
#customleftbar .widget_nav_menu { margin:0; float:right; padding-right:0px;}
#customleftbar .widget_nav_menu ul { margin:0; list-style:none;}
#customleftbar .widget_nav_menu ul li{ list-style:none; display:block; text-transform:uppercase;}
#customleftbar .widget_nav_menu ul li a{ width: 230px; height: 27px; float: right; background: url(images/list.png) no-repeat right; text-decoration: none; color: #757575; font-size: 14px;  font-family: 'Oswald', sans-serif;padding-top: 5px; padding-left: 8px; text-align:left;} 
#customleftbar .widget_nav_menu ul li a:hover{color: #000; background: #fffd2c url(images/list-h.png) no-repeat right center;}
#customleftbar .widget_nav_menu ul li.current-menu-item a{color: #000; background: #fffd2c url(images/list-h.png) no-repeat right center;}


#openleftbar { background:url(images/slider-left-arraw-active.png); width:16px; height:37px; display:block; position:fixed; top:100px; z-index:400;}

#slideshow { background:url(images/slider-out.png) no-repeat bottom center; padding-bottom:50px; margin-top:30px;}
#slideshow .blackbgtitle { margin-bottom:15px;}
#slides { border:5px solid #BBBBBB; border-radius:5px; position:relative}
.slides_container { width:950px; height:320px; overflow:hidden }
.slides_container .singleslide { width:950px; height:320px; display:block; position:relative; }
.slides_container .singleslide img { width:950px; border-bottom-left-radius:5px; border-bottom-right-radius:5px;}
.slides_container .singleslide .slideoverlay {  background:url(images/slidebg.png); z-index:100; position:absolute; color:#fff; width:920px; bottom:0px; border-bottom-left-radius:5px; border-bottom-right-radius:5px; height:45px; border-top:2px solid #FFFD2B; padding:10px 15px; }
.slides_container .singleslide .slideoverlay { font-family:'Open Sans', sans-serif; font-size:16px; text-transform:uppercase; padding-bottom:10px;}
.slides_container .singleslide .slideoverlay .sodesc { color:rgb(206, 211, 84); font-size:13px; text-transform:none;} 
#slides .prev { position:absolute; left:10px; background:url(images/slider-left.png); width:58px; height:58px; display:block; z-index:200; top:110px; text-indent:-9999px}
#slides .next { position:absolute; right:10px; background:url(images/slider-right.png); width:58px; height:58px; display:block; z-index:200; top:110px; text-indent:-9999px}


.entry-content img[class*="wp-image-"] {
	border:4px solid #FFFD2C;
}


.page-id-12 .category-testimonials { padding:0px; background:url(images/bot-line.png) repeat-x bottom; padding-bottom:25px; margin-bottom:15px; }
.page-id-12 .odd img[class*="wp-image-"] { float:left; margin-right:20px;}
.page-id-12 .even img[class*="wp-image-"] { float:right; margin-left:20px;}

.page-id-14 .post-14 { position:relative;}
#googlemap { position:absolute; right:5px; top:65px;}
#googlemap iframe { border:4px solid #FFFD2C;  }



.entry-content h1 { font-size:24px; line-heigth:30px; margin:15px 0px; font-family:'Open Sans', sans-serif; font-weight:bold; }
.entry-content h2 { font-size:22px; line-heigth:26px; margin:12px 0px; font-family:'Open Sans', sans-serif; font-weight:bold;  }
.entry-content h3 { font-size:18px; line-heigth:24px; margin:10px 0px; font-family:'Open Sans', sans-serif; font-weight:bold;  }
.entry-content h4 { font-size:16px; line-heigth:22px; margin:8px 0px; font-family:'Open Sans', sans-serif; font-weight:bold;  }
.entry-content h5 { font-size:14px; line-heigth:20px; margin:5px 0px; font-family:'Open Sans', sans-serif; font-weight:bold;  }

.page-id-10 .category-news { float:left; height:240px; width:33%; text-align:center; padding:0px; margin:0px; margin-bottom:15px; }
.page-id-10 .category-news img {  }
.page-id-10 { }
.page-id-10 .category-news:hover { background:#CDCDCD}


.dpe-flexible-posts { margin:0px; padding:0px; font-size:12px; font-style:italic; }
.dpe-flexible-posts li { margin:0px; padding:0px; list-style:none; padding:5px 0px; }

.testimonialbyttitle { font-weight:bold; font-style:italic;}
.widgetreviewtitle { text-align:right; }

#sidebarsocial { text-align:center;}
#sidebarsocial a img { opacity:0.5 }
#sidebarsocial a:hover img { opacity:1 }


.page-id-8 .category-portfolio { float:left; width:230px; background:#D4D4D4; margin:0px 4px; height:220px; text-align:center; margin-bottom:15px; border-radius:5px; }
.page-id-8 .category-portfolio h3 { font-family:'Open Sans', sans-serif; font-weight:bold; font-size:14px; margin:0px 10px; margin-top:5px; }
.page-id-8 .category-portfolio h3 a { color:#AD1B1B; text-decoration:none;  } 
.page-id-8 .category-portfolio img { border-radius:5px; }

.page-id-8 .category-portfolio:hover { background:#F2F2F2;}


.wp-pagenavi {
	padding: 20px 0px !important;
	display:block !important;
	clear:both !important;
	float:right;
}
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
		color:#707070 !important;
		background:#FFFFFF !important;
		border-radius:3px !important;	
		-moz-border-radius:3px !important;
		-webkit-border-radius:3px !important;
		border:solid 1px #DCDCDC !important;
		padding:6px 9px 6px 9px !important;
		margin-right:3px !important;
		text-decoration:none !important;
		font-size:12px !important;
}
.wp-pagenavi a:hover {
		color:#fff !important;
		text-shadow:0px 1px #B72E2E !important;
		border-color:#AD2D2D !important;
		background:#E43838 !important;
		background:-moz-linear-gradient(top,#FF9B9B 1px,#FE5555 1px,#E43838) !important;
		background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FF9B9B),color-stop(0.02,#FE5555),color-stop(1,#E43838)) !important;

}
 .wp-pagenavi span.current{
		padding:6px 9px 6px 9px !important;
		border:solid 1px #DCDCDC !important;
		border-color:#3390CA !important;
		border-radius:3px !important;	
		-moz-border-radius:3px !important;
		-webkit-border-radius:3px !important;
		color:#fff !important;
		margin-right:3px !important;
		text-shadow:0px 1px #B72E2E !important;
		border-color:#AD2D2D !important;
		background:#E43838 !important;
		background:-moz-linear-gradient(top,#FF9B9B 1px,#FE5555 1px,#E43838) !important;
		background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FF9B9B),color-stop(0.02,#FE5555),color-stop(1,#E43838)) !important;
}