/*
Theme Name: VSACT
Author: Boojum Pty Ltd
Author URI: http://www.boojum.com.au/
Description: Custom WordPress theme for vscact.org.au website.
Version: 1.2
*/

body {
    font-family: 'PT Sans', sans-serif;
    margin: 0;
    padding: 0;
    text-align: left;
    font-weight: normal;
    font-size: 19px;
    color: #40687e;
    background: #fff;
    margin: 0 auto;
}

p, a, li {
    font-family: 'PT Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Varela Round', sans-serif;
    font-weight: normal;
}
h1 {
    font-size: 26px;
    color: #40687e;
}
h2 {
    font-size: 24px;
    color: #40687e;
}
h3 {
    font-size: 22px;
    color: #40687e;
}
h4 {
    font-size: 20px;
    color: #40687e;
}
h5 {
    font-size: 18px;
    color: #40687e;
}
h6 {
    font-size: 16px;
    color: #40687e;
}
p, a, li {
    font-size: 19px;
    line-height: 1.5em;
}

a {
    color: #0099f1;
}
a:hover {
    font-weight: bold;
}

.clearfix:after {
    clear: both;
    content: " ";
    height: 0;
    display: block;
    visibility: hidden;
}

.button {
    text-decoration: none;
    border-radius: 3px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    color: #fff;
    background: #999;
    display: inline-block;
    text-align: center;
    margin: 0px 0 20px 0;
    padding: 6px 10px;
}

.body-admin-pad {
  height: 32px;
  display: block;
}

#body-wrap {
    text-align: left;
    margin: auto;
    position: relative;
    background: #fff;
}

.header-abs {
  position: absolute;
  top: 0;
  width: 100%;
}
.header-logo {
  width: 200px;
  display: inline-block;
  vertical-align: top;
}
.top-logo {
  height: 140px;
  width: 140px;
  margin: 0 20px 0 40px;
  background: #fff;
  text-align: center;
  font-family: 'Varela Round', sans-serif;
  padding-top: 25px;
}
.top-logo a {
  height: 100%;
  display: block;
  text-decoration: none;
  color: #5d8aa4;
  font-size: 25px;
  font-weight: bold;
}
.top-logo img {
  height: 100%;
  background: #fff;
}
.header-col {
  width: calc(100% - 210px);
  display: inline-block;
  vertical-align: top;
}
.header-title {
  display: block;
  color: #fff;
  padding: 20px 0 15px 0;
  font-size: 24px;
  font-weight: normal;
}
.header-title i {
  color: #fff;
  font-size: 19px;
  padding-left: 10px;
}
.header-title .phonesm {
  font-size: 20px;
}

@media (max-width: 800px) {
  .header-abs {
    position: absolute;
    top: 0;
    width: 100%;
  }
  .header-col {
    float: none;
    width: 100%;
  }
  .header-logo {
    width: 150px;
  }
  .top-logo {
    width: auto;
    float: none;
    margin: 0 5px 0 5px;
  }
  .header-title {
    position: absolute;
    width: calc(100% - 160px);
    float: none;
    top: 0;
    right: 0;
    font-size: 19px;
    color: #000;
  }
  .header-title i {
    color: #000;
    padding-left: 0;
    font-size: 17px;
  }
  .header-title .phonesm {
    display: block;
    font-size: 17px;
  }
}

#main-menu {
    display: block;
    min-height: 55px;
    float: right;
    margin: 0 40px 0 0;
}

#main-menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
#main-menu li {
    text-align: left;
    box-sizing: border-box;
    display: block;
    float: left;
    margin: 0 0px 10px 15px;
}

#main-menu li a {
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    padding: 3px 12px;
    display: inline-block;
    border: 1px solid rgb(250,243,111);
    border-radius: 10px;
    font-weight: bold;
}

#main-menu li a:hover {
    font-weight: bold;
}

#main-menu li.current_page_item a,
#main-menu li.current-page-ancestor a {
    color: #000;
    background: rgb(250,243,111);
}


#hamburger-cont {
    display: none;
    width: 100%;
    float: left;
    z-index:100;
}

#main-menu .sub-menu {
    display: none;
    padding: 3px 0 0 0;

}
#main-menu .sub-menu li {
    float: none;
    margin: 2px 0 0 0;
}
#main-menu li:hover .sub-menu {
    position: absolute;
    display: block;
}

#main-menu .sub-menu li a {
    background: rgba(255,255,255,0.8);
    color: #000;
    font-weight: normal;
    border: 0;
    border-radius: 0;
}
#main-menu .sub-menu li a:hover {
    text-decoration: underline;
}
@media (max-width: 800px) {
    .header-abs-row {
        background: #fff;
    }
    #main-menu {
        display: none;
        position: static;
        background: rgba(64,104,126,0.8);
        margin: 0;
        float: none;
        border-top: 3px solid #fff;
    }
    #main-menu:after {
        clear: both;
        content: " ";
        height: 0;
        display: block;
        visibility: hidden;
    }
    .index #main-menu,
    #main-menu.on {
        display: block;
    }
    
    #main-menu.floating {
      display: block;
      /*position: fixed;
      top: 44px;*/
      width: 100%;
    }
    #main-menu.hidden {
        display: none;
    }
    
    #main-menu li {
        width: 100%;
        text-align: center;
        padding: 10px 10px;
        margin: 0;
    }
    #main-menu li a {
        text-shadow: none;
        padding: 10px 10px;
        font-size: 16px;
    }
    #main-menu li a:hover {
        text-shadow: none;
    }
    #main-menu li:hover .sub-menu {
        display: none;
    }
    #main-menu a.current {
        background: none;
    }
    #hamburger-cont {
        display: block;
        background: #40687e;
    }
    /*#hamburger-cont.floating {
      position: fixed;
      top: 0px;
    }*/

    .index #hamburger-cont #hamburger {
        display: none;
        visibility: hidden;
    }
    #hamburger {
        cursor: pointer;
        margin-right: 30px;
        padding: 5px;
        color: #fff;
        font-size: 38px;
        float: right;
    }
    .body-admin-pad {
       height: 46px;
    }
    #main-header {
      text-align: center;
    }
}

/* Search form in header */
#search {
  padding: 20px 0;
  text-align: right;
  color: #fff;
  font-weight: bold;
  font-size: 21px;
}
#search:after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
}
#search-form {
  display: none;
}
#search-form input[type=text] {
    padding: 8px 5px 8px 15px;
    width: 180px;
    font-size: 16px;
    background: none;
    color: #fff;
    border: 1px solid #fff;
    float: right;
    display: inline-block;

}
#search-form input[type=text]::-moz-placeholder { 
    color:    #fff;
    opacity:  1;
}
#search-form input[type=text]:-moz-placeholder { 
    color:    #fff;
    opacity:  1;
}
#search-form input[type=text]::-webkit-input-placeholder {
    color: #fff;
}
#search-form input[type=text]:-ms-input-placeholder {
    color: #fff;
}

@media (max-width: 800px) {
    #search {
        float: none;
        display: none;
    }
}

.home-banner {
    margin: 0;
    padding: 0;
    background: #40687e url('res/home-pic-v3.jpg') no-repeat 50% 110px;
    background-size: cover;
    height: 450px;
    width: auto;
}
.home-banner p {
    color: #fff;
    font-size: 22px;
}
.home-banner a {
    font-size: 22px;
    color: #f0ea69;
    text-decoration: none;
}
@media (max-width: 800px) {
    .home-banner {
        display: block;
        padding-top: 300px;
        background: #40687e url('res/home-pic-v3.jpg') no-repeat 50% 170px;
        background-size: 800px 311px;
        height: 100px;
    }
    .home-banner .container {
        margin: 0;
        padding: 0;
        width: 100%;
        float: left;
    }
    .home-banner p {
        font-size: 28px;
    }
}

.home-section-0 {
    padding: 5px 20%;
    margin: 0;
    text-align: center;
    background: #40687e;
    color: #fff;
}
.home-section-0 p {
    color: #fff;
}
.home-section-1 {
    padding: 10px 7% 40px 7%;
    margin: 0;
    text-align: center;
}
.home-section-1 h2 {
    font-size: 34px;
    font-weight: normal;
}
.home-section-2 {
    background: #f0bc1f url('res/home-news.jpg') no-repeat top left;
    background-size: cover;
    padding: 40px 7%;
    margin: 0;
    text-align: center;
}
.home-section-2 h3 {
    color: #fff;
    font-weight: normal;
}
.home-section-2 i {
    color: #40687e;
    font-size: 45px;
    padding-right: 10px;
}
.home-section-2 a {
    color: #fff;
    font-size: 24px;
}
.home-section-3 {
    padding: 10px 7% 10px 7%;
    margin: 0;
    text-align: center;
}
.home-section-3 h2 {
    line-height: 2em;
    padding: 0 30px;
    font-size: 34px;
    font-weight: normal;
}
.home-section-4 {
    padding: 40px 7%;
    margin: 0;
    background: #999 url('res/home-map.png') no-repeat top right;
    background-size: cover;
    min-height: 400px;

}
.home-section-4 h2 {
    line-height: 2em;
    padding: 0 30px;
    font-size: 34px;
    font-weight: normal;
}

.home-col {
    width: 30%;
    margin: 0 1%;
    float: left;
    box-sizing: border-box;
    min-height: 360px;
    background: #40687e;
    padding: 10px 15px;
}
.home-section-1 .home-col h3,
.home-section-1 .home-col h3 a {
    color: #faf564;
    font-weight: normal;
    text-decoration: none;
    font-size: 22px;
}
.home-section-1 .home-col h3 a:hover {
    text-decoration: underline;
}
.home-section-1 .home-col p {
    color: #fff;
}
.home-section-1 .home-col p a {
    border-radius: 10px;
    border: 1px solid #faf564;
    background: #40687e;
    color: #fff;
    text-decoration: none;
    padding: 5px 20px;
}
.home-section-1 .home-col p a:hover {
    color: #40687e;
    background: #faf564;
}
.home-col-2 {
    width: 46%;
    margin: 0 2%;
    float: left;
    box-sizing: border-box;
    min-height: 300px;
    padding: 10px;
    text-align: left;
}
.home-contact-img img {
    width: 100%;
    height: auto;
}
.home-address {
    width: 40%;
    background: rgba(255,255,255,0.7);
    padding: 20px;
}
.home-address p {
    color: #000;
}

@media (max-width: 800px) {
    .home-col {
        width: 100%;
        margin: 0 1% 30px 1%;
        min-height: auto;
    }
    .home-col-2 {
        width: 100%;
        margin: 0 1% 30px 1%;
    }
    .home-contact-img {
        text-align: left;
    }
    .home-address {
        width: 80%;
    }
}

.button-home {
    background: none;
    color: #1189f9;
    margin: 15px 0;
    padding: 6px 0;
    font-size: 18px;
}
.button-home i {
    padding-left: 3px;
    font-size: 12px;
}

#footer {
    text-align: left;
    background: rgb(66,104,125);
    padding: 10px 7%;
}
#footer a {
    color: #fff;
    font-size: 16px;
}
#footer p {
    font-size: 16px;
    color: #fff;
}
#footer i {
    font-size: 25px;
    padding-right: 5px;
}
#footer .col {
    float: left;
    box-sizing: border-box;
    width: 50%;
    padding: 2% 1%;
}
#footer .colright {
    text-align: right;
}

@media (max-width: 800px) {
    #footer {
        padding: 10px 10px;
    }
    #footer .col {
        width: 100%;
        padding: 0 1%;
    }
    #footer .colright {
        text-align: left;
    }
}

/******* page **********/

.col-wrap {
    background: #fff;
    margin: 0 7%;
}

.col-left {
    float: left;
    width: 30%;
    overflow: hidden;
    margin-top: 30px;
}
.col-right {
    float: left;
    min-height: 500px;
    margin-top: 30px;
    width: 65%;
    overflow: hidden;
}
@media (max-width: 800px) {
    .col-wrap {
        margin: 0;
    }
    .col-left {
        width: 100%;
        margin-top: 0;
        min-height: 0;
        border-right: none;
    }
    .col-right {
        width: 100%;
        margin-top: 0;
        min-height: 0;
        border-right: none;
    }
}

.page-banner {
    margin: 0; 
    padding: 0;
    background: #40687e url('res/page-banner-v1.jpg') no-repeat 50% 110px;
    background-size: cover;
    height: 300px;
    width: auto;
}
@media (max-width: 800px) {
    .page-banner {
        display: block;
        padding-top: 300px;
        background: #40687e url('res/page-banner-v1.jpg') no-repeat 50% 170px;
        background-size: 800px 330px;
    }
}

.breadcrumb {
    height: 50px;
    margin: 0;
    padding: 0;
    background: #40687e;
}
.page-breadcrumb {
    display: inline-block;
    margin: 15px 0 0 7%;
    padding: 0 0 0 20px;
}
.page-breadcrumb li {
    font-size: 17px;
    list-style-type: none;
    display: inline-block;
    padding: 0;
    color: #fff;
    text-transform: uppercase;
}
.page-breadcrumb a {
    color: #fff;
    text-decoration: none;
}
.page-breadcrumb a:hover {
    text-decoration: underline;
}

.page-menu {
    padding: 0 0 30px 0;
    border-right: 3px solid #e5e5e5;
}
.page-menu h3 {
   margin: 15px 20px 5px 20px;
}
.page-menu ul {
    margin: 0;
    padding: 0;
}
.page-menu li {
    list-style-type: none;
}
.page-menu li a {
    color: #0099f1;
    padding: 15px 20px 15px 20px;
    display: block;
}
.page-menu li a:hover {
    font-weight: bold;
}
.page-menu li li a, .page-menu li li a:hover {
    padding: 15px 10px 5px 40px;
}
.page-menu li li li a, .page-menu li li li a:hover {
    padding: 15px 10px 15px 79px;
    background-position: 59px 16px;
}
.page-menu .current_page_item > a {
    font-weight: bold;
}
/* page menu hide all children ul menus */
ul.children { 
    display: none;
}
/* page menu expand children of current page only */
li.current_page_item > .children,
li.current_page_ancestor > .children,
li.current_page_parent > .children { 
    display: block; 
}
@media (max-width: 800px) {
    .page-menu {
        border-left: none;
    }
}

.page-title {
    font-size: 34px;
    text-transform: uppercase;
    color: #40687e;
    margin: 0;
    padding: 30px 0 0 0;
    text-align: center;
}
@media (max-width: 800px) {
    .page-title {
        margin-left: 20px;
        max-width: none;
    }
}

#content {
    background: #fff;
    overflow: auto;
    box-sizing: border-box;
}
#content .container {
    padding: 0 30px 10px 30px;
}

@media (max-width: 800px) {
    #content .container {
        padding: 20px;
    }
}
#content img {
    max-width: 100%;
    height: auto;
}
#content img.alignright {float:right; margin:0 0 1em 1em}
#content img.alignleft {float:left; margin:0 1em 1em 0}
#content img.aligncenter {display: block; margin-left: auto; margin-right: auto}
#content a img.alignright {float:right; margin:0 0 1em 1em}
#content a img.alignleft {float:left; margin:0 1em 1em 0}
#content a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

#content blockquote {
    background: #e5e5e5;
    margin: 18px 0 30px 0;
    padding: 10px 20px;
}
#content blockquote h3 {
    font-weight: normal;
    position: static;
}
#content i {
    font-size: 25px;
    padding-right: 5px;
}

/* Search page */
.search-col {
    width: 75%;
    margin-top: 20px;
    clear: left;
    min-height: 400px;
}
.search-col .searchof {
    font-size: 14px;
}
.search-col .searchresults ul {
    padding: 0;
}
.search-col .searchresults li {
    list-style: none;
    padding-bottom: 15px;
}
.search-col .page-numbers {
    margin: 0 0 50px 15px;
}
.search-col .next,
.search-col .prev {
    text-decoration: none;
    border-radius: 20px;
    border: 0;
    color: #fff;
    background: #164f86;
    text-align: center;
    margin: 10px 10px 10px 0;
    padding: 4px 20px 4px 20px;
    cursor: pointer;
}
@media (max-width: 800px) {
    .search-col {
        width: 100%;
    }
}
td, th {
    vertical-align:top;
}
td {
    padding: 1%;
}

/* Contact */
.field-wrap>div input,
.field-wrap textarea {
    width: 100%;
    padding: 10px;
    font-size: 19px;
}
.field-wrap input[type=button] {
    border-radius: 10px;
    border: 0;
    color: #fff;
    padding: 5px 20px;
    background: #40687e;
    cursor: pointer;
    font-size: 19px;
}
.submit-wrap .nf-field-label {
    display: none !important;
}

