/*
Theme Name: Roy Phay Blog
Theme URI: http://www.royphay.com
Description: Roy Phay Blog is design by <a href="http://www.sunnet.sg/">Sunnet</a>. 
Version: 1.0
Author: Sunnet
Author URI: http://www.sunnet.sg
*/
body{
  background:url(images/royphay_bg.jpg) repeat-x #E1E1E1;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  color: #000000;
}

img{
  border:0px;
}

a {
  color:#000099;
  text-decoration:none;
}

a:hover {
  color: #000099;
  text-decoration:underline;
}

.sub{
  border:0px;
}
.floatright {
  float: right;
  padding: 0px 0px 0px 10px;
}
.floatleft {
  float: left;
  padding: 0px 10px 0px 0px;
}
blockquote {
  margin: 5px;
  padding: 0px 5px 5px 35px;
  background: transparent url(images/blockquote.gif) no-repeat ;
}

/* Form */
input, textarea {
  font-size:12px;
}

.input_text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  border-color:#ABADB3;
  border-style:solid;
  border-width:1px;
  color:#000000;
  background-color:#FFFFFF;
}
input.btn{
   color:#FFFFFF;
   font-family: Arial, Verdana,helvetica,sans-serif;
   font-size:13px;
   font-weight:bold;
   background-color:#0F3D8A;
   color:#FFFFFF;
   border:3px solid;
   border-top-color:#1554BB;
   border-bottom-color:#1554BB;
   border-left-color:#1554BB;
   border-right-color:#1554BB;
}
input.btnhov{
   border:3px solid;
   border-top-color:#ECCF0F;
   border-bottom-color:#ECCF0F;
   border-left-color:#ECCF0F;
   border-right-color:#ECCF0F;
   background-color:#DA4F18;
   color:#FFFFFF;
}

div#page {
  width:987px;
  text-align:left;
}

/* blog*/

div#page #blog {
  border:2px solid #9B9B9B;
  background: #FFFFFF;
}

/* Content */

#content {
  width: 987px;
  height: 100%;
  margin: 0 auto;
}

#main {
  float: left;
  width: 544px;
  height: 100%;
  margin: 0 auto;
  padding: 0 10px 0px 10px;
}

/*header*/

div#page #header {
  width: 987px;
  height: 371px;
  background:url(images/royphay_logo.jpg) no-repeat top #E1E1E1;
}

#headerwrap {
  position: relative;
  margin: auto;
  width: 987px;
  top: 185px;
  text-align: left;
}

#headerwrap span {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: bold;
  color: #D01B1B;
  text-align: center;
}

#header1 {
  position: relative;
  float: left;
  width: 262px;
  padding: 0px 10px 0px 10px;
  font-size: 13px;
}

#header1 ul {
  list-style: none;
  padding:0px 0px 0px 0px;
  margin:0;
}

#header1 li { 
  background: none;
  display: block;
  font-size:1em;
  padding: 9px 5px 0px 5px;
  font-weight: normal;
  color: #e89642;
} 

#header2 {
  position: relative;
  float: left;
  width: 361px;
  padding: 0px 10px 0px 10px;
}

#header2_ebook {
  float:left;
  width: 100px;
}

#header2_optin {
  float:right;
  width: 260px;
}

#header2_optin .optin_header {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  color: #D01B1B;
}

#header2_optin .optintable {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  color: #000000;
  padding: 10px 0px 0px 0px;
}

#header2_optin .optin_footer {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: normal;
  color: #4C4C4C;
  text-align: center;
}

#header2_optin .optin_input {
  width: 195px;
  border:1px solid #cecece;
  background-color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  color: #000000;
}

#header3 {
  position: relative;
  float: left;
  width: 304px;
  padding: 0px 10px 0px 10px;
}

#header3wrap {
  margin: 10px 0px 0px 0px;
}

#header3_technorati {
  float: left;
  margin: 0px 0px 0px 13px;
}

#header3_rss {
  float: right;
  margin: 0px 10px 0px 0px;
}

#header3_subscribe {
  float: left;
  margin: 10px 0px 0px 0px;
  background: url(images/subscribe.gif) top left no-repeat;
  width:299px;
  height: 30px;
}

#header3_subscribe_input {
  margin: 0px 0px 0px 5px;
}

#header3_subscribe_input input {
  width: 200px;
  border:1px solid #ffffff;
  background-color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  color: #000000;
}

/* Menu */

#navwrap {
  position: relative;
}

#nav {
  position: relative;
  margin: auto;
  top: 174px;
  padding-left: 290px;
  height: 26px;
}

#nav ul {
  list-style: none;
  padding:0 0 0 0px;
  margin:0;
}
  
#nav li { 
  position: relative; 
  float: left; 
  padding_left: 5px;
  list-style: none;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: bold;
  color: #FFFFFF;
  text-transform: uppercase;
}

#nav a:link, #nav a:visited {
  position: relative;
  float: left;
  display: block;
  padding-left: 15px;
  height: 26px;
  color: #fff;
  background: url(images/menu_left.jpg) top left no-repeat;    
}

#nav a:hover
{ 
  position: relative; 
  float: left; 
  display: block; 
  padding-left: 15px; 
  height: 26px; 
  color: #fff; 
  background: url(images/menu_left.jpg) no-repeat left top; text-decoration: underline; 
}

#nav span { 
  font-weight: bold; 
  position: relative; 
  float: left; 
  padding-top: 7px;
  height: 22px; 
  padding-right: 15px; 
  background: url(images/menu_right.jpg) no-repeat right top; 
}

/* Sidebar */

#sidebar {
  float: right;
  width: 399px;
  height: 100%;
  background: #1554BB;
  padding: 20px 10px 30px 10px;
  margin-right:4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  color: #FFFFFF;
}

#sidebar a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  color: #FFFFFF;
}

#sidebar a:hover {
  text-decoration:underline;
}

/* Sidebar box style */

.boxed {
  margin: 0px;
}

.boxed ul {
  list-style: none;
  padding:0 0 0 10px;
  margin:0;
}

.boxed a {
  color: #ffffff;
}

.boxed li { 
  background: none;
  display: block;
  line-height:1.40em;
  font-size:1em;
  padding: 0px 3px 10px 15px;
  font-weight: normal;
  color: #ffffff;
} 

.comment_author {
  font-weight: bold;
  color: #F3EC0A;
  text-decoration:underline;
}


/* Footer */

#footer {
  clear: both;
  margin: auto;
  width: 969px;
  text-align:center;
  padding-top: 20px;
  padding-bottom: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  color: #A8A8AC;
}

#footer a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  color: #F03300;
  font-weight: bold;
  text-decoration:none;
}

#footer a:hover {
  text-decoration:underline;
}

#footertext {
  padding-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  color: #000000;
}

#footertext a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  color: #000099;
  text-decoration:none;

}
#footertext a:hover {
  text-decoration:underline;
}

#footer ul {
  list-style: none;
  padding: 10px 0px 10px 0px;
  margin:0;
}

#footer li { 
  background: none;
  display: block;
  line-height:1.40em;
  font-size:1em;
  padding: 0px 3px 10px 5px;
  font-weight: normal;
  color: #ffffff;
} 

#footer li a {
  font-weight: normal;
  color: #ffffff;
  text-decoration:none;
}

.submenu {
  height: 100%;
}

.submenu_header {
  background: url(images/submenu_bg1.jpg) repeat-y;
  width: 320px; 
  height: 42px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  color: #000000;
  text-transform: uppercase;
}

.submenu_bg {
  background: url(images/submenu_bg2.jpg) #1554BB bottom left no-repeat;
  width: 320px; 
  height: 239px;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  color: #FFFFFF;
}

div.submenu_padding {
  padding: 5px 10px 5px 10px;
}

/* Common Use */

#main a, #main a:hover, #main a:visited {
  color: #0F3D8A;
  text-decoration:none;
}

#main h2 {
  margin-bottom: .5em;
  font-size: 1.6em;
  text-decoration:none;
  padding: 7px 0px 5px 10px
}

#main h2:hover {
  text-decoration: none;
  color: #3b74a4;
}
#main a.more-link { 
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: bold;
  color:#0000FF;
  text-decoration:none;
}

#main a.more-link:hover { 
  text-decoration:underline;
}

.post-author, .post-date, .post-comm, .post-time, .post-cath, .post-edit { 
  font-size: 1em;
  text-decoration:none;
  color: #044d8b; 
}
.entry {
  text-algin: justify;
  font-size: 1.10em;
  color: #02171d;
}
.post-author {
  padding: 0 0 3px 18px;
  background: url(images/p_author.gif) no-repeat 0 0;
}
.post-date {
  padding: 0 0 3px 10px;
}
.post-comm {
  padding: 0 0 3px 20px;
  background: url(images/p_commen.gif) no-repeat 0 0;
  }
.post-time {
  padding: 0 0 3px 18px;
  background: url(images/p_time.gif) no-repeat 0 0;
  }
.post-cath {
  padding: 0 0 3px 20px;;
  background: url(images/p_cat.gif) no-repeat 0 0;
}
.post-edit {
  padding: 0 0 3px 3px;
}
.post {
  margin:0 0 25px 0;
}
.post .info{
  padding:2px 3px 3px 8px;
  border:1px solid #ccc;
  background-color:#f7f7f7;
  font-size:0.9em;
  color:#505050;
}
.entries_prev_next { 
  text-align : center;
  margin : 0;
  padding : 10px 10px 20px 10px;
} 
.entries_prev_next a { 
  font-weight:bold;
}
.entries_prev_next .entries_prev { 
  float : right;
  margin : 0;
} 
.entries_prev_next .entries_next { 
  float : left;
  margin : 0;
}


/* Comments Styling */
#comment {
  margin-bottom: 1.5em;
  padding-bottom: 1em;
  border-bottom: 1px solid #700000;
  font: Arial, Helvetica, sans-serif;
}

#commentlist li {
  margin-bottom: 1.5em;
  padding-bottom: 1em;
  border-bottom: 1px solid #700000;
}

#commentform {
  margin: 1em 0;
  background: #ffffff;
  width: 280px;
}

#commentform textarea {
  background: white;
  border-top: 1px solid #c8edff;
  border-left: 1px solid #c8edff;
  border-bottom: 1px solid #29a7e4;
  border-right: 1px solid #29a7e4;
  width: 280px;
}

#commentform textarea:hover {
  background: white;
  border-top: 1px solid #29a7e4;
  border-left: 1px solid #29a7e4;
  border-bottom: 1px solid #c8edff;
  border-right: 1px solid #c8edff;
}

#commentform textarea:focus {
  background: white;
  border-top: 1px solid #29a7e4;
  border-left: 1px solid #29a7e4;
  border-bottom: 1px solid #c8edff;
  border-right: 1px solid #c8edff;
}

#commentform #email, #commentform #author, #commentform #url {
  font-size: 1.1em;
  background: #fff;
  border-top: 1px solid #c8edff;
  border-left: 1px solid #c8edff;
  border-bottom: 1px solid #29a7e4;
  border-right: 1px solid #29a7e4;
  width: 280px;
}

#commentform #email:hover, #commentform #author:hover, #commentform #url:hover {
  font-size: 1.1em;
  background: white;
  border-top: 1px solid #29a7e4;
  border-left: 1px solid #29a7e4;
  border-bottom: 1px solid #c8edff;
  border-right: 1px solid #c8edff;
  width: 280px;
}

#commentform #email:focus, #commentform #author:focus, #commentform #url:focus {
  font-size: 1.1em;
  background: white;
  border-top: 1px solid #29a7e4;
  border-left: 1px solid #29a7e4;
  border-bottom: 1px solid #c8edff;
  border-right: 1px solid #c8edff;
  width: 280px;
}

#commentform input{
  margin-bottom: 3px;
}

.submit1 {
  width: 280px;
  cursor:hand;
  font-size:1.10em;
  background: #fff;
  border-top: 1px solid #c8edff;
  border-left: 1px solid #c8edff;
  border-bottom: 1px solid #29a7e4;
  border-right: 1px solid #29a7e4;
}

.submit1:hover, .submit1:focus {
  background: white;
  border-top: 1px solid #29a7e4;
  border-left: 1px solid #29a7e4;
  border-bottom: 1px solid #c8edff;
  border-right: 1px solid #c8edff;
}
