/*

///////////////////////
	COLOUR SCHEME
///////////////////////

white : rgb( 255 , 255 , 255 );
black : rgb( 1 , 1 , 1 );

lightest grey : rgb( 226 , 229 , 229 );
grey : rgb( 139 , 141 , 143 );
darkest grey : rgb( 80 , 83 , 82 );

UNA Red: rgb( 143 , 26 , 29 );

dark teal: rgb( 87 , 139 , 155 );
teal : rgb( 176 , 213 , 213 );
super light teal : rgb( 229 , 241 , 245 );

warm green: rgb( 234 , 243 , 223 );
warm green darker: rgb( 208 , 229 , 175 );

Shadows
2ndary darkest teal: rgb( 32, 89, 108 );
2ndary dark teal: rgb( 55, 112, 131 ); not used yet

Buttons gold: rgb( 248 , 215 , 135 );
2ndary gold: rgb( 209, 172, 83 ); not used yet
2ndary gold lighter: rgb( 248, 215, 135 ); 
2ndary darker gold: rgb( 173, 136, 46 );

Error msg red 
light rgb( 248, 153, 135 ); not used yet
dark rgb( 209, 103, 83 );

Success msg green
light rgb( 99, 182, 127 ); not used yet
dark rgb( 61, 153, 92 );

*/
/*MAIN*/
/*LINKS*/
/*TABLES*/
/*BUTTONS*/
/* overlay message status colours */
/*HEADER NAV*/
/*FOOTER NAV*/
/*SELECTION COLOR*/
/*MSG COLORS*/
/*UNA RED*/
*, *:before, *:after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-size: 10pt;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: rgb(255, 255, 255);
  margin: 0;
  color: rgb(80, 83, 82);
}
body a {
  text-decoration: none;
  color: rgb(32, 89, 108);
}
body a:hover {
  text-decoration: underline;
  color: rgb(32, 89, 108);
}
body a img {
  border: 0px;
}

.whatever {
  display: block;
}

/*----- Miscellaneous Structural Elements -----*/
h1 {
  font-size: 36px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h1, h2, h3, h4 {
  margin-bottom: 0.5em;
}

p {
  margin: 1em 0;
  line-height: 150%;
}

/*******************************
	main structure modifiers
*******************************/
.width-manager {
  width: 1024px;
  max-width: 1024px;
  margin: 0 auto;
}
.width-manager.stretch-armstrong {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.width-manager.stretch {
  width: 1200px;
  max-width: 1200px;
  margin: 0 auto;
}
.width-manager.half-stretch {
  width: 1120px;
  max-width: 1120px;
  margin: 0 auto;
}

#calendarheader,
#content {
  position: relative;
}

#section {
  position: relative;
  margin-top: 40px;
}

/************************************************************
	top of the page elements that can't wait to be styled
************************************************************/
.event-detail-icon,
.event-preview-image {
  position: relative;
  width: 25px;
}
.event-detail-icon img,
.event-preview-image img {
  width: 100%;
  max-width: 100%;
}

#sectiontitle {
  display: block;
  font-size: 36px;
  line-height: 84px;
  color: rgb(80, 83, 82);
}
#sectiontitle.icon {
  margin-left: 100px;
}

#sectioncontentevents.fullwidth,
#sectioncontent.fullwidth {
  width: 82%;
  margin-left: 9%;
  margin-right: 9%;
  float: none;
}

/*

///////////////////////
	COLOUR SCHEME
///////////////////////

white : rgb( 255 , 255 , 255 );
black : rgb( 1 , 1 , 1 );

lightest grey : rgb( 226 , 229 , 229 );
grey : rgb( 139 , 141 , 143 );
darkest grey : rgb( 80 , 83 , 82 );

UNA Red: rgb( 143 , 26 , 29 );

dark teal: rgb( 87 , 139 , 155 );
teal : rgb( 176 , 213 , 213 );
super light teal : rgb( 229 , 241 , 245 );

warm green: rgb( 234 , 243 , 223 );
warm green darker: rgb( 208 , 229 , 175 );

Shadows
2ndary darkest teal: rgb( 32, 89, 108 );
2ndary dark teal: rgb( 55, 112, 131 ); not used yet

Buttons gold: rgb( 248 , 215 , 135 );
2ndary gold: rgb( 209, 172, 83 ); not used yet
2ndary gold lighter: rgb( 248, 215, 135 ); 
2ndary darker gold: rgb( 173, 136, 46 );

Error msg red 
light rgb( 248, 153, 135 ); not used yet
dark rgb( 209, 103, 83 );

Success msg green
light rgb( 99, 182, 127 ); not used yet
dark rgb( 61, 153, 92 );

*/
/*MAIN*/
/*LINKS*/
/*TABLES*/
/*BUTTONS*/
/* overlay message status colours */
/*HEADER NAV*/
/*FOOTER NAV*/
/*SELECTION COLOR*/
/*MSG COLORS*/
/*UNA RED*/
/************************
	Header Styles
************************/
#header {
  width: 100%;
  background: rgb(226, 229, 229);
}

#header-content {
  display: block;
  margin: 0 auto;
}

#header-contact-text {
  opacity: 1;
  visibility: visible;
  transition: all 0.1s ease;
}
#header-contact-text.off {
  opacity: 0;
  visibility: hidden;
}

#header-contact-details > div,
#header-search > div,
#header-content > div,
#header-contact-info > div {
  display: inline-block;
  vertical-align: middle;
}

#header-contact-info {
  position: relative;
  text-align: right;
  float: right;
  padding: 5px;
  margin-top: 20px;
  right: 20px;
}

#header-contact-details {
  position: relative;
  text-align: right;
  margin-left: 20px;
  min-width: 240px;
}
#header-contact-details a {
  color: rgb(80, 83, 82);
}
#header-contact-details a:hover {
  color: rgb(92, 79, 86);
  text-decoration: none;
}

#header-logo {
  margin: 20px;
  width: 175px;
  left: 0;
}

#header-social-icons a {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin: 0 2px;
}
#header-social-icons a > img {
  max-width: 100%;
  width: 100px;
  height: auto;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  border: 1px solid rgba(80, 83, 82, 0.1);
  transition: all 0.1s ease;
}
#header-social-icons a:hover > img {
  border-radius: 25%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(148, 150, 136, 0.5);
}

#header-map-icon {
  margin-right: 40px;
  cursor: pointer;
  cursor: hand;
}
#header-map-icon > img {
  height: 28px;
  width: auto;
  margin: 6px 10px;
}

#headertop {
  font-size: 110%;
  text-align: right;
  margin-bottom: 0.25em;
  padding: 0.5em;
  background-color: #fff;
  opacity: 0.75;
}
#headertop a {
  color: inherit;
}

#userbox {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
}
#userbox-container {
  float: left;
  padding: 0.5em;
  background: rgb(189, 215, 224);
  height: 3em;
  line-height: 2em;
  z-index: 100000;
}

/******************
	Search box
******************/
div#mobile-header-searchbox,
div#mobile-header-searchbox.on {
  position: relative;
  width: 100%;
  display: none;
}

#header-search {
  overflow: hidden;
  width: 40px;
  height: 40px;
  top: 0;
  right: 0;
  border-left: none;
  transition: all 0.12s ease;
  white-space: nowrap;
  position: absolute;
  text-align: left;
  background: rgba(226, 229, 229, 0.9);
}
#header-search.on {
  width: 100%;
}

#header-search-icon {
  cursor: pointer;
  cursor: hand;
}

#mobile-header-search-icon > img,
#header-search-icon > img {
  height: 28px;
  width: auto;
  margin: 6px;
}

#mobile-header-search-input,
#header-search-input {
  width: auto;
  margin-left: 5px;
}

.searchfield {
  -webkit-appearance: searchfield;
}

/********************
	Mobile Header
********************/
div#mobile-header {
  position: relative;
  background: rgb(80, 83, 82);
  display: none;
  font-size: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}

div#mobile-menu-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 40px;
  display: none;
}

div#mobile-tools {
  position: absolute;
  top: 40px;
  right: 50px;
  margin-right: 20px;
  height: 40px;
  display: none;
}

#mobile-header-contact {
  display: inline-block;
  vertical-align: middle;
}

#mobile-header-search {
  display: inline-block;
  vertical-align: middle;
  width: 40px;
}
#mobile-header-search-input {
  position: relative;
  height: 26px;
  display: block;
  width: 96%;
  padding: 10px 2%;
  border: 1px solid rgb(176, 213, 213);
}

#mobile-header-map-icon {
  display: inline-block;
  vertical-align: middle;
  width: 40px;
}
#mobile-header-map-icon > img {
  height: 28px;
  width: auto;
  margin: 6px 10px;
}

/*mobile-header-search.on style is in the 768px media query*/
#mobile-social-icons {
  display: inline-block;
  vertical-align: middle;
  float: right;
}
#mobile-social-icons a {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0;
}
#mobile-social-icons a > img {
  max-width: 100%;
  width: 30px;
  height: auto;
  transition: all 0.1s ease;
}

.menu-line {
  position: relative;
  margin: 8px auto;
  width: 36px;
  height: 2px;
  top: 0;
  background: rgb(80, 83, 82);
  border-radius: 3px;
  transition: all 0.4s, opacity 0.1s;
  transform-origin: center;
  opacity: 1;
}

.menu-toggle {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 3px;
  border: 1px solid rgb(139, 141, 143);
  border: none;
  cursor: hand;
  cursor: pointer;
  z-index: 9999;
}
.menu-toggle.on .menu-line {
  background: rgb(143, 26, 29);
}
.menu-toggle.on .menu-line:nth-child(1) {
  transform: rotate(135deg);
  top: 10px;
}
.menu-toggle.on .menu-line:nth-child(2) {
  opacity: 0;
  transform: rotate(90deg);
}
.menu-toggle.on .menu-line:nth-child(3) {
  transform: rotate(-135deg);
  top: -10px;
}
.menu-toggle:hover .menu-line {
  background: rgb(87, 139, 155);
}

.mobile-link {
  display: none;
}

div#mobile-nav-content {
  display: none;
}

/*

///////////////////////
	COLOUR SCHEME
///////////////////////

white : rgb( 255 , 255 , 255 );
black : rgb( 1 , 1 , 1 );

lightest grey : rgb( 226 , 229 , 229 );
grey : rgb( 139 , 141 , 143 );
darkest grey : rgb( 80 , 83 , 82 );

UNA Red: rgb( 143 , 26 , 29 );

dark teal: rgb( 87 , 139 , 155 );
teal : rgb( 176 , 213 , 213 );
super light teal : rgb( 229 , 241 , 245 );

warm green: rgb( 234 , 243 , 223 );
warm green darker: rgb( 208 , 229 , 175 );

Shadows
2ndary darkest teal: rgb( 32, 89, 108 );
2ndary dark teal: rgb( 55, 112, 131 ); not used yet

Buttons gold: rgb( 248 , 215 , 135 );
2ndary gold: rgb( 209, 172, 83 ); not used yet
2ndary gold lighter: rgb( 248, 215, 135 ); 
2ndary darker gold: rgb( 173, 136, 46 );

Error msg red 
light rgb( 248, 153, 135 ); not used yet
dark rgb( 209, 103, 83 );

Success msg green
light rgb( 99, 182, 127 ); not used yet
dark rgb( 61, 153, 92 );

*/
/*MAIN*/
/*LINKS*/
/*TABLES*/
/*BUTTONS*/
/* overlay message status colours */
/*HEADER NAV*/
/*FOOTER NAV*/
/*SELECTION COLOR*/
/*MSG COLORS*/
/*UNA RED*/
/******************
	Navigation
******************/
#nav-content {
  background: rgb(87, 139, 155);
}

.nav.header-nav {
  color: rgb(148, 150, 136);
  background: transparent;
  position: relative;
  display: block;
}
.nav.header-nav, .nav.header-nav ul {
  padding: 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}
.nav.header-nav a {
  display: block;
  color: white;
  font-weight: normal;
  padding: 0.3em 0.9em;
  font-size: 16px;
}
.nav.header-nav a:hover,
.nav.header-nav li:hover > a {
  background: rgb(255, 255, 255);
  text-decoration: none;
  color: rgb(32, 89, 108);
}
.nav.header-nav > li {
  display: inline-block;
  margin: 0;
  position: relative;
}
.nav.header-nav > li > div {
  position: absolute;
  width: auto;
  height: 0;
  left: 0;
  top: 29px;
  overflow: hidden;
  visibility: hidden;
}
.nav.header-nav > li:hover > div {
  height: auto;
  visibility: visible;
}

.header-nav .subnav {
  z-index: 9999;
  border-top: none;
  border-bottom: 2px solid rgb(80, 83, 82);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  color: #000;
  background: rgb(87, 139, 155);
  font-weight: normal;
  padding: 0;
  width: 100%;
}
.header-nav .subnav a {
  font-size: 14px;
  text-align: left;
  padding: 0.75em 2.5em 0.75em 2em;
}
.header-nav .subnav a:hover {
  color: rgb(77, 77, 77);
  background: transparent;
}
.header-nav .subsections {
  float: left;
  width: 100%;
  white-space: nowrap;
}
.header-nav .subsections:hover {
  background: transparent;
}

/*
	This is actually the JOIN UNA BUTTON
*/
.header-nav #leftnav {
  background: rgb(142, 25, 27);
  margin-right: 30px;
  float: right;
  transition: all 0.2s;
}
.header-nav #leftnav:before, .header-nav #leftnav:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: rgb(142, 25, 27);
  transition: all 0.2s;
  z-index: 100;
}
.header-nav #leftnav:before {
  border-radius: 3px 3px 0 0;
  -moz-border-radius: 3px 3px 0 0;
  -webkit-border-radius: 3px 3px 0 0;
  top: -3px;
}
.header-nav #leftnav:after {
  border-radius: 0 0 3px 3px;
  -moz-border-radius: 0 0 3px 3px;
  -webkit-border-radius: 0 0 3px 3px;
  bottom: -3px;
}
.header-nav #leftnav:hover {
  background: transparent;
}
.header-nav #leftnav:hover .subnav {
  transition-delay: 0.1s;
}
.header-nav #leftnav:hover .subnav a:hover {
  background: rgb(229, 241, 245);
  color: rgb(32, 89, 108);
}
.header-nav #leftnav:hover a {
  color: white;
  background: transparent;
}
.header-nav #leftnav:hover:before {
  top: 0px;
  height: 0px;
}
.header-nav #leftnav:hover:after {
  bottom: 0;
  height: 0px;
}

.header-nav-mobile #leftnav a {
  background: rgb(142, 25, 27);
  color: white;
  transition: all 0.2s;
}
.header-nav-mobile #leftnav a:hover {
  background: rgb(229, 241, 245);
  color: rgb(32, 89, 108);
}

/* mobile nav */
.header-nav-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgb(226, 229, 229);
}
.header-nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav-mobile li {
  font-size: 16px;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
}
.header-nav-mobile li:nth-child(odd) {
  background: rgba(255, 255, 255, 0.7);
}
.header-nav-mobile li a {
  display: block;
  width: 100%;
  padding: 10px;
  padding-left: 20px;
}
.header-nav-mobile li a:hover {
  text-decoration: none;
  background: rgb(229, 241, 245);
}
.header-nav-mobile .subnav {
  position: relative;
  margin: 0;
  padding-bottom: 10px;
}
.header-nav-mobile .subnav li {
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0);
}
.header-nav-mobile .subnav li:before {
  content: "";
  position: absolute;
  left: 25px;
  width: 2px;
  top: 2px;
  bottom: 2px;
  background: rgb(176, 213, 213);
}
.header-nav-mobile .subnav li:nth-child(odd):before {
  background: rgb(208, 229, 175);
}
.header-nav-mobile .subnav li a {
  padding: 5px;
  padding-left: 15px;
}

/*----- Admin Nav -----*/
#adminnav {
  padding: 0;
  margin: 0;
  list-style: none;
}
#adminnav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#adminnav a {
  display: block;
  width: 10em;
}
#adminnav > li > a {
  padding: 0.5em;
}
#adminnav li {
  float: left;
}
#adminnav li ul {
  position: absolute;
  left: -999em;
}
#adminnav li ul li {
  width: 10em;
  padding: 2px 10px;
}
#adminnav li ul li:hover {
  background-color: rgb(255, 243, 213);
}
#adminnav li ul li.no-hover:hover {
  background-color: rgb(189, 215, 224);
}
#adminnav li ul li hr {
  border: 1px solid rgb(226, 229, 229);
}
#adminnav li:hover ul {
  left: auto;
  background-color: rgb(189, 215, 224);
  text-indent: 1em;
  width: 10em;
  padding-top: 0.5em;
  border-bottom: 3px solid rgb(80, 83, 82);
  border-radius: 5px;
}
#adminnav li a:hover {
  text-decoration: none;
}

#adminmenu {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  background: rgb(255, 255, 255);
}

/*************************
	Main page gallery
*************************/
.button-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.outer-arrow-right,
.outer-arrow-left {
  position: relative;
  background: rgb(255, 255, 255);
  -webkit-border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border-radius: 50%;
  width: 76px;
  height: 76px;
  transition: all 0.1s ease;
}

.outer-arrow-right {
  left: 0px;
}

.outer-arrow-left {
  left: -38px;
}

.inner-arrow-right {
  top: 15px;
  right: 15px;
  border-width: 10px 13px 10px 0;
  border-color: transparent rgb(142, 25, 27) transparent transparent;
  transition: all 0.1s ease;
}

.inner-arrow-left {
  top: 15px;
  left: 15px;
  border-width: 10px 0 10px 13px;
  border-color: transparent transparent transparent rgb(142, 25, 27);
  transition: all 0.1s ease;
}

.content-hider {
  position: absolute;
  width: 20%;
  right: 0;
  top: 0;
  bottom: 0;
  background: white;
  text-align: left;
  z-index: 99;
}
.content-hider h1 {
  line-height: 1em;
  margin-left: 2%;
}
.content-hider > button {
  display: block;
  height: 20%;
  margin: 5% 2%;
  width: 96%;
  cursor: hand;
  cursor: pointer;
}
.content-hider > button > img,
.content-hider > button > div {
  display: inline-block;
  vertical-align: middle;
  width: 69%;
  pointer-events: none;
}
.content-hider > button > img {
  width: 28%;
  height: auto;
  margin-right: 2%;
}

.post-gallery {
  position: relative;
  display: block;
  width: 100%;
  height: 523px; /*based on 930px width ( 80% of 1200px width with 2.5% margin )*/
  white-space: nowrap;
  overflow: hidden;
  font-size: 0; /*fixes white space problem, rather than floating */
  /*parent container*/
  /* this is the small white veritcal bar that currently separates the concern buttons with the post gallery */
}
.post-gallery-container {
  position: relative;
}
.post-gallery-nav {
  position: absolute;
  width: 2.5%;
  right: 20%;
  top: 0;
  bottom: 0;
  background: rgb(255, 255, 255);
}
.post-gallery-item {
  position: relative;
  background: transparent;
  display: inline-block;
  vertical-align: top;
  height: 100%;
  width: 77.5%;
  margin-right: 2.5%;
  border: 1px solid rgb(245, 245, 245);
  /*border-bottom:3px solid rgb( 226 , 229 , 229);*/
  font-size: 12px;
  overflow: hidden;
}
.post-gallery-item.gallery-load-off {
  opacity: 0;
}
.post-gallery-item img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  max-width: 100%;
  z-index: 0;
}
.post-gallery-info {
  position: absolute;
  width: 100%;
  bottom: 0;
  line-height: 20px;
  padding: 15px 50px;
  background: rgb(226, 229, 229);
  border-bottom: 2px solid rgb(212, 215, 215);
  background: rgb(255, 255, 255);
  background: rgba(0, 0, 0, 0.8);
  border-bottom: none;
  text-align: center;
  white-space: normal;
  color: black;
  color: white;
  font-size: 20px;
  transition: all 0.2s ease;
}
.post-gallery-info.on {
  bottom: -50%;
}
.post-gallery-info a {
  color: black;
  color: white;
  font-size: 20px;
}
.post-gallery-info a:hover {
  color: black;
  text-decoration: none;
}
.post-gallery-button {
  position: absolute;
  width: 38px;
  height: 76px;
  top: 40%;
  z-index: 2;
  background: white;
  cursor: hand;
  cursor: pointer;
  transition: all 0.1s ease;
  /* left nav button */
  /* right nav button */
  /* circles  hover */
}
.post-gallery-button.leftside.next {
  left: -38px;
}
.post-gallery-button.leftside.next.hoverstate, .post-gallery-button.leftside.next:hover {
  width: 76px;
}
.post-gallery-button.previous {
  left: 0;
}
.post-gallery-button.previous.hoverstate, .post-gallery-button.previous:hover {
  width: 76px;
  left: -38px;
}
.post-gallery-button.leftside.next.hoverstate > .outer-arrow-right, .post-gallery-button.leftside.next:hover > .outer-arrow-right {
  left: 36px;
}
.post-gallery-button .inner-arrow-right {
  top: 21px;
  right: 21px;
  border-width: 15px 18px 15px 0;
}
.post-gallery-button .inner-arrow-left {
  top: 21px;
  left: 21px;
  border-width: 15px 0 15px 18px;
}
.post-gallery-overlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  display: table;
  left: 0;
  right: 0;
  bottom: 0;
  top: 100%;
  height: 100%;
  width: 100%;
  transition: all 0.2s ease;
  padding: 0 15%;
  color: white;
  white-space: normal;
}
.post-gallery-overlay.on {
  top: 0;
  bottom: 0;
}
.post-gallery-overlay > div {
  display: table-cell;
  vertical-align: middle;
  height: 100%;
  width: 100%;
}
.post-gallery-overlay h1 a {
  color: white;
}
.post-gallery-overlay h1 span.title-date {
  font-size: 12px;
}

.gallery-panel {
  position: relative;
}
.gallery-panel .headline {
  margin: 1em 6em 1.5em 0em;
}
.gallery-panel .teaserimage {
  width: 30%;
  float: left;
  margin: 0 2% 2% 0;
}
.gallery-panel .gallery-attacher {
  position: absolute;
  right: 2%;
  top: 4%;
}
