@charset "utf-8"; /* Theme Name: Best Corporate Theme URI: http://bestdesignmag.com/freebies/best-corporate/ Author: renniaofei Author URI: http://bestdesignmag.com/ Description: HTML5 / Minimal / Corporate & Portfolio / Response Wordpress Theme. Version: 1.2 Tags: White, Custom-menu, Sticky-post, Microformats, rtl-language-support, translation-ready, Post-formats, custom-header, custom-background, threaded-comments,full-width-template License: GNU General Public License v2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html */ /* =reset -------------------------------------------------------------- */ article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display:block; } audio, canvas, video { display:inline-block; *display:inline; *zoom:1; } audio:not([controls]) { display: none; } [hidden] { display:none; } html { font-size:100%; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; } html, button, input, select, textarea { font-family:sans-serif; color:#222; } body { margin:0; font-size:1em; } ::-moz-selection { background:#ff0; color:#000; text-shadow:none; } ::selection { background:#ff0; color:#000; text-shadow:none; } a { color:#4581A0; text-decoration:none; } a:visited { color:#4581A0; } a:hover { color:#f00; } a:focus { outline:thin dotted; } a:hover, a:active { outline:0; } abbr[title] { border-bottom:1px dotted; } b, strong { font-weight:bold; } cite, em, i { font-style: italic; } blockquote { font-family: Georgia, "Bitstream Charter", serif; font-style: italic; font-weight: normal; margin: 0 3em; } blockquote em, blockquote i, blockquote cite { font-style: normal; } blockquote cite { color: #666; font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; letter-spacing: 0.05em; text-transform: uppercase; } pre { background: #f4f4f4; font: 13px "Courier 10 Pitch", Courier, monospace; line-height: 1.5; margin-bottom: 1.625em; overflow: auto; padding: 0.75em 1.625em; } code, kbd { font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; } abbr, acronym, dfn { border-bottom: 1px dotted #666; cursor: help; } address { display: block; margin: 0 0 1.625em; } ins { background: #fff9c0; text-decoration: none; } sup, sub { font-size: 10px; height: 0; line-height: 1; position: relative; vertical-align: baseline; } sup { bottom: 1ex; } sub { top: .5ex; } ul, ol { margin:1em 0; padding:0 0 0 40px; } dd { margin:0 0 0 40px; } nav ul, nav ol { list-style:none; list-style-image:none; margin:0; padding:0; } img { border:0; -ms-interpolation-mode:bicubic; vertical-align:middle; } svg:not(:root) { overflow:hidden; } figure { margin:0; } form { margin:0; } fieldset { border:0; margin:0; padding:0; } label { cursor:pointer; } legend { border:0; *margin-left:-7px; padding:0; white-space:normal; } input[type=text], input[type=password], textarea { background: #fafafa; -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); border: 1px solid #ddd; color: #888; } input[type=text]:focus, textarea:focus { color: #373737; } textarea { padding-left: 3px; width: 98%; } input[type=text] { padding: 3px; } input#s { background: url(images/search.png) no-repeat 5px 6px; -moz-border-radius: 2px; border-radius: 2px; font-size: 14px; height: 22px; line-height: 1.2em; padding: 4px 10px 4px 28px; } input#searchsubmit { display: none; } table { border-collapse:collapse; border-spacing:0; } td { vertical-align:top; } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; } /* =custom -------------------------------------------------------------- */ body { font:0.85em/150% "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; color:#555; } a img { border: none; } img { max-width: 98%; height: auto; } .ie8 img { width: auto; height: auto; } h1, h2, h3, h4 { padding: 0; margin: 0; text-transform: capitalize; color:#000; display:block; } h1 { font-size: 3.2em; line-height: 110%; text-shadow: 1px 1px white, 0px 0px #0E0E0E, 2px 3px 1px #E3E3E3; margin-bottom:5px; } h2 { font:2.4em/120%; margin-bottom:10px; } h3 { font:1.8em/130%; margin-bottom:10px; } h4 { font:1.4em/140%; margin-bottom:10px; } /* =Structure -------------------------------------------------------------- */ #page { display: block; width: 960px; margin-right: auto; margin-left: auto; } #main { margin-bottom: 40px; overflow: auto; } #primary { float: right; width: 650px; overflow: hidden; background-color: #FFF; padding: 29px; } #content { float: left; width: 100%; } #main .widget-area { float: left; overflow: hidden; width: 220px; padding-top:60px; } #colophon { clear: both; display: block; width: 100%; } /* Increase the size of the content area for templates without sidebars */ .full-width #content, .image-attachment #content, .error404 #content { margin: 0; } /* Text meant only for screen readers */ .screen-reader-text, .assistive-text { position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); } /* Alignment */ .alignleft { display: inline; float: left; } .alignright { display: inline; float: right; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; } #headerimg { -khtml-box-shadow:rgba(0, 0, 0, 0.3) 0 1px 4px; -ms-box-shadow:rgba(0, 0, 0, 0.3) 0 1px 4px; -o-box-shadow:rgba(0, 0, 0, 0.3) 0 1px 4px; -moz-box-shadow:rgba(0, 0, 0, 0.3) 0 1px 4px; -webkit-box-shadow:rgba(0, 0, 0, 0.3) 0 1px 4px; box-shadow:rgba(0, 0, 0, 0.3) 0 1px 4px; margin-bottom:40px; background-color:#fff; } #branding { height: 90px; position: relative; margin-bottom: 30px; width: 960px; margin:0 auto; } /* =Header -------------------------------------------------------------- */ #site-title { z-index: 1000; left: 0px; top: 0px; height: 90px; width: 220px; position:absolute; } #site-title a{ font-size: 16px; font-weight: bold; height: 90px; width: 220px;} #site-title a.logo_img { text-indent: -9999px; background-repeat: no-repeat; background-position: center bottom; display: block; } #site-description { display: none; } /* =Menu -------------------------------------------------------------- */ #access { display: block; width: 700px; position: absolute; right: 0px; bottom: 20px; z-index: 100; } #access ul { list-style: none; margin: 0; padding-left: 0; } #access li { float: left; position: relative; } #access a { display: block; line-height: 2em; padding: 0 1em; text-decoration: none; } #access ul ul { -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-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: 2em; left: 0; z-index: 99999; } #access ul ul ul { left: 100%; top: 0; } #access ul ul a { line-height: 1em; padding: .5em .5em .5em 1em; width: 10em; height: auto; background-color: #f9f9f9; } #access li:hover > a, #access ul ul :hover > a, #access a:focus { background: #efefef; } #access li:hover > a, #access a:focus { background: #f9f9f9; /* Show a solid color for older browsers */ background: -moz-linear-gradient(#f9f9f9, #e5e5e5); background: -o-linear-gradient(#f9f9f9, #e5e5e5); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */ background: -webkit-linear-gradient(#f9f9f9, #e5e5e5); } #access ul li:hover > ul { display: block; } /* =Content -------------------------------------------------------------- */ .sticky { } .entry-meta { clear: both; display: block; } .single-author .entry-meta .byline { display: none; } #content nav { display: block; overflow: hidden; } #content nav .nav-previous { float: left; width: 50%; } #content nav .nav-next { float: right; text-align: right; width: 50%; } #content #nav-above { display: none; } .thumbImg { margin-bottom: 30px; } .entry-content { margin-bottom: 30px; } .entry-content img, .entry-content p { margin-bottom:20px; } .entry-meta { margin-bottom:20px; } .post { margin-bottom:80px; } .page-header { margin-bottom:15px; } .paged #content #nav-above, .single #content #nav-above { display: block; } #nav-below { margin: 2em 0; } .page-link { clear: both; margin: 0 0 1em; } .page .edit-link { clear: both; display: block; } /* 404 page */ .error404 .widget { float: left; width: 33%; } .error404 .widget .widgettitle, .error404 .widget ul { margin-right: 1em; } .error404 .widget_tag_cloud { clear: both; float: none; width: 100%; } /* Notices */ .post .notice, .error404 #searchform { background: #eee; display: block; padding: 1em; } /* Image Attachments */ .image-attachment div.entry-meta { float: left; } .image-attachment nav { float: right; margin: 0 0 1em 0; } .image-attachment .entry-content { clear: both; } .image-attachment .entry-content .entry-attachment { background: #eee; margin: 0 0 1em; padding: 1em; text-align: center; } .image-attachment .entry-content .attachment { display: block; margin: 0 auto; text-align: center; } /* Aside Posts */ .single .format-aside .entry-header { display: block; } /* Gallery Posts */ .format-gallery { overflow:auto; } .gallery-thumb { float: left; margin: 0 1em 0 0; } /* Image Posts */ .format-image .entry-header { display: none; } .single .format-image .entry-header { display: block; } .format-image .entry-content, .format-image .entry-summary { padding-top: 1em; } .single .format-image .entry-content, .single .format-image .entry-summary { padding-top: 0; } /* =Images -------------------------------------------------------------- */ /* Resize images to fit the main content area. - Applies only to images uploaded via WordPress by targeting size-* classes. - Other images will be left alone. Use "size-auto" class to apply to other images. */ img.alignleft { margin-right: 1em; } img.alignright { margin-left: 1em; } .entry-content img, .comment-content img, .widget img { max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ } img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ } img.size-full, img.size-large { max-width: 97.5%; width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ } .entry-content img.wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } img.alignleft, img.alignright, img.aligncenter { margin-bottom: 1.625em; } p img, .wp-caption { margin-top: 0.4em; } .wp-caption { background: #fafafa; border:solid 1px #eee; margin-bottom: 1.625em; max-width: 96%; padding: 9px; } .wp-caption img { display: block; margin: 0 auto; max-width: 98%; } .wp-caption .wp-caption-text, .gallery-caption { color: #666; font-family: Georgia, serif; font-size: 12px; } .wp-caption .wp-caption-text { margin-bottom: 0.6em; padding: 10px 0 5px 40px; position: relative; } .wp-caption .wp-caption-text:before { color: #666; content: '\2014'; font-size: 14px; font-style: normal; font-weight: bold; margin-right: 5px; position: absolute; left: 10px; top: 7px; } #content .gallery { margin: 0 auto 1.625em; } #content .gallery a img { border: none; } img#wpstats { display: block; margin: 0 auto 1.625em; } #content .gallery-columns-4 .gallery-item { width: 23%; padding-right: 2%; } #content .gallery-columns-4 .gallery-item img { width: 100%; height: auto; } /* Image borders */ img[class*="align"], #content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ border: 1px solid #ddd; padding: 6px; } .wp-caption img { } a:focus img[class*="align"], a:hover img[class*="align"], a:active img[class*="align"], #content .gallery .gallery-icon a:focus img, #content .gallery .gallery-icon a:hover img, #content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */ background: #eee; border-color: #bbb; } .wp-caption:focus, .wp-caption:active, .wp-caption:hover {/* ... including captioned images! */ background: #fff; border-color: #ddd; } /* Make sure embeds and iframes fit their containers */ embed, iframe, object { max-width: 100%; } .wp-smiley { margin: 0; } /* =Forms -------------------------------------------------------------- */ #searchform label { display: none; } #searchform input#s { width: 60%; } input[type=text], input#s { margin: 0 1em 0 0; width: 60%; } textarea { width: 80%; } /* Class for labelling required form items */ .required { color: #cc0033; } /* =Comments -------------------------------------------------------------- */ h3#comments-title, h3#reply-title { } .commentlist { list-style: none; margin: 0; padding: 0; } .commentlist li.comment, .pingback { border-bottom: 1px solid #e7e7e7; line-height: 24px; margin: 0 0 24px 0; padding: 0 0 0 120px; position: relative; } .commentlist li:last-child { border-bottom: none; margin-bottom: 0; } #comments .comment-body ul, #comments .comment-body ol { margin-bottom: 18px; } #comments .comment-body p:last-child { margin-bottom: 6px; } #comments .comment-body blockquote p:last-child { margin-bottom: 24px; } .commentlist ol { list-style: decimal; } .commentlist .avatar { position: absolute; top: 4px; left: 0px; } .comment-author { } .comment-author cite { font-weight: bold; font-style: normal; } .comment-author .says { display: none; } .comment-meta { font-size: 12px; margin: 0 0 18px 0; } .comment-meta a:link, .comment-meta a:visited { color: #888; text-decoration: none; } .comment-meta a:active, .comment-meta a:hover { color: #ff4b33; } .commentlist .even { } .commentlist .bypostauthor { } .reply { font-size: 12px; padding: 20px 0 24px 0; } .reply a, a.comment-edit-link { color: #888; font-family: Georgia, "Times New Roman", Times, serif; } .reply a:hover, a.comment-edit-link:hover { color: #ff4b33; } .commentlist .children { list-style: none; margin: 0; } .commentlist .children li { border: none; margin: 0; } .nopassword, .nocomments { display: none; } .commentlist li.comment+li.pingback { margin-top: -6px; } .pingback p { color: #888; display: block; line-height: 18px; margin: 0; padding-bottom: 18px; } .pingback .url { } /* Comments form */ input[type=submit] { color: #333; } #respond { margin: 24px 0; overflow: hidden; position: relative; } #respond p { margin: 0; } #respond .comment-notes { margin-bottom: 1em; } .form-allowed-tags { line-height: 1em; } .children #respond { margin: 0 48px 0 0; } h3#reply-title { margin: 18px 0; } #comments-list #respond { margin: 0 0 18px 0; } #comments-list ul #respond { margin: 0; } #cancel-comment-reply-link { font-size: 12px; font-weight: normal; line-height: 18px; } #respond .required { color: #ff4b33; font-weight: bold; } #respond label { color: #888; } #respond input { width: 300px; margin-bottom: 9px; display: block; } #respond textarea { width: 98%; display: block; } #respond .form-allowed-tags { color: #888; font-size: 12px; line-height: 18px; } #respond .form-allowed-tags code { font-size: 11px; } #respond .form-submit { margin: 12px 0; } #respond .form-submit input { font-size: 14px; width: auto; } #respond #comment { width:95%; } /* =Widgets -------------------------------------------------------------- */ .widget { display: block; margin-bottom:30px; background-image: url(images/top.png); background-repeat: no-repeat; background-position: center top; padding-top: 70px; } .widgetbox { padding:0 0 90px; background-image: url(images/bottom.png); background-repeat: no-repeat; background-position: center bottom; min-height:120px; } .widgetbottom{ background-color: #F3F3F3; padding: 0 20px;} .widget ul{ margin: 0px; padding: 0px; } .widget ul li { background-color:#f3f3f3; margin: 0px; display: block; } .widget ul li:hover { background-color:#fff; padding-left:10px; } .widget-title { text-align: center; border-bottom:solid 2px #000; line-height: 35px; height: 35px; } .widget-area .widget_search { overflow: hidden; background-color: #F3F3F3; } .widget-area .widget_search input { float: left; } #gotop { float:left; width:220px; background-image: url(images/top.png); background-repeat: no-repeat; background-position: left top; height: 70px; text-align: center; padding-top: 50px; } #site-generator { float:right; width:650px; height: 70px; padding: 50px 29px 0 29px; background-color:#fff; } /* media queries mobile */ @media screen and (max-width: 640px) { #page { width:95%; } #branding { height:200px; width: 100%; } #access { left:15px; top:90px; width:90% } #primary { width:100%; padding:0px; } #content { width:90%; float:none; margin:30px auto; } #main .widget-area { float:none; width:220px; margin:0px auto; } #gotop{ float:none; height: 70px; text-align: center; padding-top: 50px; margin:0 auto 30px;} #site-generator { width:95%; float:none; margin:30px auto; padding:15px 0; text-align:center; } #access ul li:hover > ul { display: none; } }