/*
 Theme Name: TNAT Divi Child Theme
 Theme URI: https://www.toodyaynats.org.au/
 Description: Divi Child Theme built for TNAT
 Author: Melissa Adams
 Author URI: https://www.toodyaynats.org.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
*/



/*** Typography ***/
/*h3, h4, h5, h6 {padding-top:30px}*/
body {font-weight:400}
a:hover{opacity:0.8}
.et_pb_module.et_pb_text a {text-decoration:underline}
.et-fixed-header#top-header a, #et-secondary-menu>ul>li a {text-decoration:none}

/*weirdness*/

.et_pb_text ul {list-style-type: none;}
.et_pb_text ul li {padding-left: 0;text-indent: -1em;}
.et_pb_text ol li  {text-indent: -1em; padding-left: 22px;}
.et_pb_text ul li::before  {content: "\f111";
    color: #af5f0d;
    font-family: 'FontAwesome';
    font-weight: 900;
    font-size: 10px;
    padding-right: 10px;
    top: -3px;
	position: relative;}

/*** Navigation ***/
#main-header {z-index: 999999}
#top-header .container {padding-top: 0;}

#et-boc #main-header.et-fixed-header,#et-boc .et-fixed-header#main-header {box-shadow: 0px 3px 3px  rgba(0,0,0,0.1)!important;
-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.1)!important;
-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.1)!important;}

#et-secondary-nav li.highlight {background: #c7a11b;color: #fff;border-radius: 0 0 5px 5px;padding: 14px 10px 5px 10px;}
#et-secondary-nav li.highlight.brown {background:#af5f0d}
#top-header .highlight a {color:#fff; padding-top:10px}

@media only screen and (min-width: 982px) {#main-header {background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(1, 1, 1, 0.3),rgba(1, 1, 1, 0));}}
#main-header.et-fixed-header {background:#fff}
#main-header .nav li ul ul {background-color: rgb(198 134 49);}
.nav li ul {border-top: 3px dotted #0157be;}
#top-menu li li a {line-height: 1.2em;}

#top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a, #top-menu li.current_page_item > a, .bottom-nav li.current-menu-item > a {font-weight:800!important}

#main-header form.et-search-form {border: 1px solid rgb(153, 153, 153);border-radius: 10px;}

.et_pb_posts_nav.nav-single {border-top: 1px solid #c7a11b;padding-top: 10px;}

@media only screen and (min-width: 981px){
	.logo_container img#logo {position: absolute;top: -30px;max-height: 110px;}
	header.et-fixed-header .logo_container img#logo {max-height: 100px;top:-40px}
	#top-header.et-fixed-header .highlight a {color: #fff;}
}
@media (max-width: 980px){
	.logo_container img#logo {max-height: 80%;}
}



/*Buttons*/
.et_pb_column .et_pb_cta_0.et_pb_promo.et_pb_promo .et_pb_button.et_pb_promo_button {padding-top: .3em;}

/*Breadcrumbs*/
.widget_breadcrumb_navx .breadcrumbs [typeof="ListItem"], .widget_breadcrumb_navx .breadcrumbs [typeof="ListItem"] span {font-weight:400; color:#666!important;font-size:16px}

body .et_pb_sidebar_0.et_pb_widget_area a, body .breadcrumbs a, body.et-db #et-boc .et_pb_sidebar_0.et_pb_widget_area a, body.et-db #et-boc .et-l .et_pb_sidebar_0.et_pb_widget_area a { color:#61721f!important;}

.et_pb_gutters1 .et_pb_column_4_4 .et_pb_widget.widget_breadcrumb_navxt, .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .et_pb_widget.widget_breadcrumb_navxt, .et-db #et-boc .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .et_pb_widget.widget_breadcrumb_navxt, .et_pb_gutters3 .et_pb_column_4_4 .et_pb_widget.widget_breadcrumb_navxt {width:100%;text-align: center;}

/***Post Pagination***/
.wp-pagenavi a, .wp-pagenavi span {color: #1a1919;font-size: 16px!important;font-weight: 600!important;}
.wp-pagenavi a:hover, .wp-pagenavi span.current {color: #c48733!important;}

/*** Timeline ***/
.bold_timeline_container.bold_timeline_container_item_title_size_normal .bold_timeline_item_override_title_size_inherit.bold_timeline_item .bold_timeline_item_header .bold_timeline_item_header_title, .bold_timeline_container .bold_timeline_item_override_title_size_normal.bold_timeline_item .bold_timeline_item_header .bold_timeline_item_header_title {font-size: 23px;text-align: left;}
.bold_timeline_container.bold_timeline_container_item_style_outline .bold_timeline_item_override_style_inherit.bold_timeline_item .bold_timeline_item_inner .bold_timeline_item_header {padding-bottom:0}
.bold_timeline_container.bold_timeline_container_item_supertitle_style_sticker .bold_timeline_item_override_supertitle_style_inherit.bold_timeline_item .bold_timeline_item_header .bold_timeline_item_header_supertitle .bold_timeline_item_header_supertitle_inner {background:#007c9c}
.bold_timeline_container.bold_timeline_container_item_marker_type_dot .bold_timeline_item_override_marker_type_inherit.bold_timeline_item .bold_timeline_item_marker, .bold_timeline_container .bold_timeline_item_override_marker_type_dot.bold_timeline_item .bold_timeline_item_marker {background: #d2ad32;}

/*** News Blog ***/
.et_pb_blog_grid p:not(.has-background):last-of-type {padding-bottom: 20px;}
.forced-no-top-padding, .forced-no-top-padding .et_pb_section_0, .forced-no-top-padding .et_pb_row_0{padding-top:0!important}

@media (max-width:980px){
	.et_pb_column .et_pb_widget.widget_search {width: 100%;}
}

/***Tables***/
.tablepress td {font-size:16px; line-height:1.1em}
.tablepress>:where(thead)>*>th {background-color: #faf1d0;}

/***Tablesome***/
.tablesome__table--wrapper {border-radius:10px}
.tablesome__container .tablesome-pagination ul li a {border-radius:3px!important}

@media only screen and (max-width: 640px) {
    div#tablesome__container.tablesome__container.tablesome__container--read-only .tablesome__table.stack-mode td.tablesome__cell {font-size: 16px!important;}
	div#tablesome__container.tablesome__container.tablesome__container--read-only .tablesome__table.stack-mode {width:100%!important}
}

/***Related Posts***/
.crp_related ul li::before {display:none}
.crp_related ul {display:grid;grid-auto-flow:column;column-gap: 20px;}
.crp_related ul li {text-indent: 0;}
.crp_title {font-family: 'Nunito Sans', Helvetica, Arial, Lucida, sans-serif;font-size: 25px;color: #9b4a00 !important;
	line-height: 1.4em;font-weight: bold;font-style: normal;text-transform: uppercase;text-decoration: none;}
.crp_title, .crp_excerpt {display:block}
.crp_related img.crp_featured {width:60px; height:60px;margin-bottom:20px}
.et_pb_module.et_pb_text .crp_related a {text-decoration:none}
.crp_related .crp_excerpt {line-height:1.7em}
.crp_related ul {column-gap: 60px;padding: 0 0 23px 0;}

@media (max-width: 980px) {
	.crp_title {font-size:22px}
	.crp_excerpt {font-size:16px}
	.crp_excerpt {margin-bottom:20px}
}
@media (max-width: 768px) {
	.crp_related ul {grid-auto-flow: row;}
}
/***Blurbs***/
.blurb-thumb img {width:100%;}
.membership h4 {font-size:28px!important; padding-top:0; color:#c7a11c;font-weight:700; text-transform: lowercase;}

/***Gallery***/
.el_masonry_gallery_item_caption {font-size:16px; line-height:20px}

/*** Gravity Forms ***/

.tfor-forms h3 {font-size:30px}
.tfor-forms h4 {font-size:25px; color:#008443}

.gform_required_legend {font-size: 16px;margin-bottom: 15px;}
.gform-theme--framework legend.gform-field-label, .gform-theme--framework label.gform-field-label, .species-title, .et_pb_text .gform_validation_errors h2.gform_submission_error, .gfield_required.gfield_required_asterisk {font-size:17px}

.gform-theme--framework input[type=text], .gform-theme--framework .gfield input[type=text],.gform-theme--framework .gfield input[type=number],.gform-theme--framework input[type=file] ,.gform-theme--framework .gfield select, .gform-theme--framework input[type=email], .gform-theme--framework input[type=tel] {font-size: 17px!important;height:52px;block-size: 52px!important;line-height: 50px;}



.gform-theme--framework .gfield_list_group_item input[type=text] {height:62px;block-size: 62px!important;}

.gform-theme--foundation .gfield.species input.small {inline-size: 80px;}

.gform-theme--framework .gfield_description {font-size:16px!important}
.et_pb_text_0 .gform_validation_errors h2, .et_pb_text_1 .gform_validation_errors h2 {color:#c02b0a!important}
.species .gfield_description.instruction {display:none}

.gform-theme--foundation .tfor-forms.compressed .gform_fields {row-gap:20px}


.gform-theme--framework.gform-theme.gform_wrapper .button, .gform-theme--framework.gform-theme.gform_wrapper.gform-theme-button, .gform-theme--framework.gform-theme.gform_wrapper button.button {background-color: #c7a11c!important;border-radius: 100px!important;font-size: 20px !important;padding: 12px 22px !important;}

.gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button.gform_delete_file {padding: 10px 14px !important; margin-right: 5px;}

.gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button--simple .dashicons, .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button.gform-theme-button--simple .dashicons::before {color:#fff!important}

.gform-theme--framework.gform-theme.gform_wrapper .gfield.gfield--type-list.gfield--input-type-list .ginput_container button.add_list_item, .gform-theme--framework.gform-theme.gform_wrapper .gfield.gfield--type-list.gfield--input-type-list .ginput_container button.delete_list_item {width:20px;height:20px;} 

.gform-theme--foundation .gfield_list_group {margin-block-end: 30px;}

.gform_confirmation_message {padding-top:30px;font-weight: 700;color: #9b4900;text-align:center}

/*donation*/
.gform-theme--framework .amount.gfield--type-choice .gfield_radio {display: flex;flex-direction: row;gap: 25px;}

.gform-theme--framework .amount.gfield--type-choice .gfield_radio .gchoice .gchoice_other_control {width:100px}

@media only screen and (max-width:1024px) {
    .pum-container.pum-responsive.pum-responsive-medium {width: 1000%; }
	.gform-theme--framework.gform-theme.gform_wrapper .gfield.gfield--type-list.gfield--input-type-list .ginput_container button.add_list_item, .gform-theme--framework.gform-theme.gform_wrapper .gfield.gfield--type-list.gfield--input-type-list .ginput_container button.delete_list_item {width:30px;height:30px;} 
}
@media only screen and (max-width:639px) {
	.gform-theme--framework .amount.gfield--type-choice .gfield_radio {display: flex;flex-direction: column;gap: 10px;}
}



/*** Mobile ***/
.mobmenu-content li li, .rightmbottom .widget.widget_block {border-bottom:none}
.mobmenu-content .wp-social-link-facebook {background-color: #ffffff;
color: #4d0bf5;}
.mobmenu-content .wp-social-link-facebook a {height:40px; width: 40px;font-size:30px;padding:5px;}

/*** Footer ***/
footer a, footer .et-menu a {color:#fff; text-decoration:underline}
.et_pb_menu .et_pb_menu__menu nav ul#menu-footer li {display:block;text-align: center;width:100%;margin: 10px 0;}
@media (max-width: 980px) {
	footer .et_pb_menu__menu {display: flex!important;}
    footer .et_mobile_nav_menu {display: none!important;}
}

@media only screen and (max-width: 1023px) {
	.nav {display:flex!important}
}
