/*
Theme Name: Womens Health In the North
Author: Boojum Pty Ltd
Author URI: http://www.boojum.com.au/
Description: Custom WordPress theme for the WHIN website.
Version: 1.1
*/

@font-face {
  font-family: 'gillsanslight';
  src: url('res/fonts/gill-sans-light.eot');
  src: local('☺'), url('res/fonts/gill-sans-light.woff') format('woff'), url('res/fonts/gill-sans-light.ttf') format('truetype'), url('res/fonts/gill-sans-light.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BreeRegular';
  src: url('res/fonts/BreeRegular.eot');
  src: local('☺'), url('res/fonts/BreeRegular.woff') format('woff'), url('res/fonts/BreeRegular.ttf') format('truetype'), url('res/fonts/BreeRegular.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BreeThin';
  src: url('res/fonts/BreeThin.eot');
  src: local('☺'), url('res/fonts/BreeThin.woff') format('woff'), url('res/fonts/BreeThin.ttf') format('truetype'), url('res/fonts/BreeThin.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
    font-family: 'gillsanslight', sans-serif;
    margin: 0;
    padding: 0;
    text-align: left;
    font-weight: normal;
    font-size: 16px;
    color: #000000;
    background: #fff;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6, p, a, li {
    font-family: 'gillsanslight', sans-serif;
}
h1 {
    font-size: 26px;
    color: #e20177;
}
h2 {
    font-size: 24px;
    color: #e20177;
}
h3 {
    font-size: 22px;
    color: #e20177;
}
h4 {
    font-size: 20px;
    margin: 25px 0;
    color: #e20177;
}
h5 {
    font-size: 18px;
    margin: 25px 0;
    color: #e20177;
}
h6 {
    font-size: 16px;
    margin: 20px 0;
    color: #e20177;
}
p, a, li {
    font-size: 19px;
    line-height: 1.5em;
}

a {
    color: #e20177;
    text-underline-position: under;
}
a:hover {
    color: #ff329c;
}

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

.button {
    text-decoration: none;
    border-radius: 3px;
    font-family: 'gillsanslight';
    font-size: 16px;
    color: #fff;
    background: #999;
    text-align: center;
    margin: 0px 0 20px 0;
    padding: 6px 10px;
}

.wp-block-button a,
.wp-block-button a:hover {
    border: 0;
}





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

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

#top-banner {
    position: fixed;
    background: #77787b;
    width: 100%;
    height: 44px;
    z-index: 1000;
}
#quick-exit {
    float: right;
    margin-right: 20px;
}
#quick-exit a {
    color: #fff;
    font-weight: bold;
    font-size: 17px;
    text-decoration: none;
    line-height: 46px;
    text-transform: uppercase;
    border: 0;
}
#quick-exit img {
    float: right;
    margin-left: 15px;
    height: 44px;
}

#top-logo {
    margin: 54px 0 10px 15px;
    display: inline-block;
}
#top-logo a {
    border: 0;
}

#main-menu {
    display: block;
    background: #fff;
    margin: 25px 0 0 10px;
    padding: 0;
}

#main-menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    min-height: 45px;
}
#main-menu li {
    text-align: left;
    box-sizing: border-box;
    display: block;
    float: left;
    text-transform: uppercase;
    margin: 0 0 0 0;
}

#main-menu li a {
    font-family: 'gillsanslight';
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: #e20177;
    font-size: 16px;
    padding: 20px 10px;
    border: 0;
}

#main-menu li a:hover {
    color: #fff;
    background: #77787b;
}

#main-menu li.current_page_item > a,
#main-menu li.current-menu-ancestor > a {
    color: #fff;
    background-color: #e20177;
}

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

#main-menu .sub-menu {
    display: none;
    margin-top: 16px;
}

#main-menu .sub-menu li {
    float: none;
    background: #fff;
    margin: 0;
    padding: 16px 0;
    text-transform: none;
}
#main-menu .sub-menu li a {
    font-size: 17px;
}

#main-menu li:hover .sub-menu {
    position: absolute;
    display: block;
}
@media (max-width: 920px) {
    #main-menu {
        display: none;
        position: static;
        margin-top: 5px;
    }
    #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;
    }
    #main-menu.hidden {
        display: none;
    }
    
    #main-menu li {
        width: 100%;
        padding: 7px 3px;
        margin: 0;
    }
    #main-menu li a {
        text-shadow: none;
        padding: 10px 10px;
        font-size: 17px;
    }
    #main-menu li a:hover {
        text-shadow: none;
    }
    #main-menu li:hover .sub-menu {
        display: none;
    }
    #main-menu a.current {
        background: none;
    }
    #hamburger-cont {
        background: #fff;
        display: block;
    }
    .index #hamburger-cont #hamburger {
        display: none;
        visibility: hidden;
    }
    #hamburger {
        cursor: pointer;
        margin-left: 20px;
        padding: 5px;
        color: #e20177;
        font-size: 34px;
    }
    #hamburger:hover {
        background: #e20177;
        color: #fff;
    }
    .body-admin-pad {
       height: 46px;
    }
}

/* Search form in header */
#search {
    float: right;
    vertical-align: top;
    margin: 64px 20px 0 0;
}
#search-form {
    text-align: left;
}
#search-form input[type=text] {
    border: 0;
    padding: 10px 5px 8px 15px;
    background: #77787b;
    color: #fff;
    font-size: 16px;
}
#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;
}
#search-form button {
    background: #77787b;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
#search-form span {
    color: #fff;
    font-size: 18px;
    margin: 2px 0 0 0;
}

@media (max-width: 920px) {
    #search {
        float: none;
        margin: 0 0 10px 0;
    }
    #search-form {
        margin: 5px 0 0 20px;
    }
}

.home-banner {
    margin: 10px 0 0 0;
    padding: 0;
    background: #fff url('res/WHIN_Website_HEADER_IMAGE2.jpg') no-repeat 30% top;
    background-size: cover;
    min-height: 400px;
    width: auto;
}
.home-banner .contain {
    margin: 0;
    padding: 0;
    width: 50%;
    float: right;
}
.home-banner h1 {
    background: #e50278;
    background: rgb(226, 1, 119);
    background: rgba(226, 1, 119, 0.6);
    color: #fff;
    padding: 10px 10px;
    font-family: 'BreeThin';
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    margin-top: 30px;
}
.home-banner p {
    color: #fff;
    padding: 0;
    margin: 0;
    font-family: 'BreeThin';
    font-size: 34px;
    text-align: center;
    line-height: 1em;
}
.home-ribbon {
    background: #e50278;
    min-height: 50px;
    padding: 13px 0 10px;
    margin: 0;
}
.home-ribbon p {
    color: #fff;
    font-size: 22px;
    padding: 0;
    margin: 0;
    text-align: center;
}
.home-ribbon a {
    color: #fff;
    font-size: 22px;
    border-color: #fff;
}
.home-ribbon span {
    color: #fff;
    font-size: 36px;
    padding: 0 12px 6px 0;
    vertical-align: middle;
    display: inline-block;
}
.home-ribbon span.ismall {
    font-size: 22px;
    padding: 0;
}
.home-ribbon p.otherlang {
    font-size: 18px;
    padding-top: 15px;
}
.home-ribbon p.otherlang a {
    font-size: 18px;
}
.home-about {
    padding: 50px 7% 40px 7%;
    margin: 0;
    text-align: center;
}
.home-about h2,
.home-news h2,
.home-affiliated h2,
.home-keep h2 {
    font-size: 34px;
    font-weight: normal;
}
.home-about p {
    font-size: 22px;
    margin: 0 10%;
    font-weight: normal;
}
.button-home {
    background: none;
    color: #e20177;
    margin: 0;
    padding: 0;
    line-height: 3em;
    font-size: 18px;
    border-radius: 0;
}
.button-home span {
    padding-left: 3px;
    font-size: 12px;
}
@media (max-width: 600px) {
    .home-banner .contain {
        margin: 0;
        padding: 0;
        width: 100%;
        float: left;
    }
    .home-banner h1 {
        font-size: 34px;
    }
    .home-banner p {
        font-size: 28px;
    }
    .home-ribbon {
        padding: 10px 10px;
    }
    .home-ribbon p, .home-ribbon a {
        font-size: 18px;
    }
    .home-about p {
        font-size: 18px;
        margin: 0 3%;
    }
}

.home-news {
    background: #ededed;
    overflow: auto;
    text-align: center;
    padding: 40px 5%;
}
.home-news .stories {
    width: 30%;
    margin: 0 1.5%;
    float: left;
    box-sizing: border-box;
    background: #fff;
    height: 640px;
    overflow-y: auto;
    overflow-x: hidden;
}
.home-news .story {
    padding: 0 20px 20px 20px;
    min-height: 570px;
    text-align: left;
}
.home-news .story img {
    width: 100%;
    height: 100%;
    padding-top: 0;
    border: 1px solid #eee;
}
.home-news .story .picture a {
    border: 0;
}

.home-news .story .ajde_evcal_calendar {
    margin-bottom: 20px;
}
.home-news .story h3 {
    margin: 20px 0 10px 0;
    padding: 0;
}
.home-news .story h3 a {
    font-size: 22px;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
.home-news .story h4 {
    margin-bottom: 0;
}
.home-news .story .text {
    line-height: 1.2em;
    margin-top: 10px;
    font-size: 18px;
}
.home-news .story a {
    margin-top: 20px;
    display: block;
}
.twitter-timeline {
    border: 1px solid #eee !important;
}
.thumb-border img {
    border: 1px solid #ccc;
}

@media (max-width: 600px) {
    .home-news .stories {
        width: 100%;
        margin: 2%;
    }
}

.home-affiliated {
    margin: 40px 5%;
    text-align: center;
}
.home-affiliated .home-col3 {
    width: 21%;
    margin: 0 1.5%;
    display: inline-block;
    vertical-align: top;
}
.home-affiliated p {
    padding: 0 5%;
}
.home-affiliated h3 {
    background: #a2195d;
    color: #fff;
    margin: 0 0 30px 0;
    padding: 5%;
    width: 90%;
    min-height: 60px;
}
.home-affiliated img {
    display: block;
    width: 100%;
}
.aff2 h3 {
    background: #30568b;
}
.aff3 h3 {
    background: #2c3d50;
}
.aff4 h3 {
    background: #2dac9e;
}
.home-affiliated a {
    color: #fff;
    font-weight: normal;
    font-size: 20px;
    border-color: #fff;
}
.home-keep {
    background: #eef0f1;
    min-height: 400px;
}
.home-keep .contain {
    margin: 30px 5%;
    text-align: center;
}
.home-keep h2 {
    padding-top: 40px;
}
.home-keep .home-col4 {
    width: 23%;
    margin: 20px 1% 50px 1%;
    float: left;
}
@media (max-width: 1140px) {
  .home-keep .contain {
    padding-bottom: 20px;
  }
  .home-keep .home-col4 {
    float: none;
    width: 90%;
    margin: 20px 5% 20px 5%;
  }
}


.home-keep .home-circle {
    border-radius: 50%;
    background: #fff;
    height: 250px;
    width: 250px;
    margin: 0 auto;
}
.home-keep span {
    padding: 30px 0 10px 0;
    color: #e50278;
    font-size: 50px;
    display: block;
}
.home-keep p {
    font-size: 22px;
    margin: 10px 10px;
    line-height: 1.4em;
}
.home-keep a {
    font-size: 22px;
}

@media (max-width: 800px) {
    .home-affiliated .home-col3 {
        width: 100%;
    }
    .home-keep .home-col3 {
        width: 100%;
    }
}

#footer {
    text-align: left;
    background: #77787b;
    padding: 0 7%;
}
#footer a {
    color: #fff;
    font-size: 16px;
    border-color: #fff;
}
#footer p {
    font-size: 16px;
    color: #fff;
}

#footer .col {
    float: left;
    box-sizing: border-box;
    width: 50%;
    padding: 2% 1% 2% 1%;
}

#footer .gov p {
    padding-top: 30px;
}
#footer .gov img {
    float: left;
    margin: 0 30px 0 0;
}
#footer .whin {
    clear: both;
}
#footer .whin p {
    padding-top: 40px;
}
#footer .traditional p {
    padding-top: 10px;
}
#footer .traditional img {
    float: left;
    margin: 0 30px 250px 0;
}

@media (max-width: 800px) {
    #footer {
        padding: 10px 10px;
    }
    #footer .col {
        width: 100%;
    }
    #footer .whin p {
        text-align: center;
    }
    #footer .traditional img {
        margin: 0 30px 150px 0;
    }
}





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

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

.col-left {
    float: left;
    min-height: 500px;
    margin-top: 30px;
    margin-right: 20px;
    width: 65%;
    overflow: hidden;
}
.col-right {
    float: left;
    width: 30%;
    overflow: hidden;
    margin-top: 30px;
}
@media (max-width: 650px) {
    .col-wrap {
        margin: 0;
    }
    .col-left {
        width: 98%;
        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: 10px 0 0 0;
    padding: 0;
    background-size: cover;
    height: 250px;
    width: auto;
}
.page-bg-0 {
    background: #fff url('res/WHIN_Website_HEADER_IMAGE2.jpg') 30% 25% / cover no-repeat;
}
.page-bg-1 {
    background: #fff url('res/WHIN_Website_HEADER_IMAGE2-v2.jpg') 50% 15% / cover no-repeat;
}
.page-bg-2 {
    background: #fff url('res/WHIN_Website_HEADER_IMAGE2-v2.jpg') left 70% / cover no-repeat;
}
.page-bg-3 {
    background: #fff url('https://www.whin.org.au/wp-content/uploads/sites/2/2025/06/About-us-header-1.png') center 22% / cover no-repeat;
}
.page-bg-4 {
    background: #fff url('res/WHIN_Website_HEADER_IMAGE4-2.jpg') center 30% / cover no-repeat;
}
.page-bg-5 {
    background: #020c0e url('https://www.whin.org.au/wp-content/uploads/sites/2/2025/07/training-banner.jpg') 20% 20% / cover no-repeat;
}
.page-bg-6 {
    background: #fff url('res/WHIN_Website_HEADER_IMAGE4.jpg') center 40% / cover no-repeat;
}
.page-bg-7 {
    background: #fff url('https://www.whin.org.au/wp-content/themes/whin/res/WHIN_Website_HEADER_IMAGE2-v2.jpg') 30% 50% / cover no-repeat;
}

.breadcrumb {
    min-height: 50px;
    margin: 0;
    padding: 0;
    background: #e20177;
}
.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;
    border-color: #fff;
}

.page-menu {
    padding: 0 0 30px 0;
    border-left: 3px solid #e5e5e5;
}
.page-menu h3 {
   margin: 15px 10px 5px 20px;
}
.page-menu ul {
    margin: 0;
    padding: 0;
}
.page-menu li {
    list-style-type: none;
}
.page-menu li a {
    color: #000;
    margin: 15px 10px 15px 20px;
    display: block;
    border: 0;
    text-decoration: underline;
}
.page-menu li a:hover {
    color: #e20177;
}
.page-menu li li a, .page-menu li li a:hover {
    padding: 5px 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 {
    color: #c62876;
    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; 
}
/* hide board children */
.page-item-970 ul.children {
    display: none;
}
@media (max-width: 650px) {
    .page-menu {
        border-left: none;
    }
}

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

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

@media (max-width: 650px) {
    #content .contain {
        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 .wp-block-image a {
    border-bottom: 0;
}

#content blockquote {
    background: #e5e5e5;
    margin: 18px 0 30px 0;
    padding: 10px 20px 20px 10px;
}
#content blockquote h3 {
    font-family: 'BreeThin';
    font-weight: normal;
    position: static;
}
#content blockquote.wp-block-quote {

}
#content blockquote.wp-block-quote p strong {
    font-family: 'BreeThin';
    font-weight: bold;
    font-size: 22px;
    color: #e20177;
}
#content blockquote.wp-block-quote cite {
    font-size: 19px;
    font-style: normal;
    color: #000000;
}

#content .left-align-block {
    clear: both;
}

.wp-caption img {
    max-width: 100%;
}

.wp-caption-text {
    background: #e5e5e5;
    margin: -5px 10px 0 0;
    padding: 10px;
    font-size: 18px;
        box-sizing: border-box; 
}

.wp-block-embed-youtube,
.wp-block-embed-vimeo {
    margin-left: 0;
}

@media (max-width: 650px) {
    #content img {
    }
}

.newspicture {
    float: right;
    padding-left: 20px;
}

.events-table td {
    min-width: 200px;
    height: 60px;
}

#em-wrapper > p {
    display: none;
}

.news-list {
    clear: left;
    display: block;
}
.news-picture {
    float: left;
    width: 27%;
    margin-right: 20px;
    margin-bottom: 20px;
}
.news-text {
    float: left;
    width: 60%;
    margin-bottom: 20px;
    font-size: 18px;
}
.news-nav {
    clear: left;
}
.news-nav .older {
    float: right;
    margin-right: 10%;
    margin-bottom: 20px;
}

/* 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 15px 50px 0;
}
.search-col .next,
.search-col .prev {
    text-decoration: none;
    border-radius: 20px;
    border: 0;
    color: #fff;
    background: #e20177;
    text-align: center;
    margin: 10px 10px 10px 0;
    padding: 4px 20px 4px 20px;
    cursor: pointer;
}
.searchform input {
    border: 0;
    padding: 10px 5px 8px 15px;
    background: #77787b;
    color: #fff;
    font-size: 16px;
}
.searchform input[type=text]::-moz-placeholder { 
    color:    #fff;
    opacity:  1;
}
.searchform input[type=text]:-moz-placeholder { 
    color:    #fff;
    opacity:  1;
}
.searchform input[type=text]::-webkit-input-placeholder {
    color: #fff;
}
.searchform input[type=text]:-ms-input-placeholder {
    color: #fff;
}
.searchform button {
    background: #77787b;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
.searchform span {
    color: #fff;
    font-size: 18px;
    margin: 2px 0 0 0;
}

@media (max-width: 650px) {
    .search-col {
        width: 100%;
    }
}

td, th {
    vertical-align:top;
}
td {
    padding: 1%;
}

.mdocs-navbar-default .navbar-nav > li > a {
    border: 0;
}
.mdocs-container a {
    border: 0;
    font-size: 16px;
}

/* contact form 7 */
.wpcf7 .ebd_input {
    color: #e20177 !important;
    font-size: 19px;
    line-height: 2em;
}
.wpcf7 .wpcf7-list-item {
    display: block;
}

.wpcf7 input[type=checkbox] {
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.5); /* IE */
  -moz-transform: scale(1.5); /* FF */
  -webkit-transform: scale(1.5); /* Safari and Chrome */
  -o-transform: scale(1.5); /* Opera */
  padding: 7px;
}

.wpcf7 input[type=text],
.wpcf7 input[type=email] {
    font-size: 19px;
    padding: 3px;
}

.wpcf7 input[type=submit] {
    background: #e20177;
    color: #fff;
    margin: 0;
    padding: 0 10px;
    line-height: 3em;
    font-size: 18px;
    border-radius: 10px;
    border: 0;
    cursor: pointer
}

.wpcf7 .wpcf7-mail-sent-ok{
    border: 0;
    font-size: 19px;
    line-height: 1.5em;
}

.wpcf7 .ebd_link {
    line-height: 2em;
}

.wpcf7 {
    padding-bottom: 20px !important;
}

