/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}
html {
    font-size: 1em;
    line-height: 1.4;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    /*background: #FFFFFF url('../siteimg/bgtop.png') repeat-x left top;*/
    background: #FFFFFF url('../siteimg/bg_newtop.png') repeat-x left top;
    text-align:center;
}
.wid {
    width:960px;
    margin:auto;
    text-align:left;
}
.newsletter {
}
.shelf {
    height: 270px;
    background: transparent url('../siteimg/bgshelf.png') no-repeat center top;
    border-top: 4px solid #333;
}
/*.shelf nav {*/
.headright {
    width:600px;
    float:right;
    text-align:right;
}
nav {
    clear:right;
    width:100%;
    text-align:left;
    padding-top:40px;
}
nav a:focus, a.proj {
    outline: 0;
    font-weight:bold;
}
.contact {
    display: none;
    background-color:#222;
    color:#fff;
}
.contact a {
    color:#fff;
    text-decoration:underline;
}
.contact a:hover {
    text-decoration:none;
}
.contact, .contacttrigger {
    background: #222 url('../siteimg/bgcontact.gif') repeat left top;
}
.contacttrigger {
    outline:none;
    padding:1em 1em 0.5em 1em;
    background-color:#222;
    color:#fff;
    text-decoration:none;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-top:5px;
}
/*--------------------------------------------*/
.main {
    height: 500px;
    background: transparent url('../siteimg/bg_maintop.png') no-repeat center top;
}
.main .wid {   
    position:relative;
    height: 500px;
    padding:0em 0;
    top:0;
    left:0;
}
.main h1.hd {
    margin:0px;
    font-weight:700;
    color:#444;
}
.h1hold {
    height:45px;
    margin: 21px 0px 21px 32px;
}
.text { /*also styled with /nano below*/
    width    : 540px;
    height   : 400px;
    float: left;
    color:#333;
    background-color:#fff;
    -moz-border-radius    : 8px;
    -webkit-border-radius : 8px;
    border-radius         : 8px;
    margin: 0px 16px ; /* left right around rounded cornered text box*/
    border: solid 1px #ddd;    
}
#placeholderContent {
    padding: 10px 16px 10px 16px; /*acommodate scrollbar*/
}
.contactus .left, footer .left{
    width: 470px;
    float: left;
}
.contactus .right, footer .right{
    width: 470px;
    float: right;
}
.main .right {
    width: 320px;
    margin-right:1em;
    height: 400px;
    float: right;
}
.links {   
    
 }
.links a {   
    display:block;
    margin:1em 0;
    color:#222;
    text-decoration:none;
    background-color:#dedede;
    -moz-border-radius:10px;
    border-radius: 10px;
    padding:0.2em 0.5em;
    text-align:left;
    font-size:0.8em;
}
.links a:hover {
    color:#FFF;
    background-color:#9D1C21;
}
#placeholderContent a {    
    color:#9d1c21;
    text-decoration:none;
}
#placeholderContent a:hover {  
    color:#ba1b21;
    text-decoration:underline;    
}

.featured {
    text-align:left;
    background: #eee url('../siteimg/bg_featnew.png') repeat-x left bottom;
}
.featured .wid {
    padding:0.5em 0 1.5em 0;
}
.featHold {
    text-align:center;
}
.featCont img{
}
footer {
    background: #9d1c21 url('../siteimg/bgfoot.gif') repeat left top;
    color:#fff;
}
footer a {    
    color:#FFF;
    font-weight:bold;
    text-decoration:none;
}
footer a:hover {  
    color:#EEE;
    text-decoration:underline;    
}
.soc {
    text-align: right;
}
.topfoot {
    background: transparent url('../siteimg/dots.gif') repeat-x  left center;
}
.hd {
    font-family:Enriqueta, Arial, serif;
    font-weight:400;
}
/*  9d1c21  */
.tweets, .findus, #contactdetails, #contactform {
    margin: 5% 20%;
    font-size:0.8em;
}
.findus {
    margin-right: 0%;
}
.screenholder {
    z-index:150;
    position: absolute;
    top: 0;
    right: 10px;
    width:595px;
    height:40px;
}
.screenslide {
    width:575px;
    height:59px;
    position:absolute;
    text-align:center;
    overflow:hidden;
    left:10px;
    top: 24px;
    background: transparent url('../siteimg/screen_ball_back.png') repeat-x  left bottom;
}
.screentop {
}
#vidcontent {
    margin: 0px 7px 20px 7px;
    display:none; 
    z-index:498;
}
a.proj {
    position:absolute;
    text-decoration:none;
    line-height:1;
    display:block;
    bottom:0;
    width:250px;
    height:116px;
   /* right:172px;*/
    right:172px;
    z-index:500;
    font-size:0.8em;
    font-weight:700;
    color:#555; /*9D1C21*/
    font-family:Enriqueta, Arial, serif;
    text-align:center;
}
.pause {
    display:none;
    position:absolute;
    width:60px;
    height: 50px;
    right:267px;
    top:192px;    
    z-index:501;
    background: transparent url('../img/pause.png') no-repeat right bottom;    
}
.aud {
    /*display: none;*/
}   
.light {    
    display:none;
    position:absolute;
    width:595px;
    height: 436px;
    right:0;
    bottom:0;
    z-index:499;
    background: transparent url('../img/light.png') no-repeat right bottom;    
}
.dropscreen {
    height:40px;
    display:block;
}
.upscreen {
    height:59px;
    display:block;
}
.updownscreen {
    height:59px;
    display:block;
}
/*--------------------------------------------*/
.but {
    background-color:#a11e23;
    color:#fff !important; 
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding:0.2em 1.4em;
    border: none;
    /* border:1px solid #fff;
    margin:0.2em; */
}
.but:hover {
    background-color:#fff;
    color:#a11e23 !important; 
}
label {
    margin-right:1em;
}
input[type=text] {
    border:2px solid #999;
}
/*-nanoscroller-------------------------------------------*/
/** initial setup **/
.nano {
  position : relative;
  overflow : hidden;  
}
.nano > .nano-content {
  position      : absolute;
  overflow      : scroll;
  overflow-x    : hidden;
  top           : 0;
  right         : 0;
  bottom        : 0;
  left          : 0;
}
.nano > .nano-content:focus {
  outline: thin dotted;
}
.nano > .nano-content::-webkit-scrollbar {
  visibility: hidden;
}
.has-scrollbar > .nano-content::-webkit-scrollbar {
  visibility: visible;
}
.nano > .nano-pane {
  background : rgba(0,0,0,.25);
  position   : absolute;
  width      : 12px;
  right      : 0;
  top        : 0;
  bottom     : 0;
  visibility : hidden\9; /* Target only IE7 and IE8 with this hack */
  opacity    : .01;
  -webkit-transition    : .2s;
  -moz-transition       : .2s;
  -o-transition         : .2s;
  transition            : .2s;
  /*-moz-border-radius    : 5px;
  -webkit-border-radius : 5px;
  border-radius         : 5px;*/
  /**/-moz-border-radius    : 8px;
  -webkit-border-radius : 8px;
  border-radius         : 8px;
}
.nano > .nano-pane > .nano-slider {
  background: #444;
  background: rgba(0,0,0,.2);
  position              : relative;
  margin                : 0 0px;
  /**/-moz-border-radius    : 8px;
  -webkit-border-radius : 8px;
  border-radius         : 8px;
}
.nano:hover > .nano-pane, .nano-pane.active, .nano-pane.flashed {
  visibility : visible\9; /* Target only IE7 and IE8 with this hack */
  opacity    : 0.99;
}
/*-/nanoscroller-------------------------------------------*/





/*--------------------------------------------*/



/*

.contact .left div, .contact .right div {
    margin: auto 20%;
} 
    ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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


