/*
Theme Name: FrostNinja
Theme URI: http://liquidninja.com/
Description: AlexD's Custom WordPress theme.
Version: 2.0
Author: Alexander Davidson
Author URI: http://liquidnija.com/
Tags: liquidy, ninja-y

*/

#page { 
    background-color: rgb(198, 198, 198);
    background-color: rgba(198, 198, 198, 0.8);
    text-align: left;
    margin: 0 auto;
    padding: 0;
    width: 760px;
}

/* Begin Typography & Colors */
body {
    font-size: 72%; /* 62.5 Resets 1em to 10px */
    font-family: "HelveticaNeue", "Helvetica Neue", "HelveticaNeueRoman", "HelveticaNeue-Roman", "Helvetica Neue Roman", "Helvetica", "Arial", sans-serif; 
    font-weight:400;
    background-color: black;
    background-image: url('images/frostninja-bg-3.png');
    background-size: 189px 192px;
    color: #000;
    text-align: center;
}

#content {
    font-size: 1.2em
}

.widecolumn .entry p {
    font-size: 1.05em;
}

pre { 
    font-size:14px;
    background-color:#ddd;
    padding: 2px 5px; 
}

.narrowcolumn .entry, .widecolumn .entry {
    line-height: 1.4em;
}

.widecolumn {
    line-height: 1.6em;
}

.narrowcolumn .postmetadata {
    text-align: left;
    padding-left: 20px;
}

.thread-alt {
    background-color: #D8D8D8;
}
.thread-even {
    background-color: #D8D8D8;
}
.thread-odd {
    background-color: #C8C8C8;
}
.depth-1 {
    border: 1px solid #ddd;
}

.postmetadata {
    border-left: 1px solid #999;
}

.bypostauthor {
    background-color: #AFB8F7;
}

small {
	font-family: "HelveticaNeueLight", "HelveticaNeue-Light", "Helvetica Neue Light", "HelveticaNeue", "Helvetica Neue", "Helvetica", "Arial", sans-serif; 
	font-weight:300;
    font-size: 0.9em;
    line-height: 1.5em;
}

h1, h2, h3 {
    font-family: "HelveticaNeueMedium", "HelveticaNeue-Medium", "Helvetica Neue Medium", "HelveticaNeue", "Helvetica Neue", "Helvetica", "Arial", sans-serif; 
    font-weight:400; 
}

#header a.homelink img {
    margin-top: 74px;
}

#headersmall a.homelink img {
    margin-top: 54px;
    margin-right: 0px;
    width: 400px;
}

#headersmall .description {
    text-align: right;
    margin-top: -85px;
    margin-right: 40px;
}

#header .description {
    text-align: center;
    margin-top: 0px;
}

.byline {
    display: inline;
    font-size: 18px;
    text-align: left;
    color: #333;
    position: relative;
    cursor: default;
    font-family: "HelveticaNeueMedium", "HelveticaNeue-Medium", "Helvetica Neue Medium", "HelveticaNeue", "Helvetica Neue", "Helvetica", "Arial", sans-serif; 
	font-weight:500;
    text-shadow: #afafaf 1px 1px 1px;
    top: -25px;
}

h1, h2 {
    font-size: 1.6em;
}

h2.pagetitle {
    font-size: 1.6em;
}

.toplink:link, .toplink:visited, .toplink:hover, .toplink:active {
	font-size: 1.2em;
}

#sidebar h2 {
    font-size: 1.2em;
}

h3 {
    font-size: 1.3em;
}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
    color: #333;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
    color: #333;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
    text-decoration: none;
}

.commentlist li, #commentform input, #commentform textarea {
    font-size: 0.9em;
    font-family: "HelveticaNeueMedium", "HelveticaNeue-Medium", "Helvetica Neue Medium", "HelveticaNeue", "Helvetica Neue",  "Helvetica", "Arial", sans-serif; 
    font-weight:500;
}
.commentlist li ul li {
    font-size: 1em;
}

.commentlist li {
    font-weight: bold;
}

.commentlist li .avatar { 
    float: right;
    border: 1px solid #eee;
    padding: 2px;
    background: #fff;
}

.commentlist cite, .commentlist cite a {
    font-weight: bold;
    font-style: normal;
    font-size: 1.1em;
}

.commentlist p {
    font-weight: normal;
    line-height: 1.5em;
    text-transform: none;
}

.commentmetadata {
    font-weight: normal;
}

#sidebar {
    font-size: 1em;
    font-family: "HelveticaNeue", "Helvetica Neue", "HelveticaNeueRoman", "HelveticaNeue-Roman", "Helvetica Neue Roman", "Helvetica", "Arial", sans-serif; font-weight:400;
}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
    color: #555;
}

code {
    font: 1.1em "Menlo", 'Courier New', Courier, Fixed;
}

acronym, abbr, span.caps
{
    font-size: 0.9em;
    letter-spacing: .07em;
}

a, h2 a:hover, h3 a:hover {
    color: #02c;
    text-decoration: none;
}

.result a:link, .result a:visited, .result a:hover, .result a:active {
    color: #02c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#wp-calendar #prev a, #wp-calendar #next a {
    font-size: 9pt;
}

#wp-calendar a {
    text-decoration: none;
}

#wp-calendar caption {
    font-size: 1.3em;
    text-align: center;
}

#wp-calendar th {
    font-style: normal;
    text-transform: capitalize;
}
/* End Typography & Colors */



/* Begin Structure */
body {
    margin: 0 0 20px 0;
    padding: 0;
}

#header, #headersmall {
    background: rgb(198, 198, 198);
    background: rgba(198, 198, 198, 0.8);
    background: -webkit-gradient(linear, left top, left bottom,
          color-stop( 0.0, rgba(198, 197, 197, 0.200) ),
          color-stop( 1.0, rgba(198, 197, 197, 0.800) ));
    background: -webkit-linear-gradient(top,
          rgba(198, 197, 197, 0.200), 
          rgba(198, 197, 197, 0.800) );
    background: -moz-linear-gradient(top,
          rgba(198, 197, 197, 0.200), 
          rgba(198, 197, 197, 0.800) );
    background: -ms-linear-gradient(top,
          rgba(198, 197, 197, 0.200), 
          rgba(198, 197, 197, 0.800) );
    background: linear-gradient(top,
          rgba(198, 197, 197, 0.200), 
          rgba(198, 197, 197, 0.800) );
    
    -webkit-border-radius: 20px 20px 0px 0px;
    -moz-border-radius: 20px 20px 0px 0px;
    border-radius: 20px 20px 0px 0px;
}

#header, #headersmall {
    margin: 20px auto 0 auto;
    padding: 0;
    height: 250px;
    width: 760px;
}

#headersmall {
    height: 150px;
}

#headerimg, #headerimgsmall, .app_link a img, img.icon {
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

#headerimg {
    background: transparent url('images/frostninja-logo-big.png') no-repeat top center;
    background-size: 760px 298px;
    margin: 0;
    height: 230px;
    width: 100%;
    position: relative;
    top: -30px;
}

#headerimgsmall {
    background: transparent url('images/frostninja-logo-small.png') no-repeat top center;
    background-size: 560px 220px;
    margin: 0;
    padding: 0;
    height: 220px;
    width: 560px;
    position: relative;
    top: -30px;
}

.narrowcolumn {
    float: left;
    padding: 0 0 20px 45px;
    margin: 0px 0 0;
    width: 450px;
}

.widecolumn {
    padding: 10px 0 20px 0;
    margin: 0 0 0 150px;
    width: 450px;
}

.post {
    margin: 0 0 40px;
    text-align: justify;
}

.post hr {
    display: block;
}

.widecolumn .post {
    margin: 0;
}

.narrowcolumn .postmetadata {
    padding-top: 5px;
}

.widecolumn .postmetadata {
    margin: 30px 0;
}

.widecolumn .smallattachment {
    text-align: center;
    float: left;
    width: 128px;
    margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
    text-align: center;
    margin: 5px 0px;
}

.postmetadata {
    clear: both;
}

.clear {
    clear: both;
}

#pre-footer {
    width: 760px;
    clear: both;
}

#footer {
    background: rgb(198, 198, 198);
    background: rgba(198, 198, 198, 0.8);
    background: -webkit-gradient(linear, left top, left bottom,
          color-stop( 0.0, rgba(198, 197, 197, 0.800) ),
          color-stop( 1.0, rgba(198, 197, 197, 0.400) ));
    background: -webkit-linear-gradient(top,
              rgba(198, 197, 197, 0.800), 
              rgba(198, 197, 197, 0.400) );
    background: -moz-linear-gradient(top,
              rgba(198, 197, 197, 0.800), 
              rgba(198, 197, 197, 0.400) );
    background: -ms-linear-gradient(top,
              rgba(198, 197, 197, 0.800), 
              rgba(198, 197, 197, 0.400) );
    background: linear-gradient(top,
              rgba(198, 197, 197, 0.800), 
              rgba(198, 197, 197, 0.400) );

    -webkit-border-radius: 0 0 20px 20px;
    -moz-border-radius: 0 0 20px 20px;
    border-radius: 0 0 20px 20px;
    border: none;
    padding: 0;
    margin: 0 auto;
    width: 760px;
    clear: both;
}

#footer p, #footer a {
    margin: 0;
    padding: 20px 0;
    text-align: center;
    color: #222;
    font-family: "HelveticaNeueMedium", "HelveticaNeue-Medium", "Helvetica Neue Medium", "HelveticaNeue", "Helvetica Neue", "Helvetica", "Arial", sans-serif; 
    font-weight:500;
    font-size: 1.2em;
    text-shadow: #888 1px 1px 1px;
}
/* End Structure */



/*    Begin Headers */
h1 {
    margin: 30px 0 0;
}

h2 {
    margin: 30px 0 0;
}

h2.pagetitle {
    margin-top: 30px;
    text-align: center;
}

#sidebar h2 {
    margin: 5px 0 0;
    padding: 0;
}

h3 {
    padding: 0;
    margin: 30px 0 0;
}

h3.comments {
    padding: 0;
    margin: 40px auto 20px ;
}
/* End Headers */



/* Begin Images */
p img {
    padding: 0;
    max-width: 100%;
}

/*    Using 'class="alignright"' on an image will (who would've
    thought?!) align the image to the right. And using 'class="centered',
    will of course center the image. This is much better than using
    align="center", being much more futureproof (and valid) */

img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}

img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}

.alignright {
    float: right;
}

.alignleft {
    float: left
}
/* End Images */



.entry li {
    margin: 7px 0 8px 10px;
}

.entry ul {
    text-align: normal;
    list-style: normal;
    padding: 0 0 0 20px;
}

#sidebar ul ul li:before {
    content: "\00BB \0020";
}

.entry ol {
    padding: 0 0 0 35px;
    margin: 0;
}

.entry ol li {
    margin: 0;
    padding: 0;
}

.postmetadata ul, .postmetadata li {
    display: inline;
    list-style-type: none;
    list-style-image: none;
}

#sidebar ul, #sidebar ul ol {
    margin: 0;
    padding: 0;
}

#sidebar ul li {
    list-style-type: none;
    list-style-image: none;
    margin-bottom: 15px;
}

#sidebar ul p, #sidebar ul select {
    margin: 5px 0 8px;
}

#sidebar ul ul, #sidebar ul ol {
    margin: 5px 0 0 0;
}

#sidebar ul ul ul, #sidebar ul ol {
    margin: 0 0 0 10px;
}

ol li, #sidebar ul ol li {
    list-style: decimal outside;
}

#sidebar ul ul li, #sidebar ul ol li {
    margin: 3px 0 0;
    padding: 0;
}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
    margin: 10px auto;
    padding: 5px 3px 5px 0;
    text-align: left;
}

#sidebar #searchform #s {
    width: 150px;
    padding: 2px;
    padding-left: 20px;
    background-color: #ccc;
    color:#888;
    background-image: url(./images/magicon.png);
    background-size: 13px 13px;
    background-repeat: no-repeat;
    background-position: 4px 3px;
    border: 1px solid #666;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-box-shadow: inset 2px 2px 2px #bbb;
    box-shadow: inset 2px 2px 2px #bbb;
    -webkit-box-shadow: inset 2px 2px 2px #bbb;
}

#sidebar #searchform #s:focus, #sidebar #searchform #s:hover {
	background-color: #eee;
}

#sidebar #searchsubmit {
    padding: 1px;
    display: none;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
    text-align:center;
}

select {
    width: 130px;
}

#commentform input {
    width: 170px;
    padding: 2px;
    margin: 5px 5px 1px 0;
}

#commentform {
    margin: 5px 10px 0 0;
}
#commentform textarea {
    width: 100%;
    padding: 2px;
}
#respond:after {
        content: "."; 
        display: block; 
        height: 0; 
        clear: both; 
        visibility: hidden;
}
#commentform #submit {
    margin: 0 0 5px auto;
    float: right;
}
/* End Form Elements */



/* Begin Comments*/
.alt {
    margin: 0;
    padding: 10px;
}

.commentlist {
    padding: 0;
    text-align: justify;
}

.commentlist li {
    margin: 15px 0 10px;
    padding: 5px 5px 10px 10px;
    list-style: none;

}
.commentlist li ul li { 
    margin-right: -5px;
    margin-left: 10px;
}

.commentlist p {
    margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
    margin: 5px 0;
}

.nocomments {
    text-align: center;
    margin: 0;
    padding: 0;
}

.commentmetadata {
    margin: 0;
    display: block;
}
/* End Comments */



/* Begin Sidebar */
#sidebar {
    padding: 50px 0 10px 0;
    margin-left: 545px;
    width: 190px;
}

#sidebar form {
    margin: 0;
}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
    empty-cells: show;
    margin: 10px auto 0;
    width: 155px;
}

#wp-calendar #next a {
    padding-right: 10px;
    text-align: right;
}

#wp-calendar #prev a {
    padding-left: 10px;
    text-align: left;
}

#wp-calendar a {
    display: block;
}

#wp-calendar caption {
    text-align: center;
    width: 100%;
}

#wp-calendar td {
    padding: 3px 0;
    text-align: center;
}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
    background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
    cursor: help;
}

acronym, abbr {
    border-bottom: 1px dashed #999;
}

blockquote {
    margin: 15px 30px 0 10px;
    padding-left: 20px;
    border-left: 5px solid #ddd;
}

blockquote cite {
    margin: 5px 0 0;
    display: block;
}

.center {
    text-align: center;
}

.hidden {
    display: none;
}

hr {
    display: none;
}

a img {
    border: none;
}

.navigation {
    display: block;
    text-align: left;
    margin-top: 10px;
}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    border: 1px solid #bbb;
    text-align: center;
    background-color: #d3d3d3;
    padding-top: 4px;
    margin: 10px;
    -moz-border-radius: 6px;
    -khtml-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    position: relative;
}

#img-link-overlay {
    -moz-border-radius: 6px;
    -khtml-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    position: absolute;
    padding-bottom:2px; 0;
    width:100%;
    background:black;
    color:white;
    font-size:14pt;
    font-weight:bold;
    top:0;    
    opacity:0.7;
}

.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;
}
/* End captions */

/* hide smiley */
img#wpstats {
    width:0px;
    height:0px;
    overflow:hidden;
}

form {
    margin:0;
    padding:0;
}

img.icon {
    vertical-align: text-bottom;
}

.speech-arrow {
    margin: 0 auto;
    padding-right:100px;
    display: block;
    width: 31px;
    height: 14px;
    background: transparent url('./images/speech-arrow.png') no-repeat;
    background-size: 31px 14px;
}

.speech-arrow-right {
    margin-right:110px;
}

.tweet {
    width: 500px;
    margin: 0 auto;
    background-color: #CCC;
    line-height: 170%;
    text-align:left;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 6px 15px;
}

/* for twitter wordpress plugin */

span.twitter-timestamp {
    color: #444;
}

a.twitter-link span {
    margin-left: 8px;
    color: #009ead;
}

/* for twitter ajax API */

#twitter_update_list {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
    display: inline;
}

#twitter_update_list li {
    display: inline;
}

.twitter-icon {
	background: transparent url(./images/twitter-icon-dark.png) no-repeat;
	width: 19px;
	height: 19px;
    background-size: 19px 19px;
	display: inline-block;
	vertical-align: text-bottom;
}

/* hide "search for" text */
.screen-reader-text {
    display:none;
}

/* tumblr sidebar plugin */
#sidebar ul ul .tumblr_post:before {
    content: "";
}

.tumblr_post.photo p {
    text-align: left;
}

.tumblr_post pre {
    overflow-x: hidden;
}

.tumblr_post blockquote {
    border-left: 3px solid #999;
    padding-left: 10px;
    margin: 15px 30px 10px 10px;
}

.tumblr_post {
    border-bottom: 1px solid #a0a0a0;
    margin-bottom: 10px;
    padding-bottom: 10px;
    overflow-x: hidden;
}

.tumblr_link:before {
    color: #666666;
    content:"Posted: ";
}

.tumblr_post a {
    color: #558;
}

.tumblr_post h3 {
    margin: 0;
    font-size: 10pt;
}

.Tumblr h2 {
    margin-top: 20px;
    margin-bottom: 16px;
}

.quote.tumblr_post blockquote:before {
    content: "\201C";
    font-size: 15pt;
    font-family: Georgia,serif;
    margin-left: -0.25em;
}

.tumblr_post.photo {
    text-align: center;
    padding-top: 10px !important;
}

.app_links {
    margin-bottom:40px;
}

.app_bar {
	width: 88px;
	height: 31px;
	display: inline-block;
    background-size: 88px 31px;
    background-repeat: no-repeat;
}

.metapad_bar {
   	background-image: url(./images/metapad_dark.gif);
}

.minipad_bar {
   	background-image: url(./images/minipad_bar.png);
}

.app_bar:hover {
    text-decoration: none;
}

/* RETINA GRAPHICS */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
			only screen and (-o-min-device-pixel-ratio: 3/2),
			only screen and (min--moz-device-pixel-ratio: 1.5),
			only screen and (min-device-pixel-ratio: 1.5) {

	body {
    	background-image: url(./images/frostninja-bg-3@2x.png);
    }
    #headerimg {
    	background-image: url(./images/frostninja-logo-big@2x.png);
    }
    #headerimgsmall {
    	background-image: url(./images/frostninja-logo-small@2x.png);
    }
    #sidebar #searchform #s {
    	background-image: url(./images/magicon@2x.png);
    }
	.speech-arrow {
	    background-image: url(./images/speech-arrow@2x.png);
	}
	.twitter-icon {
		background-image: url(./images/twitter-icon-dark@2x.png);
	}
	.metapad_bar {
	   	background-image: url(./images/metapad_dark@2x.gif);
	}
	.minipad_bar {
	   	background-image: url(./images/minipad_bar@2x.png);
	}
}

/* Mobile optimizations */
@media only screen and (max-device-width: 480px) {
    body {
        font-size: 24px; 
    }
    .byline {
        font-size: 30px;
    }
    #page, #pre-footer, #footer, #header, #headersmall {
        width: 95%;
    }
    .tweet {
        width: 90%;
    }
    img.icon, .twitter-icon {
        display: none;
    }
    .narrowcolumn, .widecolumn {
        width: 90%;
        margin: 0 auto;
    }
    #sidebar {
        margin: 0 auto;
        width: 90%;
        border-top: 3px solid #ccc;
        clear:both;
        padding: 10px;
    }
    #sidebar #searchform #s {
        margin-top: 24px;
        font-size: 30px;
        padding: 3px 10px;
        background-image:none;
        width: 300px;
        float:right;
    }
    .entry ol {
        padding: 0 0 0 50px;
    }
    .entry ol li {
        margin-left: 20px;
    }
    .tumblr_post {
        float: left;
        width: 50%;
        display:block;
    }
    .categories {
        clear:both;
    }
    .metapad_link {
        display:none;
    }
    .pbadge {
        width: auto;
        height: 50px;
        margin-top: 0;
        margin-left: 4px;
        padding: 14px;
    }
}

