/*
Theme Name: Lazy Photog
Theme URI: http://www.lazyphotog.com
Author: Photog
Author URI: http://www.lazyphotog.com
Description: Custom Theme for Lazy Photog
Version: 1.1
License: GNU General Public License
License URI: license.txt
Text Domain: lazyphotog
Domain Path: /languages/
Tags:
This theme, like WordPress, is licensed under the GPL.
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family:  'Roboto', 'Droid Serif', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 19px;
    vertical-align: baseline;
    color: #444;
}
html {
    font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
    font-size: 14px;
    margin: 0 auto;
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
    -webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
    -moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
    box-sizing:         border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    clear: both;
}

/* Text elements */
p {
    margin-bottom: 1.5em;
}
dfn, cite, em, i {
    font-style: italic;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

/* Links */
a {
    color: #4169E1;
}
a:visited {
    color: purple;
}
a:hover,
a:focus,
a:active {
    color: #191970;
}

h1 a, h2 a, h3 a, h4 a, h5 a {
    text-decoration: none;
}

/* Alignment */
.alignleft {
    float: left;
    margin-right: 1.5em;
}
.alignright {
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}

/* Clearing */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: '';
    display: table;
}

.clear:after,
.entry-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

.site-header {
    background-color: #eee;
}

.site-branding {
    margin: 1em 0 2em 0;
}

.site-title {
    text-align: center;
    padding: 1em 1em 0.2em 1em;
}

.site-title a {
    text-decoration: none;
    font-family: 'Quando','Droid Serif', sans-serif;
    font-size: 3em;
    font-variant: small-caps;
    font-weight: 800;
    color: #111;
}

.site-tagline {
    text-align: center;
    padding: 0.5em 1em 0.2em 1em;
    font-style: italic;
    font-size: 1.2em;
    font-weight: 600;
}

.site-content {
    max-width: 1920px;
    margin: 1em auto;
    background-color: #fff;
}

.entry-contentheader, .entry-header {
    padding: 3em 0 1em 0;    
}

.entry-title {
    font-family: 'Quando','Droid Serif', sans-serif;
    font-size: 1.75em;
    line-height: 1.45em;
}

.entry-title a {
    text-decoration: none;
    font-family: 'Quando','Droid Serif', sans-serif;
    color: #444;   
}

.entry-meta {
    text-transform: lowercase;
    padding-top: 1em;
    font-style: italic;
}

.wp-post-image, .entry-content img {
    padding: 0;
    border: solid 1px #A1A1A1;

    -moz-box-shadow: 0 0 5px #A1A1A1;
    -webkit-box-shadow: 0 0 5px #A1A1A1;
    box-shadow: 0 0 5px #A1A1A1;
    border-radius: 5px;
}

#prevpostlink {
    float: left;
    clear: both;
    margin: 0 1%;
}

#nextpostlink {
    float: right;
    clear: both;
    margin: 0 1%;
}

.site-footer {
    background-color: #eee;
    margin: 2em auto;
    padding: 2em;
}

.postlink {
    background: #fff;
    border-radius: 1.5em;
    color: #444;
    display: inline-block;
    padding: 1em 2em 1em 3em;
    margin: 1em;
    text-decoration: none;
    -webkit-transition: color .2s;
    -moz-transition: color .2s;
    -o-transition: color .2s;    
}

.postlink:hover {
    font-weight: 700;
}

.postlink a {
    text-decoration: none;
    color: #444;
    font-family: 'Quando','Droid Serif', sans-serif;
    font-style: italic;
    font-size: 1.4em;
}

.disclaimer {
    padding: 1.0em;
    font-weight: 500;
    font-style: italic;
    text-align: center;
}

#copyright {
    text-align: center;
}

@media screen and (max-width: 639px) {
    .entry-title, .entry-meta{
        margin: 0 10%;
    }
    .entry-content p {
        margin: 1.5em 10%;
    }    
}

@media screen and (min-width: 640px) and (max-width: 767px) {
    .entry-title, .entry-meta{
        margin: 0 15%;
    }
    .entry-content p {
        margin: 1.5em 15%;
    }
}
@media screen and (min-width: 768px) {
    .entry-title, .entry-meta{
        margin: 0 20%;
    }
    .entry-content p {
        margin: 1.5em 25%;
    }
}

.aff-slot-header {
    float: right;
    clear: none;
    display: block;
    margin: 1em;
    min-width: 120px;
    min-height: 90px;
}

.aff-slot {
    float: left;
    clear: both;
    min-height: 80px;
    width: 100%;
    padding: 2em 1em;
    text-align: center;
    margin: 0 auto;
}
.relatedposts {
    clear: both;
    min-height: 150px;
    /*width: 100%;*/
    padding: 2em 1em;
    text-align: center;
    /*margin: 0 auto;*/
}
.relatedthumb {margin: 0 1px 0 1px; display: inline-block}
.relatedthumb img {margin: 0 0 3px 0; padding: 0; display: inline-block}
.relatedthumb a {color :#333; text-decoration: none; display:inline-block; padding: 2px; width: 150px;}
.relatedthumb a:hover {color: #000;}
