/*
 Theme Name:   Custom Designed Theme
 Theme URI:    https://endure.com.au
 Description:  A custom theme made by Endure
 Author:       Endure Web Studios
 Author URI:   http://endure.com.au
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/



/*-------------------------*/
/*----------GENERAL--------*/
/*-------------------------*/

sup {
    bottom: 0.5em;
    font-size: 0.7em;
}


#ctf.ctf-masonry.masonry-2-desktop .ctf-item {
    width: 100%!important;
}

.wp-pagenavi span.current, .wp-pagenavi a:hover {
    color: #60b495 !important;
}




/*--------------------------------*/
/*----------ESSENTIAL GRID--------*/
/*--------------------------------*/

.ray-bourque .esg-sortbutton-order.eg-icon-down-open:before {
    content: "v"!important;
    font-family: "Open Sans"!important;
    margin-top: -5px!important;
}

.esg-filterbutton {
    font-family: "Raleway"!important;
}


a#ba-home-slide-button {
    padding-top: 25px;
}

.el_ajax_search_results {
    max-height: 550px;
}

.page-id-737 h1.entry-title.main_title {
    text-align: center;
    padding-bottom: 40px;
    margin-top:-40px;
}




@media (min-width:980px){
.esg-content.eg-broadagenda-element-0-a {
    height: 4.3em;
}
    
    .esg-content.eg-broadagenda-element-6 {
    height: 4.3em;
}
    
    ul.m-a-list {
    columns: 4;
}
}

/*-------------------------*/
/*----------POSTS--------*/
/*-------------------------*/

#post-byline img {
    max-width: 70px;
    padding-right: 10px;
}

#post-byline {
    vertical-align: middle!important;
}

article#post-737 {
    padding-bottom: 80px;
}

.archive p.post-meta, .search p.post-meta {
    padding: 10px 0;
}

.archive .post-content, .search .post-content {
    font-size: 0.8em;
    padding-bottom: 20px;
}


.wp-caption {
    border: none;
    text-align: left;
    background-color: transparent;
    padding-top: 4px;
    margin-bottom: 10px;
    max-width: 96%;
    padding: 8px;
    font-size: 0.5em!important;
    font-style: italic;
}

.et-search-form, .nav li ul, .et_mobile_menu, .footer-widget li:before, blockquote {
    border-color: #584198!important;
}

blockquote p {
    font-size: 1.1em!important;
    line-height: 1.4em!important;
    padding-bottom: 0!important;
    font-weight: 600;
    padding-right: 30%;
}

p.caption.leftAlone {
    font-size: 0.8em;
    font-style: italic;
    margin-top: -30px;
    padding-bottom: 30px;
}

/*.single-post .et_pb_post_content  p:first-of-type {
    padding-bottom: 1em;
    font-size: 1.4em;
    line-height: 1.1em;
}

/*BLOG POSTS*/
.single-post .et_pb_title_featured_container {
    padding-top: 40px;
}

.single-post .et_pb_column.et_pb_column_1_3.et_pb_column_1_tb_body.et_pb_css_mix_blend_mode_passthrough.et-last-child {
    border: 1px solid #efefef;
}

span.nav-previous {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    background-color: white;
    border: 1px solid #e2e2e2;
    width: 48%;
    text-align: center;
}

span.nav-previous:hover {
        background-color: #f5f5f5;
}



.nav-previous a {
    color:black;
}

.nav-next a {
    color:white;
}

span.nav-next {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    background-color: #584198;
    border: 1px solid #584198;
    width: 48%;
    text-align: center;
}

span.nav-next:hover {
    background-color: #7053bf;
    border: 1px solid #7053bf;
}



/*NAV*/
li.menu-item {
    padding: 1em 1.5em!important;
}



li.menu-item a {
    font-weight:400;
}

li.menu-item:hover {
    border-bottom: 3px solid #6fdcb3;
    background-color:rgb(245, 245, 245);
}

li.menu-item.current_page_item {
    border-bottom: 3px solid #584098;
}

li.menu-item.current-menu-ancestor.current-menu-parent.menu-item-has-children {
    border-bottom: 3px solid #584198!important;
}

li.menu-item.current_page_item a {
    font-weight:600;
}

button.et_pb_menu__icon.et_pb_menu__search-button {
    padding-left: 15px;
}

ul.sub-menu {
    padding-top: 0!important;
    padding-bottom: 0!important;
    margin-top:4px!important;
    margin-left:0!important;
}

.nav li ul {
    border-color: transparent;
}


li.menu-item{
    border-bottom: 3px solid #fff;
}




@media (max-width:980px) {
    #ba-top-menu li.menu-item, #footer-menu li.menu-item  {
    padding: 0em!important;
}

    #ba-top-menu .et_pb_module ul, #footer-menu .et_pb_module ul, #mobile_menu2, #mobile_menu1 {
    margin-left: 0!important;
}
    
    li.menu-item.current-menu-ancestor.current-menu-parent.menu-item-has-children {
    border-bottom: none!important;
}
    
    li.menu-item.current_page_item {
    border-bottom: none;
}
    
    li.menu-item:hover {
    border-bottom: none;
}
}

/*GENERAL*/
.et_pb_module ul {
    margin-left: 30px;
}


/*HOMEPAGE*/
a.PostSlider-Button:after, a#ba-home-slide-button:after {
content:url(https://www.broadagenda.com.au/wp-content/uploads/2020/09/white-arrow.png)!important;
display:block;
padding:0px;
margin-top:0px;
}

span.tp-bullet-title {
    display: none;
}

a#ba-home-slide-button:hover:after {
padding-left:25px!important;
}


#home-posts .et_pb_slide_content {
    display: none!important;
}


#home-feature-posts .et_pb_post {
    margin-bottom: 0px;
}

#home-feature-posts a.entry-featured-image-url {
    display: inline-block !important;
    float: left !important;
    width: 80px !important;
    margin-right: 15px !important;
    padding-top: 80px !important;
}

#home-feature-posts article {
    border-left: 3px solid #fff;
}

#home-feature-posts article:hover {
    background-color: #eee;
    border-left: 3px solid #6fdcb4;
}

#home-feature-posts article {
    padding:10px;
}

#home-feature-posts .et_pb_post .entry-featured-image-url {
    margin-bottom: 0px;
    margin-left:10px;
}

/*SLIDER REVOLUTION*/
#rev_slider_1_1_wrapper .gyges.tp-bullets:before {
    border-radius: 3px!important;
        padding: 10px 20px;
    margin-left: -20px;
}

#rev_slider_1_1_wrapper .gyges .tp-bullet {
    width: 10px;
    height: 10px;
}

/*ESSENTIAL GRID PLUGIN*/
.esg-entry-content.eg-broadagenda-content.esg-notalone {
    margin-right: 30px!important;
    margin-top: -40px!important;
    background-color: #fff!important;
    z-index: 4!important;
    padding-right:20px!important;
}

.esg-entry-cover {
    z-index: 2!important;
}

.esg-entry-media-wrapper {
    z-index: -2!important;
}

.esg-content.eg-broadagenda-element-0-a, .esg-content.eg-ba-events-element-0-a {
    border-left: 3px solid #584098!important;
}

.esg-bottom.eg-broadagenda-element-25-a {
    margin-bottom: 40px!important;
}

.esg-content.eg-broadagenda-element-31 {
    padding-top: 20px!important;
    line-height: 1.2em!important;
}

a.eg-broadagenda-element-32:after, a.eg-ba-events-element-32:after, a.eg-academic-spotlights-element-32:after {
    content: url(https://www.broadagenda.com.au/wp-content/uploads/2020/09/purple-arrow-1.png)!important;
    display: block;
    padding: 0px;
    margin-top: 0px;
}


a.eg-broadagenda-element-32:hover:after, a.eg-ba-events-element-32:hover:after, a.eg-academic-spotlights-element-32:hover:after {
    padding-left: 25px;
}


.page-id-754 .ba-custom-button:after {
    display:none;
}


.ray-bourque .esg-filter-wrapper.dropdownstyle>.esg-selected-filterbutton, .ray-bourque input.eg-search-input, .ray-bourque .esg-filterbutton, .ray-bourque .esg-navigationbutton, .ray-bourque .esg-sortbutton, .ray-bourque .esg-cartbutton, .ray-bourque .esg-filter-wrapper.eg-search-wrapper .eg-search-clean, .ray-bourque .esg-filter-wrapper.eg-search-wrapper .eg-search-submit {
    color: #333!important;
    background: #eee!important;
}


.ray-bourque .esg-filter-wrapper.dropdownstyle>.esg-selected-filterbutton.hovered, .ray-bourque .esg-filter-wrapper.dropdownstyle>.esg-selected-filterbutton.hoveredfilter, .ray-bourque .esg-navigationbutton.hovered, .ray-bourque .esg-filterbutton.hovered, .ray-bourque .esg-sortbutton.hovered, .ray-bourque .esg-sortbutton-order.hovered, .ray-bourque .esg-cartbutton-order.hovered, .ray-bourque .esg-filterbutton.selected, .ray-bourque .esg-cartbutton.hovered, .ray-bourque .esg-filter-wrapper.eg-search-wrapper .eg-search-clean.hovered, .ray-bourque .esg-filter-wrapper.eg-search-wrapper .eg-search-submit.hovered {
    color: #fff!important;
    box-shadow: none!important;
    background: #584098!important;
}


/*TWITTER FEED*/
#ctf .ctf-corner-logo {
    color: #ccc!important;
}

#ctf .ctf-header .ctf-header-follow {
    background: #ccc!important;
}

p.ctf-tweet-text, p.ctf-quoted-tweet-text {
    font-size: 0.8em;
    color: #333;
    line-height:1.5em;
}

p.ctf-tweet-text:hover, p.ctf-quoted-tweet-text:hover {
    font-size: 0.8em;
    color: #584098;
}


/*AUTHOR PAGE*/
.authors-list-item-title {
    text-align: center;
}

.authors-list-item-main {
    text-align: center;
}

.authors-list-item-thumbnail img {
    margin: auto;
}



/*GRAVITY FORMS*/



.gform_wrapper label.gfield_label {
    color: #666;
    font-weight: 500;
    font-size: 0.9em;
}


input[type=text], input[type=password], input[type=tel], input[type=email], input.text, input.title, textarea, select {
    background-color: #f8f8f8;
    border: none;
    border-radius: 3px;
    padding: 15px 20px!important;
    font-size: 0.9em;
}

.gform_wrapper select {
height: 50px;
}


.gform_footer.top_label input {
    color: #584098;
    font-size: 13px!important;
    border: 1px solid #584098;
    border-radius: 1px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.7em 2.2em 0.7em 2.2em!important;
    background: transparent;
    margin-top:-20px;
}

.gform_footer.top_label input:hover {
    background-color: #584098;
    color: white;
}

#gform_2 label.gfield_label {
    display: none!important;
}

    
#gform_fields_2 input {
    background-color: transparent;
    border-bottom: 1px solid white;
    border-radius: 0;
    color: white!important;
    text-align: center!important;
}

#gform_2 .gform_footer.top_label input {
    background-color: #afa6cd;
    border-radius: 7px;
    padding: 1em 3em!important;
    text-transform: none;
    font-weight: 500;
    font-size: 1em!important;
    width: 100%;
}

#gform_2 .gform_footer.top_label input:hover {
    background-color: #2b2335!important;
    cursor: pointer;
}

#newsletter-footer .gform_footer.top_label {
    text-align: center;
}

div#gform_confirmation_message_2 {
    text-align: center;
    padding-top:30px;
}

/* gform placeholders*/
#newsletter-footer ::-webkit-input-placeholder { color:#FFF; }
#newsletter-footer :-moz-placeholder { opacity: 1; color:#FFF; } /* Firefox 18- */
#newsletter-footer ::-moz-placeholder { opacity: 1; color:#FFF; } /* firefox 19+ */
#newsletter-footer :-ms-input-placeholder { color:#FFF; } /* ie */
#newsletter-footer input:-moz-placeholder { color:#FFF; }



/*DID YOU KNOW PAGE*/
    
.page-id-759 .et_pb_text_58:after {
    display: block;
    padding: 0px;
    margin-top: -10px;
    content: none!important;
}
.page-id-759 .esg-entry-media-wrapper {
    display: none;
}

.page-id-759 .esg-entry-cover {
    display: none;
}

.page-id-759 .et_pb_text_40:after {
    display:none!important;
}

.single-academic_spotlight li {
    padding: 20px 0;
}

/* Smartphones in portrait mode (0-479px) */
@media only screen and ( max-width: 479px ) { 
#reverse { display: -webkit-flex; /* Safari */ -webkit-flex-direction: column-reverse; /* Safari 6.1+ */
display: flex; flex-direction: column-reverse !important;}
}

/* Smartphones in landscape mode (480-768px) */
@media only screen and ( min-width: 480px ) and ( max-width: 767px ) {
#reverse { 
display: -webkit-flex; /* Safari */
-webkit-flex-direction: column-reverse; /* Safari 6.1+ */
display: flex;
flex-direction: column-reverse !important;}
}
/* Tablets in portrait mode (768-980px) */
@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {

#reverse { 
display: -webkit-flex; /* Safari */
-webkit-flex-direction: column-reverse; /* Safari 6.1+ */
display: flex;
flex-direction: column-reverse !important;}
}
