﻿body {
    font-family: Arial, Helvetica, sans-serif;
    color: #000080;
    font-size: 14px;
}





@font-face {
    font-family: 'HeydingsControlsRegular';
    src: url('fonts/heydings_controls-webfont.eot');
    src: url('fonts/heydings_controls-webfont.eot?#iefix') format('embedded-opentype'), /* url("fonts/heydings_controls.woff") format('woff'),*/
    url('fonts/heydings_controls-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#modal {
    display: none;
}

#spinner {
    z-index: 9001;
}

video {
    border: 1px solid black;
}

.controls {
    visibility: visible;
    opacity: 0.7;
    width: 400px;
    border-radius: 10px;
    position: absolute;
    /*bottom: 20px;*/
    left: 50%;
    margin-left: -200px;
    background-color: black;
    box-shadow: 3px 3px 5px black;
    transition: 1s all;
    display: flex;
}

button2,
.controls {
    background: linear-gradient(to bottom, #222, #666);
}

.player:hover .controls,
player:focus .controls {
    opacity: 1;
}

button2:before {
    font-family: HeydingsControlsRegular;
    font-size: 20px;
    position: relative;
    content: attr(data-icon);
    color: #aaa;
    text-shadow: 1px 1px 0px black;
}

.play:before {
    font-size: 22px;
}

button2,
.timer {
    padding-top: 0.5em;
    height: 38px;
    line-height: 19px;
    box-shadow: inset 0 -5px 25px rgba(0, 0, 0, 0.3);
    border-right: 1px solid #333;
}

button2 {
    padding-top: 0.5em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    position: relative;
    border: 0;
    flex: 1;
    outline: none;
}

.play {
    border-radius: 10px 0 0 10px;
}

.rwd {
    border-radius: 0 10px 10px 0;
}

.timer {
    line-height: 38px;
    font-size: 10px;
    font-family: monospace;
    text-shadow: 1px 1px 0px black;
    color: white;
    flex: 5;
    position: relative;
}

.timer div {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    left: 0;
    top: 0;
    width: 0;
    height: 38px;
    z-index: 2;
}

.timer span {
    position: absolute;
    z-index: 3;
    left: 19px;
}

button2:hover,
button:focus {
    box-shadow: inset 1px 1px 2px black;
}

button2:active {
    box-shadow: inset 3px 3px 2px black;
}

a.button5 {
    display: inline-block;
    padding: 0.46em 1.6em;
    border: 0.1em solid #000000;
    margin: 0 0.2em 0.2em 0;
    border-radius: 0.12em;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #000000;
    text-shadow: 0 0.04em 0.04em rgba(0, 0, 0, 0.35);
    background-color: #FFFFFF;
    text-align: center;
    transition: all 0.15s;
}

a.button5:hover {
    text-shadow: 0 0 2em rgba(255, 255, 255, 1);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

@media all and (max-width:30em) {
    a.button5 {
        display: block;
        margin: 0.4em auto;
    }
}

.active:before {
    color: red;
}

.normal_text {
    font-family: Arial, Helvetica, sans-serif;
    color: #000080;
    font-size: 14px;
}

button2:hover,
button2:focus {
    box-shadow: inset 1px 1px 2px black;
}

button2:active {
    box-shadow: inset 3px 3px 2px black;
}

.active:before {
    color: red;
}

img {
    border: 0;
}

#menubox-hr img{
    display:inline;
}

#masthead {
    width: 90%;
    margin: 0 auto;
}

.red {
    color: #FF0000;
}

.picture_right {
    float: right;
    border-style: solid;
    border-width: 1px;
    margin-left: 50px;
    margin-right: 50px;
}

.picture_right_nb {
    float: right;
    margin-left: 50px;
    margin-right: 50px;
}

.right_align {
    float: right
}

#sep {
    color: #000080;
    background-color: #000080;
    height: 2px;
    width: 90%;
    margin: 5px auto 5px auto;
}

#boxwrap {
    border: 1px solid #000080;
    overflow: auto;
    width: 900px;
    margin: 0 auto;
}

#menubox {
    width: 900px;
    margin: 10px auto 10px auto;
    padding: 10px;
    text-align: center;
}
#menubox-hr {
    width: 900px;
    margin: 0 auto;
    
  
    border: 1px solid #6d6a6a;
    overflow: auto;
}
    #menubox-hr .box {
        border: 1px solid #6d6a6a;
        padding: 10px;
        margin: 3px;
        /*width: 872px;*/
        overflow: auto;  
     
    }
.box {
    border: 1px solid #000080;
    padding: 10px;
    margin: 3px;
    /*width: 872px;*/
    overflow: auto;
}

.smallbox {
    float: left;
    margin-top: 0;
    margin-right: 0;
}

#menubox-hr .smallbox {
    float: left;
    margin-top: 0;
    margin-right: 0;
}

#foot {
    text-align: center;
    margin: 10px;
}

h1 {
    font-size: 18px;
    text-align: center;
    margin: 0px 0 0px 0;
}

.mauve {
    color: fuchsia;
}

h2 {
    font-size: 16px;
    margin: 0;
}

h3 {
    font-size: 14px;
}

.table_boar_grey {
    border-left: 1px solid #C0C0C0;
    border-right-style: solid;
    border-right-width: 1px;
    border-top: 1px solid #C0C0C0;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.table_box_grey {
    border-left-style: solid;
    border-left-width: 1px;
    border-right: 1px solid #C0C0C0;
    border-top-style: solid;
    border-top-width: 1px;
    border-bottom: 1px solid #C0C0C0;
}

.centre {
    text-align: center;
}

.epbacground {
    background-color: #CCFFFF;
    border: 1px solid #FFFFFF;
}

a:link {
    text-decoration: none;
    color: #000080;
}


/* unvisited link */

a:hover {
    text-decoration: none;
    color: #0000FF;
}


/* mouse over link */

a:active {
    text-decoration: none;
    color: #5283F5;
}


/* selected link */

input:focus {
    outline: none;
}

.button {
    border: 1px solid #000080;
    text-decoration: none;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000080;
    margin: 0;
    padding: 3px;
    cursor: pointer;
    height: 24px;
    background-color: #C5E2FF;
    background-image: url(/images/button.gif);
    display: inline-block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*allows the height & width to be set without buggering everything else up*/
    text-align: center;
}

.button::-moz-focus-inner {
    border: 0;
    padding: 0;
}


/*fix the firefox <input> from being bigger than everything else. Used in conjunction with setting the button height above*/

.button:hover {
    background-image: url(/images/buttonhov.gif);
}

.buttonleft {
    border-right: none;
}

.buttonmid {
    border-right: none;
}

.buttonright {
    border-left: none;
}

.menuborder {
    border: 1px solid #99CCFF;
}
#menubox-hr .menuborder {
    border: 1px solid #6d6a6a;
}

/* Drop Down Menu*/

.dropdown {
    position: relative;
    display: inline-block;
    background: #ffffff;
}

.dropdown .button:after {
    content: " \25BC";
    float: right;
}

.submenu {
    background: #ffffff;
    position: absolute;
    top: 24px;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    text-align: left;
    z-index: 100;
}

    .submenu a {
        display: block;
        padding: 1px 15px;
        background: #ffffff;
    }

.submenu a:hover {
    background: #C5E2FF;
}


/* End Drop Down Menu*/


/* Side nav caonfiguation*/


/* The side navigation menu */

.sidenav {
    height: 100%;
    /* 100% Full-height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Stay on top */
    top: 0;
    /* Stay at the top */
    left: 0;
    background-color: #6d6a6a;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 60px;
    /* Place content 60px from the top */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidenav */
}


/* The navigation menu links */

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}


/* When you mouse over the navigation links, change their color */

.sidenav a:hover {
    color: #f1f1f1;
}


/* Position and style the close button (top right corner) */

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */

#main {
    transition: margin-left .5s;
    padding: 20px;
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
}


/*End of side nav */


/*header style*/


/*padding changed from 20px - this is the gap between the site master content and the main body content. */

#header {
    background-color: #6d6a6a;
    color: #ffffff;
    font-weight: bold;
    font-size: 2.5em;
}


/*font size changed from 1.8em*/

#header img {
    vertical-align: middle;
}

@media screen and (max-width: 960px) {
    #header {
        font-size: 1.9em;
    }
    #header .recog {
        display: none;
    }
}

.off {
    color: #ffffff;
    font-size: 0.7em;
    font-weight: normal;
}


/*heading text colour - its an option in id=header -  old colour 67A0F5*/

#header .recog {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.6em;
    margin-top: 45px;
    font-style: italic;
}


/*line item for colouring for RYA recognised centre, old colour A9D1FA*/


/*End of Header style*/


/* Dark version of button and drop-down */

.dropdown.dark .button {
    border: none;
    background-image: none;
    color: #ffffff;
    background-color: #3f3f3f;
}

.dropdown.dark .submenu {
    background-color: #C0C0C0;
}

.dropdown.dark .submenu a {
    color: #3f3f3f;
}

.dropdown.dark .submenu a:hover {
    background-color: #e6e6e6;
}


/* pop-up menu pane */

#menu-pane {
    background-color: #000000;
    fill: #ffffff;
    position: absolute;
    top: 65px;
    right: 73px;
    width: 400px;
    padding: 20px;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.45);
}

#menu-pane a {
    display: block;
    color: #3f3f3f;
    background-color: #C0C0C0;
}

#menu-pane a:hover {
    display: block;
    background-color: #e6e6e6;
}

