/*
Theme Name: Farrells
Theme URI: https://wordpress.org/themes/farrells/
Author: Lara Brook
Author URI: http://larabrook.com
Description: Farrells
Version: 1
Text Domain: farrells
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready


*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Accessibility
3.0 Alignments
4.0 Clearings
5.0 Typography
6.0 Forms
7.0 Formatting
8.0 Lists
9.0 Tables
10.0 Links
11.0 Featured Image Hover
12.0 Navigation
13.0 Layout
   13.1 Header
   13.2 Front Page
   13.3 Regular Content
   13.4 Posts
   13.5 Pages
   13.6 Footer
14.0 Comments
15.0 Widgets
16.0 Media
   16.1 Galleries
17.0 Customizer
18.0 SVGs Fallbacks
19.0 Media Queries
20.0 Print
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css
--------------------------------------------------------------*/

html {
	font-family: sans-serif;
	line-height: 1.15;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
footer,
header,
nav,
section {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

figcaption,
figure,
main {
	display: block;
	clear: both;
}

figure {
	margin: 1em 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
	outline-width: 0;
}

abbr[title] {
	border-bottom: 1px #767676 dotted;
	text-decoration: none;
}

b,
strong {
	font-weight: inherit;
}

b,
strong {
	font-weight: 700;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

dfn {
	font-style: italic;
}

mark {
	background-color: #eee;
	color: #222;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline; 
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

audio,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

img {
	border-style: none;
}

svg:not(:root) {
	overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
	font-family: sans-serif;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	border: 1px solid #bbb;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	display: inline-block;
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details,
menu {
	display: block;
}

summary {
	display: list-item;
}

canvas {
	display: inline-block;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
2.0 Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
3.0 Alignments
--------------------------------------------------------------*/

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
4.0 Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.entry-footer:before,
.entry-footer:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.nav-links:before,
.nav-links:after,
.pagination:before,
.pagination:after,
.comment-author:before,
.comment-author:after,
.widget-area:before,
.widget-area:after,
.widget:before,
.widget:after,
.comment-meta:before,
.comment-meta:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.entry-footer:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after,
.nav-links:after,
.pagination:after,
.comment-author:after,
.widget-area:after,
.widget:after,
.comment-meta:after {
	clear: both;
}



/*--------------------------------------------------------------
5.0 Typography
--------------------------------------------------------------*/
html[lang="zh-hans"] { font-family: Microsoft JhengHei !important; }
body,
button,
input,
select,
textarea {
	color: #333;
	font-family: Verdana, sans-serif;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.66;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	line-height: 1.4;
	margin: 0 0 0.75em;
	padding: 1.5em 0 0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	padding-top: 0;
}

#main h1 {
	font-size: 30px;
    font-family: effra;
    font-weight: 500;
}

h1 {
	font-size: 24px;
	font-size: 1.5rem;
	font-weight: 300;
}

h2 {
	color: #666;
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 300;
}

h3 {
	color: #333;
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: 300;
}

h4 {
	color: #333;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 800;
}

h5 {
	color: #767676;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

h6 {
	color: #333;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 800;
}

p {
	margin: 0 0 1.5em;
	padding: 0;
	font-size: 12px;
	color: #7b7b7b;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	color: #666;
	font-size: 18px;
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.7;
	margin: 0;
	overflow: hidden;
	padding: 0;
}

blockquote cite {
	display: block;
	font-style: normal;
	font-weight: 600;
	margin-top: 0.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #eee;
	text-decoration: none;
}

big {
	font-size: 125%;
}

blockquote {
	quotes: "" "";
}

q {
	quotes: "“" "”" "‘" "’";
}

blockquote:before,
blockquote:after {
	content: "";
}

:focus {
	outline: none;
}

/* Typography for Chinese Font */

html[lang^="zh-"] body,
html[lang^="zh-"] button,
html[lang^="zh-"] input,
html[lang^="zh-"] select,
html[lang^="zh-"] textarea {
	font-family: "Microsoft JhengHei", "Helvetica Neue", Helvetica, STHeitiTC-Light, Arial, sans-serif !important;
}

html[lang^="zh-"] h1,
html[lang^="zh-"] h2,
html[lang^="zh-"] h3,
html[lang^="zh-"] h4,
html[lang^="zh-"] h5,
html[lang^="zh-"] h6 {
	font-weight: 700;
}


html[lang^="zh-"] .gallery-item .title p {
    font-size: 12px;
}
/* Typography for Cyrillic Font */

html[lang="bg-BG"] body,
html[lang="bg-BG"] button,
html[lang="bg-BG"] input,
html[lang="bg-BG"] select,
html[lang="bg-BG"] textarea,
html[lang="ru-RU"] body,
html[lang="ru-RU"] button,
html[lang="ru-RU"] input,
html[lang="ru-RU"] select,
html[lang="ru-RU"] textarea,
html[lang="uk"] body,
html[lang="uk"] button,
html[lang="uk"] input,
html[lang="uk"] select,
html[lang="uk"] textarea {
	font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}

html[lang="bg-BG"] h1,
html[lang="bg-BG"] h2,
html[lang="bg-BG"] h3,
html[lang="bg-BG"] h4,
html[lang="bg-BG"] h5,
html[lang="bg-BG"] h6,
html[lang="ru-RU"] h1,
html[lang="ru-RU"] h2,
html[lang="ru-RU"] h3,
html[lang="ru-RU"] h4,
html[lang="ru-RU"] h5,
html[lang="ru-RU"] h6,
html[lang="uk"] h1,
html[lang="uk"] h2,
html[lang="uk"] h3,
html[lang="uk"] h4,
html[lang="uk"] h5,
html[lang="uk"] h6 {
	font-weight: 700;
	line-height: 1.2;
}


/* Remove letter-spacing for all non-latin alphabets */

html[lang="ar"] *,
html[lang="ary"] *,
html[lang="azb"] *,
html[lang="haz"] *,
html[lang="ps"] *,
html[lang^="zh-"] *,
html[lang="bg-BG"] *,
html[lang="ru-RU"] *,
html[lang="uk"] *,
html[lang="bn-BD"] *,
html[lang="hi-IN"] *,
html[lang="mr-IN"] *,
html[lang="el"] *,
html[lang="gu-IN"] *,
html[lang="he-IL"] *,
html[lang="ja"] *,
html[lang="ko-KR"] *,
html[lang="th"] * {
	letter-spacing: 0 !important;
}

/*--------------------------------------------------------------
6.0 Forms
--------------------------------------------------------------*/

label {
	color: #333;
	display: block;
	font-weight: 800;
	margin-bottom: 0.5em;
}

fieldset {
	margin-bottom: 1em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	background: #fff;
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: block;
	padding: 0.7em;
	width: 100%;
}

input[type="search"] {
	border: 1px solid #000;
	width: 169px;
    padding-right: 28px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #222;
	border-color: #333;
}

select {
	    border: 1px solid #989898;
    height: 3em;
    max-width: 100%;
    background-color: transparent;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
	border-radius: 0px;
    background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'><path fill='#444' d='M7.406 7.828l4.594 4.594 4.594-4.594 1.406 1.406-6 6-6-6z'></path></svg>");
    background-position: 100% 50%;
    background-repeat: no-repeat;
    padding-right: 40px;
    padding-left: 11px;
}


input[type="radio"],
input[type="checkbox"] {
	margin-right: 0.5em;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
	font-weight: 400;
}

.button, button,
input[type="button"],
input[type="submit"] {
	background-color: #222;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1;
	padding: 1em 2em;
	text-shadow: none;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
}

input + button,
input + input[type="button"],
input + input[type="submit"] {
	padding: 0.75em 2em;
}

button.secondary,
input[type="reset"],
input[type="button"].secondary,
input[type="reset"].secondary,
input[type="submit"].secondary {
	background-color: #ddd;
	color: #222;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: #767676;
}

button.secondary:hover,
button.secondary:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"].secondary:hover,
input[type="button"].secondary:focus,
input[type="reset"].secondary:hover,
input[type="reset"].secondary:focus,
input[type="submit"].secondary:hover,
input[type="submit"].secondary:focus {
	background: #bbb;
}

#contentPage.button-blueWhite .button, #contentPage.button-greenWhite .button, #contentPage.button-greyWhite .button, #contentPage.button-orangeWhite .button, #contentPage.button-pinkWhite .button, #contentPage.button-purpleWhite .button, #contentPage.button-redWhite .button, #contentPage.button-tealWhite .button, main.button-blueWhite .button, main.button-greenWhite .button, main.button-greyWhite .button, main.button-orangeWhite .button, main.button-pinkWhite .button, main.button-purpleWhite .button, main.button-redWhite .button, main.button-tealWhite .button, .button.blueWhite, .button.greenWhite, .button.greyWhite, .button.orangeWhite, .button.pinkWhite, .button.purpleWhite, .button.redWhite, .button.tealWhite, div.blueWhite, div.greenWhite, div.greyWhite, div.orangeWhite, div.pinkWhite, div.purpleWhite, div.redWhite, div.tealWhite  { background-color: #fff; }
main.button-blueWhite .button, #contentPage.button-blueWhite .button, .button.blueWhite { border: 1px solid #0085ca; } 
main.button-greenWhite .button, #contentPage.button-greenWhite .button, .button.greenWhite { border: 1px solid #3a9725; } 
main.button-greyWhite .button, #contentPage.button-greyWhite .button, .button.greyWhite { border: 1px solid #4b4f54;} 
main.button-orangeWhite .button, #contentPage.button-orangeWhite .button, .button.orangeWhite { border: 1px solid #fe5000;} 
main.button-pinkWhite .button, #contentPage.button-pinkWhite .button, .button.pinkWhite { border: 1px solid #e10098;} 
main.button-purpleWhite .button, #contentPage.button-purpleWhite .button, .button.purpleWhite { border: 1px solid #5f259f;} 
main.button-redWhite .button, #contentPage.button-redWhite .button, .button.redWhite { border: 1px solid #f9423a;} 
main.button-tealWhite .button, #contentPage.button-tealWhite .button, .button.tealWhite { border: 1px solid #008e69;}
main.button-blueWhite a .button, #contentPage.button-blueWhite a .button, .button.blueWhite a, div.blueWhite h2 { color: #0085ca !important; } 
main.button-greenWhite a .button, #contentPage.button-greenWhite a .button, .button.greenWhite a, div.greenWhite h2 { color: #3a9725 !important; } 
main.button-greyWhite a .button, #contentPage.button-greyWhite a .button, .button.greyWhite a, div.greyWhite h2 { color: #4b4f54 !important;} 
main.button-orangeWhite a .button, #contentPage.button-orangeWhite a .button, .button.orangeWhite a, div.orangeWhite h2 { color: #fe5000 !important;} 
main.button-pinkWhite a .button, #contentPage.button-pinkWhite a .button, .button.pinkWhite a, div.pinkWhite h2 { color:#e10098 !important;} 
main.button-purpleWhite a .button, #contentPage.button-purpleWhite a .button, .button.purpleWhite a, div.purpleWhite h2 { color: #5f259f !important;} 
main.button-redWhite a .button, #contentPage.button-redWhite a .button, .button.redWhite a, div.redWhite h2 { color: #f9423a !important;} 
main.button-tealWhite a .button, #contentPage.button-tealWhite a .button, .button.tealWhite a, div.tealWhite h2 { color: #008e69 !important;}
#contentPage.button-whiteBlue a .button, #contentPage.button-whiteGreen a .button, #contentPage.button-whiteGrey a .button,#contentPage.button-whiteOrange a .button, #contentPage.button-whitePink a .button, #contentPage.button-whitePurple a .button,  #contentPage.button-whiteRed a .button, #contentPage.button-whiteTeal a .button, main.button-whiteBlue a .button, main.button-whiteGreen a .button, main.button-whiteGrey a .button, main.button-whiteOrange a .button, main.button-whitePink a .button, main.button-whitePurple a .button,  main.button-whiteRed a .button, main.button-whiteTeal a .button, .button.whiteBlue a, .button.whiteGreen a, .button.whiteGrey a, .button.whiteOrange a, .button.whitePink a,  .button.whitePurple a, #contentPage.button-whitePurple a .button, .button.whiteRed a, .button.whiteTeal a, div.whiteBlue h2, div.whiteGreen h2, div.whiteGrey h2, div.whiteOrange h2, div.whitePink h2, div.whitePurple h2, div.whiteRed h2, div.whiteTeal h2 { color: white !important; }
#contentPage.button-whiteBlue .button, .button.whiteBlue, div.whiteBlue { background-color: #0085ca;} 
#contentPage.button-whiteGreen .button, .button.whiteGreen, div.whiteGreen { background-color: #3a9725;} 
#contentPage.button-whiteGrey .button, .button.whiteGrey, div.whiteGrey { background-color: #4b4f54; }
#contentPage.button-whiteOrange .button, .button.whiteOrange, div.whiteOrange { background-color: #fe5000;}
#contentPage.button-whitePink .button, .button.whitePink, div.whitePink { background-color:#e10098;}
#contentPage.button-whitePurple .button, .button.whitePurple, div.whitePurple { background-color: #5f259f;}
#contentPage.button-whiteRed .button, .button.whiteRed, div.whiteRed { background-color: #f9423a; }
#contentPage.button-whiteTeal .button, .button.whiteTeal, div.whiteTeal { background-color: #008e69;}

h2.blue, h3.blue, #contentPage.link-blue a, main.link-blue a, #contentPage.quote-blue blockquote p, main.quote-blue blockquote p, .blue a, a.blue, p.blue, q.blue, span.blue, #contentPage.bullet-blue .twoCol-lg li:before,  main.bullet-blue  li:before {color: #0085ca;}
h2.green, h3.green, #contentPage.link-green a, main.link-green a, #contentPage.quote-green blockquote p, main.quote-green blockquote p, .green a, a.green, p.green, q.green, span.green, #contentPage.bullet-green .twoCol-lg li:before,  main.bullet-green li:before  {color: #3a9725;} 
h2.grey, h3.grey, #contentPage.link-grey a, main.link-grey a, #contentPage.quote-grey blockquote p,  main.quote-grey blockquote p, .grey a, a.grey, p.grey, q.grey, span.grey, #contentPage.bullet-grey .twoCol-lg li:before,  main.bullet-grey li:before {color: #4b4f54;} 
h2.orange, h3.orange, #contentPage.link-orange a, main.link-orange a, #contentPage.quote-orange blockquote p, main.quote-orange blockquote p, .orange a, a.orange, p.orange, q.orange, span.orange, #contentPage.bullet-orange .twoCol-lg li:before,  main.bullet-orange li:before {color: #fe5000;} 
h2.pink, h3.pink, #contentPage.link-pink a, main.link-pink a, #contentPage.quote-pink blockquote p, main.quote-pink blockquote p, .pink a, a.pink, p.pink, q.pink, span.pink, #contentPage.bullet-pink .twoCol-lg li:before,  main.bullet-pink  li:before {color:#e10098;}
h2.purple, h3.purple, #contentPage.link-purple a, main.link-purple a, #contentPage.quote-purple blockquote p, main.quote-purple blockquote p, .purple a, a.purple, p.purple, q.purple, span.purple, #contentPage.bullet-purple .twoCol-lg li:before,  main.bullet-purple li:before {color: #5f259f;}
h2.red, h3.red, .red a, #contentPage.link-red a, main.link-red a, #contentPage.quote-red blockquote p, main.quote-red blockquote p, a.red, p.red, q.red, span.red, #contentPage.bullet-red .twoCol-lg li:before,  main.bullet-red li:before {color: #f9423a;}
h2.teal, h3.teal, #contentPage.link-teal a, main.link-teal a, #contentPage.quote-teal blockquote p, main.quote-teal blockquote p, .teal a, a.teal, p.teal, q.teal, span.teal, #contentPage.bullet-teal .twoCol-lg li:before,  main.bullet-teal li:before {color: #008e69;}


#project .rightColumn ul.blue, #service .rightColumn ul.blue, #contentPage .twoCol-sm ul.blue { border-color: #0085ca;}
#project .rightColumn ul.green, #service .rightColumn ul.green, #contentPage .twoCol-sm ul.green { border-color: #3a9725;} 
#project .rightColumn ul.grey, #service .rightColumn ul.grey, #contentPage .twoCol-sm ul.grey { border-color: #4b4f54;} 
#project .rightColumn ul.orange, #service .rightColumn ul.orange, #contentPage .twoCol-sm ul.orange { border-color: #fe5000;} 
#project .rightColumn ul.pink, #service .rightColumn ul.pink, #contentPage .twoCol-sm ul.pink { border-color:#e10098;}
#project .rightColumn ul.purple, #service .rightColumn ul.purple, #contentPage .twoCol-sm ul.purple  { border-color: #5f259f;}
#project .rightColumn ul.red, #service .rightColumn ul.red, #contentPage .twoCol-sm ul.red  { border-color: #f9423a;}
#project .rightColumn ul.teal, #service .rightColumn ul.teal, #contentPage .twoCol-sm ul.teal { border-color: #008e69;}
/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

:-moz-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

::-moz-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
	opacity: 1;
	/* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #333;
	font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

/*--------------------------------------------------------------
7.0 Formatting
--------------------------------------------------------------*/

hr {
	background-color: #000;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
8.0 Lists
--------------------------------------------------------------*/

ul,
ol {
	margin: 0 0 1.5em;
	padding: 0;
}

ul {
	list-style: disc;
	margin-left: 15px;
    color: #7b7b7b;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}
.page-template-newsLanding #main nav {
	clear: both;
}
.page-template-newsLanding #main nav ul {
	list-style: none;
}
/*--------------------------------------------------------------
9.0 Tables
--------------------------------------------------------------*/

table {
	border-collapse: collapse;
	margin: 0 0 1.5em;
	width: 100%;
}

thead th {
	border-bottom: 2px solid #bbb;
	padding-bottom: 0.5em;
}

th {
	padding: 0.4em;
	text-align: left;
}


td {
	padding: 0.4em;
}

th:first-child,
td:first-child {
	padding-left: 0;
}

th:last-child,
td:last-child {
	padding-right: 0;
}

/*--------------------------------------------------------------
10.0 Links
--------------------------------------------------------------*/

a {
	color: #222;
	text-decoration: none;
}


a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	color: #000;
	outline: 0;
}

/* Hover effects */

.entry-content a,
.entry-summary a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
	-webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1);
	box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1);
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}

.entry-title a,
.entry-meta a,
.page-links a,
.page-links a .page-number,
.entry-footer a,
.entry-footer .cat-links a,
.entry-footer .tags-links a,
.edit-link a,
.post-navigation a,
.logged-in-as a,
.comment-navigation a,
.comment-metadata a,
.comment-metadata a.comment-edit-link,
.comment-reply-link,
a .nav-title,
.pagination a,
.comments-pagination a,
.site-info a,
.widget .widget-title a,
.widget ul li a,
.site-footer .widget-area ul li a,
.site-footer .widget-area ul li a {
	-webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1);
	text-decoration: none;
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out;
}

.entry-content a:focus,
.entry-content a:hover,
.entry-summary a:focus,
.entry-summary a:hover,
.widget a:focus,
.widget a:hover,
.site-footer .widget-area a:focus,
.site-footer .widget-area a:hover,
.posts-navigation a:focus,
.posts-navigation a:hover,
.comment-metadata a:focus,
.comment-metadata a:hover,
.comment-metadata a.comment-edit-link:focus,
.comment-metadata a.comment-edit-link:hover,
.comment-reply-link:focus,
.comment-reply-link:hover,
.widget_authors a:focus strong,
.widget_authors a:hover strong,
.entry-title a:focus,
.entry-title a:hover,
.entry-meta a:focus,
.entry-meta a:hover,
.page-links a:focus .page-number,
.page-links a:hover .page-number,
.entry-footer a:focus,
.entry-footer a:hover,
.entry-footer .cat-links a:focus,
.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:focus,
.entry-footer .tags-links a:hover,
.post-navigation a:focus,
.post-navigation a:hover,
.pagination a:not(.prev):not(.next):focus,
.pagination a:not(.prev):not(.next):hover,
.comments-pagination a:not(.prev):not(.next):focus,
.comments-pagination a:not(.prev):not(.next):hover,
.logged-in-as a:focus,
.logged-in-as a:hover,
a:focus .nav-title,
a:hover .nav-title,
.edit-link a:focus,
.edit-link a:hover,
.site-info a:focus,
.site-info a:hover,
.widget .widget-title a:focus,
.widget .widget-title a:hover,
.widget ul li a:focus,
.widget ul li a:hover {
	color: #000;
	-webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1);
	box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1);
}

/* Fixes linked images */
.entry-content a img,
.widget a img {
/*	-webkit-box-shadow: 0 0 0 8px #fff;
	box-shadow: 0 0 0 8px #fff;*/
}

.post-navigation a:focus .icon,
.post-navigation a:hover .icon {
	color: #222;
}

/*--------------------------------------------------------------
11.0 Featured Image Hover
--------------------------------------------------------------*/

.post-thumbnail {
	margin-bottom: 1em;
}

.post-thumbnail a img {
	-webkit-backface-visibility: hidden;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.post-thumbnail a:hover img,
.post-thumbnail a:focus img {
	opacity: 0.7;
}

/*--------------------------------------------------------------
12.0 Navigation
--------------------------------------------------------------*/

.navigation-top {
	background: #fff;
	border-bottom: 1px solid #eee;
	font-size: 12px;
	font-size: .78rem;
	position: fixed;
	top: 0;
}

.navigation-top .wrap {
	max-width: 2500px;
	padding: 0;
}

.navigation-top a {
	color: #222;
	font-weight: normal;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	
}

#nav-top-menu.extend3 {
	height: 121px;
	padding-bottom: 9px;
	background: rgba(255,255,255,0.8);
}
#nav-top-menu.extend4 {
	height: 140px;
	padding-bottom: 9px;
	background: rgba(255,255,255,0.8);
}
#nav-top-menu.extend6 {
	height: 181px;
	padding-bottom: 9px;
	background: rgba(255,255,255,0.8);
}
#nav-top-menu.extend12 {
	height: 303px;
	padding-bottom: 9px;
	background: rgba(255,255,255,0.8);
}

	@-moz-document url-prefix() { 
 
#nav-top-menu.extend6 {
	height: 181px;
	padding-bottom: 9px;
	background: rgba(255,255,255,0.8);
}
#nav-top-menu.extend12 {
	height: 303px;
	padding-bottom: 9px;
	background: rgba(255,255,255,0.8);
}
#nav-top-menu.extend3 {
	height: 122px;
	padding-bottom: 9px;
	background: rgba(255,255,255,0.8);
}
#nav-top-menu.extend4 {
	height: 140px;
	padding-bottom: 9px;
	background: rgba(255,255,255,0.8);
}
}

.navigation-top .menu-all-pages-container ul:first-child a {
	font-family: effra;     font-size: 18px;
}
.navigation-top .menu-all-pages-chinese-simplified-container ul:first-child a {
	font-family: Microsoft JhengHei !important;    font-size: 18px;
}
.navigation-top .menu-all-pages-container ul:first-child li li a, .navigation-top .menu-all-pages-chinese-simplified-container ul:first-child li li a {
	font-size: 15px;
	line-height: 20px;
}
.navigation-top .menu-all-pages-container ul:first-child ul a, .navigation-top .menu-all-pages-chinese-simplified-container ul:first-child ul a {
	text-transform: none;
}

.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a {
	font-weight: bold;
}

.main-navigation {
	clear: both;
	display: inline-block;
}

.main-navigation ul {
	background: #fff;
	list-style: none;
	margin: 0;
	padding: 0 1.5em;
	text-align: left;
}

/* Hide the menu on small screens when JavaScript is available.
 * It only works with JavaScript.
 */

.js .main-navigation ul,
.main-navigation .menu-item-has-children > a > .icon,
.main-navigation .page_item_has_children > a > .icon,
.main-navigation ul a > .icon {
	display: none;
}

.main-navigation > div > ul {
	border-top: 1px solid #eee;
	padding: 0.75em 1.695em;
}

.js .main-navigation.toggled-on > div > ul {
	display: block;
}

.main-navigation ul ul {
	padding: 0 0 0 1.5em;
}

.main-navigation ul ul.toggled-on {
	display: block;
}

.main-navigation ul ul a {
	letter-spacing: 0;
	padding: 0.4em 0;
	position: relative;
	text-transform: none;
}

.main-navigation li {
	border-bottom: 1px solid #eee;
	position: relative;
}

.main-navigation li li,
.main-navigation li:last-child {
	border: 0;
}

.main-navigation a {
	display: block;
	padding: 0.5em 0;
	text-decoration: none;
}

.main-navigation a:hover {
	color: #767676;
}

/* Menu toggle */

.menu-toggle {
	background-color: transparent;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #222;
	display: none;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.5;
	margin: 1px auto 2px;
	padding: 1em;
	text-shadow: none;
}

/* Display the menu toggle when JavaScript is available. */

.js .menu-toggle {
	display: block;
}

.main-navigation.toggled-on ul.nav-menu {
	display: block;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background-color: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.menu-toggle:focus {
	outline: thin solid;
}

.menu-toggle .icon {
	margin-right: 0.5em;
	top: -2px;
}

.toggled-on .menu-toggle .icon-bars,
.menu-toggle .icon-close {
	display: none;
}

.toggled-on .menu-toggle .icon-close {
	display: inline-block;
}

/* Dropdown Toggle */

.dropdown-toggle {
	background-color: transparent;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #222;
	display: block;
	font-size: 16px;
	right: -0.5em;
	line-height: 1.5;
	margin: 0 auto;
	padding: 0.5em;
	position: absolute;
	text-shadow: none;
	top: 0;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	background: transparent;
}

.dropdown-toggle:focus {
	outline: thin dotted;
}

.dropdown-toggle.toggled-on .icon {
	-ms-transform: rotate(-180deg); /* IE 9 */
	-webkit-transform: rotate(-180deg); /* Chrome, Safari, Opera */
	transform: rotate(-180deg);
}

/* Scroll down arrow */

.site-header .menu-scroll-down {
	display: none;
}

/*--------------------------------------------------------------
13.0 Layout
--------------------------------------------------------------*/

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

#page {
	position: relative;
	word-wrap: break-word;
}

.wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
}

.wrap:after {
	clear: both;
	content: "";
	display: block;
}

/*--------------------------------------------------------------
13.1 Header
--------------------------------------------------------------*/

#masthead .wrap {
	position: relative;
	padding: 15px 20px 10px 14px;
	background: white;
}
#masthead .fullwidth {
	background-color: #fff;
}
.site-header {
	background-color: #fafafa;
	position: relative;
}

/* Site branding */

.site-branding {
	padding: 1em 0;
	position: relative;
	-webkit-transition: margin-bottom 0.2s;
	transition: margin-bottom 0.2s;
	z-index: 3;
}

.site-branding a {
	text-decoration: none;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.site-branding a:hover,
.site-branding a:focus {
	opacity: 0.7;
}

.site-title {
	clear: none;
	font-size: 24px;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.08em;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.site-title,
.site-title a {
	color: #222;
	opacity: 1; /* Prevent opacity from changing during selective refreshes in the customize preview */
}

body.has-header-image .site-title,
body.has-header-video .site-title,
body.has-header-image .site-title a,
body.has-header-video .site-title a {
	color: #fff;
}

.site-description {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
	margin-bottom: 0;
}

body.has-header-image .site-description,
body.has-header-video .site-description {
	color: #fff;
	opacity: 0.8;
}

.custom-logo-link {
	display: inline-block;
	vertical-align: middle;
	width: auto;
	float: left;
    width: 250px;
}

.custom-logo-link img {
	display: inline-block;
	max-height: 80px;
	width: auto;
	max-width: 200px;
}

body.home.title-tagline-hidden.has-header-image .custom-logo-link img,
body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
	max-height: 200px;
	max-width: 200px;
}

.custom-logo-link a:hover,
.custom-logo-link a:focus {
	opacity: 0.9;
}

body:not(.title-tagline-hidden) .site-branding-text {
	display: inline-block;
	vertical-align: middle;
}

.slide-header {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 56px);
    margin-top: 56px;
}

.slides {
	position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.custom-header {
	position: relative;
	display: block;
    height: auto;
}

.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
	display: table;
    height: calc(100vh - 32px);
    max-height: 100%;
}

.custom-header-media {
	bottom: 0;
	left: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.custom-header-media:before {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+75 */
	/*background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* FF3.6-15 */ 
	/*background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* Chrome10-25,Safari5.1-6 */
	/*background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	/*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0); /* IE6-9 */
	bottom: 0;
	content: "";
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 2;
}

.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe {
	position: fixed;
	height: auto;
	left: 50%;
	max-width: 1000%;
	min-height: 100%;
	min-width: 100%;
	min-width: 100vw; /* vw prevents 1px gap on left that 100% has */
	width: auto;
	top: 50%;
	padding-bottom: 1px; /* Prevent header from extending beyond the footer */
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.wp-custom-header .wp-custom-header-video-button { /* Specificity prevents .color-dark button overrides */
	background-color: rgba(34, 34, 34, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.6);
	color: rgba(255, 255, 255, 0.6);
	height: 45px;
	overflow: hidden;
	padding: 0;
	position: fixed;
	right: 30px;
	top: 30px;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	width: 45px;
}

.wp-custom-header .wp-custom-header-video-button:hover,
.wp-custom-header .wp-custom-header-video-button:focus { /* Specificity prevents .color-dark button overrides */
	border-color: rgba(255, 255, 255, 0.8);
	background-color: rgba(34, 34, 34, 0.8);
	color: #fff;
}

.admin-bar .wp-custom-header-video-button {
	top: 62px;
}

.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
	
}

/* For browsers that support 'object-fit' */
@supports ( object-fit: cover ) {
	.has-header-image .custom-header-media img,
	.has-header-video .custom-header-media video,
	.has-header-video .custom-header-media iframe,
	.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
		height: 100%;
		left: 0;
		-o-object-fit: cover;
		object-fit: cover;
		top: 0;
		-ms-transform: none;
		-moz-transform: none;
		-webkit-transform: none;
		transform: none;
		width: 100%;
	}
}

/* Hides div in Customizer preview when header images or videos change. */

body:not(.has-header-image):not(.has-header-video) .custom-header-media {
	display: none;
}

.has-header-image.twentyseventeen-front-page .site-branding,
.has-header-video.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
	display: table-cell;
	height: 100%;
	vertical-align: bottom;
}


/* center */
.center {
	text-align: center;
}

/* mobile menu */



/* Breadcrumb */
ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
    font-size: 10px;
	display: inline-block;
}


/* People Gallery Display */
.imagelistexpander-items {
  font-size: 0;
}
.imagelistexpander-item {
  display: inline-block;
  vertical-align: top;
  -webkit-transition: height 500ms ease;
  -o-transition: height 500ms ease;
  transition: height 500ms ease;
}
.imagelistexpander-expander {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  max-height: 0;
  -webkit-transition: max-height 500ms ease;
  -o-transition: max-height 500ms ease;
  transition: max-height 500ms ease;
}
.imagelistexpander-contents {
  position: relative;
}
.imagelistexpander-contents:after {
  display: block;
  position: absolute;
  bottom: 0px;
  left: 50%;
  margin-left: -30px;
  width: 0;
  height: 0;
  content: '';
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom-style: solid;
  border-bottom-width: 0px;
  -webkit-transition: border-bottom-width 500ms ease;
  -o-transition: border-bottom-width 500ms ease;
  transition: border-bottom-width 500ms ease;
}
.imagelistexpander-item.active .imagelistexpander-contents:after {
  border-bottom-width: 30px;
}

#breadcrumbs, #projects #breadcrumbs {
	padding: 8px 16px;
    list-style: none;
    font-size: 10px;
    display: inline-block;
}

#content .button {
	margin-left: auto;
    margin-right: auto;
    display: inline-block;
	border-radius: 0;
}
#content #services button { margin-left: 0; }
.project-template-default #content .button {
    margin-bottom: 35px;
}
#content #jobs #FilterContainer .button {
	margin-left: 0;
}
#content #news .button {
	margin-left: 0;
}
#content #news .button.newsBottom {
	margin-left: auto;
	margin-right: auto;
}
 #content #project-archive .button, #content #publications .button {
	margin-left: 0;
    margin-right: 0;
    display: inline-block;
}
#content .quote p {
	margin: 0 0 1.5em;
    padding: 0;
    font-size: 12px;
    border-top: 1px solid #989898;
    color: #989898;
    margin-top: 13px;
    padding-top: 5px;
}
	
.gallery-items { font-size: 0; text-align: center; padding-top: 40px; }
#project-archive .archive_container {margin-left: -20px;}

#people .gallery-container { max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
  display: inline-block;
  vertical-align: top;
 /* -webkit-transition: height 500ms ease;
  -o-transition: height 500ms ease;
  transition: height 500ms ease;*/
}

.gallery-expander {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  max-height: 0;
 /* -webkit-transition: max-height 500ms ease;
  -o-transition: max-height 500ms ease;
  transition: max-height 500ms ease;*/
}

.gallery-contents { position: relative; padding-left: 19px; }
.page-template-videoLanding .gallery-contents  {
	    max-width: 474px;
}
.embed-container { 
		position: relative; 
		padding-bottom: 56.25%;
		overflow: hidden;
		max-width: 100%;
		height: auto;
	} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.gallery-contents:after {
  display: block;
  position: absolute;
  bottom: 0px;
  left: 50%;
  margin-left: -15px;
  width: 0;
  height: 0;
  content: '';
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-bottom-style: solid;
  border-bottom-width: 0px;
  -webkit-transition: border-bottom-width 500ms ease;
  -o-transition: border-bottom-width 500ms ease;
  transition: border-bottom-width 500ms ease;
}
#publications .gallery-contents:after, #project-archive .gallery-contents:after {
	margin-left: -26px;
}

.gallery-item.active .gallery-contents:after { border-bottom-width: 26px; }



.gallery-item {
  text-align: left;
  font-size: 25px;
  margin: 0 10px;
  padding: 10px 0;
}

.gallery-item .thumbnail {
  position: relative;
  width: 220px;
  height: 309px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item .thumbnail iframe {
	margin-bottom: 0;
}

.gallery-item .thumbnail > img {
  position: absolute;
  margin-top: 0;
  max-width: 300px;
}

.gallery-item .title {
    margin-top: 5px;
    text-align: left;
    position: absolute;
    top: 240px;
    max-width: 180px;
}
.gallery-item .title-2 {
	position: relative;
    top: 0;
}
#project-archive .gallery-item .title {
	max-width: none;
}
.gallery-item .title p {
	font-size: 10px;
}

.gallery-contents:after { border-bottom-color: #F6F3ED; }

.blue.gallery-contents:after { border-bottom-color: #0085ca; } 
.green.gallery-contents:after { border-bottom-color: #3a9725; } 
.grey.gallery-contents:after { border-bottom-color: #4b4f54;} 
.orange.gallery-contents:after { border-bottom-color: #fe5000;} 
.pink.gallery-contents:after { border-bottom-color: #e10098;} 
.purple.gallery-contents:after { border-bottom-color: #5f259f;} 
.red.gallery-contents:after { border-bottom-color: #f9423a;} 
.teal.gallery-contents:after { border-bottom-color: #008e69;}


.gallery-expander { }

.gallery-expander-contents {
     margin: 0 auto;
    width: 91%;
	max-width: 1000px;
    padding: 20px 0;
    border-top: 1px solid #989898;
}

.filter { width:50%; float: left; margin-bottom: 40px; }
.filter2 {text-align: right; }
.filter3 {text-align: right; }
.wds_line_timer_container_0 { display: none !important;}
@media (min-width: 999px)  {

.gallery-expander-contents {  }
	#wds_container1_0 #wds_container2_0 .wds_slideshow_image_spun1_0, #wds_container1_0 #wds_container2_0 .wds_slideshow_image_0, #wds_container1_0 #wds_container2_0 .wds_slideshow_image_second_spun_0, #wds_container1_0 #wds_container2_0 .wds_slide_container_0, #wds_container1_0 #wds_container2_0 {
		max-height: 80vh;
	}
}

#wds_container1_0 #wds_container2_0 .wds_slideshow_dots_0 {
	    font-size: 14px!important;
}
#wds_container1_0 #wds_container2_0 .wds_slideshow_dots_active_0 {
    opacity: .9!important;
    color: #ccc!important;
}
#wds_container1_0 #wds_container2_0 .wds_slideshow_dots_container_0 {
	bottom: 20px!important;
}
.page-template-services .flexslider .flex-control-paging {
	bottom: 10px!important;
}
@media (max-width: 639px) {

.gallery-expander-contents { width: 100%; }
}

.gallery-expander-contents:after {
  clear: both;
  display: table;
  content: '';
}

.gallery-expander-contents > div.col {
  float: left;
  width: 480px;
}
@media (min-width: 640px) and (max-width: 999px) {

.gallery-expander-contents > div.col { width: 310px; }
}
@media (max-width: 639px) {

.gallery-expander-contents > div.col {
  float: none;
  padding: 25px 20px 0;
  width: auto;
}
}

.gallery-expander-contents > div.col + div.col { margin-left: 40px; }
@media (min-width: 640px) and (max-width: 999px) {

.gallery-expander-contents > div.col + div.col { margin-left: 20px; }
}
@media (max-width: 639px) {

.gallery-expander-contents > div.col + div.col { margin-left: 0px; }
}

.gallery-expander-contents div.close {
  float: right;
  margin-top: -38px;
}
#people .gallery-expander-contents div.close {
  float: right;
  margin-top: -19px;
}
#people .gallery-item .twoCol-sm .title h4 {
	padding-top: 0;
}
.gallery-expander-contents div.title {
    margin-top: 0;
    padding-top: 0;
	position: relative;
    top: inherit;
	max-width: none;
}

.gallery-expander-contents div.contents {
  font-size: 12px;
    line-height: 24px;
    color: #7b7b7b;
}

.gallery-expander-contents div.image > img {
  width: 100%;
  display: block;
}


/* Display list items side by side */
ul.breadcrumb li {
    display: inline;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
    padding: 1px;
    color: black;
    content: ">>";
    font-size: 8px;
    vertical-align: text-bottom;
}



/* Add a color to all links inside the list */
ul.breadcrumb li a {
    color: #000;
    text-decoration: none;
}

ul.breadcrumb li+li a {
	text-decoration: underline;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
    color: #000;
    text-decoration: underline;
}

/* Share */
.share { 
    display: inline-block;
    float: right;
	margin-right: 11px;
	font-size: 10px;
}

.share .social-icons-lists {
	display: inline-block;
	margin-left: 5px;
}

.widget-column .social-icons-lists {
	    margin-top: -10px;
    padding-left: 14px;   
}
/*--------------------------------------------------------------
13.2 Front Page
--------------------------------------------------------------*/
.clear { clear: both; }
.block { margin-top: 35px; margin-bottom: 37px; text-align: center;}
.block.bottom { margin-top: 30px;}
.block.top { margin-top: 37px; margin-bottom: 35px;}
.flex-control-paging li a.flex-active {
	    background: #fff;
	    background: rgba(255,255,255,0.9);
	color: transparent;
}

 .flex-control-paging li a {
	color: transparent;
	background: #fff;
	    background: rgba(255,255,255,0.5);
}

#rotating-text {
	font-weight: 500;
	font-family: effra;
	font-size: 27px;
    text-align: center;
    list-style: none;
	height: 65px;
	margin-bottom: 0;
    margin-top: 0;
	margin-left: 0;
}
#rotating-text li {
    opacity: 0;
    line-height: 0;
    position: absolute;
    top: 50px;
    width: 100%;
    text-align: center;
}

 #projectGrid div, #newsGrid div {
	display: inline-block;
	width: 25%;
	float: left;
	
}
#projectGrid div {
border: 2px solid #fff;
position: relative;
overflow: hidden;
}
#newsGrid div {
	border: 2px solid #fff;
    height: calc(17vw + 2px);
}
#newsGrid div img {
    min-width: 100%;
    min-height: 100%;
	width: 100%;
}
#projectGrid a:hover .hide {     display: block; }
#projectGrid a .hide {     
    position: relative;
    margin-top: -27px;
    background:rgba(255,255,255,0.5);
    width: 100%;
	text-align: left;
	padding: 2px 7px 2px 7px;
	font-weight: bold;
	font-size: 14px;
}

#projectGrid h2, #newsGrid h2 {
	font-family: effra;
    font-size: 35px;
    font-weight: 500;
    padding: 13px 16px 12px 16px;
    margin: 0;
	text-align: left;
	position: absolute;
}
#projectGrid h2 { 
	line-height: 35px;
	right: 7px;
    bottom: 7px;
}
#projectGrid div.half { width: 50%; position: absolute;
    height: 100%; border-top: 2px solid #fff; }
#projectGrid .height-2 {
	border-top: 2px solid #fff;
}

.twentyseventeen-front-page .site-content {
	padding: 0;
}

#projectGrid .double .first {
	border-bottom: 1px solid #fff;
	height: 17vw;
}
#projectGrid .contain:first-child div {
	    height: 17vw;
}
#projectGrid .contain:first-child div:first-child  {
	   
}
#projectGrid .contain:nth-child(n) { margin-top: -2px;}
#projectGrid .double .second {
	
	height: 17vw;
}
#projectGrid img {     border: none;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
}
#projectGrid .zoom img { 
	max-width: 100%;
	  -moz-transition: transform 0.3s,  -moz-transform 0.3s, -webkit-transform 0.3s ;
  -webkit-transition: transform 0.3s,  -moz-transform 0.3s, -webkit-transform 0.3s ;
  transition: transform 0.3s,  -moz-transform 0.3s, -webkit-transform 0.3s ;
	    width: 100%;
	    max-height: 100%;
		height: 100%;
}
#projectGrid .height-3 {
	margin-top: 2px;
    height: calc(34vw + 4px);
}
#projectGrid .double {
	margin-top: 2px;
    height: calc(34vw + 4px);
}
#projectGrid div.half.height-2 {
	margin-top: 2px;
	height: calc(100% - 2px);
}
#projectGrid .height-2 img {
	
}
#projectGrid .height-3 img {
	
}
#projectGrid .zoom:hover img {
	/* -moz-transform: scale(1.1);*/
 /* -webkit-transform: scale(1.1);*/
 /* transform: scale(1.1);*/
/*	overflow: hidden;*/
}
#projectGrid .double .zoom { width: 100%; border: none; height: calc(17vw + 1px);}
#projectGrid .double .zoom:nth-child(1) {     height: calc(17vw + 2px);
    margin-bottom: 1px;}
#projectGrid .double .zoom:nth-child(2):hover { /*border-top: 1px solid #fff;*/ }
#projectGrid .double .zoom:nth-child(1):hover {/* border-bottom: 3px solid #fff;*/}
#projectGrid .contain:first-child div:hover {}

#newsGrid .hide { display: none; width: 100%;     text-align: left;
     }



.twentyseventeen-panel {
	overflow: hidden;
	position: relative;
}
#newsGrid a {
	margin-bottom: 0;
	border-bottom: none;
    padding-bottom: 0;
    display: inline-block;
	position: relative;
	height: 100%;
}

#projectGrid .contain:first-child div:first-child a  { margin-top: -2px; position: relative;} 
#newsGrid .contain:first-child div:first-child {     }
#newsGrid a:hover .hide {     display: block;
	position: absolute;
    bottom: 0;
   }
#newsGrid .contain:nth-child(2) {}
#newsGrid .contain:first-child div { }
#newsGrid a .hide {    
    
    position: relative;
        margin-top: -32px;
background:rgba(255,255,255,0.5);
width: 100%;
	text-align: left;
	padding: 2px 7px 2px 7px;
	font-weight: bold;
	font-size: 14px;}
#newsGrid h2 { line-height: 35px; right: 7px; bottom: 7px;}
#newsGrid a .hide h3 { font-size: 12px; font-weight: bold; }
#newsGrid a .hide p { font-size: 10px; color: #6c6c6c; }
#newsGrid a .hide span { display: block; font-size: 10px; text-align: right; color: #000; font-weight: bold; }


#projectGrid div.contain{  overflow: hidden; width: 100%; border: none;
}
#newsGrid div.contain {  width: 100%; border: none;
}

.contain div {
	 
}

.panel-image {
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
	position: relative;
}

.panel-image:before {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+100 */ /* FF3.6-15 */
	background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); /* Chrome10-25,Safari5.1-6 */
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.3)));
	background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0); /* IE6-9 */
	bottom: 0;
	content: "";
	left: 0;
	right: 0;
	position: absolute;
	top: 100px;
}

.twentyseventeen-front-page article:not(.has-post-thumbnail):not(:first-child) {
	border-top: 1px solid #ddd;
}

.panel-content {
	position: relative;
}

.panel-content .wrap {
	padding-bottom: 0.5em;
	padding-top: 1.75em;
}

/* Panel edit link */

.twentyseventeen-panel .edit-link {
	display: block;
	margin: 0.3em 0 0;
}

.twentyseventeen-panel .entry-header .edit-link {
	font-size: 14px;
	font-size: 0.875rem;
}



/* Front Page - Recent Posts */

.twentyseventeen-front-page .panel-content .recent-posts article {
	border: 0;
	color: #333;
	margin-bottom: 3em;
}

.recent-posts .entry-header {
	margin-bottom: 1.2em;
}

.page .panel-content .recent-posts .entry-title {
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
}

.twentyseventeen-panel .recent-posts .entry-header .edit-link {
	color: #222;
	display: inline-block;
	font-size: 11px;
	font-size: 0.6875rem;
	margin-left: 1em;
}

/*--------------------------------------------------------------
13.3 Regular Content
--------------------------------------------------------------*/

.site-content-contain {
	background-color: #fff;
	position: relative;
}

.site-content {
	padding: 2.5em 0 0;
}

/*--------------------------------------------------------------
13.4 Posts
--------------------------------------------------------------*/

/* Post Landing Page */

.sticky {
	position: relative;
}

.post:not(.sticky) .icon-thumb-tack {
	display: none;
}

.sticky .icon-thumb-tack {
	display: block;
	height: 18px;
	left: -1.5em;
	position: absolute;
	top: 1.65em;
	width: 20px;
}

.page .panel-content .entry-title,
.page-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
	color: #222;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.entry-header .entry-title {
	margin-bottom: 0.25em;
}

.entry-title a {
	color: #333;
	text-decoration: none;
	margin-left: -2px;
}

.entry-title:not(:first-child) {
	padding-top: 0;
}

.entry-meta {
	color: #767676;
	font-size: 11px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	padding-bottom: 0.25em;
	text-transform: uppercase;
}

.entry-meta a {
	color: #767676;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.pagination,
.comments-pagination {
	border-top: 1px solid #eee;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	padding: 2em 0 3em;
	text-align: center;
}

.pagination .icon,
.comments-pagination .icon {
	width: 0.666666666em;
	height: 0.666666666em;
}

.comments-pagination {
	border: 0;
}

.page-numbers {
	display: none;
	padding: 0.5em 0.75em;
}

.page-numbers.current {
	color: #767676;
	display: inline-block;
}

.page-numbers.current .screen-reader-text {
	clip: auto;
	height: auto;
	overflow: auto;
	position: relative !important;
	width: auto;
}

.prev.page-numbers,
.next.page-numbers {
	background-color: #ddd;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	display: inline-block;
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1;
	padding: 0.25em 0.5em 0.4em;
}

.prev.page-numbers,
.next.page-numbers {
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.prev.page-numbers:focus,
.prev.page-numbers:hover,
.next.page-numbers:focus,
.next.page-numbers:hover {
	background-color: #767676;
	color: #fff;
}

.prev.page-numbers {
	float: left;
}

.next.page-numbers {
	float: right;
}

/* Aligned blockquotes */

.entry-content blockquote.alignleft,
.entry-content blockquote.alignright {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
	width: 48%;
}

/* Blog landing, search, archives */

.blog .site-main > article,
.archive .site-main > article,
.search .site-main > article {
	padding-bottom: 2em;
}

body:not(.twentyseventeen-front-page) .entry-header {
	padding: 1em 0;
}

body:not(.twentyseventeen-front-page) .entry-header,
body:not(.twentyseventeen-front-page) .entry-content,
body:not(.twentyseventeen-front-page) #comments {
	margin-left: auto;
	margin-right: auto;
}

body:not(.twentyseventeen-front-page) .entry-header {
	padding-top: 0;
}

.blog .entry-meta a.post-edit-link,
.archive .entry-meta a.post-edit-link,
.search .entry-meta a.post-edit-link {
	color: #222;
	display: inline-block;
	margin-left: 1em;
	white-space: nowrap;
}

.search .page .entry-meta a.post-edit-link {
	margin-left: 0;
	white-space: nowrap;
}

.taxonomy-description {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
}

/* More tag */

.entry-content .more-link:before {
	content: "";
	display: block;
	margin-top: 1.5em;
}

/* jobs */

#jobs .top { text-align: center; color: black;     margin-top: 34px;
    margin-bottom: 26px;}
#jobs h2 { font-family: effra;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 0;
}
#jobs h2.top {     padding: 30px 0;
}
p.date { color: #7b7b7b; font-size: 10px;}
#jobs p { color: #7b7b7b;}
#jobs .job {     margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #989898;}

#jobs .filter2 {text-align: right;}
#jobs .filter {width: 50%;}

#job h2 { font-family: effra;
    font-size: 30px;
    font-weight: 500;
	color: #222;
	margin-bottom: 0;
}
#job .date {
	margin-top: 0;
}
/* contact */

#contact h2 { font-family: effra; font-weight: 500; font-size: 30px; color: #000; margin-bottom: 12px;}
#contact .info { border-top: 1px solid #989898; border-bottom: 1px solid #989898; padding: 20px 0 20px 20px; margin-bottom: 30px; }
#contact .info div {  }
#contact .info .image { width: 30%; display: inline-block;
    float: left; padding-bottom: 220px; padding-right: 20px;  }
#contact .info .image img {    border-radius: 50%;
    max-width: 133%;
    margin-left: -32%;
    margin-top: 3%; }
#contact .info .title { font-weight: 500; margin-bottom: 0; font-family: effra; font-size: 14px;}
#contact .address { height: 94px;}

#contact .third { width: 33.3%;}
#contact p a { color: #7b7b7b; }

/* publications & project archive */

#publications .gallery-item .thumbnail img {
    position: relative;
    height: 200px;
    -webkit-box-shadow: 5px 5px 5px 1px #DDDDDD;
    -moz-box-shadow: 5px 5px 5px 1px #DDDDDD;
    -o-box-shadow: 5px 5px 5px 1px #DDDDDD;
	box-shadow: 5px 5px 5px 1px #DDDDDD;
}
#project-archive .gallery-item .thumbnail img {
	position: relative;
}
#publications .gallery-item .thumbnail h2, #project-archive .gallery-item .thumbnail h2 {
    font-size: 18px;
    font-family: effra;
	font-weight: 500;
	padding-top: 0;
}
#project-archive .gallery-item .thumbnail .title h2 {
	font-size: 14px;
}
#publications .gallery-item .break, #project-archive .gallery-item .break { height: 31px;}

#publications .gallery-item .thumbnail {     height: 210px;
    text-align: center;
	width: auto;}
#project-archive .gallery-item .thumbnail {     
	height: 290px;
    text-align: center;
	width: auto;
    margin-left: 20px;
}
.page-template-videoLanding #project-archive .gallery-item .thumbnail { 
	height: auto;
    width: auto;
}
#publications .gallery-item .thumbnail { padding: 0 10px; }
#publications .gallery-items, #project-archive .gallery-items {  
	border: none;
    text-align: center;
    padding-top: 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
#publications .video-button {
	margin-top: 40px;
}
.page-template-videoLanding #project-archive .gallery-items { 
	padding-top: 40px;
}
#publications .gallery-items .gallery-item, #project-archive .gallery-items .gallery-item { max-width: none; width: auto; padding:0 0 0 20px;}
.page-template-videoLanding #project-archive .gallery-items .gallery-item { max-width: 474px; width: 50%;}
@media (max-width: 1100px)  {
	.page-template-videoLanding #project-archive .gallery-items .gallery-item { width: 100%; padding-right: 20px;}
}
#publications .gallery-items .gallery-item:first-child, #project-archive .gallery-items .gallery-item { padding:0;}

#publications .gallery-items .gallery-contents:first-child, #project-archive .gallery-items .gallery-contents:first-child { padding-left: 0;}
#publications .filter, #project-archive .filter {    
	margin-bottom: 0;
    width: 100%;
    float: right;
    margin-right: 15px;
}
#publications .filter {
    margin-bottom: 20px;
    width: 100%;
	margin-right: 0;
	float: none;
}
#publications .gallery-item .twoCol-lg, #project-archive .gallery-item .twoCol-lg {
    padding-left: 78px;
	padding-right: 0;
}
#publications .gallery-item .twoCol-sm, #project-archive .gallery-item .twoCol-sm {
    padding-right: 20px;
	padding-left: 0;
    border: none;
}
#publications .gallery-item .twoCol-lg h2, #project-archive .gallery-item .twoCol-lg h2 {
	font-family: effra;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 0;
    color: #000;
}
#publications .gallery-item .twoCol-lg p.sm, #project-archive .gallery-item .twoCol-lg p.sm {
    font-size: 10px;
}
#publications .gallery-item .twoCol-lg p, #project-archive .gallery-item .twoCol-lg p {
    color: #7b7b7b;
}
#publications .gallery-item .wrap, #project-archive .gallery-item .wrap {
    border-bottom: 1px solid #989898;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* content */


#contentPage .metaslider div, #contentPage div .metaslider .flexslider, #contentPage .slides { position: relative;}

#contentPage .third img { border-radius: 50%; }
#contentPage .third .img-container {  }

#contentPage blockquote p { font-family: effra; font-weight: 500; font-size: 20px; padding: 20px; line-height: 25px; }

#contentPage q {
    font-size: 20px;
	font-family: effra;
	font-weight: 500;
	line-height: 25px;
}
#contentPage .twoCol-sm .quote {     
	padding-left: 25px;
    padding-right: 0;
    margin-top: 15px;
}
#contentPage .twoCol-sm img {
	padding-left: 20px;
	margin-top: 15px;
}

#contentPage .twoCol-lg, #contentPage .full_width, #contentPage .twoCol-sm  {
	padding-left: 20px;
	padding-right: 20px;
}

#contentPage .twoCol-sm ul {     list-style: none;
    border-left: 3px solid;
        margin-top: 20px;
    font-weight: bold;
padding-left: 20px;
padding-bottom: 0;}

#contentPage .twoCol-sm ul li p{ margin-bottom: 0; }
#contentPage .twoCol-sm ul li p:nth-child(2) { margin-top: 0px;
    line-height: 15px;
    margin-bottom: 8px; }

#contentPage .twoCol-sm ul:first-child {    
        margin-top: 0;
	margin-bottom: 0;
}
#contentPage .twoCol-sm ul:last-child {    
        margin-top: 20px;
	margin-bottom: 0;
}
#contentPage .twoCol-lg ul {list-style: none;}

#contentPage .twoCol-lg li:before {   content: "• ";
    color: gray; list-style: none; }


/* slider - hide grey loader */

.wds_line_timer_0 {
	background: none !important;
}

 
/* clients */

#clients .clients li {
    display: inline-block;
	width: 20%
}
@media (max-width: 500px)  {
	#clients .clients li {
    display: inline-block;
	width: 33%
	}
}
#clients .clients li img {

}
#clients ul.clients {
	text-align: center;
}
#clients p { color: #7b7b7b;}

#clients .wrap .intro p {
    margin-left: auto;
    margin-right: auto;
}
/* history */

#history .history li { display: inline-block; width: 50%; text-align: left;
    margin: 0; padding-bottom: 20px; }
#history .history  li:last-child, #history li:nth-last-child(2){
      border-bottom: none; }
#history ul.history  { text-align: center; margin: 34px 0 0 0;}

#history  .history li:nth-child(even) { border-left: 1px solid #989898; padding-left: 30px; float: right; padding-bottom: 91px;} 
#history  .history li:nth-child(odd) { padding-right: 30px; float: left; text-align: right; padding-bottom: 33px;} 
#history  .history li:nth-child(odd) .button { margin-right: 0;}
#history  .history li:nth-child(even) .button { margin-left: 0; }

#history  .history li:nth-child(2) { padding-top: 80px;}

#history  .history li:nth-child(n+2) { padding-top: 65px; }

#history  .history li img { max-width: 75%; margin-bottom: 10px;}

#history  .history li h3 {     font-size: 50px;
    font-family: effra;
    font-weight: 500;     margin-bottom: 0;}
#history  .history li h2 {
    padding-top: 0;
	font-size: 30px;
    font-family: effra;
    font-weight: 500;
	color: #000;
}

#history  .history li p { color: #7b7b7b;}


/* projects landing page */

#projects .projects li { width: 24%; display: inline-block; padding-left: 2px; padding-right: 2px; list-style: none; text-align: left; margin-bottom: 20px;}
@media (max-width: 1300px)  {
	#projects .projects li { width: 32%;}
}

#projects p { 
	font-size: 12px;
    color: #7b7b7b;
    margin-bottom: 0;
	line-height: 12px;
}
#projects h2 { 
    font-family: effra;
    font-weight: 500;
    font-size: 18px;
    padding-top: 0;
	margin-bottom: 0;
}
#projects .filter { width: 33%; float: left; margin-bottom: 40px; text-align: right;}
#projects .filter2 {text-align: center; }
#projects .filter3 {text-align: left; }

#projects ul.projects { text-align: center; margin-left: auto; margin-right: auto;}



/* project page */

#project .metaslider div, #project div .metaslider .flexslider, #project .slides { position: relative;}

#project .rightColumn {
	      padding: 20px;
    margin-top: 6px;
    float: left;
    width: 33.3%;
}

div > .facts:first-child {
	margin-top: 60px;
}

#project .rightColumn ul {
	list-style: none;
    border-left: 3px solid;
    padding-left: 20px;
	padding-right: 20px;
}

#project .rightColumn div {
    padding-left: 20px;
	padding-right: 20px;
	    margin-top: 25px;
}

#project .rightColumn .button {
   text-align: center;
	    margin-top: 40px;
}

#project .rightColumn .quote q {
    font-size: 20px;
	font-family: effra;
	font-weight: 500;
	line-height: 25px;
}
#project .rightColumn .quote p {
    border-top: 1px solid #989898;
	color: #989898;
	    margin-top: 13px;
    padding-top: 5px;
}

#project .rightColumn li p {
	    font-weight: bold;
	    margin-bottom: 0;
}
#project .rightColumn li p:nth-child(2){
	margin-top: 0px;
    line-height: 15px;
    margin-bottom: 8px;
}
#project #main h1 { margin-top: 20px; text-align: left;}


#project blockquote p:first-child { font-family: effra; font-weight: 500; font-size: 20px; padding: 20px; margin-bottom: 0;
padding-bottom: 0; line-height: 25px; font-style: italic; }
#project blockquote {   margin-bottom: 0;}
#project main blockquote p:nth-child(2) { color: #787878 !important; }
#project main blockquote hr { margin: 7px 20px;}


#project main li:before {   content: "• ";
    color: gray; list-style: none; }
#project main ul { list-style: none;}
.map {
	margin-top: 40px;
}


.related h2 {
	font-weight: 500;
	font-size: 24px;
	font-family: effra;
	color: #000;
	text-align: center;
	margin-top: 20px;
}
.related ul { list-style: none; margin-left: 0;}

.related p {     border-bottom: 1px solid #989898;
    margin-bottom: 5px;
    padding-bottom: 10px;
    color: #7b7b7b;
    margin-top: -3px;;
	font-size: 10px;
}

.related h3 {
	border-top: 1px solid #989898;
    padding-top: 10px;
    padding-bottom: 0;
    font-family: effra;
    font-weight: 500;
    font-size: 16px;
	margin-bottom: 0;
}



/* service pages */


#service .metaslider div, #service div .metaslider .flexslider, #service .slides { position: relative;}

#service .rightColumn {
	padding: 20px 0 20px 20px;
    margin-top: 6px;
    float: left;
    width: 33.3%;
}

#service .rightColumn ul {
	list-style: none;
    border-left: 3px solid;
    padding-left: 20px;
	padding-right: 20px;
}

#service .rightColumn div {
    padding-left: 20px;
	margin-top: 40px;
}

#service main { color: #787878;}

#service .rightColumn .button {
   text-align: center;
	    margin-top: 40px;
}

#service .rightColumn .quote q {
    font-size: 20px;
	font-family: effra;
	font-weight: 500;
	line-height: 25px;
    font-style: italic;
}
#service .rightColumn .quote p {
    border-top: 1px solid #989898;
	color: #989898;
	    margin-top: 9px;
    padding-top: 5px;
}

#service .rightColumn ul.icons {
    border-left: none;
    list-style: none;
    display: inline-block;
    float: left;
    width: 43%;
    padding: 0 0 0 20px;
}

#service .rightColumn ul.icons li {
    width: 100%;
	text-align: center;
}
#service .rightColumn ul.icons li p {
    font-weight: bold;
    margin-bottom: 0;
    text-align: center;
    max-width: 90%;
}

#service .rightColumn ul.icons li img {
	max-width: 70%;
}

#service .rightColumn li p {
	    font-weight: bold;
	    margin-bottom: 0;
}
#service .rightColumn li p:nth-child(2) {
	margin-top: 0px;
    line-height: 15px;
    margin-bottom: 8px;
}

#service #main h1 { margin-top: 20px; text-align: left; font-size: 30px; color: #000;}

#service blockquote p:first-child { font-family: effra; font-weight: 500; font-size: 20px; padding: 20px; margin-bottom: 0;
padding-bottom: 0; line-height: 25px; }
#service blockquote {   margin-bottom: 0;}
#service main blockquote p:nth-child(2) { color: #787878 !important; }
#service main blockquote hr { margin: 7px 20px;}

#service .rightColumn .contact_block{  margin-top: 0; }
#service .rightColumn .contact_block h3 { font-weight: 500; font-size: 25px; font-family: effra; margin-bottom: 12px;}
#service .rightColumn .contact_block strong  { font-weight: 500; font-size: 12px; font-family: effra; margin-bottom: 0; }
#service .rightColumn .contact_block p  { margin-bottom: 0; }
#service .rightColumn .contact_block p:last-child  { margin-bottom: 20px; }

#service main li:before {   content: "• ";
   list-style: none; }

#service main ul {     
	list-style: none;
}
@media (min-width: 525px) { 
	#service main ul {     
    -webkit-columns: 2;
	columns: 2;
    -moz-columns: 2;
	}	
}

/* services landing page */
#services img {border-radius: 50%; }

#services h2 { height: 106px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    font-size: 24px;
    font-family: effra;
    font-weight: 500;
    line-height: 1.2;
    padding-top: 20px;
margin-top: 20px;}

#services p { color:#7b7b7b;}

#services .intro p { height: 170px; }

#services .final { margin-top: 20px; border-bottom: 1px solid #000;}

#services .third { width: 33.3%}



/* news landing page */

#news .news li { float: left; list-style: none;}

#news .news li {width: 66%;}

#news .news .mid li { width: 100%; border-bottom: 1px solid #989898;
    padding-bottom: 20px;
    margin-bottom: 20px; }


#news div.small  { width: 33%; display: inline-block; float: left; margin-top: 30px;}

#news div.small li {width: 100%; margin-bottom: 50px}

#news .newsRow li.second .button, #news .newsRow li.first .button { margin-bottom: 0;}

#news .newsRow li.first, #news .newsRow li.second { margin-bottom: 50px; }

#news .newsRow li.first .smNews, #news .small.second .smNews { }

#news div.small li:nth-child(2) img {
    width: 50%;
    float: left;
    padding-right: 20px;
}
#news div.small li:nth-child(2)  div.smNews { float: left; width: 50%;}
#news div.small li:nth-child(2)  p.summary {display: none;}

#news h2 { padding-top: 0; font-family: effra; font-size: 24px; font-weight: 500; }

#news .newsRow li.first { padding-right: 40px; margin-top: 30px;}

#news .newsRow li.second { padding-left: 40px;}

#news .newsRow { clear: both;}

#news .holder, #news div.small li:nth-child(2) { border-bottom: 1px solid #989898; padding-bottom: 20px;}
#news .mid .holder { border: none;}
#news .mid img {
	float: right;
    width: 50%;
	padding-left: 20px;
}

#news .mid .smNews { 
	float: left;
    width: 50%;
	padding-right: 20px;
}

#news div.small li:nth-child(2) .holder { border-bottom: none; padding-bottom: 0;}

/* people landing page */

#people li.grey img {  -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
         -o-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
            filter: grayscale(100%); }

#people .wrap .intro p, #project-archive .wrap .intro p {
max-width: 740px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 30px;
}

#people .wrap p { color: #7b7b7b; }
#people .wrap {    border-bottom: 1px solid #989898; }
.hide { display: none;}
.show { position: absolute; left: 20px; background: white;}
#content .wrap .twoCol#primary {
	width: 66.6%;
	float: left;
	padding-right: 20px;
}

.twoCol-lg {
width: 66.6%;
float: left;
}
.twoCol-sm {
	width:33.3%;
	float: left;
	margin-bottom: 20px;
}
.half { width: 47%;
        display: inline-block;  }
.third { 
	width: 33.3%;
    padding: 20px;
    display: inline-block;
    vertical-align: top;
}
.page-template-serviceLanding .third, .page-template-contact .third, .related .third { 
	width: 33.3%;
    padding: 20px;
    float: left;
}

ul .third:first-child { padding-left: 0;}
ul .third:last-child { padding-right: 0;}
ul .third:nth-child(2) { padding-left: 10px;
	padding-right: 10px; }

.full_width { clear: both;}



/* Single Post */

.single-post:not(.has-sidebar) #primary,
.page.page-one-column:not(.twentyseventeen-front-page) #primary,
.archive.page-one-column:not(.has-sidebar) .page-header,
.archive.page-one-column:not(.has-sidebar) #primary {
	margin-left: auto;
	margin-right: auto;
	max-width: 740px;
}

.single-featured-image-header {
	background-color: #fafafa;
	border-bottom: 1px solid #eee;
}

.single-featured-image-header img {
	display: block;
	margin: auto;
}

.page-links {
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	padding: 2em 0 3em;
}

.page-links .page-number {
	color: #767676;
	display: inline-block;
	padding: 0.5em 1em;
}

.page-links a {
	display: inline-block;
}

.page-links a .page-number {
	color: #222;
}

/* Entry footer */

.entry-footer {
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
	margin-top: 2em;
	padding: 2em 0;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
	display: block;
	font-size: 11px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	padding-left: 2.5em;
	position: relative;
	text-transform: uppercase;
}

.entry-footer .cat-links + .tags-links {
	margin-top: 1em;
}

.entry-footer .cat-links a,
.entry-footer .tags-links a {
	color: #333;
}

.entry-footer .cat-links .icon,
.entry-footer .tags-links .icon {
	color: #767676;
	left: 0;
	margin-right: 0.5em;
	position: absolute;
	top: 2px;
}

.entry-footer .edit-link {
	display: inline-block;
}

.entry-footer .edit-link a.post-edit-link {
	background-color: #222;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	margin-top: 2em;
	padding: 0.7em 2em;
	-webkit-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	white-space: nowrap;
}

.entry-footer .edit-link a.post-edit-link:hover,
.entry-footer .edit-link a.post-edit-link:focus {
	background-color: #767676;
}

#menu-footer, #menu-footer-chinese-simplified {
	list-style: none;
}
.widget-area ul li a, .site-footer .widget-area ul li a {
text-decoration: none;
    border-bottom: none;
    box-shadow: none;
}
/* Post Formats */

.blog .format-status .entry-title,
.archive .format-status .entry-title,
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

.format-quote blockquote {
	color: #333;
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 300;
	overflow: visible;
	position: relative;
}

.format-quote blockquote .icon {
	display: block;
	height: 20px;
	left: -1.25em;
	position: absolute;
	top: 0.4em;
	-webkit-transform: scale(-1, 1);
	-ms-transform: scale(-1, 1);
	transform: scale(-1, 1);
	width: 20px;
}

/* Post Navigation */

.post-navigation {
	font-weight: 800;
	margin: 3em 0;
}

.post-navigation .nav-links {
	padding: 1em 0;
}

.nav-subtitle {
	background: transparent;
	color: #767676;
	display: block;
	font-size: 11px;
	font-size: 0.6875rem;
	letter-spacing: 0.1818em;
	margin-bottom: 1em;
	text-transform: uppercase;
}

.nav-title {
	color: #333;
	font-size: 15px;
	font-size: 0.9375rem;
}

.post-navigation .nav-next {
	margin-top: 1.5em;
}

.nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
	margin-right: 0.5em;
}

.nav-links .nav-next .nav-title .nav-title-icon-wrapper {
	margin-left: 0.5em;
}

/*--------------------------------------------------------------
13.5 Pages
--------------------------------------------------------------*/

.page-header {
	padding-bottom: 2em;
}

.page .entry-header .edit-link {
	font-size: 14px;
	font-size: 0.875rem;
}

.search .page .entry-header .edit-link {
	font-size: 11px;
	font-size: 0.6875rem;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.page:not(.home) #content {
	
}

/* 404 page */

.error404 .page-content {
	padding-bottom: 4em;
}

.error404 .page-content .search-form,
.search .page-content .search-form {
	margin-bottom: 3em;
}

/*--------------------------------------------------------------
13.6 Footer
--------------------------------------------------------------*/

.site-footer {
	border-top: 1px solid #eee;
	text-align: center;
}

.site-footer a {
	font-size: 12px;
}

.site-footer .widget-column.footer-widget-2 {
	font-size: 10px;
	font-weight: bold;
}

.site-footer .wrap {
	padding-bottom: .25em;
	padding-top: 2em;
}
.site-footer .wrap:nth-child(2) {
	padding-top: .5em;
}

/* Footer widgets */

.site-footer .widget-area {
	
}

.footerMain { background-color: #f5f5f5; padding: 20px 20px 0 20px;}

/* Social nav */

.social-navigation {
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 1em;
}

.social-navigation ul {
	list-style: none;
	margin-bottom: 0;
	margin-left: 0;
}

.social-navigation li {
	display: inline;
}

.social-navigation a {
	background-color: #767676;
	-webkit-border-radius: 40px;
	border-radius: 40px;
	color: #fff;
	display: inline-block;
	height: 40px;
	margin: 0 1em 0.5em 0;
	text-align: center;
	width: 40px;
}

.social-navigation a:hover,
.social-navigation a:focus {
	background-color: #333;

}

.social-navigation .icon {
	height: 16px;
	top: 12px;
	width: 16px;
	vertical-align: top;
}

.social-icons-lists li.social-icons-list-item a.social-icon:hover, .social-icons-lists li.social-icons-list-item a.social-icon:focus { text-decoration: none;  -webkit-box-shadow: none;
	box-shadow: none; top: inherit;
	}

.social-icons-lists .socicon {
	padding: 5px;
}

.socicon { font-size: 13px!important;}

.social-icons-lists li.social-icons-list-item {
	margin: 2px;
}
/* Site info */

.site-info {
	font-size: 14px;
	font-size: 0.875rem;
	margin-bottom: 1em;
}

.site-info a {
	color: #666;
}

.site-info .sep {
	margin: 0;
	display: block;
	visibility: hidden;
	height: 0;
	width: 100%;
}

/*--------------------------------------------------------------
14.0 Comments
--------------------------------------------------------------*/

#comments {
	clear: both;
	padding: 2em 0 0.5em;
}

.comments-title {
	font-size: 20px;
	font-size: 1.25rem;
	margin-bottom: 1.5em;
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list li:before {
	display: none;
}

.comment-body {
	margin-left: 65px;
}

.comment-author {
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 0.4em;
	position: relative;
	z-index: 2;
}

.comment-author .avatar {
	height: 50px;
	left: -65px;
	position: absolute;
	width: 50px;
}

.comment-author .says {
	display: none;
}

.comment-meta {
	margin-bottom: 1.5em;
}

.comment-metadata {
	color: #767676;
	font-size: 10px;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	text-transform: uppercase;
}

.comment-metadata a {
	color: #767676;
}

.comment-metadata a.comment-edit-link {
	color: #222;
	margin-left: 1em;
}

.comment-body {
	color: #333;
	font-size: 14px;
	font-size: 0.875rem;
	margin-bottom: 4em;
}

.comment-reply-link {
	font-weight: 800;
	position: relative;
}

.comment-reply-link .icon {
	color: #222;
	left: -2em;
	height: 1em;
	position: absolute;
	top: 0;
	width: 1em;
}

.children .comment-author .avatar {
	height: 30px;
	left: -45px;
	width: 30px;
}

.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar {
	border: 1px solid #333;
	padding: 2px;
}

.no-comments,
.comment-awaiting-moderation {
	color: #767676;
	font-size: 14px;
	font-size: 0.875rem;
	font-style: italic;
}

.comments-pagination {
	margin: 2em 0 3em;
}

.form-submit {
	text-align: right;
}

/*--------------------------------------------------------------
15.0 Widgets
--------------------------------------------------------------*/

#secondary {
	padding: 1em 0 2em;
}

.widget {
	
}

h2.widget-title {
	color: #222;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	margin-bottom: 1.5em;
	text-transform: uppercase;
	margin-top: 5px;
}

.widget-title a {
	color: inherit;
}

/* widget forms */

.widget select {
	width: 100%;
}


/* widget lists */

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

.widget ul li {
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	padding: 0.5em 0;
}

.widget ul li + li {
	margin-top: -1px;
}

.widget ul li ul {
	margin: 0 0 -1px;
	padding: 0;
	position: relative;
}

.widget ul li li {
	border: 0;
	padding-left: 24px;
	padding-left: 1.5rem;
}

/* Widget lists of links */

.widget_top-posts ul li ul,
.widget_rss_links ul li ul,
.widget-grofile ul.grofile-links li ul,
.widget_pages ul li ul,
.widget_meta ul li ul {
	bottom: 0;
}

.widget_nav_menu ul li li,
.widget_top-posts ul li,
.widget_top-posts ul li li,
.widget_rss_links ul li,
.widget_rss_links ul li li,
.widget-grofile ul.grofile-links li,
.widget-grofile ul.grofile-links li li {
	padding-bottom: 0.25em;
	padding-top: 0.25em;
}

.widget_rss ul li {
	padding-bottom: 1em;
	padding-top: 1em;
}

/* widget markup */

.widget .post-date,
.widget .rss-date {
	font-size: 0.81em;
}

/* Text widget */

.widget_text {
	word-wrap: break-word;
}

/* RSS Widget */

.widget_rss .widget-title .rsswidget:first-child {
	float: right;
}

.widget_rss .widget-title .rsswidget:first-child:hover {
	background-color: transparent;
}

.widget_rss .widget-title .rsswidget:first-child img {
	display: block;
}

.widget_rss ul li {
	padding: 2.125em 0;
}

.widget_rss ul li:first-child {
	border-top: none;
	padding-top: 0;
}

.widget_rss li .rsswidget {
	font-size: 22px;
	font-size: 1.375rem;
	font-weight: 300;
	line-height: 1.4;
}

.widget_rss .rss-date,
.widget_rss li cite {
	color: #767676;
	display: block;
	font-size: 10px;
	font-size: 0.625rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-transform: uppercase;
}

.widget_rss .rss-date {
	margin: 0.5em 0 1.5em;
	padding: 0;
}

.widget_rss .rssSummary {
	margin-bottom: 0.5em;
}

/* Contact Info Widget */

.widget_contact_info .contact-map {
	margin-bottom: 0.5em;
}

/* Gravatar */

.widget-grofile h4 {
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 0;
}

/* Recent Comments */

.widget_recent_comments table,
.widget_recent_comments th,
.widget_recent_comments td {
	border: 0;
}

/* Recent Posts widget */

.widget_recent_entries .post-date {
	display: block;
}

/* Search */

.search-form {
    position: fixed;
    display: inline-block;
    top: 10px;
    right:59px;
    z-index: 4000;
}

.search-form .search-submit {
	bottom: 3px;
    padding: 0.5em 1em;
    position: absolute;
    right: -23px;
    top: 3px;
    background-color: transparent;
}

.search-form .search-submit .icon {
	height: 51px;
    top: -11px;
    width: 51px;
	left: -2px;
	color: #000;
	-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

/* Language */

#lang_sel_list {
	position: fixed;
    right: 0;
    display: inline-block;
    z-index: 4000;
    top: 8px;

}
.wpml-ls-legacy-list-horizontal a span {
	    font-size: 12px;
    font-size: 0.78rem;
}

.wpml-ls-statics-shortcode_actions, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu, .wpml-ls-statics-shortcode_actions a, .wpml-ls-sidebars-sidebar-1, .wpml-ls-sidebars-sidebar-1 .wpml-ls-sub-menu, .wpml-ls-sidebars-sidebar-1 a { border: none; background-color: transparent;}

/* Tag cloud widget */

.tagcloud,
.widget_tag_cloud,
.wp_widget_tag_cloud {
	line-height: 1.5;
}

.widget .tagcloud a,
.widget.widget_tag_cloud a,
.wp_widget_tag_cloud a {
	border: 1px solid #ddd;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	float: left;
	font-size: 14px !important; /* !important to overwrite inline styles */
	font-size: 0.875rem !important;
	margin: 4px 4px 0 0 !important;
	padding: 4px 10px 5px !important;
	position: relative;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	width: auto;
	word-wrap: break-word;
	z-index: 0;
}

.widget .tagcloud a:hover,
.widget .tagcloud a:focus,
.widget.widget_tag_cloud a:hover,
.widget.widget_tag_cloud a:focus,
.wp_widget_tag_cloud a:hover,
.wp_widget_tag_cloud a:focus {
	border-color: #bbb;
	-webkit-box-shadow: none;
	box-shadow: none;
	text-decoration: none;
}

/* Calendar widget */

.widget_calendar th,
.widget_calendar td {
	text-align: center;
}

.widget_calendar tfoot td {
	border: 0;
}

/*--------------------------------------------------------------
16.0 Media
--------------------------------------------------------------*/

img,
video {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

img.alignleft,
img.alignright {
	float: none;
	margin: 0;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption,
.gallery-caption {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/* Media Elements */


@media all and (min-height: 804px) and (max-width: 1280px)  {
	.home .metaslider .slides img {
   	 	transform: scale(1.4); 
	}
}
@media all and (min-height: 826px) and (max-width: 1555px) and (min-width: 1180px)  {
	.home .metaslider .slides img {
   	 	transform: scale(1.6); 
	}
}

div .metaslider .flexslider {
	margin: 0;
	position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.metaslider .flexslider .slides li {
	
	height: 100% !important;
    min-height: 100%;
}

@media (min-width: 1102px) and (max-width: 1180px)  {
	.metaslider .slides img {
    	zoom: 1.1; 
		max-width: inherit;
		height: inherit;
	}
}

.slides li {
	position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.slide-header div, .metaslider, .metaslider div {
	position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
.flexslider .flex-control-nav {
	bottom: 20px;
    line-height: 11px;
    z-index: 5020;
    right: 0;
    width: 100%;
    text-align: right;
    position: absolute;
}
.centreArrow {     display: block;
    position: absolute;
    bottom: 20px;
    left: 50%;
	top: inherit;
    width: 60px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    transition: .5s ease-out;margin-top: -40px;}

.slide-header .centreArrow {
	position: absolute;
    top: calc(100vh - 65px);
    text-align: center;
	width: 20%;
    left: calc(50% - 150px);
}
.slide-header .centreArrow svg {
	height: 5em;
    fill: white;
}

.centreArrow .arrow {     
	position: absolute;
    bottom: -30px;
    left: 50%;
    width: 67px;
}
.metaslider .caption-wrap .caption {
    padding: 3px 16px;
    word-wrap: break-word;
    top: 95%;
    font-family: Verdana, sans-serif;
    font-size: 0.875rem;
    font-weight: 800;
}
.metaslider .caption-wrap {
	bottom: 30px !important;
	height: auto!important;
}

@media (max-width: 1101px) { 
	.centreArrow .arrow, .metaslider .caption-wrap .caption, .metaslider-2143 .flexslider .flex-control-paging, .metaslider-4162  .flexslider .flex-control-paging {
		display: none;
	}
}
.metaslider-2143 .flexslider .flex-control-paging, .metaslider-4162 .flexslider .flex-control-paging {
	right: 16px !important;
    bottom: 16px !important;
}
.mejs-container {
	margin-bottom: 1.5em;
}

/* Audio Player */

.mejs-controls a.mejs-horizontal-volume-slider,
.mejs-controls a.mejs-horizontal-volume-slider:focus,
.mejs-controls a.mejs-horizontal-volume-slider:hover {
	background: transparent;
	border: 0;
}

/* Playlist Color Overrides: Light */

.site-content .wp-playlist-light {
	border-color: #eee;
	color: #222;
}

.site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-album {
	color: #333;
}

.site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-artist {
	color: #767676;
}

.site-content .wp-playlist-light .wp-playlist-item {
	border-bottom: 1px dotted #eee;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.site-content .wp-playlist-light .wp-playlist-item:hover,
.site-content .wp-playlist-light .wp-playlist-item:focus {
	border-bottom-color: rgba(0, 0, 0, 0);
	background-color: #767676;
	color: #fff;
}

.site-content .wp-playlist-light a.wp-playlist-caption:hover,
.site-content .wp-playlist-light .wp-playlist-item:hover a,
.site-content .wp-playlist-light .wp-playlist-item:focus a {
	color: #fff;
}

/* Playlist Color Overrides: Dark */

.site-content .wp-playlist-dark {
	background: #222;
	border-color: #333;
}

.site-content .wp-playlist-dark .mejs-container .mejs-controls {
	background-color: #333;
}

.site-content .wp-playlist-dark .wp-playlist-caption {
	color: #fff;
}

.site-content .wp-playlist-dark .wp-playlist-current-item .wp-playlist-item-album {
	color: #eee;
}

.site-content .wp-playlist-dark .wp-playlist-current-item .wp-playlist-item-artist {
	color: #aaa;
}

.site-content .wp-playlist-dark .wp-playlist-playing {
	background-color: #333;
}

.site-content .wp-playlist-dark .wp-playlist-item {
	border-bottom: 1px dotted #555;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.site-content .wp-playlist-dark .wp-playlist-item:hover,
.site-content .wp-playlist-dark .wp-playlist-item:focus {
	border-bottom-color: rgba(0, 0, 0, 0);
	background-color: #aaa;
	color: #222;
}

.site-content .wp-playlist-dark a.wp-playlist-caption:hover,
.site-content .wp-playlist-dark .wp-playlist-item:hover a,
.site-content .wp-playlist-dark .wp-playlist-item:focus a {
	color: #222;
}

/* Playlist Style Overrides */

.site-content .wp-playlist {
	padding: 0.625em 0.625em 0.3125em;
}

.site-content .wp-playlist-current-item .wp-playlist-item-title {
	font-weight: 700;
}

.site-content .wp-playlist-current-item .wp-playlist-item-album {
	font-style: normal;
}

.site-content .wp-playlist-current-item .wp-playlist-item-artist {
	font-size: 10px;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	text-transform: uppercase;
}

.site-content .wp-playlist-item {
	padding: 0 0.3125em;
	cursor: pointer;
}

.site-content .wp-playlist-item:last-of-type {
	border-bottom: none;
}

.site-content .wp-playlist-item a {
	padding: 0.3125em 0;
	border-bottom: none;
}

.site-content .wp-playlist-item a,
.site-content .wp-playlist-item a:focus,
.site-content .wp-playlist-item a:hover {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: transparent;
}

.site-content .wp-playlist-item-length {
	top: 5px;
}

/* SVG Icons base styles */

.icon {
	display: inline-block;
	fill: currentColor;
	height: 1em;
	position: relative; /* Align more nicely with capital letters */
	top: -0.0625em;
	vertical-align: middle;
	width: 1em;
}

/*--------------------------------------------------------------
16.1 Galleries
--------------------------------------------------------------*/

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	margin: 0 0 1.5em;
	padding: 0 1em 0 0;
	width: 50%;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-item .title h2 {
	font-size: 14px;
    font-family: effra;
    font-weight: 500;
	margin-bottom: 0;
	color: #000;
}

.gallery-item .twoCol-lg .title h2 {
	font-size: 30px;
}
.gallery-item .twoCol-lg h3, .job h3 {
	font-size: 12px;
	font-weight: bold;
	padding-top: 4px;
}
.gallery-item .twoCol-lg {
padding-right: 78px;
}
.gallery-item .twoCol-sm {
    padding-left: 20px;
    border-left: 1px solid #000;
}
.gallery-item .twoCol-sm h4 {
	font-size: 14px;
	font-family: effra;
	font-weight: 500;
}
.gallery-item .twoCol-sm .title h4 {
    padding-top: 6px;
	font-size: 24px;
	margin-bottom: 0;
}
.gallery-item .twoCol-sm p {
	font-size: 10px;
	margin-bottom: 0;
}
.gallery-item .twoCol-sm a {
font-size: 10px;
    font-weight: bold;
}

.gallery-expander-contents .twoCol-sm div.title {
	padding-bottom: 0;
}
/*--------------------------------------------------------------
17.0 Customizer
--------------------------------------------------------------*/

.grid-sizer,
.grid-item {
  width: 25%;
}

.grid-item {
  height: 13vw;
  float: left;
  background: #D26;
  border: 2px solid #333;
  border-color: hsla(0, 0%, 0%, 0.5);
  border-radius: 5px;
}

.grid-item--width2 { width:  40%; }
.grid-item--width3 { width:  60%; }

.grid-item--height2 { height: 27vw; }
.grid-item--height3 { height: 40vw; }
.grid-item--height4 { height: 360px; }



.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:after {
	border: 2px dashed #0085ba; /* Matches visible edit shortcuts. */
	bottom: 1em;
	content: "";
	display: block;
	left: 1em;
	position: absolute;
	right: 1em;
	top: 1em;
	z-index: 1;
}

.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel .panel-content {
	z-index: 2; /* Prevent :after from preventing interactions within the section */
}

/* Used for placeholder text */
.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel .twentyseventeen-panel-title {
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 3em;
	text-transform: uppercase;
	text-align: center;
}

/* Show borders on the custom page panels only when the front page sections are being edited */
.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:nth-of-type(1):after {
	border: none;
}

.twentyseventeen-front-page.twentyseventeen-customizer #primary article.panel-placeholder {
	border: 0;
}

/* Add some space around the visual edit shortcut buttons. */
.twentyseventeen-panel .customize-partial-edit-shortcut button {
	top: 30px;
	left: 30px;
}

/* Ensure that placeholder icons are visible. */
.twentyseventeen-panel .customize-partial-edit-shortcut-hidden:before {
	visibility: visible;
}

/*--------------------------------------------------------------
18.0 SVGs Fallbacks
--------------------------------------------------------------*/

.svg-fallback {
	display: none;
}

.no-svg .svg-fallback {
	display: inline-block;
}

.no-svg .dropdown-toggle {
	padding: 0.5em 0 0;
	right: 0;
	text-align: center;
	width: 2em;
}

.no-svg .dropdown-toggle .svg-fallback.icon-angle-down {
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
	-webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
	-ms-transform: rotate(180deg); /* IE 9 */
	transform: rotate(180deg);
}

.no-svg .dropdown-toggle.toggled-on .svg-fallback.icon-angle-down {
	-webkit-transform: rotate(0); /* Chrome, Safari, Opera */
	-ms-transform: rotate(0); /* IE 9 */
	transform: rotate(0);
}

.no-svg .dropdown-toggle .svg-fallback.icon-angle-down:before {
	content: "\005E";
}

/* Social Menu fallbacks */

.no-svg .social-navigation a {
	background: transparent;
	color: #222;
	height: auto;
	width: auto;
}

#themegrill_social_icons-2, .footer-widget-1 section {
	margin-bottom: 17px;
}

/* Show screen reader text in some cases */

.no-svg .next.page-numbers .screen-reader-text,
.no-svg .prev.page-numbers .screen-reader-text,
.no-svg .social-navigation li a .screen-reader-text,
.no-svg .search-submit .screen-reader-text {
	clip: auto;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	height: auto;
	position: relative !important; /* overrides previous !important styles */
	width: auto;
}
.no-svg .search-submit .screen-reader-text { color: transparent;}

/*--------------------------------------------------------------
19.0 Media Queries
--------------------------------------------------------------*/

/* Adjust positioning of edit shortcuts, override style in customize-preview.css */
@media screen and (min-width: 20em) {

	body.customize-partial-edit-shortcuts-shown .site-header .site-title {
		padding-left: 0;
	}
}

@media screen and (min-width: 30em) {

	/* Typography */

	body,
	button,
	input,
	select,
	textarea {
		font-size: 12px;
		
	}

	h1 {
		font-size: 30px;
		font-size: 1.875rem;
	}

	h2,
	.page .panel-content .recent-posts .entry-title {
		font-size: 26px;
		font-size: 1.625rem;
	}

	h3 {
		font-size: 22px;
		font-size: 1.375rem;
	}

	h4 {
		font-size: 18px;
		font-size: 1.125rem;
	}

	h5 {
		font-size: 13px;
		font-size: 0.8125rem;
	}

	h6 {
		font-size: 16px;
		font-size: 1rem;
	}

	.entry-content blockquote.alignleft,
	.entry-content blockquote.alignright {
		font-size: 14px;
		font-size: 0.875rem;
	}

	/* Fix image alignment */
	img.alignleft {
		float: left;
		margin-right: 1.5em;
	}

	img.alignright {
		float: right;
		margin-left: 1.5em;
	}

	/* Site Branding */

	.site-branding {
		padding: 3em 0;
	}

	/* Front Page */

	.panel-content .wrap {
		padding-bottom: 1em;
		padding-top: 1em;
	}

	.page-one-column .panel-content .wrap {
		max-width: 740px;
	}
	.page-one-column .panel-content .wrap.full {
		max-width: 100%;
	}
	

	.panel-content .entry-header {
		margin-bottom: 4.5em;
	}

	.panel-content .recent-posts .entry-header {
		margin-bottom: 0;
	}

	/* Blog Index, Archive, Search */

	.taxonomy-description {
		font-size: 14px;
		font-size: 0.875rem;
	}

	.page-numbers.current {
		font-size: 16px;
		font-size: 1rem;
	}

	/* Site Footer */

	.site-footer {
		font-size: 16px;
		font-size: 1rem;
	}

	/* Gallery Columns */

	.gallery-item {
		max-width: 220px;
	}
	


	.gallery-columns-1 .gallery-item {
		max-width: 100%;
	}

	.gallery-columns-2 .gallery-item {
		max-width: 50%;
	}

	.gallery-columns-3 .gallery-item {
		max-width: 33.33%;
	}

	.gallery-columns-4 .gallery-item {
		max-width: 25%;
	}
}

@media screen and (min-width: 1101px) {
	
	.two_column .left, .two_column .right {
		width: 50%;
		display: inline-block;
		padding-left: 20px;
		vertical-align: top;
	}

	/* Typography */

	body,
	button,
	input,
	select,
	textarea {
		font-size: 12px;
	}

	.entry-content blockquote.alignleft,
	.entry-content blockquote.alignright {
		font-size: 13px;
		font-size: 0.8125rem;
	}

	/* Layout */

	.wrap {
		max-width: 1000px;
	}

	.has-sidebar:not(.error404) #primary {
		float: left;
		width: 58%;
	}

	.has-sidebar #secondary {
		float: right;
		padding-top: 0;
		width: 36%;
	}

	.error404 #primary {
		float: none;
	}

	/* Site Branding */

	.site-branding {
		margin-bottom: 0;
	}

	.has-header-image.twentyseventeen-front-page .site-branding,
	.has-header-video.twentyseventeen-front-page .site-branding,
	.has-header-image.home.blog .site-branding,
	.has-header-video.home.blog .site-branding {
		top:0;
		display: block;
		left: 0;
		height: auto;
		padding-top: 0;
		position: absolute;
		width: 100%;
		z-index: 4;
	}

	.has-header-image.twentyseventeen-front-page .custom-header,
	.has-header-video.twentyseventeen-front-page .custom-header,
	.has-header-image.home.blog .custom-header,
	.has-header-video.home.blog .custom-header {
		display: block;
		
	}

	.custom-header-media {
		height: 165px;
		position: relative;
	}

	.custom-header .custom-header-media img.arrow {
	height: 17px;
    width: 30px;
    min-width: 30px;
    min-height: 17px;
     margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
		
	}
	.custom-header .custom-header-media .centreArrow {
	text-align: center;
    width: 100%;
    position: absolute;
    height: 20px;
    margin-left: auto;
    margin-right: auto;
    bottom: 0;
    top: initial;
		
	}
	.twentyseventeen-front-page.has-header-image .custom-header-media,
	.twentyseventeen-front-page.has-header-video .custom-header-media,
	.home.blog.has-header-image .custom-header-media,
	.home.blog.has-header-video .custom-header-media {
		height: 0;
		position: relative;
	}

	.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media,
	.has-header-video:not(.twentyseventeen-front-page):not(.home) .custom-header-media {
		    max-height: 100%;
    overflow: hidden;
    height: calc(100vh - 32px);
	}

	.custom-logo-link {
		
	}

	.custom-logo-link img,
	body.home.title-tagline-hidden.has-header-image .custom-logo-link img,
	body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
		max-width: 200px;
	}

	.title-tagline-hidden.home.has-header-image .custom-logo-link img,
	.title-tagline-hidden.home.has-header-video .custom-logo-link img {
		max-height: 200px;
	}
	#top-menu {
	margin-bottom: 0;
    margin-top: -6px;
	}

	.site-title {
		font-size: 36px;
		font-size: 2.25rem;
	}

	.site-description {
		font-size: 16px;
		font-size: 1rem;
	}

	/* Navigation */

	.navigation-top {
		top: 0;
		font-size: 12px;
		font-size: 0.78rem;
		left: 0;
		position: fixed;
		right: 0;
		width: 100%;
		z-index: 4000;
	}
	

	.navigation-top .wrap {
		max-width: none;
		/* The font size is 14px here and we need 50px padding in ems */
		padding: 0.75em 3.4166666666667em;
	}

	.navigation-top nav {
		margin-left: -1.25em;
	}

	.site-navigation-fixed.navigation-top {
		bottom: auto;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		width: 100%;
		z-index: 7;
	}

	.admin-bar .site-navigation-fixed.navigation-top {
		top: 32px;
	}

	/* Main Navigation */

	.js .menu-toggle,
	.js .dropdown-toggle {
		display: none;
	}

	.main-navigation {
		width: auto;
	}

	.js .main-navigation ul,
	.js .main-navigation ul ul,
	.js .main-navigation > div > ul {
		display: block;
	}

	.main-navigation ul {
		background: transparent;
		padding: 0;
	}

	.main-navigation > div > ul {
		border: 0;
		margin-bottom: 0;
		padding: 0;
	}

	.main-navigation li {
		border: 0;
		display: inline-block;
	}

	.main-navigation li li {
		    display: inline-block;
    width: 100px;
	}

	.main-navigation a {
		padding: 1em 1.25em;
	}

	.main-navigation ul ul {
		background: #fff;
		border: 1px solid #bbb;
		left: -999em;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 99999;
	}

	.main-navigation ul li.menu-item-has-children:before,
	.main-navigation ul li.menu-item-has-children:after,
	.main-navigation ul li.page_item_has_children:before,
	.main-navigation ul li.page_item_has_children:after {
		border-style: solid;
		border-width: 0 6px 6px;
		content: "";
		display: none;
		height: 0;
		position: absolute;
		right: 1em;
		bottom: -1px;
		width: 0;
		z-index: 100000;
	}

	.main-navigation ul li.menu-item-has-children.focus:before,
	.main-navigation ul li.menu-item-has-children:hover:before,
	.main-navigation ul li.menu-item-has-children.focus:after,
	.main-navigation ul li.menu-item-has-children:hover:after,
	.main-navigation ul li.page_item_has_children.focus:before,
	.main-navigation ul li.page_item_has_children:hover:before,
	.main-navigation ul li.page_item_has_children.focus:after,
	.main-navigation ul li.page_item_has_children:hover:after {
		display: inline-block;
	}

	.main-navigation ul li.menu-item-has-children:before,
	.main-navigation ul li.page_item_has_children:before {
		border-color: transparent transparent #bbb;
		bottom: 0;
	}

	.main-navigation ul li.menu-item-has-children:after,
	.main-navigation ul li.page_item_has_children:after {
		border-color: transparent transparent #fff;
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul {
		left: 100%;
		right: auto;
	}

	.main-navigation ul ul a {
		padding: 0.75em 1.25em;
		width: 16em;
	}

	.main-navigation li li {
		-webkit-transition: background-color 0.2s ease-in-out;
		transition: background-color 0.2s ease-in-out;
	}

	.main-navigation li li:hover,
	.main-navigation li li.focus {
		background: #767676;
	}

	.main-navigation li li a {
		-webkit-transition: color 0.3s ease-in-out;
		transition: color 0.3s ease-in-out;
	}

	.main-navigation li li.focus > a,
	.main-navigation li li:focus > a,
	.main-navigation li li:hover > a,
	.main-navigation li li a:hover,
	.main-navigation li li a:focus,
	.main-navigation li li.current_page_item a:hover,
	.main-navigation li li.current-menu-item a:hover,
	.main-navigation li li.current_page_item a:focus,
	.main-navigation li li.current-menu-item a:focus {
		color: #fff;
	}

	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: 0.5em;
		right: auto;
		width: 1000px;
	}

	.main-navigation .menu-item-has-children > a > .icon,
	.main-navigation .page_item_has_children > a > .icon {
		display: inline;
		left: 5px;
		position: relative;
		top: -1px;
	}

	.main-navigation ul ul .menu-item-has-children > a > .icon,
	.main-navigation ul ul .page_item_has_children > a > .icon {
		margin-top: -9px;
		left: auto;
		position: absolute;
		right: 1em;
		top: 50%;
		-webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
		-ms-transform: rotate(-90deg); /* IE 9 */
		transform: rotate(-90deg);
	}

	.main-navigation ul ul ul {
		left: 0;
		margin-top: -1px;
		top: 0;
	}

	.main-navigation ul ul li.menu-item-has-children.focus:before,
	.main-navigation ul ul li.menu-item-has-children:hover:before,
	.main-navigation ul ul li.menu-item-has-children.focus:after,
	.main-navigation ul ul li.menu-item-has-children:hover:after,
	.main-navigation ul ul li.page_item_has_children.focus:before,
	.main-navigation ul ul li.page_item_has_children:hover:before,
	.main-navigation ul ul li.page_item_has_children.focus:after,
	.main-navigation ul ul li.page_item_has_children:hover:after {
		display: none;
	}

	.site-header .site-navigation-fixed .menu-scroll-down {
		display: none;
	}
	
	
	/* custom navigation */
	
	#farrells-navigation #top-menu .sub-menu { display: none; margin-top: 15px;}
	#farrells-navigation #top-menu li {display: inline-block; padding-left: 20px;}
	#farrells-navigation #top-menu li.top {    display: inline-block;
    padding-left: 50px;
    vertical-align: top;
    top: 24px;
	text-align: left;
	font-size: 15px;}
	#farrells-navigation #top-menu li.top:first-child { padding-left: 0;}
	#farrells-navigation {display: block;
    margin-left: 230px;
    margin-right: 230px;}
	#farrells-navigation #top-menu .active .sub-menu { display: block; margin-left: 0; position: absolute;}
	#farrells-navigation #top-menu .active .sub-menu .sub-menu { display: block;
    position: absolute;
    top: 21px;
    width: 200px;
    left: 30.5em;
    padding-left: 0; }
	#farrells-navigation #top-menu .active .sub-menu .history .sub-menu { left: 3.7em;  }
	#farrells-navigation #top-menu .active .sub-menu .history { padding-right: 40px;  }
	#farrells-navigation #top-menu .projects ul { max-width: 550px;  }
	#farrells-navigation #top-menu .projects ul li {display: block; }
	#farrells-navigation #top-menu .active .sub-menu .sub-menu li { display: block;}
	#farrells-navigation #top-menu li li { display: block; padding-left: 0; font-size: 14px;
    line-height: 18px;}
	#farrells-navigation #top-menu { margin-top: -4px; height: 0;}
	#farrells-navigation #top-menu:after {
    content: '';
    display: inline-block;
    width: 100%;
}
	.menu-all-pages-container, .menu-all-pages-chinese-simplified-container {
		width: 100%;
    text-align: center;
		margin-top: 3px;
	}
	
	/* Scroll down arrow */

	.site-header .menu-scroll-down {
		display: block;
		padding: 1em;
		position: absolute;
		right: 0;
	}

	.site-header .menu-scroll-down .icon {
		-webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
		-ms-transform: rotate(90deg); /* IE 9 */
		transform: rotate(90deg);
	}

	.site-header .menu-scroll-down {
		color: #fff;
		top: 2em;
	}

	.site-header .navigation-top .menu-scroll-down {
		color: #767676;
		top: 0.7em;
	}

	.menu-scroll-down:focus {
		outline: thin dotted;
	}

	.menu-scroll-down .icon {
		height: 18px;
		width: 18px;
	}

	/* Front Page */

	.twentyseventeen-front-page.has-header-image .site-branding,
	.twentyseventeen-front-page.has-header-video .site-branding,
	.home.blog.has-header-image .site-branding,
	.home.blog.has-header-video .site-branding {
		margin-bottom: 70px;
	}

	.twentyseventeen-front-page.has-header-image .custom-header-media,
	.twentyseventeen-front-page.has-header-video .custom-header-media,
	.home.blog.has-header-image .custom-header-media,
	.home.blog.has-header-video .custom-header-media {
		height: 1200px;
		height: 100vh;
		max-height: 100%;
		overflow: hidden;
	}

	.twentyseventeen-front-page.has-header-image .custom-header-media:before,
	.twentyseventeen-front-page.has-header-video .custom-header-media:before,
	.home.blog.has-header-image .custom-header-media:before,
	.home.blog.has-header-video .custom-header-media:before {
		height: 33%;
	}

	.admin-bar.twentyseventeen-front-page.has-header-image .custom-header-media,
	.admin-bar.twentyseventeen-front-page.has-header-video .custom-header-media,
	.admin-bar.home.blog.has-header-image .custom-header-media,
	.admin-bar.home.blog.has-header-video .custom-header-media {
		height: calc(100vh - 32px);
	}

	.panel-content .wrap {
		padding-bottom: 1em;
		padding-top: 1em;
	}

	.panel-image {
		height: 100vh;
		max-height: 1200px;
	}

	/* With panel images 100% of the screen height, we're going to fix the background image where supported to create a parallax-like effect. */
	.background-fixed .panel-image {
		background-attachment: fixed;
	}

	.page-two-column .panel-content .entry-header {
		float: left;
		width: 36%;
	}

	.page-two-column .panel-content .entry-content {
		float: right;
		width: 58%;
	}

	/* Front Page - Recent Posts */

	.page-two-column .panel-content .recent-posts {
		clear: right;
		float: right;
		width: 58%;
	}

	.panel-content .recent-posts article {
		margin-bottom: 4em;
	}

	.panel-content .recent-posts .entry-header,
	.page-two-column #primary .panel-content .recent-posts .entry-header,
	.panel-content .recent-posts .entry-content,
	.page-two-column #primary .panel-content .recent-posts .entry-content {
		float: none;
		width: 100%;
	}

	.panel-content .recent-posts .entry-header {
		margin-bottom: 1.5em;
	}

	.page .panel-content .recent-posts .entry-title {
		font-size: 26px;
		font-size: 1.625rem;
	}

	/* Posts */

	.site-content {
		padding: 77px 0 0;
	}

	.single-post .entry-title,
	.page .entry-title {
		font-size: 26px;
		font-size: 1.625rem;
	}

	.comments-pagination,
	.post-navigation {
		clear: both;
	}

	.post-navigation .nav-previous {
		float: left;
		width: 50%;
	}

	.post-navigation .nav-next {
		float: right;
		text-align: right;
		width: 50%;
	}

	.nav-next,
	.post-navigation .nav-next {
		margin-top: 0;
	}

	/* Blog, archive, search */

	.sticky .icon-thumb-tack {
		height: 23px;
		left: -2.5em;
		top: 1.5em;
		width: 32px;
	}

	body:not(.has-sidebar):not(.page-one-column) .page-header,
	body.has-sidebar.error404 #primary .page-header,
	body.page-two-column:not(.archive) #primary .entry-header,
	body.page-two-column.archive:not(.has-sidebar) #primary .page-header {
		float: left;
		width: 36%;
	}

	.blog:not(.has-sidebar) #primary article,
	.archive:not(.page-one-column):not(.has-sidebar) #primary article,
	.search:not(.has-sidebar) #primary article,
	.error404:not(.has-sidebar) #primary .page-content,
	.error404.has-sidebar #primary .page-content,
	body.page-two-column:not(.archive) #primary .entry-content,
	body.page-two-column #comments {
		float: right;
		width: 58%;
	}

	.blog .site-main > article,
	.archive .site-main > article,
	.search .site-main > article {
		padding-bottom: 4em;
	}

	.navigation.pagination {
		clear: both;
		float: right;
		width: 58%;
	}

	.has-sidebar .navigation.pagination,
	.archive.page-one-column:not(.has-sidebar) .navigation.pagination {
		float: none;
		width: 100%;
	}

	.entry-footer {
		display: table;
		width: 100%;
	}

	.entry-footer .cat-tags-links {
		display: table-cell;
		vertical-align: middle;
		width: 100%;
	}

	.entry-footer .edit-link {
		display: table-cell;
		text-align: right;
		vertical-align: middle;
	}

	.entry-footer .edit-link a.post-edit-link {
		margin-top: 0;
		margin-left: 1em;
	}

	/* Entry content */

	/* without sidebar */

	:not(.has-sidebar) .entry-content blockquote.alignleft {
		margin-left: -17.5%;
		width: 48%;
	}

	:not(.has-sidebar) .entry-content blockquote.alignright {
		margin-right: -17.5%;
		width: 48%;
	}

	/* with sidebar */

	.has-sidebar .entry-content blockquote.alignleft {
		margin-left: 0;
		width: 34%;
	}

	.has-sidebar .entry-content blockquote.alignright {
		margin-right: 0;
		width: 34%;
	}

	.has-sidebar #primary .entry-content blockquote.alignright.below-entry-meta {
		margin-right: -72.5%;
		width: 62%;
	}

	/* blog and archive */

	.blog:not(.has-sidebar) .entry-content blockquote.alignleft,
	.twentyseventeen-front-page.page-two-column .entry-content blockquote.alignleft,
	.archive:not(.has-sidebar) .entry-content blockquote.alignleft,
	.page-two-column .entry-content blockquote.alignleft {
		margin-left: -72.5%;
		width: 62%;
	}

	.blog:not(.has-sidebar) .entry-content blockquote.alignright,
	.twentyseventeen-front-page.page-two-column .entry-content blockquote.alignright,
	.archive:not(.has-sidebar) .entry-content blockquote.alignright,
	.page-two-column .entry-content blockquote.alignright {
		margin-right: 0;
		width: 36%;
	}

	/* Post formats */

	.format-quote blockquote .icon {
		left: -1.5em;
	}

	/* Pages */

	.page.page-one-column .entry-header,
	.twentyseventeen-front-page.page-one-column .entry-header,
	.archive.page-one-column:not(.has-sidebar) .page-header {
		margin-bottom: 0;
	}

	.page:not(.home) #content {
		
	}

	/* 404 page */

	.error404 .page-content {
		padding-bottom: 9em;
	}

	/* Comments */

	#comments {
		padding-top: 5em;
	}

	.comments-title {
		margin-bottom: 2.5em;
	}

	ol.children .children {
		padding-left: 2em;
	}

	/* Posts pagination */

	.nav-links .nav-title {
		position: relative;
	}

	.nav-title-icon-wrapper {
		position: absolute;
		text-align: center;
		width: 2em;
	}

	.nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
		left: -2em;
	}

	.nav-links .nav-next .nav-title .nav-title-icon-wrapper {
		right: -2em;
	}

	/* Secondary */

	#secondary {
		font-size: 14px;
		font-size: 0.875rem;
		line-height: 1.6;
	}

	/* Widgets */

	h2.widget-title {
		font-size: 11px;
		font-size: 0.6875rem;
		margin-bottom: 2em;
	}

	/* Footer */

	.site-footer {
		font-size: 14px;
		font-size: 0.875rem;
		line-height: 1.6;
		margin-top: 3em;
	}
	.home .site-footer {
		margin-top: 0;
	}

	.site-footer .widget-column.footer-widget-1 {
		
		width: 100%;
		text-align: left;
	}

	.site-footer .widget-column.footer-widget-2 {
	
		width: 100%;
	}

	.social-navigation {
		clear: left;
		float: left;
		margin-bottom: 0;
		width: 36%;
	}

	#themegrill_social_icons-2, .widget-column, .widget-column section, .menu-footer-container, .menu-footer-chinese-simplified-container {
		display: inline-block;
		width: auto;
	}
	
	.menu-footer-container, .menu-footer-chinese-simplified-container {
		width: 50%;
	}

	#menu-footer, #menu-footer-chinese-simplified {
		list-style: none;
	}
	
	#menu-footer li, #menu-footer-chinese-simplified li {
		float: left;
	    padding-right: 20px;
	}
	#themegrill_social_icons-2, .footer-widget-1 section { float: right; margin-top: 5px; }
	
	
	.site-info {
		float: left;
		padding: 0.7em 0 0;
		width: 58%;
	}

	.social-navigation + .site-info {
		margin-left: 6%;
	}

	.site-info .sep {
		margin: 0 0.5em;
		display: inline;
		visibility: visible;
		height: auto;
		width: auto;
	}

	/* Gallery Columns */

	.gallery-columns-5 .gallery-item {
		max-width: 20%;
	}

	.gallery-columns-6 .gallery-item {
		max-width: 16.66%;
	}

	.gallery-columns-7 .gallery-item {
		max-width: 14.28%;
	}

	.gallery-columns-8 .gallery-item {
		max-width: 12.5%;
	}

	.gallery-columns-9 .gallery-item {
		max-width: 11.11%;
	}
	
}
@media screen and (min-width: 67em) {
	/* Navigation */
	.navigation-top .wrap {
		padding: 1.3em 2em 0.75em 2em;
	}

	.navigation-top nav {
		margin-left: 0;
	}

	/* Sticky posts */

	.sticky .icon-thumb-tack {
		font-size: 32px;
		font-size: 2rem;
		height: 22px;
		left: -1.25em;
		top: 0.75em;
		width: 32px;
	}

	/* Pagination */

	.page-numbers {
		display: inline-block;
	}

	.page-numbers.current {
		font-size: 15px;
		font-size: 0.9375rem;
	}

	.page-numbers.current .screen-reader-text {
		clip: rect(1px, 1px, 1px, 1px);
		height: 1px;
		overflow: hidden;
		position: absolute !important;
		width: 1px;
	}

	/* Comments */

	.comment-body {
		margin-left: 0;
	}
}

@media screen and (min-width: 79em) {

	.has-sidebar .entry-content blockquote.alignleft {
		margin-left: -20%;
	}

	.blog:not(.has-sidebar) .entry-content blockquote.alignright,
	.archive:not(.has-sidebar) .entry-content blockquote.alignright,
	.page-two-column .entry-content blockquote.alignright,
	.twentyseventeen-front-page .entry-content blockquote.alignright {
		margin-right: -20%;
	}
}

@media screen and (max-width:48.875em) and (min-width: 48em) {

	.admin-bar .site-navigation-fixed.navigation-top,
	.admin-bar .site-navigation-hidden.navigation-top {
		top: 46px;
	}
}

/*--------------------------------------------------------------
20.0 Print
--------------------------------------------------------------*/

@media print {

	/* Hide elements */

	form,
	button,
	input,
	select,
	textarea,
	.navigation-top,
	.social-navigation,
	#secondary,
	.content-bottom-widgets,
	.header-image,
	.panel-image-prop,
	.icon-thumb-tack,
	.page-links,
	.edit-link,
	.post-navigation,
	.pagination.navigation,
	.comments-pagination,
	.comment-respond,
	.comment-edit-link,
	.comment-reply-link,
	.comment-metadata .edit-link,
	.pingback .edit-link,
	.site-footer aside.widget-area,
	.site-info {
		display: none !important;
	}

	.entry-footer,
	#comments,
	.site-footer,
	.single-featured-image-header {
		border: 0;
	}

	/* Font sizes */

	body {
		font-size: 12pt;
	}

	h1 {
		font-size: 24pt;
	}

	h2 {
		font-size: 22pt;
	}

	h3 {
		font-size: 17pt;
	}

	h4 {
		font-size: 12pt;
	}

	h5 {
		font-size: 11pt;
	}

	h6 {
		font-size: 12pt;
	}

	.page .panel-content .entry-title,
	.page-title,
	body.page:not(.twentyseventeen-front-page) .entry-title {
		font-size: 10pt;
	}

	/* Layout */

	.wrap {
		padding-left: 5% !important;
		padding-right: 5% !important;
		max-width: none;
	}

	/* Site Branding */

	.site-header {
		background: transparent;
		padding: 0;
	}

	.custom-header-media {
		padding: 0;
	}

	.twentyseventeen-front-page.has-header-image .site-branding,
	.twentyseventeen-front-page.has-header-video .site-branding,
	.home.blog.has-header-image .site-branding,
	.home.blog.has-header-video .site-branding {
		position: relative;
	}

	.site-branding {
		margin-top: 0;
		margin-bottom: 1.75em !important; /* override styles added by JavaScript */
	}

	.site-title {
		font-size: 25pt;
	}

	.site-description {
		font-size: 12pt;
		opacity: 1;
	}

	/* Posts */

	.single-featured-image-header {
		background: transparent;
	}

	.entry-meta {
		font-size: 9pt;
	}

	/* Colors */

	body,
	.site {
		background: none !important; /* Brute force since user agents all print differently. */
	}

	body,
	a,
	.site-title a,
	.twentyseventeen-front-page.has-header-image .site-title,
	.twentyseventeen-front-page.has-header-video .site-title,
	.twentyseventeen-front-page.has-header-image .site-title a,
	.twentyseventeen-front-page.has-header-video .site-title a {
		color: #222 !important; /* Make sure color schemes don't affect to print */
	}

	h2,
	h5,
	blockquote,
	.site-description,
	.twentyseventeen-front-page.has-header-image .site-description,
	.twentyseventeen-front-page.has-header-video .site-description,
	.entry-meta,
	.entry-meta a {
		color: #777 !important; /* Make sure color schemes don't affect to print */
	}

	.entry-content blockquote.alignleft,
	.entry-content blockquote.alignright {
		font-size: 11pt;
		width: 34%;
	}

	.site-footer {
		padding: 0;
	}
}

/* slider */
.fa-square:before {
    content: "\f111";
}
.fa-square-o:before {
    content: "\f111";
}
div[id^="wds_container"] .wds_left_btn_cont { margin-left: 0;}
div[id^="wds_container"] .wds_right_btn_cont { margin-right: 0;}
#wds_container1_0 #wds_container2_0 .wds_left-ico_0, #wds_container1_0 #wds_container2_0 .wds_right-ico_0 { color: #989898!important;}

/* mobile */
@media screen and (max-width: 1101px) {

	.menu-all-pages-container, .menu-all-pages-chinese-simplified-container {
	display: none;	
	}
	#farrells-navigation {
		left: 50%;
	}
	.search-form { display: none;}
	#farrells-navigation {
    float: right;
		    position: initial;
}
	.navigation-top {
    	width: 100%;
		z-index: 10;
		height: 55px;
}
	.custom-logo-link {
    position: absolute;
    z-index: 100000;
}
	#lang_sel_list {
		top:0;
	}
	
	.slides { position: relative; }
	
	.flexslider .flex-control-nav {
		display: none;
	}
	div .metaslider .flexslider {
		position: relative;
	}
	.slide-header {
		width: 100%;
		height: auto;
		min-height: 0;
		max-height: 100vh;
		position: relative;
}
	.slide-header div, .metaslider, .metaslider div {
		position: relative;
	}
	.slide-header .centreArrow svg {
		display: none;
	}
	.has-header-image.twentyseventeen-front-page .slide-header .site-branding {
		display: none;
	}
}
@media screen and (max-width: 1030px) { 
	#clients .clients li {

	}
}
@media screen and (max-width: 915px) {
	#newsGrid a .hide {
		margin-top: -40px;
width: 100%;
	}
	#newsGrid a .hide p {
		display: none;
	}
	#rotating-text { font-size: 22px;}
	#projects .projects li {
    width: 33%;
	}
	#projects .filter {
		text-align: left;
	}
	#projects .filter3 {
    text-align: right;
}
	
	#contact .third {
    width: 100%;
}
	#contact .info .image {
    width: 50%;
	margin-top:  40px;
	}
	#contact .info .image img {
    max-width: 34%;
    margin-left: 0;
    margin-top: -30px;
}
}
@media screen and (max-width: 1100px) {
		.site-content { padding: 6.5em 0 0;}
#projects .projects li {
    width: 49%;
}
	#services .third {
    width: 100%;
    text-align: center;
}
	#services img {
    height: auto;
    max-width: 50%;
	}
	
	#services h2 {
		text-align: left;
	}
	#services .third div {
		text-align: left;
	}
	#services button {
		display: inherit;
	}
	
	#history .history li {
		width: 100%;
		float: none;
		border-bottom: 1px solid #989898;
	}
	#history .history li:nth-child(2n) {
		border-left: none;
		padding-left: 0;
	}
	#history #primary { padding-left: 20px;
padding-right: 20px;}
	#clients .intro {
		padding-left: 20px;
padding-right: 20px;
	}
	#content .wrap #primary.twoCol {
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}
	#project .rightColumn {
		width: 100%;
	}
	.half { width: 100%;}
	#service .rightColumn { width: 100% }
	.centreArrow { 
	z-index: 1;}
}
@media screen and (max-width: 778px) {
	.slide-header {
margin-top: 63px;
	}
	#projectGrid div.half {
    width: 100%;
}
	#projectGrid a .hide {
		
	}
	#projectGrid div, #newsGrid div {
    display: inline-block;
    width: 100%;
    float: left;
}
	#projectGrid .contain .height-3 {
		margin-top: 0px;
	}
	
	#projectGrid .double .zoom:nth-child(1) {
		margin-bottom: -24.5%;
	}
	#projectGrid div div {
		height: 15vw
	}
	#newsGrid div img {
		min-height: 0;
	}
	.gallery-item .twoCol-lg {
    padding-right: 0;
    width: 100%;
		padding-left: 20px;
}
	#people .gallery-item .twoCol-sm {
    padding-left: 20px;
    border-left: none;
    width: 100%;
    float: none;
    display: block;
		text-align: left;
}
	#jobs { padding-left: 20px;
padding-right: 20px;}
	.contain div {
		margin-bottom: -101%;
	}
	#projectGrid .contain:first-child d,iv, #projectGrid .double .first, #projectGrid .double .zoom:nth-child(1), #projectGrid .double .zoom, #projectGrid .double .second, #newsGrid .contain:first-child div:first-child, #newsGrid div, #projectGrid .contain:first-child div:first-child, #projectGrid .contain:first-child div   { height: auto;}	
	#newsGrid .contain div, #projectGrid .contain div { padding-bottom: 25%;
margin-bottom: -25%;
margin-top: -2px;
	height: auto;}
	#projectGrid .double .zoom {
    margin-top: -1px;
}
	#newsGrid .contain div {
		margin-top: -7px;
	}
	#projectGrid h2 {
    right: 7px;
    bottom: 7px;
}
	.wrap {
	clear: both;
	}
}
@media screen and (max-width: 721px) {

	
	#contentPage .twoCol-lg, #contentPage .twoCol-sm {
    width: 100%;
    float: none;
	}
}
@media screen and (max-width: 650px) {
	#projects .projects li {
    width: 99%;
}	
	
	#newsGrid a .hide p {}
	#rotating-text { font-size: 17px;}
	#projects .filter {
        width: 50%;
    margin-bottom: 17px;
    padding-left: 20px;
	}
	#projects .filter3 {
    width: 50%;
    float: none;
		text-align: left;
}
	ul.news {
		margin-left: 0;
		padding-left: 20px;
    	padding-right: 20px;
	}	
	#people .filter {
    width: 50%;
	}
	
	#people .filter3 {
    text-align: left;
}
	
	#news .newsRow li.first {
    padding-right: 0;
	margin-bottom: 0;
}
	#news .news li {
    width: 100%;
}
	#news div.small {
    width: 100%;
	}
	#news .newsRow li.second {
    padding-left: 0;
}
	#news .mid img {
		padding-left: 0;
	}
	.gallery-item .twoCol-sm {
		width: 100%;
text-align: center;
margin-left: auto;
margin-right: auto;
	}
	.gallery-item .twoCol-sm img { max-width: 50%;}
	
	#publications .gallery-item .twoCol-lg {
		padding-left: 20px;
width: 90%;
	}
	.third, .related .third { width: 100%;     padding-left: 20px;
    padding-right: 20px;}
	#news .mid img, #news .mid .smNews { width: 100%;}
	.wp-caption img[class*="wp-image-"] { width: 100%;}
	.wp-caption { width: 100% !important;}
	#service .rightColumn, .gallery-item .twoCol-lg, #people .gallery-item .twoCol-sm { padding-left: 0; padding-right: 0;}
	.gallery-item .twoCol-lg { float: none;}
	ul .third:first-child, ul .third:nth-child(2), ul .third:last-child, .intro, #people .filter, .gallery-expander-contents, #history  .history li:nth-child(odd), #history .history li:nth-child(2n), #projects .projects li, #publications .filter, #publications .gallery-expander-contents div.close { padding-left: 20px; padding-right: 20px;}
	#people .gallery-expander-contents div.close {
		width: 40px; text-align: right;
	}
	#history  .history li:nth-child(odd) .button { margin-left: 0;}
	#history .history li:nth-child(odd),#publications .filter { text-align: left; }
	#publications .filter {margin-right: 0;}
	#publications .gallery-item .thumbnail { height: 140px;}
	#publications .gallery-item .thumbnail img { height: 135px;}
	#publications .gallery-expander-contents { padding-left: 0; padding-right: 0;}
	#publications .gallery-items .gallery-item { padding: 0 10px;}
	#publications .gallery-item { margin: 0;}
}
@media screen and (max-width: 546px) {
	#projects .filter {
		width: 100%; }
	#jobs .filter { width: 100%}
	#jobs .filter2 {
    text-align: left;
}
}
@media screen and (max-width: 480px) {
	#newsGrid a .hide p {}
	#rotating-text { font-size: 12px;}
	#contact .info .image {
    width: 100%;
}
	#contact .info .image img {
    max-width: 76%;
    margin-bottom: -67px;
}
	#publications .gallery-item .thumbnail img {
		height: 120px;
	}
	.gallery-item {
    width: 180px;
    margin-left: auto;
    margin-right: auto;
	}
}
@media screen and (max-width: 440px) {

	#people .filter {
    width:100%;
	}
	#people .filter2 {
    text-align: left;
}
	gallery-contents {
    padding-left: 0;
}
	.wrap .metaslider { margin-top: 39px;}
}
@media screen and (max-width: 380px) {
#lang_sel_list {
    top: 0;
right: 0;
width: 100%;
text-align: right;
}
	#farrells-navigation {
		margin-top: 14px;
	}
	.navigation-top {
    
}
	.gallery-contents {
    padding-left: 0;
	}
		#publications .gallery-item .thumbnail {
			border: none;
		}

	.slide-header {margin-top: 83px;}
	#projectGrid h2, #newsGrid h2 { font-size: 32px; }
	#rotating-text { font-size: 11px;}
}


/* mobile nav */
#nav-mobile
		{
			width: 60em; /* 1000 */
			position: absolute;
			top: 25%;
			left: 50%;
			margin-left: -30em; /* 30 480 */
		}
		#nav-mobile:before {
			content: 'MENU';
			font-weight: bold;
			text-align: right;
			color: #000;
			width: 100%;
			display: block;
			font-size: 12px;
			padding-right: 15px;
		}
	
	

			#nav-mobile > a
			{
				display: none;
			}

			#nav-mobile li
			{
				position: relative;
				list-style: none;
			}
				#nav-mobile li a
				{
					color: #000;
					display: block;
				}
				#nav-mobile li a:active
				{
					background: rgba(255,255,255,0.8);
				}

			#nav-mobile span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #989898;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav-mobile div > ul
			{
				height: 3.75em; /* 60 */
				background: rgba(255,255,255,0.8);
			}
				#nav-mobile div > ul > li
				{
					width: 25%;
					height: 100%;
					float: left;
				}
					#nav-mobile div > ul > li > a
					{
						height: 100%;
						font-size: 1.5em; /* 24 */
						line-height: 2.5em; /* 60 (24) */
						text-align: center;
					}
						#nav-mobile div > ul > li:not( :last-child ) > a
						{
							border-right: 1px solid #cc470d;
						}
						#nav-mobile div > ul > li:hover > a,
						#nav-mobile div > ul:not( :hover ) > li.active > a
						{
							/*background: rgba(255,255,255,0.8);*/
						}


				/* second level */

				#nav-mobile li ul
				{
					display: none;
					position: absolute;
					top: 100%;
				}
					#nav-mobile li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
					}
						#nav-mobile li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav-mobile li ul a
						{
							font-size: 1.25em; /* 20 */
							/*border-top: 1px solid #989898;*/
							padding: 0.75em; /* 15 (20) */
						}
							#nav-mobile li ul li a:hover,
							#nav-mobile li ul:not( :hover ) li.active a
							{
								/*background: rgba(255,255,255,0.8);*/
							}

	@media screen and (min-width: 1102px) {
		#nav-mobile { display: none;}
	}
		@media screen and (max-width: 1101px)  {
			#nav-mobile
			{
				width: 100%;
				position: static;
				margin: 0;
			}
		}

		@media screen and (max-width: 1101px) {
			html
			{
				font-size: 75%; /* 12 */
			}
			
			.menu-mobile-container, .menu-mobile-chinese-simplified-container {
				max-height: 100vh;
				overflow: scroll;
				margin-top: -21px;
			}
			
			#services .intro p {
				height: auto;
			}
			#services .intro {
				padding-left: 0;
				padding-right: 0;
			}
			#nav-mobile
			{
				    position: absolute;
    				top: 28px;
					right: 0;
					left: auto;
			}
				#nav-mobile > a
				{
					width: 100%;
					height: 3.125em; /* 50 */
					text-align: left;
					text-indent: -9999px;
					position: relative;
					top: -30px;
				}
					#nav-mobile > a:before,
					#nav-mobile > a:after
					{
						position: absolute;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav-mobile > a:after
					{
						top: 60%;
					}

				#nav-mobile:not( :target ) > a:first-of-type,
				#nav-mobile:target > a:last-of-type
				{
					display: block;
				}

			/* first level */

			#nav-mobile div > ul
			{
				height: auto;
				display: none;
				left: 0;
				right: 0;
				top: 27px;
				margin-left: 0;
			}
				#nav-mobile:target div > ul
				{
					display: block;
				}
				#nav-mobile div > ul > li
				{
					width: 100%;
					float: none;
				}
					#nav-mobile div > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0 0.833em; /* 20 (24) */
					}
						#nav-mobile div > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 1px solid #989898;
						}


				/* second level */

				#nav-mobile li ul
				{
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0;
				}
		}
/* end mobile nav */

/* temp admin bar hide */
#wpadminbar { display: none;}


