/*
 *  Website by
 *  Elastic Design
 *  www.elasticdesign.com.au
 */

/*
 *   Fonts
 */

@font-face {
  font-family: 'Avenir Medium';
  src: url('/fonts/Avenir Medium.eot');
  src: url('/fonts/Avenir Medium.svg#avenirmedium') format('svg'),
    url('/fonts/Avenir Medium.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Avenir Medium.woff') format('woff'),
    url('/fonts/Avenir Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Book';
  src: url('/fonts/Avenir_Book.eot');
  src: url('/fonts/Avenir_Book.svg#avenirmedium') format('svg'),
    url('/fonts/Avenir_Book.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Avenir_Book.woff') format('woff'),
    url('/fonts/Avenir_Book.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Black';
  src: url('/fonts/Avenir Black.eot');
  src: url('/fonts/Avenir Black.svg#avenirmedium') format('svg'),
    url('/fonts/Avenir Black.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Avenir Black.woff') format('woff'),
    url('/fonts/Avenir Black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/*/*
 *   Reset
 */

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
select,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset,
img {
  border: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}
strong {
  font-weight: 700;
}
ol,
ul {
  list-style: none;
}
caption,
th {
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
q:before,
q:after {
  content: '';
}
abbr,
acronym {
  border: 0;
}

button::-moz-focus-inner {
  border: 0;
  padding: 0;
} /* Remove button padding in Firefox */

/*
 *   Styles
 */

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html {
  min-height: 100%;
  height: 100%;
}

body {
  min-height: 100%;
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  color: #373639;
}

body,
textarea {
  font-family: 'Avenir Book', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 18px;
}

a:link,
a:visited {
  color: #163e72;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

.main .middle a.button:link,
.main .middle a.button:visited {
  display: inline-block;
  padding: 10px 15px;
  border: 3px solid #009ec0;
  color: #009ec0;
  text-decoration: none;
}
.main .middle a.button:hover {
  background: #009ec0;
  color: #fff;
}
.main .middle a.button small {
  float: right;
  margin: 0 0 0 20px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  line-height: 26px;
  text-transform: uppercase;
  vertical-align: middle;
}
.main .middle a.button:hover small {
  color: rgba(255, 255, 255, 0.75);
}

strong {
  font-weight: normal;
  font-family: 'Avenir Black', sans-serif;
}

small,
.small {
  font-size: 80%;
  text-transform: uppercase;
  color: #ccc;
}

h1 {
  margin: 0 0 20px 0;
  font-size: 36px;
  line-height: 1.4em;
  font-weight: 300;
}
h2 {
  margin: 0 0 1em 0;
  font-size: 24px;
  line-height: 1.4em;
  font-family: 'Avenir Black', sans-serif;
}

p {
  margin: 0 0 1em 0;
  float: left;
  width: 100%;
}
p:last-child {
  margin-bottom: 0;
}

ul {
  list-style: disc;
  margin: 0 0 1em 20px;
  float: left;
}
ul li {
  width: 100%;
}

hr {
  margin: 5px 0 10px 0;
  padding: 0;
  background: transparent;
  color: transparent;
  height: 0px;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
}

.outer {
  float: left;
  width: 100%;
  height: 100%;
}

.panel {
  float: left;
  width: 100%;
}
.panel .inner {
  width: 960px;
  margin: 0 auto;
}

.body {
  min-height: 100%;
  margin-bottom: -196px;
}

header {
  position: relative;
  z-index: 4;
  background: url('/images/header-leaves.png') top center no-repeat #fff;
  background-position-y: calc(0% + 46px);
  /*background: url("/images/header-leaves.png") 142px 45px no-repeat #fff;*/
}

header .logo {
  float: left;
  margin: 30px 0 0 0;
}
header .right {
  float: right;
  clear: right;
  margin: 30px 0 0 0;
}
header .right .links a {
  padding: 7px 19px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 8px;
  border: 3px solid #00498a;
}
header .right .links a:hover {
  color: #fff !important;
  border: 3px solid #83368f !important;
  background: #83368f !important;
}
/*
 NEED TO ADD THIS RULE BACK IN WHEN ONLINE PAYMENTS BUTTON GETS UNHIDDEN
 ---------
header .right .links a:first-of-type {
  margin-right: 12px;
}
 */
header .right .birthyear7 {
  margin: 160px 0 0 0;
  color: #888;
  text-align: right;
  font-size: 22px;
}
/* Google Translate Element*/
.goog-te-gadget-simple span {
  color: #00498a;
  border: none !important;
}
.goog-te-menu-value img {
  display: none !important;
}
.goog-te-gadget-simple {
  border: none !important;
}
.goog-te-gadget-icon {
  display: none !important;
}
#google_translate_element * {
  font-weight: 600 !important;
  font-size: 14px !important;
  font-family: 'Avenir Book', Arial, Helvetica, sans-serif;
}
header #google_translate_element {
  float: right;
  position: relative;
  top: 2px;
}
header #google_translate_element .goog-te-menu-value span:last-of-type {
  color: #00498a !important;
  margin-left: 6px;
}
header #google_translate_element a.goog-te-menu-value:hover span {
  color: #fff !important;
}

header a:link,
header a:visited {
  text-decoration: none;
}
header h1 {
  display: inline-block;
  vertical-align: middle;
  margin: 25px 0 15px 0;
  font-size: 48px;
  line-height: 1em;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: #fff;
}
header img {
  vertical-align: middle;
  margin: 0 20px 0 0;
}

.search {
  float: right;
  width: 225px;
  margin: 30px 0 0 0;
  background: #f1f1f1;
  border-radius: 5px;
}
.search i {
  margin: 10px 0 10px 10px;
  font-size: 14px;
  line-height: 1em;
  color: #959595;
}
.search input {
  padding: 7px;
  background: #f1f1f1;
  border: 0;
  border-radius: 5px;
  outline: none;
  font-size: 14px;
  line-height: 1em;
  color: #959595;
}

nav {
  float: left;
  clear: left;
  margin: 30px 0 0 0;
  width: 100%;
  border-top: 1px solid #afafb1;
  font-size: 15px;
  line-height: 1em;
}
nav ul {
  list-style: none;
  float: left;
  margin: 0;
  width: 100%;
}
nav ul li {
  vertical-align: middle;
  float: left;
  position: relative;
  z-index: 500;
  width: auto;
  text-align: left;
}
nav ul li a:link,
nav ul li a:visited {
  float: left;
  margin: 0 1px 0 0;
  padding: 20px 24px;
  color: #163e72;
  text-decoration: none;
  text-transform: uppercase;
}
nav ul li a:hover,
nav ul li.hover a:link,
nav ul li.hover a:visited {
  background: #163e72;
  color: #fff;
}
nav ul li:first-child {
  border-left: 0;
}
nav ul li:first-child a:link,
nav ul li:first-child a:visited {
}
nav ul li a:link div {
  display: inline;
}
nav ul li a:link i,
nav ul li a:visited i {
  float: right;
  color: rgba(255, 255, 255, 0.5);
}
nav ul li a.hover:link,
nav ul li a.hover:visited {
  color: #fff;
}
nav ul li a:hover i {
  color: #fff;
}
nav ul li.on a:link,
nav ul li.on a:visited {
  background: #163e72;
  color: #fff;
}
nav ul li i {
  vertical-align: bottom;
  font-size: 14px;
  margin-right: 8px;
}

nav ul li.bars {
  float: right;
}
nav ul li a.bars:link,
nav ul li a.bars:visited {
  padding: 12px;
}
nav ul li a.bars i {
  font-size: 30px;
  color: #00498a;
}
nav ul li a.bars:hover {
  background: none;
}
nav ul li a.bars:hover i {
  color: rgba(0, 158, 192, 0.85);
}

nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  display: none;
  list-style: none;
  z-index: 101;
}
nav ul li.first ul {
  margin-left: 0;
}
nav ul li.selected ul {
  background: #fff;
  border-color: #e6e6e6;
}
nav ul ul li {
  float: left;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}
nav ul ul li a:link,
nav ul ul li a:visited,
nav ul li.hover ul li a:link,
nav ul li.hover ul li a:visited {
  float: left;
  width: 100%;
  margin: 0px;
  padding: 15px 24px;
  border: 0;
  background: rgba(22, 62, 114, 0.85);
  font-size: 15px;
  text-transform: none;
  color: #fff;
}
nav ul ul li a:hover {
}
nav ul li.on ul li a:hover,
nav ul li.hover ul li a:hover,
nav ul li ul li.hover a:link,
nav ul li ul li.hover a:visited {
  background: rgba(0, 158, 192, 1);
}
nav ul li ul li.hover a i {
  color: #fff;
}
nav ul ul li i {
  vertical-align: 0px;
  font-size: 11px;
  text-align: center;
  margin-right: 8px;
  color: #777;
}

nav ul ul ul {
  left: 100%;
  top: 0;
}

nav ul li.on ul ul li a:link,
nav ul li.on ul ul li a:visited,
nav ul li.hover ul ul li a:link,
nav ul li.hover ul ul li a:visited {
  background: rgba(0, 158, 192, 0.85);
}
nav ul li.on ul ul li a:hover,
nav ul li.hover ul ul li a:hover {
  background: rgba(0, 158, 192, 1);
}

nav ul.normal {
  position: relative;
  z-index: 101;
}

nav .more {
  position: fixed;
  z-index: 102;
  top: 0;
  left: 0;
  max-width: 80%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0 0 0 100%;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.1);
  background: #009ec0;
}
/*
nav .more {transition:margin-left .5s; -webkit-transform:translateZ(0);}
*/
nav .more .close {
  position: absolute;
  z-index: 103;
  right: 0px;
  top: 0px;
  padding: 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1em;
  text-decoration: none;
}
nav ul.show-mobile {
  display: none;
}
nav .more ul {
  position: relative;
  z-index: 101;
}
nav .more ul li {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
nav .more ul li a:link,
nav .more ul li a:visited {
  width: 100%;
  padding: 20px;
  border: 0;
  font-weight: 700;
  color: #fff;
}
nav .more ul li a:hover {
  color: #1897d3;
}
nav .more ul ul {
  position: relative;
  top: 0;
  left: 0;
  box-shadow: none;
  display: block;
}
nav .more ul ul.first {
}
nav .more ul ul.first li {
  border-top: 0;
}
nav .more ul ul.first li a:link,
nav .more ul ul.first li a:visited {
  padding-left: 40px;
  font-weight: normal;
  color: #fff;
}
nav .more ul ul.first li a:hover {
  color: #1897d3;
}
nav .more ul ul.second {
  border-top: 0;
}
nav .more ul ul.second li a:link,
nav .more ul ul.second li a:visited {
  padding-left: 60px;
  font-weight: normal;
  color: #fff;
}
nav .more ul ul.second li a:hover {
  color: #1897d3;
}
nav .more ul li.on a:link,
nav .more ul li.on a:visited {
  border: 0;
}

#response {
  float: left;
  width: 100%;
  height: 46px;
  margin: -10px 0 15px 0;
}
#response .inner {
  width: 950px;
  margin: 0 auto;
  padding: 5px 20px;
  border: 1px solid #efed98;
  border-radius: 3px;
  color: #7d7f56;
  background-image: url('images/highlight.gif');
}
#response img {
}
#response cite {
  color: #666;
}
#response p {
  padding: 0 0 0 20px;
  float: none;
  line-height: 36px;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

.hero {
  position: relative;
  z-index: 2;
  height: 490px;
}
.hero-image {
  height: 100%; /* background-attachment:fixed !important;*/
}

.hero .prev,
.hero .next {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 0;
  width: 28px;
  height: 100%;
  margin-left: -475px;
  background: url('/images/hero-arrows.png') left center no-repeat;
}
.hero .next {
  left: auto;
  right: 50%;
  margin-left: 0;
  margin-right: -475px;
  background-position: right center;
}

.hero-sub {
  height: 275px;
}

.welcome {
  position: relative;
  z-index: 3;
  padding: 100px 0;
  background: #009ec0;
  color: #fff;
  font-size: 18px;
  line-height: 23px;
}
.welcome h2 {
  margin: 0 0 30px 0;
  font-size: 78px;
  line-height: 1em;
}
.welcome a:link,
.welcome a:visited {
  color: #fff;
}

.clouds {
  position: absolute;
  top: 0;
  left: 50%;
  margin: -75px 0 0 96px;
  width: 429px;
  height: 235px;
  background: url('/images/clouds.png');
}
.clouds div {
  margin: 60px 0 0 60px;
  width: 145px;
  color: #009ec0;
  font-size: 16px;
  line-height: 19px;
}

.values {
  padding: 100px 0;
  background: #163e72;
  color: #dee1e7;
  font-size: 28px;
  line-height: 1em;
  font-family: 'Avenir Black';
}
.values h2 {
  float: left;
  margin: 0;
  font-size: 78px;
  line-height: 1em;
}

.values .value {
  float: left;
  margin: 0 0 0 85px;
  padding: 115px 0 0 0;
  text-align: center;
  background: url('/images/values.png') center no-repeat;
}
.values .value-respect {
  background-position: 50% 4px;
}
.values .value-responsibility {
  background-position: 50% -146px;
}
.values .value-fairness {
  background-position: 50% -270px;
}

.home-page .events {
  padding: 60px 0;
  background: #f1f1f1;
}
.home-page .events .event {
  float: left;
  width: 395px;
  margin: 0 70px 0 0;
  padding: 30px 36px;
  background: #fff;
  border-radius: 3px;
}
.home-page .events .event img {
  width: 100%;
  height: auto;
  margin: 0 0 24px 0;
}
.home-page .events .event h2 {
  margin: 0 0 15px 0;
  color: #163e72;
  font-size: 38px;
  line-height: 41px;
}
.home-page .events .event .date {
  margin: 0 0 15px 0;
  color: #939290;
}
.home-page .events .event .snip {
  font-family: 'Avenir Medium', sans-serif;
  color: #163e72;
}
.home-page .events .event h2 a:link,
.home-page .events .event h2 a:visited {
  text-decoration: none;
}

.main {
  position: relative;
}

.left-bg {
  position: absolute;
  z-index: 1;
  left: 0px;
  top: 0px;
  right: 50%;
  bottom: 0px;
  margin: 0 238px 0 0;
  background: #009ec0;
}
.middle-bg {
  position: absolute;
  z-index: 1;
}

.main .middle {
  position: relative;
  z-index: 2;
  float: right;
  width: 700px;
  min-height: 750px;
  margin: 0 0 0 40px;
  padding: 85px 0 139px 40px;
  font-size: 18px;
  line-height: 25px;
  color: #939290;
}
.main .middle h1 {
  float: left;
  margin: 0 0 40px 0;
  font-size: 78px;
  line-height: 1em;
  font-family: 'Avenir Black', sans-serif;
  color: #009ec0;
}
.main .middle h2 {
  float: left;
  clear: left;
}
.main .middle h3 {
  float: left;
  clear: left;
  margin: 0 0 18px 0;
  font-size: 32px;
  line-height: 1.2em;
  font-family: 'Avenir Black', sans-serif;
  color: #163e72;
}
.main .middle h4 {
  float: left;
  clear: left;
  margin: 0 0 1em 0;
  font-family: 'Avenir Black', sans-serif;
}
.main .middle p {
  font-size: 18px;
  line-height: 25px;
}
.main .middle ul {
  clear: left;
}
.main .middle a:link,
.main .middle a:visited {
  color: #009ec0;
}
.main .middle a:hover {
  text-decoration: none;
}
.main .middle table {
  float: left;
  width: 100%;
  margin: 0 0 1em 0;
}
.main .middle table th {
  padding: 10px;
  border: 1px solid #d7d7d7;
  font-family: 'Avenir Black', sans-serif;
}
.main .middle table td {
  padding: 10px;
  border: 1px solid #d7d7d7;
}

.main .left {
  position: relative;
  z-index: 2;
  float: right;
  width: 220px;
  padding: 85px 0 0 0;
}

ul.subnav {
  margin: 0 0 100px 0;
  list-style: none;
  font-size: 18px;
}
ul.subnav li {
  float: left;
  padding: 0;
  width: 100%;
}
ul.subnav li a:link,
ul.subnav li a:visited {
  float: left;
  padding: 8px 16px 8px 0;
  text-decoration: none;
  color: #fff;
}
ul.subnav li a:hover {
  text-decoration: underline;
}
ul.subnav li:last-child a {
}
ul.subnav li.suboff a:link,
ul.subnav li.suboff a:visited,
ul.subnav li.subon a:link,
ul.subnav li.subon a:visited {
  padding: 8px 8px 8px 24px;
  font-size: 14px;
}
ul.subnav li.second a:link,
ul.subnav li.second a:visited {
  padding: 8px 8px 8px 30px;
  font-size: 14px;
}
ul.subnav li.on a:link,
ul.subnav li.on a:visited,
ul.subnav li.subon a {
  font-family: 'Avenir Black', sans-serif;
}
ul.subnav li.subtitle a:link,
ul.subnav li.subtitle a:visited {
  font-weight: 700;
}
ul.subnav li.title {
  list-style: none;
}
ul.subnav li.title a:link,
ul.subnav li.title a:visited {
  font-size: 30px;
  font-family: 'Avenir Black';
  text-decoration: none;
  border: none;
}
ul.subnav li.title a:hover {
}

footer {
  position: relative;
  z-index: 2;
  min-height: 196px;
  padding: 30px 0;
  background: #939290;
  color: #fff;
  font-size: 12px;
}
footer .inner {
  width: 860px;
  margin: 0 auto;
}

footer .left {
  float: left;
  width: 50%;
  padding: 12px 0 0 0;
}
footer .left img {
  margin: 0 0 10px 0;
}

footer .right {
  float: right;
  width: 50%;
  text-align: right;
}

footer p {
  margin: 0 0 1em 0;
}
footer a:link,
footer a:visited {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
footer .pipe {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.5);
}

footer img {
  vertical-align: top;
}
footer .sa_gov_au_logo {
  margin: 12px 30px 0 0;
}

.quicklinks {
  position: relative;
  z-index: 3;
  padding: 130px 0;
  background: #f1f1f1;
}
.quicklinks .leaves {
  float: right;
  width: 545px;
  height: 119px;
  margin: -184px 0 0 0;
  background: url('/images/page-leaves.png') center no-repeat;
}

.quicklinks a.link:link,
.quicklinks a.link:visited {
  float: left;
  width: 192px;
  height: 192px;
  margin: 0 0 0 60px;
  background-color: #ccc;
  border-radius: 96px;
  font-family: 'Avenir Black', sans-serif;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
}
.quicklinks a.link:hover {
  padding-top: 10px;
  background: #d8d8d8;
  color: #939290;
}
.quicklinks a.link:first-child {
  margin-left: 0;
}
.quicklinks a.link .middle {
  width: 192px;
  height: 192px;
  display: table-cell;
  vertical-align: middle;
  padding: 0 20px;
  text-align: center;
}
.quicklinks a.link .more {
  display: none;
  margin: 15px 0 0 0;
  padding: 8px 12px;
  border-radius: 3px;
  border-bottom: 2px solid #767676;
  background: #939290;
  color: #fff;
  font-size: 14px;
  line-height: 1em;
}
.quicklinks a.link:hover .more {
  display: inline-block;
}

.quicklinks a.link-termdates {
  background: url('/images/quicklink-termdates.png') center no-repeat;
}
.quicklinks a.link-events {
  background: url('/images/quicklink-events.png') center no-repeat;
}
.quicklinks a.link-facebook:link,
.quicklinks a.link-facebook:visited {
  background: url('/images/quicklink-facebook.png') center no-repeat;
}
.quicklinks a.link-facebook .middle {
  display: none;
}
.quicklinks a.link-facebook:hover {
  background: #d8d8d8;
}
.quicklinks a.link-facebook:hover .middle {
  display: table-cell;
}
.quicklinks a.link-newsletter {
  background: url('/images/quicklink-newsletter.png') center no-repeat;
}
.quicklinks a.link-howtoenrol {
  background: url('/images/quicklink-howtoenrol.png') center no-repeat;
}

.home-page .quicklinks {
  background: #fff;
}
.home-page .quicklinks .leaves {
  float: left;
  width: 543px;
  height: 125px;
  margin-left: -170px;
  background-image: url('/images/home-leaves.png');
}

.sitemap {
  float: left;
  clear: left;
}
.sitemap a:link,
.sitemap a:visited {
  float: left;
  clear: left;
  width: auto;
  min-width: 150px;
  background: url('/images/page-tree.gif') 0px 8px repeat-y;
  line-height: 1.4em;
}
.sitemap a span {
  display: block;
  float: left;
  padding: 0 5px;
  width: 100%;
  height: 100%;
  line-height: 2em;
  background: #fff;
}
.sitemap a.root {
  font-family: 'Avenir Black', sans-serif;
}
.sitemap a:hover span {
  text-decoration: underline;
}

.search-results .search-result {
  float: left;
  clear: left;
  width: 100%;
  margin: 0 0 5px 0;
  padding: 15px;
  background: #f1f1f1;
}
.search-results a:link,
.search-results a:visited {
  text-decoration: none;
}
.main .middle .search-results a:hover {
  text-decoration: underline;
}
.search-results .highlight {
  padding: 0 3px;
  background: #5ac3d6;
  color: #fff;
}

.news-list {
  float: left;
  width: 100%;
  margin: 0 0 10px 0;
  padding: 20px;
  background: #f1f1f1;
  border-radius: 3px;
}
.news-list img {
  float: left;
  width: 100px;
  height: auto;
  margin: 0 20px 0 0;
}
.news-list .text {
  float: left;
  width: 500px;
}
.main .middle .news-list h2 {
  margin: 0 0 15px 0;
  color: #00498a;
  font-size: 38px;
  line-height: 41px;
}
.news-list .date {
  clear: left;
  margin: 0 0 15px 0;
  color: #939290;
}
.news-list .snip {
  font-family: 'Avenir Medium', sans-serif;
  color: #163e72;
}
.main .middle .news-list h2 a:link,
.main .middle .news-list h2 a:visited {
  text-decoration: none;
  color: #00498a;
}

.show-mobile {
  display: none;
}
.hide-mobile {
}

@media all and (max-width: 1020px) {
  .panel .inner {
    width: 100%;
  }

  .left-bg {
    display: none;
  }
  .middle-bg {
    display: none;
  }

  header {
    padding: 0;
  }
  header .logo {
    margin: 0 0 0 20px;
  }
  header .phone {
    margin: 0 20px 0 0;
  }

  nav {
    float: none;
    display: inline-block;
    text-align: center;
  }

  nav ul {
    float: none;
    width: 100%;
    text-align: center;
  }
  nav ul.more,
  nav ul ul {
    padding: 0;
  }

  nav ul li {
    float: none;
    display: inline-block;
  }

  .main .left {
    float: right;
    width: 100%;
    padding: 30px;
    background: #009ec0;
  }
  .main .middle {
    float: right;
    width: 100%;
    min-height: 1px;
    margin: 0;
    padding: 30px;
  }

  .hero-image {
    background-attachment: scroll !important;
  }

  ul.subnav {
    margin: 0 0 20px 0;
    min-height: 1px;
  }

  footer {
    padding: 30px;
  }

  .quicklinks {
    padding: 90px 30px 30px 30px;
    text-align: center;
  }
  .quicklinks .leaves {
    margin-top: -144px;
  }
  .quicklinks .links {
    display: inline-block;
  }
  .quicklinks a.link:link,
  .quicklinks a.link:visited {
    float: none;
    clear: none;
    margin: 0 30px;
    margin-bottom: 60px;
    display: inline-block;
  }

  .welcome {
    padding: 60px 30px;
  }
  .welcome br {
    display: none;
  }

  .values {
    padding: 60px 30px;
    text-align: center;
  }
  .values h2 {
    float: none;
    margin: 0 0 60px 0;
  }
  .values h2 br {
    display: none;
  }
  .values .value {
  }
  .values .value-respect {
    margin-left: 0;
  }

  .home-page .events {
    padding: 30px;
    text-align: center;
  }
  .home-page .events .event {
    float: none;
    display: inline-block;
    margin: 0;
    vertical-align: top;
  }
  .home-page .events .event:first-child {
    margin-top: 0;
  }
}

@media all and (max-width: 768px) {
  .show-mobile {
    display: inline-block;
  }
  .hide-mobile {
    display: none;
  }

  header {
    padding: 30px 0 0 0;
    background: none;
    text-align: center;
  }
  header .logo {
    float: none;
    width: auto;
    margin: 0;
    display: block;
  }
  header .right {
    float: none;
    display: block;
    width: 100%;
  }
  header .right .birthyear7 {
    text-align: center;
  }
  header .right .links a {
    display: block;
    margin: 0 auto !important;
    width: 90%;
  }

  div#google_translate_element {
    display: block;
    width: 100%;
    float: none !important;
  }

  .goog-te-gadget-simple {
    width: 100%;
  }
  header img {
    margin: 0;
  }
  header .birthyear7 {
    float: none;
    display: inline-block;
    margin: 20px 0 0 0 !important;
    width: 100%;
    text-align: center;
    color: #ccc;
  }

  .search {
    display: none;
  }

  nav ul.show-mobile {
    display: inline-block;
  }

  .main .middle h1 {
    font-size: 48px;
  }

  .body {
    overflow-x: hidden;
    min-height: 1px;
    margin-bottom: 0;
  }

  .hero {
    max-height: 400px;
  }

  .quicklinks .divider {
    display: none;
  }
  .quicklinks .section {
    width: 50%;
    margin: 0 0 20px 0;
  }

  footer {
    height: auto;
    min-height: 81px;
  }
  footer .left,
  footer .right {
    display: inline-block;
    float: none;
    width: 100%;
    text-align: center;
  }
  footer .right {
    margin-top: 30px;
  }

  .values {
    text-align: center;
  }
  .values h2 {
    float: none;
    margin: 0 0 30px 0;
    text-align: left;
  }
  .values h2 br {
    display: none;
  }
  .values .value {
    display: inline-block;
    float: none;
    clear: left;
    margin: 30px 30px 0 30px;
  }
}

@media all and (max-width: 630px) {
  .hero {
    max-height: 300px;
  }

  .clouds {
    display: none;
  }
}

@media all and (max-width: 568px) {
  .promos .center {
    width: 211px;
  }
}

@media all and (max-width: 509px) {
  .quicklinks .links {
    width: 192px;
  }
  .quicklinks .links a:visited,
  .quicklinks .links a:link {
    margin-left: 0;
  }
}

@media all and (max-width: 455px) {
  .home-page .events {
    padding: 30px 0 0 0;
  }
  .home-page .events .event {
    margin: 0 0 30px 0;
    width: 100%;
  }
}

@media all and (max-width: 560px) {
  header .logo {
    display: inline-block;
    width: 100%;
    text-align: center;
  }
  header .phone {
    float: none;
    display: inline-block;
    width: 100%;
    margin: 20px 0 0 0;
    text-align: center;
  }

  header h1 {
    font-size: 36px;
  }

  .promos {
    width: 100%;
    text-align: center;
  }
  .promos a:link,
  .promos a:visited {
    margin: 30px 0 0 0;
  }
  .promos a:first-child {
    margin: 0;
  }

  .our-team img {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 20px 0;
  }

  .welcome h2,
  .values h2 {
    font-size: 60px;
  }
}

@media all and (max-width: 320px) {
  nav ul li a:link,
  nav ul li a:visited {
    padding: 20px 15px;
  }

  .welcome h2,
  .values h2 {
    font-size: 48px;
  }
}

.header-image {
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  background: #fff !important;
  padding: 4px;
  max-width: 98%;
  margin: 0 0 20px 0;
  display: inline-block;
}

.header-image img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
  height: auto;
}

.gallery {
  float: left;
}

.gallery a.gallery-a {
  text-decoration: none !important;
}

.gallery img {
  width: calc(650px / 3 - 30px);
}

@media all and (max-width: 1020px) {
  .gallery img {
    width: 23%;
  }
}
@media all and (max-width: 800px) {
  .gallery img {
    width: 32%;
  }
}
@media all and (max-width: 600px) {
  .gallery img {
    width: 48%;
  }
}
@media all and (max-width: 450px) {
  .gallery img {
    width: 98%;
  }
}

/*
POST IT NOTE
*/
.hero .post-it {
  position: absolute;
  z-index: 5;
  top: 317px;
  left: 33px;
  margin: 0;
  padding: 113px 40px 0 27px;
  width: 309px;
  height: 270px;
  background: url(/images/post-it-note.png);
  background-repeat: no-repeat;
}
.hero .post-it .post-it-text p {
  margin-bottom: 8px;
}
@media all and (max-width: 768px) {
  .hero .post-it {
    left: -53px;
    top: 135px;
    transform: scale(0.6);
  }
}
@media all and (max-width: 630px) {
  .hero .post-it {
    left: -63px;
    top: 49px;
    transform: scale(0.55);
  }
}
.hero .post-it .post-it-text {
  height: 125px;
  overflow: hidden;
  position: relative;
  top: -13px;
  left: 17px;
}

.hero .post-it .post-it-arrow {
  position: absolute;
  right: 79px;
  bottom: 37px;
}

nav {
  position: relative;
}
nav .search {
  display: none;
  position: absolute;
  right: 0;
  z-index: 500;
  top: -25px;
}
@media all and (max-width: 1020px) {
  nav .search {
    display: none;
  }
}

/*
  CALENDAR
*/
/* Calendar */
@media all and (max-width: 650px) {
  .calendar-full {
    display: none;
  }
  .responsive-iframe-container {
    padding-bottom: 150%;
  }
}

@media all and (min-width: 650px) {
  .calendar-agenda {
    display: none;
  }
}

.sub-page .main .calendar {
  width: 100%;
  margin: 10px 0 0;
  border-collapse: separate;
}

.sub-page .main .calendar * {
  font-family: Roboto, Arial, Verdana, Helvetica, sans-serif !important;
  /*float: none !important;*/
  color: #292929;
}

.sub-page .main .calendar tbody td {
  background: #fff;
}

.sub-page .main .calendar tr {
  background: #fff;
}

.sub-page .main .calendar td {
  padding: 0 !important;
}

.sub-page .main .calendar thead tr .fa {
  font: normal normal normal 14px/1 FontAwesome !important;
}

.sub-page .main .calendar thead tr td {
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  background: #f2f2f2;
  height: 40px;
  text-align: center;
  vertical-align: middle;
}

.sub-page .main .calendar thead tr td:first-child {
  border-left: 1px solid #e6e6e6;
  border-right: none;
}

.sub-page .main .calendar .header th {
  border: none !important;
}

.sub-page .main .calendar thead tr td:last-child {
  border-right: 1px solid #e6e6e6;
  border-left: none;
}

.sub-page .main .calendar .month-view.body {
  float: none;
}

.sub-page .main .calendar thead tr td a:link {
  float: left;
  width: 100%;
  height: 40px;
  line-height: 40px;
}

.sub-page .main .calendar td {
  line-height: 18px;
}

.sub-page .main .calendar thead tr td a:visited {
  float: left;
  width: 100%;
  height: 40px;
  line-height: 40px;
}

.sub-page .main .calendar thead tr td a:hover {
  background: #eaeaea;
  background: linear-gradient(to bottom, #eaeaea, #f0f0f0);
  text-decoration: none;
}

.sub-page .main .calendar thead tr th {
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  background: #f2f2f2;
  text-align: center;
  font-weight: 700;
  border-right: none;
  border-left: none;
}

.sub-page .main .calendar tbody tr th {
  width: 14.3%;
  height: 40px;
  padding: 5px;
  font-weight: 700;
  text-align: left;
  vertical-align: bottom;
  font-size: 14px;
}

.sub-page .main .calendar tbody tr td {
  border: 1px solid #e6e6e6;
  text-align: left;
  vertical-align: top;
  height: 100px;
}

.sub-page .main .calendar tbody tr td .day {
  float: left;
  width: 100%;
  height: 100%;
  font-size: 12px !important;
}

.sub-page .main .calendar tbody tr td .day * {
  font-size: 12px !important;
}

.sub-page .main .calendar tbody tr td:hover .day {
  background: #f3f3f3;
  text-decoration: none;
}

.sub-page .main .calendar tbody tr td .number {
  float: left;
  width: 100%;
  height: 24px;
  padding: 5px;
  text-align: left;
  font-size: 80%;
  color: #999;
}

.sub-page .main .calendar tbody tr td .events {
  float: left;
  width: 100%;
}

.sub-page .main .calendar tbody tr td a:link {
  float: left;
  clear: left;
  margin: 0 0 2px;
  padding: 2px 5px;
  font-size: 80%;
  color: #999;
  text-decoration: none !important;
}

.sub-page .main .calendar tbody tr td a:visited {
  float: left;
  clear: left;
  margin: 0 0 2px;
  padding: 2px 5px;
  font-size: 80%;
  color: #999;
  text-decoration: none !important;
}

.sub-page .main .calendar tbody tr td a.allday:link {
  padding: 2px 5px;
  background: #eaeaea;
  border-radius: 2px;
}

.sub-page .main .calendar tbody tr td a.allday:visited {
  padding: 2px 5px;
  background: #eaeaea;
  border-radius: 2px;
}

.sub-page .main .calendar tbody tr td a.multiday:link {
  width: 100%;
  padding: 2px 5px;
  background: #eaeaea;
  border-radius: 0;
}

.sub-page .main .calendar tbody tr td a.multiday:visited {
  width: 100%;
  padding: 2px 5px;
  background: #eaeaea;
  border-radius: 0;
}

.sub-page .main .calendar tbody tr td.blank {
  background: #e4e4e4;
  border: 1px solid #ddd;
}

.sub-page .main .calendar tbody tr td.blank:hover .day {
  background: #ddd;
}

.sub-page .main .calendar tbody tr td.weekend .day {
  background: #f7f7f7;
}

.sub-page .main .calendar tbody tr td.weekend:hover .day {
  background: #f3f3f3;
  text-decoration: none;
}

.sub-page .main .calendar tbody tr td.today .day {
  background: #ffc;
}

.sub-page .main .calendar tbody tr td.today:hover .day {
  background: #ffffa9;
}

.sub-page .main .calendar tbody tr td.current .day {
  background: #2382ef;
  color: #fff;
  font-weight: 700;
}

.sub-page .main .calendar tbody tr td.current:hover .day {
  background: #2382ef;
}

.sub-page .main .calendar tbody.agenda-view {
  display: none;
}

.sub-page .main .calendar tbody.agenda-view tr.agenda-day.empty {
  display: none;
}

@media all and (max-width: 600px) {
  .sub-page .main .calendar tbody.month-view {
    display: none;
  }
  .sub-page .main .calendar tbody.agenda-view {
    display: table-row-group;
  }
}
