/*
	Theme Name: Estetica - Professional Lab Edition
	Theme URL: http://newwpthemes.com/wordpress-theme/estetica/
	Description: Optimized for Laboratory Guides with tech-blue accents and compact layout.
	Author: NewWpThemes.com & Gemini Optimization
	Version: 1.5
*/

/* LAYOUT & BASIC */
body { background: #f7f7ef url(images/background.png) top left repeat-x; }
#wrapper { padding:0; }
#contentwrap { background: #fff; display: block; overflow: hidden; }
a { color: #056581; text-decoration: none; }
a:hover { color: #db6404; }

/* HEADER */
#header { height: 110px; padding-top:15px; background: #fff; border-top: 10px solid #b5b58d; }
#header h1 { margin-bottom: 1px !important; padding: 10px 0 0 15px; font-weight: bold; font-size: 48px; font-family: Arial, Helvetica, Sans-serif; }
#header h1 a { color: #787575; text-decoration: none; }
#header h2 { padding-left: 15px; color: #cdceae; font-size: 13px; font-family: Arial, Helvetica, Sans-serif; }
.logoimg { margin: 10px 0 0 18px; }

/* NAVIGATION */
#pagemenucontainer { height: 30px; margin-top: 25px; background: url(images/pagemenu-left.png) top left no-repeat; padding-left: 11px; }
#pagemenu { height: 30px; float: left; background: #b3b58d url(images/pagemenu-right.png) top right no-repeat; }
#pagemenu ul { padding: 0; margin: 0; list-style: none; float: left; }
#pagemenu li { float: left; padding: 6px 6px; }
#pagemenu li a { color: #fff; display: block; padding: 8px 10px 0 0; text-decoration: none; text-transform: uppercase; font-weight: bold; font-size: 11px; text-shadow: 0 1px 0 #88885a; }
#pagemenu li a:hover { text-decoration: underline; }

.navcontainer { height: 28px; background: #fff; border-bottom: 10px solid #bcbda5; }
#nav { height: 28px; padding-left: 10px; list-style: none; }
#nav li { float: left; }
#nav li a { color: #4e4d4d; display: block; padding: 8px 12px; text-decoration: none; font-size: 12px; font-weight: bold; text-transform: uppercase; }
#nav li a:hover, #nav li.current-cat a { color: #fff; background: #bcbda5; border-radius: 8px 8px 0 0; text-shadow: 0 1px 0 #959679; }

/* CONTENT & POSTS - 核心优化区域 */
#content { background-color: #fff; padding: 15px; }

/* 博文容器：压缩外边距，保留细灰线 */
.post, .type-post {
    display: block !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    margin-bottom: 10px !important; 
    padding-bottom: 6px !important; 
    border-bottom: 1px solid #ddd;  
    overflow: hidden !important;
}

/* 标题优化：同步右侧科技蓝，增加点击引导力 */
.title { margin: 0 0 1px 0 !important; font-size: 22px; font-weight: bold; }
.title a { 
    text-decoration: none !important; 
    color: #056581 !important; /* 同步边栏科技蓝 */
}
.title a:hover { 
    color: #db6404 !important; 
    text-decoration: underline !important; 
}

/* 日期与正文间距缩减 */
.postdate { font-size: 13px; font-style: italic; color: #8a8a8a; margin-bottom: 4px !important; }

/* 正文块：优化行高，提升紧凑感 */
.entry { 
    line-height: 19px !important; 
    font-size: 14px; 
    color: #555; 
    text-align: justify; 
    padding-top: 2px !important;
}
.entry p { margin-bottom: 5px !important; }

/* 缩略图优化：文字环绕更紧密 */
.post_thumbnail { 
    float: left !important; 
    padding: 5px; 
    background: #eee; 
    border: 1px solid #ddd; 
    margin: 0 12px 2px 0 !important; 
}

/* 分类信息：消除断层，紧贴正文与灰线 */
.postmeta { 
    clear: both !important; 
    display: block !important; 
    padding-top: 0px !important; 
    margin-top: -6px !important; /* 强制上提以收紧视觉效果 */
    font-size: 11px; 
    color: #888;
}

/* SIDEBAR & FOOTER */
.sidebar { margin-bottom: 10px; color: #666161; }
.sidebar h2 { margin: 10px 0 0 0; padding: 5px 0 6px 32px; background: url(images/sidebar-tab.png) top left no-repeat; font-size: 13px; font-weight: bold; color: #fff; text-shadow: 0 1px 0 #919178; }
.sidebar ul { list-style: none; padding-left: 0; }
.sidebar ul li li { padding-left: 18px; background: url(images/bullet.gif) no-repeat 0 5px; }

#footer { background: #b3b58d; padding: 22px; text-align: center; color: #424334; clear: both; }
#footer2 { color: #999b6a; font-size: 11px; text-align: center; padding: 10px; clear: both; }

/* PRECISION LAYOUT - 精准布局控制 */
/* 隐藏左侧边栏 */
.sidebar-left, 
#contentwrap > .span-5:first-child { 
    display: none !important; 
}

/* 扩展内容区并给右栏留位 */
.span-19 {
    float: left !important;
    width: 730px !important; 
    margin-left: 0 !important;
}

/* 激活并对齐右侧边栏 */
.span-5.last, 
.sidebar-right {
    display: block !important;
    float: right !important;
    width: 210px !important;
}

/* 辅助类 */
.alignleft { float: left; }
.alignright { float: right; }