*, *:before, *:after {
    box-sizing: border-box;
}

* { 
    padding: 0; 
    margin: 0; 
}

html {
    background-color: #333333;
}

body {
    font: normal .72em/1.5em 'Trebuchet MS', sans-serif;
    color: #333333;
    background: #333333 url(images/bg.jpg) repeat-x;
    text-align: center;    
    min-height: 100vh;
}

#header {
    height: 100px;
    text-align: left;    
}

#header-content {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 760px;
}

#header-content #logo {
    position: absolute;    
    font: bold 3em 'Trebuchet MS', sans-serif;
    letter-spacing: -1px; 
    color: #FFFFFF;
    margin: 0; padding: 0;
    top: 10px; left: 0px;
}

#header-content #slogan {
    position: absolute;    
    font: bold 1.1em 'Trebuchet MS', sans-serif;
    text-transform: none;
    color: #FFFFFF;    
    margin: 0; padding: 0;
    top: 55px; left: 40px;
}

#header-content ul {
    position: absolute;
    right: -5px; top: 15px;
    font: bolder 1.3em 'Trebuchet MS', sans-serif;
    color: #FFFFFF;
    list-style: none;
    margin: 0; padding: 0;        
}

#header-content li {
    display: inline;
}

#header-content li a {
    float: left;
    display: block;
    padding: 3px 12px;    
    color: #FFFFFF;
    background-color: #333;
    text-decoration: none;
    border-right: 1px solid #272727;
    border-radius: 5px;
}

#header-content li a:hover, 
#header-content li a#current {
    background: #3866a8;
    color: #FFFFFF;
}

#mainBox, #mainBoxR, #mainBoxC {
    position: relative;
    display: block;
    color: #FFFFFF;
    margin: 10px auto 0 auto;
    width: 760px;
    background-color: #222222;
    border: 2px solid #272727;
    border-radius: 10px;
    box-shadow: 0 0 1px 1px #000000;
}

#mainBox { height: 300px; }
#mainBoxR { height: 750px; }
#mainBoxC { height: 450px; }

#mainTextheader {
    position: absolute;
    text-align: left;
    color: #FFFFFF;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    font-size: 24px;
    font-weight: bold;
}

#mainText {
    position: absolute;
    text-align: left;
    color: #FFFFFF;
    top: 40px;
    left: 10px;
    width: calc(100% - 20px);
    font-size: 13px;
    height: auto;
}

#leftSub {
    position: absolute;
    display: block;
    color: #FFFFFF;
    top: 10px;
    left: 10px;
    width: 300px;
    height: auto;
}

#rightSub {
    position: absolute;
    display: block;
    color: #FFFFFF;
    text-align: right;
    top: 10px;
    left: 310px;
    width: 380px;
    height: auto;
}

input.input_text {
    width: 100%;
    margin-bottom: 10px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    padding: 5px;
}

textarea.message {
    width: 100%;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    padding: 5px;
    resize: none;
}

button[type="submit"] {
    margin-top: 10px;
    padding: 8px 20px;
    background: #3866a8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

button[type="submit"]:hover {
    background: #4a85d6;
}

#footerBox {
    position: relative;
    display: block;
    width: 760px;
    margin: 10px auto 30px auto;
    text-align: right;
}

#footerTextheader {
    display: block;
    color: #AAAAAA;
    font-size: 24px;
    margin: 0;
    padding: 0;
}

#footerText {
    display: block;
    color: #AAAAAA;
    margin-top: -5px;
    padding: 0;
    line-height: 1.4em;
}

#boldText { font-weight: bold; }

#socialBadges {
    display: inline-block;
    color: #FFFFFF;
}

.g-recaptcha {
    display: block;
    margin-top: 10px;
}

a:link, a:visited, a:active { color: #FFFFFF; text-decoration: underline; }
a:hover { color: #3866a8; }

#header-content a { text-decoration: none; }