
/* icon fonts */

#typeform-full { position: absolute; left: 0; top:0; right:0; bottom: 0; height: 100%; margin-top: 0!important; }
.threecol li a img { border-radius: 30px; }

@font-face {
    font-family: 'customise';
    src: url("fonts/customise.1c43e211f797.eot");
    src: url("fonts/customise.1c43e211f797d41d.eot?#iefix") format('embedded-opentype'),
        url("fonts/customise.4ed9f5a577bc.woff") format('woff'),
        url("fonts/customise.05e148c59851.ttf") format('truetype'),
        url("fonts/customise.a5a876fd77fe.svg") format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Defaults */

html {
    background: none;
    height: 100%;
}

body {
    font: 300 16px/155% 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
    color: #333;
    height: 100%;
    background: #fff;
}

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

a:hover {
    text-decoration: underline;
}

hr {
    border-top: 1px solid #eee;
    border-right: 0px;
    border-bottom: 0px;
    border-left: 0px;
}

/* Headings */

h1 {
    font: normal 600 60px/120% 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
    color: #004767;
}

h2 {
    font: normal 300 32px 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
    margin: 0;
    color: #004767;
}

h3 {
    font: normal 300 18px 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
    color: #004767;
}

h4 {
    font: normal 300 18px 'Roboto Slab', 'Helvetica', 'Arial', sans-serif;
    color: #004767;
}

h5 {
    font: normal 300 16px 'Roboto Slab', 'Helvetica', 'Arial', sans-serif;
    color: #004767;
}

h6 {
    font: normal 300 14px 'Roboto Slab', 'Helvetica', 'Arial', sans-serif;
    color: #004767;
}

blockquote {
    font: italic 600 24px 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
    color: #004767;
}

.icon {
    font-family: 'customise';
}

/*******************************************************
 * The micro clearfix for magical self clearing floats
 * *****************************************************/

.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.group {
    zoom:1;
}

/* common classes */

.white-link {
    color: white;
}

/* Structure */

.wrap {
    width: auto;
    margin: 0 auto;
    padding: 0 40px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;

    background: #144666;
    background: -moz-linear-gradient(left, rgba(19,70,102,1), rgba(19,70,102,0.65));
    background: -webkit-gradient(linear, left top, right top, from(rgba(19,70,102,1)), to(rgba(19,70,102,0.65)));
    background: -webkit-linear-gradient(left, rgba(19,70,102,1), rgba(19,70,102,0.65));
    background: linear-gradient(to right, rgba(19,70,102,1), rgba(19,70,102,0.65));

    margin: 0px;
    padding-top: 1px;
    height: 80px;
}

section#content {
    height: 100%;
    position: relative; /* so that the nav can push the content */
    right: 0; /* the js doesn't assign an inline style on load. this fixes the 'jump' when opening the menu for the first time */
}

footer {
    margin: 10px 0px;
    padding: 20px;
    clear: both;
}

/* Header Styles */

header h1 {
    float: left;
    margin: 0;
}

header h1 a {
    display: block;
}

header h1 a img {
    height: 80px;
    width: auto;
}


/* Messages */

.message {
    position: absolute;
    top: 80px;
    z-index: 10;
    width: 100%;
}

/* top nav */

nav#top-nav ul {
    list-style: none;
    margin: 0px 0px 0px 0px;
    height: 80px;
    padding: 0px;
}

nav#top-nav li {
    float: right;
    position: relative;
}

nav#top-nav li.admin {
    margin-top: 0;
}

nav#top-nav li.nav-expand a span {
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("images/menu.4ff5e6a7c5ba.png");
    background-repeat: no-repeat;
    background-size: contain;

    -webkit-transition: background-image 0.5s ease;
    -moz-transition: background-image 0.5s ease;
    transition: background-image 0.5s ease;
}

nav#top-nav li.nav-expand a:hover span,
nav#top-nav li.nav-expand a:focus span {
    background-image: url("images/menu-hover.3fb8d9b5a5d1.png");
}

nav#top-nav a {
    display: block;
    height: 20px;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding: 30px 60px;
    color: white;
    font: normal 300 16px/20px 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;

    -webkit-transition: background 0.5s ease, color 0.5s ease;
    -moz-transition: background 0.5s ease, color 0.5s ease;
    transition: background 0.5s ease, color 0.5s ease;
}

nav#top-nav a:hover {
    background: white;
    text-decoration: none;
    color: #134666;
}

nav#top-nav ul li ul {
    opacity: 0;
    visibility: hidden;

    position: absolute;
    height: auto;
    width: 100%;
    background: none;

    -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
    -moz-transition: opacity 0.5s ease, visibility 0.5s ease;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

nav#top-nav ul li:hover ul,
nav#top-nav ul li ul.mobile-tap {
    opacity: 1;
    visibility: visible;

    display: block;
    height: auto;
    background: url("images/transparency-fallback.4aa6dd78c273.png") repeat;
    background: rgba(255,255,255,0.7);
}

nav#top-nav ul li ul li {
    float: none;
    width: 100%;

    position: relative;
}

nav#top-nav ul li ul li a {
    display: block;
    float: none;
    height: auto;
    width: 90%;
    border-left: none;
    line-height: 20px;
    font-size: 14px;
    text-align: center;
    padding: 15px 5%;
    color: #134666;
    border-bottom: 1px solid #a1b5c2;
    border-bottom: 1px solid rgba(19,70,102,0.5);
}

nav#top-nav ul li ul li a:hover,
nav#top-nav ul li ul li a:focus {
    background: #eee;
}

/* third level dropdowns */

nav#top-nav ul li:hover ul li ul {
    opacity: 0;
    visibility: hidden;
}

nav#top-nav ul li ul li ul {
    opacity: 0;
    visibility: hidden;

    position: absolute;
    top: 0;
    left: 100%;
}

nav#top-nav ul li ul li:hover ul {
    opacity: 1;
    visibility: visible;
}


/* Main navigation */

nav#main-nav {
    display: block;
    position: fixed;
    z-index: 11;
    right: -200px; /*or width of your navigation panel*/
    width: 200px; /*should match the above value*/
    padding: 0;
    margin-top: 81px;
    height: 100%;
    background: url("images/transparency-fallback.4aa6dd78c273.png") repeat;
    background: rgba(255,255,255,0.7);

    border-left: 1px solid #a1b5c2;
}

/* if the browser supports it, use a box shadow and remove the border */

@supports (-webkit-box-shadow: 0 5px 8px rgba(0,0,0,0.65)) or
          (-moz-box-shadow: 0 5px 8px rgba(0,0,0,0.65)) or
          (box-shadow: 0 5px 8px rgba(0,0,0,0.65)) {

    nav#main-nav {
        -webkit-box-shadow: 0 5px 8px rgba(0,0,0,0.65);
        -moz-box-shadow: 0 5px 8px rgba(0,0,0,0.65);
        box-shadow: 0 5px 8px rgba(0,0,0,0.65);

        border-left: none;
    }
}

nav#main-nav ul {
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

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

nav#main-nav ul li.top-nav {
    display: none;
}

nav#main-nav ul li a {
    display: block;
    padding: 20px 20px;
    font: normal 300 14px 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
    color: #134666;
    border-bottom: 1px solid #a1b5c2;
    border-bottom: 1px solid rgba(19,70,102,0.3);
}

nav#main-nav ul li a:hover {
    background: #eee;
    text-decoration: none;
}

/* column layouts, twocol panel is used on the homepage */

.twocol-panel {
    display: block;
    float: left;
    width: 27%;
    padding: 3%;
    margin: 15% 6% 0 -3%;
    float: left;
    background: none;
    color: #333;

    -webkit-transition: background 0.5s ease, color 0.5s ease;
    -moz-transition: background 0.5s ease, color 0.5s ease;
    transition: background 0.5s ease, color 0.5s ease;
}

.twocol-panel.last { /* preferable to nth-of-type selector for browser support */
    border-right: none;
}

.twocol-panel:hover {
    background: rgba(255,255,255,1);
    text-decoration: none;
}

/* standard columns */

.twocol {
    float: left;
    width: 49%;
    margin-right: 2%;
}

.twocol.last {
    margin-right: 0;
}

/* threecols */

.threecol {
    float: left;
    width: 32%;
    margin-right: 2%;
}

.threecol.last {
    margin-right: 0;
}

/* content */

h1 span.breadcrumbs {
    float: right;
    padding: 16px 5px 0 0;
}

h1 span.breadcrumbs,
a.go-to-arrow,
a.go-home-arrow {
    font: normal 600 42px/120% 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif;
}

h1 span.breadcrumbs span.icon,
a.go-to-arrow span.icon,
a.go-home-arrow span.icon {
    font-size: 36px;
    position: relative;
    top: 3px;
}

h1 span.breadcrumbs a {
    display: block;
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    transition: transform 0.3s ease;
}

h1 span.breadcrumbs a:hover,
h1 span.breadcrumbs a:focus {
    -webkit-transform: translate(5px, 0);
    -moz-transform: translate(5px, 0);
    transform: translate(5px, 0);
    text-decoration: none;
}

article {
    height: 100%;
}

article.page,
div.page {
    margin-bottom: 50px;
    padding: 100px 40px 40px 40px;
    height: auto;
}

article.wrap.narrow,
div.wrap.narrow {
    max-width: 1140px;
}

/* centered text, used on the dashboard login page */

article.centered {
    text-align: center;
}

/* a generic 'object detail' view. used for the blog, case studies and peopel */

article.object-detail .body,
article.object-detail .carousel {
    float: left;
}

article.object-detail div.carousel .carousel-stage img {
    height: auto;
    width: auto;
}

article.object-detail .body {
    width: 45%;
    margin-right: 5%;
}

article.object-detail .body p:first-child {
    margin-top: 0;
}

/* a universal style.... */

.body p:first-of-type:first-letter {
    font-size: 42px;
    font-weight: 400;
    color: #f15a2f;
}

/* a generic class to use in object forms */

article.edit-object {
    height: auto;
    padding: 130px 40px 40px 40px;
}

article.edit-object h1 {
    margin-top: 0;
}

/* the image */

.full-screen-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;

    background-repeat: no-repeat;
    background-size: cover;

    overflow: hidden;
}

.full-screen-image img {
    width: 100%;
    height: auto;
}

/* the overlay */

.full-screen-overlay {
    position: relative;
    height: 100%;
    height: 100vh;
    overflow-y: auto;
    background-repeat: no-repeat;
    background-size: cover;
}

.full-screen-overlay.home {
    overflow-y: auto;
}

/* inner div for text */

.full-screen-overlay .overlay-text {
    width: 58.5%;
    padding: 100px 2% 40px 2%;
}

.full-screen-overlay.both-reversed .overlay-text {
    width: 40%;
    padding: 100px 40px 40px 40px;
}

/* background images for left/right overlays */

.full-screen-overlay.home {
    background-image: url("images/overlay-home.649884dd9ec5.png");
    background-image: url("../home/images/overlay-home-gradient.9613199cce6e.png"), url("images/overlay-home.649884dd9ec5.png");
    background-position: top left;
}

/* left overlay */

.full-screen-overlay.left {
    background-image: url("images/overlay-left.b1ef8f392dbc.png");
    background-position: top left;
}

/* right overlays */

.full-screen-overlay.right {
    background-image: url("images/overlay-right.4e05ac84b787.png");
    background-position: top right;
}

.full-screen-overlay.right.light {
    background-image: url("images/overlay-right-light.79a933a368b6.png");
    background-position: top right;
}

.full-screen-overlay.right.blue {
    background-image: url("images/overlay-right-blue.ea1c019d45be.png");
    background-image: url("../partners/images/overlay-right-gradient.176bdbaf96ba.png"), url("images/overlay-right-blue.ea1c019d45be.png");
    background-position: top right;
}

/* both */

.full-screen-overlay.both {
    background-image: url("images/overlay-both.a7e20114990d.png");
    background-position: top right;
}

.full-screen-overlay.both.reversed {
    background-image: url("images/overlay-both-reversed.c7501a28c505.png");
    background-position: top right;
}

/* flat, dark background */

.full-screen-overlay.dark {
    background-color: none;
}

/* font styles for overlays */

.full-screen-overlay.left .overlay-text {
    text-align: left;
}

.full-screen-overlay .overlay-text h1 {
    margin: 30px 0;
}

.testimonials h2 {
    margin: 20px 0 10px 0;
}

.testimonials h3, /* the partners/people page... */
.featured-case-studies .full-screen-overlay .overlay-text h3 { /* case studies */
    color: #159dc3;
    font-weight: 600;
    font-size: 24px;
    margin-top: 0px;
}

/* font styles for right aligned text */

.full-screen-overlay.right .overlay-text,
.full-screen-overlay.both .overlay-text {
    text-align: left;
    float: right;
    width: 40%;
}

.full-screen-overlay.both.reversed .overlay-text {

}

.full-screen-overlay.right.light .overlay-text {
    text-align: left;
    float: right;
    width: 40%;
}

.full-screen-overlay.dark .overlay-text {
    width: 90%;
}

.full-screen-overlay.dark .overlay-text img {
    display: block;
    margin: 0px auto;
}

/* contact section */

section.contact {
    height: 100%;
    position: relative;

    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.65);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.65);
    box-shadow: 0 0 5px rgba(0,0,0,0.65);
}

section.contact a.down-button {
    margin-top: 35px;
    width: 65%;
}

section.contact .full-screen-overlay.left {
    background-position: top right;
}

iframe.map {
    width: 100%;
    height: 300px;
}

/* object lists. blog/case-studies for now. this is just a generic
 * class that can be applied to anything to be made into a grid.
 * specific styles for each grid should be in the appropriate application
 * css (if there is one) */

.object-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.object-list li {
    float: left;
    width: 19%;
    margin: 0 1% 20px 0;
    overflow: hidden;

    -webkit-transition: -webkit-box-shadow 0.3s ease;
    -moz-transition: -moz-box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
}

.object-list li:hover,
.object-list li:focus {
    text-decoration: none;

    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.65);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.65);
    box-shadow: 0 0 5px rgba(0,0,0,0.65);
}

.object-list li a {
    display: block;
    background: #eee;
    padding: 15px;
    color: #333;
    border: 1px solid #ddd;

    -webkit-transition: border 0.3s ease;
    -moz-transition: border 0.3s ease;
    transition: border 0.3s ease;
}

.object-list li:hover a,
.object-list li:focus a {
    border: 1px solid transparent;
}


.object-list li a h2 {
    margin: 10px 0;
}

.object-list li a h5 {
    margin: 0;
}

.object-list li a img {
    width: 100%;
    height: auto;
    display: block;
}

.object-list li a:hover,
.object-list li a:focus {
    text-decoration: none;
}

/* Footer */

footer {
    position: absolute;
    bottom: 0;
    text-align: center;
    font-size: 12px;
}


