/*
Theme Name: Photo NZ Clean
Theme URI: http://wordpress.org/
Description: 
Version: 0.1
Author: AlexT
Author URI: http://www.fotonewzealand.co.nz/
Tags: 

*/



/* Begin Typography & Colors */
body {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
    line-height: 1.6;
    color: #000;
    background-color: #64696c;
}

#layouttop {
    background-color: #000;
    height: 36px;
}

#gsearchbox {
    line-height: 1;
    float: right;
    padding: 6px 20px 0 0;
}

.searchbtn {
    border: 1px solid #fff;
}

form {
    margin: 0;
    padding: 0;
}


#layouttop h1 {
    margin: 0;
    line-height: 1;
    font-size: 16px;
    font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    padding: 10px 0 10px 20px;
    letter-spacing: 4px;
    color: #fff;
    float: left;
}

    #layouttop h1 a {
        color: #fff;
        text-decoration: none;
    }


#page {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 0 25px 0;
    min-height: 500px;
    background-color: #fff;
}

#header {
    height: 100px;
}

#navbar {
    background-color: #ddd;
    height: 34px;
    clear: both;
    border-top: 1px solid #64696c;
    position: relative;
}

    #navbar a, #navbar a:hover {
        color: #000;
        text-decoration: none;
    }

#nzmainnav {
    margin: 0;
    padding: 0;
}

    #nzmainnav li {
        display: inline;
    }

        #nzmainnav li a {
            display: block;
            line-height: 32px;
            padding: 1px 20px;
            float: left;
            border-right: 1px dotted #fff;
        }

            #nzmainnav li a:hover, #nzmainnav li.navon a:hover {
                color: #000;
                background-color: #eee;
                padding: 1px 20px;
            }

        #nzmainnav li.navon a {
            color: #000;
            background-color: #fff;
            padding: 1px 20px;
        }

#content.narrowcolumn {
    width: 650px;
    padding: 0 10px 0 21px;
    float: left;
    background-color: #fff;
    /* border-right: 1px dotted #ccc; */
}

#sidebar {
    width: 275px;
    padding: 15px 8px 10px 15px;
    float: left;
    min-height: 500px;
    background-color: #fff;
}

.langlink {
    float: right;
    padding: 0 15px;
    line-height: 34px;
    font-size: 11px;
}

    .langlink:hover {
        background-color: #eee;
    }

#themelinks {
    font-size: 11px;
    line-height: 34px;
    position: absolute;
    top: 0;
    right: 120px;
}

    #themelinks a {
        padding: 2px 5px;
        margin-right: 2px;
    }

        #themelinks a:hover {
            background-color: #eee;
        }

.clear {
    clear: both;
}


a {
    color: #0869c4;
}

    a:visited {
        color: #5e7edc;
    }

    a:hover {
        color: #0b5df4;
    }

h1, h2, h3 {
    font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

h4, h5, h6 {
    margin-bottom: 0;
}

.post {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 25px;
    background-color: #fff;
}

    .post h2 {
        font-size: 22px;
        margin: 20px 0 0 0;
    }


        .post h2 a {
            color: #333;
            text-decoration: none;
            border-bottom: 1px dashed #333;
        }

            .post h2 a:hover {
                color: #0869c4;
                border-bottom: 1px dashed #0869c4;
            }

/* Begin Images  */
/*	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;
}

#content img {
    border-width: 0;
}
/* End Images */



.navigation .alignleft a {
    padding-left: 22px;
    display: block;
    background: transparent url(images/ico_left.gif) top left no-repeat;
}

.navigation .alignright a {
    padding-right: 22px;
    display: block;
    background: transparent url(images/ico_right.gif) top right no-repeat;
}

/* Comments */

h3#comments {
    font-size: 18px;
}

h3#respond {
    font-size: 18px;
}

.alt {
    background-color: #f8f8f8;
}

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

#commentform textarea {
    width: 100%;
    padding: 2px;
}

#commentform #submit {
    margin: 0;
    float: right;
}

.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .commentlist li {
        padding: 15px 0 0 30px;
        margin-bottom: 2px;
    }

.commentname {
    font-weight: bold;
    font-size: 12px;
}


.commentmetadata a {
    text-decoration: none;
}

.commentauthor, .commentuser {
    border-bottom: 1px solid #fff;
    overflow: auto;
}
/* End Comments */




.post .comments {
    background: transparent url(images/comments.gif) 0 0 no-repeat;
    padding-left: 22px;
    height: 16px;
    line-height: 16px;
}

#layoutbottom {
    width: 980px;
    margin: 0 auto;
    position: relative;
}

    #layoutbottom a {
        color: #000;
    }

    #layoutbottom p {
        margin: 0 0 20px 0;
        padding: 0 5px 0 20px;
        font-size: 11px;
        text-align: center;
        background-color: #fff;
        border-top: 1px dotted #ccc;
        line-height: 38px;
    }

#wordpressref {
    float: left;
}

#copyright {
    padding-right: 140px;
}

#layoutbottom a {
    color: #000;
    text-decoration: none;
}

a.rsslink {
    width: 14px;
    height: 14px;
    padding-right: 5px;
    position: absolute;
    top: 12px;
}

    a.rsslink span {
        display: none;
    }

a#rssico {
    background: transparent url(images/rss.gif) 0 0 no-repeat;
    right: 5px;
}

a#rssicocomments {
    background: transparent url(images/ico_rss_comments.gif) 0 0 no-repeat;
    right: 24px;
}

ul.simplelist {
    margin: 0 0 10px 0;
    padding: 0;
    list-style: none;
}

    ul.simplelist li {
        padding: 1px 0 1px 10px;
    }

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.imgplaceholder {
    box-sizing: border-box;
    width: 21%;
    margin: 0 2% 10px 2%;
    text-align: center;
    float: left;
}

.imgplaceholder img {
    max-width: 100% !important;
    height: auto !important;
}

.wallpapers .imgplaceholder {
        width: 29%;
        margin: 0 2% 10px 2%;
    }


.fifth {
    clear: left;
}

@media only screen and (max-width: 800px) {

    #page {
        max-width: none;
        width: auto;
        margin: 0;
        min-height: 0;
    }

    #layouttop {
        height: auto;
    }

        #layouttop h1 {
            float: none;
        }

    #gsearchbox {
        float: none;
        padding: 0 0 10px 20px;
    }

    #navbar {
        height: auto;
    }

    #nzmainnav li {
        display: block;
    }

        #nzmainnav li a {
            float: none;
            border-right: none;
            border-bottom: 1px dotted #fff;
        }

    #themelinks {
        display: none;
    }

    .langlink {
        float: none;
        display: block;
        padding: 0 20px;
    }

    #content, #content.narrowcolumn {
        float: none;
        width: auto;
        padding: 10px;
    }

    .entry iframe {
        width: auto !important;
        height: auto !important;
    }

    .entry img {
        width: 100% !important;
        height: auto !important;
    }

    #sidebar {
        float: none;
        width: auto;
        padding: 10px;
        min-height: 0;
    }

    #layoutbottom {
        width: auto;
        margin: 0;
    }

        #layoutbottom p {
            text-align: left;
            line-height: 1.4;
            margin: 0;
            padding: 10px;
        }

    #copyright {
        padding: 0 4px 0 0;
    }

    a.rsslink {
        position: relative;
        display: inline-block;
        padding: 0;
        top: auto;
        right: auto !important;
    }


    .imgplaceholder, .wallpapers .imgplaceholder {
        width: 46%;
        margin: 0 2% 10px 2%;
    }

    .fifth {
        clear: none;
    }
    .third {
        clear:left;
    }

    .photo {
        max-width: 100% !important;
        height: auto !important;
    }

    #footer {
        width: 100%;
    }
}
