@charset "utf-8";
/* CSS Document */

.display_inline {display: inline;}
.display_none {display: none;}
.float_left {float: left;}
.float_right {float: right;}
.font_bold {font-weight: bold;}
.font_italic {font-style: italic;}
.font_larger {font-size: larger;}
.font_smaller {font-size: smaller;}
.margin_none {margin: 0;}
.text_align_center {text-align: center;}
.text_align_left {text-align: left;}
.text_align_right {text-align: right;}
.error_box {border-style: solid; border-width: 0.5em; padding: 1em; margin: 1em; color: #000000; background-color: #ffcccc;}
.warning_box {border-style: solid; border-width: 0.5em; padding: 1em; margin: 1em; color: #000000; background-color: #ffffcc;}

body {
	margin: 0px;
	padding: 0px;
	background-color: white;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
	font-weight: 300;
	overflow-y: scroll;
}
a {
	color: inherit;
	text-decoration: inherit;
}
.wrapper {
	margin: 0px;
	padding: 0px;
}

.headerbgimg {
	background-image: url('/headimage.jpg');
	background-size: cover;
	background-position: center;
}

.header {
	background-color: hsla(210,100%,10%,0.5);
	padding-top: 4px;
	padding-bottom: 4px;
}

.heading {
	max-width: 800px;
    height: 50px;
	color: hsla(45,100%,50%,1.00);
	font-size: 36px;
	margin-top: 4px;
	margin-bottom: 4px;
	padding-left: 20px;
	padding-right: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 400;
}

#heading_mobile {
    position: relative;
    margin-bottom: 12px;
}

.heading_club_crest {
    height: 50px;
}

.heading_spacer {
    width: 10px;
}

#heading_desktop .heading_club_name {
    margin-bottom: 12px;
}

#heading_halfway .heading_club_name {
    margin-bottom: 12px;
}

#heading_mobile .heading_club_name {
    width: 80%;
    position: absolute;
    left: 0;
}

#iframe_cucbc_flag {
    height: 35px;
    width: 35px;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

#iframe_cucbc_lighting {
    height: 80px;
    width: 150px;
    margin: 0;
    padding: 0;
    border: none;
}

.underheading {
	max-width: 800px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 20px;
	padding-right: 20px;
}

.navbar {
	display: flex;
	flex: 1;
	color: white;
	margin-top: 4px;
	margin-bottom: 4px;
	line-height: 1.5;
	margin-right: 10px;
	flex-direction: column;
}

.navbar1 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 18px;
	margin-bottom: 4px;
}
.navbar1 p {
	font-size: 14px;
	line-height: 0;
}
.navbar1 a {
	margin: 9px;
	text-transform: uppercase;
}
.navbar1 .cur {
	color: hsla(45,100%,50%,1.00);
}
.navbar1 a:hover {
	color: hsla(45,100%,50%,1.00);
}
.headlinks {
	display: flex;
	align-items: center;
	justify-content: space-around;
	font-size: 16px;
	margin-top: 4px;
}
.headlinks a {
	margin-left: 9px;
	margin-right: 9px;
	line-height: 1.5;
}
.headlinks a:hover {
	color: hsla(45,100%,50%,1.00);
}

.navbar2 {
	max-width: 800px;
	color: hsla(210,100%,10%,1.00);
	font-size: 16px;
	margin-top: 4px;
	margin-bottom: 4px;
	padding-left: 20px;
	padding-right: 20px;
}
.navbar2 a {
	margin-left: 9px;
	margin-right: 9px;
	line-height: 1.5;
}
.navbar2 .cur {
	color: hsla(45,100%,50%,1.00);
}
.navbar2 a:hover {
	color: hsla(45,100%,50%,1.00);
}

.sideinfo {
	padding: 0.1px;
	color: white;
	font-size: 16px;
	margin-left: 10px;
}

.content {
	margin-top: 10px;
	margin-bottom: 10px;
	color: hsla(210,100%,10%,1.00);
	font-size: 16px;
	font-weight: 300;
	text-align: left;
	max-width: 800px;
	padding-left: 20px;
	padding-right: 20px;
}
.content h1 {
	font-size: 28px;
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
}
.content h2 {
	font-size: 24px;
	font-weight: 400;
	text-align: center;
}
.content h3 {
  font-size: 20px;
  font-weight: 400;
}
.content h4 {
  font-size: 16px;
  font-weight: 800;
}
.content h5 {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
}
.content h6 {
  font-size: 16px;
  font-weight: 400;
}
.content a {
	color: hsla(210,100%,50%,1.00);
}
.content a:hover {
	color: hsla(45,100%,50%,1.00);
}
.content strong {
	font-weight: bold;
}
.content em {
	font-style: italic;
}
.content li:not(:last-child) {
	margin-bottom: 8px;
}

#dropdown_btn {
    display: block;
    width: 20%;
    position: absolute;
    right: 0;
}

#dropup_btn {
    display: none;
    width: 20%;
    position: absolute;
    right: 0;
    /* The CSS 'align-text' attribute doesn't exist, so the following line has no effect. 'text-align' may be intended. */
    align-text: right;
}

.footer {
	margin-top: 10px;
	margin-bottom: 10px;
	max-width: 800px;
	width: 100%;
	font-size: 12px;
}
.footer svg {
	fill: hsla(210,100%,10%,1.00);
}
.footer svg:hover {
	fill: hsla(45,100%,50%,1.00);
}
.footer a {
  color: hsla(210,100%,50%,1.00);
}
.footer a:hover {
  color: hsla(45,100%,50%,1.00);
}

.footer_social_icon {
    width: 24px;
    height: 24px;
}

#navbar_lines {
    border-bottom: 1px solid gold;
}

/* MOBILE STUFF - grrrr */
@media only screen and (max-width: 679px) {
	#heading_desktop {display: none;}
	#heading_halfway {display: none;}
	#heading_mobile {display: flex;}
	#navbar_lines {display: none;}
	.underheading {display: none;}
	.dropbtn:hover .underheading {
		position: absolute;
		right: 0;
		top: 0;
	}
	.navbar {flex-direction: column;}
	.navbar1 {flex-direction: column;}
	.headlinks {flex-direction: column;}
	.underheading {flex-direction: column;}
}
@media only screen and (min-width: 680px) and (max-width: 799px) {
	#heading_desktop {display: none;}
	#heading_halfway {display: flex;}
	#heading_mobile {display: none;}
	.underheading {display: flex;}
}

@media only screen and (min-width: 800px) {
	#heading_desktop {display: flex;}
	#heading_halfway {display: none;}
	#heading_mobile {display: none;}
	.underheading {display: flex;}
}



/* OLD STYLES BELOW - TO BE CHECKED AND MODERNISED */






.bluebackground {
    background-color: #000064;
}
/* preformatted text - needs to be fixed-width */
pre {
    font-family: 'Cutive Mono', monospace;
}


/* The title reflections */
h1.pagehead {
    display:none;
}

/* The main title */
#site_title_extension {
    display: none;
}

div.middle {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sponsor_logo_top{
    text-align: center;
    margin: 5px 0 0 0;
}

#sponsor_logo_side {
    text-align: center;
    display: none;
}

@media (min-width: 750px) {
    div.middle {
	flex-direction: row-reverse;
	align-items: normal;
    }
    #sponsor_logo_top {
	display: none;
    }
    #sponsor_logo_side {
	display: block;
    }
    #site_title_extension {
	display: inline;
    }
}

div.main {
    flex-grow: 1;
    max-width: 100%;
}

div.main_spaced {
    max-width: 60em;
    margin-left: auto;
    margin-right: auto;
}

/* For front-page */
div.messageBoardAndPolls {
    font-size:80%
}

div.poll {
    text-align:right;
}

/* For the header */
.header {
    transition: 0.4s; /* Adds a transition effect when the padding is decreased */
}

#headerdiv {
    background-color: #000044;
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    overflow: hidden;
    position: fixed; /* Sticky/fixed navbar */
    top: 0; /* At the top */
    left: 0;
    z-index: 99;
}

div.hamburger_line {
    width: 20px;
    height: 4px;
    background-color: #FFCC00 ;
    margin: 4px 10px;
}

#headertitle {
    text-align: center;
    font-size: 48px;
    flex-grow: 1;
    margin: 0;
    color: #FFCC00;
}

#headerlogin {
    margin: 0px;
    margin-right: 10px;
}

#headerline {
    background-color: #FFCC00;
    border: none;
    height: 3px;
    margin-top: 0px;
    position: fixed;
    top: 100px;
    left: 0px;
    right: 0px;
}

/* Doing not max so that 640 is counted as small */
@media not (max-width: 640px) {
    #headerdiv {
	background: url(/images/JuliaFordybanner.jpg) right top;
	background-size: 100%;

	min-height: 100px;
	height: 100px;
    }

    #headermenubutton {
	display: none;
    }

    #main_content {
	margin-top:110px;
	margin-left: 180px;
	margin-right: 0px;
    }
}
@media (max-width: 640px) {
    #headerdiv {
	min-height: 35px;
	height: 35px;
    }

    #headercrest {
	display: none;
    }

    #headermenubutton {
	display: block;
    }

    #headertitle {
	font-size: 16px;
    }


    #headerline {
	top: 35px;
    }

    #main_content {
	margin-top: 45px;
	margin-left: 10px;
	margin-right: 0px;
    }
}

div.middle {
    margin-top: 50px;
}

p.author {
    font-size: smaller;
    font-style: italic;
}

td.picborder {
    background-color: #F0F0F0;
}

li.mapsection {
    margin-top: 30px;
}

div.result {
    line-height: 130%;
    margin-bottom: 20px;
}

div.report {
    margin-bottom: 20px;
    margin-left: 15px;
}

div.links {
    font-size: smaller;
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 6px;
    background-color: #FCFCFC;
    border: 1px solid #F0F0F0;
}

div.msginfo {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 6px;
    background-color: #FCFCFC;
    border: 2px solid #000000;
}

span.author {
    font-style: italic;
    font-size: smaller;
}

div.resultdetail {
    font-size: smaller;
    margin-left: 40px;
    text-indent: -10px;
    line-height: 130%;
    margin-top: 5px;
}

li.resultcompare {
    font-size: smaller;
    line-height: 130%;
    padding: 2px;
}

li.resulthighlight {
    background-color: #FCFCFC;
    font-size: smaller;
    line-height: 130%;
    padding: 2px;
    border: 1px solid #FFCC00;
}

li.resultshighlight {
    background-color: #F0F0F0;
    font-size: smaller;
    line-height: 130%;
    padding: 2px;
    border: 1px solid #F0F0F0;
}

div.crewlist {
    margin-bottom: 15px;
}

div.eventtitle {
    margin-bottom: 5px;
    line-height: 130%;
}

div.eventdetail {
    margin-left: 40px;
    font-size: smaller;
    line-height: 130%;
}

.EventName {
    font-weight: 700;
    line-height: 130%
}

.EventOverview {
    margin-left: 20px;
    line-height: 130%;
    font-style: italic;
}

td.directorynew {
    padding: 2px;
    font-size: 80%;
}

td.directoryold {
    padding: 2px;
    font-size: 80%;
}

tr.directorynew {
    background-color: #FCFCFC;
}

tr.directoryold {

}

td.crewtitle {
    color: #000064;
    text-align: center;
    background-color: #FCFCFC;
    border-bottom: 1px solid #FFCC00;
}

td.crewboat {
    text-align: center;
    font-size: 80%;
}

td.crewposition {
    text-align: left;
    background-color: #FCFCFC;
    font-size: 80%;
    padding: 2px;
}

td.crewmember {
    background-color: #FCFCFC;
    text-align: right;
    padding: 2px;
    font-size: 80%;
}

td.noposcrewmember {
    background-color: #FCFCFC;
    text-align: center;
    padding: 2px;
    font-size: 80%;
}

td.figure {
    background-color: #FCFCFC;
    font-size: 70%;
    text-align: center;
    padding: 3px;
}

td.resultsfigure {
    background-color: #FCFCFC;
    font-size: 70%;
    text-align: left;
    padding: 3px;
    line-height: 130%;
    vertical-align: top;
}

td.recentpictures {
    background-color: #FCFCFC;
    font-size: 80%;
    text-align: left;
    padding: 6px;
    line-height: 130%;
    vertical-align: top;
}

td.picturecomments {
    background-color: #FCFCFC;
    font-size: 80%;
    text-align: left;
    padding: 6px;
    line-height: 130%;
    vertical-align: top;
}

td.photocredit {
    font-size: 70%;
    text-align: right;
    background-color: #FCFCFC;
}

td.crewinfophoto {
    padding: 2px;
    background-color: #FCFCFC;
}

td.crewinfocrew {
    background-color: #FCFCFC;
    padding: 5px;
}

td.crewinfoposition {
    text-align: right;
    font-style: italic;
    padding: 1px 5px 1px 15px;
}

td.crewinfoname {
    text-align: left;
    padding: 1px 15px 1px 5px;
}

td.listing {
    padding-left: 40px;
    font-size: 80%;
    white-space: nowrap;
}

td.listingtitle {
    font-style: italic;
    font-weight: 700;
    white-space: nowrap;
    font-size: 80%;
    padding-top: 15px;
}

td.photo {
    padding-top: 5px;
    padding-bottom: 5px;
}

p.songchorus {
    font-style: italic;
    margin-left: 30px;
}

p.songverse {
    font-style: normal;
    margin-left: 0;
}

td.msgboldtitle {
    padding-top: 5px;
    padding-bottom: 3px;
    padding-left: 7px;
}

td.msgtitle {
    font-size: 90%;
    padding-top: 5px;
    padding-bottom: 3px;
    padding-left: 7px;
    font-style: italic;
}

td.msgline {
    background-color: #FCFCFC;
    padding: 0;
}

td.msglinks {
    text-align: right;
    vertical-align: top;
    padding: 3px;
}

td.msg {
    line-height: 130%;
    font-size: 90%;
    padding: 0 5px 5px 40px;
}

div.msgtitle {
    font-size: 90%;
    padding-top: 5px;
    padding-bottom: 3px;
    padding-left: 7px;
    font-style: italic;
}

div.msg {
    line-height: 130%;
    font-size: 90%;
    padding: 0 5px 5px 40px;
}

td.newsdate {
    background-color: #FCFCFC;
    font-size: 90%;
    padding: 3px;
}

td.newstitle {
    background-color: #FCFCFC;
    font-style: italic;
    font-weight: 700;
    font-size: 90%;
    padding-top: 3px;
    padding-bottom: 3px;
}

td.newsauth {
    background-color: #FCFCFC;
    font-size: 90%;
    text-align: right;
    padding: 3px;
}

td.news {
    line-height: 130%;
    font-size: 90%;
    padding: 5px 5px 5px 40px;
}

.msgquote {
    padding-left: 40px;
    font-style: italic;
    font-size: 90%;
    padding-top: 3px;
    padding-bottom: 3px;
    color: #C09000;
}

.topicdetails {
    padding-left: 30px;
}

td.justice {
    background-color: #FCFCFC;
    vertical-align: top;
}

td.maildetails {
    background-color: #FCFCFC;
    font-size: 90%;
}

td.mailheader {
    background-color: #FCFCFC;
    font-size: 90%;
    padding-left: 10px;
}

th.tablehead {
    background-color: #FCFCFC;
}

td.tableheader {
    background-color: #FCFCFC;
}

td.tabledata {
    background-color: #FCFCFC;
    text-indent: 20px
}

td.tablestats {
    background-color: #FCFCFC;
}

table.darkblue {
    background-color: #FCFCFC;
}


td.tab {
    text-align: center;
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 5px;
}

td.selectedtab {
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 5px;
}

td.seltableft {
}

td.seltabright {
}

td.tableft {
}

td.tabright {
}

td.tabbodyborder {
}

td.tabbody {
}

.openevent {
    background-color: #F0F0F0;
}

.highlightBackground {
    background-color: #F0F0F0;
}

hr.blueline {
    color: #00007F;
}

/* CSS for the availabilities viewer */
th.even{
    background-color: #000044;
    color: #FFCC00;
}
th.odd{
    background-color: #FFCC00;
    color: #000044;
}
td.blue{
    background-color: #000044;
}
td.AScolor{
    background-color: #FFFF00;
}
td.SScolor{
    background-color: #FF0000;
}
td.BScolor{
    background-color: #00FF00;
}
td.coxcolor{
    background-color: #009999;
}
td.busy{
    background-color: #000000;
}

/*  default page */
P.committeedetails {
    padding-left: 40px;
}

hr.short{
    width: 65%;
}
