/**
 * Generic elements
 */

body
{
    margin: 0;
    padding: 0;
    background: #c0c0c0;
    color: #5a5a5a;
    font-family: 'Roboto', sans-serif;
    min-width: 350px;
    max-width: 1024px;
    margin: 0 auto;
}

.rteright
{
  text-align: right;
}

.rtecenter
{
  text-align: center;
}

div#container
{
    background: #ffffff;
    padding: 0 30px;
}

div#center
{
    padding: 0 140px;
}

h1, h2, h3, h4, h5, h6
{
    font-family: 'Roboto Slab', serif;
}

h2
{
    font-size: 175%;
}

a
{
    color: #00843d;
    text-decoration: none;
}

a:visited
{
    color: #84bd00;
    text-decoration: none;
}

td
{
    width: auto;
}

/* Logo in header */

div#header
{
    display: table;
    width: 100%;
}

div#header div
{
    display: table-cell;
    vertical-align: middle;
}

div#logo img
{
    width: 25%;
    min-width: 150px;
}

/* Banner with welcome text on front page */ 

div#frontpage-banner
{
    width: calc(100% + 340px);
    margin: 0 -170px;
    background-size: cover;
    overflow: hidden;
    display: table;
    background-image: url('../../../content/images/front_page/welcome_banner.jpg');
}

div#frontpage-banner > div
{
    padding: 50px 50% 50px 60px;
    display: table-cell;
}


/* Thumbnail links on front page */

div#frontpage-thumbs
{
    width: calc(100% + 280px);
    margin: 0 -140px;
    text-align: center;
    font-family: 'Roboto Slab', serif;
}

div#frontpage-thumbs div
{
    width: 280px;
    height: 300px;
    background: #00843d;
}

div#frontpage-thumbs div div
{
    height: 83px;
    line-height: 65px;  
}

div#frontpage-thumbs div div span
{
    display: inline-block;
    vertical-align: middle;
    line-height: normal;      
}

div#frontpage-thumb-left
{
    float: left;
}

div#frontpage-thumb-middle
{
    display: inline-block;
    margin: 0 auto;
}

div#frontpage-thumb-right
{
    float: right;
}


/* Footer */

div#footer
{
    background: #3c5e60;
    color: #ffffff;
    margin: 30px -30px 0px;
    padding: 10px 30px;
}

/* Avoid Firefox FOUC: only show site content once styles are loaded */
/* This doesn't cover Google Fonts... */

html
{
    visibility: visible;
}