/*
Theme Name: Marshal
Theme URI:
Author: Credence
Author URI: http://credencepartners.com
Description:
Version: 1.0
License:
License URI:
*/

/* Webflow to Wordpress conversion overrides */
a {
  cursor: pointer;
}
a[href='#'],
a:not([href]) {
  cursor: default;
}
.navlink a {
  color: inherit;
}
.navlink.sublink:hover {
  color: #ccc;
}
.navlink:hover .submenu {
  display: block;
}
body.admin-bar .header-wrap {
  margin-top: 32px;
}

#lang_sel_list {
  height: auto;
  font: inherit;
  z-index: inherit;
}
#lang_sel_list a {
  padding: 0;
}
#lang_sel_list a:hover {
  color: #e41f3c;
}
#lang_sel_list .lang_sel_sel {
  display: none;
}

/* Custom styles from Webflow project */
html, body {
  overflow-x: hidden;
}
html.noscroll,
html.noscroll body {
  overflow-y: hidden;
}
select {
  -moz-appearance: window;
  -webkit-appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
}
select::-ms-expand {
  display: none;
}
/* Webflow Overrides */
.w-input:focus, .w-select:focus {
  border-color: #333;
  outline: 0;
}
.w-dropdown-link {
  white-space: normal;
}
/* Selection */
::selection { background: #eee; }
::-moz-selection { background: #eee; }
input:focus { outline:none; }
.noselect { /* http://stackoverflow.com/a/4407335 */
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Scrollbar */
::-webkit-scrollbar{width:5px;height:5px;}
::-webkit-scrollbar-thumb{background-color:#666; border-radius: 5;}
::-webkit-scrollbar-thumb:hover{background-color:#666;}
::-webkit-scrollbar-track{background-color:#ededed;}
/* Custom radio & checkbox */
.w-checkbox, .w-radio { padding-left: 0; }
.w-checkbox input, .w-radio input { display: none; }
.w-checkbox input + label,
.w-radio input + label {
  padding-left: 26px;
  line-height: 14px;
  font-size: inherit;
  background-position: 0 -100px;
  background-repeat: no-repeat;
  background-size: 14px;
}
.w-radio input:checked + label { background-position: 0 0; }
.w-checkbox input + label { background-position: 0 -300px; }
.w-checkbox input:checked + label { background-position: 0 -200px; }
.form-field .w-checkbox, 
.form-field .w-radio {
  display: inline-block;
  margin-right: 20px;
}
.w-radio.inline-radio,
.w-checkbox.inline-radio {
  display: inline-block;
}
.w-radio label,
.w-checkbox label {
  text-transform: initial;
  letter-spacing: initial;
}
.w-input, .w-select {
  font-size: inherit;
  font-weight: 400;
  color: inherit;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-size: inherit;
  font-weight: 300;
  color: #ddd;
}
::-moz-placeholder { /* Firefox 19+ */
  font-size: inherit;
  font-weight: 300;
  color: #ddd;
}
:-ms-input-placeholder { /* IE 10+ */
  font-size: inherit;
  font-weight: 300;
  color: #ddd;
}
:-moz-placeholder { /* Firefox 18- */
  font-size: inherit;
  font-weight: 300;
  color: #ddd;
}
#map div[style*="ltr"] { display: none !important; }
.has-submenu:hover .submenu {
  display: block !important;
}
.langlink.navitem,
.search.navitem {
  border: none;
}
.frm_required,
.frm_error {
  color: #e41f3c;
}
/* ===== BEGIN <=940px ===== */
@media screen and (max-width: 991px) {
  .footer-top a {
    color: #e41733 !important;
  }
}
/* ===== BEGIN <=767px ===== */
@media screen and (max-width: 767px) {
}
/* ===== BEGIN <=479px ===== */
@media screen and (max-width: 479px) {
}

/* ===== FOOTER ===== */
:after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
section {
  padding-left: 20px;
  padding-right: 20px;
}
.w-container {
  max-width: 1306px;
}
.nowrap, *[class$=track] {
  white-space: nowrap;
}
.w-radio {
  display: block;
  margin-bottom: 10px;
}
.w-slider-nav-invert .w-slider-dot,
.w-slider-dot {
  width: 16px;
  height: 16px;
  background: none;
  border: 1px solid #e41f3c;
}
.w-slider-nav-invert .w-slider-dot {
  border-color: #666;
}
.w-slider-nav-invert .w-slider-dot.w-active,
.w-slider-dot.w-active {
  border-color: #e41f3c;
  background: none;
}
.w-slider-dot.w-active:before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e41f3c;
}
.home-ps-slider-nav .w-slider-dot,
.home-ps-slider-nav .w-slider-dot.w-active {
  border-color: white;
}
.home-ps-slider-nav .w-slider-dot.w-active:before {
  background: white;
}
.navitem.open .submenu {
  display: block;
}
.w-slider-arrow-left:hover .slidericon,
.w-slider-arrow-right:hover .slidericon {
  background-color: #00aeef;
}
.cat-item.open .cat-item-header {
  color: white;
  background: #e41733;
}
.cat-item.open .cat-item-icon {
  background-position: center bottom;
}
.news-item:nth-child(even),
.career-item:nth-child(even),
.countries > section:nth-child(even) {
  background: #ebebeb;
}
.home-ps-icon-wrap:after {
  content: '';
  pointer-events: none;
  position: absolute;
	top: 0;
  left: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: -1;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
  opacity: 0;
}
.home-ps-icon-wrap:hover:after {
  -webkit-animation: sonarEffect 1.3s ease-out 75ms;
  -moz-animation: sonarEffect 1.3s ease-out 75ms;
  animation: sonarEffect 1.3s ease-out 75ms;
}
.search-wrap ~ * {
  opacity: 1;
  transition: 0.3s opacity ease;
}
.search-wrap.opensearch ~ * {
  opacity: 0;
}
.blip {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
  border: 1px solid #E32425;
  animation: blip 2s infinite;
  border-radius: 200%;
}
.blip + .blip {
  animation-delay: .35s;
}
@media screen and (min-width: 1280px) {
}
@media screen and (min-width: 992px) {
  .navitem-link:after {
    content: "";
    position: absolute;
    width: 0px;
    height: 2px;
    background-color: #e41733;
    bottom: -2px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0;
    -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    -moz-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
  }
  .navitem-link:hover:after {
    opacity: 1;
    width: 100%;
  }
  .navitem.langlink .navitem-link:after,
  .navitem.search .navitem-link:after {
    display: none;
  }
  .navitem.langlink {
    margin-right: 15px;
  }
  .navitem.search {
    margin-left: 0;
  }
  .button {
    position: relative;
    overflow: hidden;
    z-index: 10;
  }
  .button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0px;
    height: 100%;
    z-index: -1;
    background: #e41f3c;
    transition: 0.2s width ease-out;
  }
  .button:hover {
    color: white !important;
    border-color: #e41f3c;
  }
  .button:hover:before {
    width: 100%;
  }
  .button.inverse:before {
    background: white;
  }
  .button.inverse:hover {
    color: #e41f3c !important;
    border-color: white;
  }
  .services-item:nth-child(2n) {
    top: 115px;
  }
}
@media screen and (max-width: 991px) {
  .navitem > a {
    display: inline-block;
  }
  nav.nav-menu.w-nav-menu {
    height: calc(100vh - 80px);
	}
}
@media screen and (min-width: 992px) and (max-width: 1260px) {
  .svc-meta {
    position: initial !important;
    width: auto;
    margin-top: 15px;
    text-align: center;
  }
  .services-item {
    padding-bottom: 30px;
  }
  .svc-img {
    display: block;
    margin: 0 auto;
  }
  .svc-title-wrap {
    display: block;
    position: initial;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    margin: 15px 0;
    text-align: center;
  }
  .services-item:nth-child(2n) {
    top: 0;
  }
}
@media screen and (max-width: 991px) {
  .submenu {
    display: none !important;
    position: fixed;
    bottom: 100vh;
    left: 100vw;
  }
}
@keyframes sonarEffect {
	0% {
		opacity: 0.3;
	}
	40% {
		opacity: 0.5;
		box-shadow: 0 0 0 2px rgba(228, 31, 60,0.1), 0 0 10px 10px #dbdbdb, 0 0 0 10px rgba(228, 31, 60,0.5);
	}
	100% {
		box-shadow: 0 0 0 2px rgba(228, 31, 60,0.1), 0 0 10px 10px #dbdbdb, 0 0 0 10px rgba(228, 31, 60,0.5);
		transform: scale(1.5);
		opacity: 0;
	}
}
@keyframes blip {
  0% {
    width: 100%;
    height: 100%;
    opacity: 1
  }
  100%,50% {
    width: 220%;
    height: 220%;
    opacity: 0
  }
}


/* ===== HOME ===== */
.home-slide-text-wrap * {
  -webkit-transform: translate3d(0,30px,0);
  transform: translate3d(0,30px,0);
  opacity: 0;
}
.home-slide-text-wrap .home-slide-text,
.home-slide-text-wrap .button {
  -webkit-transform: none;
  transform: none;
}
.w-slide.active .home-slide-text-wrap * {
  -webkit-transition: 0.4s opacity ease-out, 0.2s transform ease-out;
  transition: 0.4s opacity ease-out, 0.2s transform ease-out;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  opacity: 1;
}
.w-slide.active .home-slide-text-wrap .home-slide-text div {
  transition-delay: 0.3s;
}
.w-slide.active .home-slide-text-wrap .home-slide-text div + div {
  transition-delay: 0.45s;
}
.w-slide.active .home-slide-text-wrap .home-slide-text div + div + div {
  transition-delay: 0.6s;
}
.w-slide.active .home-slide-text-wrap .button {
  transition-delay: 1.2s;
}

/* ===== ETC ===== */

.svc-meta {
  top: 245px;
}
.cert-img {
  margin-top: 20px;
  margin-bottom: 20px;
}


/* WPML lang select */
#lang_sel_list a {
  font-size: 1em;
}

/* Others */
img.person-img {
  max-width: 190px;
}

.submenu .navitem {
  display: block;
  margin-right: 0;
}

.page-title,
.news-item-title {
  text-transform: initial;
}

.partner-logo-wrap img {
  max-width: 90%;
  width: 90%;
}