/*
Theme Name: Anthony Rothe Memorial Trust
Theme URI: http://www.anthonyrothememorialtrust.org.au
Description: Anthony Rothe Memorial Trust
Version: 1.0
Author: Hopping Mad Design
Author URI: http://hoppingmad.com.au
*/
/*! ==========================================================================
   This was built with SASS (http://sass-lang.com/). If you're going to
   edit this CSS, please edit the .scss files found in the /css/ folder and
   re-compile so it's up-to-date.
========================================================================== */
*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

body {
  font: 62.5% 'eau_doucesans_regular', sans-serif;
  color: #333;
  background: url(images/bg.png) repeat;
}

/* ==========================================================================
   Typography
========================================================================== */
@font-face {
  font-family: 'eau_doucesans_bold';
  src: url("fonts/eau_douce_sans_bold-webfont.eot");
  src: url("fonts/eau_douce_sans_bold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/eau_douce_sans_bold-webfont.woff") format("woff"), url("fonts/eau_douce_sans_bold-webfont.ttf") format("truetype"), url("fonts/eau_douce_sans_bold-webfont.svg#eau_doucesans_bold") format("svg");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'eau_doucesans_regular';
  src: url("fonts/eau_douce_sans_regular-webfont.eot");
  src: url("fonts/eau_douce_sans_regular-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/eau_douce_sans_regular-webfont.woff") format("woff"), url("fonts/eau_douce_sans_regular-webfont.ttf") format("truetype"), url("fonts/eau_douce_sans_regular-webfont.svg#eau_doucesans_regular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'eau_doucesans_light';
  src: url("fonts/eau_douce_sans_light-webfont.eot");
  src: url("fonts/eau_douce_sans_light-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/eau_douce_sans_light-webfont.woff") format("woff"), url("fonts/eau_douce_sans_light-webfont.ttf") format("truetype"), url("fonts/eau_douce_sans_light-webfont.svg#eau_doucesans_regular") format("svg");
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6, p, li {
  margin: 0;
  padding: 0;
}

h1, h5, a {
  font-family: 'eau_doucesans_bold';
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
}

ul,
p {
  margin-bottom: 15px;
}

h1 {
  font-size: 2.8em;
}
h1:nth-of-type(1) {
  border-bottom: 5px solid #67b9ba;
  padding-bottom: 10px;
}

h2 {
  font-size: 1.8em;
  color: #02306b;
}

h3 {
  font-size: 1.6em;
  color: #02306b;
}

h5 {
  font-size: 2em;
}

h6 {
  font-size: 1.8em;
}

p,
li {
  font-size: 1.6em;
}

a {
  color: #168e90;
  text-decoration: none;
}

ul {
  margin: 0 0 15px 15px;
  padding: 0;
}

b,
strong,
.bold {
  font-family: 'eau_doucesans_bold';
}

hr {
  border: 0;
  height: 1px;
  background: #333;
  background-image: -webkit-linear-gradient(left, #ececec, #d5d5d5, #ececec);
  background-image: -moz-linear-gradient(left, #ececec, #d5d5d5, #ececec);
  background-image: -ms-linear-gradient(left, #ececec, #d5d5d5, #ececec);
  background-image: -o-linear-gradient(left, #ececec, #d5d5d5, #ececec);
}

/* ==========================================================================
   Grid(s)
========================================================================== */
.grid {
  background: white;
  margin: 0 0 20px 0;
}
.grid:after {
  content: "";
  display: table;
  clear: both;
}

[class*='col-'] {
  float: left;
  padding-right: 20px;
}
.grid [class*='col-']:last-of-type {
  padding-right: 0;
}

.col-1 {
  width: 100%;
  padding-right: 20px !important;
}

.col-2-3 {
  width: 66.66%;
}

.col-1-3 {
  width: 33.33%;
}

.col-1-2 {
  width: 50%;
}

.col-1-4 {
  width: 25%;
}

.col-1-8 {
  width: 12.5%;
}

.grid-pad {
  padding: 0 0 20px 20px;
}
.grid-pad [class*='col-']:last-of-type {
  padding-right: 20px;
}

.half-pad {
  padding: 10px !important;
}

/* ==========================================================================
   Layout
========================================================================== */
.page-wrap {
  width: 960px;
  margin: 0 auto;
  background: white;
}

.site-header,
.site-footer,
.main-nav,
.slider {
  width: auto;
}

.site-header {
  height: 140px;
  position: relative;
}

.login-header .search-form {
  margin-right: 35px;
}
.login-header .search-click {
  margin-right: 75px !important;
}
.login-header .logout-button {
  float: right;
  margin-top: -27px;
}
.login-header .logout-button a {
  display: block;
  font-size: 16px;
  color: #67b9ba;
}
.login-header .logout-button a:hover {
  color: #666;
}
.login-header .header-search:after {
  display: none;
}

.single-applications .logout-button {
  display: none !important;
}

.logo,
.header-search {
  display: block;
  height: 90px;
}

.logo {
  width: 320px;
  position: absolute;
  top: 0;
  left: -20px;
  background: url(images/logo.png) 0 100% no-repeat;
  box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.3);
}

.header-search {
  float: right;
  display: block;
  text-align: right;
}

.search-toggle {
  display: block;
  position: absolute;
  right: 0;
  top: 40px;
  width: 22px;
  height: 21px;
  background: url(images/search-toggle.png) no-repeat;
}

.main-nav {
  height: 50px;
  background: #ddd;
}

.slider {
  height: 320px;
}

.main-content,
.sidebar {
  margin-top: -20px;
  position: relative;
}

.main-content {
  margin-top: -41px;
}

.header-bare {
  margin-top: 20px;
}

.highlight-content {
  padding: 20px;
  background: #d0e8e9;
  border: 1px solid #e2e2e2;
  word-wrap: break-word;
}

.content-trustees {
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 20px 20px 10px 20px;
  margin-bottom: 20px;
}
.content-trustees h2 {
  margin: 0;
  padding: 0;
}
.content-trustees .trustee-title {
  display: block;
  margin: 0 0 25px 0;
  padding: 0;
  font: 20px "eau_doucesans_light";
  color: #022e66;
}

.load-search-form {
  font-size: 16px;
}

.application-message {
  border: 1px solid #d5d5d5;
  padding: 20px;
  border-radius: 5px;
}

.login {
  width: 295px;
  margin: 0 auto;
  padding-bottom: 150px;
}
.login h1 {
  text-align: center;
  font-family: 'eau_doucesans_light';
  color: #02326d;
}

.mobile-description {
  display: none;
}

#content {
  width: 50%;
  padding: 20px;
  margin-top: -62px;
  position: relative;
}
#content h2 {
  font-size: 2.8em;
  font-family: 'eau_doucesans_bold';
  color: #333;
}
#content h2:nth-of-type(1) {
  border-bottom: 5px solid #67b9ba;
  padding-bottom: 10px;
}

#signup-welcome .h3 {
  padding: 0 !important;
  font-size: 0.875em !important;
  font-family: 'eau_doucesans_bold' !important;
}

.site-footer {
  clear: both;
  height: 95px;
  padding-top: 35px;
  overflow: hidden;
  background: url(images/bg-footer.png) no-repeat;
}
.site-footer p {
  color: white;
  font-size: 1.4em;
}
.site-footer a {
  color: white;
  font: 14px 'eau_doucesans_regular';
  padding: 0 5px;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer a.design-by {
  padding-left: 80px;
  font-size: 0.875em;
}
.site-footer .site-by {
  font-size: 12px;
  padding-left: 140px;
}
.site-footer .site-by a {
  font-size: 12px;
}

.blog-content h2 {
  font-weight: bold;
  margin-bottom: 5px;
}
.blog-content h2 a {
  color: #022e66;
  font-size: 20px;
  margin: 0;
  padding: 0;
}
.blog-content a {
  display: block;
  margin-bottom: 35px;
  font-size: 16px;
}

.post-date,
.in-category {
  font: 16px "eau_doucesans_light";
}

.post-date {
  display: block;
  margin-bottom: 20px;
}

.in-category {
  color: #999999;
  font: 16px "eau_doucesans_light";
}
.in-category a {
  margin-bottom: 0;
  color: #999999;
  font: 16px "eau_doucesans_light";
  display: inline-block;
}

/* ==========================================================================
   Navigation
========================================================================== */
.main-nav {
  background: #022e66;
  position: absolute;
  bottom: 0;
  left: -13px;
  width: 985px;
  box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.3);
}
.main-nav ul,
.main-nav li {
  margin: 0;
  padding: 0;
}
.main-nav li {
  display: block;
  float: left;
}
.main-nav li:last-child a {
  border-right: 0;
}
.main-nav li:hover > .sub-menu {
  display: block;
}
.main-nav li.current_page_item a {
  color: #b9710a;
}
.main-nav li.current_page_item > .sub-menu a {
  color: white;
}
.main-nav li.current_page_item > .sub-menu a:hover {
  color: #b9710a;
}
.main-nav a {
  display: block;
  list-style-type: none;
  padding: 0 27px;
  margin-top: 10px;
  color: white;
  border-right: 1px solid #b9710a;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font: 16px/30px 'eau_doucesans_bold', sans-serif;
}
.main-nav a:hover {
  color: #b9710a;
}
.main-nav .sub-menu {
  display: none;
  background: #022e66;
  position: absolute;
  padding: 20px;
  z-index: 1000;
  display: none;
  width: 280px;
  line-height: 0;
}
.main-nav .sub-menu li,
.main-nav .sub-menu a {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  text-align: left;
}
.main-nav .sub-menu li:hover {
  color: #b9710a;
  border: none;
}
.main-nav .sub-menu a {
  border: none;
  line-height: 1.2em;
  padding: 10px 0;
  border-bottom: 1px solid #b9710a;
}

.footer-nav ul,
.footer-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li {
  display: inline;
}

/* ==========================================================================
   Mobile + Tablet Drop Down Menu.
========================================================================== */
.menu-toggle {
  position: absolute;
  right: 10px;
  top: 40px;
  z-index: 200;
  width: 32px;
  height: 22px;
  text-indent: -9000px;
  padding-left: 20px;
  background: url(images/menu-icon.png) no-repeat;
  background-size: 100% 100%;
}

.mobile-menu {
  display: none;
  width: 275px;
  height: 100%;
  position: absolute;
  top: 77px;
  right: 0;
  bottom: 0;
  background: #022e66;
  padding: 10px 35px 0 35px;
}
.mobile-menu ul,
.mobile-menu li {
  width: auto;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu a {
  width: auto;
  display: block;
  list-style-type: none;
  padding: 5px 0;
  color: white;
  border-bottom: 1px solid #b9710a;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  font: 16px/30px 'eau_doucesans_bold', sans-serif;
}
.mobile-menu a:hover {
  color: #b9710a;
}
.mobile-menu li:hover > .sub-menu {
  display: block;
}
.mobile-menu .sub-menu {
  display: none;
}
.mobile-menu .sub-menu a {
  padding-left: 20px;
}

/* ==========================================================================
   Form(s)
========================================================================== */
.header-search {
  cursor: pointer;
}
.header-search form {
  margin-top: 0 !important;
}
.header-search .search-box {
  width: 235px;
  border: 1px solid #dddddd;
  color: #c6c6c6;
  font-size: 1.6em;
  margin-top: 30px;
  padding: 10px 15px;
  border-radius: 2px;
}
.header-search .search-click {
  display: block;
  cursor: pointer;
  top: 40px;
  right: 31px;
  position: absolute;
  width: 20px;
  height: 20px;
  background: url(images/icon-search.png) no-repeat;
}

select {
  font-size: 14px;
}

.postform {
  margin-bottom: 20px;
}

.form-login {
  padding-bottom: 200px;
}

.user_login,
.user_pass {
  display: block;
}

.input-login-pass,
#user_login,
#user_pass {
  clear: left;
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  padding: 8px;
  margin-top: 7px;
  font-size: 16px;
}

/* Alterations to Gravity Forms for the Contact Us & Apply Pages.
========================================================================== */
#gform_1,
#gform_2 {
  width: 100%;
}

.gform_heading {
  display: none;
}

#gform_wrapper_1,
#gform_wrapper_2 {
  color: #333;
}
#gform_wrapper_1 .gfield,
#gform_wrapper_2 .gfield {
  width: 50%;
  min-height: 77px;
  float: left;
  padding-right: 20px;
  margin-bottom: 5px;
  position: relative;
  clear: none;
}
#gform_wrapper_1 .gfield:last-of-type,
#gform_wrapper_2 .gfield:last-of-type {
  padding-right: 0;
}
#gform_wrapper_1 .gfield input,
#gform_wrapper_1 .gfield textarea,
#gform_wrapper_1 .gfield .gfield_select,
#gform_wrapper_2 .gfield input,
#gform_wrapper_2 .gfield textarea,
#gform_wrapper_2 .gfield .gfield_select {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  padding: 8px;
  font-size: 16px;
}
#gform_wrapper_1 .gfield .gfield_select,
#gform_wrapper_2 .gfield .gfield_select {
  padding: 0;
}
#gform_wrapper_1 .gfield_select,
#gform_wrapper_2 .gfield_select {
  padding: 0;
}
#gform_wrapper_1 .gfield_select option,
#gform_wrapper_2 .gfield_select option {
  border: none;
}
#gform_wrapper_1 .gfield_label,
#gform_wrapper_2 .gfield_label {
  font-weight: normal;
}

#field_1_3 {
  width: 100% !important;
}

#field_1_6 {
  width: 33% !important;
}

#field_1_10 {
  width: 33% !important;
}

#field_1_11 {
  width: 33% !important;
}

#field_1_13,
#field_2_6 {
  clear: left !important;
}

#field_1_9,
#field_2_7 {
  clear: left;
  width: 100% !important;
}

#gform_submit_button_1 {
  width: 117px;
  height: 45px;
  border: none;
  text-indent: -9999px;
  cursor: pointer;
  background: url(images/button-send.png) no-repeat;
}
#gform_submit_button_1:hover {
  background: url(images/button-send-on.png) no-repeat;
}

#gform_confirmation_message_1 {
  font-size: 20px;
}

#gform_submit_button_2 {
  width: 142px;
  height: 44px;
  border: none;
  text-indent: -9999px;
  cursor: pointer;
  background: url(images/button-contact.png) no-repeat;
}
#gform_submit_button_2:hover {
  background: url(images/button-contact-on.png) no-repeat;
}

.gform_confirmation_message {
  font-size: 1.6em !important;
}

.validation_error {
  font-size: 1.6em !important;
}

/* ==========================================================================
   Buttons
========================================================================== */
.button {
  display: block;
}

.button-apply {
  width: 140px;
  height: 43px;
  background: url(images/button-apply.png) no-repeat;
}
.button-apply:hover, .button-apply:focus {
  background: url(images/button-apply-on.png) no-repeat;
}

.button-contact {
  width: 142px;
  height: 43px;
  background: url(images/button-contact.png) no-repeat;
}
.button-contact:hover, .button-contact:focus {
  background: url(images/button-contact-on.png) no-repeat;
}

.button-view {
  margin-top: 10px;
  width: 82px;
  height: 40px;
  background: url(images/button-view.png) no-repeat;
}
.button-view:hover, .button-view:focus {
  background: url(images/button-view-on.png) no-repeat;
}

.button-login,
.login #wp-submit {
  width: 144px;
  height: 45px;
  background: url(images/button-login.png) no-repeat;
  border: 0;
  text-indent: -9999px;
  text-align: center;
  margin: 0 auto;
}
.button-login:hover, .button-login:focus,
.login #wp-submit:hover,
.login #wp-submit:focus {
  background: url(images/button-login-on.png) no-repeat;
}

.go-back {
  font-size: 14px;
  text-align: right;
  padding: 20px;
}

/* ==========================================================================
   Sidebar
========================================================================== */
.sidebar a {
  font-size: 16px;
}

.sidebar-moduleless {
  padding: 20px 0 0 40px;
  margin-top: 5px;
}
.sidebar-moduleless h5 {
  margin-bottom: 5px;
}

.module {
  width: auto;
  margin: 0 20px 20px 0;
  padding: 20px;
  border-radius: 10px;
  background: url(images/bg-module.png) repeat;
  border: 1px solid #e1e1e1;
}
.module h5 {
  border-bottom: 4px solid white;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.module h5.no-border {
  border: 0;
}
.module ul {
  margin: 0 0 0 20px;
  padding: 0;
}
.module li {
  padding-bottom: 10px;
  list-style-image: url(images/list-style-module.png);
}
.module li:last-child {
  padding: 0;
}

.module-inner {
  padding: 10px;
  margin: 0;
  border: 5px solid #dddddd;
  box-shadow: inset 0 0 10px #aaaaaa;
}
.module-inner h5 {
  color: #022e66;
  border-bottom: 0;
}

.module-blank {
  background: none;
  border: none;
  padding: 0;
}

/* ==========================================================================
   Tables
========================================================================== */
.application-list {
  text-align: left;
  font-size: 1.6em;
  width: 100%;
  padding-right: 20px;
  word-break: break-all;
}
.application-list.header {
  font-family: 'eau_doucesans_bold';
  border-bottom: 1px solid #67b9ba;
  padding-right: 20px;
}
.application-list.grid-pad {
  padding-bottom: 20px;
}
.application-list .details {
  border-bottom: 1px solid #d8d8d8;
  margin-bottom: 20px;
}
.application-list .details:before, .application-list .details:after {
  content: " ";
  display: table;
}
.application-list .details:after {
  clear: both;
}
.application-list a {
  word-wrap: break-word;
}

/* ==========================================================================
   Pagination
========================================================================== */
.pagination {
  border-top: 1px solid #d0e8e9;
  border-bottom: 1px solid #d0e8e9;
}

.main-content .wp-pagenavi {
  height: 60px;
  padding: 15px 0;
  width: 380px;
  text-align: center !important;
  margin: 0 auto;
}

.main-content .wp-pagenavi a, .wp-pagenavi span {
  width: 30px;
  float: left;
  border: none;
  color: #666666;
  font-weight: normal !important;
  font-family: 'eau_doucesans_regular' !important;
  text-align: center;
  border-radius: 3px;
  margin-right: 20px;
}

.main-content .wp-pagenavi a:hover {
  background: #d0e8e9;
}

.main-content .pages {
  display: none;
}

.main-content .wp-pagenavi .first {
  display: none;
}

.main-content .wp-pagenavi .last {
  display: none;
}

.main-content .current {
  background: #d0e8e9;
  border: 0;
  color: auto;
  font-size: 16px;
  margin-right: 20px;
}

.main-content .extend {
  display: none;
}

.main-content .previouspostslink,
.main-content .nextpostslink {
  color: #ba720a !important;
  font-size: 16px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
  border: 0;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

.no-border {
  border: none !important;
}

/* ==========================================================================
   Responsiveness
========================================================================== */
@media (min-width: 780px) {
  .mobile-menu,
  .menu-toggle {
    display: none;
  }

  .hide-on-screen {
    display: none;
  }

  .login-header .main-nav {
    display: none;
  }
}
@media (max-width: 780px) {
  .page-wrap {
    width: 100%;
  }

  .site-header {
    height: 90px;
  }

  .header-search {
    position: absolute;
    right: 60px;
    top: 2px;
    z-index: 200;
  }

  .login-header .header-search {
    right: 0;
  }
  .login-header .main-nav {
    display: none;
  }

  .main-nav {
    width: 100%;
    top: 27px;
    left: 0;
  }
  .main-nav ul {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: absolute;
    z-index: 200;
  }

  .logo {
    z-index: 100;
  }

  .main-content {
    width: 100%;
    padding: 60px 20px 20px 20px;
    margin-bottom: 20px;
  }

  .slider {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: -13px;
  }
  .slider img {
    width: 100%;
  }

  .sidebar {
    width: 50%;
  }

  .login {
    padding-top: 100px;
  }

  .site-footer {
    text-align: center;
    padding-top: 20px;
  }
  .site-footer p {
    width: 290px;
    margin: 0 auto;
  }
  .site-footer a.design-by {
    display: block;
    padding-left: 0;
  }

  .menu-item-52,
  .menu-item-135,
  .menu-item-156 {
    display: none;
  }

  .hide-on-tablet {
    display: none;
  }

  .hide-on-mobile {
    display: none;
  }

  .hide-on-handheld {
    display: none;
  }
}
@media (min-width: 635px) {
  .search-toggle {
    display: none;
  }
}
@media (max-width: 635px) {
  .logo {
    width: 206px;
    height: 50px;
    background: url(images/logo-mobile.png) no-repeat;
  }

  .site-header {
    height: 50px;
  }

  .main-nav {
    top: 0;
  }

  .header-search {
    height: 50px;
  }

  .menu-toggle,
  .search-toggle {
    top: 13px;
  }

  .mobile-menu {
    top: 50px;
  }

  .search {
    display: none;
    background: #022e66;
    position: absolute;
    padding: 0 20px 20px 20px;
    right: -60px;
    top: 48px;
  }

  .header-search {
    padding: 0;
  }
  .header-search:after {
    display: none;
  }

  .login-header .main-nav {
    display: block;
    background: #eaebec;
  }
  .login-header .search-toggle {
    display: none;
  }
  .login-header .logout-button {
    margin-top: 18px;
    margin-right: 10px;
  }

  .application-list.header {
    display: none;
  }
  .application-list .col-1-4 {
    width: 100%;
  }
  .application-list .mobile-description {
    display: block;
  }

  .island .col-2-3 {
    width: 100%;
  }
}
@media (max-width: 470px) {
  .sidebar {
    width: 100%;
  }

  #gform_wrapper_1,
  #gform_wrapper_2 {
    color: #333;
  }
  #gform_wrapper_1 .gfield,
  #gform_wrapper_2 .gfield {
    width: 100%;
  }
}
