/*
Theme Name: Optimizer PRO Child
Template: optimizer_pro
*/

/* Aligning the phone and fb icon topbar */
.topmenu_switch #topbar_right {
    margin-top: -5px;
}
.post-572 .listItems {
    transform: rotate(180deg);
}

.post-572 .listItems li {
    transform: rotate(180deg);
}
.listItems {list-style-type: none; padding-left:15px;}

.listItems li {
    margin:0 0 10px 0;
    padding:0 10px 0 30px;
    background-image:url(https://www.sbpartners.com.au/wp-content/uploads/2017/07/sb-icon.png);
   background-repeat:no-repeat;
   background-position:2px 5px;
}


#mc_embed_signup input.button {
    display: block;
    width: 50%;
    margin: 0 auto;
    text-align:center;
    min-width: 100px;
    font-weight: bold;
    background-color:#003876!important;
color:white;
}

#mc_embed_signup input.email {
   width: 90%;
   border: 2px solid #c5c5c5;
   padding: 0.5em 0.8em;
}

.content-section8 .row {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 15px;
}

.content-section8 .row h4 {
	margin-top: 0;
}

.col-md-4 {
    width: 100%;
    float: left;
    margin-right: 1%;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 20px;
    /* height: 215px; */
    height: 100%;
    /* margin-bottom: 15px; */
    margin-bottom: 0;
    box-shadow:1px 5px 10px #e5e5e5;
	box-sizing: border-box;
}

.col-md-4 p {
     font-size:14px;
     line-height:22px;
}

#homeBox {width:70%;}
h4 a.red {color:#bf2c37!important;}
.red2 {color:#bf2c37!important;}
#callIcon{display:none; float:right; margin-right:70px;}

#optimizer_front_blocks-3 .midrow h3 {
    color: #ffffff !important;
}

#homeHeader {font-size: 48px;}
#homeText {font-size: 24px;}

h2 {color:#003876!important; font-size:18px; }

h3 {color:#003876!important; font-size:16px; text-transform:uppercase; }

.thn_post_wrap table tr:nth-child(2n+1), .org_comment table tr:nth-child(2n+1) {
    background: rgb(191, 44, 55) none repeat scroll 0 0!important;
    border: medium none !important;
    color: #fff!important;
}

tr { color: #fff!important; background-color:#003876; }

.head_top {padding: 5px 25px 0 5px;}
#homeBox {background-color: #bf2c37; padding: 25px; opacity: 0.90; border-radius:5px;}
#wptbheadline1 input[type="text"] {
    margin-right: 1%;
}
.page_head .pagetitle_wrap {
    margin: 50px auto;
}
.head_phone {color:#464646; font-size:1.2em; padding-top:1px;}
.topmenu_switch #topbar_right {
    float: right;
}
#wptbheadline1 label {
    margin-right: 0.5%;
}
#wptbheadline1 button{margin-right:0.5%;}
#wptbheadline1{
    border-bottom: 1px solid #bf2c37!important;
text-align:right!important;
}
#topbar1{position:absolute!important;}

#topmenu {margin-top:25px;}
#topmenu ul li ul li {
    border-bottom: 1px solid #363636; }
#topmenu ul li ul li a {text-align: left;
    text-transform: capitalize; font-size:13.5px; line-height:18px; padding: 12px 5%; width:90%;}

.logo img {width:80%; margin:20px 0;}
h1 {color:#bf2c37; font-size:32px;}
h3 {color:#003876;}
hr {border:none;}
#footer .widgets .widget {background-color:#ffffff; padding:1%; width:20.7%; border-radius:5px; box-shadow: 5px 5px 10px 0px #c5c5c5;}
#footer .widgets .widget ul li {
    border-bottom: 1px dotted #555555;
    list-style-type: none;
    padding: 10px 0;
}
.midrow_block img {
    border-radius: 5px;
}
.loginField {padding:13px; 12px; font-size:13px;}
.submitButton {background-color:#003876; padding:5px; color:#fff; font-weight:bold; border:none;}
#topmenu ul li ul:not(.mega-sub-menu) {
    background: rgba(0, 0, 0, 0.9) none repeat scroll 0 0 !important;
}

#sidebar .widget {
    background-color: #ffffff;
    border-radius: 5px;
    padding-bottom: 15px;
    border:4px solid #e0e0e0;
}

input.wpcf7-form-control.wpcf7-submit {
    border-radius: 4px;
}

.wpcf7-text {
    background: rgba(0, 0, 0, 0.1);
}

.wpcf7-textarea { 
    background: rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1024px){
	#homeBox {width:70%;}
	#slidera .stat_content_inner {
		bottom: 10%;
	}
	.stat_content_left .stat_content_inner .center {
		margin-left: 2%;
	}

	#homeTextBox {font-size:20px;}

	#sidebar .widget {max-width: 100%;}

	#mc_embed_signup input.email {
	   width: 85%; }

	.wpcf7-text { width:90%; }

}

@media screen and (max-width: 767px){
	.content-section8 .row {
		grid-template-columns: repeat(2,1fr);
	}
}

@media screen and (max-width: 660px){

	input[type="text"], input[type="number"],input[type="textarea"] {font-size: 16px;}

	/* .col-md-4 { width:94%; padding:2%; height:200px; } */

	.logo img {
		float: left;
		height: auto;
		max-width: 218px !important;
		width: 100% !important;
	}
	.logo {
		width: 60%;
	}
	#simple-menu {
		top: 8px;
	}

	.tophone_on .head_phone {
		display: none;
	}

	h1, h2, h3, h4 {
		line-height: 1.2em;
	}

	.blockimage .midrow_block .block_img {
		display: none;
		opacity: 0;
	}

	#optimizer_front_blocks-4 .blockimage .midrow_block.axn_block1 {height:250px;}

	.stat_content_left .stat_content_inner .center {margin-left:0px;}

	#homeBox {width:85%;}

	#homeHeader {font-size: 22px;}
	#homeText {font-size: 12px;}

	.cta_buttons{display:none!important;}

	#footer .widgets ul {display:block;}

	.hide_mob_headerimg {display:block;}

	.page_head .pagetitle_wrap {
		margin: 25px auto;
	}

	.page .page_head .postitle, .page .single_post .postitle, .archive .single_post .postitle {font-size:20px!important;}

	#callIcon {display:block;    margin-right: 20%;}
	#callIcon > a img {height: 31px;
	margin-top: 21px; width: 31px;}

	#mc_embed_signup input.email {
	   width: 88%; }

	#sidebar .widget .widgettitle, #sidebar .widget .widgettitle a, #sidebar .home_title {
		font-size: 16px;
		margin-top: 20px;
	}
	#sidebar {margin-bottom:30px;}

	#sidebar .widget {width: 97%!important; }
	#footer {background-image:none;}
	#homeBox {opacity: 0.85; }
	#footer .widgets .widget {
		width: 92%!important;
	}
	#optimizer_front_blocks-3 .midrow_wrap {
		width: 100%;
	padding-top:5%;
	}
	body .stat_content_inner .center {
		width: 100%!important;
	}
}
@media screen and (max-width: 380px) {
	.content-section8 .row {
		grid-template-columns: 1fr;
	}
}
@media screen and (max-width: 349px) {
	.head_top {
		padding-right: 0;
	}
	#topbar_menu {
		width: 88%;
	}
	.head_top, #topbar_menu ul li a {
		font-size: 9px;
	}
}

.mtop-40 {
	margin-top:40px;
}
