#masthead {
    padding: 2px 0;
    padding-bottom: 7px;
    /* dark blue gradient */
    background: #3b5287; /* Old browsers */
    background: -moz-linear-gradient(top, #3b5287 0%, #2e3545 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #3b5287 0%,#2e3545 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #3b5287 0%,#2e3545 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b5287', endColorstr='#2e3545',GradientType=0 ); /* IE6-9 */
}
element.style {
    padding-top: 169px;
}
body.navbar-is-fixed-top {
    margin-top: 127px;
}
body.path-frontpage.navbar-is-fixed-top {
    margin-top: 155px;
}
a.logo img {
    max-width: 700px;
    max-height: 60px;
}
a.logo {
}
img.tagline {
    margin-top: 5px;
}
.navbar-inverse {
    background-color: #c1002b;
    border-color: #b20028;
}
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
    color: #e2e0e0;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #a50126;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    background-color: #a50126;
}
a {
    color: #145a92;
}
body.path-frontpage .page-header {
    border-bottom: none;
    margin: 0;
    padding-bottom: 0;
}
h1, h2, h3 {
    font: bold 1.447em Georgia,"Times New Roman",Times,serif;
}
h2, .h2 {
    font-size: 22px;
}
.block h2 {
    margin-top: 0;

}
.node--view-mode-teaser {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5em;
    margin-bottom: 0.5em;
}
.node--view-mode-teaser footer div {
    padding-top: 6px;
    text-align: right;
}
#block-utilities {
    padding-bottom: 20px;
}
#block-otgovt-search {
}
/* custom nav in left sidebar */
#block-customsecondarymenu {
    margin-bottom: 1em;
}
#block-customsecondarymenu ul.menu {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    background-color: #dfe5ed;
    border-radius: 4px;
}
#block-customsecondarymenu ul.menu li {
    font-weight: bold;
    width: 100%;
    border-top: 1px solid #eee;
}
#block-customsecondarymenu ul.menu li a {
    padding-bottom: 9px;
    padding-top: 9px;
}
#block-customsecondarymenu ul.menu li a:hover {
    background-color: #d4dbe5;
}
#block-customsecondarymenu ul.menu li:first-child a {
    border-radius: 4px 4px 0 0;
}
#block-customsecondarymenu ul.menu li:last-child a {
    border-radius: 0 0 4px 4px;
    border-bottom: none;
}
#block-customsecondarymenu ul.menu li a.is-active {
    color: #999;
    background-color: #d4dbe5;
}
/* footer */
.footer {
    border-top: 1px solid #e5e5e5;
    margin-top: 35px;
    padding-bottom: 36px;
    padding-top: 18px;
}
#block-otgovt-footer {
    text-align: center;
}

.field--name-field-partner-logo {
    margin: 1em 0;
}
.field--name-field-partner-contact-name,
.field--name-field-partner-key-resources {
    margin-top: 1em;
}
.field--name-field-partner-contact-name,
.field--name-field-partner-contact-notes {
    margin-left: 1em;
}

/* twitter widget */
section#block-twitterblock {
    border: 1px solid #e9eaed;
    margin-bottom: 1em;
    background-color: #fff;
}
/* field--type-image */
div.field--type-image {
    position: relative;
    max-width: 100%;
    float: left;
    margin-right: 12px;
    }
.node--view-mode-teaser div.field--type-image {
    margin-top: 8px;
    margin-bottom: 9px;
}
div.field--type-image::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: inset 0 0 8px rgba(0,0,0,.6);
    -moz-box-shadow: inset 0 0 8px rgba(0,0,0,.6);
    -webkit-box-shadow: inset 0 0 8px rgba(0,0,0,.6);
 }
div.field--type-image img  {
    float: left;
}
body.path-node div.field--type-image  {
    margin-bottom: 15px;
}
/* no well styling for share buttons */
#block-socialmedia.well, #block-googleanalytics.well {
    padding: 0;
    background-color: inherit;
    border: none;
    border-radius: none;
    box-shadow: none;
}
.region-sidebar-second .well {
    background-color: #dfeded;
}
.node--sticky.node--view-mode-teaser {
    background-color: #f7f7e2;
    padding: 0 12px 12px 12px;
    border-radius: 4px;
    border: 1px solid #f1f1d3;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
}

.social-share.head, .social-share.masthead {
    float: right;
    left-margin: 15px;
}
.social-share.masthead {
    margin-top: 12px;
}
/* twitter/fb icons in masthead go away on mobile */
@media (max-width: 992px) {
    .social-share.masthead {
        display:none;
    }
}
.social-share.foot {
    margin-top: 30px;
    text-align: center;
}
.social-share.foot ul {
  width: 150px;
  margin: 0 auto;
}
.social-share ul {
	overflow: auto;
}
.social-share ul li {
	list-style-type: none;
	float: left;
}
.social-share ul li a i {
	background: #205D7A;
	color: #fff;
	width: 38px;
	height: 38px;
	border-radius: 20px;
	font-size: 25px;
	text-align: center;
	margin-right: 10px;
	padding-top: 15%;
}
.social-share ul li a i {
	transition: all 0.2s ease-in-out;
}
.social-share ul li a i:hover {
	opacity: .7;
}
.social-share .fa-facebook {
	background:#3b5998
}
.social-share .fa-twitter {
	background:#00aced
}
.social-share .fa-linkedin {
	background:#007bb6
}
.social-share .google-plus {
	background:#dd4b39
}
