/*
 Theme Name:     PNG Treasury
 Theme URI:      https://www.pngtreatury.gov.pg
 Description:    Customised child theme
 Author:         Adam Wolfs
 Author URI:     https://www.adamwolfs.com/
 Template:       Divi
 Version:        1.0.0
*/
/* =Theme customization starts here
------------------------------------------------------- */
:root {
  --base-site-colour: #f25b3a;
  --base-site-colour-hover: #000;
}

/* Currency Table Settings */
table.currency_structure {
	margin-top: 10px !important;
	border: 0px !important;
}

table.currency_structure tr td {
	border-bottom: 1px solid #fff !important;
}

table.currency_structure tr td img {
    max-width: none;
}


/* Fix for buttons without content */
.et_pb_column_empty {
	background: transparent !important;
}

div.documents_panel {
	margin-top: 0px;
}

div.documents_panel h2 {
    color: var(--base-site-colour);
	font-size: 22px;
	border-bottom: 2px solid var(--base-site-colour);
	border-bottom-width: 2px;
	margin-bottom: 20px;
}

div.documents_panel div.documents {
	display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px 30px;
	padding-bottom: 40px;
}

@media (max-width: 980px) {
	div.documents_panel div.documents {
		grid-template-columns: 1fr;
	}
}

div.documents_panel div.documents:last-child {
	padding-bottom: 0px;
}

div.documents_panel div.documents a {
    background: var(--base-site-colour) url('https://www.embracegeek.com.au/clients/www.treasury.gov.pg/wp-content/uploads/2023/05/pdf-icon-white.png') 10px 15px no-repeat;
	background-size: 15px 15px;
	display: block;
    color: #fff;
	padding: 10px 10px 10px 30px;
	width: 100%;
	transition: all 300ms ease 0ms;
    min-height: 80px;
}

div.documents_panel div.documents a:hover {
    background: var(--base-site-colour-hover) url('https://www.embracegeek.com.au/clients/www.treasury.gov.pg/wp-content/uploads/2023/05/pdf-icon-white.png') 10px 15px no-repeat;
	background-size: 15px 15px;
}

.mobile_menu_bar::before {
	color: #000;
}

@media (max-width: 1518px) {
	#top-menu li {
		padding-right: 10px;
		font-size: 10px;
	}
	
	#top-menu li li, #top-menu li li a {
		font-size: 11px;
	}
}

@media (max-width: 1518px) and (min-width: 980px) {
  #main-header .container {
		width: 92%;
  }
}

/* Customisation for application form */

div.frm_style_application-form .frm_dropzone.frm_single_upload {
	max-width: 100%;
}

div.frm_style_application-form .frm_dropzone.frm_single_upload .frm_small_text {
	display: none;
}

@media (max-width: 580px) {
	body .et_pb_post_content img {
		width: 100%;
		height: auto;
		display: block;
		float: none;
	}
}

/* Blog Customisation */
/*.blog_style_frontpage article.type-post h3 {
	padding: 24px;
	background-size: initial;
    background-position: left top;
    background-image: url("/wp-content/uploads/2023/05/Rectangle.png");
	background-repeat: no-repeat;
}*/

.blog_style_frontpage article.type-post a.more-link {
	float: right;
	margin-top: 10px;
}