/*
	Theme Name: MSR
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*@import "css/main.css";*/



/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:100%;
}
body {
	font:400 16px/1.5 "lato", sans-serif;
	color:#333;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	height: auto;
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

a.more:after {
	content: "\00BB";
	padding-left: .25rem;
}

body:not(.front) main p a {
	color: #009286;
}

a.back,
a.forward {
    display: block;	
	font-weight: 300;
    position: relative;
	text-transform: uppercase
}

a.back {
	/*font-size: 1.1875rem;*/
	padding-left: 0.333rem;
}

a.forward {
	padding-right: 0.333rem;
}

a.back:before, 
a.forward:after {
	line-height: 1;
	margin-top: -.5rem;
    position: absolute;		
    top: 50%;	
}

a.back:before {
	content: "<";
	padding-right: 4px;
	right: 100%;
}

a.forward:after {
	content: ">";
    left: 100%;	
	padding-left: 4px;
}



p {margin: 0 0 1rem;}
p:last-child {margin: 0;}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

h1 {
	font-family: "museo-slab", serif;
	font-weight: 100;
}

h2 {
	color: #63635f;
	font-family: "museo-slab", serif;
	font-size: 2rem;
	margin-bottom: 1.875rem;
}

header h2,
.section-title h2 {
	font-size: 2.1875rem;
	font-weight: 300;
}

h3, h4, h5 {
	color: #333;
	font-family: "museo-slab", serif;
    font-weight: 600;
}

h4 {
	font-weight: 100;
}

h4.label {
	color: #333;
	font-family: "lato", sans-serif;
	font-size: 1rem;
	font-weight: 900;
}
h6 {
	font-family: "lato", sans-serif;
	font-size: .875rem;
	font-weight: 400;
}

@media(max-width:1024px) {
	h1 { font-size: 2rem; }
	h2 { font-size: 1.5rem; }
	h3 { font-size: 1.125rem; }
}

.button {
	background-color: #db3a3e;
	color: white;
	font-family: "museo-slab", serif;
	font-size: 1rem;
	text-transform: uppercase;
}

.button.tiny {
	font-size: .75rem;
}

button:hover, button:focus, .button:hover, .button:focus {
    background-color: rgb(170, 58, 62);
}


.arrow-link {
	background-color: #00786e;
	font-size: 0;
	height: 50px;
	position: absolute;	
	right: 0;
	top: 0;
	width: 50px;
}

.arrow-link:before {
	border-color: #fff;
	border-style: solid;
	border-width: 1px 1px 0 0;
	content:"";
	height: 32px;
	left: 9px;
	position: absolute;
	top: 9px;
	width: 32px;
}

.arrow-link:after {
	background-color: #fff;
	content:"";
	height: 1px;
	left: -4px;
	position: absolute;
	top: 9px;
	width: 45px;
	
	-webkit-transform: rotate(-45deg);
	
	    -ms-transform: rotate(-45deg);
	
	        transform: rotate(-45deg);
	-webkit-transform-origin: 100% 50%;
	    -ms-transform-origin: 100% 50%;
	        transform-origin: 100% 50%;
}

.label {
	background: none;
	margin: 0;	
	padding: 1.5rem 0 1rem;

}

.slick-slide {
	outline: none;
}

.light {
	font-weight: 300;
}

.video-wrapper {
	bottom: 0;
    left: 0;
    height: 100vh;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
}

.video-wrapper > video {
	border: none;
    height: auto;
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate3d(-50%,-50%,0);
		    transform: translate3d(-50%,-50%,0);
    width: auto;
}

html.touch-device body.home #hero {
	background: url('/wp-content/themes/msr/img/home-video-still.jpg') 50% 50% no-repeat;
	background-size: cover;
}

.responsive-video {
    height: 0;
    overflow: hidden;	    
    position: relative;
}

.responsive-video > iframe {
	height: 100% !important;
	left: 0;
	position: absolute;
	top: 0;
	width: 100% !important;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.row {
	max-width: 1160px;
}

.row.full {
	max-width:2800px;
}

.row.large {
	max-width: 1300px;
	padding: .9375rem;
}

.row.small {		
	max-width: 1000px;
}

.row .row.small {	
	margin-left: 0;
	margin-right: 0;
}

@media(max-width:640px) {
	body.home .row.slim {
		margin-left: 0;
		margin-right: 0;
	}
}

.slick-dots {
    margin-top: 1rem;
	text-align: center;
}

.slick-dots li {
    background: rgba(99, 99, 95,.5);
    border-radius: 50%;
    cursor: pointer;
	display: inline-block;    
    height: .75rem;    
    margin: 0 .25rem;
    width: .75rem;
}

.slick-dots li.slick-active {
    background: rgba(99, 99, 95, 1);
}

.slick-dots button {
	display: none;
}

.slick-slide img {
	margin: auto;
}


/*------------------------------------*\
    HEADER/NAV
\*------------------------------------*/

.header {
	font-family: "museo-slab", serif;
    left: 0;
	position: fixed;
    right: 0;	
	z-index:10;
}
/* logo, #nav */
#logo, #hamburger-icon {
    cursor: pointer;
    display: block;
    font-size: 4rem;
    height: 1em;
    padding: .25em;
      
    top: 0;  
    width: 1em;
}

@media (min-width:768px) and (max-width:1024px) {
	#logo, #hamburger-icon {
	    font-size: 4rem;
	}
}

@media (min-width:1025px) {
	#logo, #hamburger-icon {
	    font-size: 5rem;
	}
}

#logo {
    background-color: #333;
	background-image: url('/wp-content/themes/msr/img/msr-logo.svg');
	background-position: center center;
	background-repeat: no-repeat;
    background-size: 40px auto;
    
    left: 0;
    position: absolute;
    z-index: 9;
}

@media(min-width:1025px) {
	header:not(.minimal) #logo {
		background-color: transparent;
		background-image: url('/wp-content/themes/msr/img/msr-logo-transparent.svg');
		background-size: contain;
		height: 5.4rem;		
		margin: 1.25rem .875rem;
	    padding: 0;
		width: 6.25rem;
	}
}

/*#logo img {
	display: block;
}*/

#nav-small-right {
	display: none;
}

header.minimal #nav-small-right {
	display: block;
	position: fixed; 
	right: 0;
	z-index: 9;
}

#nav-small-right .header-widget {
    display: inline-block;
    vertical-align: middle;
}

#nav-small-right .header-widget,
#header-tagline {
    -webkit-transition: transform .3s ease-in-out;
		    transition: transform .3s ease-in-out;
}

header.scrolled #nav-small-right .header-widget,
header.scrolled #header-tagline,
body:not(.home) header #nav-small-right .header-widget,
body:not(.home) header #header-tagline {
	-webkit-transform: translateY(-300%);
	    -ms-transform: translateY(-300%);
	        transform: translateY(-300%);
}

#nav-small-right .header-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

@media(min-width:641px) {
	#nav-small-right .header-widget ul {
		margin-right: .5rem;
	}
}

#nav-small-right .header-widget li {
	display: inline-block;
	margin-right: 1rem;
	max-width:28px;
    vertical-align: middle;
}

@media(min-width:641px) {
	#nav-small-right .header-widget li {
		margin-right: 2.5rem;
	}
}

header.minimal #hamburger-icon {
	background-color: #db3a3e;
    display: inline-block;
    vertical-align: middle;
}

header.minimal #hamburger-icon span {
	border-top: 1px solid #fff;
	box-shadow: 0 .15em 0 #fff, 0 -.15em 0 #fff;
	display: block;
	margin-top: 50%;
	/*top: 50%;*/
}

#header-tagline {
	color: #db3a3e;
	display: none;
	font-size: 1rem;
	font-weight: 500;
	margin-left: 1.25rem;
	position: relative;
}

html:not(.wf-active) {
	opacity: 0;
}

header.minimal #header-tagline {
	line-height: 80px;	
}

header:not(.minimal) #header-tagline {
	margin-left: 1.25rem;
}

#header-tagline span.active {
	opacity: 1;
}

#header-tagline span:not(.active) {
	opacity: 0;
}
	
#header-tagline span:last-child {
	position: absolute;
}

.fade-swap {
	position: relative;
}

.fade-swap span {
	-webkit-animation-name: fade-swap;
	        animation-name: fade-swap;
    -webkit-animation-duration: 10s;
            animation-duration: 10s;
	-webkit-animation-iteration-count: infinite;
	        animation-iteration-count: infinite;
	-webkit-animation-fill-mode: forwards;
	        animation-fill-mode: forwards;
	-webkit-animation-direction: alternate;
	        animation-direction: alternate;
}

.fade-swap span:last-child {
	left: 0;
	opacity: 0;
	filter: alpha(opacity=0);
	position: absolute;
	top: 0;
	-webkit-animation-direction: alternate-reverse;
	        animation-direction: alternate-reverse;	
}

@-webkit-keyframes fade-swap {
    0% {opacity: 1;filter: alpha(opacity=100);}
    45% {opacity: 1;filter: alpha(opacity=100);}
    55% {opacity: 0;filter: alpha(opacity=0);}
	100% {opacity: 0;filter: alpha(opacity=0);}
}
@keyframes fade-swap {
    0% {opacity: 1;filter: alpha(opacity=100);}
    45% {opacity: 1;filter: alpha(opacity=100);}
    55% {opacity: 0;filter: alpha(opacity=0);}
	100% {opacity: 0;filter: alpha(opacity=0);}
}

@media (min-width:1250px) {
	header:not(.minimal) #nav-row {
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}
}

@media (max-width:1250px) and (min-width:1025px) {	
	header:not(.minimal) #nav-row {
		-webkit-box-pack: end;
		-webkit-justify-content: flex-end;
		    -ms-flex-pack: end;
		        justify-content: flex-end;
	}
}

@media(min-width:1250px) {
	#header-tagline {
		display: block;
	}
}


@media(min-width:1025px) {
	header:not(:minimal) {
	    float: right;		
	}
	
	header:not(.minimal) #nav-row {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		line-height: 106px;
		padding: 0 1rem 0 calc( 100px + .875rem );
	}
		
	header.minimal #header-tagline {
		margin-left: calc( 80px + .875rem );
	}
	
	header:not(.minimal) #nav li {
		padding: 0 .75rem;
	}
	
	header:not(.minimal) #nav a {
		color: #fff;
		font-size: .75rem;
		line-height: 106px;
		text-transform: uppercase;
	}
	
	header:not(.minimal) #nav li:last-child a {
		background-color: #db3a3e;
		font-size: .75rem;
		font-weight: 700;
		padding: .625rem;
	}
	
}

@media(min-width:1400px) { 
	header:not(.minimal) #nav a { 
		font-size: 1rem;
		font-weight: 700;
	}
}

@media(max-width:1024px) {
	header #nav {
		background-color: #fff;
	    bottom: 0;
	    left: 0;
	    padding: 80px;
	    padding: 5rem;
	    position: fixed;    
	    right: 0;
	    text-align: center;
	    top: 0;
	    z-index: 1;
	    
	    opacity: 0;
	    
	    filter: alpha(opacity=0);
	    -webkit-transform: scale(0);
	        -ms-transform: scale(0);
	            transform: scale(0);		
	}
}

#nav {
	font-family: "lato", sans-serif;
}

header.minimal #nav {
	background-color: #fff;
	bottom: 0;
	left: 0;
	padding: 80px;
	padding: 5rem;
	position: fixed;    
	right: 0;
	text-align: center;
	top: 0;
	z-index: 1;
	    
	opacity: 0;
	    
	filter: alpha(opacity=0);
	-webkit-transform: scale(0);
	    -ms-transform: scale(0);
	        transform: scale(0);	
    /*-webkit-transition: -webkit-transform 0s linear .3s, opacity .3s ease;	
            transition: transform 0s linear .3s, opacity .3s ease;   */
}

.nav-open header.minimal #nav {
	opacity: 1;
	filter: alpha(opacity=100);
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);

    -webkit-transition: -webkit-transform 0s, opacity .3s ease;
            transition: transform 0s, opacity .3s ease;

}

#nav ul {
	align-items: center;
	display: flex;
    justify-content: space-between;    	
	list-style: none;
    margin: 0;
    padding: 0;
}

header.minimal #nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
	height: 100%;
    width: 100%;
    
    -webkit-transform: translateY(30%);
    
        -ms-transform: translateY(30%);
    
            transform: translateY(30%);
    -webkit-transition: -webkit-transform .15s ease;
            transition: transform .15s ease;
}

.nav-open header.minimal #nav ul {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);	
    
    -webkit-transition: -webkit-transform .3s ease .1s;	
            transition: transform .3s ease .1s;    
}

header.minimal #nav a {
	color: #333;
	font-family: "museo-slab",serif;
	font-size: 1.875rem;
}

/*------------------------------------*\
    END: HEADER/NAV
\*------------------------------------*/



/*------------------------------------*\
	CONTENT
\*------------------------------------*/	

.page {
    overflow-x: hidden;
}	

body:not(.home) .header + * {
	padding-top: 5rem;
}

@media (min-width:1025px) {
	body:not(.home) .header + * {
		padding-top: 6rem;
	}
}

.facebook-icon, 
.twitter-icon, 
.linkedin-icon,
.instagram-icon,
#atstbx .at4-icon {
	background: none !important;
	background-color: transparent !important;
	background-position: 50% 50%;
	background-repeat: no-repeat !important;
	background-size: contain !important;	
	display: inline-block;
	font-size: 0;
	height: 26px !important;
	vertical-align: middle;
	width: 26px !important;	
}

a.at-svc-facebook,
a.at-svc-twitter,
a.at-svc-linkedin {
	background-color: transparent !important;
}

a.at-svc-facebook,
a.at-svc-twitter {
	margin-right: 2.25rem !important;
}

.facebook-icon,
#atstbx .at4-icon.aticon-facebook {
	background-image: url('/wp-content/themes/msr/img/facebook-icon.png') !important;
	
}

.twitter-icon,
#atstbx .at4-icon.aticon-twitter {
	background-image: url('/wp-content/themes/msr/img/twitter-icon.png') !important;
}

.linkedin-icon,
#atstbx .at4-icon.aticon-linkedin {
	background-image: url('/wp-content/themes/msr/img/linkedin-icon.png') !important;	
}

.instagram-icon,
#atstbx .at4-icon.aticon-instagram {
	background-image: url('/wp-content/themes/msr/img/instagram-icon.png') !important;	
}


.pagination {
	padding-bottom: 3rem;
}

.pagination.row {
	padding-left: .9375rem;
    padding-right: .9375rem;
}


.back-link {
	padding-bottom: 4rem;
}


ul.social {
	list-style: none;
	margin: 0;
	padding: 0;
}

.social li {
	display: inline-block;	
}



section.header-image {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
	position: relative;    
}

section.header-image > img.the-header-image {
    opacity: 0;
}

@media(max-width:1024px) {
	section.header-image > img.the-header-image { 
		display: none;
	}	
}

section.header-image > img.the-header-image + header {
	background-color: rgba(219, 58, 62,.9);
    bottom: 0;
    left: 0;
    padding: 3rem 0;
   
    right: 0;
    
}

@media(min-width:1025px) {
	section.header-image > img.the-header-image + header {
		position: absolute;
	}
}


/*------------------------------------*\
	END: CONTENT
\*------------------------------------*/














/*------------------------------------*\
	SIDEBAR
\*------------------------------------*/
.sidebar {
	font-weight: 300;
}

@media(max-width:1024px) {
	.sidebar {
		padding-bottom: 2rem;
	}
}

.sidebar .sidebar-widget:empty {
	display: none;
}

.sidebar .sidebar-widget > div:not(:last-child) {
	border-bottom: 1px solid #e1e1e1;
	margin-bottom: 2.5rem;
	padding-bottom: 2rem;
}

@media(max-width:1024px) {
	.sidebar .sidebar-widget > div:last-child {
		border-bottom: none;
	    padding-bottom: 0;
	}
}

.sidebar ul {
	list-style: none;
	padding: 0;
    margin: 0;
}

.sidebar > h4:first-child {
	padding-bottom: 2rem;
}


.sidebar h6 {
	margin-bottom: 0;
	padding-bottom: 1.25rem;
}

.sidebar .social li {
	max-width: 60px;
	width: 25%;
}

#archives-grouped-by-year-2 {
	margin-bottom: 6rem;
}

.widget_archives_grouped_by_year {
	position: relative;
}

.widget_archives_grouped_by_year .toggle {
	display: none;
}

.widget_archives_grouped_by_year:after {
	clear: both;
	content: "";
	display: table;
}

.widget_archives_grouped_by_year ul {
	float: left;
	width: 50%;
}

body:not(.single) .widget_archives_grouped_by_year .year {
	float: left;
	padding-right: 1rem;
	width: 50%;
}

body.single .widget_archives_grouped_by_year .year:first-of-type + .toggle + .year {
    max-height: 0;
    overflow: hidden;
    
    -webkit-transition: max-height .3s ease-in-out;
            transition: max-height .3s ease-in-out;
}

body:not(.single) .widget_archives_grouped_by_year .year:nth-child(n+5) {
	margin-top: 3rem;
}

body.single .widget_archives_grouped_by_year .year:first-of-type + .toggle {
	bottom: 0;
	cursor: pointer;
	display: block;
	left: 50%;
	padding-top: 1rem;
	position: absolute;
	text-align: center;
	-webkit-transform: translate(-50%, 100%);
	    -ms-transform: translate(-50%, 100%);
	        transform: translate(-50%, 100%);	
}

body.single .widget_archives_grouped_by_year .year:first-of-type + .toggle:after {
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;	
	border-top: 12px solid #999;
	content:"";
	display: block;
    margin: auto;
	height: 0;
	width: 0;
}

body.single .widget_archives_grouped_by_year.active .year:first-of-type + .toggle {
	display: none;
}

body.single .widget_archives_grouped_by_year .year:first-of-type + .toggle:before {
	content: "More";
}

body.single .widget_archives_grouped_by_year.active .year:first-of-type + .toggle + .year {
	max-height: 800px;
}

body.single .widget_archives_grouped_by_year .year + .year {
	display: none;
}

body.single .widget_archives_grouped_by_year.active.active .year + year {
	display: block;
}


body.single .widget_archives_grouped_by_year .year:first-of-type + .toggle + .year h6 {
    border-top: 1px solid #e1e1e1;
    margin-top: 3rem;
    padding-top: 2rem;
}

.widget_archives_grouped_by_year .year:after {
	clear: both;
	content:"";
	display:table;
}

#categories-2 ul,
#text-5 ul {
    padding-top: .5rem;
}

#categories-2 li:not(:last-child),
#text-5 li:not(:last-child) {
    padding-bottom: .5rem;
}

#categories-2 a,
#text-5 a {
	color: #009286;
	font-family: "lastp", sans-serif;
	font-size: 1rem;
	font-weight: 300;
}

/*#categories-2 li.cat-item-12,*/
#categories-2 li.cat-item-1 {
	display: none;
}

/*------------------------------------*\
	END: SIDEBAR
\*------------------------------------*/



/*------------------------------------*\
	HOMEPAGE
\*------------------------------------*/



#hero.home-section .slides {
    /*background: linear-gradient(to bottom, rgb(200,200,200) 0%, rgb(255,255,255) 10% );*/
    /*background-color: rgb(220,220,220);*/
    margin: 0;
    padding: 0;
}

#hero.home-section .slide {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
   -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;		    
    display: -webkit-box;		    
    display: -ms-flexbox;		    
    display: flex;
    height: 100vh;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#hero.home-section .slide:before {
	background: rgba(0,0,0,.3);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

#hero.home-section .slide .slide-content {
	padding: 0 1rem;
	position: relative;
	text-align: center;
}

#hero.home-section .slide .slide-content img {
	margin: auto;	
    max-width: 85vw;
}

.animated-hero {
	position: relative;	
}

.animated-hero > .block {
	font-size: 7vmin;
    left: 10%;
    position: absolute;  
    right: 10%;
    text-align: center;
    top: 70%;
    -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
            transform: translateY(0%);
    z-index: 2;
}

@media ( max-width: 700px ), ( max-height: 700px ) {
	.animated-hero > .block h1 {
		font-size: 8.55vmin;
	}
}




#hero.engaged .animated-hero > .block {
	-webkit-animation-delay: 0.5s;
	        animation-delay: 0.5s;
	-webkit-animation-duration: 5s;
	        animation-duration: 5s;
	-webkit-animation-name: fadeup;
	        animation-name: fadeup;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    
    opacity: 0;
    
    filter: alpha(opacity=0);
    -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
            transform: translateY(0%);
    
}

#hero.engaged .animated-hero > .block:nth-child(2) {
	-webkit-animation-delay: 4.75s;
	        animation-delay: 4.75s;
}

#hero.engaged .animated-hero > .block:nth-child(3) {
	-webkit-animation-delay: 9s;
	        animation-delay: 9s;
}

#hero.engaged .animated-hero > .block:nth-child(4) {
	-webkit-animation-delay: 13.25s;
	        animation-delay: 13.25s;
}

#hero.engaged .animated-hero > .block:nth-child(5) {
	-webkit-animation-delay: 17.5s;
	        animation-delay: 17.5s;
}


#hero.engaged .animated-hero > .block:last-child {
	-webkit-animation-name: fadeupStop;
	        animation-name: fadeupStop;
	-webkit-animation-duration: .8s;
	        animation-duration: .8s;
}


@-webkit-keyframes fadeup {
    0 {-webkit-transform: translateY(0%);transform: translateY(0%);opacity: 0;filter: alpha(opacity=0); }
    20% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;filter: alpha(opacity=100);}
    80% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;filter: alpha(opacity=100);}
    100% {-webkit-transform: translateY(-100%);transform: translateY(-100%);opacity: 0;filter: alpha(opacity=0);}
}

@keyframes fadeup {
    0 {-webkit-transform: translateY(0%);transform: translateY(0%);opacity: 0;filter: alpha(opacity=0); }
    20% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;filter: alpha(opacity=100);}
    80% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;filter: alpha(opacity=100);}
    100% {-webkit-transform: translateY(-100%);transform: translateY(-100%);opacity: 0;filter: alpha(opacity=0);}
}

@-webkit-keyframes fadeupStop {
    0 {-webkit-transform: translateY(0%);transform: translateY(0%);opacity: 0;filter: alpha(opacity=0); }
    100% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;filter: alpha(opacity=100);}
}

@keyframes fadeupStop {
    0 {-webkit-transform: translateY(0%);transform: translateY(0%);opacity: 0;filter: alpha(opacity=0); }
    100% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;filter: alpha(opacity=100);}
}


#our-services .animated-hero > .block {
	-webkit-animation-duration: 14.5s;
	        animation-duration: 14.5s;
	-webkit-animation-fill-mode: both;
			animation-fill-mode: both;
	-webkit-animation-iteration-count: infinite;		
			animation-iteration-count: infinite;		
	opacity: 0;
    -webkit-transform: translateY(100%);
	        transform: translateY(100%);
}


#our-services.engaged .animated-hero > .block:nth-child(1) {
	-webkit-animation-name: fade-up-thirds-first;
			animation-name: fade-up-thirds-first;
}

#our-services.engaged .animated-hero > .block:nth-child(2) {
	-webkit-animation-name: fade-up-thirds-second;
			animation-name: fade-up-thirds-second;
}

#our-services.engaged .animated-hero > .block:nth-child(3) {
	-webkit-animation-name: fade-up-thirds-third;
			animation-name: fade-up-thirds-third;
}


@keyframes fade-up-thirds-first {
    0 {-webkit-transform: translateY(0%);transform: translateY(0%);opacity: 0; }
    7% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;}
    27.5% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;}
    34.5% {-webkit-transform: translateY(-100%);transform: translateY(-100%);opacity: 0;}
    100% {-webkit-transform: translateY(-100%);transform: translateY(-100%);opacity: 0;}
}

@keyframes fade-up-thirds-second {
    31% {-webkit-transform: translateY(0%);transform: translateY(0%);opacity: 0; }
    38% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;}
    58.5% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;}
    65.5% {-webkit-transform: translateY(-100%);transform: translateY(-100%);opacity: 0;}
    100% {-webkit-transform: translateY(-100%);transform: translateY(-100%);opacity: 0;}
}

@keyframes fade-up-thirds-third {
    62% {-webkit-transform: translateY(0%);transform: translateY(0%);opacity: 0; }
    69% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;}
    89.5% {-webkit-transform: translateY(-50%);transform: translateY(-50%);opacity: 1;}
    96.5% {-webkit-transform: translateY(-100%);transform: translateY(-100%);opacity: 0;}
    100% {-webkit-transform: translateY(-100%);transform: translateY(-100%);opacity: 0;}
}



/* section labels */

.section-label { 
	background-color: #f9f9f9;
}

.section-label span {
	background-color: #009286;
	color: #fff;
	display: inline-block;
	font-family: "museo-slab",serif;
	font-size: 1.125rem;
	font-weight: 100;
	padding: .75rem 3rem;
	text-transform: uppercase;
}

@media(min-width:1025px) {
	.home-section header h1 {
		font-size: 3.75rem;
	}
}

#hero.home-section {
	background: #fff;
	min-height: 100vh;	
	position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}

@media(max-width:1024px) {
	#hero.home-section {
		background: #000 url('/wp-content/themes/msr/img/mobile_home_bg.jpg') 50% 50% no-repeat;
		background-size: cover;
	}
}

.vjs-poster,
.vjs-loading-spinner,
.vjs-text-track-display,
.vjs-big-play-button,
.vjs-control-bar,
.vjs-error-display,
.vjs-caption-settings {
	display: none;
}

#hero.home-section .animated-hero {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top:0;
	z-index:1;
}

#hero.home-section h1,
.animated-hero h1 {
	color: #fff;	
	font-size: 2.5rem;
	line-height: 1.2;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

@media(min-width:901px) {
	#hero.home-section h1 {
		font-size: 3.75rem;	
	}
}

.arrow {
	border-color: #fff;
	border-style: solid;
	border-width: 0 2px 2px 0;
	cursor: pointer;
	display: inline-block !important;
	height: 38px;
	width: 38px;
    z-index: 5;
	
	-webkit-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	
	-webkit-transform-origin: 50% 50%;
	    -ms-transform-origin: 50% 50%;
	        transform-origin: 50% 50%;	
}

#hero.home-section .arrow {
	bottom: 44px;
	bottom: 2.75rem;
	left: 50%;
	margin-left: -19px;
	position: absolute;

	-webkit-transition: all .1s linear;
	        transition: all .1s linear;
}

#hero.home-section .slick-arrow:after {
	border-color: #fff;
}

#hero.home-section .arrow:hover {
	-webkit-animation: squish .3s ease;
	        animation: squish .3s ease;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

@-webkit-keyframes squish {
    0 {-webkit-transform: rotate(45deg) skew(0, 0);transform: rotate(45deg) skew(0, 0)}
    70% {-webkit-transform: rotate(45deg) skew(15deg, 15deg);transform: rotate(45deg) skew(15deg, 15deg)}
    100% {-webkit-transform: rotate(45deg) skew(10deg, 10deg);transform: rotate(45deg) skew(10deg, 10deg)}
}

@keyframes squish {
    0 {-webkit-transform: rotate(45deg) skew(0, 0);transform: rotate(45deg) skew(0, 0)}
    70% {-webkit-transform: rotate(45deg) skew(15deg, 15deg);transform: rotate(45deg) skew(15deg, 15deg)}
    100% {-webkit-transform: rotate(45deg) skew(10deg, 10deg);transform: rotate(45deg) skew(10deg, 10deg)}
}

#hero.home-section .slick-arrow {
	z-index: 9;
}

#hero.home-section .slick-prev.slick-arrow {
	left: 0;
	margin-left: 1rem;
	right: auto;	
}

#hero.home-section .slick-next.slick-arrow {
	left: auto;
	margin-right: 1rem;	
	right: 0;
}




#about {
	font-size: 1.75rem;
	font-weight: 300;
	padding-top: 20vmin;
    padding-bottom: 20vmin;
}

@media ( min-width: 700px ), ( min-height: 700px ) {
	#about {
	    padding-bottom: 13rem;
		padding-top: 13rem;
	}
}
    


/*#our-services {
	margin-top: 100vh;
}*/

#our-services.home-section header {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	height: 40.625rem;
    max-height: 100vh;
    position: relative;
}

#our-services.home-section header:before {
	background: rgba(0,0,0,.3);
	bottom: 0;
	content:"";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}

#our-services.home-section header .block {
	display: none;
	z-index: 1;
}

#our-services.home-section.engaged header .block {
	display: block;
}

#our-services.home-section header ~ .row {
	padding-top: 4.25rem
}

#our-services.home-section header + .row,
#our-services.home-section .subtitle,
#expertise .description {
	font-size: 1.5rem;
	font-weight: 300;
}

#capabilities ul {
	font-weight: 300;
	text-transform: uppercase;
}

#capabilities li {
	margin-bottom: .5rem;
}

@media (max-width:1024px) {
	#our-services.home-section div:not(:last-child) > ul {
		margin-bottom: 0;
	}
}

#industry-experience-filters {
	text-align: center;
}

@media(max-width:1024px) {
	#industry-experience-filters {
		display: none;	
	}
}

#industry-experience-filters > .column:first-child {
	text-align: left;	
}

#industry-experience-filters > .column:last-child {
	text-align: right;	
}

#industry-experience {
	background-color: #f4f4f4;
	margin-top: 3.625rem;
	padding-bottom: 4rem;
	padding-top: 7.5rem;
}

#industry-experience h6 {
	font-weight: 900;
	text-transform: uppercase;
}

#industry-experience > .row > .row.small {
	padding-bottom: 4rem;
}

#industry-experience [data-filter] .item {
	position: relative;
}

@media(min-width:1024px) {
	#industry-experience .item {
		height: 100%;
	}
}

#industry-experience [data-filter] .item:after {
	background: #f4f4f4;
	box-shadow: 2px 2px 2px -2px rgba(0,0,0,.8);
	content: "";
	height: 55px;
    margin-left: -13px;
	position: absolute;
	opacity: 0;
	filter: alpha(opacity=0);	
    top: calc(100% + 2rem);
	width: 55px;
    -webkit-transform: rotate(38deg) translate(-7px, 12px) skew(-18deg,-2deg);
        -ms-transform: rotate(38deg) translate(-7px, 12px) skew(-18deg,-2deg);
            transform: rotate(38deg) translate(-7px, 12px) skew(-18deg,-2deg);
    -webkit-transition: opacity .3s ease-in-out;
            transition: opacity .3s ease-in-out;
}

#industry-experience .active[data-filter] .item:after {
	opacity: 1;
}

#industry-experience .item {
	cursor: pointer;
	display: inline-block;
    text-align: center;
}

#industry-experience .item img {
	margin-bottom: 40px;
	margin-bottom: 2.5rem;
	max-width: 150px;

	-webkit-transition: all .3s ease;
	        transition: all .3s ease;
    -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
}

#industry-experience.engaged .active[data-filter] .item img {
	-webkit-transform: scale(1.1);
	    -ms-transform: scale(1.1);
	        transform: scale(1.1); 
}

#industry-experience.engaged [data-filter]:not(.active) .item img {
	opacity: 0.6;
}

#industry-experience .item h6 {
	-webkit-transition: all .3s ease;
	        transition: all .3s ease;
}

#industry-experience.engaged [data-filter]:not(.active) .item h6 {
	opacity: .333
}

#industry-experience .item h6:before {
	clear:both;
	content:"";
	display:table;
}

#industry-experience .item h6:after {
	border-color: #db3a3e;
	border-style: solid;
	border-width: 0 2px 2px 0;
	clear: both;
	content:"";
	display: block;
	height: 22px;
	margin: 36px auto 0;
	margin: 2.25rem auto 0;
	width: 22px;
	
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}


@media(min-width:1025px) {
	#expertise {
	    height: 0;
	    overflow: hidden;
	    position: relative;
	    -webkit-transition: height 0.3s ease-in-out;
	            transition: height 0.3s ease-in-out;
	}
	
	#expertise .category-wrapper { 
		padding-bottom: 3rem;
	}
}

#expertise .category-wrapper { 
    padding-top: 4rem;
}

@media(min-width:1025px) {
	#expertise .category-wrapper { 
		display: none;
	}
}

#expertise .category-wrapper.active {
	display: block;
}

#expertise .description {
	padding-bottom: 4rem;
    padding-top: 3rem;
}

#expertise .category-wrapper ul:first-of-type {
	clear: both;
}

.expertise li {
	font-size: 14px;
	font-size: .875rem;
    margin-bottom: 8px;
    margin-bottom: .5rem;
	text-transform: capitalize;
    width: 100%;
    
    -webkit-transform-origin: 0 50%; 
        -ms-transform-origin: 0 50%;
            transform-origin: 0 50%;
    
    -webkit-transition: all .3s ease;
            transition: all .3s ease;
}

.expertise li a {
	line-height: 14px;
}

.expertise li a[data-case-study] { 
	display: inline-block;
}

.expertise li a[data-case-study]:after {
	background: transparent url('/wp-content/themes/msr/img/plus-big.png') 50% 50% no-repeat;
	background-size: contain;
	content: "";
	margin-left: .5rem;
	float:right;
	height: 13px;
	width: 13px;
}

.expertise li a[data-case-study]:before {
	color: #db3a3e;
	content: "View Case Study:" attr(data-case-study);
	font-size: .75rem;
	float: right;
	padding-left: 5px;
}

#vertical-expertise {
	border-top: 1px solid #d7d7d7;
	padding-top: 3.125rem;
}

#vertical-expertise h6 {
	padding-bottom: 2rem;
}

#vertical-expertise[data-active="enterprise-technology"] li:not([data-category*="enterprise-technology"]) {
	opacity: .3;
	filter: alpha(opacity=30);
	-webkit-transform: scale(.95);
	    -ms-transform: scale(.95);
	        transform: scale(.95);
}

#vertical-expertise[data-active="internet-mobile-technology"] li:not([data-category*="internet-mobile-technology"]) {
	opacity: .3;
	filter: alpha(opacity=30);
	-webkit-transform: scale(.95);
	    -ms-transform: scale(.95);
	        transform: scale(.95);
}

#vertical-expertise[data-active="consumer-lifestyle"] li:not([data-category*="consumer-lifestyle"]) {
	opacity: .3;
	filter: alpha(opacity=30);
	-webkit-transform: scale(.95);
	    -ms-transform: scale(.95);
	        transform: scale(.95);
}

#our-clients.home-section .section-label span {
	background-color: #63635f;
}

#our-clients.home-section header,
#our-team.home-section header {
	padding-top: 6.5rem;
    padding-bottom: 5.5rem;
	text-align: center;
}

#our-clients.home-section header h2 {
	margin: 0;
	padding: 0;
}

#clients-list {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}

#clients-list > .column {
	padding: 2.5rem .5rem;
    text-align: center;
}

#clients-list > .column:after {
	clear: both; 
	content: "";
	display: table;
}

@media (min-width:1025px) {
	#clients-list > .column:nth-child(4n+1) { clear: both; }
}

@media (min-width:769px) and (max-width:1024px)  {
	#clients-list > .column:nth-child(3n+1) { clear: both; }
}

@media (max-width:768px)  {
	#clients-list > .column:nth-child(2n+1) { clear: both; }
}

@media(max-width:450px) {
	#clients-list > .column {
		clear: both;
	    margin-bottom: 1rem;
		width: 100%;
	}
	
	#clients-list > .column:nth-child(n + 8) {
		display: none;
	}
	
	#clients-list.active > .column:nth-child(n + 8) {
		display: block;
	}
}

#clients-list .column > a {
	display: inline-block;
}

#clients-list .column > a:before {
	background: transparent url('/wp-content/themes/msr/img/arrow-angle.png') 50% 50% no-repeat;
	background-size: contain;
	content: "";
	float: right;
	height: 18px;
	width: 18px;
}

#clients-list .column > a:after {
    clear: right;
    color: #db3a3e;
	content: "Case Study";
	float:right;
	font-size: 0.6875rem;
}

#clients-list .column > a > img {
	display: block;
	float: left;
}

#clients-toggle {
	float: right;
}

/* testimonials */

#testimoinials {
	background: #429086;
	color: #fff;
	font-size: 1.125rem;
	font-weight: 400;
	
	padding: 6.25rem 2rem 8rem;
    text-align: center;    
}

@media(min-width:901px) {
	#testimoinials {
		font-size: 1.4375rem;
		line-height: 34.5px;
	}
}

#testimoinials:before {
	background: transparent url('./img/quote-curly@2x.png') 50% 50% no-repeat;
	background-size: contain;
	content:"";
	display: block;
	height: 43px;
	margin: 0 auto 1rem;
	width: 53px;
}

#testimoinials .items {
	margin: 0 auto;
	max-width: 56rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

#testimoinials quote {
	font-family: "lato", sans-serif;
}

#testimoinials cite {
	display: block;
	font-family: Georgia, serif;
	font-size: 1rem;
	font-weight: 400;
	font-style: italic;
	padding-top: 2rem;
}

@media(min-width:901px) {
	#testimoinials cite {
		font-size: 1.375rem;
	}
}

#testimoinials cite strong {
	font-style: normal;	
	font-weight: 700;
}

#testimoinials .slick-arrow:after {
	border-color: #fff;
}



#clients-list.active + #clients-toggle {
	display: none;
}

@media(min-width:451px) {
	#clients-toggle { display: none; }
}


#team-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    padding-bottom: .9375rem;
    padding-left: 1.875rem;
    padding-right: 1.875rem;
}

#team-grid > div {
	padding-bottom: .9375rem;
	padding-top: .9375rem;	
}

#team-grid > div .member {
	color: #fff;
	overflow: hidden;
	position: relative;
}

#team-grid > div .member img {
	width: 100%;
}

#team-grid .overlay {
	background-color: rgba(0, 146, 134, .85);
	bottom: 0;
	
	left: 0;
	opacity: 0;
	filter: alpha(opacity=0);
	padding: 32px 15px 15px;
	padding: 2rem .9375rem .9375rem;
	position: absolute;
	right: 0;
	
	-webkit-transform: translateY(100%);
	    -ms-transform: translateY(100%);
	
	        transform: translateY(100%);
	-webkit-transition: -webkit-transform .3s ease, opacity .2s linear;
	        transition: transform .3s ease, opacity .2s linear;
}

#team-grid .member:hover .overlay {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transform: translateY(0);
	    -ms-transform: translateY(0);
	        transform: translateY(0);
}

#team-grid .member h4 {
	font-family: "museo-slab", sans-serif;
	font-size: 1.875rem;
	font-weight: 100;
	margin: 0;
	padding: 0;
}

#team-grid .member h4,
#team-grid .member h4 a {
    color: #fff;
}

#team-grid .member p {

}

#team-grid .overlay > a span {
	text-transform: uppercase;
}

#team-grid > .column {
	float: none !important;
}

#team-grid > div:last-child {
	-webkit-box-align: stretch;
    -ms-flex-align: stretch;
        align-items: stretch;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: stretch;
            -ms-flex-pack: stretch;
                justify-content: stretch;
}

@media(max-width:640px) {
	#team-grid > div:last-child {
		min-height: 0 !important;
	}
}

#team-grid > div:last-child .member {
	-webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
	background-color: #009286;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	font-family: "museo-slab", serif;
	height: 100%;	
	padding: 15px;
	padding: .9375rem;
	text-align: center
	
/*
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;    
    -webkit-justify-content: space-around;    
        -ms-flex-pack: distribute;    
            justify-content: space-around;
*/
}

#team-grid > div:last-child a {
	color: #fff;
}

#team-grid > div:last-child a:after {
	content: ">";
	padding-left: .25rem;
}

#team-grid > div:last-child a span {
	text-transform: uppercase;
}

#our-team.home-section header {
	position: relative;
}

#our-.home-section header h2 {
	color: #fff;
	left: 15px;
	left: .9375rem;
	position: absolute;
	right: 15px;
	right: .9375rem;
	text-align: center;
	top: 50%;
	
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
}

#team-collage {
    overflow: hidden;
    position: relative;
}

/*@media(max-width:640px) {
	#team-collage {
		display: none;
	}
}*/

#team-collage:after {clear:both;content:"";display:table;}
#team-collage .left,
#team-collage .right {
	width: 37.5%;
}

#team-collage .center {
	bottom: 0;
    left: 37.5%;
    position: absolute;
    top: 0;
	width: 25%;	
}

@media(max-width:640px) {
	#team-collage > div:first-child {
		width: 100%;	
	}

	#team-collage > div:not(:first-child) {
		display: none;
	}	
}

#team-collage .row,
#team-collage .column {
	margin: 0;
	padding: 0;
}

#team-collage .column {
	float: left !important;
}

#team-collage .photo img {
    max-width: 999px;
    position: relative;
    width: 100%;
    z-index: 2;  
}

#team-collage .photo img:nth-last-child(n+2) {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 1s ease;
            transition: opacity 1s ease;
}

#team-collage .photo img:nth-child(n+2) {
	left: 0;
	position: absolute;
    top: 0;
    z-index: 1;
}

#team-collage > h2 {
	color: #fff;
	left: 0;
	position: absolute;
    right: 0;
    text-align: center;
    top: 50%;
    z-index: 9;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}



#awards .section-label span {
	background-color: #d4c95c;
}

#awards.home-section header {
	padding-top: 6.5rem;
    padding-bottom: 5.5rem;
	text-align: center;
}



#awards-slider {
	padding-bottom: 7rem;
}

@media(max-width:1501px) {
	#awards-slider {
		padding-left: 3rem;
		padding-right: 3rem;
	}
}

#awards-slider .slide {
    display: inline-block;
    float: none;
    vertical-align: bottom;
    padding-left: 8vw;
    padding-right: 8vw;    
}

@media(min-width:50rem) {
	#awards-slider .slide {
	    padding-left: 4rem;
    	padding-right: 4rem; 
    }
}

#awards-slider .slide {
    margin-left: -5px;	
}

#awards-slider .arrow {
	border-color: #666;
}


.slick-arrow {
	background: none;
	border: none;
	font-size: 0;
	outline: none;
	padding: 0;
	position: absolute;
    top: 50%;	
}

.slick-arrow:hover,
.slick-arrow:focus {
	background: transparent;
}

.slick-arrow:after {
    border-color: #63635f;
    border-style: solid;
    border-width: 0 2px 2px 0;
    clear: both;
    content: "";
    display: block;
    height: 22px;
    margin: 36px auto 0;
    margin: 0;
    width: 22px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.slick-prev.slick-arrow {
    left: auto;
    right: 100%;
	-webkit-transform: rotate(90deg);
	    -ms-transform: rotate(90deg);
	        transform: rotate(90deg)
}

.slick-next.slick-arrow {
    left: 100%;
    right: auto;
	-webkit-transform: rotate(-90deg);
	    -ms-transform: rotate(-90deg);
	        transform: rotate(-90deg);
}

#news .section-label span {
	background-color: #63635f;
}

#blog .section-label span {
	background-color: #db3a3e;
}

.home-section,
#news, 
#blog {
	background-color: #fff;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
    z-index: 2;
}

#blog .section-title h2 {
	margin-bottom: .75rem;
}


@media(min-width:768px) {
	
	.blog-featured {
		display: flex;
	}
}

@media(max-width:767px) {
	.blog-featured > div:not(:last-child) {
		margin-bottom: 2rem;
	}
}

#news .blog-featured, 
#blog .blog-featured {
	margin-bottom: 8rem;
}


#news .section-title,
#blog .section-title {
	padding: 5rem 0;	
}

#news .section-title {
	text-align: center;
}


#news .section-title h2 {
	color: #fff;
}

#blog .section-title h1,
#blog .section-title h2,
#blog .section-title h4 {
	color: #fff;
}

#blog .section-title h1 {
    font-weight: 300;
}

#blog .section-title h4 {
	font-family: "lato", sans-serif;;
	font-weight: 300;
}

@media(min-width:768px) {
	.blog-featured > .column,
	.blog-featured .item {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
	    -webkit-box-orient: vertical;
	    -webkit-box-direction: normal;
	    -webkit-flex-direction: column;
	        -ms-flex-direction: column;
	            flex-direction: column;
	    -webkit-box-flex: 1;
	    -webkit-flex-grow: 1;
	        -ms-flex-positive: 1;
	            flex-grow: 1;
	    position: relative;
	}	
	.blog-featured {
		padding-left: 0.6875rem;
		padding-right: 0.6875rem;
	}
	
	.blog-featured > .column {
		padding-left: .25rem;
		padding-right: .25rem;			
	}
}

.blog-featured img {
	width: 100%;
}

.blog-featured .info {
	background-color: #f2f2f2;
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
	padding: 20px 18px;
	padding: 1.25rem 1.125rem;
}

.blog-featured .info h4 {
	font-size: 1rem;
	font-weight: 300;
}

@media(min-width:641px) and (max-width:1024px) {
	.blog-featured .info h4 {
		font-size: 1.25rem;
	}
}

@media(min-width:1025px) {
	.blog-featured .info h4 {
		font-size: 1.5625rem;
	}
}

.blog-featured .info h4,
.blog-featured .info h4 a {
	color: #333;
}

.blog-featured .info .date {
	color: #acacac;
	font-size: .875rem;
	font-weight: 700;
}

#main-blog-link {
    white-space: nowrap;
}

@media(min-width:1025px) {
	#main-blog-link {
		position: absolute;
		right: 0;
		-webkit-transform: translateY(-100%);
		    -ms-transform: translateY(-100%);
		        transform: translateY(-100%);
	}
}

@media(min-width:768px) {
	position: absolute;
    left: 100%;
    width: auto;
    -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
            transform: translateY(-100%);
}

#news .arrow-link {
	background-color: #63635f;
}

#blog .arrow-link {
	background-color: #db3a3e;
}


@media(max-width:767px) {
	#news .arrow-link,
	#blog .arrow-link {
		right: .9375rem;
	}
}


#news-twitter-bar {
	background-color: #38b2da;
	color: #fff;
}

#news-twitter-bar .content {
	padding-bottom: 5rem;
	padding-top: 5rem;	
}

#news-twitter-bar .section-label span {
	background-color: #30a2c7;
}

#news-twitter-bar .content div.column {
	display: inline-block;
	float: none !important;
	vertical-align: middle;	
}

#news-twitter-bar .content div.column:not(:nth-last-child(3)) { 
	margin-left: -5px;
}

#news-twitter-bar h3,
#news-twitter-bar h6,
#news-twitter-bar a {
	color: #fff;
}

#news-twitter-bar h3 {
	font-size: 2.1875rem;
	font-weight: 300;
	padding-bottom: 4rem;
}

@media(max-width:640px) {
	#news-twitter-bar .social {
		margin-bottom: 5rem;
	}
}

#news-twitter-bar .social > a {
	display: inline-block;
	margin-right: 3rem;
}

#news-twitter-bar .social > a:last-child {
	margin-right: 0;
}

#news-twitter-bar .tweets { 
	text-align: center;
}

#news-twitter-bar .tweet {
	margin-bottom: 1.5rem;
	text-align: left;
}

#news-twitter-bar .slick-initialized .slick-slide ~ .tweet:not(.slick-active) {
	display: none;
}

#news-twitter-bar .tweet.slick-active {
	position: relative;
}

@media(min-width:1025px) {
	#news-twitter-bar .tweet.slick-active + .tweet.slick-active:not(:last-child):after {
		background-image: -webkit-linear-gradient(top, rgba(56, 178, 218,0), rgba(56, 178, 218,1));
		background-image: linear-gradient(top, rgba(56, 178, 218,0), rgba(56, 178, 218,1));
		bottom: 0;
		content:"";
		left: 0;
		position: absolute;
		right: 0;
		height: 90%;
		z-index:1;
	}
}

#news-twitter-bar h6 {
	font-family: "museo-slab", serif;
	font-size: 1.5rem;
	font-weight: 300;
	margin-bottom: 2rem;
}

#news-twitter-bar .tweet-title {
	font-size: 1.125rem;
	font-weight: 700;
}

#news-twitter-bar .tweet-text {
	font-size: 1.5rem;
    font-weight: 300;
}

#news-twitter-bar .arrow {
	height: 28px;
	width: 28px;
}

#news-twitter-bar .arrow.slick-disabled {
	opacity: .5;
}

#news-twitter-bar .slick-prev.arrow {
	-webkit-transform: rotate(225deg);
	    -ms-transform: rotate(225deg);
	        transform: rotate(225deg);
}


/*------------------------------------*\
	END: HOMEPAGE
\*------------------------------------*/



/*------------------------------------*\
	TEAM MEMBER
\*------------------------------------*/

.single-team hr {
	border-width: 0 0 1px;
	border-bottom: 1px solid #e1e1e1;
	margin-bottom: 3.625rem;
	padding-bottom: 3rem;
	
}

.single-team .bio + .column hr {
	margin-bottom: 1.625rem;
}


.single-team .photo {
	margin-bottom: 3.5rem;	
}

.single-team .name {
	width: 339px;
	height: 33px;
	color: #333;
	font-family: Lato;
	font-size: 36px;
	font-weight: 300;
	line-height: 36px;
	margin-bottom: 1rem;
}

.single-team .job-title {
	width: 98px;
	color: #333;
	font-family: "lato", sans-serif;
	font-size: 1rem;
	font-weight: 400;
}

.single-team .top > .end {
	max-width: 24rem;	
}

.single-team .quote:before {
	background: transparent url('/wp-content/themes/msr/img/quote.png') 50% 50% no-repeat;
	background-size: cover;
	bottom: 100%;
	content: "";
	width: 35px;
	height: 22px;
	color: #db3a3e;
	font-family: "museo-slab", serif;
	font-size: 72px;
	position: absolute;
	right: 100%;
}

.single-team .quote {
	color: #db3a3e;
	font-family: "museo-slab", serif;
	font-size: 1.875rem;
	font-weight: 300;
    line-height: 1.3;
	margin-bottom: 4rem;
	position: relative;
}

@media (max-width:640px) {
	.single-team .quote {
		margin: 3rem 2rem 2rem;
	}
}

.single-team .favorites {
	font-size: 1.125rem;
	list-style: none;
	margin: 0 0 4rem 0;
	padding: 0;
}

.single-team .favorites li:not(:last-child) {
	padding-bottom: 1rem;
}

.single-team .favorites label {
	display: inline;
	font-size: .9375rem;
	font-weight: 900;
	text-transform: uppercase;
}

.single-team .favorites label:after {
	content: ":";
	display: inline;
}

.single-team .social li:first-child {
	margin-right: 1.25rem;	
}

.single-team .social li:last-child a:first-child {
	margin-right: .875rem;
}

/*twitter handle*/
.single-team .social li:last-child a:last-child:before {
	content:"@";
}

@media(min-width:1250px) {
	.single-team .bio {
		font-size: 1.125rem;
	}
}

/*------------------------------------*\
	END: TEAM MEMBER
\*------------------------------------*/


/*------------------------------------*\
	BLOG PAGE
\*------------------------------------*/

.roll-header { 
	margin-bottom: 4rem;
}

.roll-header h1 {
	color: #333;
	font-size: 3rem;
	margin-bottom: 1rem;
}

.roll-header h2 {
	color: #333;
	font-family: Lato, sans-serif;
	font-size: 1.5rem;
	font-weight: 300;
}

body.page article + article {
	padding-top: 6rem;
}

body.page article:last-child {
	padding-bottom: 6rem;
}

.article-link {
	color: #db3a3e !important;
	display: inline-block;
    font-size: .875rem;
	font-weight: 700;
	margin: .5rem 0;
	text-transform: uppercase;
}

/*body.client-news .bio + div a {
	color: #888;
}*/

.pagination.plain {
	font-weight: 300;
	text-align: center;
}

.pagination.plain .page-numbers:not(:last-child) {
	margin-right: 0.75rem;
}


/*------------------------------------*\
	BLOG SINGLE
\*------------------------------------*/
@media(min-width:1025px) {
	article.post {
	    padding-right: 10%;
	}
}

body.single .type-post header,
article.case-study header {
	border-bottom: 1px solid #e1e1e1;;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.type-post header > .row:first-child {
    margin-bottom: 3rem;
}

.type-post header .post-date {
	background-color: #db3a3e;
	color: #fff;
	float: left;
	padding: .5rem 1.25rem;
}

.type-post header img + .post-date {
	left: 0;
	position: absolute;
	top: 0;
}

.post-title {
	font-family: "lato", sans-serif;
    line-height: 1;
    margin-bottom: 1rem;
}


article .blog-post {
    float: none;
}


.post-tags {
	font-size: .875rem;
}

article .post-tags:not(:empty) {
    float: none;
    border: none;
    margin: 3rem 0 1rem 0;
}

.post-tags:not(:empty) {
	border-left: 1px solid #333;
}

.post-tags span {
	display: inline-block;
	margin-right:.5rem;
}

.post-tags span a {
	text-decoration: underline;
	text-transform: lowercase;	
}

.post-tags span a:before {
	content:"#";
}

.post-share {
    padding-top: 2rem;
}

.at-svc-facebook .at-icon-wrapper {
	background: transparent url('/wp-content/themes/msr/img/facebook-icon.png') 50% 50% no-repeat;
	background-size: contain;
}

.at-svc-twitter .at-icon-wrapper {
	background: transparent url('/wp-content/themes/msr/img/twitter-icon.png') 50% 50% no-repeat;
	background-size: contain;	
}

.at-svc-linkedin .at-icon-wrapper {
	background: transparent url('/wp-content/themes/msr/img/linkedin-icon.png') 50% 50% no-repeat;
	background-size: contain;
}

.at-icon-wrapper svg {
	display:none;
}

/*------------------------------------*\
	END: BLOG SINGLE
\*------------------------------------*/



/*------------------------------------*\
	JOIN OUR TEAM AND JOBS PAGE 
\*------------------------------------*/


section.header-image header, section.header-image header h2, section.header-image header a { color: #fff; }

header .jump-links ul {
	list-style: none;
	margin: 0;
}

@media(min-width:641px) {
	header .jump-links ul {
		float:right;
	}
}

header .jump-links li {
	font-family: "museo-slab", serif;  
	font-size: 1.125rem;
	font-weight: 500;
    padding-bottom: .75rem;
}

header .jump-links a {
    border-bottom: 1px solid rgba(255, 255, 255,0.7);
	font-weight: 300;
	text-transform: capitalize;
}

.section-title {
	margin: 0;
	padding-bottom: 3.5rem;
	padding-top: 4rem;	
}

.section-title.toggle {
	cursor: pointer;
	display: inline-block;
	position: relative;
}

.section-title.toggle:after {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
	content: "";
	height: 0;
    left: 100%;
    margin-left: 1rem;		
    margin-top: 3px;    
	position: absolute;
    top: 50%;	
	width: 0;
}

body.join-our-team header.header + section.header-image {
	padding-top: 0;
}

body.join-our-team header.header + section.header-image > header {
	padding-top: 8rem;
}

#current-openings {
	overflow: hidden;
	position: relative;
}

#current-openings > .listing .row:nth-child(odd) {
	background-color: #f0f0f0;
}

#current-openings > .listing .row:nth-child(even) {
	background-color: #f7f7f7;
}

#current-openings > .listing .row {
	line-height: 2rem;
	padding-bottom: 1.5rem;
	padding-top: 1.5rem;
	position: relative;
}

@media(max-width:1024px) {
	#current-openings > .listing .row > div:not(:first-child):not(:last-child) {
		margin-bottom: 1rem;
	}
}

#current-openings > .listing .row > div:first-child,
#current-openings > .listing .row > div:last-child {
	position: static;
}

#current-openings > .listing .row > div:first-child:before,
#current-openings > .listing .row > div:last-child:after {
	background-color: #f0f0f0;
	bottom: 0;
	content:"";
	position: absolute;
	top: 0;
	width: 50vw;
}

#current-openings > .listing .row > div:first-child:before {
	right: 100%;	
}

#current-openings > .listing .row:nth-child(even) > div:first-child:before,
#current-openings > .listing .row:nth-child(even) > div:last-child:after {
	background-color: #f7f7f7;
}

#current-openings > .listing .row > div:first-child:after {
	left: 100%;	
}

#current-openings .date span {
	background: #dfdfdf;
	color: #333;
	display: inline-block;
	font-size: 14px;
	padding: .25rem 1.25rem;
	text-transform: uppercase;
}

#current-openings > .listing .button {
	margin: 0;
}

#job-benefits-listing { 
	background-color: #f0f0f0;	
}


@media(max-width:640px ) {
	#job-benefits-listing table,
	#job-benefits-listing tbody,
	#job-benefits-listing tr,
	#job-benefits-listing td {
		display: block !important;
	}
}

body.single-job #job-benefits-listing > .row {
    overflow: hidden;
    
    -webkit-transition: max-height .3s ease;
            transition: max-height .3s ease;
}

body.single-job #job-benefits-listing:not(.active) > .row {
    max-height: 0 !important;
}

#job-benefits-listing > .row > .column { 
    padding-bottom: 4rem;
    padding-top: 6rem;	
}

#job-benefits-listing .button {
	margin: 3rem 0 0;
}

#job-benefits-listing table {
	background-color: transparent;
	border: 0;
	margin-top: 2.5rem;
	width: 100%;
}

#job-benefits-listing tr:nth-of-type(even) {
	background-color: transparent;
}

article.type-job header {
	padding-bottom: 4rem;
}

article.type-job header h1 {
	line-height: 1.1;
	margin: 0;
}

#job-apply-form {
	background-color: #f0f0f0;
	padding-bottom: 3.5rem;
	padding-top: 4rem;
}

.field-wrap.label-left .ninja-forms-field, .field-wrap.label-left .ninja-forms-star-rating-control { margin-left: 0 !important; }

body.single-job #benefits #job-benefits-listing,
body.single-job #job-apply-form {
	position: relative;
}

#job-apply-form input[type="text"], 
#job-apply-form textarea {
	border: none;
}

#job-apply-form  .ninja-forms-required-items {
	display: none;
}

.ninja-forms-form select {
	-webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
    background-color: #fff;
    border: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.75);
    display: block;
    font-family: inherit;
    font-size: 0.875rem;
    height: 2.3125rem;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
    width: 100% !important;

    -webkit-transition: border-color 0.15s linear,background 0.15s linear;
    -moz-transition: border-color 0.15s linear,background 0.15s linear;
    -ms-transition: border-color 0.15s linear,background 0.15s linear;
    -o-transition: border-color 0.15s linear,background 0.15s linear;
    transition: border-color 0.15s linear,background 0.15s linear;
}

.spam-wrap input { min-width: 200px; }
#job-apply-form  .spam-wrap input { width: 100%; }

body.single-job #benefits #job-benefits-listing:before,
body.single-job #benefits #job-benefits-listing:after,
body.single-job #job-apply-form:before,
body.single-job #job-apply-form:after {
	background-color: inherit;
	bottom: 0;
	content: "";
	position: absolute;
	top: 0;
	width: 50vw;
}

body.single-job #benefits #job-benefits-listing:before,
body.single-job #job-apply-form:before { right: 100%; }

body.single-job #benefits #job-benefits-listing:after,
body.single-job #job-apply-form:after { left: 100%; }


#job-apply-form input {
	min-width: 0px;
}

#job-apply-form input[type="file"]:focus {
	border: none;
	font-weight: 900;
}

#job-apply-form .field-wrap:last-child {
	float: right;
    text-align: right;
}

@media(min-width:641px) {
	
	#job-apply-form .ninja-forms-all-fields-wrap {
		position: relative;
	}
	
	#job-apply-form .field-wrap {
	    width: calc( 50% - 10px );
	}
	
	#job-apply-form .textarea-wrap {
	    position: absolute;
	    right: 0;
	    top: 0;
	    width: calc( 50% - 10px );
	}
	
	#job-apply-form .textarea-wrap textarea {
		min-height: 204px;
	}
	
	body.join-our-team #job-apply-form .textarea-wrap textarea {
		min-height: 260px;
	}
	
	body.single-job #ninja_forms_field_8 {
		display: none;
	}
}

.upload-wrap, 
.upload-wrap label {
	color: #333;
}

.upload-wrap {
    float: left;
}

.upload-wrap label {
	display: inline-block !important;
	font-weight: 300 !important;
	margin-right: 1rem;
}

.upload-wrap input {
	font-size: 12px;
	font-weight: 400;
	text-decoration: underline;
}

/*------------------------------------*\
	END JOIN OUR TEAM AND JOBS PAGE 
\*------------------------------------*/







/*------------------------------------*\
	RESOURCES PAGE 
\*------------------------------------*/

body.page-template-template-resources h1#page-title,
body.trend-report-template-default h1#page-title,
body.case-study-template-default h1#page-title {
	font-size: 2.25rem;
    margin: 0 0 7rem;
}

body.page-template-template-resources article:not(:last-of-type) {
	border-bottom: 1px solid #e1e1e1;
	padding-bottom: 2rem;
}


body.trend-report-template-default article,
body.case-study-template-default article {
	padding-bottom: 3rem;
}


article.trend-report .image img {
	border: 1px solid #f4f4f4;;
}





body.page-template-template-resources article h1.title,
body.trend-report-template-default article h1.title,
body.case-study-template-default article h1.title {
	color: #333;
	font-size: 1.75rem;
	font-weight: 400;	
	margin: 0 0 1rem;
}

body.page-template-template-resources article .label {
	background: #db3a3e;
	margin: 1rem 0;
	padding: .25rem .5rem .25rem;
}

@media(min-width:1025px) {
	body.trend-report-template-default main[role="main"] {
		padding-right: 3rem;
	}
}

article.trend-report .info header {
	margin: 0;
    padding-bottom: 2rem;	
}

@media() {
	
}


article.trend-report .share-this-wrapper h4 {
	color: #333;
	font-size: 1rem;
	font-weight: 400;
}

/*------------------------------------*\
	RESOURCES PAGE END
\*------------------------------------*/








   

/*------------------------------------*\
	CASE STUDY PAGE 
\*------------------------------------*/

.case-study .subtitle {
	font-size: 2.25rem;
	font-weight: 100;
}

.case-study header .row:first-child:not(.post-meta) {
	padding-bottom: 2rem;
}

.case-study header .post-meta {
	padding-bottom: 1rem;
}

.case-study header + .row ~ .row {
	padding-top: 1.5rem;	
}

.case-study header ~ .row .column h3 { 
	margin-bottom: .125rem;
}

.case-study header ~ .row .column h3:after {
	content:":";
}


#case-studies-2 ul a,
#resources-2 ul a,
#trend_reports-2  ul a {
	text-decoration: underline;
}



.page-template-template-resources #case-studies-2 li:first-child,
.page-template-template-resources #resources-2 li:first-child {
	display: none;
}
/*------------------------------------*\
	END CASE STUDY PAGE
\*------------------------------------*/


/*------------------------------------*\
	TREND REPORT PAGE
\*------------------------------------*/

@media(min-width:1025px) {
	article.trend-report .info header {
		align-items: center;
		display: flex;
		justify-content: flex-end;
	}
}

@media(max-width:1024px) {
	article.trend-report .info header {
		margin-top: 1rem;
	}
}

.share-this-wrapper h4 {
	margin: 0;
	padding-right: 1rem;
}

article.trend-report header .button {
	margin: 0;
}




/*------------------------------------*\
	END TREND REPORT PAGE
\*------------------------------------*/




/*------------------------------------*\
    CONTACT/FOOTER
\*------------------------------------*/

#contact-us .section-label span {
	background-color: #db3a3e;
}

#contact-us .row {
    background-color: rgba(219, 58, 62,.85);
   display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 12rem auto 8rem;
    padding-bottom: 2.75rem;
    padding-top: 2.75rem;

}

@media(max-width:1400px) {
	#contact-us .row {
	    font-size: .875rem;
	}
}

@media(min-width:1025px) {
	#contact-us .row {
		padding-left:3.5rem;
		padding-right:3.5rem;		
	}
}

@media(max-width:1024px) {
	
	#contact-us .row {
		margin-left: .9375rem;
		margin-right: .9375rem;
		width: calc( 100% - 1.875rem )
	}

	#contact-us .row > div:not(:last-child) {
		margin-bottom: 2rem;
	}
}

#contact-us, #contact-us h2, #contact-us a {
	color: #fff;
	line-height: 1.3;
}

#contact-us h2 {
	line-height: 1.2;
	margin: 0;
}

#contact-us a {
	font-weight: 700;	
}

#contact-us .contact-body {
	font-family: "museo-slab", serif;
}

@media(max-width:640px) {
	footer .copyright,
	footer .copyright + .widget-area {
		font-size: .75rem;
		padding-left: 0;
		padding-right: 0;		
	}
}

footer .widget-area ul {
	margin: 0;	
}

footer .widget-area ul li {
	display: inline-block;
	list-style: none;
}

footer .widget-area ul li img {
	max-width: 18px;
}

footer .widget-area ul li:not(:last-child) {
	margin-right: 1.25rem;
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#db3a3e;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#db3a3e;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#db3a3e;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}

.alignright {
	float:right;
	margin:5px 0 20px 20px;
}

.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}

a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}

a img.alignnone {
	margin:5px 20px 20px 0;
}

a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}

a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}

.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}

.wp-caption.alignright {
	margin:5px 0 20px 20px;
}

.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		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) ")";
	}
	.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;
	}
	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;
	}
}
