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

@font-face{ font-family:TopFont; src: url('/vix/fonts/texgyreadventor-regular-webfont.woff'); }

html {
    color: #333;
    line-height: 1.4;
}

main { color:#333; }

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

b { color: black; }

h1, h2, h3, h4, h5, h6 { line-height:1; font-family:TopFont,Arial,sans-serif; margin-bottom:0.5em; } /*font-family: Alegreya,Times,serif;*/
main h1 { font-size:24pt; }
main h2 { font-size:18pt; }
main h3 { font-size:14pt; }
main h4 { font-size:12pt; }/*11.5pt; }*/
main h5 { font-size:10pt; }
main h6 { font-size:8pt; }
/*
#main h5 { font-size:7pt; }
#main h6 { font-size:6pt; }
*/

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

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

hr {
    display: block;
    height: 2px;
    border: 0;
    border-top: 1px solid #218719;
    margin: 1em 0;
    padding: 16px 0 32px;
}
figcaption { font-style:italic; line-height:2em; }

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

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

textarea {
    resize: vertical;
}

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

#main { margin:2%; max-width:1400px; }

body {
    font: 18px/24px Helvetica, Helvetica Neue, Arial;
margin:0;
// background:#9BA795;
}

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

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

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

/*
.footer-container,
.main aside {
    border-top: 20px solid #333;//#6E7E4D;
}
*/
/*
.header-container,
.footer-container {
*/
header, footer {
color:white;
    background:#9858F4; /*#48080C; //black; /**/
}
/*
.main aside {
 background:#9BA795;//white;
}
*/
.title { display:none; }
header { height:48px; }

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

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

/* === sub menus ==
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: 42px; left: 12px; border: 3px solid black; }
nav li ul li { width:100%; text-indent:10px; line-height:30px; }
nav li:hover > 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; }

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

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a, nav span {
 width:100%;
 margin: 0!important;
    display: block;
    padding: 15px 0;

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

    color: white;
    background: black;
}
nav span { background:black; }

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: none;
}
*/


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

.main {
    padding: 30px 0;
}

.main article h1 {
}

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

.footer-container footer {
    //color: black;
}

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

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

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

#foot1, #foot2, #foot3 { padding: 1% 0; }
footer a, footer a:visited {
 display:block; color:white; padding: 1% 0;
}

.buildstore, .buildstore h3 { color:dodgerblue; }
.buildstore i { display:block; color:black; font-size:7.5pt; line-height:1.4em; }

nav {
  overflow: hidden;
  background-color: #333;
}

nav a, nav a:visited, nav span {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

nav span { background-color: #444; }

nav a:hover {
  background-color: #ddd;
  color: black;
}

nav a.active {
  background-color: #4CAF50;
  color: white;
}

nav .icon {
 display: none;
}

nav ul {
  padding: 0;
  list-style-type: none;
}
#shoutout { font-size:225%!important; margin:0.25em 0; }



/* LAYOUT */
header>*, nav>*, main>*, footer>*, .wide>* { max-width:90%; margin:auto; }
.wide { width:100%; max-width:none; clear:both; }
.wide::after { content:' '; clear:both; display:block; }
header a { display:block; }
header>a>figure { float:left; margin: 0 12px; }
header a, header a:visited { line-height:48px; color:white; font-weight:bold; text-decoration:none; }
main>section { clear:both; }
/*
.wide>figure:first-child, .wide>figure:first-child>img { width:100%; }
*/
.white { text-shadow: 1px 1px 2px black; }
.wide>figure, .wide>figure>img, .wide>figure>a>img { width:100%; }
.overprint, .overprint>*:not(.addb), .overprint+*, .overprint>figure>img { position:absolute; height:360px; max-height:180%; overflow:hidden; }
.overprint>figure, .overprint>figure>img { height:100%!important; }
.overprint+* { position:relative; display:flex; flex-direction:column; justify-content:center; }
.overprint+* h1, .overprint+* h2, .overprint+* h3 { margin:0; }
.wide>figure:first-child>img { object-fit:cover; object-position:50% 50%; }
.reverse { background:#218719; color:white; padding:18px 0; margin:24px 0; }
.reverse h1, .reverse h2, .reverse h3, .reverse h4, .reverse h5, .reverse h6 { color:white; }
.reverse a, .reverse a:visited { color:white; }
.closeup { margin-top:0; }
.replyform, .replyform * { display:block; max-width:100%!important; }

/* TEXT */
h1,h2,h3,h4,h5,h6 { color:#218719; }
.white, .white h1, .white h2, .white h3, .white h4, .white h5, .white h6 { color:white; }
.cent { text-align:center; }

@media screen and (max-width: 479px) {
/*nav a:not(:first-child) {display: none;}*/
nav a, nav span {display: none;}
nav a.icon {
 float: right;
 display: block;
}
nav.responsive {position: relative;}
nav.responsive .icon {
 position: absolute;
 right: 0;
 top: 0;
}
nav.responsive a, nav.responsive span {
 float: none;
 display: block;
 text-align: left;
}
.title { padding-right:64px; }
}

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

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

.tour {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.tour iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

@media only screen and ( orientation:portrait ) {
 .tour { padding-top:125%; }
}

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

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

.half, .third, .green {
 background: #9BA795; 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; font-family: 'Alegreya',serif; }
.title {
 position: absolute; z-index: 1; background: black;
 width: 100%; height: 42px; 
 left: 0; top: -16px; padding: 9px 5%;
 font-size:16pt;
 line-height:0.5;
}
.title img { display:none; }
nav a:hover { background: #811; }
nav span { background: black; }
*/



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

}
#main>section, #main>aside {
  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>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:6px 12px!important; }
nav a, nav span { padding: 0; font-weight: normal; text-shadow: 1px 1px 3px black, -1px -1px 1px black;
}
*/
.title {
 float:left; margin: 32px 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; }

/*
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;
        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; }
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) {
.l { float:left; width:37%; }
.r { float:right; width:37%; }
.w { width:61%; }
.h { width:49%; }
.l>*:first-child, .r>*:first-child { margin-top:0; }
.fixleft { display:grid; grid-gap:16px; grid-template-columns: 444px auto; }
nav { position: -webkit-sticky; position: sticky; top: 0; z-index:2; }
.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 {
  margin: 0;
  padding: 0 2%;
 float:left; width:50%;
}
#main>section.leftaside {
 float:right;
}
#main>section>div { float:right; width:92%; }
#main>section.leftaside>div { float:left; }
#main>section:after {
 clear:none; display:none;
}

#main>section.leftaside+aside>div { float:right; }

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

#main>aside { width:50%; margin:0; }
#main>aside>div { width:92%; padding: 0 2%; }
#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%; position:relative; z-index:2; }//background:#9BA795; 
//#main>figure+.wrapper { margin-top:-90px; }
#main>figure>img { width:100%; }
*/
#foot1, #foot2, #foot3 { float:left; width: 48%; /*margin-right: 5%;*/ }
#foot1 a, #foot3 a { width:auto; display:inline; }
#foot3 { float:right; text-align:right; /*margin-right:0;*/ }

.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: 840px) {
 .lbox, .rbox { float: left; width:49%; box-sizing: border-box; }
 .rbox { float:right; }
}

@media only screen and (min-width: 1140px) {
main h1 { font-size:7em; font-weight:bold; font-family:impact,helv,sans-serif; }
main h2 { font-size:5em; }
main h3 { font-size:3em; }
main h4 { font-size:1.5em; }
.white h1 { -webkit-text-stroke:1px black; }


/* ===============
    Maximal Width
   =============== */
/*
.wide { width:72%; }
*/
.narrow { width:25%; }

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

/*
@media only screen and (min-width:1428px) {
 #main { margin:2% auto; }
}
*/
@media only screen and (min-width:1600px) {
 header>*, nav>*, main>*, footer>*, .wide>* { max-width:1440px; }
}


/* ==========================================================================
   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 { min-height:100vh; min-height: 100%; display: flex; flex-direction: column; font-family: Arial,sans-serif; }
main { flex: 1 0 auto; }
header, nav, footer { flex: none; flex-shrink: 0; }
figure { padding: 0; margin:0; }

/* fight table overspill */

div { table-layout: fixed; }

