/** CSS ที่อยู่ในหน้านี้จะมีผลต่อทุกสกินในเว็บไซต์ */
#siteSub {
display:inline;
font-size:92%;
font-weight:normal;
}

.border-rounded {-moz-border-radius:10px;}
h2.mainpage-header {-moz-border-radius:7px;padding-left:7px}

#mw-missingsummary {
    color: #c00;
    font-size: 1.5em;
    line-height: 1.3em;
}

/* Below is from Wikipedia */

body.page-หน้าหลัก #deleteconfirm,
body.page-หน้าหลัก #t-cite,
body.page-หน้าหลัก #lastmod,
body.page-หน้าหลัก #siteSub,
body.page-หน้าหลัก #contentSub,
body.page-หน้าหลัก h1.firstHeading {
    display: none !important;
}

#siteNotice {
    margin-top: 5px;
  /*  margin-bottom: -.5em; */
}
#content,
#p-cactions li a:hover, #p-cactions li.selected a,
#content div.thumb {    /* "Margin" for thumbs, padding for galleries */
    background-color: #F8FCFF;   /* Light blue */
}
#p-cactions li a {
    background-color: #F7F9FB;   /* Light blue-gray inactive tabs */
}
 
.ns-0 #content,
.ns-0 #p-cactions li a:hover, .ns-0 #p-cactions li.selected a, 
.ns-0 #content div.thumb {
    background-color: white;     /* Set back to white for articles */
}
.ns-0 #p-cactions li a {
    background-color: #FBFBFB;   /* Light gray inactive tabs in articles */
}
 
@media print {
    #content { background: white; } /* White background on print */
}
/* Category lists and diffs transparent instead of white. */
#mw-subcategories table, #mw-pages table,
table.diff, td.diff-otitle, td.diff-ntitle {
    background-color: transparent;
}
 
/* END LIGHT BLUE SECTION */
 
/* Talk page tab "+" / "new section". 
   Sets the same padding as the other tabs have. */
#p-cactions #ca-addsection a {
    padding-left: .8em;
    padding-right: .8em;
}
 
 
/* Block quotations */
#content blockquote {
    font-size: 93.75%; /* equivalent of 15px in 16px default */
    margin: 1em 1.6em; /* same indent as an unordered list */
}
#content blockquote p {
    line-height:inherit;
}
 
#siteSub {
    display: inline;
    font-size: 92%;
    font-weight: normal;
}
 
 
/* Accessibility experiment: make diff changes not just colour-based */ 
.diffchange {
    font-weight: bold;
    background-color: inherit;
}
td.diff-addedline, td.diff-deletedline, td.diff-context {
    vertical-align: top;
    font-size: 85%;
    color: inherit;
}
 
#pt-login {
    font-weight: bold;
    font-size: 110%;
}
 
p.error {
    font-weight: bold;
}
 
 
/* TOC margin in articles (and article previews). */
.ns-0 #wikiPreview > table#toc,
.ns-0 #bodyContent > table#toc {
    margin-top: .5em;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
}
 
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
 
/* Styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border-right: 1px solid #aaa;
}
 
/* Makes the background of a framed image white instead of gray. */
/* Only visible with transparent images. */
div.thumb div a img {
    background-color: #fff;
}
 
/* Remove white border from thumbnails */
div.thumb {
    border: none;
}
div.tright {
    border: none;
    margin: 0.5em 0 0.8em 1.4em;
}
div.tleft {
    border: none;
    margin: 0.5em 1.4em 0.8em 0;
}
 
/* Allow disabling of "external" color on internal links in some situations */
#bodyContent .plainlinks2 a.external[href^="http://wiki.robothai.net"] {
    color: #002bb8 !important
}