/************************************************************************************************************************************/
/** navigator.css - site main navigation (menu system) and on-page main navigation buttons                                         **/
/************************************************************************************************************************************/

div.navContainer {
    position: relative;
    min-height: 54px;
    padding-top: 2px;
    background-color: #feffef; /* Page background colour - very light manilla */
	color: #253d87; /* Croquet England Dark Blue */
    z-index: 10; /* see z-index note in main.css */
	overflow: visible;
}
@media print {
	div.navContainer {
		visibility: hidden;
		height: 0;
		min-height: 0;
		overflow: hidden;
	}
}
.navLogo {
    float: left;
    height: 50px;
    line-height: 50px;
    padding: 0 8px;
    background-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    transform: scale(0.5, 0.5); /* animation spins it and doubles its size */
    position: relative;
}
img.spin {
	transition-duration: 2s;
	transform: rotate(-360deg) scale(2, 2);
}
ul.navChoices, ul.navChoices li, ul.navChoices li a {
    float: left;
}
ul.navChoices {
	list-style: none;
    text-decoration: none;
}
ul.navChoices li a {
    text-decoration: none;
	width: 100%; /* so can click anywhere in the block */
}
#navIconButtons { /* e.g. search */
    float: right;
    padding-top: 10px;
}
.navChoices li.current {
	height: auto;
	color: #c12126; /* Croquet England Red */
	font-weight: bold;
}
/***********************************************/
/** Responsiveness *****************************/
/***********************************************/
/**** phone or smaller *************************/
@media (max-width: 767px) { /* phone or smaller screen */
    .bigScreenOnly {
        display: none;
    }
    ul.navChoices {
        position: absolute;
        top: 50px;
        width: 100%;
        height: 0px;
        padding: 0px;
        overflow: hidden;
        float: left;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        z-index: 10; /* see z-index note in main.css */
    }
    ul.navChoices.active {
        height: auto;
    }
    ul.navChoices li {
        width: 80%;
        height: auto;
        background-color: #feffef; /* Page background colour - very light manilla */
        color: #253d87; /* Croquet England Dark Blue */
        border: 2px solid #000000; /* black */
        border-radius: 15px;
    }
    ul.navChoices li a {
        padding: 0px;
        text-align: center;
        height: auto;
        line-height: normal;
        color: inherit;
    }
    ul.navChoices li:hover {
        background-color: #253d87; /* Croquet England Dark Blue */
        color: #c12126; /* Croquet England Red */
    }
    ul.navChoices h1, h2, h3, h4, h5 {
        border-top: none;
    }
    #navSwitch { /* enable the hamburger */
        display: block;
    }
    #navIconButtons {
        float: left; /* don't float it under the hamburger! */
    }
    .navCurtain { /* covers entire phone screen - default not visible. Class 'active' added by clicking the hamburger */
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        background-color: rgba(0,0,0,0.5);
		color: black;
        opacity: 0;
        visibility: hidden;
        -webkit-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }
    .navCurtain.active { /* when active, becomes visible underneath the menu and greys-out the rest of the screen (disabling links) */
        opacity: 1;
        visibility: visible;
        z-index: 9; /* see z-index note in main.css */
    }
} /* /phone or smaller screen */
/***********************************************/
/**** bigger than phone screen *****************/
/***********************************************/
@media (min-width: 768px) { /* bigger than phone screen */
	div.navContainer { /* integrate all the options into a bar */
		background-color: #ebeefa; /* Washed-Out Croquet England Blue */
		border-radius: 10px;
	}
    ul.navChoices {
		border-right: 2px solid #c12126; /* Croquet England Red */
        padding-left: 2px;
		background-color: #ebeefa; /* Washed-Out Croquet England Blue */
		border-radius: 2em;
    }
    ul.navChoices li {
		border-left: 2px solid #c12126; /* Croquet England Red */
        padding-left: 2px;
        margin-bottom: 2px;
		min-width: 4em;
		border-radius: 2em;
		text-align: left;
    }
    ul.navChoices li a {
        height: 50px;
        line-height: 50px;
        padding: 0 10px;
        color: #253d87; /* Croquet England Dark Blue */
		text-align: left;
    }
    ul.navChoices li.current a {
        color: #c12126; /* Croquet England Red */
    }
    ul.navChoices li a #subMenuInd {
        line-height: normal;
		font-size: small;
        color: #253d87; /* Croquet England Dark Blue */
		text-align: left;
		position: absolute;
		bottom: 0;
		padding-left: 0;
		font-weight: normal;
		letter-spacing: 0;
    }
    ul.navChoices li a:hover {
        color: #c12126; /* Croquet England Red */
		text-decoration: underline;
    }
   ul.navChoices li.current a:hover {
        color: #253d87; /* Croquet England Dark Blue */
    }
	.navCurtain {
		visibility: hidden;
		opacity: 0;
	}
	#navSwitch { /* hide the hamburger */
		display: none; /* only want visible on small screens */
	}
} /* /bigger than phone screen */
/***********************************************/
/** hamburger **********************************/
/***********************************************/
div#navSwitch {
	border: 1px solid #253d87; /* Croquet England Dark Blue */
    background-color: #feffef; /* Page background colour - very light manilla */
	color: #253d87; /* Croquet England Dark Blue */
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 40px;
    width: 40px;
    margin: 7px;
    padding: 0;
    border-radius: 10px;
	z-index: 100; /* see z-index note in main.css */
}
span.navSwitchBar {
    position: relative;
    right: 0px;
    left: 7px;
    margin: 0px;
    padding: 0px;
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 10px;
}
.navSwitchBar:nth-child(1) {
    background-color: #253d87; /* Croquet England Dark Blue */
	color: black;
    top: 6px;
}
.navSwitchBar:nth-child(2) {
    background-color: #c12126; /* Croquet England Red */
	color: black;
    top: 12px;
}
.navSwitchBar:nth-child(3) {
    background-color: black;
	color: black;
    top: 17px;
}
.navSwitchBar:nth-child(4) {
    background-color: yellow;
	color: black;
    top: 23px;
}
/* switch bars animation */
span.navSwitchBar {
	-webkit-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
}
span.navSwitchBar.active {
    width: 38px;
    left: 0;
    height: 5px;
}
.navSwitchBar.active:nth-child(1){
	top: 18px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}
.navSwitchBar.active:nth-child(3){
	width: 0;
}
.navSwitchBar.active:nth-child(2){
	top: 13px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.navSwitchBar.active:nth-child(4){
	width: 0;
}
/* /hamburger */
/***********************************************/
/** shop link **********************************/
/***********************************************/
li #shopMenuLink { /* the shop menu link */
	font-style: italic;
}
