/*
mikebeauchamp.com 6.0 CSS

by Mike Beauchamp

Stanstead, QC. 2025.

*/

/* 
BROWSER RESET
*/

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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
}

body {
    line-height: 1;
}

del {
    text-decoration: line-through;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}



/*
LAYOUT STUFFS
*/

@font-face {
    font-family: 'FreeMono';
    src: url('fonts/FreeMono.eot');
    src: url('fonts/FreeMono.eot?#iefix') format('embedded-opentype'),
        url('fonts/FreeMono.woff') format('woff'),
        url('fonts/FreeMono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    font-family: 'FreeMono', FreeMono, 'Courier New', Courier, monospace;
    font-size: 62.5%;
}

body {
    background: none repeat scroll 0 0 #e7e7e7;
}

#wrapper {
    margin: 0 auto;
    width: 1200px;
}

/* clear <div class="clear">&nbsp;</div> */
.clear {
    clear: both;
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
}


/*
HEADER STUFFS
*/

#header {
    display: block;
    clear: both;
}

a.logolink {
    display: block;
    font-size: 2.2rem;
    text-align: center;
    margin: 50px 30px 30px 30px;
    width: 340px;
    padding: 20px 0;
    background-color: #e88b10;
    color: #000000;
    text-decoration: none;
}

a.logolink:hover {
    background-color: #ef9013;
}

/*
MAIN PAGE STUFFS
*/

div.mainboxes a {
    display: inline-block;
    float: left;
    padding: 30px 30px 0 30px;
    margin: 0px;
    text-decoration: none;
    color: #000000;
}

.mainboxlinktext {
    display: block;
    text-align: center;
    font-size: 1.7rem;
    height: 24px;
    margin-top: 6px;
    visibility: hidden;
}

div.mainboxes a:hover span.mainboxlinktext {
    visibility: visible;
}




/*
CONTENT PAGE STUFFS
*/

h1 {
    text-align: center;
    font-size: 2.7rem;
    margin: 1em 0 2em 0;
    line-height: 1.2em;
}

div.maincontent {
    padding: 30px;
    font-size: 1.8rem;
    line-height: 1.6em;
}

div.maincontent p {
    margin: 2.4em 80px;
}

div.maincontent img {
    display: block;
    margin: 70px auto;
    clear: both;
}


/* 
FOOTER STUFF
*/

#footer a.logolink {
    margin-bottom: 80px;
}


/* 
MOBILE ONLY SHIT 
*/

@media only screen and (min-width: 768px) and (orientation:portrait) {

    body {
        zoom: 1.9;
    }

    a.logolink {
        font-size: 2.6rem;
    }

    #wrapper {
        width: 400px;
    }

    div.maincontent {
        padding: 0;
        font-size: 2.5rem;
        line-height: 1em;
    }

    div.maincontent h1 {
        font-size: 2.1rem;
        margin-top: 60px;
    }

    div.maincontent p {
        margin: 2.4em 0;
    }

    div.maincontent img {
        max-width: 400px;
    }

    div.maincontent video {
        max-width: 400px;
    }

}