@import url('https://fonts.googleapis.com/css?family=Alegreya:700|Gochi+Hand');
//@import url('https://fonts.googleapis.com/css?family=Abril+Fatface|Gochi+Hand');
//@import url('https://fonts.googleapis.com/css?family=Andada|Archivo+Narrow');
/*
@font-face {
    font-family: 'latin_modern_roman_dunhil10Rg';
    src: url('lmromandunh10-regular-webfont.eot');
    src: url('lmromandunh10-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('lmromandunh10-regular-webfont.woff') format('woff'),
         url('lmromandunh10-regular-webfont.ttf') format('truetype'),
         url('lmromandunh10-regular-webfont.svg#latin_modern_roman_dunhil10Rg') format('svg');
    font-weight: normal;
    font-style: normal;

}
*/
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #333;
    font-size: 1em;
    line-height: 1.4;
}

.main { color:#333; }

a { color: maroon; }
a:visited { color: maroon; }

b { color: black; }

h1, h2, h3, h4, h5, h6 { font-family: Alegreya,Times,serif; line-height:1; }
#main h1 { font-size:48pt; }
#main h2 { font-size:36pt; }
#main h3 { font-size:24pt; }
#main h4 { font-size:16pt; }
#main h5 { font-size:10pt; }
#main h6 { font-size:8pt; }
/*
.subhead { font-size:200%; font-family: 'Gochi Hand',cursive; color: #6E7E4D; }
.subhead b { color:red; font-weight:normal; }
.header-container h1 { font-size: 150%; }
*/


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
 background:linen;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 20px solid #320408;/*#6E7E4D; */
}

.footer-container,
.main aside {
    /*border-top: 20px solid maroon;//#6E7E4D; */
}

.header-container,
.footer-container {
color:white;
    background: #320408; /**/
}
.main aside {
 background:white;
}

.title a, .title a:visited { /**/
 color: white;
 text-decoration: none;
}

/* ==============
    MOBILE: Menu
   ============== */

/* === sub menus == */

nav { display:block; }
nav figure a { display:block; height:auto; width:316px; margin:auto; }

nav ul, nav li, nav a { margin: 0; padding: 0; }
nav ul ul li, nav ul li ul li a { margin:0; padding: 0!important; box-sizing: border-box; line-height: 1em; }
nav ul li ul { display: none; position: absolute; top: 28px; left: 12px; background:#320408; border: 3px solid maroon; }
nav li ul li { width:100%; text-indent:10px; line-height:30px; }
nav li:hover > ul, nav li:focus > ul { display:block; position:absolute; z-index:1000; }
nav li:hover { position:relative; z-index:2000; }
nav > ul li ul li a { display: block; float: none; padding: 12px 24px!important; }  /* TODO: link design */

nav li ul li {
 display:inline;
 cursor:pointer; list-style:none;
 padding:0 12px;
 float:left;
}

nav ul {
    margin: 0;
    /*padding: 32px 0 0;*/
    list-style-type: none;
}

nav ul a, nav ul span {
 /*width:100%;*/
 margin: 4px 0;
    display: block;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    /*background: black;#6E7E4D; */
 border: 1px solid pink;
 border-radius:6px;
 padding:0 6px;
}
nav ul span { color:#521; }

nav a:visited {
    color: white;
}

nav ul a:hover {
    color: #521; background:white;
    text-decoration: none;
    text-shadow:none;
}



/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
}

.main aside {
    /*color: white;*/
    padding: 0px 5% 10px;
}

.footer-container footer {
    //color: black;
    padding: 2px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.main article:empty, .main aside:empty { display:none; }

figure, figure img { max-width: 100%!important; height: auto; }

#facebook, #twitter, #phone { display: none; }

.header-container,
.footer-container,
.main aside,
.main article {
z-index: 30;
}

.half, .third, .green {
 background: linen; padding:0.1% 1%; margin-top:2%;
}

.main aside,
.main article {
position:relative;
}

.fadein {
    position:relative;
    width:100%;
}

.fadein img {
    position:absolute;
    left:0;
    top:0;
}
.overslide img {
    width:100%;
    height:auto;
}
.overslide>img { visibility:hidden; }

.fadein img.firstslide {
 position: relative;
 visibility: hidden;
}

.header-container { position: relative; }
#dropmenu { color: white; font-size: 24pt; position: absolute; right: 0; z-index: 20; padding: 12px 24px 16px; text-decoration: none; display: block; }
.dbar { clear: both; width: 24px; height: 3px; display: block; background: white; float: right; margin-top: 4px; }

nav { position: relative; /*margin-top: -1000px;*/ }
.title {
 position: absolute; z-index: 1; background: black;//#6E7E4D;
 width: 100%; height: 42px; 
 left: 0; top: -16px; padding: 9px 5%;
 font-size:16pt;
 line-height:0.5;
}
.title img { display:none; }

.footer-container p { clear: both; }


#main>aside {
padding:12px;
display:block;width:75%; margin: 0 auto;

}
#main>section {
  width: 90%;
  margin: 32px auto 0;
z-index:3;
box-sizing:border-box;
}
#main>section>div {
margin:5px;
}
#main>section~div, #main>aside~div, #main>aside~section {
 clear:both;
}
#main>section:after {
 clear:both; content:''; display:block;
}
#main>aside { margin:24px auto 96px; }
//aside:after { clear:both; content:''; display:block; }

#main>aside ul { list-style-type: none; }
#main>aside ul a { /*color:black;/*#6E7E4D;*/ font-weight:bold; font-size:large; }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

#facebook, #twitter { display: block; float: left; width: 26px; height: 26px; margin: 3px 5px 0 0; background: url(/images/facebook.png); }
#twitter { background: url(/images/twitter.png); }
#phone { display: inline; }

/*nav li { margin-top:6px; }*/
nav a, nav span { padding: 0; font-weight: normal; text-shadow: 1px 1px 3px black, -1px -1px 1px black;
}
.title {
 float:left; margin: 0; width: 100%; font-size:20pt;
 position: relative; top: inherit; left: inherit; padding: inherit; height: auto; background: none;
 padding-bottom:7px;
}
.title img { display:block; max-width:288px!important; }

.title a, .title a:visited { /**/
display: block; float: left; margin: 0 24px 0 0;
}

#dropmenu { display: none; }

.footer-container p { clear: none; }
nav { margin-top: 0; }
/*.footer-container { background: url(/images/kn6lttm0.jpeg) no-repeat center; background-size: cover; }*/

/*
nav { padding-top: 0; margin-top: 0; }
*/
/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a, nav span {
/*        float: left;*/
/*        width: 27%;
        margin: 6px 1.7% 0;
        padding: 2px 4% 0; */
    }

    nav li:first-child a, nav li:first-child span { /**/
    /*    margin-left: -2%; */
    }

    nav li:last-child a {
        margin-right: -2%; /**/
    }

nav > ul { /*float: right;*/ max-width:1024px; display:block; margin:auto; }
nav > ul li { position: relative; float: left; white-space:nowrap; margin-right:24px; }
//nav > ul > li > a { width: 90px; min-height: 78px; }
nav > ul li ul { position: absolute; top: 25px; left: 0; box-shadow: 2px 2px 2px rgba(0,0,0,0.5); }
nav > ul li ul li a { width: 100%; }

//nav li { margin-left: 2px; }
nav li ul li { margin-left:0; }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

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

.fadein {
    position:fixed;
    left:0;
    top:0;
    height:auto;
    width:100%;
}
.overslide {
 height: 0;
}
.overslide img {
 //max-height: 100%;
}


/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #000; /**/
           -moz-box-shadow: 0 5px 10px #000;
                box-shadow: 0 5px 10px #000;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
/*        float: left; */
    }

    nav {
/*        float: right;
        width: 38%; */
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
box-sizing:border-box;
    }

    .main aside {
        float: right;
        width: 28%;
    }
#main>section {
  width: 100%;
  margin: 0;
 float:left; width:48%;
}
#main>section.setright {
 float:right;
}
#main>section>div { float:right; width:75%; }
#main>section.setright>div { float:left; }
#main>section:after {
 clear:none; display:none;
}

#main>section.setright+aside { left:-3.5%; }
#main>section.setright+aside>div { float:right; }

#main>section.sidedown+aside, #main>section.sideup { margin-top:120px; }

#main>aside { width:48%; margin:0; }
#main>aside>div { width:80%; }
#main>aside:after {
 clear:both; content:''; display:block;
}
#main>figure { width:100%;  max-height:420px; overflow:hidden; margin-top:-30px; position:relative; z-index:1; }
#main>figure~.wrapper { box-sizing:border-box; padding: 3% 6%; background:linen; position:relative; z-index:2; }
//#main>figure+.wrapper { margin-top:-90px; }
#main>figure>img { width:100%; }
#foot1 { float:left; width: 50%; }
#foot3 { float:right; text-align:right; }

.half, .third {
 box-sizing: border-box; width:32%; margin: 2% 2% 0 0; float:left;
}
.third:nth-of-type(3n-1) { margin: 2% 0 0 0; }
.half { width: 49%; margin: 2% 0 0; }
.half:nth-of-type(odd) { float:right; }
//.half:nth-of-type(odd) { margin: 2% 0; }
//.half:nth-of-type(even), .third:first-of-type { clear:left; }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
#main>section>div, #main>aside>div { width:400px; }
#main > figure ~ .wrapper { padding: 3% 75px; }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* TenderSoft */

/* footer @ foot on short pages */
/*
html { height: 100%;  }
body { height:100vh; min-height: 100%; display: flex; flex-direction: column; font-family: Arial,sans-serif; }
.main-container { flex: 1 0 auto; }
.header-container, .footer-container { flex: none; flex-shrink: 0; }
*//*
.main-container { min-height: 75%; }
.main { min-height: 101%; }
*/
/*
figure { padding: 0; margin:0; }
*/
/* fight table overspill */
/*
div { table-layout: fixed; }

.addthis_toolbox { float: right; width: 180px; margin-bottom: 6px; }
.addthis_toolbox::before { float:left; width: 180px; content: "forward this page:"; font-style: italic; font-size: small; color: black; }
footer h3 { float: left; margin: 12px 16px 0 0; }
*//*
footer p { margin: 12px auto 0; line-height: 125%; display: table; font-size: small; text-align: center; color: white; }
footer a, footer a:visited { color:black; }
*/

/* TenderSoft */

/* footer @ foot on short pages */
html { height: 100%;  }
body { height:100vh; min-height: 100%; display: flex; flex-direction: column; }
.main-container { flex: 1 0 auto; }
.header-container, .footer-container { flex: none; flex-shrink: 0; }
/*
.main-container { min-height: 75%; }
.main { min-height: 101%; }
*/

@media only screen and (max-width: 800px) {
 #main>p { margin:0 5%; }
}

figure { padding: 0; margin:0; }

/* fight table overspill */

div { table-layout: fixed; }

.addthis_toolbox { float: right; width: 180px; margin-bottom: 6px; }
.addthis_toolbox:before { float:left; width: 180px; content: "forward this page:"; font-style: italic; font-size: small; color: black; }
footer h3 { float: left; margin: 12px 16px 0 0; }
/*
footer p { margin: 12px auto 0; line-height: 125%; display: table; font-size: small; text-align: center; color: white; }
footer a, footer a:visited { color:black; }
*/

.reverse { margin:0; padding: 2% 0; color:white; background:#9F1D35; }
.table>div:before {
 display:block; content:' '; background:url(images/star.svg) top center no-repeat; background-size: 36px 36px; height:/*4*/8px; width:100%;
}
.reverse .table>div:before { display:none; background:none; }

.replyform { display:block; max-width:100%; }
.centred .replyform { width:auto; margin:auto; }
.replyform td { display:block; width:100%; max-width:100%; }
.replyform textarea { width:100%; }
.replyform td { text-align:left; }

.quote {
 width: 100%; max-width:640px; padding: 0 48px; margin: 16px auto 0;
 background:url(images/rq.svg) right center no-repeat, url(images/lq.svg) left center no-repeat;;
 background-size: 32px 32px;
}
.reverse .quote {
 background:url(images/rrq.svg) right center no-repeat, url(images/rlq.svg) left center no-repeat;;
 background-size: 32px 32px;
}
.mono { background:#e4dbdb; padding: 64px 0; }

.mono .table>div { color:black; border:12px solid #e4dbdb; }
.mono .table>div.reverse { color:white; background:black; }
.mono .table>div:before { display:none; }

.table>div ul, .table>div ol { text-align:left; }

.tight { margin:0; }
.table { margin:1% 5%; }
h1, h2, h3, h4, h5, h6 { margin:0.5em 0; }

@media only screen and (min-width: 1000px) {

.table { display:table; width:100%; margin:32px 0;

border-spacing: 10px;
    border-collapse: separate;

 }
.table>div { background:white; display:table-cell; text-align:center; padding:6px 6px 32px; margin:0 1%; }
.table .addb { display:table-row; }
/*
.table>div { border:1px solid black; padding:1%; }
*/
.replyform { display:table; }
.replyform td { display:table-cell; width:auto; }
}
input, textarea { color:black; }

.button { display:block; margin: 16px auto; padding:0; }
.button a:not(.addb) {
 display:table; width:auto; color:white; background:#9F1D35; padding:7px 12px; border-radius:32px; text-decoration:none;
}
.centred .button a { margin:0 auto; }
.button a:hover { background:#444; }
.button * { padding:0; margin:0; }

.centred { text-align:center; }

footer a, footer a:visited { color:white; text-decoration:underline; }



/* NEW */


#main header { background:#9F1D35; color:white; margin:0 4%; padding:4% 12% 4% 4%; }
#main header:first-child * { margin-top:0; }

nav form { display:none; color:mistyrose; }
nav h3, nav h4 { display:block; width:80%; margin:12px 10% 0; text-align:center; }
nav input { display:block; width:80%; margin:auto; font-weight:bold; margin-top:6px; border:inset maroon 1px; font-size:12pt; }
nav input[type="submit"] { color:white; background:#9F1D35; }




@media only screen and (min-width: 1024px) {
body{
 display:block!important;
/*
 background:linen url(/images/side1.jpg) top left repeat-y;
*/
}
#main { display:relative; max-width:1000px; margin:0 auto; }
#main header { float:left; width:50%; margin-right:-22% }
#main header::after { clear:both; }
#main aside { float:right; max-width:56%; margin: 4% 0 4% -32%; padding:0; border:none; }
#main aside>:not(figure):not(.addb):not(div) { padding:2% 6% 2% 25%; }
#main aside>div { padding:1px 0 1px 25%; }
#nav, #menushow ~ #nav {
display:block;
 top:auto;
/*
 float:left;
*/
margin:0;
 width:320px;
position:relative;
 box-shadow:1px 1px 9px maroon;
}
nav {
 border-bottom:none;
 box-shadow:none;
 width:100%;
}
.header-container .wrapper {
 width:auto;
}
.main-container {
 display:block;
/* float:right;*/
flex:none!important;
/*width:calc( 100% - 320px );*/
max-width:1024px;
margin:0 auto;
position:relative;
}
.main-container .wrapper {
max-width:1024px;
/*float:left!important;*/
}
#clicker { display:none; }


.footer-container { clear:both; }
 .footer-container::after {
 clear:both; content:''; display:block;
}

@media only screen and (min-width: 1863px) {
body{
/*
 display:block!important;
 background: url(/images/side1.jpg) top left repeat-y, url(/images/sideshop.png) right top repeat-y;
 background-color:linen;
*/
}
}


h1, h2, h3, h4, h5, h6 { margin:0.4em 0; }
p:empty { display:none; }


@media only screen and (min-width: 1024px) and (min-height: 640px) {
#nav { position:fixed!important; height:100%; top:0; left:0; bottom:0; background:#320408; }
/* #foot1, #foot2 { margin: 0 60px 0 360px; width:calc( 50% - 216px ); } */
#foot2 { margin:0; }
}
@media only screen and (min-width: 1024px) and (min-height: 768px) {
#nav form { display:block; }
}

nav img { margin:8px }
