/*
BASED ON (with HEAVY modification throughout)
   Theme Name: itadvance
   Theme URI: http://www.makequick.com
   Version: 1.0
   Description: 2 Column theme
   Author: Make Quick
   Author URI: http://www.makequick.com
*/

/* Links */

a:link { text-decoration: none; color: #AAD0D0; }

a:visited { text-decoration: none; color: #AAD0D0; }

a:hover, a:active { color: #93BFBF; }

/* Headings */

h1, h2, h3, h4, h5, h6
{
   font-weight: normal;
   margin: 20px 0 10px;
}

h1 { font-size: 24px; margin-bottom: 0px; margin-top: 10px;}

h2 { font-size: 22px; }

h3 { font-size: 20px; }

h4 { font-size: 18px; }

h5 { font-size: 16px; }

h6 { font-size: 14px; }

/* Other HTML Elements */

.titles
{
   font-weight: normal;
   border-bottom-width: 0;
   font-size: 24px;
   text-decoration: none;
}

.titles a:link, .titles a:visited, .titles a:active {
   text-decoration: none;
   font-size: 24px;
   font-weight: normal;
   border-bottom-width: 0;
}

pre, blockquote
{
   overflow: auto;
   padding: 0 10px;
   margin: 20px 30px;
   line-height: 1.8em;
   background-color: #465757;
   border: 1px solid #314343;
}

pre:hover, blockquote:hover
{
   background-color: #f0f0f0;
   border: 1px solid #d0d0d0;
}

pre { padding-top: 10px; padding-bottom: 10px; }

code { color: #779900; font-family: Consolas, Verdana, "Courier New", Sans-Serif; }

ul, ol { line-height: 2.0em; }

ul { list-style-image: url(../../images/bullet.png); }

abbr, acronym { font-style: normal; border-bottom: 1px dotted #333333; cursor: help; }

del { text-decoration: line-through; color: #999999; }

ins { text-decoration: none; color: #009977; }

/* Structure */

body
{
   margin: 0;
   padding: 0;
   color: #222222;
   background-image: url(../../images/bg.png);
   background-repeat: repeat-x;
   background-color: #112B2B;
   font: normal 90% Verdana, "Trebuchet MS", "Lucida Grande", Georgia, Sans-Serif;
}

#pagewrapper {
width: 1000px;
margin: 0 auto auto auto;
}

#header
{
   float: left;
   width: 100%;
   padding-bottom: 4px;
   background: #3C4E4E url(../../images/header-bg.png);
   clear: right;
   height: 59px;
   margin-top: 15px;
}

.slogan {
font-size: 13px;
color: #BECDCD;
/text-transform: lowercase;
margin-left: 20px;
margin-bottom: 2px;
float: left;
}

.icons {
float: right;
margin-right: 30px;
margin-top: -20px;
}

#navigation
{
   clear: both;
   float: left;
   width: 100%;
   background-image: url(../../images/header.jpg);
   height: 212px;
}

#wrapper
{
   clear: both;
   float: left;
   width: 100%;
   color: #BECDCD;
   background: #3C4E4E;
}

#content-wrapper
{
   width: 70%;
   float: left;
}

#content
{
   float: left;
   padding: 0 0px 10px 30px;
}

#sidebar-wrapper
{
   width: 30%;
   float: right;
}

#sidebar
{
   float: right;
   padding: 0px 15px 0px 10px;
   width: 213px;
   background-image: url(../../images/sidebar-bg.png);;
   margin-right: 13px;
   margin-top: 7px;
}

#footer
{
   clear: both;
   float: left;
   width: 980px;
   text-align: left;
   padding-left: 20px;
   background: #3C4E4E;
   background-image: url(../../images/footer-bg.png);
   margin-bottom: 15px;
   color: #BECDCD;
   height: 36px;
   padding-top: 10px;
}

#footer a:link, #footer a:hover, #footer a:active, #footer a:visited {
color: #BECDCD;
}

#extras
{
   float: left;
   width: 1000px;
   color: #444444;
   text-align: left;
   padding: 0 10px 10px;
   margin: 10px 12px 20px;
   background-color: #f5f5f5;
   border-top: 1px solid #e0e0e0;
   border-bottom: 1px solid #e0e0e0;
}

/* Header */

#header h1 { padding: 0 0 0 20px; }

#header h1 a:link, #header a:active {
color: #AAD0D0;
font-size: 20px;
/* text-transform: lowercase; */
}

#header h1 a:hover {
color: #8EBABA;
font-size: 20px;
/* text-transform: lowercase; */
}

#header h1 a:active {
color: #8EBABA;
font-size: 20px;
/* text-transform: lowercase; */
}

#header h1 a:visited {
color: #8EBABA;
font-size: 20px;
/* text-transform: lowercase; */
}

/* Navigation */

/* Main menu */

#menu
{
   width: 700px;
   margin: 0;
   padding: 0;
   list-style: none;
   background: #2d3e3e;
   background: -moz-linear-gradient(#3c4e4e, #2d3e3e);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #2d3e3e),color-stop(1, #3c4e4e));
   background: -webkit-linear-gradient(#3c4e4e, #2d3e3e);
   background: -o-linear-gradient(#3c4e4e, #2d3e3e);
   background: -ms-linear-gradient(#3c4e4e, #2d3e3e);
   background: linear-gradient(#3c4e4e, #2d3e3e);
/*   -moz-border-radius: 50px;
   border-radius: 50px; */
   -moz-box-shadow: 0 2px 1px #4f6363;
   -webkit-box-shadow: 0 2px 1px #4f6363;
   box-shadow: 0 2px 1px #4f6363;
}

#menu li
{
   float: left;
   padding: 0;
   position: relative;
   line-height: 0;
   border-right: 2px solid #131f1f;
}

#menu a
{
   float: left;
   height: 23px;
   padding: 0 23px;
   color: #8CA5A5;
/*   text-transform: uppercase; */
   font: bold 12px/25px Arial, Helvetica;
   text-decoration: none;
   text-shadow: 0 1px 0 #000;
}

#menu li:hover > a
{
   color: #fafafa;
}

#menu li:hover > ul
{
   display: block;
}

/* Sub-menu */

#menu ul
{
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 99999;
    background: #3c4e4e;
    background: -moz-linear-gradient(#3c4e4e, #2d3e3e);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #2d3e3e),color-stop(1, #3c4e4e));
    background: -webkit-linear-gradient(#3c4e4e, #2d3e3e);
    background: -o-linear-gradient(#3c4e4e, #2d3e3e);
    background: -ms-linear-gradient(#3c4e4e, #2d3e3e);
    background: linear-gradient(#3c4e4e, #2d3e3e);
    -moz-box-shadow: 0 0 2px rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
    box-shadow: 0 0 2px rgba(255,255,255,.5);
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#menu ul ul
{
  top: 0;
  left: 200px;
}

#menu ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menu ul li:last-child
{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#menu ul a
{
   padding: 8px;
   height: 10px;
   width: 200px;
   height: auto;
   line-height: 1;
   display: block;
   white-space: nowrap;
   float: none;
   text-transform: none;
}

*:first-child+html #menu ul a /* IE7 */
{
   height: 10px;
}

#menu ul a:hover
{
   color: #fafafa;
}

#menu ul li:first-child > a
{
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#menu ul li:first-child > a:after
{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #3c4e4e;
}

#menu ul ul li:first-child a:after
{
    left: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 0;
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 8px solid #3c4e4e;
}

#menu ul li:first-child a:hover:after
{
    border-bottom-color: #93bfbf;
}

#menu ul ul li:first-child a:hover:after
{
    border-right-color: #93bfbf;
    border-bottom-color: transparent;
}


#menu ul li:last-child > a
{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after
{
   visibility: hidden;
   display: block;
   font-size: 0;
   content: " ";
   clear: both;
   height: 0;
}

*:first-child+html #menu { zoom: 1; } /* IE7 */


/* Wrapper */

#wrapper a:link { font-weight: bold; }

#wrapper a:visited { font-weight: bold; }

#wrapper a:hover, #wrapper a:active { }

/* Content */

#content .post-title a { border-bottom-width: 0; }

#content .post p.img { float: left; margin: 0 15px 0 0; }

#content .post p.img img { padding: 8px; border: 1px solid #d0d0d0; background-color: #eeeeee; }

#content .post-footer
{
   font-size: 90%;
   color: #677F7F;
   margin-bottom: 5px;
   padding:5px 5px 5px 15px;
   background-color: #394B4B;
   border: 1px solid #2E3F3F;
}

.post {
padding-left: 10px;
padding-right: 10px;
}

.post-wrapper {
background-image: url(../../images/post-bg.png);
background-repeat: no-repeat;
width: 476px;
padding: 10px;
margin-left: -15px;
margin-right: 10px;
}

.post-pagewrapper {
width: 476px;
padding: 10px;
margin-left: -15px;
margin-right: 10px;
}


/* Sidebar */

.sideblock
{
   padding: 5px 10px;
   margin-bottom: 20px;
}

.sideblock ul
{
      margin-left: -13px;
}

.sideblock h3
{
   margin-top: 5px;
   margin-left: -13px;
   font-size: 14px;
   display: block;
   background-image: url(../../images/h2-bg.png);
   background-repeat: no-repeat;
   width: 210px;
   padding-left: 10px;
   line-height: 30px;
   margin-bottom: 0px;
   margin-right: 0px;
   color: #BECDCD;
}

#sidebar ul { margin: 0 0 0 -20px; padding-top: 5px; font-weight: bold; color: #666666; }

#sidebar li { margin: 0 0 5px; padding-bottom: 5px; line-height: 120%; }

#sidebar li a:link { border-bottom-width: 0; font-weight: normal;  border-bottom: none; text-decoration: none;}

#sidebar li a:visited { border-bottom-width: 0; font-weight: normal; border-bottom: none; text-decoration: none; }

#sidebar li a:hover, #sidebar li a:active { border-bottom: none; text-decoration: none; color: #fafafa; }


/* Extras */

#extras h6 { font-size: 14px; text-transform: uppercase; color: #BECDCD; }

#friends
{
   float: left;
   width: 150px;
   margin-left: 20px;
   margin-right: 10px;
}

#links
{
   float: left;
   width: 275px;
   margin-right: 50px;
}

#about
{
   float: left;
   width: 250px;
   margin-right: 20px;
}

#friends ul { padding-left: 20px; }

#links dl, #links dt, #links dd { margin: 0; padding: 0; }

#links dt { font-weight: bold; padding-top: 5px; }

#links dd { margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px dotted #999999; }


   /* Comments Styling */

#commentlist li {
margin-bottom: 1.5em;
padding-bottom: 1em;
border-bottom: 1px solid #700000;
}

#commentform {
margin: 1em 0;
background: #3C4E4E;
width: 280px;
}

#commentform textarea {
background: #485959;
border: 1px solid #2D3F3F;
width: 280px;
}

#commentform textarea:hover {
background: #324444;
border: 1px solid #2D3F3F;
}

#commentform textarea:focus {
background: #3C4E4E;
border: 1px solid #2D3F3F;
}

#commentform #email, #commentform #author, #commentform #url {
font-size: 1.1em;
background: #3C4E4E;
border: 1px solid #2D3F3F;
width: 280px;
}

#commentform #email:hover, #commentform #author:hover, #commentform #url:hover {
font-size: 1.1em;
background: #3C4E4E;
border: 1px solid #2D3F3F;
width: 280px;
}

#commentform #email:focus, #commentform #author:focus, #commentform #url:focus {
font-size: 1.1em;
background: #3C4E4E;
border: 1px solid #2D3F3F;
width: 280px;
}

#commentform input{
margin-bottom: 3px;
}

.recentcomments a
{
   display:    inline !important;
   padding:    0 !important;
   margin:     0 !important;
}

.date {
   height: 54px;
   margin-bottom: 5px;
   width: 54px;
   text-align: center;
   float: left;
   margin-top: 10px;
   margin-left: 10px;
}

.date .month {
   display: block;
   color: #D9DBDB;
   padding: 2px 0px;
   text-align: center;
   text-transform: uppercase;
   font-size: 10px;
   font-weight: bold;
}

.date .day {
   display: block;
   color: #FFBD0C;
   font: 2.3em Georgia;
   padding-top: 0px;
   text-align: center;
   margin-top: -5px;
}

#left {
   width: 60px;
   float: left;
}

.citation
{
   font-size:     11px;
   margin-left:   2em;
}

.citation a:link, .citation a:visited, .citation a:hover, .citation a:active
{
   font-size:        11px;
   color:            #FAFAFA;
   font-weight:      normal !important;
   text-decoration:  none !important;
}

.citation a:hover
{
   color:            #CCCCCC !important;
}

.pind
{
   text-indent:      1em;
   text-align:       justify;
}

.imgright
{
   float:            right;
   margin-left:      10px;
   margin-right:     0px;
   margin-bottom:    4px;
   margin-top:       4px;
}

.imgleft
{
   float:            left;
   margin-left:      0px;
   margin-right:     10px;
   margin-bottom:    4px;
   margin-top:       4px;
}
