/*   
Theme Name: ttt website theme
Theme URI: 
Description: ttt website theme based on Thematic Child Theme development.
Author: Tu Tak Tran
Author URI: http://tutaktran.com/
Template: thematic
Version: 1.0
Tags: Thematic
.

.
*/

/* Reset browser defaults */
@import url('../thematic/library/styles/reset.css');

/* Apply basic typography styles */
@import url('../thematic/library/styles/typography.css');

/* Apply a basic layout */
@import url('../thematic/library/layouts/2c-r-fixed.css');

/* Apply basic image styles */
@import url('../thematic/library/styles/images.css');

/* Apply default theme styles and colors */
/* It's better to actually copy over default.css into this file (or link to a copy in your child theme) if you're going to do anything outrageous */
@import url('../thematic/library/styles/default.css');

/* Prepare theme for plugins */
@import url('../thematic/library/styles/plugins.css');

/* 
   Base font size = 15px 

*/

a:link {
  color: #666666;
  text-decoration: none;
}

a:visited {
  text-decoration: none;  
}

a:active, a:hover {
  color: #000000;
  text-decoration: underline;
}

/* Border
-------------------------------------------------------------- */
body.show-grid {
  /* Horizontal lines for header */
  background: transparent url(images/grids/top-horizontal-grid.png) repeat-x 0 2px; /* 2px off from the top for some reason */
}
  body.show-grid-test {
    background: transparent url(images/grids/test-top-horizontal-grid.png) repeat-x 0 2px; /* 2px off from the top for some reason */
  }
  
.show-grid #wrapper {
  /* Vertical grids for columns */
  background: transparent url(images/grids/vertical-grid.png) repeat-y center 0;
}
  .show-grid-test #wrapper {
    background: transparent url(images/grids/test-vertical-grid.png) repeat-y center 0;
  }

.show-grid #primary {
  /* Primary widget lines */
  background: transparent url(images/grids/25px-horizontal-grid.png) repeat 0 0;
}
  .show-grid-test #primary {
    background: transparent url(images/grids/test-25px-horizontal-grid.png) repeat 0 0;
  }

.show-grid #secondary h3 {
  /* Secondary widget heading underline */
  background: transparent url(images/grids/25px-horizontal-grid.png) repeat scroll 0 7px /* note: set top to 1px to see the top line */
}
  .show-grid-test #secondary h3 {
    background: transparent url(images/grids/test-25px-horizontal-grid.png) repeat scroll 0 7px /* note: set top to 1px to see the top line */
  }

.show-grid #secondary > ul > li { 
  /* Secondary widget bottom line */
  background: transparent url(images/grids/25px-simple-horizontal-grid.png) repeat-x 0 bottom; 
}
  .show-grid-test #secondary > ul > li { 
    background: transparent url(images/grids/test-25px-simple-horizontal-grid.png) repeat-x 0 bottom; 
  }


.show-grid .entry-meta {
  /* Blog post meta data lines */
  background: transparent url(images/grids/25px-horizontal-grid.png) repeat 0 0;
}
.show-grid-test .entry-meta {  
  background: transparent url(images/grids/test-25px-horizontal-grid.png) repeat 0 0;
}

.show-grid .hentry {
  /* Post entry underline */
  background: transparent url(images/grids/25px-simple-horizontal-grid.png) repeat-x 0 bottom; 
}
  .show-grid-test .hentry {    
    background: transparent url(images/grids/test-25px-simple-horizontal-grid.png) repeat-x 0 bottom; 
  }

.show-grid #footer {
  /* Footer double horizontal lines */
  background: #ffffff url(images/grids/footer-horizontal-grid.png) repeat-x 0 0;
}
  .show-grid-test #footer {
    background: #ffffff url(images/grids/test-footer-horizontal-grid.png) repeat-x 0 0;  
  }

.show-grid #footer h3 {
  /* Footer heading horizontal lines */
  background: transparent url(images/grids/25px-horizontal-grid.png) repeat 0 7px;  
}
  .show-grid-test #footer h3 {
    background: transparent url(images/grids/test-25px-horizontal-grid.png) repeat 0 7px;  
  }

.show-grid #footer #second {
  /* Footer link column lines */
  background: transparent url(images/grids/footer-vertical-grid.png) repeat-y 0 0;  
}
  .show-grid-test #footer #second {
    background: transparent url(images/grids/test-footer-vertical-grid.png) repeat-y 0 0;  
  }


/* Branding
-------------------------------------------------------------- */
#branding {
  padding: 95px 0 18px;
  border-bottom: 1px solid #000000;
  
  position: relative;
}

#blog-title {  
}

#blog-title a {
  text-indent: -9999px;
  background: transparent url(images/ttt_logotype_FA02.png) no-repeat 0 0;
  height: 23px;
  width: 84px;
  display: block;
}

#blog-description {
  color: #000000;
  font-family: Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 15px;
  
  position: absolute;
  right: 356px;
  top: 103px;   
}

/* Access
-------------------------------------------------------------- */
#access {
  height: auto;
  border: none;
  margin: 0 auto;
  width: 940px;
}

.admin-links {
  margin-left: 0;
  position: absolute;
  top: 0;
  right:0;
}

.admin-links li {
  list-style: none;  
  padding-right: 3px;
  float: left;
}
  .admin-links li:last-child {
    padding-right: 0;
  }
  .admin-links li a {
    color: #ffffff;
    background-color: #000000;
    float: left;
    display:block;
    margin-right: 3px;
    padding: 0 5px;
    font-family: Helvetica, Arial, sans-serif;
  }
    .admin-links li:last-child a {
      margin-right: 0;
    }
    .admin-links li a:hover {
      background-color: #666666;
      text-decoration: none;
    }


/* Side bar
-------------------------------------------------------------- */
#main {
  padding-top: 0;  
}

#primary {
  border: none;
  
  padding: 0 0 25px;
  width: 274px;
  margin: 98px 0 0;  
}
  #primary .menu {
    width: 274px;
  }

#secondary {
  width: 274px;
}

  .aside a:active, 
  .aside a:hover {
    color: #000000;
  }
  .aside a:visited {
    color: #743399;
  }
  .aside #built-on a {
    color: #000000;
  }
    .aside #built-on a:visited {
      color:#743399;
    }

.aside #search .widgettitle {
  padding: 25px 0 0;  
}
  .aside #search input {
    border: 1px solid #000000;  
    width: 268px;
    padding: 2px;
    
    margin-bottom: 0;
    font-size: 12px;
    line-height: 12px;
    font-family: Helvetica, Arial, sans-serif;
    height: 13px;
  }

.main-aside ul {
  padding: 0;
  margin-bottom: 0;
}
.main-aside form {
  margin-bottom: 0;
}

.aside h3 {
  font-size: 12px;
  line-height: 24px;
  padding-top: 7px;
  margin-bottom: 7px;
  color: #000000;  
  font-family: Helvetica, Arial, sans-serif;
  font-style: normal;
}
  #secondary h3 {
    border-bottom: 1px solid #000000;
    margin-bottom: 7px;  
    padding: 7px 0 0;
    line-height: 24px;
  }
  

#secondary ul li {
  padding-bottom: 7px;
}

.aside ul ul li {
  list-style: none outside;
  font-family: Helvetica, Arial, sans-serif; 
  padding: 0;
}

.aside ul ul {
  margin: 0;  
}

/* Menu
-------------------------------------------------------------- */

.menu {
  margin: 0;
}

.sf-menu { 
  border: none;
}

.sf-menu a, .sf-menu a:visited {
  font-size: 12px;
  line-height: 24px;
  border: none;
  
  font-family: Helvetica, Arial, sans-serif;
  color: #000000;
  padding: 0;  
}
  .sf-menu li {
    float: none;
    background: none;
    width: 274px;
    border-bottom: 1px solid #000000;
    padding: 0;
    margin-top: 25px;
  }
    .sf-menu li:first-child {
      margin-top: 0;  
    }
  .sf-menu li:hover, 
  .sf-menu li.sfHover,
  .sf-menu li:hover a,
  .sf-menu li.sfHover a,
  .sf-menu li a:hover,
  .sf-menu a:focus {
    background: none;
    border-color: #000000;
    text-decoration: none;
  }

/* Selected item and hover links */  
.sf-menu li:hover, 
.sf-menu li.sfHover,
.sf-menu .current_page_item {
  margin-left: -36px;
  width: 310px;
  text-indent: 36px;  
}

.sf-menu .current_page_item a, 
.sf-menu .current_page_ancestor a, 
.sf-menu .current_page_parent a {

}

/* Content layout
-------------------------------------------------------------- */

#content {  
  padding-top: 98px;
  width: 630px; 
}

.hentry {
  width: 583px;  
  padding-bottom: 98px;
  clear: both;
  
  position: relative;
}

.entry-title,
.entry-content {
  width: 465px;
  margin-left: 118px;
}
  .entry-content {
    padding-top: 0;  
  }
 .entry-content img {
   border: 1px solid #000000;  
 }
 .entry-content p {
   clear: left;
 }
 .alignleft, img.alignleft {
   margin-right: 0;  
 }
    
.entry-meta {  
  position: absolute;
  top: 0;
  left: 0;
}

.entry-utility { 
  margin: 0 0 0 118px;
  
  /* For putting into left bar 
  position: absolute;
  top: 100px;
  width: 82px;*/  
}

/* Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3, 
.entry-content h4, .entry-content h5, .entry-content h6,
#content, input, textarea {
  font-family: Helvetica, Arial,sans-serif;
}

input {
  font-size: 12px;
  line-height: 12px;
}

textarea {
  font-size: 13px;
  line-height: 18px;
}

blockquote {
  color: #000000;
  font-style: normal;
  margin: 0 0 0 30px;
  padding: 18px 0;
}

.entry-title,
.entry-content h1, 
.entry-content h2 {
  font-size: 14px;
  line-height: 17px;
  font-weight: bold;
  font-style: normal;
    
  padding-bottom: 19px;
}
  .page .entry-title {     
    padding-top: 0;
  }

.entry-content h3 {
  font-size: 14px;
  line-height: 17px;
  font-weight: bold;
  font-style: normal;
      
  padding-bottom: 0;
}

.entry-content h4 {
  font-size: 12px;
  line-height: 16px;
  font-weight: bold;
  font-style: normal;
      
  padding-bottom: 0;
}

.entry-content h5 {
  font-size: 12px;
  line-height: 16px;
  font-weight: normal;
  font-style: italic;
      
  padding-bottom: 0;
}

.entry-content h6 {
  font-size: 12px;
  line-height: 16px;
  font-weight: normal;
  font-style: italic;
      
  padding-bottom: 0;
}
.entry-title a:link {
  color: #000000;  
}
  .entry-title a:hover,
  .entry-title a:active {
    color: #666666;
    text-decoration: none;  
  }
  
.entry-meta {
  font-style: normal;
  color: #000000;
  padding-bottom: 27px; /* To show grids on bottom */
}
  .entry-meta a {
    color: #666666;
  } 
  .entry-meta a:hover,
  .entry-meta a:active {
    color: #000000;
  }
  .entry-meta .author,
  .entry-meta .meta-prep-author {
    font-size: 11px;
    line-height: 19px;
  }
  
.entry-date {
  display: block;
  margin-bottom: 6px;
  width: 82px;
}

.entry-date abbr {
  font-size: 23px;
  line-height: 24px;
  font-weight: bold;
  color: #000000;
  letter-spacing: 0;  
}
  .entry-date abbr .day {
    display: block;  
  }
  
.entry-meta .n {
  text-transform: lowercase;
}  

.entry-utility {
  color: #000000;
  font-size: 11px;  
}
  .entry-utility a {
    font-style: normal;
    color: #666666;  
  }
  .entry-utility a:hover,
  .entry-utility a:active {
    color: #000000;
  }

/* Blog post
-------------------------------------------------------------- */
.navigation a:active,
.navigation a:hover {
  color: #000000;   
}

#nav-above, #nav-below {
  margin-top: 36px;
  margin-left: 118px;    
  width: 465px;
}

.paged #nav-above {
  padding: 0;
  margin-top: -41px; 
}

/* Comments
-------------------------------------------------------------- */
#comments,
.attachment-jpeg #comments, .attachment-png #comments {
  width: 465px;
  margin-left: 118px;
  overflow: visible;
}

#respond {
  background: none;
  overflow: visible;  
}

#comments, #comments input, #comments textarea {
  font-family: Helvetica, Arial,sans-serif;
}

.form-section input {
  border: 1px solid #000000;
  padding: 2px;
  
  font-size: 12px;
  line-height: 12px;
  
  width: 460px;  
}

.form-section textarea {  
  border: 1px solid #000000;
  padding: 5px 0;
  width: 464px;
}

#comments .unapproved {
  border: 1px solid black;
  display: block;
  margin-bottom: 10px;
  padding: 5px;
}

#comments-list ol {
  width: 464px;  
}

/* Link list (http://wordpress.org/extend/plugins/link-library/)
-------------------------------------------------------------- */
.linklist {}
  .linklist ul {
    margin: 0;  
  }
  .linklist ul li {
    list-style: none;
    margin-bottom: 98px;
  }
  /* Link notes */
  .linklist ul li div { 
    margin-top: 10px;
  }
  .linklist ul li img {
    max-width: 464px;
  }


/* Pages
-------------------------------------------------------------- */
.page-title {
  margin-top: -62px; /* To show above the grid */
}

.entry-content .endnote {
  border-top: 1px solid #999999;
  color: #666666;
  margin-top: 98px;
  padding-top: 25px;
  font-size: 12px;
  line-height: 15px;
}
  .entry-content .endnote a {
    color: #000000;  
  }

.slug-about .entry-title {
   display: none;   
}

/* Search
-------------------------------------------------------------- */
input#noresults-s {
  border: 1px solid #000000;
  margin-left: 118px;
}

/* Footer
-------------------------------------------------------------- */
#footer {
  font-family: Helvetica, Arial,sans-serif;
  border-top: none;  
}
  #footer a {
    color: #666666;
  }
  #footer a:active, 
  #footer a:hover {
    color: #000000;
  }

#footer #subsidiary {
  border-top: 1px solid #000000; 
  padding: 0; 
  
  position: relative;
  overflow: visible;  
}

#footer #subsidiary h3 a {
  color: #000000;  
}
  #footer #subsidiary h3 a:hover,
  #footer #subsidiary h3 a:active {
    color: #666666;  
  }

#footer #footer-links {
  padding: 22px 0 0;
  height: 107px;
  
  font-size: 12px;
  line-height: 15px;
}  
  #footer #footer-links a {
    color: #000000;
  }
    #footer #footer-links a:visited {
      color:#743399;
    }
    
#footer #first {
  width: 100%;
}
  #footer #first ul {
    margin-bottom: 0;
  }

#footer #second {
  margin-left: 118px;
  width: 100%;
  padding-bottom: 110px;
}

#footer #second h3 {
  border-bottom: 1px solid #000000;
  width: 274px;
}

#footer #second li {
  width: 250px;
  padding-right: 24px;
    
  padding-bottom: 7px;
  float: left;
}

#footer #siteinfo {
  padding: 0;  
}

#business-time-link {    
  font-size: 12px;
  line-height: 15px;
  color: #666666;
}  
  #business-time-link a {
    color: #000000;
  }
    #business-time-link a:visited {
      color:#743399;
    }

/* JS styles
-------------------------------------------------------------- */
.js .grid-handle {
  cursor: pointer;
}

.turn-on-grid #blog-description .grid-handle,
.show-grid-test #blog-description .grid-handle,
#blog-description .grid-handle:hover {
  color: #0090ff;
}

#blog-description .grid-handle:active,
#blog-description .grid-handle:active {
  color: #666666;
}

/* HACKS
-------------------------------------------------------------- */

/* Date fix up */
.safari .entry-date abbr .day {
  line-height: 20px;
}

.safari .entry-date abbr .month {
  line-height: 28px;
}  

/* Grid alignment fix up */
.chrome #header,
.chrome #main,
.chrome #footer {
  padding-left: 1px;  
}