/* Override defaults here - not in components */

body {
  background-color: #2D2C2D;
}

#app {
  width: 100%;
  height: 100vh;
  position: relative;
  transition: all ease 0.3s;
}

.mobile#app {
  overflow: visible;
}

.logo-loading {
  max-width: 300px;
  max-height: 300px;
}

.nav-bar {
  color: #fff;
  background-color: #f11e22 !important;
}

.nav-bar__title {
  color: #fff !important;
}

.nav-bar__link {
  color: #fff !important;
  border-color: #f11e22 !important;
}

.nav-bar__link--active,
.search-button {
  color: #fff !important;
  background-color: #f11e22 !important;
  border-color: #f11e22 !important;
}

.currentPage .addContentLink {
  visibility: visible;
}

.page-dots {
  display: none;
}

.abs {
  position: absolute;
}

.gstart {
  opacity: 0;
}

.pointer {
  cursor: pointer;
}

.noOverflow {
  overflow: hidden;
}

html[data-platform='Win32'] .tabletOnly,
html[data-platform='MacIntel'] .tabletOnly {
  display: none;
}

html[data-platform='iPhone'] .desktopOnly,
html[data-platform='iPad'] .desktopOnly,
html[data-platform*='arm'] .desktopOnly,
html[data-platform*='Android'] .desktopOnly {
  display: none;
}

.hover {
  opacity: 0;
}

.hover:hover {
  opacity: 1;
}

.hidden {
  opacity: 0 !important;
}

.visible{
  display:block;
}

.noclick {
  pointer-events: none !important;
}

.animatedpulse {
  -webkit-animation-duration: 5s;
  animation-duration: 5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -ms-transform-origin: 50% 50%;
  /* IE 9 */
  -webkit-transform-origin: 50% 50%;
  /* Chrome, Safari, Opera */
  transform-origin: 50% 50%;
}

.standardTransition {
  -moz-transition: 0.5s opacity ease-in-out 0s;
  -webkit-transition: 0.5s opacity ease-in-out 0s;
  -o-transition: 0.5s opacity ease-in-out 0s;
  -ms-transition: 0.5s opacity ease-in-out 0s;
  transition: 0.5s opacity ease-in-out 0s;
}

@-webkit-keyframes pulse {
  0%,
  60%,
  80%,
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  70%,
  90% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}

@keyframes pulse {
  0%,
  60%,
  80%,
  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
  70%,
  90% {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
}

.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-delay: 1s;
  /* Safari and Chrome */
  animation-delay: 1s;
}

@-webkit-keyframes halfpulse {
  0%,
  60%,
  80%,
  100% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
  70%,
  90% {
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
  }
}

@keyframes halfpulse {
  0%,
  60%,
  80%,
  100% {
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
  }
  70%,
  90% {
    -webkit-transform: scale(0.6);
    -ms-transform: scale(0.6);
    transform: scale(0.6);
  }
}

.halfpulse {
  -webkit-animation-name: halfpulse;
  animation-name: halfpulse;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-delay: 1s;
  /* Safari and Chrome */
  animation-delay: 1s;
}

.halfScaleC {
  -ms-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  -ms-transform-origin: center center;
  -webkit-transform-origin: center center;
  transform-origin: center center;
}

.halfScale {
  -ms-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  -ms-transform-origin: top left;
  -webkit-transform-origin: top left;
  transform-origin: top left;
}

.halfScaleR {
  -ms-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  -ms-transform-origin: top right;
  -webkit-transform-origin: top right;
  transform-origin: top right;
}

.halfScaleB {
  -ms-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  -ms-transform-origin: bottom left;
  -webkit-transform-origin: bottom left;
  transform-origin: bottom left;
}

.halfScaleBR {
  -ms-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  -ms-transform-origin: bottom right;
  -webkit-transform-origin: bottom right;
  transform-origin: bottom right;
}

.originBC {
  -ms-transform-origin: bottom center;
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}

.centre {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
}

.contentOverlay {
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  z-index: 11;
  transition: all 0.3s ease;
}
#app.mobile.mobile-switch {
  margin: 0;
  padding: 0;
  font-family: 'BentonSans', Roboto, helvetica, sans-serif;
  height: 100vh;
}


.mobile .nav-bar,
.content {
  padding: 10px;
  box-sizing: border-box;
}

.mobile .nav-bar {
  width: 100%;
  background-color: #f11e22;
  color: #fff;
  font-size: 1.3em;
  border-bottom: 1px solid rgba(51, 51, 51, 0.1);
  cursor: pointer;
  height: 45px;
}

.mobile .nav-bar:before,
.mobile .nav-bar:after {
  content: " ";
  display: table;
}

.mobile .nav-bar:after {
  clear: both;
}

.mobile .nav-title {
  margin-left: 5px;
  float: left;
  font-weight: bold;
  cursor: pointer;
  display: none;
}

.mobile .nav-title:before {
  content: '';
  background: url('escrime-logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 92px;
  height: 22px;
  display: block;
  float: left;
}


.page-content {
  max-width: 630px;
  margin: auto;
}

.menu-item {
  padding: 15px;
  font-size: 16px;
  color: #fff;
  text-align: right;
  border-bottom: 1px solid rgba(51, 51, 51, 0.1);
  cursor: pointer;
  transition: all 0.2s;
}

.menu-item:last-of-type {
  border-bottom: 0;
}

.menu-item:hover {
  background-color: #c92b2e;
}

.menu-active {
  font-weight: bold;
}

.mobile-header,
.mobile h1 {
  font-weight: bold;
  font-size: 20px;
  background-color: #F11E22;
  color: #fff;
  padding: 1em;
  display: inline-block;
  clear: right;
  text-transform: uppercase;
}

.mobile h2,
.mobile h4 {
  font-weight: bold;
  padding-left: 10px;
  border-left: 2px solid #F11E22;
  color: #F11E22;
}

.mobile-content {
  font-size: 18px;
  padding: 5px;
}

.mobile img {
  max-width: 100%;
}

.centre-img {
  margin: auto;
  display: block;
}

#btnPrev {
  background-color: #F11E22;
  color: #fff;
  padding: 1em;
  height: 40px;
  display: inline-block;
  border: 0;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  border-color: #F11E22;
  margin-left: 38px;
  float: left;
}

#btnPrev:after {
  content: "Prev";
  color: #fff;
}

#btnPrevText {
  display: none;
}

#btnNext {
  width: 60px;
  height: 65px;
  position: fixed;
  right: 0;
  bottom: 25px;
  border: 0;
  cursor: pointer;
  background-color: #F11E22;
}

#btnNext:after {
  content: '';
  background: url('/109/en/static/_content/arrows.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 38px;
  height: 40px;
  display: block;
  float: right;
}

#btnNextText {
  display: none;
}

#btnPrev:before {
  content: " ";
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 0px solid transparent;
  border-right: 20px solid #F11E22;
  /* border-right-color: inherit;  */
  position: absolute;
  top: 0;
  left: -20px;
}

.darkblue .mobile-header,
.darkblue h1 {
  background-color: #071f47 ! important;
}

.darkblue h2,
.darkblue h4 {
  border-left: 2px solid #071f47;
  color: #071f47;
}

.aqua .mobile-header,
.aqua h1 {
  background-color: #00a6c9 ! important;
}

.aqua h2,
.aqua h4 {
  border-left: 2px solid #00a6c9;
  color: #00a6c9;
}

.blue .mobile-header,
.blue h1 {
  background-color: #1a2e98 ! important;
}

.blue h2,
.blue h4 {
  border-left: 2px solid #1a2e98;
  color: #1a2e98;
}

.yellow .mobile-header,
.yellow h1 {
  background-color: #ffc20f ! important;
}

.yellow h2,
.yellow h4 {
  border-left: 2px solid #ffc20f;
  color: #ffc20f;
}

.gold .mobile-header,
.gold h1 {
  background-color: #bd9b2c ! important;
}

.gold h2,
.gold h4 {
  border-left: 2px solid #bd9b2c;
  color: #bd9b2c;
}

.green .mobile-header,
.green h1 {
  background-color: #5fa432 ! important;
}

.green h2,
.green h4 {
  border-left: 2px solid #5fa432;
  color: #5fa432;
}

.teal .mobile-header,
.teal h1 {
  background-color: #59c099 ! important;
}

.teal h2,
.teal h4 {
  border-left: 2px solid #59c099;
  color: #59c099;
}

.orange .mobile-header,
.orange h1 {
  background-color: #ff9600 ! important;
}

.orange h2,
.orange h4 {
  border-left: 2px solid #ff9600;
  color: #ff9600;
}

.purple .mobile-header,
.purple h1 {
  background-color: #651d66 ! important;
}

.purple h2,
.purple h4 {
  border-left: 2px solid #651d66;
  color: #651d66;
}

.darkblue a {
  color: #071f47;
}

.aqua a {
  color: #00a6c9;
}

.blue a {
  color: #1a2e98;
}

.yellow a {
  color: #ffc20f;
}

.gold a {
  color: #bd9b2c;
}

.green a {
  color: #5fa432;
}
.teal a {
  color: #59c099;
}

.orange a {
  color: #ff9600;
}

.purple a {
  color: #651d66;
}

.red a {
  color: #f11e22;
}

.advert a {
  color: #f11e22;
}

.aquanobtn .mobile-header,
.aquanobtn h1 {
  background-color: #00a6c9 ! important;
}

.aquanobtn h2,
.aquanobtn h4 {
  border-left: 2px solid #00a6c9;
  color: #00a6c9;
}

.aquanobtn a {
  color: #00a6c9;
}

.aquanobtn-btn {
  visibility: hidden !important;
}

.cover .mobile-header,
.advert .mobile-header {
  display: none;
}

.mobile.cover {
  background-color: #000;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100%;
  position: absolute;
  top: 45px;
  left: 0;
}

.cover-links {
  font-family: BentonSans;
  font-weight: bold;
  color: #f11e22;
  list-style: none;
  margin: 0;
  padding-left: 5%;
  font-size: 5.75vw;
}

@media (min-width: 768px) {
  .cover-links {
    font-size: 48px;
  }
}

.cover-links li {
  border-left: solid #f11e22 4vw;
  margin-bottom: 6%;
  padding-left: 5%;
  line-height: 1;
}

.iframewrapper {
  width: 100%;
  display: inline-block;
  position: relative;
}

.iframewrapper:after {
  padding-top: 56.25%;
  display: block;
  content: '';
}

.iframemain {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.mobile img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mobile .nav-menu-button {
  position: absolute;
  right: 15px;
  top: 10px;
}

.mobile .mobile-page.cover {
  background: black;
  padding:0;
}

.mobile-p1 {
  background-color: #060e20 !important;
}

h1 {
  font-family: 'BentonSans', 'poppins', sans-serif!important;
}

.page.previousPreviousPage,
.page.previousPage,
.page.nextPage,
.page.nextNextPage{
  opacity: 0;
}

[data-page="2"] .contentLink,
[data-page="4"] .contentLink,
[data-page="5"] .contentLink,
[data-page="29"] .contentLink,
[data-page="30"] .contentLink,
[data-page="32"] .contentLink,
[data-page="33"] .contentLink{
  background-color: #00a6c9!important;
}

[data-page="6"] .contentLink{
  background-color: #071f47!important;
}

[data-page="8"] .contentLink,
[data-page="9"] .contentLink,
[data-page="10"] .contentLink{
  background-color: #59c099!important;
}

[data-page="12"] .contentLink,
[data-page="13"] .contentLink,
[data-page="14"] .contentLink,
[data-page="15"] .contentLink,
[data-page="16"] .contentLink,
[data-page="17"] .contentLink,
[data-page="18"] .contentLink,
[data-page="19"] .contentLink,
[data-page="20"] .contentLink
{
  background-color: #f11e22!important;
}

[data-page="22"] .contentLink,
[data-page="23"] .contentLink,
[data-page="24"] .contentLink,
[data-page="25"] .contentLink,
[data-page="26"] .contentLink,
[data-page="27"] .contentLink
{
  background-color: #bd9b2c!important;
}

[data-page="35"] .contentLink,
[data-page="36"] .contentLink,
[data-page="37"] .contentLink,
[data-page="39"] .contentLink,
[data-page="40"] .contentLink,
[data-page="42"] .contentLink,
[data-page="43"] .contentLink,
[data-page="44"] .contentLink{
  background-color: #5fa231!important;
}

[data-page="47"] .contentLink{
  background-color: #feab33!important;
}

[data-page="49"] .contentLink,
[data-page="50"] .contentLink{
  background-color: #a8a9ad!important;
}

