@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Box sizing rules */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
	padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
}

ul[class],
ol[class] {
	list-style: none;
}

a:not([class]) {
	text-decoration-skip-ink: auto;
}

img {
	max-width: 100%;
	display: block;
}

input,
button,
textarea,
select {
	font: inherit;
}

html{
	  -webkit-text-size-adjust: 100%; 
}

body {
	font: 100%/1.5 "Open Sans", sans-serif;
	font-weight: 400;
	color: #555;
	background-color: #eee;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100%;
	scroll-behavior: smooth;
	font-optical-sizing: auto;
}

a {
	text-decoration: none;
	color: #888;
	outline: none;
	transition: color 0.4s;
}

a:hover,
a:focus {
	color: #aaa;
}

nav a:hover,
nav a:focus {
	color: #fff;
}

button:focus,
a:focus {
	outline: none;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
	font-family: 'Catamaran', sans-serif;
	font-weight: 100;
	color: #222;
	line-height: 1.1;
}

h2 {
	font-size: 2.5em;
	letter-spacing: -1px;
}

h3 {
	font-size: 1.625em;
}

h4 {
	font-size: 1.25em;
	margin-bottom: 5px;
	font-weight: 300;
	color: #555
}

h5 {
	color: #999;
	font-weight: 300;
}

p {
	margin-bottom: 1.25em;
	font-size: .9375em;
}

.note {
	color: #777;
}

.larger {
	font-size: 150%;
	font-weight: 300;
	margin: 1em 0 0;
}

ul, ol {
	padding-inline-start: 20px;
	margin: 2px 0 1.5rem;
}

ul li, ol li {
	font-size: .9375em;
}

main {
	position: relative;
	width: 100%;
	overflow-x: hidden;
}

#contact main{
	overflow-y: hidden;
}

.pad,
.pad2 {
	padding: 2.5rem 2rem;
}

.social {
	height: 36px;
	margin-right: 5px;
	display: inline-block;
	transition: all 0.4s;
}

.social:hover {
	opacity: .5;
}

.logo {
	max-width: 100px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}

.tagline {
	padding: 2rem;
}

.tagline h1 {
	font-size: 1.75em;
	line-height: 1.2;
	letter-spacing: -1px;
	color: #4a4a4a;
}

.accent {
	color: #C32335
}

.banner {
	background: #111;
}

.banner img {
	opacity: .7;
}

#contact .banner img {
	opacity: .4;
}

.page-title {
	position: absolute;
	top: 0;
	left: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100vh;
	height: calc(var(--vh, 1vh) * 100);
}

.page-title p {
	color: #bbb !important;
}

.page-title h1 {
	font-size: 2.5em;
	font-weight: 100;
	color: #ddd !important;
	margin-bottom: 0;
}

.page-title h3 {
	font-size: 2em;
	font-weight: 400;
}

.page-title a:link,
.page-title a:visited {
	color: #ccc;
}

.page-title a:hover {
	color: #fff;
}

.prop {
	min-height: 480px;
	background-size: cover !important;
	background-color: #555;
	background-position: center 20% !important;
}

.book {
	max-width: 270px;
	margin: 0 auto;
}

.light {
	background-color: #fafafa;
}

.grey {
	background-color: #e0e0e0;
}

.grey2 {
	background-color: #a9a9a9;
}

.area1 {
	background: url(../i/095.jpg);
}

.area2 {
	background: url(../i/energy.jpg);
}

.area3 {
	background: url(../i/technology.jpg);
}

.blogs {
	background: url(../i/hard-hat.jpg);
}

.tweets {
	background: url(../i/kl-tower.jpg);
}

footer {
	background: #222;
	padding: 4vw;
	text-align: center;
	color: #616161;
	font-size: .6875em;
	text-transform: uppercase;
	letter-spacing: 1px;
}

footer a:link,
footer a:visited {
	color: #777;
}

#home .mouse,
#contact .mouse {
	display: none;
}

.hline {
	font-size: 90%;
	line-height: 1.8;
}

.hline::before {
	content: "";
	display: block;
	height: 1px;
	width: 30px;
	background: #bbb;
	display: inline-block;
	margin-right: 3px;
}

.hline:hover::before {
	background: #ccc;
}

hr {
	border: 0;
	height: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	margin: 50px 0 30px
}

.banner {
	width: 100%;
	height: 100vh;
	height: calc(var(--vh, 1vh) * 100);
	background: #111;
}

.banner img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	z-index: 1;
}

img.fit {
	width: 100%;
	height: 100%;
	object-fit: cover
}

#practice .banner img,
#contact .banner img {
	object-position: 85% top;
}

@media screen and (max-width:35em) {
	footer span {
		display: block;
	}

	.hero::after{
		content:"";
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.5) 30%, #fff 100%);
	}
}

.hero {
	width: 100%;
	height: 100vh;
	height: calc(var(--vh, 1vh) * 100);
	background: #ededed url(../i/home.jpg) no-repeat -70px bottom;
	background-size: auto 100%;
	position: absolute;
	z-index: -1;
}

.hero-txt {
	text-align: right;
	height: 100vh;
	padding-right: 24px;
	padding-top: 160px;
	padding-left: 25%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	z-index: 1000;
}

.hero-txt h1 {
	line-height: 1;
	letter-spacing: -1px;
	font-size: 1.5625em;
}

.old .hero-txt {
	padding-top: 180px;
	padding-left: 30%;
}

.hero-txt h1 a {
	color: #222;
	line-height: 1.1;
}

.hero-txt p {
	font-size:.875rem;
	color: #222;
	padding-left: 50px
}

.hero-txt p.pub{
	font-size:.75rem;
	line-height: 1.3
}

@media screen and (min-width: 21em) {

	.tagline h1 {
		font-size: 2.125em;
	}
}

@media screen and (min-width: 26em) {

	.tagline h1,
	.hero-txt h1 {
		font-size: 2em;
	}

	.hero {
		background-position: -60px top;
	}

	.hero-txt {
		padding-top: 180px;
	}


.hero-txt p {
	max-width: 650px;
}
}

@media screen and (min-width: 48em) {
	.hero {
		background: #ededed url(../i/home@2x.jpg) no-repeat -60px top;
		background-size: auto 100%;
	}

	.hero-txt {
		padding-left: 40%;
		justify-content: center;
		padding-top: 0;
	}
}

@media screen and (min-width: 48em) {
	.hero {
		background-position: -150px top;
	}

	.hero-txt {
		padding-left: 40%;
		justify-content: center;
		padding-top: 0;
	}

	.hero-txt h1,
	.page-title h1 {
		font-size: 3em;
	font-weight: 300;
	}

	.hero-txt p {
		font-size: 1.125em;
		line-height: 1.4
	}

.hero-txt p.pub{
	font-size: .875em;
}

	.logo {
		max-width: 120px;
	}
}

@media screen and (min-width: 650px) and (max-height: 600px) {
	.hero {
		background-position: 0 top;
	}

	.hero-txt {
		padding-left: 40%;
		justify-content: center;
		padding-top: 0;
	}

	.hero-txt h1 {
		font-size: 2.375em;
	}
}

@media screen and (min-width: 62em) {
	.hero {
		background-position: 0 top;
	}

	.logo {
		max-width: 140px;
	}

	.background {
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: 1;
		background-position: left top;
	}

	.tagline h1 {
		font-size: 3em;
	}

	.page-title h1 {
		font-size: 4em;
		letter-spacing: -1px;
	}

	.page-title h3 {
		font-size: 2.25em;
	}

	h2 {
		font-size: 2.5em;
	}

	.pad2 {
		padding: 6vw 5vw;
	}

	.pad2 p,
	.pad2 li {
		max-width: 700px;
	}

	.pb0 {
		padding-bottom: 0;
	}

	.mb0 {
		margin-bottom: 0;
	}

	.tagline {
		padding: 2rem;
		text-align: right;
		z-index: 99;
		padding-left: 45%;
	}

	.row {
		display: flex;
		display: -ms-flexbox;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		width: 100%;
	}

	.center {
		align-items: center;
		justify-content: center;
		-ms-flex-align: center;
		-ms-flex-pack: center;
	}

	.vertical {
		-ms-flex-direction: column;
		-webkit-flex-direction: column;
		flex-direction: column;
		height: 100%;
	}

	.full {
		width: 100%;
	}

	.col {
		-ms-flex: 1;
		flex: 1;
	}

	.x15 {
		-ms-flex: 1.5;
		flex: 1.5;
	}

	.x2 {
		-ms-flex: 2;
		flex: 2;
	}

	.x3 {
		-ms-flex: 3;
		flex: 3;
	}

	.x4 {
		-ms-flex: 4;
		flex: 4;
	}

	.order2 {
		order: 2;
	}
}

@media screen and (min-width: 72em) {
	#asso {
		min-height: 600px;
	}

	.tagline h1,
	.hero-txt h1 {
		font-size: 3.5em;
	}
}

@media screen and (min-width: 84em) {

	.tagline h1,
	.hero-txt h1 {
		font-size: 4em;
		max-width: 80vw;
	}
}

.mouse {
	width: 100%;
	position: absolute;
	bottom: 30px;
	left: 0;
	z-index: 99;
	transition: all .4s ease-in-out;
}

.mouse-hide {
	opacity: 0
}

.mouse-icon {
	width: 25px;
	height: 45px;
	border: 2px solid white;
	border-radius: 15px;
	cursor: pointer;
	position: relative;
	margin: 0 auto;
}

.mouse-wheel {
	height: 6px;
	margin: 2px auto 0;
	display: block;
	width: 3px;
	background-color: white;
	border-radius: 50%;
	-webkit-animation: 1.6s ease infinite wheel-up-down;
	-moz-animation: 1.6s ease infinite wheel-up-down;
	animation: 1.6s ease infinite wheel-up-down;
}

@-webkit-keyframes wheel-up-down {
	0% {
		margin-top: 2px;
		opacity: 0;
	}

	30% {
		opacity: 1;
	}

	100% {
		margin-top: 20px;
		opacity: 0;
	}
}

@-moz-keyframes wheel-up-down {
	0% {
		margin-top: 2px;
		opacity: 0;
	}

	30% {
		opacity: 1;
	}

	100% {
		margin-top: 20px;
		opacity: 0;
	}
}

@keyframes wheel-up-down {
	0% {
		margin-top: 2px;
		opacity: 0;
	}

	30% {
		opacity: 1;
	}

	100% {
		margin-top: 20px;
		opacity: 0;
	}
}

/* menu */
.menu li {
	cursor: pointer;
	font: 1.375em/1 'Catamaran', sans-serif;
	margin-bottom: 1rem;
	font-weight: 100;
}

@media screen and (min-width:23em) {
	.menu li {
		font-size: 2em;
	}
}

@media screen and (min-width:48em) {
	.menu li {
		font-size: 2.5em;
	}
}

@media screen and (min-width:72em) {
	.menu li {
		font-size: 3em;
		letter-spacing: -1px;
		margin-bottom: 1.5rem;
	}
}

button {
	background-color: transparent;
	position: fixed;
	z-index: 101;
	top: 24px;
	right: 24px;
	border: none;
	width: 26px;
	height: 23px;
	outline: none;
	transition: opacity 0.2s ease-out;
}

button:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	right: auto;
	width: 100%;
	background: linear-gradient(to bottom, #C32335, #C32335 20%, transparent 20%, transparent 40%, #C32335 40%, #C32335 60%, transparent 60%, transparent 80%, #C32335 80%, #C32335 100%);
	transition: opacity 0.2s ease-out, width 0.2s 0.2s ease-out;
}

button:after {
	opacity: 0;
	content: '×';
	color: #C32335;
	position: absolute;
	top: 13px;
	right: -4px;
	font-family: Arial, sans-serif;
	font-size: 58px;
	line-height: 0;
	transition: opacity 0.4s ease-out;
}

button:active {
	transform: translateY(2px);
}

.open button {
	opacity: 1;
}

.open button:before {
	opacity: 0;
	width: 0;
}

.open button:after {
	opacity: 1;
	transform: translate3d(0, 0, 0) rotate(180deg);
	transition: transform 0.4s 1s ease-out, opacity 0.4s 1s ease-out;
}

nav {
	z-index: 100;
	position: fixed;
	top: -100%;
	left: 0;
	width: 100%;
	height: 100%;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	overflow: hidden;
}

nav:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	background: #C32335;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	border-radius: 100%;
	transform: scale(0.04), translateY(9999px);
	overflow: hidden;
}

.open nav {
	top: 0;
}

.open nav:before {
	animation: menu-animation 0.8s ease-out forwards;
}

ul.menu {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%, -50%, 0);
	backface-visibility: hidden;
	perspective: 1000;
	color: white;
}

ul.menu li {
	opacity: 0;
	text-align: center;
	transform: translate3d(0, 36px, 0);
}

.open ul.menu li {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.open ul.menu li:nth-child(1) {
	transition-delay: .8s;
}

.open ul.menu li:nth-child(2) {
	transition-delay: .85s;
}

.open ul.menu li:nth-child(3) {
	transition-delay: .9s;
}

.open ul.menu li:nth-child(4) {
	transition-delay: .95s;
}

.open ul.menu li:nth-child(5) {
	transition-delay: 1s;
}

.open ul.menu li:nth-child(6) {
	transition-delay: 1.05s;
}

.open ul.menu li:nth-child(7) {
	transition-delay: 1.1s;
}

#home .menu li.m1 a,
#practice .menu li.m2 a,
#partners .menu li.m3 a,
#associates .menu li.m4 a,
#publications .menu li.m5 a,
#contact .menu li.m6 a,
#careers .menu li.m7 a {
	color: #C32335 !important;
}

@keyframes menu-animation {
	0% {
		opacity: 0;
		transform: scale(0.04) translateY(300%);
	}

	40% {
		transform: scale(0.04) translateY(0);
		transition: ease-out;
	}

	40% {
		transform: scale(0.04) translateY(0);
	}

	60% {
		opacity: 1;
		transform: scale(0.02) translateY(0px);
	}

	61% {
		transform: scale(0.04);
	}

	80% {
		background: #C32335;
	}

	99.9% {
		height: 0;
		padding-bottom: 100%;
		border-radius: 100%;
	}

	100% {
		transform: scale(2);
		height: 100%;
		padding-bottom: 0;
		border-radius: 0;
		background: #222;
	}
}

/* sal */
[data-sal] {
    -webkit-transition-duration: .3s;
    transition-duration: .3s
}

[data-sal][data-sal-delay="200"] {
    -webkit-transition-delay: .3s;
    transition-delay: .3s
}

[data-sal][data-sal-delay="300"] {
    -webkit-transition-delay: .4s;
    transition-delay: .4s
}

[data-sal][data-sal-delay="400"] {
    -webkit-transition-delay: .5s;
    transition-delay: .5s
}

[data-sal][data-sal-delay="600"] {
    -webkit-transition-delay: .6s;
    transition-delay: .6s
}

[data-sal|=fade] {
    opacity: 0;
    transition-property: opacity
}

[data-sal|=fade].sal-animate,
body.sal-disabled [data-sal|=fade] {
    opacity: 1
}

[data-sal|=go] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-sal=go-u] {
    transform: translateY(10%);
}

[data-sal=go-d] {
    transform: translateY(-10%)
}

[data-sal=go-l] {
    transform: translateX(10%)
}

[data-sal=go-r] {
    transform: translateX(-10%)
}

[data-sal|=go].sal-animate,
body.sal-disabled [data-sal|=go] {
    opacity: 1;
    transform: none
}

[data-sal|=zoom] {
    opacity: 0;
    transition-property: opacity, transform;
    transform: scale(1.1)
}

[data-sal|=zoom].sal-animate,
body.sal-disabled [data-sal|=zoom] {
    opacity: 1;
    transform: none
}