@import url(https://fonts.googleapis.com/css?family=Signika:400,600|Anton|Noticia+Text);
.signika { font-family:Signika,'Times New Roman',serif; }
.anton { font-family:Anton,Impact,'Arial Bold',sans-serif; }
.noticia { font-family:'Noticia Text','Times New Roman',serif; }
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

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

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

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

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 4px solid #00aa9c;
    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 Arial, Helvetica, Helvetica Neue;
}
h1,h2,h3,h4,h5,h6 { line-height:1; font-weight:normal; }

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

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

.footer-container,
.main aside {
    border-top: 20px solid #666258;
clear:right;
}
.main>aside>h1 {
 margin:-21px -17.9% 36px;
 padding: 12px 0; text-align:center;
 background: rgb(0,145,135);
 background: -moz-linear-gradient(top,  rgb(0,145,135) 50%, rgb(0,112,99) 50%);
 background: -webkit-linear-gradient(top,  rgb(0,145,135) 50%,rgb(0,112,99) 50%);
 background: linear-gradient(to bottom,  rgb(0,145,135) 50%,rgb(0,112,99) 50%);
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009187', endColorstr='#007063',GradientType=0 );

}

.header-container {
    background: white;
}
.footer-container {
    background: #1f7575;
border-color:white;
}
.main aside {
    background: #666258;
    color: white;
}

.footer-container a, .footer-container a:visited { color: pink; }

.title {
    color: white;
}

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

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

nav a, nav span {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

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

    color: white;
    background: #666258;
}
nav span { color: lightblue; }

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

nav a:hover {
/*
    text-decoration: underline;
 outline: 1px solid red;
*/
 background: teal;
}

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

.main-container {
 padding: 24px 0;
}
.main {
    padding: 30px 0;
background:#dbb89a;
border-radius:8px;
}
.main article {
 padding-left:2%;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    padding: 0 5% 10px;
box-sizing: border-box;
}
.main aside.nopad {
 padding: 0;
}
.main aside input, .main aside textarea { color: black; background: mistyrose; }

.footer-container footer {
    padding: 20px 0;
}

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

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

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

figure, img { max-width:100%!important; height:auto; margin:0; } /*margin?*/
html { height: 100%; }
body { min-height: 100%; }
body { display: flex; flex-direction: column; }
.main-container { flex:auto; }
.header-container, .footer-container { flex: none; }

.replyform input { max-width: 180px; }
.replyform, .replyform textarea { max-width: 240px; }
aside textarea { max-width: 90%; }

.incap,.outcap{
 font-family: tahoma,arial,helvetica,helv,sans-serif,sans; font-size: 8pt;
 font-style: normal; font-weight: bold; text-decoration:none;
}
.incap{
 position:absolute; padding: 4px; color:white; background-color:black;
 filter:alpha(opacity=75); -moz-opacity:0.75; opacity: 0.75;
}
.outcap{ width:100%; padding:0; padding-bottom:3px; }
.mid p { text-align:center; }
.right p { text-align:right; }
.left p { text-align:left; }
.picdiv p { margin:0; }

.centred { text-align:center; }
.bigtext { font-size:200%; }
.midtext { font-size:140%; }

.leftcol, .rightcol { width:49%; min-width:240px; float:left; }
.rightcol { float:right; }

.roundpic img { border-radius:50%; }

.undernogap * { margin-bottom:0; }
.overnogap * { margin-top:0; }

.teal { color:#00aa9c; }
.grey { color: #666258; }

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

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */
.header-container {
    border-bottom: 48px solid #666258;
}

nav {
 width:100%;
text-align:right;
}
#mainmenu {
position:absolute;
width:50%;
right:0;
}

    nav a, nav span {
        float: left;
        /*width: 27%;*/
        margin: 0 1.7%;
        padding: 11px 1%;
        margin-bottom: 0;
    }

    nav li:first-child a, nav li:first-child span {
        margin-left: 0;
    }

    nav li:last-child a, nav li:last-child span {
        margin-right: 0;
    }

/*
nav > ul { float: right; }
nav > ul li { position: relative; float: left; }
nav > ul > li > a, nav > ul > li > span { width: 90px; min-height: 78px; }
nav > ul li ul { position: absolute; top: 96px; left: 0; }
nav > ul li ul li a { width: 100%; }

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

.title { color: white; position:absolute; padding:0; margin: 6px 0 0; }
nav { margin-top: 18px; }
/*temp
.header-container { background: maroon }
*/

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

    nav ul li {
        display: inline;
    }

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

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

/* ====================
    WIDE: CSS3 Effects
   ==================== */
.main {
        -webkit-box-shadow: 6px 4px 5px #422;
           -moz-box-shadow: 6px 4px 5px #422;
                box-shadow: 6px 4px 5px #422;
}
/*
    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }
*/

/* ============
    WIDE: Menu
   ============ */
/*
    .title {
        float: left;
    }
    nav {
        float: right;
        width: 38%;
    }
*/
/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 38%;
    }
/*nav a, nav span { width: 18%; }*/
}

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

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

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
.replyform, .replyform input, .replyform textarea, aside textarea { max-width: none; }
}

/* ==========================================================================
   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;
    }
}






/* nivo */

.nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(/vixfn/nivo/themes/default/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
	opacity: 0;
	-webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
.nivoSlider:hover .nivo-directionNav a { opacity: 1; }
a.nivo-nextNav {
	background-position:-30px 0;
	right:15px;
}
a.nivo-prevNav {
	left:15px;
}
.nivo-controlNav { display: none; }
.nivoSlider img { max-width: none!important; }

