/*-------------------- reset stylesheet --------------------- */
html, body, div, span, h1, h2, h3, h4, p, a, ul, ol, li, img, article, aside, blockquote, figure, figcaption, footer, header, hgroup, menu, nav, section, time {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
    font-weight: normal;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, time {
	display: block;
}
a {
	outline: none;
}


/*-------------------- clearfix --------------------- */
.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }
.cf { *zoom: 1; }


/*-------------------- global styles & structure --------------------- */
body {
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-size: 14px;
}
a {
    text-decoration: none;
    -webkit-transition: all .15s ease-in-out;
  	-o-transition: all .15s ease-in-out;
  	-moz-transition: all .15s ease-in-out;
  	transition: all .15s ease-in-out;
}
a:hover, a:focus {
    -webkit-transition: all .15s ease-in-out;
  	-o-transition: all .15s ease-in-out;
  	-moz-transition: all .15s ease-in-out;
  	transition: all .15s ease-in-out;
}
/* apply a natural box layout model to all elements */
*, *:before, *:after {
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
 }
cite {
    font-style: italic;
}

/* scale all video embeds */
.videowrapper {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
}
.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*--- backgrounds ---*/
/*
.bg-contact {
    background: url(/images/new/bg-sf-bay.jpg) no-repeat center center fixed;
    background-size: cover;
}
*/
.bg-careers {
    background: url(/images/new/bg-office-sf-collage-2.jpg) no-repeat center center fixed;
    background-size: cover;
}
.bg-contact {
    background: url(/images/new/bg-golden-gate-bridge-bw.jpg) no-repeat center center fixed;
    background-size: cover;
}
.bg-grid {
    background: #fff url(/images/new/bg-grid.jpg);
}
.bg-nyc {
    background: url(/images/new/bg-nyc-skyline.jpg) no-repeat center center fixed;
    background-size: cover;
}
.bg-osf {
    /*
    background: url(/images/new/bg-sf-old-map-lg.jpg) no-repeat center center fixed;
    background-size: cover;
    */
    background-color: #fff;
}
.bg-paper {
    background: #fff url(/images/new/bg-paper-texture.png);
}
.bg-rc-hmb-collage {
    background: url(/images/new/bg-rc-hmb-collage.jpg) no-repeat top center fixed;
    background-size: cover;
}
.bg-er-letter {
    /* background-color: #587291; */
    background-color: #fff;
}
.bg-sf-ais {
    /*
    background: url(/images/new/bg-sf-skyline-ais.jpg) no-repeat center center fixed;
    background-size: cover;
    */
    background-color: #fff;
}
.box-shadow {
    -webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.30);
    -moz-box-shadow:    2px 2px 5px 0px rgba(50, 50, 50, 0.30);
    box-shadow:         2px 2px 5px 0px rgba(50, 50, 50, 0.30);
}
.bg-lt-grey {
	background-color: #f5f5f5;
}


/*-------------------- header, footer & navigation --------------------- */
/*--- header ---*/
header#main {
    width: 100%;
    background-color: #eee;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    border-bottom: 1px solid #bfbfbf;
}
header#main .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}
header#main h1 {
    float: left;
    background: url(/images/new/minard-capital-logo-fixed-nav.png) no-repeat;
    background-size: 57px;
    width: 57px;
    height: 50px;
    margin-left: 6%;
    text-indent: -9999px;
}
header#masthead-sub {
    text-align: center;
    padding: 2.44em;
    border-bottom: 1px solid rgba(56, 59, 62, 0.45);
}
header#masthead-sub a {
    display: inline-block;
}
header#masthead-sub h1 {
    background: url(/images/new/minard-capital-logo-masthead-sub-blk.svg) no-repeat;
    background-size: 200px;
    width: 200px;
    height: 167px;
    margin: 0 auto;  
    /* remove text from view w/o using negative text-indent */
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

/*--- main navigation ---*/
nav#primary {
    float: right;
    line-height: 50px;
}
nav#primary ul li {
    list-style-type: none;
    float: left;
    margin-right: 25px;
}
nav#primary ul li:last-child {
    margin-right: 0;
}
nav#primary ul li a {
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 600;
    color: #666;
}
nav#primary ul li a:hover, nav#primary ul li a:focus  {
    color: #0074be;
}
nav#primary ul li a span {
    font-weight: 600;
    font-size: 14px;
}

/* social nav links (Vimeo & YouTube) */
nav#primary .social-links a,
nav#fixed-nav .social-links a {
    font-size: 16px;
}

/* nav badge */
sup.badge {
    font-family: "proxima-nova", sans-serif;
    font-weight: 600;
    color: #0074be;
    vertical-align: text-top;
    line-height: normal;
    font-size: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    padding-top: 0.1em;
    margin-right: -1.4em;
}

/*--- navigation - mobile ---*/
/*--- nav toggle button ---*/
.mobile-nav-toggle {
    float: right;
    z-index: 9999;
    width: 35px;
    height: 25px;
    cursor: pointer;
    display: none;
    margin: 12px 10px 0 0;

}
.mobile-nav-toggle .icon {
    display: block;
    width: 30px;
    height: 5px;
    background-color: #808080;
    position: relative;
}
.mobile-nav-toggle .icon:after, .mobile-nav-toggle .icon:before {
    content: '';
    width: 100%;
    height: 5px;
    background-color: #808080;
    position: absolute;
}
.mobile-nav-toggle .icon:after {
    top: 10px;
}

.mobile-nav-toggle .icon:before {
    top: 20px;
}

/*--- mobile nav menu ---*/
.mobile-nav-menu {
    background: #e5e5e5;
    position: fixed;
    width: 100%;
    top: 70px;
    left: 0;
    border-top: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
    z-index: 9999;
    display: none;
}
.mobile-nav-menu li a {
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    margin: 0 10px;
    border-bottom: 1px solid #d9d9d9;
}
.mobile-nav-menu li:last-child a {
    border-bottom: none;
}
.mobile-nav-menu li a span {
    font-weight: 600;
    font-size: 14px;
}
.mobile-nav-menu ul li a:hover, .mobile-nav-menu ul li a:focus  {
    color: #0074be;
}

/*-- sub-site footer navigation --*/
nav#sub-footer-nav {
    padding: 15px 10% 5px 15%;
}
nav#sub-footer-nav ul {
    margin: 0 auto;
    padding-top: 15px;
    border-top: solid 3px #eee;
    -webkit-columns: 100px 4;
    -moz-columns: 100px 4;
    columns: 100px 4;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
    /*
    -webkit-column-rule: 1px solid #1a242f;
    -moz-column-rule: 1px solid #1a242f;
    column-rule: 1px solid #1a242f;
    */
}
nav#sub-footer-nav li {
    list-style-type: none;
    margin-bottom: 7px;
}
nav#sub-footer-nav a {
    font-weight: 600;
    color: #383b3e;
}

/*--- footer ---*/
footer#main-footer {
}
footer#main-footer p.legal {
    font-size: 12px;
    color: #b3b3b3;
    text-align: center;
    /* border-top: 1px solid #d9d9d9; */
    margin: 0 8%;
    padding: 15px 15px 0 15px;
}


/*-------------------- body content --------------------- */
/*--- base template styles ---*/
.base {
    /*
    -webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.30);
    -moz-box-shadow:    2px 2px 5px 0px rgba(50, 50, 50, 0.30);
    box-shadow:         2px 2px 5px 0px rgba(50, 50, 50, 0.30);
    */
}
article.base {
    color: #404040;
    /*
    margin: 70px auto 0 auto;
    */
    margin: 0 auto;
    padding: 25px;
}
.base h1 {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 15px;
}
.base h1 span {
    font-size: 22px;
}
.base h2 {
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    color: #737373;
    text-align: center;
    padding-bottom: 15px;
    margin: 0 10% 10px 10%;
    border-bottom: 1px solid #ccc;
}

/*--- hedgeworld talk page styles ---*/
article#hw-nyc {
    max-width: 1050px;
}
article#hw-nyc h1 { 
}
article#hw-nyc h1 span {
}
article#hw-nyc h2 {
}
div.video-wrapper {
    width: 100%;
    padding-bottom: 25px;
}

/*--- speaking map page styles ---*/
article#spk-map-body {
    max-width: 1050px;
}
article#spk-map-body p.sub {
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    color: #737373;
    text-align: center;
    padding-bottom: 15px;
    margin: 0 10% 10px 10%;
    border-bottom: 1px solid #ccc;
}

/*--- leaflet map styles ---*/
div#map {
    width: 100%;
    height: 565px;
    position: relative;
    margin-bottom: 25px;
}
.leaflet-popup {
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #404040;
}
.leaflet-popup h3 {
    /* color: #4c6273; */
    color: #000;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
}
.leaflet-popup span {
    display: block;
}
.leaflet-popup span.label {
    text-transform: uppercase;
    color: #0074be;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}
.leaflet-popup span.details-link a {
    color: #0074be;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}
.leaflet-popup span.date, .leaflet-popup span.venue, .leaflet-popup span.city {
    line-height: 14px;
}
.leaflet-popup-content img.epic-logo-map-pin {
    max-width: 110px !important;
    height: auto !important;
}

/*--- ais page styles ---*/
article#ais {
    max-width: 1050px;
}
article#ais h1 cite {
}
article#ais h2 {
    font-style: normal;
    border-bottom: none; /* override base style */
}
div.ais-banner {
    position: relative;
    max-width: 95%;
    margin: 20px auto;
}
div.ais-banner p {
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    font-size: 15px;
    line-height: 20px;
    color: #2a2a2a;
    position: absolute;
    top: 11%;
    left: 28.5%;
    right: 25.5%;
    z-index: 10;  
    /*
    background-color: rgb(255, 255, 255); /* ie 7-8 fallback */
    /*
   	background-color: rgba(255, 255, 255, 0.50);
    */   
}
div.ais-banner p span {
    display: block;
    padding: 2% 0 0 5%;
}
div.ais-banner img {
    max-width: 100%;
    height: auto;
}


/*--- rachel minard bio page styles ---*/
article#rm-bio {
    max-width: 1050px;
}
article#rm-bio h1 {
    padding-bottom: 25px;
}
.bio-main img {
    float: right;
    max-width: 55%;
    height: auto;
    margin: 0 0 2% 3%;
}
.bio-sub {
    margin-bottom: 25px;
}
.bio-sub h2 {
    font-size: 18px;
    font-style: normal;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    border-bottom: 0;
}
.bio-sub li,
.bio-sub p,
.bio-sub a {
    font-size: 16px;
    line-height: 23px;
}
.bio-sub li {
    margin: 0 0 3px 3%;
}
.bio-sub p {
    margin-bottom: 20px;
}
.bio-sub p:last-of-type {
    margin-bottom: 0;
}
.bio-sub a {
    color: #0074be;
    font-weight: 600;
}
.bio-sub a.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 5px 10px;
    border: 1px solid #0074be;
    border-radius: 5px;
}


/*--- flood building page styles ---*/
article#flood-building {
    max-width: 1050px;
}

/*--- ted page styles ---*/
article#ted {
    max-width: 1050px;
}
article#ted h2 {
    border-bottom: none;
}


/*--- philanthropy page styles (general) ---*/
article#philanthropy {
    max-width: 950px;
}
article#philanthropy h1 {
    padding-bottom: 20px;
}
article#philanthropy section {
    height: 290px;
    margin-bottom: 2.5em;
    padding: 2.75% 4%;
    background-size: cover;
    position: relative;
}
article#philanthropy section:last-of-type {
    margin-bottom: 1em;
}
article#philanthropy section h1 {
    font-size: 22px;
    text-align: left;
    padding-bottom: 10px;
}
article#philanthropy section a {
    display: block;
    width: 100%;
    height: 100% !important;
}


/*--- philanthropy:
poetry of purpose block ---*/
#poetry-of-purpose {
    background: #eee url(/images/new/bg-phil-poetry-of-purpose.jpg) no-repeat;  
}
#poetry-of-purpose h1 {
    color: #1c244f;
}
#poetry-of-purpose p {
    color: #fff;
    font-size: 16px;
}
#poetry-of-purpose p b {
    font-weight: bold;
    color: #1c244f;
}

/*--- philanthropy:
fdr ffp block ---*/
#fdr-ffp {
    background: #eee url(/images/new/bg-fdr-four-freedoms-park.jpg) no-repeat;
}
#fdr-ffp h1 {
    color: #333;
}
#fdr-ffp h1 b {
    font-style: italic;
    text-transform: none;
    color: #0074be;
}
#fdr-ffp p {
    color: #404040;
    position: absolute;
    bottom: 15px;
    left: 0;
    padding: 10px 4%;
    background-color: rgb(255, 255, 255); /* ie 7-8 fallback */
   	background-color: rgba(255, 255, 255, 0.75);
}

/*--- philanthropy:
redford center block ---*/
#redford-center {
    background: #eee url(/images/new/bg-phil-redford-center.jpg) no-repeat center center;
}
#redford-center h1 {
    color: #fff;
    text-indent: -9999px;
    background: url(/images/new/redford-center-logo.svg) no-repeat top left;
    background-size: 260px;
    width: 260px;
    height: 17px;
    margin-top: 1.5%;
}

/*--- philanthropy:
stop ivory block ---*/
#stop-ivory {
    background: #eee url(/images/new/bg-phil-stop-ivory.jpg) no-repeat center center;
}
#stop-ivory h1 {
    color: #333;
    text-indent: -9999px;
    background: url(/images/new/stop-ivory-logo.png) no-repeat top left;
    background-size: 100px;
    width: 100px;
    height: 100px;
    margin-top: 1%;
}


/*--- epic returns page styles (UPDATED May 2016) ---*/
article#epic-returns {
    max-width: 775px;
}
article#epic-returns-media {
    max-width: 960px;
}
article#epic-returns h1,
article#epic-returns-media h1 {
    text-indent: -9999px;
    background: url(/images/new/epic-returns-logo-lg.png) no-repeat top left;
    background-size: 275px;
    width: 275px;
    height: 254px;
    margin: 0 auto 10px auto;
}
article#epic-returns h2,
article#epic-returns-media h2 {
    font-size: 20px;
    line-height: 28px;
}
article#epic-returns-media h2 {
    color: #333;
    font-style: normal;
    border-bottom: none;
    padding-bottom: 5px;
}
article#epic-returns h2 b {
    color: #000;
    font-size: 24px;
    font-style: normal;
}
article#epic-returns div#introduction {
    border-bottom: 1px solid #ccc;
    margin: 0 10% 20px 10%;
    padding-bottom: 10px;
}
article#epic-returns div#introduction p {
    font-size: 16px;
    padding: 10px 15px;
}
article#epic-returns div#introduction p b {
    font-weight: bold;
}

/* epic returns thank-you letter & video vignettes (May 2016) */
#epic-returns-media .container {
    width: 100%;
    padding: 0 2% 3%;
}
#er-vid-banner { /* thank you video (Jun 2017) */
    width: 100%;
    margin-bottom: 30px;
}
#er-letter,
#er-videos {
    float: left;
}
#er-letter {
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    font-size: 16px;
    width: 67%;
    margin-right: 3%;
    padding: 0 3.5% 0 0;
}
.er-letter-body p {
    font-size: 1em;
    line-height: 1.5em;
    margin-bottom: 15px;
}
.er-letter-body p:first-child {
    font-size: 1.1em;
}
.er-letter-body p:nth-last-child(2) {
    margin-bottom: 25px;
}
.er-letter-sig p {
    line-height: normal;
}
.rm-sig {
    float: left;
}
.rm-sig img {
    max-width: 120px;
    height: auto;
}
.cb-sig {
    float: right;
    padding-right: 5%;
}
.cb-sig img {
    max-height: 90px;
    width: auto;
}
#er-videos {
    width: 29.9%;
}
#er-videos video {
    width: 100%;
    height: auto;
    cursor: pointer;
}
.er-vignette {
    width: 100%;
    background-color: #595959;
    margin-bottom: 20px;
}
.er-vignette:last-child {
    margin-bottom: 0;
}
.er-vignette h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    /* background-color: #587291; */
    background-color: #383b3e;
    padding: 2% 3%;
}
/* adjust filmstrip container from default */
#epic-returns-media #epic-filmstrip .container {
    padding: 0 4.5%;
}

/*--- epic returns filmstrip ---*/
#epic-filmstrip {
    width: 100%;
    margin-bottom: -17px;
}
#epic-filmstrip .container {
    padding: 20px 25px 0 25px;
}
#buildout-filmstrip {
    clear: both;
    width: 100%;
}
#buildout-filmstrip .filmstrip-container {
    padding: 15px 25px 15px 25px;
}
#buildout-intro {
    width: 100%;
    /*
    background: #eee url(/images/new/bg-mc-office-interior.jpg) no-repeat center center;
    */
    background-size: cover;
    padding: 2.5% 0 2% 0;
    /* border: 1px solid #e5e5e5; */
}
#buildout-intro blockquote {
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    text-align: center;
    margin-bottom: 15px;
}
#buildout-intro blockquote p {
    font-size: 20px;
}
#buildout-intro blockquote p:before {
    color: #333;
    content: "\201C";
    font-size: 3em;
    line-height: 0.06em;
    margin-right: 0.05em;
    vertical-align: -0.4em;
}
#buildout-intro blockquote p:after {
    content: "\201D";
}
#buildout-intro blockquote cite {
    font-size: 16px;
    line-height: 27.648px; /* @ 1.2 ratio */
}
#buildout-intro .intro-body {
    max-width: 440px;
    margin: 0 auto;
}
#buildout-intro .intro-body p {
    padding: 0 5% 15px 5%;
    font-size: 16px;
    text-align: justify;
    text-indent: 20px;
}
#buildout-intro .intro-body q {
    display: block;
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    font-size: 18px;
    text-align: center;
}
#buildout-intro .intro-body q:before {
    content: "\201C";
}
#buildout-intro .intro-body q:after {
    content: "\201D";
}


/*--- epic returns thank you video page ---*/
article#er-ty-video {
    max-width: 1050px;
    text-align: center;
}
article#er-ty-video p {
    padding-bottom: 15px;
}
article#er-ty-video a {
    color: #0074be;
    font-size: 18px;
    font-weight: 600;
}


/*--- slider ---*/
/* fade in slider when loaded; class added via slick slider script */
.slider {
    opacity: 0;
}
.slider.slick-initialized {
    opacity: 1;
    -webkit-transition: opacity .3s ease-out;
    -moz-transition: opacity .3s ease-out;
    -o-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
}

.slider div.slide-content {
    position: relative;
    margin-right: 5px;
}
.slider div p {
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    /* background-color: rgba(255, 255, 255, 0.7); */
    z-index: 5;
    padding: 5px;
    color: white;
}
.slider div img {
    max-height: 160px;
    width:  auto;
    border: 1px solid #666;
}
.slider div video {
    max-height: 160px;
    width: auto;
    border: 1px solid #666;
}


/*--- epic returns invite form styles ---*/
#epic-form-container {
    width: 80%;
    padding-top: 10px;
    margin: 0 auto;
}
form#epic-invite {
    width: 100%;
}
form#epic-invite input, form#epic-invite textarea, form#epic-invite select, form#epic-invite button {
    font-family: "proxima-nova", sans-serif;
}
form#epic-invite > div {
    clear: both;
    overflow: hidden;
    padding: 1px;
    margin: 0 0 15px 0;
}
form#epic-invite > div > label {
    font-size: 18px;
    line-height: 2.5em;
    width: 25%;
    float: left;
    text-align: right;
    padding-right: 10px;
}
form#epic-invite > div > div {
    width: 74%;
    float: right;
}
form#epic-invite label span {
    color: red;
    font-size: 18px;
    font-weight: 600;
}
input[type=text],
input[type=email],
input[type=tel],
input[type=url],
input[type=password],
textarea,
select {
    font-size: 18px;
	width: 90%;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    height: 2.5em;
    padding: 5px 10px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
    outline: 0;
    border-color: #0074be;
}
button[type="submit"] {
    font-size: 18px;
    font-weight: 600;
    float: right;
    cursor: pointer;
    width: 30%;
    margin: 0 7.5% 0 0;
    padding: 1%;
    background-color: #eee;
    border: 1px solid #737373;
}
button[type="submit"]:hover {
    border-color: #0074be;
}
div#epic-form-response {
    color: #404040;
    background-color: rgb(10, 203, 174); /* ie 7-8 fallback */
   	background-color: rgba(10, 203, 174, 0.80);
    text-align: center;
    padding: 2%;
}
div#epic-form-response h3 {
    font-size: 20px;
    font-weight: 600;
}
div#epic-form-response p {
    font-size: 18px;
    margin-bottom: 5px;
}
div#epic-form-response a {
    font-size: 18px;
    font-weight: 600;
    color: #0074be;
}

/*--- our san francisco page styles ---*/
article#our-san-francisco {
    /* max-width: 1050px; */
    max-width: 1100px;
}

/*--- osf header, nav & footer ---*/
header#osf-header {
    position: relative;
    margin-bottom: 10px;
}
header#osf-header p.updated-weekly-badge {
    position: absolute;
    top: 2%;;
    right: 2%;
    width: 85px;
    height: 85px;
    background: url(/images/new/osf/osf-updated-weekly-badge.png) no-repeat;
    background-size: 85px;
    text-indent: -9999px;
}
header#osf-header h1, header#osf-header h2 {
    /*
    background-color: rgb(255, 255, 255);
   	background-color: rgba(255, 255, 255, 0.82);
    */
}
header#osf-header h1 {
    color: #000;
    /* padding-top: 10px; */
    padding: 10px 0 3px;
}
header#osf-header h2 {
    color: #4d4d4d;
    border-bottom: none;
    margin: 0;
}
nav#osf-nav {
    margin: 10px 0 20px 0;
}
nav#osf-nav li {
    float: left;
    list-style-type: none;
    /*
    background-color: rgb(255, 255, 255);
   	background-color: rgba(255, 255, 255, 0.82);
    */
    text-align: center;
    width: 32.66%;
    margin: 0 1% 1% 0;
    border: 1px solid #383b3e;
}
nav#osf-nav li a {
    color: #000;
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 600;
    font-variant: small-caps;
    display: block;
    padding: 10px;
}
nav#osf-nav li a:hover, nav#osf-nav li a:focus {
    color: #0074be;
}
nav#osf-nav li:nth-child(3n) {
    margin-right: 0;
}
nav#osf-nav li:nth-last-child(-n+3) { /* target last row in nav grid */
    margin-bottom: 0;
}
article#our-san-francisco footer#main-footer {
    /*
    background-color: rgb(255, 255, 255);
   	background-color: rgba(255, 255, 255, 0.85);
    */
}
article#our-san-francisco footer#main-footer p.legal {
    color: #a6a6a6;
    padding: 15px;
    border-top: none;
}

/*--- osf scroll to top button (via jquery) ---*/
.scroll-to-top {
    position: fixed;
    background: url(/images/new/scroll-to-top-button.png) no-repeat;
    cursor: pointer;
    width:60px;
    height: 60px;
    bottom: 3%;
    right: 3%;
    padding-right: 10px;
    display: none;
    z-index: 9999; 
}

/*--- osf section styles ---*/
#our-san-francisco section {
    /* padding: 2% 4% 2.5% 4%; */
    padding: 2% 2.5% 2.5% 2.5%;
    /*
    background-color: rgb(255, 255, 255);
   	background-color: rgba(255, 255, 255, 0.85);
    */
    margin-bottom: 25px;
    border: 1px solid #383b3e;
}
#our-san-francisco section h3 {
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    text-transform: uppercase;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 25px;
}

/*--- osf item styles ---*/
.osf-item {
    margin-bottom: 25px;
}
.osf-item:last-of-type {
    margin-bottom: 0;
}
.osf-item .item-logo {
    color: #333;
    margin-bottom: 3px;
}
.osf-item .item-logo img {
    max-width: 180px;
    max-height: 75px;
}
.osf-item .item-container {
    width: 100%;
}
.osf-item .item-photo, .osf-item .item-map {
    width: 20%;
    float: left;
    margin-right: 2.5%;
}
.osf-item .item-map {
    background: #f7f7f7 url(/images/new/osf-loader.gif) no-repeat center center; /* test */
    position: relative;
    padding-bottom: 20%;
    height: 0;
    overflow: hidden;
}
.osf-item .item-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100%; !important;
    border: 1px solid #999 !important;
}

/* loading animation for lazy-loading maps */
.lazyload {
    background: #f7f7f7 url(/images/new/osf-loader.gif) no-repeat center center;
}

/*
.osf-item .item-map iframe {
    width: 180px;
    height: 180px;
    border: 1px solid #999;
}
*/
.osf-item .item-photo img {
    max-width: 100%;
    height: auto;
    border: 1px solid #999;
}
.osf-item .item-desc {
    width: 54%;
    float: left;
}
.osf-item .item-desc h4 {
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    padding-bottom: 5px;
}
.osf-item .item-desc div.quote p {
    font-size: 14px;
    font-style: italic;
    padding-top: 1.5%;
    max-height: 113px /* max-height for readmore plugin */
}
.osf-item .item-desc div.quote p:before {
    content: "\201C";
}
.osf-item .item-desc div.quote p:after {
    content: "\201D";
}

/* readmore.js toggle styles */
.osf-item .item-desc div.quote p + [data-readmore-toggle], selector[data-readmore] {
    color: #0074be;
    font-family: 15px;
    font-weight: bold;
    padding-top: 2px;
}

/*--- contact page styles ---*/
article#contact {
    max-width: 950px;
}
article#contact h1 {
    padding-bottom: 15px;
    margin: 0 10% 15px 10%;
    border-bottom: 1px solid #ccc;
}
article#contact section {
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    width: 70%;
    margin: 0 auto 30px auto;
}
article#contact section h3 {
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 10px;    
}
article#contact section a {
    color: #0074be;
}
article#contact section div.photo, article#contact section div.info  {
    float: left;
}
article#contact section div.photo {
    margin-right: 7%;
    width: 40%;
}
article#contact section div.photo img {
    max-width: 100%;
    height: auto;
}
article#contact section div.info  {
    font-size: 18px;
    width: 52.9%;
    padding-top: 3%;
}
article#contact section div.info span {
    display: block;
    padding-top: 10px;
}

/* contact page testimonial */
article#contact blockquote {
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    padding: 0 11% 3% 11%;
}
article#contact blockquote p {    
    font-size: 20px;
    line-height: 1.5em;
    color: #404040;
    text-shadow: 1px 1px 2px rgba(128, 128, 128, 0.4);
}
article#contact blockquote p:before {
    color: #ccc;
    content: "\201C";
    font-size: 4em;
    line-height: 0.06em;
    margin-right: 0.1em;
    vertical-align: -0.4em;
}
article#contact blockquote p:after {
    content: "\201D";
}
article#contact blockquote b {
    color: #595959;
    display: block;
    font-size: 18px;
    font-weight: normal;
    text-align: right;
    margin: 1% 5% 1% 0;
}
section#minard-capital-contact {
}
section#epic-returns-contact {
}
#contact-map {
    width: 100%;
    height: 375px;
    margin-bottom: 25px;
}

/* contact form */
article#contact section#contact-form {
    background-color: #dee3e7;
    width: 100%;
    padding: 2% 0;
}
section#contact-form h2 {
    color: #404040;
    font-size: 24px;
    font-style: normal;
    padding-bottom: 7px;
    border: 0;
}
section#contact-form p {
    color: #737373;
    font-size: 18px;
    font-style: italic;
    text-align: center;
    margin-bottom: 18px;
}
section#contact-form .container {
    width: 80%;
    margin: 0 auto;
}
form#contact input, form#contact textarea {
    font-family: "proxima-nova", sans-serif;
}
form#contact input {
    width: 48%;
    margin-bottom: 2%;
}
form#contact input.r-margin {
    margin-right: 3%;
}
form#contact textarea {
    width: 99.4%;
    margin-bottom: 2%;
    padding-top: 10px;
}
form#contact textarea.address {
    height: 3.5em;
}
form#contact textarea.inquiry {
    height: 7em;
}
form#contact button[type="submit"] {
    margin-right: 0.5%;
}

/* placeholder text styling */
form#contact input::-webkit-input-placeholder, form#contact textarea::-webkit-input-placeholder {
    color: #808080;
}
form#contact:-moz-placeholder { /* Firefox 18- */
    color: #808080;
}
form#contact::-moz-placeholder {  /* Firefox 19+ */
    color: #808080;
}
form#contact :-ms-input-placeholder {  
    color: #808080;
}

/*--- careers page styles ---*/
article#careers {
    max-width: 800px;
}
article#careers h1 {
    padding-bottom: 15px;
    margin: 0 10% 20px 10%;
    /* border-bottom: 1px solid #ccc; */
}
article#careers h2 {
    font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
    font-style: normal;
    text-transform: uppercase;
    border: 0;
    margin: 0;
}
article#careers h3 {
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    text-align: left;
    margin-bottom: 5px;
}
article#careers b {
    font-weight: 600;
    font-style: italic;
}
article#careers section {
    width: 85%;
    margin: 0 auto 30px auto;
}
article#careers img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
article#careers #introduction p,
article#careers #hiring p {
    font-size: 16px;
    line-height: 1.5em;
	text-align: justify;
    margin-bottom: 25px;
}
article#careers #introduction {
    border-bottom: 1px solid #e5e5e5;
}
article#careers #opportunities h2 {
    text-transform: none;
}
article#careers #opportunities p {
    font-size: 15px;
    line-height: 1.5em;
    margin-bottom: 5px;
}
article#careers #opportunities a,
article#careers #hiring a {
    font-size: 16px;
    /* color: #0074be; */
    color: #404040;
    font-weight: 600;
    text-decoration: underline;
}
article#careers #opportunities a:hover {
    color: #2a8c14;
}
article#careers #legal p {
    font-style: italic;
}

/* careers page - senior consultant position (may 2016) */
#opportunities .position {
    font-size: 20px;
    padding-bottom: 1.2em;
    margin-bottom: 1.44em;
    border-bottom: 1px solid #ccc;
}
#opportunities .position:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
article#careers #opportunities .position p { /* override */
    font-size: 0.75em;
    margin: 0;
}
#opportunities .position header {
    margin-bottom: 3%;
    
}
#opportunities .position h1 {
    font-size: 1em;
    text-align: left;
    padding: 0;
    margin: 0;
    border-bottom: none;
}
#opportunities .position h2 {
    font-family: "proxima-nova", sans-serif;
    color: #000;
    font-size: 0.85em;
    text-align: left;
    padding-bottom: 2%;
}
#opportunities .position ul {
    padding: 0 2% 3% 3.25%;
}
#opportunities .position li {
    font-size: 0.75em;
    padding-bottom: 5px;
}
#opportunities .position ul:last-child,
#opportunities .position li:last-child {
    padding-bottom: 0;
}

/*--- press page styles ---*/
article#press {
    max-width: 1200px;
}
.press-clipping a {
    color: #000;
    display: block;
    position: relative;
    background-color: #eee;
    width: 100%;
}
.press-clipping img {
    display: block;
    width: 100%;
    height: auto;
}
.press-clipping p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    position: absolute;
    bottom: 20%;
    left: 0;
    background-color: rgb(255, 255, 255); /* fallback color */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.2em;
}


/*--- questions & answers section - Mar 2020 ---*/
#questions-answers {
	font-size: 16px;
	background-color: #f5f5f5;
}
#questions-answers h1 {
	font-size: 1.728rem;
	padding-bottom: 0;
	margin-bottom: 1.44rem;
}
#questions-answers .container {
	max-width: 720px;
	margin: 0 auto 2.488rem auto;
}
#qa-inquiry textarea {
	font-family: "proxima-nova", sans-serif;
    font-weight: 400;
	height: auto;
	width: 100%;
	border-radius: 3px;
	padding: 1.44rem;
	margin-bottom: 0.5rem;
}
#qa-inquiry textarea::placeholder {
	font-size: 1.44rem;
}
#qa-inquiry button[type="submit"] {
	float: none;
	width: 100%;
	border-radius: 3px;
}
#qa-answers .card,
#qa-confirmation .response {
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #eee;
	padding: 1.44rem;
	margin-bottom: 1.2rem;
}
#qa-answers .card h3 {
	color: #666666;
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 0.1rem;
}
#qa-answers .card p {
	font-size: 1.2rem;
}
#qa-answers .card p:not(:last-child) {
	margin-bottom: 1rem;
}
#qa-confirmation .response {
	background-color: #73e5b8;
}
#qa-confirmation .response p {
	font-size: 1.2rem;
	text-align: center;
}
#qa-confirmation .response p:first-child {
	margin-bottom: 1rem;
}
#qa-confirmation .response a {
	color: #0074be;
	font-weight: 600;
}


/*--- shared notes - May 2020 ---*/
#shared-notes {
	font-size: 16px;
	padding: 25px;
}
#shared-notes .container {
	max-width: 720px;
	margin: 0 auto 2.488rem auto;
}
#shared-notes .note-single {
	font-family: "utopia-std", Georgia, Times, "Times New Roman", serif;
	background-color: #fff;
	border-radius: 3px;
    border: 1px solid #eee;
    padding: 1.728rem;
    margin-bottom: 1.728rem;
}
#shared-notes .note-single datetime {
	color: #737373;
	display: block;
	font-size: 16px;
	margin-bottom: 10px;
}
#shared-notes .note-single h2 {
	color: #000;
	font-size: 26px;
	text-align: left;
	margin: 0 0 20px 0;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #eee;
}
#shared-notes .note-body p {
	font-size: 16px;
	line-height: 140%;
	margin-bottom: 20px;
}
#shared-notes .note-body p:last-child {
	margin-bottom: 0;
}

/*-------------------- media queries --------------------- */
/* 1150px breakpoint ----------- */
@media only screen 
and (max-width : 1151px) {
    
    /*--- fixed navigation ---*/
    header#main h1 {       
        margin-left: 10%;
    }
    nav#primary {
        line-height: 50px;
    }
    nav#primary ul li {    
        margin-right: 20px;
    }
    nav#primary ul li a {
        font-size: 17px;
    }
    nav#primary ul li a span {
        font-size: 13px;
    }
}

/* tablets (landscape) ----------- */
@media only screen 
and (max-width : 1025px) {
    
    /*--- fixed navigation ---*/
    header#main .container {
        padding: 10px 40px 10px 15px;
    }
    nav#primary {
        line-height: 50px;
    }
    nav#primary ul li a {
        font-size: 16px;
    }
    nav#primary ul li a span {
        font-size: 13px;
    }

}

/* 1000px breakpoint ----------- */
@media only screen 
and (max-width : 1001px) {
    /*--- osf ---*/
    .bg-osf {
        /*
        background: url(/images/new/bg-sf-old-map-mobile.jpg) repeat-y top center;
        background-size: auto;
        */
    }
    article#our-san-francisco {
        padding: 15px;
    }
    #our-san-francisco section {
        padding: 2%;
        margin-bottom: 20px;
    }
   
}

/* 960px breakpoint - mobile nav trigger ----------- */
@media only screen 
and (max-width : 961px) {
    /*--- mobile nav ---*/
    nav#primary {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    
    /*--- ais page styles ---*/
    article#ais {
        padding: 20px;
    }
    div.ais-banner {
        max-width: 100%;
    }
    div.ais-banner p {
        font-size: 14px;
        line-height: 18px;
    }
}

/* 920px breakpoint ----------- */
@media only screen 
and (max-width : 921px) {
    /*--- osf ---*/
    article#our-san-francisco {
        padding: 10px;
    }
    #our-san-francisco section {
        padding: 1.5%;
    }
    #our-san-francisco section h3 { 
        font-size: 24px;
        margin-bottom: 15px;
    }
    nav#osf-nav li a {    
        font-size: 16px;
    }
    .osf-item .item-logo img {
        max-width: 165px;
        max-height: 65px;
    }
    .osf-item .item-photo, .osf-item .item-map {
        width: 16.5%;
        margin-right: 2%;
    }
    .osf-item .item-map {
        padding-bottom: 16.5%;
    }
    .osf-item .item-desc {
        width: 60%;
    }
    .osf-item .item-desc h4 {
        font-size: 15px;
        padding-bottom: 3px;
    }
    .osf-item .item-desc p {
        font-size: 13px;
    }
    .osf-item .item-desc div.quote p {
        font-size: 13px;
        padding-top: 1%;
    }
    
    /*--- careers page ---*/
    article#careers section {
        width: 90%;
    }
    
    /*--- epic returns media page ---*/
    #epic-returns-media .container {
        width: 100%;
        padding: 2% 1%;
    }
    #epic-returns-media #epic-filmstrip .container {
        padding: 0 3.5%;
    }
    #er-letter {
        margin-right: 2%;
        padding-right: 2%;
    }
    #er-videos {
        width: 30.9%;
    }
}

/* 841px breakpoint - mobile nav trigger ----------- */
@media only screen 
and (max-width : 841px) {   
    /*--- ais page styles ---*/
    div.ais-banner p {
        top: 11%;
        left: 20.5%;
        right: 17.5%;
        padding: 15px;
        background-color: rgb(255, 255, 255); /* ie 7-8 fallback */
        background-color: rgba(255, 255, 255, 0.90);
    }
       
}

/* tablets (portrait) ----------- */
@media only screen 
and (max-width : 769px) {
    /*--- press page ---*/
    .press-clipping p {
        font-size: 1.2em;      
        padding: 1em;
    }
    
    /*--- contact page ---*/
    article#contact section {
        width: 75%;
    }
    article#contact section h3 {
        font-size: 20px;
        padding-bottom: 7px;    
    }
    article#contact section div.info  {
        font-size: 16px;
    }
    section#contact-form h2 {
        font-size: 22px;
        padding-bottom: 0;
    }
    section#contact-form p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    /*--- careers page ---*/
    article#careers section {
        width: 95%;
    }
    
    /*--- osf ---*/
    #our-san-francisco section h3 { 
        font-size: 22px;
        margin-bottom: 10px;
    }
    .osf-item .item-logo img {
        max-height: 60px;
    }
    .osf-item .item-photo, .osf-item .item-map {
        width: 15%;
        margin-right: 1%;
    }
    .osf-item .item-map {
        padding-bottom: 15%;
    }
    .osf-item .item-desc {
        width: 68%;
    }
    .osf-item .item-desc h4 {
        font-size: 14px;
        padding-bottom: 2px;
    }
    
    /*--- epic invite ---*/
    article#epic-returns div#introduction p {
        font-size: 15px;
        padding: 10px 15px;
    }
    
    /* epic form type size @ 769px */
    form#epic-invite > div > label {
        font-size: 16px;
    }
    form#epic-invite label span {
        font-size: 16px;
    }
    input[type=text],
    input[type=email],
    input[type=tel],
    input[type=url],
    input[type=password],
    textarea,
    select {
        font-size: 16px;
    }
        
    /*--- epic returns media page ---*/
    article#epic-returns-media h1 {
        background-size: 225px;
        width: 225px;
        height: 208px;
        margin-bottom: 10px;
    }
    .er-vignette h3 {
        font-size: 14px;
    }
}

/* 700px breakpoint ----------- */
@media only screen 
and (max-width : 701px) {
    /* epic form type size @ 701px */
    form#epic-invite > div > label {
        font-size: 15px;
    }
    form#epic-invite label span {
        font-size: 15px;
    }
    input[type=text],
    input[type=email],
    input[type=tel],
    input[type=url],
    input[type=password],
    textarea,
    select {
        font-size: 15px;
    }
    
    /*--- epic returns media page ---*/
    #epic-returns-media .container {
        padding-bottom: 0;
    }
    #er-letter,
    #er-videos {
        float: none;
        width: 100%;
    }
    #er-letter {
        margin-right: 0;
    }
    #er-videos {
        padding-top: 25px;
    }
    .er-vignette {
        float: left;
        width: 48%;
        margin-right: 2%;
    }
    .er-vignette h3 {
        font-size: 13px;
    }
}

/* 681px breakpoint ----------- */
@media only screen 
and (max-width : 681px) {
    /*--- press page ---*/
    .press-clipping p {
        font-size: 1em;      
        padding: 1em;
    }
    
    /*--- contact page ---*/
    article#contact section {
        width: 90%;
    }
    article#contact section h3 {
        font-size: 18px;      
    }
    article#contact section div.info  {
        font-size: 15px;
    }
    section#contact-form .container {
        width: 90%;
    }
    section#contact-form h2 {
        font-size: 20px;
    }
    section#contact-form p {
        font-size: 14px;
    }
       
    /*--- osf ---*/
    nav#osf-nav {
        margin-bottom: 15px;
    }
    nav#osf-nav li {
        width: 49.4%;
    }
    nav#osf-nav li:nth-child(3n) {
        margin-right: 1%;
    }
    nav#osf-nav li:nth-child(2n) {
        margin-right: 0;
    }
    nav#osf-nav li:nth-last-child(-n+3) { /* target last row in nav grid */
        margin-bottom: 1%;
    }
    header#osf-header p.updated-weekly-badge {
        top: 1%;
    }
    .osf-item {
        padding: 2%;
    }
    .osf-item .item-photo, .osf-item .item-map {
        width: 25%;
        margin-right: 1.2%;
    }
    .osf-item .item-map {
        padding-bottom: 25%;
    }
    .osf-item .item-desc {
        clear: both;
        width: 100%;
        margin-top: 10px;
    }
    
    /*--- epic returns thank you video page ---*/
    article#er-ty-video h1 {
        font-size: 22px; 
    }
    article#er-ty-video p {
        margin-top: -10px;
    }
    article#er-ty-video p a {
        font-size: 16px;
    }
    
}

/* 578px breakpoint ----------- */
@media only screen 
and (max-width : 578px) {
    /*--- navigation ---*/
    header#main .container {
        padding: 5px 5%;
    }
    header#main h1 {
        background-size: 46px;
        width: 46px;
        height: 40px;
        margin-left: 4%;
    }
    .mobile-nav-toggle {
        margin: 10px 5px 0 0;

    }
    .mobile-nav-toggle .icon {
        height: 3px;
    }
    .mobile-nav-toggle .icon:after, .mobile-nav-toggle .icon:before {
        height: 3px;
    }
    .mobile-nav-toggle .icon:after {
        top: 8px;
    }
    .mobile-nav-toggle .icon:before {
        top: 16px;
    }
    .mobile-nav-menu {
        top: 50px;
    }
    
    /*--- base template ---*/
    article.base {
        /* margin-top: 50px; */
        padding: 20px;
    } 
    .base h1 {
        font-size: 24px;
        padding-bottom: 10px;
    }
    .base h1 span {
        font-size: 20px;
    }
    .base h2 {
        font-size: 18px;      
        padding-bottom: 10px;
    }
         
    /*--- contact page ---*/
    article#contact section {
        width: 100%;
    }
    
    /*--- ais page styles ---*/
    div.ais-banner p {
        left: 10.5%;
        right: 7.5%;
        padding: 15px;
    }
    
    /*--- epic returns media page ---*/
    article#epic-returns-media h1 {
        background-size: 200px;
        width: 200px;
        height: 185px;
        margin-bottom: 10px;
    }
    #er-letter {
        font-size: 15px;
    }
    .er-letter-body p {
        margin-bottom: 12px;
    }
    .er-letter-body p:nth-last-child(2) {
        margin-bottom: 18px;
    }
    .rm-sig img {
        max-width: 90px;
    }
    .cb-sig img {
        max-height: 67px;
        width: auto;
    }
    
    /*--- epic invite form ---*/
    article#epic-returns {
        padding: 20px;
    }
    article#epic-returns h1 {
        background-size: 250px;
        width: 250px;
        height: 231px;
        margin: 0 auto 10px auto;
    }
    article#epic-returns h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 0;
    }
    article#epic-returns h2 b {
        font-size: 22px;
    }
    article#epic-returns div#introduction {
        margin: 0 2% 5px 2%;
        padding: 7px 0 10px 0;
    }
    article#epic-returns div#introduction p {
        padding: 10px;
    }
    #epic-form-container {
        width: 95%;
    }
    form#epic-invite > div {
        margin: 0 0 15px 0;
    }
    form#epic-invite > div > label {
        width: 100%;
        float: none;
        margin: 0 0 5px 0;
    }
    form#epic-invite > div > div {
        width: 100%;
        float: none;
    }
    input[type=text],
    input[type=email],
    input[type=tel],
    input[type=url],
    input[type=password],
    textarea,
    select {
        width: 100%; 
    }
    form#epic-invite button[type="submit"] {
        width: 100%;
        margin: 0;
    }
    
    /*--- footer ---*/
    footer#main-footer p.legal {
        font-size: 11px;
        margin: 0 4%;
        padding: 15px 10px 0 10px;
    }
}

/* smartphones (landscape) ----------- */
@media only screen 
and (max-width : 481px) {
    /*--- press page ---*/
    .press-clipping p {
        font-size: 0.833em;      
        padding: 1em;
        bottom: 0;
        width: 100%;
    }
    
    /*--- contact page ---*/
    article#contact section h3 {
        font-size: 16px;      
    }
    article#contact section div.info  {
        font-size: 14px;
    }
    article#contact section div.info span {
        padding-top: 5px;
    }
    section#contact-form h2 {
        font-size: 18px;
    }
    section#contact-form p {
        padding: 0 10%;
    }
    
    /*-- rm bio page --*/
    .bio-main img {
        float: none;
        display: block;
        max-width: 100%;
        margin: 0 0 25px 0;
    }
    .bio-sub a.btn {
        display: block;
        text-align: center;
    }
    
    /*--- careers page ---*/
    article#careers section {
        width: 98%;
    }
    #opportunities .position {
        font-size: 18.5px;
    }
    
    /*--- epic returns media page ---*/
    .rm-sig img {
        max-width: 70px;
    }
    .cb-sig img {
        max-height: 53px;
        width: auto;
    }
    
    /*--- epic invite --*/
    article#epic-returns div#introduction {
        margin: 0 1% 3px 1%;
    }
    article#epic-returns div#introduction p {
        font-size: 14px;
        padding-bottom: 7px;
    }
      
    /*--- osf ---*/
    nav#osf-nav {
        margin-bottom: 10px;
    }
    nav#osf-nav li {
        width: 100%;
    }
    nav#osf-nav li:nth-child(3n) {
        margin-right: 0;
    }
    nav#osf-nav li:nth-last-child(-n+3) { /* target last row in nav grid */
        margin-bottom: 1%;
    }
    header#osf-header p.updated-weekly-badge {
        top: 1%;
        width: 65px;
        height: 65px;
        background-size: 65px;
    }
    
    /*--- epic returns thank you video page ---*/
    article#er-ty-video.base {
        padding: 20px 0;
    }
    
    article#er-ty-video h1 {
        font-size: 18px; 
    }
}

/* 461px breakpoint ----------- */
@media only screen 
and (max-width : 461px) {
    /*--- contact page ---*/
    article#contact section {
        margin-bottom: 25px;
    }
    article#contact section div.photo, article#contact section div.info  {
        float: none;
    }
    article#contact section div.photo {
        width: 90%;
        margin-right: 0;
    }
    article#contact section div.info {
        width: 100%;
    }
    article#contact section h3 {
        font-size: 18px;      
    }
    article#contact section div.info  {
        font-size: 16px;
    }
    form#contact input {
        width: 100%;
        margin-bottom: 3%;
    }
    form#contact input.r-margin {
        margin-right: 0;
    }
    
}

/* 400px breakpoint ----------- */
@media only screen 
and (max-width : 400px) {
    /*--- osf ---*/
    header#osf-header p.updated-weekly-badge {
        top: -1%;
        right: -1%;
    }
    
    /*--- epic returns media page ---*/
    .er-vignette {
        float: none;
        width: 100%;
        margin-right: 0;
    }
    #er-videos {
        padding-bottom: 15px;
    }
    .er-vignette {
        margin-bottom: 15px;
    }
}


/* smartphones (portrait) ----------- */
@media only screen 
and (max-width : 321px) {
    /*--- osf ---*/
    header#osf-header p.updated-weekly-badge {
        right: -2.5%;
        width: 50px;
        height: 50px;
        background-size: 50px;
    }
    
    /*--- epic invite --*/
    article#epic-returns div#introduction {
        margin: 0 -3%;
    }
    article#epic-returns div#introduction p {
        font-size: 13px;
        padding-bottom: 5px;
    }
    
    /*--- epic returns thank you video page ---*/
    article#er-ty-video h1 {
        font-size: 17px; 
    }
}