
/* Defaults */
body
{
    background: url("images/background.e82e938d5f18.jpg");
    font: normal 12px 'Open sans', 'Arial', Helvetica, sans-serif;
    color: #333333;
}

a
{
    color: #333333;
    text-decoration: none;
    outline: none;
}

a:hover,
a:active,
a:focus
{
    text-decoration: none;
    color: #e9ca1a;
    outline: none;
}

p
{
    font: normal 13px 'Open sans', 'Arial', Helvetica, sans-serif;
    line-height: 180%;
}


iframe#map
{
    float: right;
}


/* Generic, reusable styles */

div.intro
{
    position: absolute;
    bottom: 0;
    left: 55px;
    background: rgba(255,255,255,0.5);
    width: 47%;
    padding: 25px;
}

div.intro p
{
    font: normal 20px 'Open sans', 'Arial', Helvetica, sans-serif;
    background: rgba(255,255,255,0.7);
    color: #333333;
    margin: 0;
    line-height: 190%;
    padding: 25px 15px;
}

span.blue
{
    color: #23357D;
}

a.small
{
    font-weight: bold;
    font-size: 20px;
    text-transform: none;
    color: #23357D;
}

/* A generic button, other buttons often inherit from this */

a.generic-button
{
    display: block;
    font-size: 16px;
    padding: 10px 15px;
    margin: 10px 0px;
    background: white;
    color: #333;
    border: 1px solid #d3d3d3;
    transition: 0.2s box-shadow ease;
    -moz-transition: 0.2s box-shadow ease;
    -webkit-transition: 0.2s box-shadow ease;
}

a.generic-button:hover,
a.generic-button:focus
{
    text-decoration: none;
    box-shadow: 0px 0px 10px #888;
    -moz-box-shadow: 0px 0px 10px #888;
    -webkit-box-shadow: 0px 0px 10px #888;
}

/* Specific to homepage left/right action buttons */

a.generic-button.left,
a.generic-button.right
{
    float: left;
    width: 46.1%;
    margin-right: 20px;
    padding: 20px 15px;
}

a.generic-button.right
{
    margin-right: 0;
}

a.generic-button.left img,
a.generic-button.right img
{
    float: left;
    margin-right: 10px;
}

a.generic-button.left h1,
a.generic-button.right h1
{
    float: right;
    font-size: 64px;
    margin: 5px 0px 0px 5px;
    font-weight: normal;
    color: #666666;
    font-family: 'Times New Roman', serif;
}

a.generic-button.left h2,
a.generic-button.right h2
{
    margin-top: 0;
}

a.generic-button.left p,
a.generic-button.right p
{
    font-size: 14px;
    margin-bottom: 0;
}

/* Specific to project index list */

ul.project-list {
    list-style: none outside none;
    padding-left: 0;
    margin: 0;
}

ul.project-list li {
    float: left;
    width: 48%;
}

ul.project-list li:nth-of-type(odd) {
    margin-right: 2%;
}

a.project-snippet.generic-button
{
    padding: 10px;
    min-height: 180px;
}

a.project-snippet.generic-button img
{
    float: left;
    margin-right: 20px;
}

/* Specific to the category list */

a.project-category.generic-button
{
    display: block;
    width: 46%;
    float: left;
    position: relative;
    overflow: hidden;
    height: 245px;
}

a.project-category.generic-button h2
{
    background: rgba(207, 207, 207, 0.85);
    position: absolute;
    width: 100%;
    padding: 10px;
    width: 90.4%;
    margin: 0;
    text-align: center;
}

a.project-category.generic-button:nth-of-type(odd)
{
    margin-right: 20px;
}

a.project-category.generic-button p
{
    position: absolute;
    top: 260px;
    left: 0;
    font-weight: bold;
    text-align: center;
    display: block;
    width: 100%;
    padding: 10px 0px;
    background: rgba(35, 53, 125, 0.9);
    color: white;
    transition: 0.3s top ease;
    -moz-transition: 0.3s top ease;
    -webkit-transition: 0.3s top ease;
}

a.project-category.generic-button:hover p
{
    top: 210px;
}


/* Project List View */

ul#project-list
{
    padding-left: 0;
    list-style: none outside none;
}

ul#project-list li
{
    padding: 5px 10px;
}

ul#project-list li:nth-of-type(2n+1)
{
    background: #EAEAEA;
}

ul#project-list li p
{
    display: inline-block;
    width: 33%;
    margin: 0;
}

ul#project-list li p:nth-of-type(2)
{
    width: 45%;
}

ul#project-list li p:nth-of-type(3)
{
    width: 21.5%;
}

ul#project-list li a p
{
    color: #23357D;
}

ul#project-list li a:hover p,
ul#project-list li a:focus p
{
    text-decoration: underline;
}

/* List Styles */



/* Headings */
h1
{
    font: normal 20px 'Michroma', Helvetica, sans-serif;
    color: #003755;
    text-transform: uppercase;
    margin: 10px 0px 35px 0px;
}

h2
{
    font: normal 18px 'Michroma', Helvetica, sans-serif;
    color: #003755;
}

h3
{
    font: normal 14px 'Michroma', Helvetica, sans-serif;
    color: #000000;
}

h1.intro {
    text-transform: none;
    color: #333333;
    margin: 40px 0 25px 0;
}

/* Clearfix */

.clearfix:after
{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix
{
    display: inline-block;
}
.clearfix
{
    display: block;
    zoom: 1;
}


/* Generic Styles */

div#wrap,
ul#main-nav
{
    max-width: 1140px;
    margin: 0px auto;
}

header#header hgroup,
ul#main-nav
{
    width: 1090px;
}

header#header hgroup
{
    margin: 0px auto 0px auto;
}

header#header hgroup h1 {
    margin: 0px;
}

div#wrap
{
    box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    -webkit-box-shadow: 0px 0px 10px #000;
    margin-bottom: 30px;
}

section#content
{
    padding: 25px;
    background: #f3f3f3;
}

/* Breadcrumb styles */

h2.breadcrumb
{
    padding: 20px 30px;
    margin: 0;
    background: #cfcfcf;
    display: block;
    color: #545454;

}

h2.breadcrumb a
{
    color: #23357D;
}

h2.breadcrumb a:hover,
h2.breadcrumb a:focus
{
    text-decoration: none;
}

/* Header */
header#header
{
    padding-top: 0px;
    background: white;
    background-image: linear-gradient(left, #ffffff 20%, #f3f3f3);
    background-image: -moz-linear-gradient(left, #ffffff 20%, #f3f3f3);
    background-image: -webkit-linear-gradient(left, #ffffff 20%, #f3f3f3);
    margin-bottom: 35px;
}

header h3 a
{
    color: #333333;
    height: 70px;
}

header#header hgroup h2
{
    font: normal 11px 'Michroma', sans-serif;
    text-align: right;
    float: right;
    margin-top: 112px;
}

header#header hgroup h2 span.small
{
    font-size: 15px;
}

header#header hgroup h2 a
{
    color: #e9ca1a;
}

/* Logo */


header h1 a
{
    text-decoration: none;
}


/* Contact */
header h3
{
    float: right;
    margin-top: 40px;
    line-height: 160%;
    text-align: right;
}

/* Main navigation */

nav
{
    background: #003755;
}

ul#main-nav
{
    padding-left: 0px;
}

ul#main-nav li
{
    list-style: none;
    float: left;
    margin: 0px;
}

ul#main-nav li:first-child
{
    margin-left: 0px;
    border-left: 1px solid #a2a9c6;
}

ul#main-nav a
{
    text-decoration: none;
    padding: 15px 37px;
    font: normal 11px 'Michroma', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    border-right: 1px solid #a2a9c6;
    display: block;
}

ul#main-nav a:hover
{
    color: #e9ca1a;
    background: #004d76;
}

ul#main-nav li ul
{
    display: none;
    position: absolute;
    padding-left: 0;
    z-index: 100;
}

ul#main-nav li:hover ul
{
    display: block;
}

ul#main-nav li ul li
{
    float: none;
    margin: 0px;
}

ul#main-nav li ul li a
{
    width: 100%;
    display: block;
    border-bottom: 1px solid #a2a9c6;
    border-right: 0;
    background: #004d76;
    padding: 5px 10px;
    text-align: center;
}

ul#main-nav li ul li a:hover
{
    background: #003755;
}


/* Content */

div#content
{
    float: left;
    width: 75%;
}

img.left
{
    float: left;
    margin-right: 20px;
}

img.right
{
    float: right;
    margin-left: 20px;
}

article#profile p
{
    margin-top: 0;
    min-height: 180px;
}


/* Sidebar */

aside#sidebar
{
    float: left;
    width: 23.9%;
    margin-left: 1.1%;
}


/* Footer */
footer
{
    clear: both;
    padding: 15px 0px 0px 0px;
    background: #003755;
    color: white;
    width: 100%;

}

footer a
{
    color: #fff;
}

footer div#footer-wrap
{
    max-width: 1140px;
    margin: 0px auto;
}

footer p:first-of-type
{
    float: left;
    margin: 0px;
    font: normal 11px 'Michroma', sans-serif;
}

footer p:last-of-type
{
    margin: 0px 0px 0px 800px;
    font: normal 11px 'Michroma', sans-serif;
}
