﻿
/* responsive style sheet for owensouthwood.com */
/* by Owen Southwood 2015 */

/* font faces */
@font-face {
    font-family: OpenSansFontFace;
    src: url('../fonts/opensans/opensans-light-webfont.eot');
    src: url('../fonts/opensans/opensans-light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/opensans/opensans-light-webfont.woff2') format('woff2'), url('../fonts/opensans/opensans-light-webfont.woff') format('woff'), url('../fonts/opensans/opensans-light-webfont.ttf') format('truetype'), url('../fonts/opensans/opensans-light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SociconFontFace';
    src: url('../fonts/socicon/socicon-webfont.eot');
    src: url('../fonts/socicon/socicon-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/socicon/socicon-webfont.woff') format('woff'), url('../fonts/socicon/socicon-webfont.woff2') format('woff2'), url('../fonts/socicon/socicon-webfont.ttf') format('truetype'), url('../fonts/socicon/socicon-webfont.svg#sociconregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: ZXFontFace;
    src: url('../fonts/zx_spectrum-7/zx_spectrum-7-webfont.eot');
    src: url('../fonts/zx_spectrum-7/zx_spectrum-7-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/zx_spectrum-7/zx_spectrum-7-webfont.woff2') format('woff2'), url('../fonts/zx_spectrum-7/zx_spectrum-7-webfont.woff') format('woff'), url('../fonts/zx_spectrum-7/zx_spectrum-7-webfont.ttf') format('truetype'), url('../fonts/zx_spectrum-7/zx_spectrum-7.svg#amaticregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: AmaticFontFace;
    src: url('../fonts/amatic/amatic-bold-webfont.eot');
    src: url('../fonts/amatic/amatic-bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/amatic/amatic-bold-webfont.woff2') format('woff2'), url('../fonts/amatic/amatic-bold-webfont.woff') format('woff'), url('../fonts/amatic/amatic-bold-webfont.ttf') format('truetype'), url('../fonts/amatic/amatic-bold-webfont.svg#amaticregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: CapsuulaFontFace;
    src: url('../fonts/capsuula/capsuula-webfont.eot');
    src: url('../fonts/capsuula/capsuula-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/capsuula/capsuula-webfont.woff2') format('woff2'), url('../fonts/capsuula/capsuula-webfont.woff') format('woff'), url('../fonts/capsuula/capsuula-webfont.ttf') format('truetype'), url('../fonts/capsuula/capsuula-webfont.svg#capsuularegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: UbuntuFontFace;
    src: url('../fonts/Ubuntu/Ubuntu-webfont.eot');
    src: url('../fonts/Ubuntu/Ubuntu-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/Ubuntu/Ubuntu-webfont.woff2') format('woff2'), url('../fonts/Ubuntu/Ubuntu-webfont.woff') format('woff'), url('../fonts/Ubuntu/Ubuntu-webfont.ttf') format('truetype'), url('../fonts/Ubuntu/Ubuntu-webfont.svg#Ubunturegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: ffSymbol;
    src: url('../fonts/websymbols/websymbols-regular-webfont.eot');
    src: url('../fonts/websymbols/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/websymbols/websymbols-regular-webfont.woff') format('woff'), url('../fonts/websymbols/websymbols-regular-webfont.ttf') format('truetype'), url('../fonts/websymbols/websymbols-regular-webfont.svg#web_symbolsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'WebSymbolsFontFace';
    src: url('../fonts/websymbols/websymbols-regular-webfont.eot');
    src: url('../fonts/websymbols/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/websymbols/websymbols-regular-webfont.woff') format('woff'), url('../fonts/websymbols/websymbols-regular-webfont.woff2') format('woff2'), url('../fonts/websymbols/websymbols-regular-webfont.ttf') format('truetype'), url('../fonts/websymbols/websymbols-regular-webfont.svg#WebSymbolsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


body {
    margin: 0;
    background-color: #FFFFFF;
    overflow-x: hidden; /* temp fix */
    /* font-size: 1.00em;    */
}



#pagefooter-outer {
    /* the lower footer section shown at bottom of all pages in footer.htm */
    clear: both;
    height: 100px;
    width: 100%;
    color: #404040;
    font-family: OpenSansFontFace,Helvetica,Arial,Sans-Serif;
    vertical-align: bottom;
    padding-top: 20px;
    margin-top: 20px;
}

A {
    color: #A8A8A8;
    font-weight: bold;
    text-decoration: none;
}

.label {
    /*font-family:Century, Courier New, Times New Roman; */
    font-family: Helvetica,Arial,Sans-Serif;
    color: black;
}

th {
    background-color: #D0D0D0;
}

.textInput {
    display: inline-block;
    outline: none; /* remove chrome's border that we don't want */
    width: 95%;
    font-family: 'Courier New', OpenSansFontFace,Helvetica,Arial,Sans-Serif;
    font-size: 1.00em;
    background-color: #F0F0F0;
    color: #202020;
    border: none;
    padding: 5px 9px 5px 9px;
    max-width: 95%;
    border: solid 1px #000000;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
}

    .textInput:focus {
        background-color: #FFFFFF;
        color: #000000;
        border: solid 1px #202020;
    }

.readonly {
    color: #808080;
}


A.link {
    text-decoration: none;
    font-weight: bold;
}

h1 { /* article title */
    font-family: Courier New,Arial,Verdana,Sans-Serif;
    color: #000000;
    /*font-size: 2.00em;    */
    font-weight:normal;    
}

h2 {
    font-family:Courier New,Arial,Verdana,Sans-Serif;
    color: #404040;
    /*font-size: 1.50em;    */
    font-weight:normal;    
}

h3 { /* subheading under article title (for date etc) */
    font-family: Courier New,Arial,Verdana,Sans-Serif;
    color: #808080;
    /* font-size: 1.00em;    */
    font-weight:normal;    
}

h4 {
    font-family: Courier New,Arial,Verdana,Sans-Serif;
    color: #75828B;
    /* font-size: 1.00em;    */
    text-transform: uppercase;
    font-weight: normal;
}

.commentCountSymbol {
    font-family: ffSymbol;
    font-weight: normal;
    color: #800000;
    padding-left: 4px;
    text-transform: lowercase;
    padding-top: 0px;
    font-size: 0.50em;    
    text-align: right;
}

.commentCountNumber {
    font-family: 'Courier New', OpenSansFontFace,Courier New,Arial,Verdana,Sans-Serif;
    font-weight: normal;
    color: #800000;
    padding-left: 4px;
    font-size: 1.00em;  
    text-align: right;
    font-weight: bold;
}

/* full size navigaion  */
@media screen and (min-width: 800px) and (max-width: 2900px) {

    #outer {
        width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    #banner-outer {
        width: 100%;
        padding-top: 8px;
        padding-bottom: 0px;
        border-bottom:solid 4px #808080;
        background-color: #000000;
         


        position:fixed;
        height:auto;
    }

    #banner {
        width: 800px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;        

    }

    #bannerTitle {
        color: Red;
        font-weight:bold;
        font-size:1.50em;
        font-family: 'Courier New','Segoe UI',Helvetica,'Century Gothic',Arial,sans-serif;
        /* font-size: 1.00em;    */
        display: inline-block;
        text-align: center;
        cursor: hand;
        cursor: pointer;
    }


    #navigation {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        float: none;
        font-family: 'Courier New', 'Segoe UI',Helvetica,'Century Gothic',Arial,sans-serif;
        /* font-size: 1.00em;    */
        text-transform: uppercase;
    }

    .navigationLink {
        color: #D0D0D0;
        border-bottom:solid 4px #808080;
        text-decoration: none;        
    }

        .navigationLink:hover {
            color: #FFFFFF;
            border-bottom:solid 4px #A8A8A8;
            -webkit-transition: all linear 0.5s;
            -moz-transition: all linear 0.5s;
            -ms-transition: all linear 0.5s;
            -o-transition: all linear 0.5s;
            transition: all linear 0.5s;
        }

    .navigationLink_selected {
        color:#FFFFFF;
        border-bottom:solid 4px Red;
        text-decoration: none; 
        font-weight: bold;
    }

        .navigationLink_selected:hover {
            color: #FFFFFF;
            text-decoration: none;

            font-weight: bold;
        }

    #subNavigation {
        text-transform: capitalize;
        width: 800px;
        margin-left: auto;
        margin-right: auto;        
        float: none;
        font-family: 'Courier New',OpenSansFontFace,'Segoe UI',Helvetica,'Century Gothic',Arial,sans-serif;
        /* font-size: 1.00em;    */
        font-weight: bold;
        padding-top: 80px;
        padding-bottom: 20px;
        text-transform: uppercase;
    }

    .subNavigationLink {
        color: #A8A8A8;
        text-decoration: none;
        padding-right: 20px;
        padding-bottom: 20px;
    }

        .subNavigationLink:hover {
            color: #000000;
            -moz-transition: all linear 0.5s;
            -ms-transition: all linear 0.5s;
            -o-transition: all linear 0.5s;
            transition: all linear 0.5s;
        }

    .subNavigationLink_selected {
        color: #000000;
        padding-right: 20px;
        text-decoration: none;
        margin-right: 4px;
    }

    #content {
        font-family: Georgia,'Bookman Old Style',Garamond,serif;
        /* font-size: 1.00em;    */
        color: #000000;
        padding: 4px;
        width: 100%;
        margin-top: 45px;
    }
        /* subclass for hyperlinks within content div */
        #content A {                        
            padding-left:4px;
            padding-right:4px;
            font-weight:bold;
            color:Red;
        }
        #content A:hover {            
            color:#800000;
        }

    #pagefooter {
        width: 800px;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        clear: both;
        vertical-align: bottom;
    }

    IMG.coverPhoto {
        border: none;
        max-width: 100px;
        max-height: 100px;
        float: left;
        margin-top:0;
        display: block;
    }
}

/* small-screen (or mobile) navigation */
/* Note: consider this for Samsung Galaxy Note 3: ((-webkit-min-device-pixel-ratio: 2) and (max-device-width:1080px) and (orientation : portrait))  */
@media screen and (min-width: 1px) and (max-width: 799px) {

    #banner-outer {
        width: 100%;
        background-color: #000000;
    }

    #banner {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
    }

    #bannerTitle {
        /* on mobline the banner isn't displayed */
        display: none;
    }

    #navigation {
        display: none;
        height: 0;
        width: 0;
    }

    #subNavigation {
        display: none;
        height: 0;
        width: 0;
    }


    #content {
        font-family: OpenSansFontFace,Helvetica,Arial,Sans-Serif;
        color: #000000;
        text-wrap: normal;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 10px;
        padding-left: 60px; /* extra margin to allow for sidebar nav on mobiles */
    }

    #pagefooter {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        clear: both;
        vertical-align: bottom;
        margin: 20px;
    }


    IMG.coverPhoto {
        border: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
        width: 300px;
        height: 300px;
    }
}



/* side bars (same on all devices) */

.sideBarMaster {
    background-repeat: no-repeat;
    background-position: 8px 8px;
    border-right: solid 1px #808080;
    border-bottom: solid 1px #808080;
    border-top: solid 1px #D0D0D0;
    background-color: #FFFFFF;
    opacity: 0.5;
    position: fixed; /* hold in position when scrolling */
    left: 0px;
    width: 50px;
    height: 80px;
    letter-spacing: 90px; /* trick to force the icon out of view */
    overflow: hidden;
    -webkit-border-top-right-radius: 8px;
    -moz-border-top-right-radius: 8px;
    -ms-border-top-right-radius: 8px;
    -o-border-top-right-radius: 8px;
    border-top-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-bottom-right-radius: 8px;
    -ms-border-bottom-right-radius: 8px;
    -o-border-bottom-right-radius: 8px;
    border-bottom-right-radius: 8px;
    -webkit-box-shadow: 4px 4px 10px 4px rgba(0,0,0,0.25);
    -moz-box-shadow: 4px 4px 10px 4px rgba(0,0,0,0.25);
    -ms-box-shadow: 4px 4px 10px 4px rgba(0,0,0,0.25);
    -o-box-shadow: 4px 4px 10px 4px rgba(0,0,0,0.25);
    box-shadow: 4px 4px 10px 4px rgba(0,0,0,0.25);
}

    .sideBarMaster:hover {
        letter-spacing: 1px; /* bring the icon back into view */
        white-space: nowrap;
        color: #000000;
        padding-left: 60px; /* margin for the nav icon */
        width: auto;
        opacity: 1.0; 
    }

.sideBarArticles {
    /* articles sidebar (fullscreen version) */
    background-image: url("../../images/sidebar/articles.png");
    bottom: 350px;
    min-height: 75px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-transform: capitalize;
    font-family: OpenSansFontFace,'Segoe UI',Helvetica,'Century Gothic',Arial,sans-serif;
    /* font-size: 1.00em;    */
    font-weight: bold;
    text-transform: uppercase;
}

    .sideBarArticles:hover {
        clear: both;
        height: auto;
        white-space: pre-line;
        letter-spacing: 1px;
        /* font-size: 1.00em;    */
    }

.sideBarHome {
    /* admin sidebar */
    background-image: url("../../images/sidebar/home.png");
    top: 0px;
    text-transform: capitalize;
    font-family: OpenSansFontFace,'Segoe UI',Helvetica,'Century Gothic',Arial,sans-serif;
    /* font-size: 1.00em;    */
    font-weight: bold;
    text-transform: uppercase;
}

    .sideBarHome:hover {
        clear: both;
        height: auto;
        white-space: pre-line;
        letter-spacing: 1px;
        /* font-size: 1.00em;    */
    }

.sideBarAdmin {
    /* admin sidebar */
    background-image: url("../../images/sidebar/admin.png");
    bottom: 450px;
}

.sideBarNav {
    /* navigation sidebar */
    background-image: url("../../images/sidebar/navigate.png");
    bottom: 250px;
}

.sideBarSocial {
    /* social icons sidebar */
    background-image: url("../../images/sidebar/connect.png");
    bottom: 150px;
}

.sideBarShare {
    /* share sidebar (tweet/fb share) */
    background-image: url("../../images/sidebar/share.png");
    bottom: 50px;
}


/* inner div on the share (tweeet/fb) sidebar */
#shareBarInner {
    margin-left: 50px;
    padding: 8px;
}



/* user comments */
.postedComment {
    clear: both;
    width: 100%;
    float: left;
    font-family: OpenSansFontFace,Helvetica,Arial,Sans-Serif;
    max-width: 95%;
}

/* nice 3D chrome effect pushy buttons */
.button {
    margin-left: 4px;
    cursor: pointer;
    padding: 5px 20px 5px 20px;
    font-family: 'Courier New', 'OpenSansFontFace',Helvetica,sans-serif;
      font-size: 1.00em;  
    font-weight: bold;
    text-decoration: none;
    color: #505050;
    background-color: #D0D0D0;
    text-shadow: 0px 1px 0px #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    border-top: solid 1px #A8A8A8;
    border-left: solid 1px #A8A8A8;
    border-bottom: solid 1px #202020;
    border-right: solid 1px #202020;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -ms-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

    .button:hover {
        color:#800000;
        -webkit-box-shadow: rgba(0,0,0,1.0) 0 0 4px;
        -moz-box-shadow: rgba(0,0,0,1.0) 0 0 4px;
        box-shadow: rgba(0,0,0,1.0) 0 0 4px;
    }


.submissionResult {
    color: Red;
}



/* === articles ==== */

.articleLink {
    /* applies to the entire preview box */
    text-decoration: none;
    color: Black;
}

    .articleLink:hover {
        color: Red;
    }


#articleList {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.articleListItem {
    width: 100%;
    padding: 0;
    float: left;
}


.articlePreview {
    /* used for the preview snippet of an article */
    float: none;
}



/* ==== social media links ==== */

/* see www.socicon.com for this awesomeness */
.socicon {
    position: relative;
    display: inline-block;
    font-family: 'SociconFontFace';
    /* font-size: 1.00em;    */
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    padding:1px;
}

.socicon-twitter:before {
    content: "a";
}

.socicon-facebook:before {
    content: "b";
}

.socicon-google:before {
    content: "c";
}

.socicon-skype:before {
    content: "g";
}

.socicon-reddit:before {
    content: "C";
}

.socicon-github:before {
    content: "Q";
}

.socicon-steam:before {
    content: "X";
}

.socicon-stackoverflow:before {
    content: "(";
}

.socicon-mail:before {
    content: "@";
}

.socicon-linkedin:before {
    content: "j";
}

.socicon-twitter:hover {
    color: #dae6e9;
    background-color: #46c8fb;
}

.socicon-facebook:hover {
    color: #ffffff;
    background-color: #6667b4;
}

.socicon-google:hover {
    content: "c";
}

.socicon-skype:hover {
    color: #5ad5ff;
}

.socicon-reddit:hover {
    content: "C";
}

.socicon-github:hover {
    color: #fff4b1;
    background-color: #404040;
}

.socicon-steam:hover {
    content: "X";
}

.socicon-stackoverflow:hover {
    color: #ff7015;
}

.socicon-mail:hover {
    color: #f8953f;
}

.socicon-linkedin:hover {
    background-color: #424d98;
    color: #F0F0F0;
}




/* websymbols for the navigation sidebar */
.websymbol {
    display: inline-block;
    font-family: 'WebSymbolsFontFace';
    /* font-size: 1.00em;    */
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
}

.websymbol-navigate:before {
    content: ")";
}

.websymbol-login:before {
    content: "x";
}

.websymbol-link:before {
    content: "K";
}

.websymbol-user:before {
    content: "U";
}

.websymbol-comments:before {
    content: "e";
}

.websymbol-logout:before {
    content: "h";
}

.websymbol-games:before {
    content: "`";
}

.websymbol-blog:before {
    content: "v";
}

.websymbol-home:before {
    content: "R";
}

.websymbol-writing:before {
    content: "²";
}

.websymbol-signup:before {
    content: "N";
}

.websymbol-upload:before {
    content: ":";
}


/* style for sidebar buttons */
.sideBarButton {
    padding: 8px;
    float: right;
    color: #A8A8A8;
    text-decoration: none;
    display: inline-block;
}

    .sideBarButton:hover {
        cursor: hand;
        cursor: pointer;
        color: #000000;
        -webkit-transition: all linear 0.5s;
        -moz-transition: all linear 0.5s;
        -ms-transition: all linear 0.5s;
        -o-transition: all linear 0.5s;
        transition: all linear 0.5s;
    }



/* style for sidebar buttons */
#socialSection {    
    position:fixed;    
    bottom:20px;
    left:0px;
}
.contactButtonBar {
    display:inline-block; 
    font-size:2.0em;        
}
.contactButton {
    padding: 0px;
    float: right;
    color: #A8A8A8;
     text-transform:none;
    text-decoration: none;
    display:block;
}

    .contactButton:hover {
        cursor: hand;
        cursor: pointer;
        color:#FFFFFF;
    }



/* bubble extract eg. thought for the day... */
.bubble {
    background-color: #F0F0F0;
    margin-bottom: 10px;
    border-bottom: solid 1px #808080;
}

/* password strength guage (on signup page) */
#PasswordStrength {
    font-weight: normal;
    color: White;
    color: #000000;
    padding: 4px;
    width: 100%;
    text-transform: capitalize;
}

    #PasswordStrength.excellent {
        color: #33CC33;
    }

    #PasswordStrength.strong {
        color: #009933;
    }

    #PasswordStrength.reasonable {
        color: #FF9900;
    }

    #PasswordStrength.weak {
        color: #FF6600;
    }

    #PasswordStrength.poor {
        color: #FF3300;
    }

    #PasswordStrength.unacceptable {
        color: #CC0000;
    }

/* blog editor */
.editor {
    font-family: OpenSansFontFace,Helvetica,Arial,Sans-Serif;
    /* font-size: 1.00em;    */
}

/* images */
.thumbnail {
    width: 50%;
    float: none;
    clear: both;
    display: block;
    background-color: #FFFFFF;
    padding: 8px;
    border: solid 1px #808080;
    margin-right: 10px;
    margin-bottom: 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 2px 2px 16px 1px #A8A8A8;
    -moz-box-shadow: inset 2px 2px 16px 1px #A8A8A8;
    -ms-box-shadow: inset 2px 2px 16px 1px #A8A8A8;
    -o-box-shadow: inset 2px 2px 16px 1px #A8A8A8;
    box-shadow: inset 2px 2px 16px 1px #A8A8A8;
}

    .thumbnail:hover {
        -webkit-box-shadow: inset 2px 2px 16px 4px #808080;
        -moz-box-shadow: inset 2px 2px 16px 4px #808080;
        -ms-box-shadow: inset 2px 2px 16px 4px #808080;
        -o-box-shadow: inset 2px 2px 16px 4px #808080;
        box-shadow: inset 2px 2px 16px 4px #808080;
    }

.illustration {
    width: 95%;
    clear: both;
    display: inline-block;
    background-color: #FFFFFF;
    padding: 8px;
    border: solid 1px #808080;
    margin-right: 10px;
    margin-bottom: 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 2px 2px 16px 1px #A8A8A8;
    -moz-box-shadow: inset 2px 2px 16px 1px #A8A8A8;
    -ms-box-shadow: inset 2px 2px 16px 1px #A8A8A8;
    -o-box-shadow: inset 2px 2px 16px 1px #A8A8A8;
    box-shadow: inset 2px 2px 16px 1px #A8A8A8;
}


