/*
 Theme Name: Deep Blue
 Theme URI: http://www.sramekdesign.com/wordpress/themes/deep-blue
 Description: 
 Author: Tom Sramek
 Author URI: http://sramekdesign.com
 */

@import url(css/reset.css); 
@import url(css/comments.css);
@import url(css/calendar.css);
@import url(css/quoteform.css);

/*====================================================================================================
 * G L O B A L                                                                             G L O B A L  
 =====================================================================================================*/

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size: 100.01%; }
body { 
	  font-size: 75%;
	  color: #222; 
	  background: url(images/bg.png) repeat-x #EFF3F4;
	  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;	  
}
body#home { background: url(images/bg-home.png) repeat-x #EEF3F3; }

/* Links
-------------------------------------------------------------- */

a,
a:link,
a:visited   { color: #00CCFF ; text-decoration: none; }
a:hover,
a:active,
a:focus     { color: Red; outline:none; /*deletes dotted outline border*/ }
a img       { border: none; /*resets the amazing border*/ } 
a.rounded   { position: relative; padding: 2px 4px; margin: 20px 10px 0 0; border: 2px solid #008000; background: #9FC522; color: #DCFAFF; font-weight: bold;
                -moz-border-radius: 4px;
                -webkit-border-radius: 4px;
                -opera-border-radius: 4px;
                -khtml-border-radius: 4px;
                border-radius: 4px;
            } 
a.rounded:hover { border: 2px solid #DCFAFF; background: #9FC522; color: #008000;  }
/* Alignment
-------------------------------------------------------------- */

.aligncenter,
div.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft      { float: left;  }
.alignright     { float: right; }

/* Headings
-------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

/* Misc
-------------------------------------------------------------- */

div.no-bg           { background: none; background-image: none !important; } /*get rid off a background*/

/*====================================================================================================
 * S T R U C T U R E                                                                 S T R U C T U R E
 ====================================================================================================*/

#container      { position: relative; width: 960px; margin: 0 auto; text-align: left; }
#header         { position: relative; width: 960px; height: 185px; }
/*wraps content and sidebar - important when using more than 2 columns*/
#wrapper        { position: relative; float: left; width: 100%; height: auto; margin: 1px 0 0 0; background: url(images/bg-wrapper.png) repeat-y; }
/*wraps posts*/
#content        { position: relative; float: left; width: 570px; height: auto; margin: 0 0 0 25px; }
/*wraps a post*/
.post-content   { position: relative; width: auto; height: auto; margin: 10px 0 10px 0; background: url(images/bg-post.jpg) repeat-x top #fff; border: 1px solid #f5f5f5; }
#sidebar        { position: relative; float: right; width: 360px; min-height: 600px; margin-top: -150px; padding: 50px 0px 20px 0px; background: url(images/sidebar-top.png) no-repeat top; z-index: 999; }
#footer-wrapper { position: relative; width: 100%; height: 375px; background: url(images/footer.jpg) repeat-x; clear: both; }
#footer         { position: relative; width: 960px; height: 375px; margin: 0 auto 0 auto; }


/*====================================================================================================
 * H E A D E R                                                                             H E A D E R
 ====================================================================================================*/

#header .logo                    { position: absolute; width: 400px; height: 75px; line-height: 75px; top: 5px; left: 25px; z-index: 999; }
#header .logo h1 { font-size: 3.2em; }
#header img.lightspot-top        { position: absolute; width: 491px; height: 85px; top: 0px; left: 0px; }
#header img.lightspot            { position: absolute; width: 457px; height: 188px; top: 85px; left: 0px; }  

#header #top-menu { position: absolute; width: auto; height: auto; top: 10px; right: 25px; z-index: 9999; }

#header .ad-468x60 { position: absolute; width: 468px; height: 60px; top: 105px; left: 25px; }

/*====================================================================================================
 * S I D E B A R                                                                         S I D E B A R
 ====================================================================================================*/
#sidebar img.sidebar-top { position: absolute; width: 360px; height: 651px; top: 0px; left: 0px; }

/*Sidebar - widget
-------------------------------------------------------------- */

.widget            { position: relative; width: 316px; margin: 10px auto 10px auto; padding: 0 0 0 0px; background: none; color: #344B07; }
.widget a,
.widget a:link,
.widget a:visited  { color: #344B07; text-decoration: none; }
.widget a:hover,
.widget a:active  { color: #0080c0; }
.widget ul         { list-style: none; padding: 0 35px 0 35px; }
.widget ul ul      { margin: 0 0 0 10px; padding: 0 0 0 0px; }
h2.widgettitle     { width: 316px; height: 38px; line-height: 34px; font-size: 1.4em; font-weight: bold; background: url(images/widget-h4.png) no-repeat; text-align:center; text-transform: uppercase; }

#header .logo .widget { margin: 0 0 0 0; }
#header .logo .widget .textwidget { width: 400px; }

/*Sidebar - search form
-------------------------------------------------------------- */

#searchform        { position: relative; display: block; width: 259px; height: 30px; margin: 15px auto 20px auto; line-height: 30px; background: url(images/search.png) no-repeat; }
#searchform #searchfield { float: left; width: 160px; height: 23px; margin: 0px 0 0 0px; padding: 4px 5px 0 5px; border: none; background: none; color: gray; }
#searchform #searchsubmit { float: right; width: 89px; height: 32px/* #searchfield height +2px */; margin: 0px 0px 0 0px; border: none; background: none; cursor: pointer; }

/*====================================================================================================
 * F O O T E R                                                                             F O O T E R
 ====================================================================================================*/

#footer .lightspot-footer  { position: absolute; width:515px; height: 200px; top: 0px; right: 250px; }
#footer img.sidebar-bottom { position: absolute; width: 350px; height:60px; top: 0px; right: 6px; }
#footer img.sidebar-bottom-home { position: absolute; width: 452px; height:35px; top: 0px; right: 29px; }

/*Footer - widget
-------------------------------------------------------------- */

.footer-widgets {  width: 960px; height: auto; margin: 0px auto 0 auto; padding: 20px 0 0 0; list-style: none; clear: both; }

.footer-widgets .wrap-fw { float: left; width: auto; height: 260px; padding: 20px 0 0px 0; background: url(images/separator-footer.png) no-repeat left; }

.widget-footer            { position: relative; width: 260px; margin: 10px 30px 10px 30px; padding: 0 0 0 0px; background: none; color: #ffffff; }
.widget-footer a,
.widget-footer a:link,
.widget-footer a:visited  { color: #ffffff; text-decoration: none; }
.widget-footer a:hover,
.widget-footer a:active  { color: #0080ff; }
.widget-footer ul         { list-style: none; padding: 0 10px 0 10px; }
.widget-footer ul li      { clear: both; }
.widget-footer ul ul      { margin: 0 0 0 10px; padding: 0 0 0 0px; }
h2.widgettitle-footer     { width: auto; height: 38px; line-height: 34px; font-family: Georgia; font-size: 1.6em; font-weight: bold; text-align: left; text-transform: uppercase; }

p.credits { position: relative; top: 40px; line-height: 30px; color: #C0C0C0; }
p.credits a { color: #C0C0C0; }

/*====================================================================================================
 * P O S T   C O N T E N T                                                     P O S T   C O N T E N T
 ====================================================================================================*/
.post-content               { padding: 10px 10px 10px 10px; }
h1.permalink                { font-size: 3em; line-height: 1; }
h1.permalink a              { color: #004080; text-decoration: none; }
h3#search                   { margin: 10px 0 0 0; font-size: 2.0em; }
.postmetadata               { padding: 0px 0 0px 0; }
.entry { font-size: 1.0em; line-height: 1.6em; /*post itself without permalink*/ }

/* Post content - headings
-------------------------------------------------------------- */

.entry h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
.entry h2 { font-size: 2em; margin-bottom: 0.75em; }
.entry h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
.entry h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
.entry h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
.entry h6 { font-size: 1em; font-weight: bold; }


/* Post content - text elements
-------------------------------------------------------------- */

.entry p           { margin: 1em 0 1em 0; }
.entry p img.alignleft  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
.entry p img.alignright { float: right; margin: 1.5em 0 1.5em 1.5em; }
.entry img{ max-width:100%; /*..because some images are too wide*/}


.entry blockquote          { margin: 1.5em; color: #666; font-style: italic; }
.entry strong              { font-weight: bold; }
.entry em, .entry dfn      { font-style: italic; }
.entry dfn                 { font-weight: bold; }
.entry sup, .entry sub     { line-height: 0; }

.entry abbr, 
.entry acronym     { border-bottom: 1px dotted #666; }
.entry address     { margin: 0 0 1.5em; font-style: italic; }
.entry del         { color: #666; }

.entry pre 				{ margin: 1.5em 0; white-space: pre; }
.entry pre, .entry code, .entry tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }

/* Post content - lists
-------------------------------------------------------------- */

.entry li ul, 
.entry li ol       { margin: 0 1.5em; }
.entry ul,
.entry ol          { margin: 0 1.5em 1.5em 1.5em; }

.entry ul          { list-style-type: disc; }
.entry ol          { list-style-type: decimal; }

.entry dl          { margin: 0 0 1.5em 0; }
.entry dl dt       { font-weight: bold; }
.entry dd          { margin-left: 1.5em;}

/* Post content - tables
-------------------------------------------------------------- */

.entry table       { margin-bottom: 1.4em; width:100%; }
.entry th          { font-weight: bold; }
.entry thead th    { background: #c3d9ff; }
.entry th,
.entry td,
.entry caption     { padding: 4px 10px 4px 5px; }
.entry tr.even td  { background: #e5ecf9; }
.entry tfoot       { font-style: italic; }
.entry caption     { background: #eee; }

/* Post content - WP-captions - post content (optional rounded corners for browsers that support it)
-------------------------------------------------------------- */

.wp-caption        { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
.wp-caption img    { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }

/* Post content - page navigation
-------------------------------------------------------------- */
.navigation           { line-height: 30px; }
.navigation .next     { float: left; max-width: 50%; }
.navigation .previous { float: right; max-width: 50%; }

/* Post content - thumbnail
-------------------------------------------------------------- */
.thumbnail img { float: left; width: 150px; height: 150px; margin: 0 20px 10px 0; }


/*====================================================================================================
 * H A C K S                                                                                 H A C K S 
 ====================================================================================================*/

/* clearfix 
-------------------------------------------------------------- */

.clear:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clear { min-width: 0; display: inline-block; /* \*/ display: block; }
* html .clear { /* \*/ height: 1%; }

