/*
 Theme Name:     Sir Brian Bell Foundaiton
 Theme URI:      https://www.sirbrianbellfoundation.com.pg
 Description:    Sir Brian Bell Foundaiton
 Author:         Colony Group
 Author URI:     https://colonygroup.co
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
@import url("https://use.typekit.net/lnx8zqr.css");
body, input, textarea, select{
	font-family: urbane-rounded, sans-serif;
}
.support_companies {
	grid-template-columns: 1fr 1fr 1fr 1fr;
	width: 100%;
    display: grid;
    grid-gap: 40px;
    margin-bottom: 40px;
}

.support_companies a {
	width: 100%;
}

.support_companies a img {
	margin: 0 auto;
	display: block;
	min-width: 200px;
	min-height: 176px;
	object-fit: cover;
	width: 100%;
	height: auto;
	aspect-ratio: 200/176;
	max-width: 200px;
}

.support_companies a span {
	display: block;
    color: #0063a7 !important;
    font-size: 14px;
    font-weight: 700 !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    /* background-image: url(https://www.colonywork.com.au/clients/sirbrianbellfoundation.org.pg/wp-content/uploads/2021/01/yellow-overlay.png);*/
    background-color: #ffdc43;
    padding: 10px;
	text-align: center;
	width: 100%;
	margin-top: 20px;
}

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

@media (max-width: 478px) {
	.support_companies {
		display: block;
	}
	
	.support_companies a {
		margin-bottom: 40px !important;
		display: block;
	}
}



header .et_pb_column_0_tb_header {
  width: 300px !important;
  margin-right: 0 !important;
	position: relative;
	z-index: 1000;
}

header .et_pb_column_1_tb_header {
  width: calc(100% - 300px) !important;
}

.footer_menu .et-menu.nav li {
    width: 100%;
}

header .et_pb_image_wrap img {
    max-width: 120px;
}

.header_search_contact .et_pb_column {
    display: flex;
    max-width: 360px;
    float: right;
	justify-content:flex-end;
}

.header_panel .et_pb_column_0_tb_header {
  padding: 1.5% 0;
}

.header_panel .et_pb_row {
    display: flex;
    align-items: center;
}

a.infieldbutton {
    display: inline-block;
    border: 1px solid #fff;
    padding: 5px 10px;
    color: #fff;
}

a.infieldbutton:hover {
    background: #fff;
    color: #1A6CAE;
}

footer .et_pb_section.et_section_regular {
    padding: 60px 0px !important;
}

footer .et_pb_section.et_section_regular .et_pb_row.et_pb_row_0_tb_footer {
    padding: 0 !important;
}

header .et_pb_search {
    
}

#menu-top-menu {
  margin-top: 20px;   
}

header form.search_button {
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius:6px;
  margin-right: 15px;
  display: flex;
  border: 2px solid #1A6CAE;
}

header form.search_button input[type=text],
header form.search_button input[type=submit] {
	padding: 7px 14px 7px 10px !important;
	border: 0 !important;
	background-color: transparent !important;
}

header form.search_button input[type=submit] {
    background-size: contain;
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-position: center center;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #1A6CAE;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #1A6CAE;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #1A6CAE;
}


body #page-container .et_pb_section .et_pb_button_0_tb_header {
	width: 120px !important;
}

header .et_pb_module.et_pb_code.et_pb_code_0_tb_header {
	margin-bottom: 0 !important;
}


/* Customisation for the table of files */
div.ssfa-meta-container {
	margin-top: 0 !important;
}

table.footable thead,
table.footable tfoot td {
  color: #0063a7 !important;
  /*
  background-image: url(https://www.colonywork.com.au/clients/sirbrianbellfoundation.org.pg/wp-content/uploads/2021/01/yellow-overlay.png) !important;
  */
background-color: #ffdc43 !important;
}

table.footable tr th {
  color: #0063a7 !important;
  background-image: none !important;
  background-color: transparent !important;
  text-shadow: none !important;
}

table.footable {
	border: 0 !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
}

body.page-id-220 table[id^="ssfa-table"].ssfa-whitestripes > tbody > tr > td.ssfa-sorttype, 
body.page-id-220 table[id^="ssfa-table"].ssfa-whitestripes > thead > tr > th.ssfa-sorttype,
body.page-id-222 table[id^="ssfa-table"].ssfa-minimalist > tbody > tr > td.ssfa-sorttype,
body.page-id-222 table[id^="ssfa-table"].ssfa-minimalist > thead > tr > th.ssfa-sorttype {
	width: 155px;
}

body.page-id-222 table[id^="ssfa-table"].ssfa-minimalist > tbody > tr > td {
	border: 0 !important;
}

header .et_pb_s {
	border: 2px solid #1a6cae !important;
}

.ds-icon-search input.et_pb_searchsubmit,
.widget_search input#searchsubmit {
	background: transparent;
	color: transparent;
	border: none;
	width: 55px;
	z-index: 2;
}

.ds-icon-search input.et_pb_s,
.widget_search input#s {
	padding-right: 55px !important;
}

.ds-icon-search .et_pb_searchform:before,
.widget_search::before {
	content: '\55';
	position: absolute;
	font-family: 'ETModules';
	z-index: 1;
	right: 0;
	font-size: 20px;
	padding: 8px 20px;
}

#page-container .et-l .et_pb_with_background {
  position: relative;
}

#page-container .et-l .et_pb_with_background::after {
	content: " ";
	top: 0px;
	left: 0px;
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.1);
}
	header .et_pb_menu__menu {
            margin: unset !important;
	}
header .et_pb_menu .et_pb_menu__wrap{
	justify-content:flex-end !important
}

@media (max-width: 1540px) {
	header .et_mobile_nav_menu {
    	display: none !important;
	}


	
	header .et_pb_column_1_tb_header {
		width: 100% !important;
	}
	
	header .et_pb_image_0_tb_header {
		position: absolute;
		top: 0px;
		left: 0px;
	}
	
	.header_panel .et_pb_row {
		display: block;
	}
	
	.et_pb_menu_0_tb_header.et_pb_menu {
		float: none;
		width: 100%;
	}
	
	.et_pb_fullwidth_menu .et_pb_menu__menu, .et_pb_menu .et_pb_menu__menu {
		margin: 0 auto;
	}
	
	.header_panel .et_pb_row {
		padding: 20px 0;
	}
}
footer .et-menu-nav li a{
	line-height:1.5;
}
.ssfa-sortdate{
	display:none;
}
@media (max-width: 980px) {	
	footer .et_pb_fullwidth_menu .et_mobile_nav_menu, footer .et_pb_menu .et_mobile_nav_menu {
		display: none !important;
	}
	
	footer .et_pb_fullwidth_menu .et_pb_menu__menu, footer .et_pb_menu .et_pb_menu__menu {
		display: block !important;
		background: transparent !important;
	}
	
	footer .et_pb_menu .et_pb_menu__wrap {
		background: transparent !important;
	}
	
	header .et_mobile_nav_menu {
		display: block !important;
	}
	
	header .et_pb_image_wrap img {
		max-width: 120px !important;
	}
	
	header .header_search_contact {
		display: none !important;
	}
	
	.et_pb_menu .et_pb_menu__wrap {
		margin: 0 auto;
		width: 100%;
		background: #f0f0f0;
	}
	
	header .et_pb_column_0_tb_header {
		width: 100%;
	}
	
	header .et_pb_image_0_tb_header {
		position: relative;
		top: auto;
		left: auto;
	}
	
	header .et_pb_column_0_tb_header {
		width: 100% !important;
	
	}
	
	.et_pb_image_0_tb_header {
		width: 100%;
		max-width: 100% !important;
	}
	
	.et_pb_image_0_tb_header a {
		margin: 0 auto;
		width: 120px;
		display: block;
	}
	
	.et_pb_fullwidth_menu .et_mobile_nav_menu, .et_pb_menu .et_mobile_nav_menu {
		width: 100%;
	}
	
	.et_pb_menu__wrap .mobile_menu_bar::before {
		left: 50%;
		transform: translate(-50%);
	}
	
	.et_pb_fullwidth_menu .et_mobile_menu, .et_pb_menu .et_mobile_menu {
		padding: 0px;
	}
	
	.et_mobile_menu li li,
	.et_mobile_menu li ul {
		padding-left: 0 !important;
	}
	
	.et_mobile_menu li li a {
		font-size: 12px !important;
	}
	.text-image-block{
	flex-direction:column;
}
}
