/*---------------------------------------------------------------------------------

 Theme Name:   Relationships Australia
 Theme URI:    
 Description:  
 Author:       Mooball Technologies
 Author URI:   
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/********************************/
/*       Header styles          */
/********************************/
@media (min-width: 981px) {
    #header-col-menu {
        width: 90%!important;
        min-width: 600px!important;
    }
    #header-col-icons {
        width: 10%!important;
        min-width: 280px!important;
    }
	#header-col-icons img {
		vertical-align: middle;
	}
	.et_pb_menu .et_pb_menu__wrap {
        justify-content: flex-end!important;
    }	
	
}

@media (max-width: 980px) {
    #header-col-menu {
        width: 98%!important;
        min-width: 100px!important;
    }
    #header-col-icons {
        display: none;
        visibility: hidden;
        width: 0px
    }
}

@media (max-width: 1100px) {
	.et_pb_menu__search-button {
		display: none!important;
		visibility: hidden!important;
    }
	.et_pb_menu__logo img {
		max-height: 50px!important;
	}
}


/* adjust Divi Menu module breakpoint */
@media only screen and (max-width: 1390px) {
    .et_pb_menu .et_pb_menu__menu {
        display: none;
    }
	.et_pb_menu .et_pb_menu__search-button {
		display: none;
	}
    .et_mobile_nav_menu {
        display: block;
    }
}

/* fix minor vertical layout issue with mobile menu on desktop */
@media (min-width: 981px) {
    .et_pb_menu .et_pb_menu__wrap {
        align-items: center;
    }
}

#mobile_menu1 {

}
.et_mobile_nav_menu ul {
    padding-bottom: 10px;
}

.et_mobile_nav_menu ul li {
    list-style-type: none;
    margin-left: 10px;
}

.et_mobile_nav_menu li a {
    padding: 3px 10px;
}

/***********************************/
/* Buttons side by side for header */
/***********************************/
.buttons-inline .et_pb_button_module_wrapper {
    display: inline-block;
    padding-bottom: 10px;
    margin: 0 10px;
}



/********************************/
/* GRAVITY FORMS STYLES.        */
/********************************/
.gform_button {
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 500;
    background-color: #badc9f;
}
.gform_button:hover {
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 500;
    background-color: #c1d5b2;
}
.gform_fields input, .gform_fields textarea, .gform_fields select {
	border: 0px;
}


/********************************/
/* Document Archive layout      */
/********************************/
/* Fix article height when viewing the document archive only */
#document-archive .et_pb_blog_grid article {
	display: flex; 
	flex-direction: column;
	height: 450px;
	max-height: 450px;
}
#document-archive  article .tag-color-bar { font-size: 16px}
#document-archive  article .entry-title {}
#document-archive  article .post-meta {}
#document-archive  article .post-content {height: 100%;overflow:hidden}
#document-archive  article .post-content-inner {}
#document-archive  article .post-links {}

/* reduce gutters and increase article padding */
@media (min-width: 981px) {
    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 {
        width: 31%!important;
        margin-right: 2%!important;
    }
}	
.et_pb_blog_grid .et_pb_post { padding: 30px!important}

/* add tag header bar and view/dowload links */
div.tag-color-bar {margin: -30px -30px 10px -30px; padding:9px 30px;}
a.viewlink {color: #00476D; font-size: 18px; font-weight:bold;}
a.downloadlink {color: #00476D; font-size: 18px; font-weight:bold; float:right;}


/********************************/
/* Colour code archive tiles */
/********************************/

.et_pb_blog_grid article.tag-relationships .tag-color-bar { background-color: #43348E!important; color: #ffffff!important; }
.et_pb_blog_grid article.tag-neighbour-day .tag-color-bar { background-color: #293838!important; color: #ffffff!important; }
.et_pb_blog_grid article.tag-government-engagement .tag-color-bar { background-color: #B43416!important; color: #ffffff!important; }
.et_pb_blog_grid article.tag-older-australians .tag-color-bar { background-color: #FFFAC2!important; }
.et_pb_blog_grid article.tag-communication-and-conflict .tag-color-bar { background-color: #9DDAE4!important; }
.et_pb_blog_grid article.tag-covid-19 .tag-color-bar { background-color: #DE6026!important; }
.et_pb_blog_grid article.tag-families-and-children .tag-color-bar { background-color: #7FCDC5!important; }
.et_pb_blog_grid article.tag-family-law-reform .tag-color-bar { background-color: #BADC9F!important; }
.et_pb_blog_grid article.tag-domestic-and-sexual-violence .tag-color-bar { background-color: #C0C65C!important; }
.et_pb_blog_grid article.tag-gambling-alcohol-addiction .tag-color-bar { background-color: #ECC17A!important; }
.et_pb_blog_grid article.tag-human-rights .tag-color-bar { background-color: #FFDF62!important; }
.et_pb_blog_grid article.tag-mental-health .tag-color-bar { background-color: #C086B1!important; }
.et_pb_blog_grid article.tag-workplaces .tag-color-bar { background-color: #809AC6!important; }


/* Colour code archive tiles when inside a carousel */
div.post-tag-color-bar {margin: -25px -25px 10px -25px; padding:9px 30px;}
.owl-carousel .item.tag-relationships .post-tag-color-bar { background-color: #43348E!important; color: #ffffff!important; }
.owl-carousel .item.tag-neighbour-day .post-tag-color-bar { background-color: #293838!important; color: #ffffff!important; }
.owl-carousel .item.tag-government-engagement .post-tag-color-bar { background-color: #B43416!important; color: #ffffff!important; }
.owl-carousel .item.tag-older-australians .post-tag-color-bar { background-color: #FFFAC2!important; }
.owl-carousel .item.tag-communication-and-conflict .post-tag-color-bar { background-color: #9DDAE4!important; }
.owl-carousel .item.tag-covid-19 .post-tag-color-bar { background-color: #DE6026!important; }
.owl-carousel .item.tag-families-and-children .post-tag-color-bar { background-color: #7FCDC5!important; }
.owl-carousel .item.tag-family-law-reform .post-tag-color-bar { background-color: #BADC9F!important; }
.owl-carousel .item.tag-domestic-and-sexual-violence .post-tag-color-bar { background-color: #C0C65C!important; }
.owl-carousel .item.tag-gambling-alcohol-addiction .post-tag-color-bar { background-color: #ECC17A!important; }
.owl-carousel .item.tag-human-rights .post-tag-color-bar { background-color: #FFDF62!important; }
.owl-carousel .item.tag-mental-health .post-tag-color-bar { background-color: #C086B1!important; }
.owl-carousel .item.tag-workplaces .post-tag-color-bar  { background-color: #809AC6!important; }



/* Fix bullet points in modals */
ul li {
	list-style-type: disc;
	margin-left: 30px;
}



/*************************************/
/*       OWL Carousel styles         */
/*************************************/

.owl-carousel .item .post-tag-color-bar { font-size: 16px}
.owl-carousel .item .post-category {font-size: 18px; font-weight: 600}
.owl-carousel .item .post-date {font-size: 18px; font-weight: 300}
.owl-carousel .item .post-title {font-size: 18px; font-weight: 400; margin-top: 20px; margin-bottom: 20px}
.owl-carousel .item .post-excerpt {font-size: 18px; font-weight: 300}
.owl-carousel .item .post-links {}


.owl-carousel .owl-stage {display: flex}
.owl-carousel .item {
	display: flex; 
	flex-direction: column;
	height: 430px;
	max-height: 430px;
	background-color: #FFFFFF;
	padding: 25px;
}
.owl-carousel .item .post-excerpt {height: 100%;overflow:hidden}

#owl-carousel-submissions  .item, #owl-carousel-policystatements .item {
	background-color: #F3F1EE;
}

/* setup nav arrows */
.owl-carousel .owl-nav button:hover {
    background: none!important;
    text-decoration: none;
}

.owl-carousel .owl-nav button.owl-prev:before {
	font-family: ETmodules!important;
	color: #BADC9F;
	font-size: 48px;
	margin-top: -24px;
	content: "\34";
}
.owl-carousel .owl-nav button.owl-next:before {
	font-family: ETmodules!important;
	color: #BADC9F;
	font-size: 48px;
	margin-top: -24px;
    content: "\35";
}

.owl-prev {
    width: 20px;
    height: 50px;
    position: absolute;
    top: 40%;
    display: block !important;
    border:0px solid black;
}

.owl-next {
    width: 20px;
    height: 50px;
    position: absolute;
    top: 40%;
    display: block !important;
    border:0px solid black;
}

@media (min-width: 781px) {
  .owl-prev {
    left: -50px!important;
  }	
  .owl-next {
    right: -20px!important;
  }
}

@media (max-width: 780px) {
  .owl-prev {
    left: -40px!important;
  }	
  .owl-next {
    right: -5px!important;
  }
}

/*hide completely on small screens*/
@media (max-width: 640px) {
  .owl-carousel .owl-nav button.owl-next:before, .owl-carousel .owl-nav button.owl-prev:before {
    content: ""!important;
  }
}



/*************************************/
/* News Media Release carousel hacks */
/*************************************/

#news-media-carousel .et_pb_fh_post_carousel .owl-carousel .et_pb_fh_carousel_item {
    background-color: #f3f1ee;
}
#news-media-carousel .et_pb_fh_post_carousel_description:before {
	content: "Media Release";
}
#news-media-carousel .post-meta a, #news-media-carousel .author, #news-blog-carousel .post-meta a, #news-blog-carousel .author {
	display: none;
}
#news-media-carousel .post-meta, #news-blog-carousel .post-meta {
	font-size: 0px!important;
}
#news-media-carousel span.published, #news-blog-carousel span.published {
    font-size: 18px!important;
}

/* fix blog post images */
#blog-post-header img {
	width:auto!important;
}




/* Fixes for tabs on mobile while still centering them on desktop */
ul.et_pb_tabs_controls:after { border-top: transparent;}
@media (min-width: 981px) {
  ul.et_pb_tabs_controls {
	display: flex;
    justify-content: center;
  }
}


/* What we do - courses carousel */
#job-training-carousel .et_pb_module_inner {
	padding: 30px;
}
#job-training-carousel .et_pb_module_inner h3 {
	font-weight: 600;
	padding-bottom: 10px;
	line-height: 1.3em;
}
#job-training-carousel .et_pb_module_inner h4 {
	padding-bottom: 0px;
	line-height: 1.3em;
}
#job-training-carousel .dsm_card_carousel_child_subtitle {
	padding-bottom: 16px;
}
#job-training-carousel .et_pb_module_inner  {
	line-height: 1.5em;
	font-weight: 400;
}


/********************************/
/*       Document search        */
/********************************/
form.document-search input, form.document-search select {
	height: 70px;
	border: none;
	background-color: #F3F1EE;
	font-size: 18px;
	font-weight: 400;
	padding-left: 8px;
	padding-right: 8px;
	margin: 5px 3px 5px 0px;
}
 form.document-search input.submit {
	 background-color: #BADC9F;
	 padding-left: 20px;
	 padding-right: 20px;
}


/* make tab close X white */
button.mpf-close {
	color: #ffffff!important;
	font-weight: 600;
}



/********************************/
/*        ANNUAL REPORT        */
/********************************/

/*  SLIDER ON WHITE (Key stakeholder engagements) */

#slider-on-whiteX .et_pb_slider_container_inner {
	display: flex;
	flex-direction: row-reverse;
}
#slider-on-whiteX .et_pb_slide_image {
	position: relative;
	margin-top: unset!important;
	width: 35%;
	padding-left: 30px;
	padding-right: 30px;
	margin: 0px;
	align-items: center;
}
#slider-on-whiteX .et_pb_slide_description {
	float: none;
	width: 60%;
	margin: 0px;
	padding: 0px!important;
}

#slider-on-white h2 {
	text-shadow: none;
}
@media (max-width: 780px) {
	#slider-on-white p {
		font-size: 24px;
	}
}

#slider-on-white h6 {
	font-size: 18px;
	line-height: 1.3em;
	font-weight: 700;
	text-shadow: none;
	color: #B43416!important;
	padding-top: 20px;
}
#slider-on-white p {
	text-shadow: none;
}
#slider-on-white .et_pb_slide_description {
	padding: 0px 8%;
}

/*  Services carousel */
.AR-services-carousel figure img {
    height: 120px;
    margin-bottom: 30px;
}


/********************************/
/*   RELATIONSHIP INDICATORS    */
/********************************/

#ri-header .menu_tw, #ri-header .menu_fb, #ri-header .menu_ig, #ri-header .menu_nd {
    xpadding: 0!important;
}
#ri-header .menu_tw a, #ri-header .menu_fb a, #ri-header .menu_ig a, #ri-header .menu_nd {
    visibility: hidden;
	width: 30px;
}
#ri-header .menu_tw a:before {
    visibility: visible;
    content: '\e094';
    color: #fff;
    font-family: 'ETmodules';
	font-size: 21px!important;
    line-height: 1;
    position: absolute;
}
#ri-header .menu_fb a:before {
    visibility: visible;
    content: '\e093';
    color: #fff;
    font-family: 'ETmodules';
	font-size: 21px!important;
    line-height: 1;
    position: absolute;
	xwidth: 50px;
}
#ri-header .menu_ig a:before {
    visibility: visible;
	content: '\e09a';
    color: #fff;
    font-family: 'ETmodules';
	font-size: 21px!important;
    line-height: 1;
    position: absolute;
	xwidth: 50px;
}

#ri-header .menu_nd a:before {
    visibility: visible;
	content: '';
    background-image: url("/wp-content/uploads/ND-N-white.svg");
	background-size: contain;
	background-repeat: no-repeat;
    position: absolute;
	height: 20px;
	width: 20px;
}
#ri-header .et_pb_menu__search-button {
	margin-left: 30px;
}

/* Mobile menu */
@media (max-width: 768px) {
	#ri-header .et_pb_row {
		width: 100%;
	}
}
#ri-header .et_mobile_menu li {
	list-style-type: none;
}
#ri-header .et_mobile_menu li#menu-item-227875 a {
	margin-left: 16px;
}

/* Dashboard chart selector NOT USED */
select#chartselector {
  background-color: rgba(67,52,142,0.1);
  color: #43348E;
  padding: 24px 30px 16px 30px;
  font-size: 34px;
  font-weight: 600;
  border: none;
}

/* Yellow spans on RI home page */
.yellowbg {
  background-color: #FFFAC2;
  padding-left: 5px;
  padding-right: 5px;
}

/* Extra large fonts for stats on large screens */
@media (min-width: 1440px) {
	.RI-stats .dsm-dual-heading-before {font-size: 200px!important; font-weight: 600!important;}
	.RI-stats .dsm-dual-heading-middle {font-size: 100px!important; font-weight: 900!important;}
	.RI-stats .RI-stats-text {font-size: 30px!important;}
}

.RI-form input, .RI-form select, .RI-form textarea {background-color: #43348E1A;}
.RI-form input[type='submit'] {background-color: #43348E; color: #ffffff}


/********************************/
/*   RELATIONSHIP INDICATORS    */
/*      FULL REPORT PAGE.       */
/********************************/

/* Fancy menu on Full Report page*/

#RITOC ul li {
    list-style-type: none;
}
#RITOC li > a {
	margin-top: 10px!important;
}
#RITOC .bd_toc_content_list_item > ul > li > a {
    background-color: #43348E1A!important;
	padding: 20px!important;
	margin-bottom: 5px!important;
	font-weight: 700;
}
#RITOC  div.bd_toc_content_list_item > ul > li > ul > li > a  {
	font-weight: 700;
}

#RITOC::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}
#RITOC {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

#RITOC li.current > a {
	border-right: 4px solid #C086B1;
}

#RITOC .bd_toc_container .bd_toc_wrapper .bd_toc_content_list_item ul li a {
    white-space: unset;
}

.page-id-227796 a {
	z-index: 999;
}

/* Special offset to make anchors work under the header menu */
.page-id-227796 h2::before { 
  display: block; 
  width: 1px;
  content: " "; 
  margin-top: -50px; 
  height: 50px; 
  visibility: hidden; 
  z-index: -999;
}
.page-id-227796 h3::before, .page-id-227796 h4::before, .page-id-227796 h5::before { 
  display: block;
  width: 1px;
  content: " "; 
  margin-top: -100px; 
  height: 100px; 
  visibility: hidden; 
  z-index: -999;
}

.page-id-227796 h2, .page-id-227796 h3, .page-id-227796 h4, .page-id-227796 h5 { 
  margin-top: 50px;
}

/* Images
.page-id-227796 #main-content .et_pb_image {
	background-color: #F3F1EE;
	width: 100%;
	padding: 50px;
}
.page-id-227796 #main-content .et_pb_image img {
	max-width: 100%;
}  
*/

/* special h6 call outs */
@media (min-width: 768px) {
	.page-id-227796 h6:not(.chiac-title) {
		padding: 10px 0px 10px 0px;
		font-weight: 500!important;
	}
}
@media (max-width: 767px) {
	.page-id-227796 h6:not(.chiac-title) {
		padding: 10px 0px 10px 0px;
		font-weight: 500!important;
	}
}

/* special blockquotes */
.page-id-227796 blockquote  {
	padding: 20px
}
@media (min-width: 768px) {
	.page-id-227796 blockquote  {
		margin: 30px;
	}
}
@media (min-width: 768px) {
	.page-id-227796 blockquote strong {
		font-size: 48px;
		line-height: 1.3em;
		font-weight: 400!important;
	}
}
@media (max-width: 767px) {
	.page-id-227796 blockquote strong {
		font-size: 30px;
		line-height: 1.3em;
		font-weight: 400!important;
	}
}

/* styling footnotes */
.easy-footnote sup {
	font-size: 14px;
	color: #C086B1;
}
.easy-footnote  {
	font-size: 16px;
}
/* styling key findings list items */
.key-findings-list ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	counter-reset: item;
}
.key-findings-list ol li {
	display: block;
	margin-top: 20px;
	margin-bottom: 30px;
	padding-right: 30px;
	font-weight: 500;
	counter-increment:item;
}
.key-findings-list ol li:before {
	display: block;
	content: counter(item) ".";
	font-size: 70px;
	font-weight: 500;
	margin-bottom: 20px;
}
@media (min-width: 768px) {
   .key-findings-list ol li {width: 33%;}
}
@media (max-width: 767px) {
   .key-findings-list ol li {width: 100%;}
}

/* Managing quotes carousel */
.page-id-227796 .ri-quote-slider .swiper-wrapper {
	align-items: flex-start;
}
.page-id-227796 .ri-quote-slider .dsm_card_carousel_pagination {
    text-align: left;
    padding-left: 50px;
}
/* Managing word carousel */
.page-id-227796 .word-carousel .dsm_card_wrapper {
	width:100%;
}
/* Managing pressures carousel */
.page-id-227796 .pressures .dsm-advanced-tabs-wrapper {
    justify-content: space-between;
}
.page-id-227796 .pressures div.dsm-image img {
	height: 85px;
}
.page-id-227796 .pressures .dsm-active {
	border-bottom: 4px solid #A54994;
}
.page-id-227796 .pressures .swiper-container,
.dsm_card_carousel_4.dsm_card_carousel .swiper-container{
	margin-bottom: 0px!important;
}