/* Custom Layout */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,400italic,700italic,600italic);
html { -webkit-text-size-adjust: none; }

BODY { background-color: #eeeeee; margin: 0 auto; padding: 10px 0 !important; font-family: 'Open Sans', sans-serif; font-size: .9em; line-height: 1.5em; color: #333333; }
.maxwidth { max-width: 996px; margin: 0 auto; padding: 0 13px; position: relative; }
.clear { clear: both; }

a:hover img {opacity: .75;}
a img {transition: opacity 0.1s ease-out 0s;}

/* Above Phone, below iPad */
@media (min-width: 481px) and (max-width: 767px) {
	#footer-links .span3 { width:49.33875890132248%;*width:49.28789420142421%; float:left; margin-left:1.3224821973550356%;*margin-left:1.271617497456765%; }
	
	#footer-links .span3.footer-01,
	#footer-links .span3.footer-03 { margin-left: 0; }
}

/* All media below iPad */
@media (max-width: 767px) {
	#header-phone-top  { color: #ffffff; }
	#header-phone-top .logo  { padding: 15px; }
	#header-phone-top .top-text { padding: 0 15px 15px; }
	#header-phone-top .top-text .span6 { 
		width:49.33875890132248%;*width:49.28789420142421%;
		float:left;
		margin-left:1.3224821973550356%;*margin-left:1.271617497456765%;
		background-color: #0372e6;
		border-radius: 10px; 
	}
	#header-phone-top .top-text .span6:first-child { margin-left: 0; }
	#header-phone-top .top-text .span6 p { padding: 5px 0; font-size: 1em; }
	#header-phone-top .top-text .span6 strong { white-space: nowrap; }
	#header-phone-top .top-text .span6 a { color: #ffffff; }
	#header-phone-top p.heading {font-size: 1.5em; font-weight: 600; line-height: 1.5em; margin: 10px 0 0 0; }
}

/* All media below iPhone*/
@media (max-width: 481px) {
	.content-category .category-desc img { float: none !important; margin-left: 0 !important; }
}

/* Layout */
#header,
#header-phone-top { background-color: #037eff; border-radius: 10px 10px 0 0; }

#header .padding { padding: 0 30px; color: #eeeeee; font-size: 1.2em; }

#header p { margin-bottom: 0; }

#header .text-right { padding-top: 15px; }
#header .text-right .span6 { background-color: #0372e6; padding: 10px 0; border-radius: 10px; }
#header .text-right .span6 strong { white-space: nowrap; }
#header .text-right .span6 a { color: #ffffff; }

#header p.heading {font-size: 1.7em; font-weight: 600; line-height: 2.2em; margin: 0; white-space: nowrap; }

#navigation { z-index: 5;  /* This fixes the top menu z-index issue */ }
#navigation,
#header-phone  { 
	min-height: 45px;
	background: #013472; /* Old browsers */
	background: -moz-linear-gradient(top, #013472 0%, #002142 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#013472), color-stop(100%,#002142)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #013472 0%,#002142 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #013472 0%,#002142 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #013472 0%,#002142 100%); /* IE10+ */
	background: linear-gradient(to bottom, #013472 0%,#002142 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#013472', endColorstr='#002142',GradientType=0 ); /* IE6-9 */
}

#header-phone { height: 45px; }

#banner img { border-radius: 0; }

#content { background-color: #FFFFFF; }

#content.homepage > .padding { padding: 30px; } 
#content.page > .padding { padding: 30px; } 

#calltoaction { background-color: #0082fe; font-weight: 300; color: #ffffff; padding: 15px; }
#calltoaction .span4 .padding  { padding: 15px; text-align: center; }
#calltoaction h4 { color: #ffffff; font-weight: 600; margin-bottom: 0.8em; }


#footer  { background-color: #013469; border-radius: 0 0 10px 10px; color: #4e81b6; font-size: 0.8em; }
#footer p { margin: 0; padding: 5px; text-align: center; }
#footer a { color: #4e81b6; padding-left: 20px; }

#footer a:hover img {opacity: 1;}
#footer a img {opacity: .55; transition: opacity 0.1s ease-out 0s;}

#footer-links { font-weight: 300; color: #898989; padding: 10px 20px; }

#footer-links h3 { color: #898989; font-size: .9em; font-weight: bold; margin: 1em 0; text-transform: uppercase; }
#footer-links p { color: #898989; font-size: .8em; line-height: 1.5em; margin: 0; }
#footer-links a { color: #898989; }



#end  { padding: 20px 0; color: #898989; }

/* Overrides */
h1 { color: #09386e; padding-bottom: 5px; border-bottom: 1px solid #dddddd; font-size: 2.3em; }
h2, h4, h5, h6 { color: #0082fe; font-weight: normal; }
h3 { color: #09386e; font-weight: normal; }

a { color: #0082fe; }
a:hover,a:focus{color:#013469;text-decoration:none;}

ul li, ol li { line-height: 1.5em; margin-bottom: .5em; }

p:last-child,
li:last-child { margin-bottom: 0}

img { border-radius: 10px; }
li.sigProThumb img { border-radius: 0; }

[class^="icon-"], [class*=" icon-"] { margin-top: 3px; }

hr { margin: 2em 0; }

table.table th, table.table td { border-top: 1px solid #eeeeee; padding: 4px;  }


/* Homepage */
.blog-featured p { font-size: 1.6em; text-align: center; margin: 0; line-height: 2em; }
.home-01 .custom,
.home-02 .custom,
.home-03 .custom { padding: 15px; }

.home-01 .custom ul, .home-02 .custom ul, .home-03 .custom ul,
.home-01 .custom ol, .home-02 .custom ol, .home-03 .custom ol { margin-bottom: 0; }

.risk-calculator { padding: 30px; background-color: #0082fe; color: #ffffff; text-align: center; }
.risk-calculator h2 { color: #ffffff; }
.risk-calculator p:last-child { margin-bottom: 0; }

/* Articles */
.content-category .category-desc img { margin: 0 0 1em 1em; float: right; }
.content-category .category-desc:after { clear: both; content: "\0020"; display: block; height: 0; }

.blog .items-row { margin-bottom: 1em; }
.pull-right.item-image img { margin: 0 0 1em 1em; border-radius: 10px; }

.custom.map-bellavista,
.custom.map-mosman { padding: 20px; }

.custom.map-bellavista img,
.custom.map-mosman img { width: 100%; }