/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

::-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;
}


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

body {
    font: normal 16px/18px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #191919;
}

a {
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

a {
    color: #08c;
}

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

a:hover, a:focus {
    color: #005580;
}

img {
    max-width: 100%;
}

input,
textarea {
	padding: 3px;
    resize: none;
}
.textarea{
    border: none;
}

h2 {
    color: #E50000;
    font-weight: normal;
    font-size: 1.625em;
    margin: .8em 0;
}

h2,
.main article h3 {
    font-family: 'Slab', Georgia, serif;
}

.main article h3 {
    font-size: 18px;
    font-size: 1.125rem;
    margin: 0 0 .88em;
}

#jobs h3 {
    font-size: 14px;
    font-size: .875rem;
    text-transform: uppercase;
    margin: 0 0 .2em;
}

.title {
    float: left;
    color: #999;
    max-width: 100%;
}

.title img {
    float: left;
}

.oldie .wrapper {
    width: 984px;
    padding-left: 1.25em;
    padding-right: 1.25em;
}

.wrapper {
    max-width: 984px;
}

.wrapper {
    margin-left: auto;
    margin-right: auto;
}

.col .inner {
    padding-top: 1em;
}

.col-right {
    margin-left: -2px;
}

.col-left .inner {
    padding-right: 1.5em;
    border-right: 2px solid #f2f2f2;
}

.col-right .inner {
    padding-left: 1.5em;
    border-left: 2px solid #f2f2f2;
}

.col .inner > .header, .col .inner > .intro{
    margin-top: 0;
}

.oldie .mast {
    min-height: 81px;
}

.mast .social {
    margin: 1em 0;
    float: right;
}

.social {
    line-height: 1.55;
}

.social > span {
	color: #999;
	position: relative;
	top: -15px;
	font-weight: bold;
	font-size: 16px;
	font-size: 1rem
}

.social ul {
	list-style: none;
  padding: 0;
	margin: 0;
	display: inline-block;
	font-size: 28px;
	font-size: 1.75rem;
}

.social li {
    float: left;
    margin-left: 0.3em;
    padding-right: 0.3em;
}

.social a {
    color: #b7b7b7;
}

.social a:hover, #video-close:hover {
    color: #f02f0f;
}

.video-container {
    background: #ddd;
}

.video-container, .video-container .wrapper, #video-placeholder {
    height: 418px;
    position: relative;
}

.video-container .wrapper {
    padding-left: 0;
    padding-right: 0;
}

#video-preview {
    font-size: 128px;
    font-size: 8rem;
    line-height: 418px;
    text-align: center;
    background: url(../img/rd-hero-bg.png) no-repeat center center scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	z-index: 1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#video-preview a {
    color: white;
}

#video-preview a:hover {
    color: #f02f0f;
}   

#video {
    z-index: 100;
}

#video-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.no-js #video-play,
.no-js #video-overlay {
    display: none;
}

#video-loader {
    text-align: center;
    position: relative;
    height: 100%;
}

#video-loader img {
    position: absolute;
    top: 50%;
		left: 50%;
    margin-top: -32px;
		margin-left: -32px;
}

#video-close {
    position: absolute;
    color: #999;
    top: .35em;
    right: -1.25em;
    font-size: 40px;
    font-size: 2.5rem;
}

.video-controls {
    background-color: #F2F2F2;
    color: #808080;
    font-size: 20px;
    font-size: 1.25rem;
    font-family: 'Slab', Georgia, serif;
    text-align: center;
}

.video-controls a {
    color: #f02f0f;
}

.video-controls a.inactive, .video-controls a:hover {
    color: #999;
}

.video-controls a.inactive:hover {
    cursor: default;
}

.video-controls span {
    display: inline-block;
    margin: 0 .625em;
    padding: .2em 0;
    text-align: left;
}
.video-select-wrapper {
    display: table;
    text-align: center;
    background-color: #cccccc;
    width:100%;
}
.video-select {
    font-family: 'Bitter', Georgia, serif;
    font-size: 20px;
    font-size: 1.35rem;
    color: #7f7f7f;    
    height: 40px;
    display: table-cell;
    vertical-align: middle;
}
.video-option {
    margin-left: 25px;
    color:#a6a6a6;
}
.video-option:hover {
    color: #f02f0f;
    cursor:pointer;
}

.main-container .apply {
    padding-left: 0;
    padding-right: 0;
}

/*.apply p {
    padding: 0 1em;
}*/

.main aside {
    float: left;
    width: 32%;
}

#jobs {
    padding-bottom: .5em;
}

#jobs ul {
    list-style: none;
    padding: 0 0 1.5em;
    font-size: 13px;
    font-size: .8125rem;
    margin: 0;
}

#jobs li {
    margin-bottom: .2em;
}

#jobvite {
    padding: .5em 0;
}

.job-type {
    font-weight: bold;
    margin-bottom: 1em;
}

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

.main article .inner {
    padding-top: 1.5em;
    padding-left: 3em;
}

.main article p {
    font-size: 15px;
    font-size: .9375rem;
    line-height: 1.3125;
}

.main article p.intro:first-line {
    font-size: 20px;
    font-size: 1.25rem;
}

#team {
    border-top: 2px solid #F2F2F2;
    margin-top: 2em;
}

#team .bio {
    float: left;
}

#team .bio blockquote {
    margin: 0;
    padding: 0 1em;
}

#team .bio blockquote footer {
    position: relative;
    margin-top: .25em;
    font-style: normal;
}

#team bio blockquote p {
	font: normal 16px/18px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #191919!important;
}

#team .bio-quote cite {
    display: block;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-size: 13px;
}

#team .bio-quote {
    width: 88%;
    float:right;
}
#team .bio-office {
    width: 50%;
    float:right;
    margin-left: 15px;
}

.toprule {
	border-top: 2px solid #F2F2F2;
	padding-top:1.5em;
}

.bio-office {
    height: 0;
    padding-bottom: 30%;
    background-size: 100%;
/*    background-image: url(../img/officeshots.jpg);*/
/*    background-size: 400%;*/
}

.bio-img {
    width: 12%;
    height: 0;
    padding-bottom: 12%;
/*    background-image: url(../img/headshots.jpg);*/
    background-size: 100%;
}

.bio-img-one {
    background: url(../img/rd-beckus.png) no-repeat;
}
.bio-office-one {
    background: url(../img/rd-netravel.png) no-repeat;
}

.bio-img-two {
    background: url(../img/rd-lee.png) no-repeat;
}
.bio-office-two {
    background: url(../img/rd-schoolchildren.png) no-repeat;
}

.bio-img-three {
    background: url(../img/rd-grove.png) no-repeat;
}
.bio-office-three {
    background: url(../img/rd-admissions.png) no-repeat;
}

.bio-img-four {
    background: url(../img/rd-helmenstine.png) no-repeat;
}
.bio-office-four {
    background: url(../img/rd-chemistry.png) no-repeat;
}

.oldie .bio-img-one {
    background-position: 0 0;
}

.oldie .bio-img-two {
    background-position: -108px 0;
}

.oldie .bio-img-three {
    background-position: -216px 0;
}

.oldie .bio-img-four {
    background-position: -324px 0;
}

.oldie .bio-img-five {
    background-position: 0 -108px;
}

.oldie .bio-img-six {
    background-position: -108px -108px;
}

.oldie .bio-img-seven {
    background-position: -216px -108px;
}

.oldie .bio-img-eight {
    background-position: -324px -108px;
}

.oldie .bio-img-nine {
    background-position: 0 -216px;
}

.oldie .bio-img-ten {
    background-position: -108px -216px;
}

.oldie .bio-img-eleven {
    background-position: -216px -216px;
}

.oldie .bio-img-twelve {
    background-position: -324px -216px;
}

/*.oldie .bio-office-two {
    background-position: -263px 0;
}

.oldie .bio-office-three {
    background-position: -526px 0;
}*/

.writer-name {
    font-weight: bold;
}

.btn {
		background: #2171c1;
		background: -moz-linear-gradient(#649fe9,#2171c1);
		background: -webkit-gradient(linear, 0 0, 0 100%, from(#649fe9), to(#2171c1));
		-webkit-background-clip: padding-box;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border-radius: 4px;
		color: #fff;
		display: inline-block;
		font: bold 14px/1.5 Arial;
		padding: 4px 12px;
		position: relative;
		text-align: center;
}

.btn:hover {
	color: #fff;
}

.expand {
    border-bottom: 2px solid #e6e6e6;
    margin-bottom: 1.5em;
}

.expand.last {
    border-bottom: 0;
    margin-bottom: 0;
}

.expand-single {
    padding-bottom: 1em;
}

.no-js .btn-expand {
    display: none;
}

.secondary-container .wrapper {
    border-top: 2px solid #e6e6e6;
    border-bottom: 2px solid #e6e6e6;
}

.secondary-container .inner {
    padding-bottom: 1.5em;
}

#perks, #locations {
    float: left;
}

#perks {
    width: 50%;
}

#perks ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

#perks li {
    width: 20%;
    padding: 0 .5em .5em;
    display: inline-block;
    vertical-align: top;
    color: #ff6600;
    font-size: 15px;
    font-size:  .9375rem;
    line-height: 1.125;
}

.oldie #perks li {
    zoom: 1;
    display: inline;
}

.perks .icon {
    width: 35px;
    height: 35px;
    display: block;
    margin: 0 auto .3125em;
    background-image: url(../img/benefits.png);
    background-repeat: no-repeat;
}

.perks .icon-vacation {
    background-position: 0 0;
}

.perks .icon-salary {
    background-position: -35px 0;
}

.perks .icon-medical {
    background-position: -70px 0;
}

.perks .icon-snacks {
    background-position: -105px 0;
}

.perks .icon-pets {
    background-position: -140px 0;
}

.perks .icon-gym {
    background-position: -175px 0;
}

.perks .icon-commute {
    background-position: -210px 0;
}

#locations {
    width: 50%;
}

#locations .tabs-content {
    float: left;
    width: 70%;
    height: 250px;
}

#locations .tabs-nav {
    width: 30%;
    float: right;
}

.no-js .tabs {
    display: none;
}

.tabs-content {
    display: none;
}

.tabs-content img {
    max-width: none;
}

.active.tabs-content {
    display: block;
}

.tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tabs-nav a {
    display: block;
    padding: 6px 10px;
    font-size: 15px;
    font-size: .9375rem;
    font-weight: bold;
    border-top-right-radius: .3125em;
    border-bottom-right-radius: .3125em;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.tabs-nav a:hover {
    background-color: #ccc;
}

.tabs-nav .active, .tabs-nav .active:hover {
    background-color: #f02f0f;
    color: #fff;
}

.footer-container {
    color: #999;
    font-size: 11px;
    font-size: .6875rem;
    padding-bottom: 1.5em;
}

.footer-container footer {
    padding-top: 1em;
		border-top: 2px solid #f2f2f2;
}

.footer2.wrapper {
    margin-top: 3em;
    border:none;
}

.footer-container .title {
    font-size: 2rem;
    margin: .67em 0;
}

.footer-container .links {
    width: 80%;
    float: left;
}

.links ul {
    padding: 0;
    margin: .5em 0;
    list-style: none;
    line-height: 1;
}

.links li {
    float: left;
    padding: 0 .5em;
    border-left: 1px solid #999;
}

.links li:first-child {
    padding-left: 0;
    border-left: 0;
}

.footer-container .copyright {
    float: right;
}

.check-status {
	float: right;
/*	line-height: 81px;*/
	font-size: 14px;
	line-height:1.3 !important;
	margin-top: 14px;
}
.check-status ul {
    list-style: none;
    margin: 2px 0 0 0;
}
.check-status ul li a {
	color: #FFF;
}

.header-container {
	background-color: #E50000;
}

h1.title {
	margin: 0;
}

/* ==========================================================================
   Application Form
   ========================================================================== */

.required-asterisk {
    color: #f02f0f;
}
.question {
    margin-top: 1.5em;
}
#sub {
    margin-left: auto;
 	margin-right: auto;
	padding: 1.5em 0;
}
#ap1 input[type='text'], #ap1 input[type='email'] {
	width: 50%;
}

#ap1 .errors {
    color: red;
}

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

@media only screen and (max-width: 70em) {
    #video-close {
        display: none;
    }
}

@media only screen and (max-width: 48em) {
    .col {
        width: 100% !important;
    }
    .col .inner {
        border-left: 0 !important;
        border-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .header-container .social {
        display: none;
    }
    .video-container,
    .video-container .wrapper,
    #video-placeholder {
        height: 280px;
    }
    #video-preview {
        line-height: 280px;
        font-size: 7em;
        background-position: 40% 40%;
    }
    .video-controls .wrapper {
        padding-top: .5em;
        padding-bottom: .5em;
    }
    .video-controls span {
        display: block;
        margin: 0;
        text-align: left;
        font-size: 1.2rem;
        padding-top: 0;
    }
    .main article .inner {
        border-top: 2px solid #e6e6e6;
    }
    .footer-container .links {
        width: 100%;
    }
}

@media only screen and (max-width: 38em) {

    #perks li {
        width: 42%;
    }
    #team .btn-expand {
        top: 3.5em;
    }
    .expand {
        padding-bottom: 1em;
    }
    .footer-container .title {
        margin: .5em 0;
    }
    .footer-container .mast ul.social {
        margin-top: 0;
        width: 100%;
    }
    .footer-container .social li:first-child {
        margin-left: 0;
    }
    .footer-container .links ul {
        line-height: 1.2;
        margin: 1em 0;
    }
}

@media only screen and (max-width: 63.75em) {
    .wrapper {
        padding-left: 1.2em;
        padding-right: 1.2em;
    }
    #team .bio-office {
        display: none;
    }
    #team .bio-quote {
        width: 80%;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

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

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

.offscreen {
    left: -99999px;
}

.hidden {
    display: none;
    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;
}

.img-circle {
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    border-radius: 500px;
}


/* ==========================================================================
   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;
    }
    
    .social,
    .video-container,
    .bio-img,
    .bio-office,
    .btn-expand,
    #perks li i,
    .tabs-nav {
        display: none;
    }
    #team .bio-quote {
        width: 100%;
    }
    #team .bio-quote blockquote {
        border: 0;
    }
    .mast a[href]:after,
    #jobs a[href]:after {
        content: "";
    }
    #perks ul {
        text-align: left;
    }
    #perks li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
}

/*  Font Awesome styles
    ------------------------------------------------------- */
@font-face{
    font-family:'FontAwesome';
    src:url('//0.tqn.com/f/f/a/a.eot?v=3.0.1');
    src:url('//0.tqn.com/f/f/a/a.eot?#iefix&v=3.0.1') format('embedded-opentype'),
    url('//0.tqn.com/f/f/a/a.woff?v=3.0.1') format('woff'),
    url('//0.tqn.com/f/f/a/a.ttf?v=3.0.1') format('truetype');
    font-weight:normal;
    font-style:normal;
}
  
[class^="icon-"],
[class*=" icon-"] {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;

    /* sprites.less reset */
    display: inline;
    width: auto;
    height: auto;
    line-height: normal;
    vertical-align: baseline;
    background-image: none;
    background-position: 0% 0%;
    background-repeat: repeat;
    margin-top: 0;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
    text-decoration: inherit;
    display: inline-block;
    speak: none;
}

/* makes sure icons active on rollover in links */
a [class^="icon-"],
a [class*=" icon-"] {
    display: inline-block;
}
span.icon-stack {
    display:inline-block;
}
.icon-stack {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1em;
/*  vertical-align: -35%;*/
}
.icon-stack [class^="icon-"],
.icon-stack [class*=" icon-"] {
  display: block;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  font-size: 0.7em;
  line-height: inherit;
  line-height: 1em;
}
.icon-stack .icon-circle {
  font-size: 1.5em;
  line-height: 1em;
}
.icon-social {
    color:#ffffff;
    padding-top:10px;
    padding-left:4px;
}
.icon-play-circle:before {
    content: "\f01d";
}
.icon-facebook:before {
    content: "\f09a";
}
.icon-twitter:before {
    content: "\f099";
}
.icon-google-plus:before {
    content: "\f0d5";
}
.icon-pinterest:before { 
    content: "\f0d2"; 
}
.icon-linkedin:before { 
    content: "\f0e1"; 
}
.icon-envelope-alt:before {
    content: "\f0e0";
}
.icon-circle:before {
  content: "\f111";
}
.icon-remove:before {
    content: "\f00d";
}
.icon-double-angle-up:before {
    content: "\f102";
}
.icon-double-angle-down:before {
    content: "\f103";
}
.icon-double-angle-left:before {
    content: "\f100";
}


/* application form */

#f3{   
    text-align:right;
    margin-right:230px;
    background-color: #f2f2f2;
    font-size: 0.9em;
    padding: 10px;
}

#f3 input,#f3 input#mn{
    margin:.25em 5px .25em 3px;
}

/* application status request */

div.status{
    background-color: #e5e5e5;
    padding: 2em 700px 2em 500px;
    margin-left:-500px;
    margin-right:-500px;
}

/* Jobs Redesign Jan 7, 2015 */
@font-face {
  font-family: 'Slab';
  src: url("//fj.about.com/font/2.23.0/font/DuplicateSlab-Medium-Web.eot");
  src: url("//fj.about.com/font/2.23.0/font/DuplicateSlab-Medium-Web.eot?#iefix") format("embedded-opentype"), url("//fj.about.com/font/2.23.0/font/DuplicateSlab-Medium-Web.woff") format("woff"), url("//fj.about.com/font/2.23.0/font/DuplicateSlab-Medium-Web.ttf") format("truetype"), url("//fj.about.com/font/2.23.0/font/DuplicateSlab-Medium-Web.svg#duplicate_sans_webmedium") format("svg");
  font-weight: normal;
}

@font-face {
  font-family: 'DuplicateSans-Regular';
  src: url("//fj.about.com/font/2.23.0/font/DuplicateSans-Regular-Web.eot");
  src: url("//fj.about.com/font/2.23.0/font/DuplicateSans-Regular-Web.svg?#iefix") format("embedded-opentype"), url("//fj.about.com/font/2.23.0/font/DuplicateSans-Regular-Web.woff") format("woff"), url("//fj.about.com/font/2.23.0/font/DuplicateSans-Regular-Web.ttf") format("truetype"), url("//fj.about.com/font/2.23.0/font/DuplicateSlab-Medium-Web.svg#duplicate_sans_webmedium") format("svg");
  font-weight: normal;
  font-style: none;
}