@font-face {
  font-family: 'bentonsans';
  src: url('bentonSans-bold.eot?#iefix') format('embedded-opentype'),  url('bentonsans-bold.otf')  format('opentype'),
	     url('bentonSans-bold.woff') format('woff'), url('bentonsans-bold.ttf')  format('truetype'), url('bentonsans-bold.svg#bentonsans-bold') format('svg');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Bentonsans';
  src: url('bentonsans-book.eot?#iefix') format('embedded-opentype'),  url('bentonsans-book.otf')  format('opentype'),
	     url('bentonsans-book.woff') format('woff'), url('bentonsans-book.ttf')  format('truetype'), url('bentonsans-book.svg#bentonsans-book') format('svg');
  font-weight: normal;
  font-style: normal;
}
body {
    margin: 0;
    padding:0;
    font-family: BentonSans, roboto, helvetica, sans-serif;
    height:100vh;
}

.nav-bar, .content{
    padding: 10px;
    box-sizing: border-box;
}

.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;
    background-image: url(escrime-logo.png);
    background-repeat: no-repeat;
    background-size: 92px 22px;
    background-position: 15px 10px;
}
.nav-bar:before, .nav-bar:after {
    content: " "; display: table; 
}
.nav-bar:after {
    clear: both;
}

.nav-title {
    margin-left: 5px;
    float:left;
    font-weight: bold;
    cursor: pointer;
    display:none;
}
.nav-title:before {
    content:'';
    background:url('escrime-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    width:92px;
    height:22px;
    display:block;
    float:left;
}
.nav-menu-button {
    float:right;
    cursor: pointer;
}           

.content {
    padding-top: 20px;
}

.nav-menu {
    position: absolute;
    top: 44px;
    left: 0px;
    width: 100%;
    box-sizing: border-box;
    padding:10px 15px 0px;
    background-color: #f11e22;
}
.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;
}

.article-header, h1 {
    font-weight: bold;
    font-size: 20px;
    background-color: #F11E22;
    color:#fff;
    padding: 1em;
    display: inline-block;
    clear:right;
    text-transform: uppercase;
}

h2, h4{
    font-weight:bold;
    padding-left:10px;
    border-left:2px solid #F11E22;
    color: #F11E22;
}

.article-content {
    font-size: 18px;
    padding:5px;
}

.article {
    display: none;
}

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('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 .article-header, .darkblue h1 {
    background-color: #071f47! important;
}

.darkblue h2, .darkblue h4{
    border-left:2px solid #071f47;
    color: #071f47;    
}

.aqua .article-header, .aqua h1 {
    background-color: #00a6c9! important;
}

.aqua h2, .aqua h4 {
    border-left:2px solid #00a6c9;
    color: #00a6c9;    
}

.blue .article-header, .blue h1{
    background-color: #1a2e98! important;
}

.blue h2, .blue h4{
    border-left:2px solid #1a2e98;
    color: #1a2e98;    
}

.yellow .article-header, .yellow h1 {
    background-color: #ffc20f! important;
}

.yellow h2, .yellow h4{
    border-left:2px solid #ffc20f;
    color: #ffc20f;    
}

.green .article-header, .green h1 {
    background-color: #5fa432! important;
}

.green h2, .green h4{
    border-left:2px solid #5fa432;
    color: #5fa432;    
}

.orange .article-header, .orange h1 {
    background-color: #ff9600! important;
}

.orange h2, .orange h4{
    border-left:2px solid #ff9600;
    color: #ff9600;    
}

 .purple .article-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;    
}

.green a{
    color: #5fa432;    
}

.orange a{
    color: #ff9600;    
}purple a{
    color: #651d66;    
}
.advert a {
    color: #F11E22;
}


.aquanobtn .article-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 .article-header, .advert .article-header {
    display:none;
}

#article-0 {
    background-color: #000;
    background-size:contain;
    background-repeat: no-repeat;
    width:100%;
    min-height: 100%;
    position:absolute;
    top:45px;
    left:0;
}
.cover .article-content {
    padding: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;
}

img {
    display:block;
    margin-left:auto;
    margin-right: auto;
}