@charset "utf-8";

html {
    min-height: 100%;
    }

body {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font: 12px Helvetica, Arial, sans-serif;
    background: #000;
    color: #ccc;
    }

h1, h2, h3,
nav a,
#searchfield,
#breadcrumbs,
figcaption {
    /*letter-spacing: 1px;*/
    font-family: 'UniSansRegularRegular', Helvetica, Arial, sans-serif;
    font-weight: 400;
    }
    
h1 {
    font-size: 24px;
    }

h2 {
    margin: 10px 0;
    padding: 4px 0;
    font-size: 22px;
    border-top: 1px dotted #555;
    border-bottom: 1px dotted #555;
    color: #ccc;
    }
    
h3 {
    font-size: 18px;
    }
    
a {
    text-decoration: none;
    color: inherit;
    }

p {
    margin: 14px 0 0 0;
    text-indent: 20px;
    line-height: 1.5;
    font-size: 14px;
    color: #aaa;
    }

sup {
    vertical-align: super;
    font-size: 75%;
    }

#wrapper {
    width: 1000px;
    margin: 25px auto 0 auto;
    padding: 20px;
    opacity: 1;

    transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    }

    #wrapper.over {
        opacity: 0.5;
        }

#masthead {
    position: fixed;
    top: 0;
    width: 100%;
    background: #333;
    color: #ccc;
    z-index: 3;
    }

    #masthead header {
        width: 1000px;
        margin: auto;
        }

        #masthead a#nav_logo {
            float: left;
            display: block;
            width: 114px;
            height: 35px;
            background: transparent url("/assets/images/logo_nav.png") left center no-repeat;
            }

        #masthead #controls {
            float: right;
            margin-right: -10px;
            }

        #masthead nav {
            float: left;
            }

            /* Common styles */
            #masthead nav ul {
                display: none;
                opacity: 0;
                text-align: right;
                font-size: 15px;

                transition: opacity 1s ease-in-out;
                -moz-transition: opacity 1s ease-in-out;
                -webkit-transition: opacity 1s ease-in-out;
                }

            #masthead nav li {
                display: block;
                position: relative;
                }

            #masthead nav a {
                display: block;
                padding: 4px 5px;

                transition-property: background-color, color;
                transition-duration: 0.5s;
                -moz-transition-property: background-color, color;
                -moz-transition-duration: 0.5s;
                -webkit-transition-property: background-color, color;
                -webkit-transition-duration: 0.5s;
                }

            #masthead nav li.active > a,
            #masthead nav li.over > a,
            #masthead nav a:hover {
                background: rgba(0, 0, 0, 0.7);
                color: #fff;
                }

            /* top level links */
            #masthead nav > ul {
                display: block;
                opacity: 1;
                font-size: 17px;
                }

                #masthead nav > ul > li {
                    float: left;
                    margin-left: 20px;
                    }

                    #masthead nav > ul > li > a {
                        padding: 6px 10px;
                        }

            /* 2nd-plus order links */
            #masthead nav li.over > ul {
                display: block;
                opacity: 1;
                position: absolute;
                right: 0px;
                top: 34px;
                width: 155px;
                padding: 5px;
                background: rgba(0, 0, 0, 0.7);

                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
                -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
                -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
                }

            /* 2nd-plus order links containing children */
            #masthead nav li li.subnav > a {
                background-image: url('icons/chevron-left.png');
                background-repeat: no-repeat;
                background-position: 5px center;
                }

            /* 3rd order links */
            #masthead nav li li.subnav ul {
                right: 155px;
                top: -5px;
                width: 170px;
                }

#search {
    float: left;
    display: block;
    width: 120px;
    margin: 5px 0 5px 20px;
    padding: 0;
    }

    #search input[type="search"] {
        display: inline-block;
        width: 100%;
        /*height: 24px;*/
        margin: 0;
        padding: 0 5px 0 0;
        font-size: 14px;
        background: #444;
        color: #999;
        border: none;
        border-radius: 12px;
        box-sizing: border-box;

        -webkit-border-radius: 12px;
        -webkit-box-sizing: border-box;
        -webkit-appearance: textarea;

        -moz-border-radius: 12px;
        -moz-box-sizing: border-box;
        }

    #search input[type="search"]:focus {
        border: none;
        background: #ccc;
        color: #444;
        outline: none;
        }

#gallery {
    float: left;
    position: relative;
    width: 600px;
    margin: 10px 0 0 0;
    }

    #gallery ul {
        list-style: none;
        }

    #gallery img {
        display: none;
        }

#breadcrumbs {
    padding: 4px 5px;
    color: #ccc;
    font-size: 14px;
    }

    #breadcrumbs a:hover {
        text-decoration: underline;
        }

section.content {
    display: inline;
    float: left;
    width: 380px;
    padding: 0 20px 40px 0;
    }

#anarchitecture section.content {
    width: 660px;
    padding: 0 0 40px 0;
    }

    #anarchitecture section.content article {
        column-gap: 20px;
        column-count: 2;
        column-rule: 1px dotted #444;

        -moz-column-count: 2;
        -moz-column-gap: 20px;
        -moz-column-rule: 1px dotted #444;

        -webkit-column-count: 2;
        -webkit-column-gap: 20px;
        -webkit-column-rule: 1px dotted #444;
        }

#anarchitecture figure {
    display: inline;
    float: left;
    width: 320px;
    height: 100%;
    padding: 10px 0 40px 20px;
    overflow: hidden;
    text-align: center;
    }
    

body a#logo_main {
    visibility: hidden;
    display: none;
    }

body#index a#logo_main {
    visibility: visible;
    display: block;
    position: absolute;
    top: 0;
    left: 0;    
    width: 100%;
    height: 100%;
    background: #000 url('/assets/images/logo.jpg') center 40% no-repeat;
    z-index: 4;
    }

body > footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 3;
    }
    
    body > footer .content {
        width: 1000px;
        margin: 0 auto;
        padding: 4px 10px;
        background: #222;
        color: #666;
        }

        body > footer #breadcrumbs {
            float: left;
            }

        body > footer #search {
            float: right;
            }


@font-face {
	font-family: 'UniSansRegularRegular';
	src: url('/assets/fonts/unisans_regular/Uni_Sans_Regular-webfont.eot');
	src: local('?'),
        url('/assets/fonts/unisans_regular/Uni_Sans_Regular-webfont.woff') format('woff'),
        url('/assets/fonts/unisans_regular/Uni_Sans_Regular-webfont.ttf') format('truetype'),
        url('/assets/fonts/unisans_regular/Uni_Sans_Regular-webfont.svg#webfont') format('svg');
	font-weight: normal;
	font-style: normal;
    }
