/***
    博客显示CSS定义
	包括了原有的模板CSS，加上自定义标签样式
  
    Austin Liu 刘恒辉
    Project Manager and Software Designer
 
    E-Mail: lzhdim@163.com
    Blog:   https://lzhdim.alanforddmd.com
    Date:   2022-03-23 18:00:00
  
    使用方法:
		//在页面添加CSS文件链接

***/


body {
    font-size: 12px;
    font-family: Verdana, ms song, Geneva, Arial, Helvetica, sans-serif;
    /*background-color: #3F444A;*/
    padding: 0px;
    margin: 0;
    background-image: linear-gradient(45deg, #c8e2fb, #fbecd6);
    /**cursor: url('https://lzhdim.com/Other/Arrow.ani');**/
}

/**主页面显示框的样式**/
.Framework {
    border-left: 2px solid #99CC33;
    border-right: 2px solid #99CC33;
    background-color: white;
    width: 1200px;
    margin: 0px auto;
    box-shadow: 0 0 13px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s;
}

.Framework:hover {
    border-left: 2px solid #99CC33;
    border-right: 2px solid #99CC33;
    background-color: white;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

/****************/

/**侧边公告栏里的显示框样式**/
/**公告栏的样式**/
#news {
    padding-left: 5px;
    padding-right: 3px;
    padding-bottom: 5px;
    font-size: 13px;
}

/**各个显示框样式**/
.field {
    margin-left: auto;
    padding: 5px;
    border: 1px solid #CCCCCC;
}

.field:hover {
    border: 1px solid #553322;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

/****************/

/**主页面内容列表显示框的样式**/
.post {
    border: 1px solid #553322;
    padding: 0px;
    margin-bottom: 28px;
    margin-top: 10px;
}

.post:hover {
    border: 1px solid #FF6600;
    padding: 0px;
    margin-bottom: 28px;
    margin-top: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.posthead {
    background-color: #eeeeee;
    background-image: url("https://files.alanforddmd.com/files/lzhdim/TitleGreen.bmp?t=20240208");
    background-position: 5px center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #553322;
    padding: 4px 4px 4px 25px;
    color: #553322;
    font-size: 13px;
}

.posthead h2 a {
    text-decoration: none;
}

.postbody {
    padding: 4px;
    margin-bottom: 14px;
    line-height: 150%;
}

.postbody a {
    color: #763537;
}

.posthead h2 {
    font-size: 12px;
    margin: 0px;
}

.post h5 {
    font-size: 14px;
    margin: 0px;
    margin-bottom: 4px;
}

.postfoot {
    padding: 4px;
    margin: 0px;
    color: #AAAAAA;
    border-top: 1px solid #DDDDDD;
    font-size: 11.5px;
}

/****************/

/**左边栏的样式**/
#leftmenu {
    width: 220px;
    left: 0px;
    padding: 0px;
    padding-bottom: 5px;
    font-family: Verdana, ms song, Geneva, Arial, Helvetica, sans-serif;
}

#leftmenu h3 {
    font-size: 1em;
    margin: 0px;
    padding: 5px;
    background-color: #EEEEEE;
    /**background-image: url("https://www.alanforddmd.com/Skins/KJC/images/ColumnHeaderBg.gif");**/
    border-top: 1px solid #553322;
    border-bottom: 1px solid #553322;
    background-position: bottom;
    background-repeat: repeat-x;
    color: #223355;
}

#leftmenu ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    margin-left: 8px;
    margin-bottom: 10px;
}

#leftmenu li {
    margin-top: 6px;
}

#leftmenu a:active,
#leftmenu a:visited,
#leftmenu a:link {
    color: #000;
    text-decoration: none;
    margin-right: 0px;
    padding: 2px;
}

#leftmenu a:hover {
    text-decoration: underline;
    color: #763537;
}

#leftmenu .sidebar-card h3 {
    background-image: url("https://files.alanforddmd.com/files/lzhdim/TitleGreen.bmp?t=20240208");
    background-repeat: no-repeat;
    padding-left: 23px;
    background-position: 4px;
}

/****************/

/**************搜索栏样式**************/
.div_my_zzk {
    margin: 0 auto;
    padding: 5px;
    text-align: center;
}

/**输入框**/
.input_my_zzk {
    width: 150px;
    border-radius: 1px;
}

/****************************************/

img {
    border: 0px;
}

td {
    font-size: 12px;
}

a {
    color: #223355;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #FF6600;
}

h1 {
    margin: 0px;
    padding-top: 5px;
    font-size: 16px;
    padding-bottom: 5px;
}

h2 a,
.postfoot a {
    color: #223355;
}

h1 a:visited,
h1 a:active,
h1 a:link,
h1 a:hover {
    color: #FFF;
    margin-top: 10px;
    text-decoration: none;
}

h2 {
    margin-top: 10px;
    font-size: 1em;
}

h5 {
    margin: 0px;
    padding: 0px;
}

#top {
    display: none;
    background-color: white;
    background-position: right;
    height: 90px;
    vertical-align: middle;
    padding-left: 10px;
}

#top td {
    color: #ff6600;
    text-align: left;
}

#top h1 {
    font-weight: normal;
}

#top a {
    color: #223355;
}

#sub {
    display: none;
    background-color: #223355;
    color: #CCCCCC;
    font-size: 12px;
    padding: 4px;
}

#sub-right {
    float: right;
}

#sub a:active,
#sub a:visited,
#sub a:link {
    color: white;
    text-decoration: none;
}

#sub a:hover {
    text-decoration: underline;
}

.headermaintitle {
    font-family: "Trebuchet MS";
    color: #223355;
}

.headermaintitle a {
    font-family: "Trebuchet MS";
    color: #223355;
}

.headermaintitle a:hover {
    font-family: "Trebuchet MS";
    color: #FF0000;
}

#tagline {
    color: #FFFFFF;
    font-size: 1em;
    margin: 0px;
    background-color: #0000FF;
    padding: 5px;
}

p.date img {
    vertical-align: middle;
}

p.date {
    font-size: 1.0em;
    font-weight: bold;
    margin-bottom: 0px;
    padding: 2px 0px;
    color: #AAAAAA;
    text-align: right;
}

p.date span {
    background-color: #FFF;
}

p.date a {
    color: #888888;
}

blockquote {
    font-style: italic;
    padding: 4px;
    margin: 0px;
}


#main {
    margin-left: 0px;
}

#footer {
    margin: 0px;
    padding-top: 5px;
    text-align: center;
    font-size: 12px;
}

input.text {
    width: 300px;
}

textarea {
    width: 300px;
    height: 200px;
}

#comments h4 span {
    color: #999;
}

#comments h4 {
    margin: 0px;
    font-size: 0.9em;
}

p {
    margin: 0px;
    margin-bottom: 14px;
}

h3 {
    font-size: 1.2em;
}

#relatedlinks ul {
    list-style: none;
    margin-left: 10px;
    padding: 0px;
}


pre {
    margin: 0px;
    margin-left: 22px;
    font-size: 1.0em;
}

.Textbox,
textarea {
    border: 1px solid #AAAAAA;
    width: 160px;
    font-size: 12px;
}

.button {
    border: 1px solid #AAAAAA;
    background-color: #CCD4E0;
}

input,
textarea {
    font-family: Verdana, Geneva, Arial, Sans-Serif;
    font-size: 12px;
}

.MainCell {
    padding: 5px;
    background-color: White;
    vertical-align: top;
    font-size: 12px;
}

/**左边栏**/
.LeftCell {
    width: 220px;
    vertical-align: top;
    border-right: 1px solid #553322;
}

.FooterCell {
    display: none;
}

#footerinfo td {
    font-family: Verdana;
    font-size: 12px;
}

.SectionHead {
    text-align: right;
}

.quote {
    margin: 0 15 10 35;
    padding-left: 10;
    border: 1px dashed #aaaaaa;
    border-left: 10px solid #aaaaaa;
    color: black;
    background-color: whitesmoke;
}

#cell {
    border: 1px solid #dddddd;
    margin: 20 10 10 10;
    padding-bottom: 5;
}

.file {
    background: url("https://www.alanforddmd.com/Skins/KJC/images/icon-edit.gif") top left no-repeat;
    padding-left: 20;
}

.download {
    background: url("https://www.alanforddmd.com/Skins/KJC/images/icon-download.gif") top left no-repeat;
    padding-left: 20;
}

.zip {
    background: url("https://www.alanforddmd.com/Skins/KJC/images/icon-zip.gif") top left no-repeat;
    padding-left: 20;
}

.tip {
    background: url(https://www.alanforddmd.com/Skins/KJC/images/icon-tip.gif) top left no-repeat;
    padding-left: 20;
}

.question {
    background: url(https://www.alanforddmd.com/Skins/KJC/images/icon-question.gif) top left no-repeat;
    padding-left: 20;
}

.link {
    background: url(https://www.alanforddmd.com/Skins/KJC/images/icon-link.gif) top top left no-repeat;
    padding-left: 20;
}

.blog {
    background: url(https://www.alanforddmd.com/Skins/KJC/images/icon-blog.gif) top left no-repeat;
    padding-left: 20;
}

.DayHeader {
    font-size: 1em;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #eeeeee;
    /**background-image: url("https://www.alanforddmd.com/Skins/KJC/images/ColumnHeaderBg.gif");**/
    border-top: 1px solid #553322;
    border-bottom: 1px solid #553322;
    background-repeat: repeat-x;
    color: #666666;
    height: 30px;
}

#Cal {
    border: 1px solid #dddddd;
    margin: 20 10 10 10;
    padding-bottom: 0;
}

.border {
    border-right: #009900 1px dashed;
    border-top: #009900 1px dashed;
    border-left: #009900 1px dashed;
    border-bottom: #009900 1px dashed;
}

.RecentComment {
    width: 220px;
}


.cal {
    width: 200px;
}

.cnblogs-post-body table,
.cnblogs-post-body td {
    border: none;
}

.cnblogs-post-body,
#cnblogs_post_body {
    font-size: 13px;
}


.XMLLink img {
    vertical-align: middle;
}

/**
* {
    scrollbar-face-color: #DEDEDE;
    scrollbar-base-color: #F5F5F5;
    scrollbar-arrow-color: black;
    scrollbar-track-color: #F5F5F5;
    scrollbar-shadow-color: #EBF5FF;
    scrollbar-highlight-color: #F5F5F5;
    scrollbar-3dlight-color: #C3C3C3;
    scrollbar-darkshadow-Color: #9D9D9D;
}**/

/**
.HeaderBar {
    font-weight: normal;
    font-size: 0.75em;
    border-collapse: collapse;
    background-image: url(https://www.alanforddmd.com/Skins/KJC/images/BlueTabBack.gif);
    background-repeat: repeat-x;
}
.HeaderBarTabWindow {
    background-image: url(https://www.alanforddmd.com/Skins/KJC/images/BlueTabRight.gif);
    background-repeat: no-repeat;
}
.HeaderBar a:visited,
.HeaderBar a:active,
.HeaderBar a:link {
    color: WhiteSmoke;
    text-decoration: none;
    font-weight: normal;
}
.HeaderBarTab {
    background-image: url(https://www.alanforddmd.com/Skins/KJC/images/BlueTabFace.gif);
    background-repeat: repeat-x;
    border-collapse: collapse;
    padding: 0px;
}
**/

/***添加左侧栏的边框***********
.sidebar-block {
    border-right: 1px solid #553322;
}
.sidebar_categories {
    border-right: 1px solid #553322;
}
.cell {
    border-right: 1px solid #553322;
}***/
/****************/

/**
#rightmenu {
    left: 0px;
    width: 180px;
    padding: 0px;
    padding-bottom: 5px;
}
#rightmenu h3 {
    font-size: 1em;
    margin: 0px;
    padding: 4px;
    background-color: #EEEEEE;
    background-image: url("https://www.alanforddmd.com/Skins/KJC/images/ColumnHeaderBg.gif");
    border-top: 1px solid #553322;
    border-bottom: 1px solid #553322;
    background-repeat: repeat-x;
    color: #666666;
}
#rightmenu ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    margin-left: 8px;
    margin-bottom: 10px;
}
#rightmenu li {
    margin-top: 6px;
}
#rightmenu a:active,
#rightmenu a:visited,
#rightmenu a:link {
    display: block;
    border: 1px solid #aaaaaa;
    font-weight: bold;
    text-decoration: none;
    margin-right: 0px;
    padding: 2px;
}
#rightmenu a:hover {
    text-decoration: underline;
    background-color: white;
    color: #1D58D1;
}
**/

/**************************************************  **************************************************/