html,
button,
input,
select,
textarea {
    color: #333;
}

body {
    font-size: 1em;
    line-height: 1.4em;
    background: #FAFAFA;
}

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


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

body {
    font: 14px/24px Helvetica, Helvetica Neue, Arial, sans-serif;
}

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

/* ===================
    ALL: White Theme
   =================== */

.header-container {
    background: #FAFAFA;
}

.footer-container {
	background: #333 url('../img/style/bg.png') repeat;
}

.main aside {
    background: #FAFAFA;
}

.title, .subtitle {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #808080;
    text-align: center;
}

.subtitle {
    font-weight: normal;
    font-style: normal;
    margin: 0 0 20px 0;
}

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

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    background: #FAFAFA;
}

nav a:hover,
nav a:visited {
    color: #333;
}

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

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

.main {
    padding: 30px 0;
}

.main article h1 {
    font: 2em Georgia, "Times New Roman", Times, serif;
    color: #333;
}

.main article h2 {
    color: #911014;
}

.main aside {
    color: #333;
    padding: 0px 5% 10px;
}

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

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

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

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

.title {
	font-size: 1.2em;
	letter-spacing: .1em;
}

.title a,
.title a:hover,
.title a:visited {
	color:  #333;
	text-decoration: none;
}

h2 {
	font-size: 1.2em;
}

a,
a:visited {
	color:  #911014;
	text-decoration: none;
}

a:hover {
	color:  #911014;
	text-decoration: underline;
}

nav ul li.selected a {
	color:  #911014;
	text-decoration: none;
}

.footer-container footer {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.34);
	font-size: 0.9em;
	line-height: 1em;
}

.main aside li {
    list-style: none outside;
}

.main aside a {
    background: url("../img/style/icon_download.gif") no-repeat scroll 0px 0px transparent;
    padding:  0 0 0 25px;
}


.footer-container footer p {
	margin: .5em 0;
}

.footer-container footer a,
.footer-container footer a:visited {
	color:  #999;
	text-decoration: underline;
}

.footer-container footer a:hover {
	color:  #911014;
	text-decoration: none;
}

.footer-container footer ul,
.footer-container footer ol {
	list-style: none outside;
	padding: 0;
}


label {
   	-moz-box-sizing: border-box;
   	-webkit-box-sizing: border-box;
    cursor: pointer;
    display: block;
    font-weight: bold;
    margin-bottom: 0.1875em;
    vertical-align: baseline;
}

input[type="email"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #FFFFFF;
    border: 1px solid #D2CAD0;
    border-radius: 3px 3px 3px 3px;
    display: inline-block;
    margin-bottom: 0.375em;
    padding: 0.5em;
    width: 100%;
}

.btn {
    background: #1e5799; /* Old browsers */
    background: -moz-linear-gradient(top, #A51017 48%, #7B0E14 52%, #740d13 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(48%,#A51017), color-stop(52%,#7B0E14), color-stop(100%,#740d13)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #A51017 48%, #7B0E14 52%, #740d13 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #A51017 48%, #7B0E14 52%, #740d13 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #A51017 48%, #7B0E14 52%, #740d13 100%); /* IE10+ */
    background: linear-gradient(to bottom, #A51017 48%, #7B0E14 52%, #740d13 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#A51017', endColorstr='#740d13',GradientType=0 ); /* IE6-9 */
    border: 1px solid #7A0D11;
    border-radius: 6px 6px 6px 6px;
    color: #FFF;
    cursor: pointer;
    display: inline-block;
    font-weight: normal;
    line-height: 1.5em;
    margin-bottom: 0;
    padding: 6px 11px;
    text-align: center;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
    vertical-align: middle;
}


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

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        /*width: 27%;*/
        margin: 0 1.7%;
        padding: 12px 2%;
        margin-bottom: 0;
        border: 0 none;
        border-bottom: 1px solid #333;
    }

    nav li:first-child a {
        margin-left: 0;
        border:  0 none;
        border-top: 1px solid #333;
    }

    nav li:last-child a {
        margin-right: 0;
    }
    
/* ====================
    INTERMEDIATE: Main
   ==================== */

    .main aside {
        background: #F5F8FA;
    }

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

    nav ul li {
        display: inline;
    }

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

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

/* ============
    WIDE: Menu
   ============ */

    nav {
        width: 100%;
    }
    
    nav a {
        margin: 0%;
        padding: 5px 17px;
        border:  0 none;
        border-left: 1px solid #333;
        display: block;
    }
    
    nav li:first-child a {
       border:  0 none;
    }
    
    nav li:last-child a {
       border:  0 none;
       border-left: 1px solid #333;
    }
/* ============
    WIDE: Main
   ============ */

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

    .main aside {
        float: right;
        width: 22%;
        background: #FAFAFA;
    }
}

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

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

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    
    nav ul {
    	text-align: center;
   	}
    
    nav a {
        margin: 0%;
        padding: 5px 40px;
        border:  0 none;
        border-left: 1px solid #333;
        display: block;
    }
    
    nav li:first-child a {
       border:  0 none;
    }
    
    nav li:last-child a {
       border:  0 none;
       border-left: 1px solid #333;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

.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 {
    * {
        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;
    }
}