/*
Theme Name: Gnomore
Theme URI: https://github.com/wnereiz/gnomore
Description: Theme make use of some art works from gnome official website. git://git.gnome.org/gnome-web-www.
*/

@import url("css/reset.css");
@import url("css/fonts.css");


/**
 * General style
/* ----------------------------------------------------------------------------
*/

html {
    background: #fff url(images/html-bg.png) 0 10px repeat-x;
}

body {
    font-family: Cantarell, 'Droid Sans', Ubuntu, 'DejaVu Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2e3436;
}
a {
    color: #204a87;
    text-decoration: none;
}
a:hover {
    color: #3465a4;
    text-decoration: underline;
}

.left {
    float: left;
}
.right {
    float: right;
}
.hidden {
    display: none;
}


/**
 * Text classes
/* ----------------------------------------------------------------------------
*/

.style_warning {
    font-size: 16pt;
    line-height: 130%;
}

.footnotes {
    font-size: 11px;
    color: #888a85;
}
.footnotes a {
    color: #888a85;
}


/**
 * Titles
/* ----------------------------------------------------------------------------
*/

h1, h2, h3, h4, h5, h6, dt {
    color: #3465a4;
}
h1 {
    font-size: 25px;
}
h2 {
    font-size: 23px;
}
h3 {
    font-size: 18px;
    margin: 0.4em 0 0.5em;
    color: #2E3436;
}
h4 {
    font-size: 16px;
    color: #ce5c00;
}
h5 {
    font-size: 14px;
}
h6 {
    font-size: 12px;
}
h1,h2,h3,h4,h5,h6,pre,table,address,fieldset {
    margin: 0.8em 0 0.4em;
}

/*
 * Definition Lists
/* ----------------------------------------------------------------------------
*/

dl {
    margin: 0.8em 0 0.4em;
}
dt {
    font-size: 18px;
    margin: 0.8em 0 0.4em;
    /*color: #E36615;*/
}

dt a:hover {
    /*color: #fa7721;    */
}

dl dt {
    font-weight: 700;
}
dl dt a {
    color: inherit;
}
/*dl dt a:visited {
    color: #ef8e4f;
}*/


/**
 * List
/* ----------------------------------------------------------------------------
*/

ol {
    list-style:decimal;
}
ul {
    list-style:square;
}
li {
    margin-left:30px;
}

/**
 * Paragraph
/* ----------------------------------------------------------------------------
*/

p, dd, .action_box, ul, ol {
    margin: 0.4em 0 1em;
}

code {
    background: #eee;
    border-radius: 3px;
}


/**
 * Navigation links
/* ----------------------------------------------------------------------------
*/

.nav-links {
    width: 210px;
    margin-left: auto;
    margin-right: auto;
}
.nav-links a {
    cursor: pointer;
    white-space: nowrap;
    color: #5d396e;
}

.nav-links a:hover {
    color: #3465a4;
}

.nav-links-half {
    width: 115px;
}

.nav-next {
    text-decoration: underline;
    text-align: center;
    color: #8C5F93;
    width: 95px;
    float: right;
}

.nav-spacing {
    width: 20px;
    height: 20px;
    margin-left: 95px;
    margin-right: 95px;
    background: #fff url(images/nav-icon.png) 0 0 no-repeat;
}
.nav-spacing-oldest {
    margin-left: 0px;
}
.nav-spacing-latest {
    margin-right: 0px;
}

.nav-previous {
    text-decoration: underline;
    text-align: center;
    color: #8C5F93;
    width: 95px;
    float: left;
}

.nav-previous a {
    background: url(images/arrow-nav-previous.png) left 6px no-repeat;
    padding-left: 10px;
}

.nav-next a {
    background: url(images/arrow-nav-next.png) right 6px no-repeat;
    padding-right: 10px;
}

.navigation {
    text-align: center;
}
.navigation .screen-reader-text{
    color: #8C5F93;
    margin-top: 10px;
}

/**
 * Repeatable Patterns
 * ----------------------------------------------------------------------------
 */

.featured-post:before,
.date a:before,
.categories-links a:first-child:before,
.tags-links a:first-child:before,
.entry-meta .author a:before,
.format-audio .entry-content:before,
.comments-link a:before,
.edit-link a:before,
.attachment .entry-title:before,
.attachment-meta:before,
.attachment-meta a:before,
.comment-awaiting-moderation:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.bypostauthor > .comment-body .fn:before,
.error404 .page-title:before {
    -webkit-font-smoothing: antialiased;
    display: inline-block;                         
    font: normal 16px/1 Genericons;
    vertical-align: text-bottom;
}


/**
 * Entry Meta
 * ----------------------------------------------------------------------------
 */

.entry-meta {
    font-size: 14px;
}

.entry-meta a {
}

.entry-meta a:hover {
}

.entry-meta > span {
    margin-right: 10px;
}

.entry-meta > span:last-child {
    margin-right: 0;
}


.featured-post:before {
    content: "\f308";
    margin-right: 2px;
}

.entry-meta .date a:before {
    content: "\f303";
    position: relative;
    top: -1px;
}

.categories-links a:first-child:before {
    content: "\f301";
    position: relative;
    top: -1px;
}

.comments-link a:before {
    content: "\f300";
    margin-right: 2px;
    position: relative;
    top: -1px;
}

.entry-meta .author a:before {
    content: "\f304";
    position: relative;
    top: -1px;
}

.tags-links a:first-child:before {
    content: "\f302";
    position: relative;
    top: -1px;
}

.edit-link a:before {
    content: "\f411";
    position: relative;
    top: -1px;
}


/**
 * Global Domain Bar
 * ----------------------------------------------------------------------------
 */

#global_domain_bar {
    background: #fff;
    height: 10px;
}
#global_domain_bar .bar_width {
    position: relative;
    width: 980px;
    margin: 0 auto;
}

/* Tab */

#global_domain_bar .tab {
    background: #fff;
    /*position: absolute;*/
    float: right;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 16px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 4px 2px -2px #8fb3d9;
    -webkit-box-shadow: 0 4px 2px -2px #8fb3d9;
    box-shadow: 4px 4px 2px -2px #8fb3d9;
    white-space: nowrap;
}
#global_domain_bar .tab a.root {
    font-weight: bold;
    text-decoration: none;
    padding-left: 18px;
    border-right: 1px solid #ccc;
    padding-right: 6px;
    margin-right: 3px;
}
#global_domain_bar .tab a.root:last-child {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
}
#global_domain_bar .tab a.root:hover {
    text-decoration: underline;
}

#global_domain_bar #gnome_org a.root {
    color: #555753 !important;
    background: #fff url(images/favicon-gnome.png) 0 0 no-repeat;
}
#global_domain_bar #bjgug_org a.root {
    color: #3465a4 !important;
    background: #fff url(images/favicon.png) 0 0 no-repeat;
}


/**
 * Header
 * ----------------------------------------------------------------------------
 */

#header {
    margin: 20px auto 0;
}
#header img {
    vertical-align: middle;
    float: left;
    margin-right: 10px;
}
#header #logo {
    display: inline;
    float: left;
    width: 350px;
    margin-left: 10px;
    margin-right: 10px;
}
#header #logo h1 {
    margin: 0;
}
#header #logo img {
   -webkit-transition: opacity 200ms ease-out;
   -moz-transition: opacity 200ms ease-out;
   transition: opacity 200ms ease-out;
   opacity: 1;
   margin-left: -3px;
   height: 76px;
   width: 330px;
}
#header #logo img:hover {
   opacity: 0.85;
}



/* Top bar */
/* -------------------------------------------------------------- */

#top_bar {
    display: inline;
    float: left;
    background: #2e3436 url("images/top_bar-bg.png") top repeat-x;
    padding: 8px 0;
    margin: 23px 10px 0 10px;
    font-size: 13px;
    line-height: normal;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: 100%;
    min-width: 680px;
    max-width: 740px;
}
#top_bar ul {
    list-style: none;
    margin: 0;
    padding: 0 5px;
}
#top_bar ul li {
    display: inline;
    margin: 0 5px 0 0;
}
#top_bar a {
    color: #fff;
    text-decoration: none;
    padding: 4px 8px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    outline: 0;
    -webkit-transition: background 100ms linear;
    -moz-transition: background 100ms linear;
    transition: background 100ms linear;
    text-shadow: 0 1px 0 #000;
}
#top_bar a:hover {
    background: #64696d;
    background: rgba(100%, 100%, 100%, 0.2);
}
#top_bar a:focus {
    background: rgba(100%, 100%, 100%, 0.15);
}
#top_bar a:active,
#top_bar li.current-menu-item a,
#top_bar li.current_page_item a,
#top_bar li.current-page-ancestor a {
    background: #1c2021 url("images/top_bar-item-bg.png") top repeat-x;
    -moz-box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
    -webkit-box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
    box-shadow: inset 0 -1px 0 rgba(100%,100%,100%, 0.4), inset 0 1px 3px rgba(0,0,0,0.4);
}

#top_bar li.selected a {
    font-weight: bold;
}
#top_bar li a span.home {
    background: url("images/top_bar-item-home.png") no-repeat;
    padding-left: 18px;
}
#top_bar #main_search {
    text-align: right;
}
#top_bar input {
    margin: -8px 0 -8px -8px;
    line-height: 22px;
    width: 150px;
    border: 0;
    font: inherit;
    color: inherit;
    padding: 8px 8px 8px 28px;
    background: transparent url(images/search-icon.png) 8px center no-repeat;
    color: #fff;
    border-left: 1px solid rgba(100%,100%,100%,0.3);
    outline: none;
}
#top_bar input.placeholder {
    color: #CCC;
}
#top_bar input:focus {
    background-color: rgba(100%,100%,100%,0.1);
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/*Add this to avoid children menu appeared in the nav bar*/
#top_bar .menu .children {
    display: none;
}


/*
 * Search Posts
/* ----------------------------------------------------------------------------
*/

.search_posts {
    margin: 10px 10px 20px 0;
    border-bottom: 1px solid #d3d7cf;
}
.search_posts h1 {
    margin: 0 0 6px;
    font-size: 37px;
    text-shadow: 0 1px 0 #fff;
    line-height: normal;
    letter-spacing: -0.05em;
}


/*
 * Container
/* ----------------------------------------------------------------------------
*/

#container {
    padding-top: 20px;
    color: #555;
    width: auto;
    margin: auto;
    min-height: 240px;
    min-width: 940px;
}

.inner_wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 1152px;
}


/*
 * Content
/* ----------------------------------------------------------------------------
*/

#container .content {
    width: 940px;
}

#container .inner_wrap{
    width: auto;
}

#container .content {
    width: auto;
    position: relative;
    margin-left: 205px;
    margin-right:295px;
}

/*
 * Sidebar
/* ----------------------------------------------------------------------------
*/

#container #sidebar-left {
    float: left;
    width: 180px;
}

#container #sidebar-right {
    float: right;
    width: 270px;
}

#container .sidebar {
    margin: 5px 0 20px 0;
    padding: 0px;
    font-size: 14px;
    border: 1px solid #d3d7cf;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    list-style: none;
    /*font-size: small;*/
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 1px 2px #fff;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 1px 2px #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 1px 2px #fff;
}

#container .sidebar h1,
#container .sidebar h2,
#container .sidebar h3,
#container .sidebar h4{
    color: #8c5f93;
    margin: 10px 0 5px 0;
}

.sidebar ul,
.sidebar ul li {
    margin-left: 10px;
}

.sidebar aside {
    margin: 12px 12px;
}

.sidebar aside div {
    margin: 5px 5px;
}
.sidebar aside div ul,
.sidebar aside div ul li{
    margin-left: 0px;
}


/**
 * Page Navigation
/* ----------------------------------------------------------------------------
*/

.page_navigation {
    margin: 30px auto 0;
}
.page_navigation .prev, .page_navigation .next {
    height: 32px;
    line-height: 32px;
}
.page_navigation a {
    text-decoration: none;
    color: inherit;
}
.page_navigation a:hover {
    text-decoration: underline;
}
.page_navigation .prev a {
    float: left;
    background: url(images/go-previous.png) top left no-repeat;
    padding-left: 40px;
}
.page_navigation .next a {
    float: right;
    background: url(images/go-next.png) top right no-repeat;
    padding-right: 40px;
}


/**
 * Footer Artwork
/* ----------------------------------------------------------------------------
*/

#footer_art {
    float: left;
    background: transparent no-repeat;
    height: 180px;
    margin: 0 10px 0 10px;
    width: 940px;
    clear: left;
}
#footer_art.none {
    height: 30px;
    margin-top: 0;
}
#footer_art.default {
    background-image: url(images/footer_arts/default.png);
}


/**
 * Footer Grass
/* ----------------------------------------------------------------------------
*/

#footer_grass {
    background: url(images/grass.png) top center repeat-x;
    height: 39px;
    margin-top: -33px;
}


/**
 * Footer
/* ----------------------------------------------------------------------------
*/

#footer {
    clear: left;
    /*background: #d3d7cf url(images/grass.png) top center repeat-x;*/
    background: #d3d7cf;
    color: #555753;
    padding: 20px 0;
    font-size: 12px;
    line-height: 1.4em;
}
#footer div.links > div > ul > li {
    float: left;
    margin: 0 40px 10px 0;
}
#footer div.links div a, #footer div.links div strong {
    display: block;
    text-decoration: none;
}
#footer div.links div a:hover, #footer div.links div a:focus {
    text-decoration: underline;
}

#footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer ul li {
    margin: 0;
    padding: 0;
}
#footer ul.menu > li > a {
    font-weight: bold;
}
#footer .links {
    display: inline;
    float: left;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
}
#footer .links a {
    color: inherit;
    -webkit-transition: background-color 100ms ease-in;
    -moz-transition: background-color 100ms ease-in;
    transition: background-color 100ms ease-in;
}
#footer .links a:focus {
   background: #ececec;
   padding: 1px 3px;
   margin: -1px -3px;
   text-decoration: none !important;
   outline: 0;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
#footer #footnotes {
    float: left;
    width: 100%;
    margin: 20px 10px 0 10px;
}
#footer #footnotes small {
    font-size: 88%;
}
#footer #footnotes a {
    color: inherit;
}


/**
 * Comment form
/* ----------------------------------------------------------------------------
*/
#respond h3 {
    color: #0489B7;
}
#respond input,
#respond textarea { 
    border: 1px solid #CCC;
    border-radius: 3px;
}

#respond input:focus,
#respond textarea:focus {
    border: 1px solid #0489B7;
    box-shadow: 1px 1px 4px -2px #8fb3d9, -1px -1px 4px -2px #8fb3d9, 1px -1px 4px -2px #8fb3d9, -1px 1px 4px -2px #8fb3d9;
}

#respond #submit {
    color: #0489B7;
    border: 1px solid #0489B7;
}
#respond #submit:hover {
    box-shadow: 1px 1px 4px -2px #8fb3d9, -1px -1px 4px -2px #8fb3d9, 1px -1px 4px -2px #8fb3d9, -1px 1px 4px -2px #8fb3d9;
}
/**
 * Clear Floated Elements
/* ----------------------------------------------------------------------------
*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */

.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}


/**
 * Separators
/* ----------------------------------------------------------------------------
*/

hr {
    border: 0 #ccc solid;
    border-top-width: 1px;
    clear: both;
    height: 0;
    margin-top: 40px;
    margin-bottom: 0px;
}

hr.top_shadow,
hr.bottom_shadow {
    height: 25px;
    background: url(images/hr-shadow.png) no-repeat bottom;
    background-size: contain;
    border: 0;
}
hr.bottom_shadow {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

/**
 * Widgets -> wp-polls
/* ----------------------------------------------------------------------------
*/
.wp-polls p {
    text-align: left !important;
    margin-left: 5px;
}

/**
 * Widgets -> Follow us
/* ----------------------------------------------------------------------------
*/

ul.follow_us {
    list-style-type:none;
}
ul.follow_us li {
    margin-left: 2px;
}
ul.follow_us a:focus {
     outline:none;
     -moz-outline:none;
}

/**
 * About Us Page
/* ----------------------------------------------------------------------------
*/

#container .about_us{
    margin-left: 155px;
    margin-right:155px;
}

.about_us h1{
    color: #8C5F93;
    margin-top: 10px;
}
.about_us h2{
    font-size: 20px;
}

/**
 * Q&A Page
/* ----------------------------------------------------------------------------
*/

.faq .content li h3 {
    color: #3465a4;
}

.faq #sidebar-right {
    position:fixed;
    right: 50px;
}
