/* Some reset business */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 15px; line-height: 1.2em; }
::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }
b, strong { font-weight: bold; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }


/* Okay now our stuff */
body{margin:0;padding:0;background:#a94d66 url(flocked.jpg) no-repeat center center fixed;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;color:#fafafa;}

a{color:#a4cff1;}
a:hover{color:#cea4f1;}
a:hover,a:active{outline:0;}

.container{position:relative;width:1024px;margin:0 auto;}

.site-header,.site-footer,.others{float:left;width:275px;}
.site-header{padding:70px 20px 0 50px;background:url(bgframe.png) 23px 12px no-repeat;}
.site-header h1{margin:0;font-size:30px;line-height:35px;}
.site-header h2,.site-header p{margin:0;font-size:18px;line-height:21px;}
.site-header hgroup{margin:0 0 18px;}
.site-header hgroup:after{content:"";display:block;width:219px;height:305px;margin:12px 0 18px;border:2px dotted #fff;background:url(drygb.jpg) top left no-repeat;}

.notes{float:right;width:679px;background-color:rgba(145,229,255,.87);/*(185,229,251,.8);/*(120,220,255,0.83);/*(128,228,248,.75);*/color:#000;}
.notes hr{margin:1em 25px 1em 50px;border-top:3px double #9d1b1d;}
.notes hr:before{content:"";display:block;float:left;width:21px;height:20px;margin:-5px 0 0 -25px;background:url(icons.png) -140px 0 no-repeat;}
.notes article{padding:10px 25px;}
.notes article header{color:#900;}
.notes article h1{margin:0;font:bold 18px/21px "Palatino Linotype","Book Antiqua",Palatino,serif;}
.notes article p{margin:0 0 1em;font:normal 13px/16px "Palatino Linotype","Book Antiqua",Palatino,serif;}
.notes article p.date{font-style:italic;font-size:14px;line-height:18px;}
.notes article img,.youtubeiframe{margin:0 0 1em 40px}
.notes a{color:#f00;}

.to-the-successful{margin:20px 25px;padding:5px 10px;border:5px dotted #9d1b1d;}

.others{clear:left;width:270px;padding:50px 0 6em 50px;}
.others a{text-decoration:none;color:#fff;}
.others a:hover{text-decoration:underline;}
.others p{margin:0 0 1em;padding:15px 0;font-size:12px;line-height:15px;}
.others p.paper:before,.others p.eps:before{content:"";display:block;float:left;margin:-12px 9px 0 0;width:59px;height:60px;background:url(icons.png) 0 0 no-repeat;}
.others p.eps{padding-top:20px;}
.others p.eps:before{width:62px;height:63px;margin-top:-20px;background-position:-59px 0;}

.site-footer{position:absolute;bottom:0;left:0;float:none;}
.site-footer p{font-size:12px;}
.site-footer p:before{content:"";float:left;display:block;width:40px;height:39px;margin:0 12px 0 0;background:url(icons.png) -122px -22px no-repeat;}

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* smaller windows */
@media only screen and (max-width: 1023px) {
    body{background-image:url(flocked-medium.jpg);}
    .container,.notes{width:auto;}
    .site-header{float:none;width:auto;padding:20px 25px;margin:0 15px;background:url(drygb.jpg) top right no-repeat;}
    .site-header hgroup:after{display:none;}
    .site-header hgroup,.site-header p{padding-right:225px;}
    .notes{float:none;margin:0 15px;padding:10px 0;}
    .others{width:55%;padding:15px;}
    .others p{float:left;width:45%;padding-right:10px;margin:0;}
    .site-footer{position:relative;float:right;padding:15px;}
}

/* slightly smaller windows */
@media only screen and (max-width:840px) {
    .others,.site-footer{width:auto;float:none;}
    .site-footer p{width:60%;}
}

/* even smaller windows */
@media only screen and (max-width: 480px) {
    body{background-image:url(flocked-small.jpg);}
    .site-header{background:transparent;padding:15px;margin:0;}
    .site-header hgroup,.site-header p{padding-right:0;}
    .notes{margin:0;}
    .notes hr{margin:1em 15px 1em 40px;}
    .notes article{padding:10px 15px;}
    .notes article img,.youtubeiframe{margin:0 0 1em;max-width:100%;}
    .to-the-successful{margin:10px 15px 20px;}
    .others p{float:none;width:auto;margin-bottom:1em;}
    .others a{text-decoration:underline;}
    .site-footer{padding:10px 15px;}
    .site-footer p{width:auto;}
}