/*
 Theme Name:	SEA*ACT
 Version:		1.0.0
 Author:		James Peek (james@peek.ws)
 Author URI:	http://newbestfriend.com.au
*/
body {
  font-family: "raleway", sans-serif;
  font-weight: 400;
}
header {
  height: auto;
  padding: 20px 0;
  background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.2)), url(images/bg-header.png) repeat center top;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.2)), url(images/bg-header.png) repeat center top;
}
@media (min-width: 768px) {
  header {
    height: 275px;
  }
}
header .logo-seaact {
  float: left;
  display: inline-block;
  background: url(images/logo-seaact.png) no-repeat center top / contain;
  width: 135px;
  height: 44px;
}
header .nav-secondary {
  float: right;
}
header .nav-secondary a {
  padding: 10px 15px;
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  background-color: #00aadb;
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  font-size: large;
  border: 3px #fab72d solid;
  border-radius: 5px;
}
header .nav-secondary a:hover {
  background-color: #0096c2;
}
header .nav-secondary a:last-child {
  margin-right: 0;
}
header h1 {
  margin: 70px auto 50px;
  color: #00aadb;
  font-size: 22px;
  text-align: center;
  max-width: 100%;
}
@media (min-width: 768px) {
  header h1 {
    margin: 90px auto 0;
    font-size: 32px;
    width: 500px;
  }
}
.nav-primary {
  background: #fff;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin-top: -35px;
  margin-bottom: 40px;
  font-size: 0;
}
.nav-primary li {
  display: inline-block;
}
.nav-primary li a {
  display: inline-block;
  padding: 25px 20px;
  color: #5a5a5a;
  text-decoration: none;
  font-size: 16px;
}
.nav-primary li a:hover {
  background-color: #eee;
}
.nav-primary li.current_page_item a,
.nav-primary li.current_page_ancestor a {
  color: #fff;
  background: #fab72d;
  text-shadow: 0 1px #d59105;
}
main .lead {
  color: #00aadb;
}
main h1,
main h2,
main h3,
main h4 {
  color: #00aadb;
  font-weight: 700;
}
main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child {
  margin-top: 0;
}
main a {
  color: #00aadb;
}
main table.whats-on td {
  vertical-align: middle;
  color: #5a5a5a;
  border-color: #00aadb;
  padding: 10px 20px;
}
main table.whats-on td:first-child {
  font-size: 20px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
main table.whats-on td:first-child span {
  display: block;
  font-size: 13px;
}
main table.whats-on td:last-child {
  width: 100%;
}
main .sponsors {
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
main .sponsors img {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  height: auto;
}
.panel {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.panel.printable-label .panel-heading {
  padding: 6px 15px;
  font-size: 22px;
  position: relative;
}
.panel.printable-label .panel-heading .label {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 5px 10px;
  line-height: 1;
  font-size: 30px;
  font-weight: 500;
  border-radius: 0;
  border: none;
  color: #fff !important;
  background: #000 !important;
}
footer {
  color: #fff;
  background-color: #00aadb;
  padding: 20px 0 50px;
  margin: 20px 0 0;
  text-align: center;
}
footer a:link,
footer a:visited {
  color: #fff;
}
@page {
  size: A4;
  margin: 1cm;
}
@media print {
  .container {
    width: auto;
  }
}
img.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
img.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignright {
  float: right;
}
.alignleft {
  float: left;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.page-id-23 header,
.parent-pageid-23 header {
 background: #002a50 url(images/bg-clouds.png) repeat-x center bottom; 
 position: relative;
 min-height: 250px;
}

.page-id-23 header:after,
.parent-pageid-23 header:after {
  position: absolute;
  top: 30px;
  right: 20%;
  content: "";
  background: url(images/moon.png) no-repeat center center / contain;
  width: 100px;
  height: 100px;
  transition: right 1s;
}

.page-id-23 header h1,
.parent-pageid-23 header h1 {
  margin: 50px 0 0;
  text-align: left;
  color: #fff;
  font-size: 16px;
  width: 250px
}

@media (max-width: 500px) {
  .page-id-23 header h1,
  .parent-pageid-23 header h1 {
    display: none;
  }
  .page-id-23 header:after,
  .parent-pageid-23 header:after {
    right: 5%;
  }
}

.page-id-23 header .logo-seaact:after,
.parent-pageid-23 header .logo-seaact:after {
  position: absolute;
  bottom: 10px;
  right: 30%;
  content: "";
  background: url(images/rocket.png) no-repeat center center / contain;
  width: 150px;
  height: 131px;
  z-index: 1;
}

.page-id-23 .nav-secondary,
.parent-pageid-23 .nav-secondary {
  position: relative;
  z-index: 2;
}

.page-id-23 .nav-primary,
.parent-pageid-23 .nav-primary {
  background-color: #00aadb;
  z-index: 2;
  position: relative;
}

.page-id-23 .nav-primary li a,
.parent-pageid-23 .nav-primary li a {
  color: #fff;
}

.page-id-23 .nav-primary li a:hover,
.parent-pageid-23 .nav-primary li a:hover {
  background-color: #002a50;
}

main input.linkbutton {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 100%;
}


main input.linkbutton {
  background-color: white; 
  color: black; 
  border: 2px solid #00aadb;
}

main input.linkbutton:hover {
  background-color: #00aadb;
  color: white;
}

