/*
Theme Name: TMS Worldwide
Theme URI: 
Description: 
Version: 1.0
Author: HelloMaksim SPRL
Author URI: http://www.hellomaksim.com/
*/

/** FONT */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:ital,wght@0,500;0,700;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face {
	font-family: 'PTSansNarrow';
	src: url('fonts/PTN57F_W.eot');
	src: url('fonts/PTN57F_W.eot?#iefix') format('embedded-opentype'),
		 url('fonts/PTN57F_W.woff') format('woff'),
		 url('fonts/PTN57F_W.ttf') format('truetype'),
		 url('fonts/PTN57F_W.svg#PTSansNarrow') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'PTSansNarrowBold';
	src: url('fonts/PTN77F_W.eot');
	src: url('fonts/PTN77F_W.eot?#iefix') format('embedded-opentype'),
		 url('fonts/PTN77F_W.woff') format('woff'),
		 url('fonts/PTN77F_W.ttf') format('truetype'),
		 url('fonts/PTN77F_W.svg#PTSansNarrowBold') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'PTSansNarrowBold';
	src: url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:ital,wght@0,300;0,700;1,300&display=swap');
}



/* BALISES */
* {
	margin: 0;
	padding: 0;
}
::selection {
	color: #FFF;
	background: #D7151B;
}
html, body {
	height: 100%;
}
body {
	min-width: 1230px;
	width: 100%;
	font-family: 'Noto Sans', Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 15px;
	color: var(--dark-grey);
	line-height: 1.3em;
	text-align: center;
	background: #FFF;
}
:root{
	--tms-red: #D7151B;
	--donaldson-blue: #05457a;
	--dark-grey: #333;
	--mid-grey: #636363;
	--light-grey:#c7c7c7;
}
a {
	color: var(--tms-red);
	text-decoration: underline;
}
a:hover, a:focus, a:active {
	text-decoration: none;
}
a img {
	border: none;
}
em {
	font-style: italic;
}
small {
	font-size: 0.9em;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
	color: #959595;
}
input:-moz-placeholder, textarea:-moz-placeholder {
	color: #959595;
	opacity: 1;
}
input::-moz-placeholder, textarea::-moz-placeholder {
	color: #959595;
	opacity: 1;
}
input::-ms-input-placeholder, textarea::-ms-input-placeholder {
	color: #959595;
}
input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder { 
	color: transparent;
	opacity: 0;
}
input:focus:-moz-placeholder, textarea:focus:-moz-placeholder { 
	color: transparent;
	opacity: 0;
}
input:focus::-moz-placeholder, textarea:focus::-moz-placeholder { 
	color: transparent;
	opacity: 0;
}
input:focus::-ms-input-placeholder, textarea:focus::-ms-input-placeholder { 
	color: transparent;
	opacity: 0;
}
form {
	width: 500px;
	margin: 0 0 1em 0;
	border: none;
}
form > p {
	margin: 0 0 1.5em;
}
label {
	display: block;
	margin: 0 0 5px 0;
	line-height: 1em;
}
input, select, textarea {
	max-width: 500px;
	padding: 0 20px;
	color: /*#636363;*/ var(--dark-grey);
	font-family: PTSansNarrow, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 18px;
	vertical-align: middle;
	background: #FFF;
	border: 1px solid #C0C0C0;
	outline: none;
}
input:focus, select:focus, textarea:focus {
	border-color: #D7151B;
}
input, select {
	width: 458px;
	height: 47px;
}
input, textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
textarea {
	width: 458px;
	padding: 13px 20px;
	line-height: 1.5em;
}
input[type="submit"] {
	display: inline-block;
	width: auto;
	height: auto;
	padding: 10px 25px;
	font-family: PTSansNarrowBold, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 17px;
	color: #FFF;
	text-transform: uppercase;
	cursor: pointer;
	background: #D6151B;
	border: none;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
input[type="submit"]:hover {
	text-decoration: underline;
}
input[type="file"] {
	width: 460px;
	border: none;
}
input[type="checkbox"] {
	width: auto;
	height: auto;
	padding: 0;
	border: none;
}
select {
	width: 500px;
	padding: 0 20px;
	background: #FFF;
}
option {
	color: #595959;
	background: #FFF;
}
ul {
	margin: 0 0 1em 0;
	list-style: disc;
	list-style-position: inside;
}
ul li {
	padding: 0 0 0 13px;
	margin: 0 0 0.6em 0;
}
ol {
	margin: 0 0 1em 0;
	list-style-position: inside;
}
ol li {
	margin: 0 0 0.6em 0;
}
abbr, acronym {
	border-bottom: 1px dashed #5F5F5F;
	cursor: help;
}
blockquote {
	margin: 0 1em 1em 1em;
	padding: 0.6em 1em;
	font-size: 1.1em;
	color: #738FC9;
	font-style: italic;
	border: 1px solid #738FC9;
	background: #FFF;
}
blockquote p {
	margin: 0;
}
p {
	margin: 0 0 1.5em 0;
}
table {
	margin: 1em auto;
	border-spacing: 0;
}
td {
	vertical-align: top;
}
hr {
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	border: none;
}
h1 {
	margin: 0 0 16px 0;
	font-family: 'Noto Sans', Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 72px;
	font-weight: normal;
	line-height: 1em;
	color: /*#636363*/var(--dark-grey);
}
h2 {
	width: 100%;
	margin: 0 0 1.2em 0;
	font-family: 'Noto Sans', Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 47px;
	font-weight: normal;
	line-height: 57px;
	color: /*#636363*/var(--dark-grey);
	/*background: url('img/bg_title_h2.png') repeat-x 0 bottom;*/
}
h2 > span {
	padding: 0 32px 0 0;
	background: #F5F5F5;
}
h3 {
	margin: 1.3em 0 0.7em 0;
	font-family: 'Noto Sans', Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 30px;
	font-weight: normal;
	line-height: 1.33em;
	color: /*#636363*/var(--dark-grey);
}
h3:first-child {
	margin-top: 0;
}
h4 {
	margin: 0 0 0.2em 0;
	font-family: 'Noto Sans', Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 28px;
	font-weight: bold;
	line-height: 1.33em;
	color: var(--tms-red);
}
/** CONTAINER */
#container {
	position: relative;
	width: 100%;
	min-height: 100%;
	margin: 0 auto;
	text-align: left;
	background: #FFF;
}

/** HEADER */
#header_wrapper {
	width: 100%;
	background: var(--tms-red);
}
#header {
	position: relative;
	width: 1230px;
	height: 112px;
	margin: 0 auto;
}
#logo {
	display: block;
	width: 233px;
	height: 112px;
	margin-left: 75px;
}
#slogan {
	position: absolute;
	top: 40px;
	right: 30px;
}

/** NAV */
#header_wrapper.home {
    height: 45px;
}
#header_wrapper.home > *{
display: none;
}
#nav_wrapper {
	width: 100%;
	border-top: solid 3px red;
    height:115px;
}

#nav_wrapper a img {
    border: none;
    height: 100%;
}

#nav_wrapper.sticky {
    position: fixed;
    top: 0;
	border-bottom: 1px solid rgba(0,0,0,0.5);
	box-shadow:  3px 3px 5px 6px rgba(0,0,0,0.5);
}

#nav_wrapper.sticky,
#nav_wrapper.sticky #nav_container{
    height:90px;
}
#nav_wrapper.sticky #logo {
    transform: scale(0.75);
}
#nav_container {
	position: relative;
	width: 100%;
	height: 80px;
	margin: 0 auto;
}
#nav {
	position: absolute;
	top: -6px;
	right: 0;
	margin: 0 75px 0 0;
	list-style: none;
	z-index: 15;
}
#nav .menu-item {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	background: none;
	z-index: 1;
}
#nav > .menu-item > a {
	position: relative;
	display: block;
	height: 74px;
	padding: 0 20px 6px 20px;
	font-family: PTSansNarrow, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 20px;
	line-height: 80px;
	color: #4B4B4B;
	text-transform: uppercase;
	text-decoration: none;
	background: #FFF;
	border-top: 6px solid #959595;
	z-index: 3;
	-webkit-transition: background-image 0.25s ease;
	-moz-transition: background-image 0.25s ease;
	transition: background-image 0.25s ease;
}
#nav > .menu-item > a:hover {
	color: #D5151B;
	border-color: #D7151B;
}
#nav .current_page_item > a, #nav .current_page_parent > a {
	color: #D5151B;
	text-decoration: underline;
	border-color: #D7151B;
}
#nav .current_page_item:hover > a, #nav .current_page_parent:hover > a {
	color: #D5151B;
	border-color: #D7151B;
}
#nav .menu-item-has-children > a {
	z-index: 4;
}
#nav .menu-item-has-children:hover > a {
	color: #D5151B;
	border-color: #D7151B;
	background: #FFF url('img/sprite.png') no-repeat 11px 75px;
}
#nav .menu-item-has-children:hover .sub-menu {
	top: 86px;
	visibility: visible;
	opacity: 1;
}
#nav .sub-menu {
	position: absolute;
	top: -20px;
	left: 0;
	margin: 0;
	padding: 10px 20px;
	background: #D7151B;
	list-style: none;
	z-index: 2;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	transition: all 0.25s ease;
}
#nav .sub-menu .menu-item {
	float: none;
	margin: 0;
	background: #D7151B;
}
#nav .sub-menu a {
	display: block;
	min-width: 140px;
	height: 39px;
	margin: 0;
	padding: 0;
	font-family: PTSansNarrow, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 18px;
	line-height: 39px;
	color: #FFF;
	white-space: nowrap;
	text-decoration: none;
	border-bottom: 1px solid #E35B5F;
	background: #D7151B;
}
#nav .sub-menu .current_page_item a, #nav .sub-menu a:hover {
	text-decoration: underline;
	border-bottom: 1px solid #E35B5F;
}
#nav .sub-menu .menu-item:last-child a {
	border: none;
}

/** SLIDER */
#slider {
	background: #F5F5F5;
}
#slider-container {
	position: relative;
	width: 1100px;
	height: 464px;
	margin: 0 auto;
}
#slider-prev, #slider-next {
	position: absolute;
	top: 204px;
	width: 30px;
	height: 55px;
	text-decoration: none;
	text-indent: -9999px;
	cursor: pointer;
	background: url('img/sprite.png') no-repeat 0 -10px;
}
#slider-prev {
	left: -80px;
}
#slider-next {
	right: -80px;
	background-position: -30px -10px;
}
#slides, #slides_js {
	position: relative;
	list-style: none;
	overflow: hidden;
	width: 1100px;
	height: 464px;
	padding: 0;
	margin: 0 auto;
}
.slide {
	position: relative;
	display: none;
	width: 1100px;
	height: 464px;
}
.slide:first-child {
	display: block;
}
.slide img {
	display: block;
	float: right;
	width: auto;
	height: 464px;
	margin: 0 0 0 60px;
	border: 0;
}
.slide_content {
	font-family: PTSansNarrow, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 25px;
	line-height: 1.3em;
	color: #7D7D7D;
	z-index: 9;
}
.slide_content h2 {
	margin: 1em 0 0.3em 0;
	/*line-height: 1em;
	font-family: PTSansNarrow, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 74px;
	color: #7D7D7D;*/
	background: transparent;
}
.slide_content h2 > span {
	padding: 0;
	background: transparent;
}
.slide_content h3 {
	margin: 1em 0 0.3em 0;
	background: transparent;
}
.slide_content p {
	margin: 0 0 1.3em 0;
}
.slide_content a {
	padding: 10px 25px;
	font-family: PTSansNarrowBold, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 17px;
	color: #FFF;
	text-transform: uppercase;
	text-decoration: none;
	background: #D6151B;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
.slide_content a:hover {
	text-decoration: underline;
}

/** BREADCRUMB */
#breadcrumb_wrapper {
	width: 100%;
	height: 65px;
	background: #8B8B8B;
	    background: #D7151B;
    border-top: 6px solid #959595;
    border-bottom: 6px solid #959595;
}
#breadcrumb {
	width: 1030px;
	margin: 0 auto;
	padding: 0 70px;
	line-height: 60px;
	font-family: PTSansNarrow, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 30px;
	color: #FFF;
	/*border-bottom: 36px solid #F5F5F5;*/
}

/** NEWS BANNER */
#news_banner_wrapper {
	width: 100%;
	margin: 0 0 70px 0;
	background: #8B8B8B;
}
#news_banner {
	width: 1170px;
	height: 134px;
	margin: 0 auto;
	font-family: PTSansNarrow, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	color: #FFF;
}
#news_banner > span {
	float: left;
	font-size: 65px;
	line-height: 134px;
}
#news_banner_content {
	max-width: 830px;
	margin: 0 0 0 180px;
	font-size: 35px;
	line-height: 148px;
}
#news_banner_link {
	float: right;
	margin: 44px 0;
	padding: 10px 40px;
	font-family: PTSansNarrowBold, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 17px;
	color: #8B8B8B;
	text-transform: uppercase;
	text-decoration: none;
	background: #FFF;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#news_banner_link:hover {
	text-decoration: underline;
}

/** MAIN */
#main {
	position: relative;
	width: 1170px;
	margin: 0 auto;
	padding: 0 0 100px 0;
}

/** CONTENT */
#content {
	width: 1030px;
	margin: 0 auto 0 auto;
	padding: 25px 70px 50px 70px;
	/*background: #F5F5F5;*/
	border-bottom: 6px solid #959595;
}
#content.full-width{
	width: 100%;
	box-sizing: border-box;
}
#content a {
	color: #636363;
}
#content a.more-link {
	color: #FFF;
}
#content img {
	max-width: 1030px;
}
#content .big-title > span {
	background: #F5F5F5;
}
#content form {
	float: left;
	margin: 0 70px 0 0;
}

/** BOX */
.box {
	display: table-cell;
	width: 370px;
	padding: 0 30px 0 0;
	vertical-align: top;
}
.box:last-child {
	padding: 0;
}
.box-inner {
	display: inline-block;
	height: 100%;
	color: #636363;
	text-decoration: none;
	background: #F5F5F5;
	border-bottom: 6px solid #959595;
	vertical-align: top;
}
.box-inner:hover, .box-inner:active, .box-inner:focus {
	border-color: #D7151B;
}
.box p {
	margin: 0;
}
.box-img {
	position: relative;
	width: 370px;
	height: 230px;
	background: #FFF;
	text-align: center;
	line-height: 230px;
}
.box-img > img {
	max-width: 370px;
	max-height: 230px;
	vertical-align: middle;
}
.box-content {
	padding: 30px 25px 50px 25px;
}
.box .title {
	display: block;
	margin: 0 0 0.5em 0;
	line-height: 1.33em;
	font-size: 38px;
	color: #D7151B;
}

/** BRANDS */
.brands {
	float: left;
	width: 370px;
	margin: 0 45px 0 0;
}
.brands > img {
	display: block;
	margin: 0 0 40px 0;
}

/** NEWS */
.news {
	margin: 0 0 2em 0;
	padding: 0 0 2em 0;
	border-bottom: 1px solid #D5D5D5;
}
.news:last-child {
	margin: 0;
	padding: 0;
	border: none;
}
.news-img {
	float: left;
	position: relative;
	width: 370px;
	height: 230px;
	background: #FFF;
	text-align: center;
	line-height: 230px;
}
.news-img > img {
	max-width: 370px;
	max-height: 230px;
	vertical-align: middle;
}
.news-body {
	margin: 0 0 0 410px;
}
.news-body p {
	margin: 0 0 1em 0;
}
.news-body p:last-child {
	margin: 0;
}
.news-body h4 {
	margin: 0 0 0.6em 0;
	line-height: 1em;
}
.news-date {
	margin: 0 0 0.6em 0;
	font-family: PTSansNarrowBold, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
}

/** AGENCIES */
h2.agency, h3.agency {
	    text-transform: uppercase;
}
h3.agency {
	color: #D5151B;
}
h2.agency, h3.agency, h4.agency {
	text-align: center;
	margin: 0;
	padding: 40px 0;
}


.agency.wp-block-media-text,.pgmm{
	padding: 40px 0px;
}

.agencies {
	text-align: center;
/*	margin: 45px 0 0 0;*/
}
.agencies .agency {
	display: inline-block;
	width: 320px;
	margin: 0 35px 45px 0;
	vertical-align: top;
}
/*.agencies .agency:nth-child(3n) {
	margin-right: 0;
}*/
.agency.wp-block-media-text{
	
}

.agencies .agency.headquarter {
	background-color: white;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    /*border: solid 1px #777777;*/
    border-radius: 5px;
    vertical-align: top;
    display: inline-block;
    width: calc(50% - 10px);
    height: 280px;
    margin-right: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.agencies .agency.headquarter:nth-child(2n+0) {
    margin-right: 0;
}

.agencies .agency.office {
background-color: white;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    /*border: solid 1px #777777;*/
    border-radius: 5px;
    vertical-align: top;
    display: inline-block;
    width: 280px;
    height: 180px;
    margin-right: 20px;
    margin-bottom: 40px;
    text-align: left;
    padding: 10px 25px;
}
.agencies .agency.office:nth-child(3n+0) {
    margin-right: 0;
}


.agencies.language {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	
    height: 100%;
    margin-right: 0;
    margin-bottom: 20px;
}

.agencies.language .language {
	flex: 0 0 20%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	margin: 0
}

.agencies .language .flag-icon {
    width: 79px;
    height: 59px;
	border: solid 0.5px rgba(0,0,0,0.2);
}

.agencies .agency-thumbmail {
	float:left;
	padding-right: 20px;
}
.agencies .agency-thumbmail img {
	width:250px;
	height:280px;
}

/** FOOTER */
#footer_wrapper {
	width: 100%;
	background: #363839;
	border-bottom: 6px solid #959595;
}
#footer {
	width: 1170px;
	margin: 0 auto;
	padding: 50px 0;
	font-size: medium;
	color: #FFF;
}
#footer h4 {
	margin: 0 0 25px 0;
	font-size: 40px;
	line-height: 1em;
	color: #FFF;
}
#footer a {
	color: #FFF;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#footer li {
	margin: 0;
	padding: 0;
}
#footer .col {
	display: inline-block;
	width: 370px;
	margin: 0 30px 0 0;
	vertical-align: top;
}
#footer .col.last {
	margin: 0;
}

/** COPYRIGHT */
#copyright {
	position: relative;
	width: 1170px;
	margin: 0 auto;
	padding: 39px 0;
	font-size: smaller;
	line-height: 1em;
}
#copyright a {
	color: #636363;
	text-decoration: none;
}
#copyright a:hover {
	text-decoration: underline;
}
#copyright span {
	padding: 0 8px;
	color: #D7151B;
}
#copyright ul, #copyright li {
	display: inline;
	margin: 0;
	padding: 0;
	list-style: none;
}
#copyright li {
	display: inline-block;
}
#to_top {
	position: absolute;
	top: 41px;
	right: 0;
	width: 26px;
	height: 16px;
	text-indent: -9999px;
	background: url('img/sprite.png') no-repeat 0 -70px;
}

/** CLASSES */
img.alignnone {
	display: block;
	margin: 0 0 2.3em 0;
}
.alignleft {
	clear: both;
	display: block;
	float: left;
}
img.alignleft {
	margin: 0 45px 40px 0;	
}
.alignright {
	clear: both;
	display: block;
	float: right;
}
img.alignright {
	margin: 0 0 40px 45px;	
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
img.aligncenter {
	margin: 0 auto 1.9em auto;
}
a.more-link {
	padding: 10px 25px;
	line-height: 46px;
	font-family: PTSansNarrowBold, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 17px;
	color: #FFF;
	text-transform: uppercase;
	text-decoration: none;
	background: #D6151B;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
a.more-link:hover {
	text-decoration: underline;
}
.big-title {
	width: 100%;
	margin: 3em auto 2em auto;
	text-align: center;
	background: url('img/bg_title_h2.png') repeat-x 0 bottom;
}
.big-title > span {
	padding: 0 30px;
	font-family: PTSansNarrow, Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
	font-size: 45px;
	line-height: 55px;
	color: #413B35;
	text-align: center;
	background: #FFF;
}
.helper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

/** Google Maps */
.gm-style-iw p {
	margin: 0;
	line-height: 1.5em;
}
.gm-style-iw .title {
	margin: 0 0 0.5em 0;
	font-size: 1.2em;
	font-weight: bold;
	color: #D5151B;
}

/*
	AnythingSlider v1.8+ Default theme
	By Chris Coyier: http://css-tricks.com
	with major improvements by Doug Neiner: http://pixelgraphics.us/
	based on work by Remy Sharp: http://jqueryfordesigners.com/
*/
/* Overall Wrapper */
.anythingSlider {
	display: block;
	overflow: visible !important;
	position: relative;
	/* Prevent FOUC (see FAQ page) and keep things readable if javascript is disabled */
	overflow-y: auto;
	overflow-x: hidden;
}
/* anythingSlider viewport window */
.anythingSlider .anythingWindow {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
}
/* anythingSlider base (original element) */
.anythingSlider .anythingBase {
	background: transparent;
	list-style: none;
	position: absolute;
	overflow: visible !important;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
}
/* all panels inside the slider; horizontal mode */
.anythingSlider .panel {
	background: transparent;
	display: block;
	overflow: hidden;
	float: left;
	padding: 0;
	margin: 0;
}

:root{
	--home-carousel-height:500px;
}
.wp-block-embed-youtube {
	text-align:center;
}

span.material-icons {
	vertical-align: bottom;
}

#breadcrumb_wrapper{
	display: none;
}

#container {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

#content {
	flex-grow: 1;
	border-bottom: none;
}


#content img{
	max-width: 100%;
}

h2 > span {
    background: initial;
	  padding: 0;
}

.pum-container.popmake.theme-499  {
	max-width: 320px!important;
}

#footer_wrapper {
	border-bottom: none;
}
#footer {
	text-align: left;
	padding: 50px 0 5px;
}


#copyright_wrapper {
	width: 100%;
	/*background-color :#A31015;*/
	background-color : #D7151B;
	color: white;
}


#copyright_wrapper a{
	color: white;
}

#copyright {
	padding: 5px 0;
	text-align: left;
}

#copyright span {
	color: white;
}

#copyright #to_top{
	top: 5px;
	height: 10px;
}
span
span.material-icons{
	vertical-align: top;
}

/*--#agency*/
h2.agency {
	padding-bottom: 0;
}

h4.agency{
	padding-top: 0;
	padding-bottom:0;
	margin-bottom: 50px;
}

.agencies .agency.office {
	height: 180px;
}

.agencies .agency.headquarter{
	padding: 15px 10px 25px;
	width: calc(50% - 40px);
	height: 200px;
}
.agencies .agency.headquarter .flex{
	vertical-align:top;
	display: flex;
	padding: 0 10px;
	justify-content: space-between;
	align-items: flex-end;
}
.agencies .agency.headquarter .inline{
	vertical-align:top;
	display:inline-block;
}
.agency.wp-block-media-text, .pgmm{
	padding: 0;
}
h4.agency, H2.agency {
	display: block;
}

/*#legend*/
ul.legend {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 5px 30px;
	border:solid 3px #f2f2f2;
	border-top: none;
	box-shadow:0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}
ul.legend li{
	margin:0;
	font-size: smaller
}
ul.legend li img,
ul.legend li span{
	width:20px;
	vertical-align: sub;
}
.legend span{
	display:inline-block;
	height: 20px;
	width: 20px;
	border-radius:50%;
	vertical-align:bottom;
}
.legend span.red-heavy{
	background-color:#da5355;
}

.legend span.red-light{
	background-color:#de9091;
}
p:empty{
	margin:0!important;
	height:0;
}
.no-margin{
	margin:0;
}
.margin-0-auto{
	margin: 0 auto;
}
.width-1070{
	width: 1070px;
}
hr.wp-block-separator{
	margin: 50px 0;
}

.max-width-1070{
	max-width: 1070px;
}

/**HOME HEADER**/
	#header_wrapper.home{
	display: none;
		position: fixed;
		top:0;
		z-index:+100;
	}
		
#nav_wrapper.home{	
	background-color: white;			
	z-index:+10;		
}

.fading-home-image{
	position:fixed;
	top: 110px;
	width: 100%;
}
.fading-home-image h1{
	position:absolute;
	top: 110px;
	padding:  0 75px;
	color:White;
}
.fading-home-image img{
	width: 100%;
	height: auto;
}
#main_wrapper{
	background-color: #fff;
	flex-grow:1;
	z-index: +1;
	box-sizing: content-box;
	max-width: calc(100vw);
	overflow: hidden;
}

#main_wrapper #main {
	margin: 0!important;
	width: 100%!important;
	padding: 0;
}
#main .h2-group, #main h2{
	margin-top: 75px;
	text-transform: uppercase;
}
#main .h2-group h2{
	margin-top: 0;
}
#main .section{
	max-width: 100%;
	width: calc(100% - 60px)!important;
}
#main .section.contained > .premium-container__content_wrap{
	max-width: 1070px!important;
}
#main > *{
	max-width: calc(100%);
}
#main p{
	margin-top: 50px;
	/*font-size: 2rem;*/
}

#main  {
	box-sizing: border-box;
}

.home #nav {
	top: unset;
	bottom:0;
}
.home #nav_container {
	height:auto;
}
.home #nav .menu-item a {
	border-top: none;
}
/**HOME HEADER**/
/*----.partners*/
.partners{
	box-sizing: border-box;
	margin: 0 auto 0;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1070px;
	width: 100%;
	height: 300px;
	text-align: center;
}

 .partners .partner {
	display: flex;
	align-items: center;
	border: 1px solid #e7e7e7;
	padding: 10px;
	margin: 0 20px;
	height: 160px;
	width: 180px;
}
.partners .partner a{
		
		padding:5px;
}
.partners .partner img{
		
		//border-radius: 50%;
		background-color:white;
	  width:100%;
	  height:auto;
}

/*--- partners*/
/*--- main why choose us*/
.fullwidth .premium-container__content_wrap.premium-container__top, .premium-container__top .premium-container__content_inner > .wp-block-columns.strong-points {
    align-items: flex-end;
}
.strong-points.wp-block-columns p {
    margin: 0;
		padding: 10px;
}

.strong-points.wp-block-columns .wp-block-column:before {
    content: '-';
		display:inline-block;/*
		float: left;
		width: 25px;
		height: 45px;
		background-color: red;*/
		color: transparent;
}

#main .strong-points.wp-block-columns p {
    margin: 0;
		padding: 0 0 15px 10px;
	   margin: 10px 40px 0;
		--border-bottom: 2px solid;
}

.strong-points .wp-block-column {
	   padding-top: 20px;

}

@media (min-width: 782px){
.strong-points.wp-block-columns {
     flex-wrap: wrap; 
}
.strong-points .wp-block-column {
    flex-basis: 50%;
    flex-grow: 1;
	flex-shrink : 1;
}
.strong-points .wp-block-column:not(:first-child) {
    margin-left: 0;
}
}
/*--- main why choose us*/

.bg-off-white {
	background-color: #E7E7E7
}

.agencies.language .language{
	flex-basis:12%;
	will-change: scale;
}
.agency.language:hover{
	transition: transform .2s;
	transform: scale(1.4);
}

.relative {
	position: relative;
}
.max-height-300{
	max-height: 300px;
}

.wp-block-pullquote.no-border{
	padding: 0;
}
.wp-block-pullquote.no-border blockquote{
	border: none;
}
.premium-banner .premium-banner__inner{
	margin: 0 0 5px;
}
p.max-width-600{
	max-width: 600px;
	margin: 0 auto 2rem;
}
h2.thin-margin{
	margin-bottom: 1.5rem;
}


.border-box, 
.border-box * {
	box-sizing: border-box;
}

.p-0{
	padding: 0!important;
}
.m-0 {
	margin: 0!important;
}
.w-100{
	width: 100%;
}
blockquote p{
	margin-top: 0;
}

.fullwidth .no-limit .premium-container__content_inner{
	max-width: unset;
}
.fullwidth .premium-container__content_inner{
	max-width: 1170px;
}

.fullwidth .premium-container__content_wrap.premium-container__top, .premium-container__top .premium-container__content_inner > .wp-block-columns {
	justify-content: center;
}
.h-500p{
	height: 500px;
}

.icon-tall{
	font-size: 50px;
}
.icon-blue{
	color: #6ec1e4;
}
.icon-red{
	color:#D5151B;
}

/* MetaSlider */

#metaslider-id-1124 {
	--slider-height: /*calc(100vh - 310px);*/500px;
	height: var(--slider-height);
}
#metaslider-id-1124 li.ms-image {
	height: var(--slider-height);/* calc(100% - 274px);*/
}
#metaslider-id-1124 li.ms-image img {
	/*height: auto;
    width: 100%;
    max-height: 500px;*/
    /*object-fit: fill;
	aspect-ratio: 21/9;*/
	height: 100%;
	width: 100%;
	object-fit: cover;
}

#metaslider-id-1124 .caption-wrap {
	position: absolute;
    bottom: 250px;
    right: 0;
	color: white;
    background-color: transparent;
    width: 450px;
	opacity:1;
}

#metaslider-id-1124 .caption-wrap .caption{
	font-size: 2rem;
    line-height: 2rem;
    padding: 20px 30px 65px 30px;
    text-align: left;
	font-weight: bolder;
}

/**SLIDE Mine**/
#metaslider-id-1124 li.ms-image img.slide-1203 {
    object-position: left center;
}
#metaslider-id-1124 .slide-1203 .caption-wrap {
    top: 270px;
    left: 100px;
}

/**SLIDE MISSION**/
#metaslider-id-1124 li.ms-image img.slide-1131 {
	object-position: center bottom;
}
#metaslider-id-1124 .slide-1131 .caption-wrap {
    top: 140px;
    left: 160px;
}

/**SLIDE MAP**/
#metaslider-id-1124 li.ms-image img.slide-1127{
    object-position: center center;
}
#metaslider-id-1124 .slide-1127 .caption-wrap {
    top: 300px;
    left: 120px;
	color: #4B4B4B;
}

/**SLIDE G5**/
#metaslider-id-1124 li.ms-image img.slide-1125 {
    object-position: center top;
}
#metaslider-id-1124 .slide-1125 .caption-wrap {
	top: 280px;
    left: 260px;
	width: 390px;
}
/*PAGE HOME*/
p.presentation {
	font-size: 2em;
	line-height: initial;
}
#main .wp-block-column p.presentation:first-child{
margin-top:0;	
}
/* PAGE ABOUT US*/
blockquote.wp-block-quote.about-us-quote {
    color: var(--tms-red);
    border: none;
    border-left: solid 7px var(--tms-red);
    font-weight: bold;
    font-size: larger;
}
blockquote.wp-block-quote.about-us-bullet-point{
	color: var(--tms-red);
    border: none;
    font-weight: bold;
    font-size: larger;
}
ul.red li::marker {
	color: red;
}
ul.red li ul li::marker{
	content:'';
}
ul.red li ul li:first-child{
	margin-top:10px;
}
/* PAGE BRANDS */

.page-brands pre {
	font-family: 'Noto Sans', Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
    font-size: x-large;
    line-height: initial;
	text-align: center;
	margin-top: 35px;
}

#content.page-brands pre a {
	color: var(--tms-red);
}

.page-brands blockquote.wp-block-quote{
    color: var(--tms-red);
    border: none;
    border-left: solid 7px var(--tms-red);
    font-weight: bold;
    font-size: larger;
}

.pt-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: transparent;
  width:100%;
  overflow:hidden;
}
.pt-list * {
  box-sizing: border-box;
}
.pt-list .pt {
  flex: 1 1 33%;
  min-width: 350px;
  max-width: 30vw;
  padding: 15px;
  background: transparent;
  position: relative;
}
@media screen and (max-width: 1240px) { 
.pt-list .pt {
  flex-basis: 500px!important;
}
}

.pt-list .pt__img-wrap {
  background: transparent;
}
.pt-list .pt__img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.pt-list .pt__desc-wrap {
  --title-height: 55px;
  position: absolute;
  transition: height 0.5s ease 0s;
  top: auto;
  height: calc(var(--title-height) + 15px);
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.4);
  margin: 15px;
}
@media screen and (max-width: 1360px) { 
.pt-list .pt__desc-wrap {
  --title-height: 65px;
}
}
.pt-list .pt__desc-wrap-title {
  text-align: right;
  margin: 0 15px;
  height: var(--title-height);
}
.pt-list .pt__desc-wrap-title h3 {
  color: white;
  font-weight: bolder;
  font-size: 1.5em;
  margin: 10px 15px;
  text-transform:uppercase;
}
.pt-list .pt__desc-wrap-content {
  visibility: hidden;
  height: 0;
  transition-property: height, visibility;
  transition-duration: 0.5s;
  background: white;
  margin: 0 0 15px;
  border-top: inset 3px yellow;
  padding: 15px ;
}
.pt-list .pt:hover .pt__desc-wrap {
  height: calc(75% - 30px);
}
.pt-list .pt:hover .pt__desc-wrap-title h3 {
  color: red;
}
.pt-list .pt:hover .pt__desc-wrap-content {
  height: calc(100% - var(--title-height));
  visibility: visible;
  border-bottom: solid 1px black;
}

.page-mtg pre,
.page-donaldson pre {
	font-family: 'Noto Sans', Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
    font-size: x-large;
    line-height: initial;
}
/* PAGE DONALDSON */
.page-donaldson h4 {
	color: #05457a;
}
.page-donaldson a {
	color: #05457a;
}


/* PAGE MTG */
.page-mtg{
	box-sizing: border-box;
}
#slider_1429 ul.slides li{
	display: flex!important;
	flex-direction: column;
	height: 800px;
}

#slider_1429 ul.slides li > * {
	flex: 1 1 0;
}

#slider_1429 ul.slides li.ms-image > a{
	pointer-events: none;
	cursor: default;
	min-height:600px;
}
#slider_1429 ul.slides li.ms-image > a img{
	object-fit: contain;
}

#slider_1429 .caption-wrap{
	position: relative;
	background: white;
	opacity: 1;
	display: block;
	height: 200px;
}

#slider_1429 .caption{
	text-align: left;
}

#slider_1429 a{
	color: #202020;
    transition: .2s;
	text-decoration: none;
    background-color: transparent;
}


#slider_1429 .caption .dash-line{
    margin: 15px 0;
    left: 0;
    transform: unset;	
	content: '';
    width: 60px;
    height: 3px;
    background: #cd003a;
    text-align: center;
    position: relative;
}

#slider_1429 .caption .fa.fa-plus {
    text-align: center;
    margin-right: .5em;
    transition: border-color .2s;
}

#slider_1429 .caption p.mtg-card-information {
    color: black;
    font-size: 15px;
    min-height: 70px;
}

.max-height-300{
width: 100%;
max-height: 450px;
height: 450px;
}

.max-height-300 img{
width: auto!important;
max-height: 450px!important;
height: 100%;
}
.padded {
	padding: 0 3rem;
}
.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.max-width-1070 {
    max-width: 1070px;
    margin-left: auto;
    margin-right: auto;
}
.h-auto img{
	height:auto;
}
p.small-note {
	    font-size: smaller;
    margin-top: 15px;
	padding-left:15px;

}
#content{
	margin-top: 137px;
}
#nav_wrapper {
	position: fixed;
}

.bsbb {
box-sizing: border-box;	
}

.mtg-card {
	border-right: 1px solid rgba(0,0,0,0.3);
	text-align: left;
}
