
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@font-face {
    font-family: 'proximanova_light';
    src: url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-light-webfont.eot');
    src: url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-light-webfontd41d.eot?#iefix') format('embedded-opentype'),
url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-light-webfont.woff') format('woff'),
url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-light-webfont.ttf') format('truetype'),
url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-light-webfont.svg#skolarregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'proximanova_semibold';
    src: url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-semibold-webfont.eot');
    src: url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-semibold-webfontd41d.eot?#iefix') format('embedded-opentype'),
url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-semibold-webfont.woff') format('woff'),
url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-semibold-webfont.ttf') format('truetype'),
url('../../../../../main/wp-content/themes/bira/css/fonts/proximanova-semibold-webfont.svg#skolarregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Circular-Bold";
    src:url("../../../../../main/wp-content/themes/bira/css/fonts/lineto-circular-bold.eot");
    src:url("../../../../../main/wp-content/themes/bira/css/fonts/lineto-circular-boldd41d.eot?#iefix") format("embedded-opentype"),
url("../../../../../main/wp-content/themes/bira/css/fonts/lineto-circular-bold.woff2") format("woff2"),
url("../../../../../main/wp-content/themes/bira/css/fonts/lineto-circular-bold.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}



html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'proximanova_light';
    color:#333;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* ==========================================================================
   Global styles
   ========================================================================== */


.dsk-hide {
	display:none;
}

h1, h2, h3, h5 {
	margin: 0;
	padding: 0;
	font-family: 'Circular-Bold', sans-serif;
	font-weight: normal;
}

h1 {
	color: #fff;
	font-size: 4em;
	line-height: 1em;
}

h1.bagma-header {
	font-size: 2em;
}

h2 {
	font-size: 2.5em;
	line-height: 1.1em;
	color: #312683;
}

h3 {
	font-size: 2.5em;
	line-height: .9em;
	color:#312683;
}

.home-article-inner h3 {
	line-height: 1em;
}

h4 {
	font-family: 'Circular-Bold', sans-serif;
	font-size: 18px;
	margin: 0;
	padding: 20px 0px 10px;
	line-height: 1.2em;
}

h5 {
	font-size: 18px;
	font-family: 'proximanova_semibold', sans-serif;
	padding-top:6px;
}

a {
	font-family: 'proximanova_semibold', sans-serif;
	color:#333;
	text-decoration: none;
	/*-webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;*/
    }

a:hover {
	color:#2ecfc9;
}

.dark a {
	color:#fff;
}

ul {
	margin: 0;
	padding: 0px 20px;
}

.logo a:hover {
	opacity: 1;
}

.cta {
	/*font-family: 'proximanova_light', sans-serif;
	background:#ee8034;
	color:#fff;
	margin-right:10px;*/
}

.block-cta {
	padding: 20px;
	background:#ed8023;
	width: 100%;
	display: block;
	color:#fff;
	background-image: url('../../../../../main/wp-content/themes/bira/img/side-arrow.png');
	background-repeat: no-repeat;
	background-position-x: 85%;
	background-position-y: 25px;
	border-radius: 5px;
}

.block-cta-dark {
	background:#3d3c4a;
	background-image: url('../../../../../main/wp-content/themes/bira/img/side-arrow.png');
	background-repeat: no-repeat;
	background-position-x: 85%;
	background-position-y: 25px;
	border-radius: 5px;
}

.outline-cta {
	font-family: 'proximanova_semibold', sans-serif;
	padding: 15px;
	background: #2ecfc9;
	color:#fff;
	border-radius: 5px;
}

.outline-cta:hover {
	background:#1e8d89;
}

.button-wrapper {
	margin-top:41px;
}

.social-links {
	padding-left: 20px;
}
.social-links ul {
	margin: 0;
	padding: 0;
}
.social-links ul li {
	list-style-type: none;
	display: inline-block;
	padding: 10px;
	background:#1aa0e1;
	border-radius: 40px;
}
.social-links ul li:nth-child(1) {
	margin-left: 0;
}

.social-links img {
	width: 20px;
	height: 20px;
}

input {
	background:none;
	border: solid 1px #666;
	padding: 15px;
}
input:focus, textarea:focus {
    outline: none;
}

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(30, 175, 235, 0.8) url(http://birafinance.uk/main/wp-content/themes/bira/img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}

/* Form Styling */

body .gform_wrapper {
	height: 100%;
	overflow: auto;
}

.gform_wrapper .gform_body {
	width: 100% !important;
}

.event_registration {
	width: 60%;
	margin: 0 auto !important;
}

.event_registration p {
	margin: 0 !important;
	width: 60% !important;

}

.gform_wrapper .gf_progressbar {
	background-color: rgba(0,0,0,0) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 10px 0px !important;
}

.gform_wrapper .gf_progressbar_percentage {
	background: none !important;
	border-radius: 0 !important;
}
.gform_wrapper .gf_progressbar:after {
	border-radius: 0 !important;
}

.gform_wrapper .percentbar_blue {
	background-color:#312683 !important;
}

body .gform_wrapper .top_label div.ginput_container {
	margin-top: 0px !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield input[type=text],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=email],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=url],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=number],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=password],
body .gform_wrapper .gform_body .gform_fields .gfield select {

	background-color: rgba(255,255,255,0);
	border: solid 1px #cccccc;
	font-size: 16px;
	line-height: 2em;
	padding: 15px !important;
	box-sizing: border-box;
	margin-top: 0px;

}

body .gform_wrapper .gform_body .gform_fields .gfield textarea {
	border: solid 1px #ccc;
}

body .gform_wrapper .gform_body .gform_fields .gfield select {
	padding: 15px;
    box-sizing: border-box;
    margin-left: 0 !important;
    border: solid 1px #ccc;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    background-image: url('../../../../../main/wp-content/themes/bira/img/dd-arw.png');
    background-size: 15px;
	background-position: right 10px center;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    height:62px;
}

body .gform_wrapper .gform_body .gform_fields .address-field input, body .gform_wrapper .gform_body .gform_fields .address-field select  {
	margin-top: 0 !important;
}

.gform_wrapper label.gfield_label, .gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked+label, .gform_wrapper ul.gfield_radio li input[type=radio]:checked+label {
	font-family: 'proximanova_semibold';
	font-weight: normal !important;
}

.gf_step {
	color:#000 !important;
}

.gform_wrapper .gfield_description {
	font-size: 14px !important;
}

body .gform_wrapper .gform_body .gform_fields .ginput_container_date select{
	width: 120px !important;
}

.gform_wrapper .gform_page_footer .button.gform_button, .gform_wrapper .gform_page_footer .button.gform_next_button {
	background:#ee8034;
	border: 0;
	color:#fff;
}

/* gform placeholders*/
::-webkit-input-placeholder { color:#666; }
:-moz-placeholder { opacity: 1; color:#666; } /* Firefox 18- */
::-moz-placeholder { opacity: 1; color:#666; } /* firefox 19+ */
:-ms-input-placeholder { color:#666; } /* ie */
input:-moz-placeholder { color:#666; }


#gform_submit_button_9, #gform_submit_button_10, #gform_submit_button_11 {
	width: auto !important;
}

.full-width-para p{
	margin: 0 !important;
	padding-left: 0 !important;
}

/* Header Styles */

.spacer {
	height: 150px;
}

.spacer-tall {
	height: 210px;
}

header {
	width: 100%;
	height: auto;
	position: fixed;
	z-index: 999;
}

.header-inner {
	padding:10px 5%;
}

.header-primary {
	width:100%;
	height: 40px;
	background: #f3f3f3;
	text-align: right;
}

.header-main {
	height: 100%;
	height: 110px;
	overflow: auto;
	background: #fff;
	clear:both;
}

.logo, .navigation {
	float:left;
	display: block;
}

.logo {
	width: 10%;
	padding-top: 8px;
}

.navigation {
	width: 90%;
	text-align: right;
}

menu {
	padding-top: 20px;
}

menu ul, .homepage-tweets ul {
	margin: 0;
	padding: 0;
}

menu ul li, .header-primary-links ul li {
	height: 100%;
	list-style-type: none;
	display: inline-block;
	margin: 0 20px;
}

menu a:hover {
	color:#2ecfc9;
}

menu li.active, .current_page_item a {
	border-bottom: solid 2px #2ecfc9;
	padding-bottom: 16px;
}

menu li.cta a, .mobile-menu li.cta a {
	font-family: 'proximanova_semibold', sans-serif;
	background:#2ecfc9;
	color:#fff;
	border-radius: 5px;
	padding: 20px;
}

menu li.logged-in-cta a {
	background: #1daeec !important;
}


.bagma-cta, .body-cta {
	font-family: 'proximanova_semibold', sans-serif;
	background:#2ecfc9;
	color:#fff;
	border-radius: 5px;
	padding: 20px;
	display: inline-block;
}

.bagma-cta:hover, .body-cta:hover {
	background:#1e8d89;
	color:#fff;
}

.menu-item-831 {
	padding-right: 10px;
}

.menu-item-831, .menu-item-732 {
	margin: 0;
}

menu li.cta a:hover, .mobile-menu li.cta a:hover {
	background:#2ecfc9;
}

.mobile-menu {
	display: none;
}

.header-primary-inner, .header-primary-links {
	float:left;
	width: 50%;
}

.header-primary-inner {
	width: 100%;
	padding-top: 10px;
}

.header-primary span {
	padding-right: 5%;
}

.header-primary-links {
	text-align: right;
}

.header-primary-links ul {
	padding-right: 5%;
}

.header-primary-links a {
	padding: 5px 10px;
}

.header-secondary {
	background:#243082;
	height: 60px;
	display: block;
	overflow: hidden;
    -ms-overflow-style: none;
}

.header-secondary-inner {
	padding: 0 5%;
	display: block;
	overflow: auto;
}

.secondary-branding, .secondary-menu, .bagma-secondary-branding {
	float:left;
	display: block;
	overflow: auto;
}

.secondary-branding, .bagma-secondary-branding {
	width: 25%;
}

.secondary-branding h1, .bagma-secondary-branding h1 {
	font-size: 1.5em;
	line-height: 2.8em;
}

.secondary-menu {
	width: 75%;
	text-align: right;
}

.secondary-menu ul {
	margin: 0;
	padding: 0;
}

.secondary-menu ul li {
	list-style-type: none;
	clear:both;
	display: inline-block;
	padding: 21px 15px;
}


.secondary-menu ul li a {
	color:#fff;
}

.secondary-menu-callout {
	display: none;
}


/* ==========================================================================
   Login styles
   ========================================================================== */


.search-icon {
	width: 18px;
	height: auto;
	padding: 0 6px;
}


/* Mast Styles */

.mast {
	width: 100%;
	height: 100%;
	display:block;
	overflow: auto;
	position: relative;
}

.mast-tall {
	height: 675px;
}

.mast-medium {
	position: relative;
	height: 400px;
	margin-top: 60px;
}

.mast-short {
	height: 300px;
}

.mast-dashboard {
	height: 200px;
}

.overlay {
	padding-left: 5%;
	width: 35%;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

#sidebar, #content-main {
	display: block;
	overflow: auto;
}

#sidebar {
	width: 25%;
	min-width: 300px;
	float:left;
	overflow: auto;
}

.sub-menu {
	border: solid 1px #e2e2e2;
}

.publish-bar img {
	margin-top: 30px;
}

.sub-menu-title {
	font-family:'proximanova_semibold', sans-serif;
	background:#312683;
	padding: 20px 20px;
	height: 80px;
	color:#fff;
	position: relative;
}

.sub-menu-title span {
	margin-top: 24px;
	font-size:24px;
	position: absolute;
}

.sub-menu ul {margin:0; padding:20px 0px 10px 20px;}
.sub-menu ul li {
	list-style-type: none;
	padding:10px 0px;
}

.sub-menu a {
	color:#999;
}

.sub-menu a:hover  {
	color:#2ecfc9;
}

.sub-menu .current_page_item a {
	border-bottom: none;
	color:#1dafed;
}

.sidebar-logo {
	border: solid 1px #e2e2e2;
	margin-bottom: 30px;
}

.logo-pod {
	padding: 40px;
	text-align: center;
}

.logo-pod img {
	max-width: 250px;
}

.sidebar-latest, .price-list {
	background: #243082;
	margin-top: 30px;
}

.latest-news-pod, .price-list-inner {
	padding: 40px;
	color:#fff;
}

.latest-news-pod h3, .price-list h3 {
	color:#fff;
	font-size: 1.5em;
}

.latest-news-pod h4 {
	font-size: 16px;
	padding: 20px 0px 5px;
}

.latest-news-pod a, .latest-news-pod p {
	color:#fff;
	font-size: 13px;
}

#services-bar, #services-search {
	width: 50%;
	float:left;
	display: block;
	margin-top:40px;
}

#services-search {
	width: auto;
	/*min-width: 550px;*/
	width: 45%;
	overflow: auto;
	padding-left: 5%;
}

.smartsearch,
.facetwp-search {
	width: 100%;
	border: none;
	border-bottom: solid 2px #2d2d2d;
	padding: 10px 0px;
	font-size: 20px;
}
.facetwp-search {
	width: 50% ;
}

.services-list ul {
	margin: 0;
	padding: 0;
	padding-top: 10px;
}

.services-list ul li {
	list-style-type: none;
	padding: 10px 0px;
	border-bottom: solid 1px #e2e2e2;
}

.services-list a {
	font-family: 'proximanova_light', sans-serif;
	color:#1aa0e1;
}

.page_item_has_children .children {
	display:none;
}

.column {
	width:50%;
	float:left;
	display: block;
	position: relative;
}

.side-column {
	padding-top: 20px;
}

.column-inner {
	padding-left: 20px;
}

.row {
	clear: both;
	padding: 0px 0px 10px 0px;
}

.item-small {
	width: 100%;
	height: 180px;
	background:#e2e2e2;
	margin-bottom: 10px;
	position: relative;
}

.grid-item-internal {
	padding:35px 20px 0 20px;
}

.grid-para {
	width: 60%;
	float:left;
}
.grid-logo {
	width: 40%;
	float:left;
	text-align: right;
}

.quad {
	width: 97%;
	margin-right: 3%;
}

.item-tall {
	width: 97%;
	height: 372px;
	margin-left:3%;
	background: #f3f3f3;
	position: relative;
}

.tall-overlay {
	position: absolute;
	bottom: 35px;
}

.item-wide {
	width: 100%;
	height: 180px;
	background: #999;
}

.grid-item h3 {
	font-size: 21px;
}
.grid-item p, .grid-item a {
	font-size: 13px;
	color:#fff;
}

.item-fixed {
	height: 240px;
}

.bg-lblue {background:#23a9e0;}
.bg-dblue {background:#243082;}
.bg-dblue h3, .bg-lblue h3, .bg-image h3 {color:#fff;}
.bg-white p, .bg-white a {color:#2d2d2d;}
.bg-white {background:#fff; border: solid 1px #e2e2e2;}
.bg-image {

}

#content-main {
	margin-left:25%;
	overflow: auto;
}

.content-inner {
	padding-left: 40px;
}

#fullwidth-content, #join-content {
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

.search-content header{
	position: relative;
	z-index: 998;
	text-align: left;
	width: 60%;
	margin: 0 auto;
}

.search-content article p {
	border-bottom: solid 1px #e2e2e2;
	padding-bottom: 20px !important;
}

.pricing-table td {
	width: 65%;
}

#fullwidth-content h1, #join-content h1 {
	color:#41415f;
	font-size: 32px;
}

#fullwidth-content h2 {
	font-size: 14px;
	padding: 20px 0px;
}

#fullwidth-content p {
	width: 60%;
	padding: 10px 0px;
	text-align: left;
	margin: 0 auto;
}

#fullwidth-content ul {
    text-align: left;
    margin: 0 auto;
}

.article-content ul, .article-content ol {
	width: 60%;
    text-align: left;
    margin: 0 auto;
    padding: 20px 0 20px 20px;
}

.join-intro p {
	width: 60%;
	margin: 0 auto;
	text-align: center;
	padding: 10px 0;
}

.breaker {
	width: 40px;
	margin: 0 auto;
	margin-top: 20px;
}

.resource-nav-bar {
	width: 100%;
	padding-bottom: 10px;
	border-bottom: solid 2px #e2e2e2;
}

.resource-nav-bar a {
	padding-right: 20px;
}

.daily-header {
	padding: 20px 0px;
	border-bottom:solid 1px #e2e2e2;
	text-align: center;
}

.daily-header h3 {
	font-size: 16px;
	padding-top: 10px;
	line-height: 1em;
}

.daily-header-left h3, .daily-header-left p {
	width: 50%;
	margin: 0 auto;
	padding: 10px 0px;
}

.media-inner {
	padding-left: 60px;
}

.articles {
	margin-top: 20px;
}

.article-highlight {
	width: 100%;
	border-bottom: solid 1px #e2e2e2;
	padding: 20px 0px;
	clear: both;
}

div .date {
	float:left;
	width: 100px;
	height: 100%;
	min-height: 100px;
	display: block;
	overflow: auto;
}

div .date h4 {
	font-family: 'proximanova_light', sans-serif;
	font-weight: normal;
	padding: 0;
	font-size: 30px;
	color:#ee8034;
}

.article-highlight a {
	font-size: 12px;
}

.post-grid {
	width: 32%;
	height: 400px;
	display: block;
	float: left;
	background:#f0f0f0;
	margin: 0;
	position: relative;
	margin-right: 1%;
	margin-bottom: 1%;
}

.post-block {
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
}

.post-block h3, .post-block p, .post-block a {
	color:#fff;
}

.post-block h3 {
	font-size: 2em;
}

.type-article {font-weight: bold; color:#2dfffe;}
.type-video {font-weight: bold; color:#1dafed;}
.type-download {font-weight: bold; color:#24e529;}
.type-blog {font-weight: bold; color:#fedb31;}
.type-infographic {font-weight: bold; color:#fdf9f2;}
.type-fact {font-weight: bold; color:#312683;}
.type-mag {font-weight: bold; color:#2dfffe;}

.accordion-toggle {cursor: pointer;
	background: #eee;
    padding: 15px;
    margin-bottom: 2px;
}
  .accordion-content {display: none;}
  .accordion-content.default {display: block;}


.contactplus {
    float: right;
    font-size: 2em;
    font-family: 'proximanova_light';
}

.shade {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.5);
}

.post-block-inner {
	position: absolute;
	left: 20px;
	bottom: 25px;
	width: 70%;
}

ul.upcoming-events {
	margin: 0;
	padding: 20px;
}

ul.upcoming-events li {
	border-bottom: solid 1px #e2e2e2;
	padding: 20px 0;
}

.upcoming-events h6 {
	margin: 0;
	padding: 0;
	font-family: 'proximanoa_semibold', sans-serif;
	font-weight: normal;
	font-size: 14px;
}


.event-going {
	font-family: 'proximanova_semibold', sans-serif;
	color:#5aa10f;
}

.event-info-inner {
	padding: 0px 20px 20px 20px;
	border: solid 1px #e2e2e2;
}

.membership-information {
	width: 100%;
}

table.membership-information tr {
	border: solid 1px #e2e2e2;
}

table.membership-information td {
	padding: 10px;
}

td.table-label {
	width: 50%;
	font-family:'proximanova_semibold', sans-serif;
}

ul.membership-info, ul.membership-info li {
	margin:0;
	padding: 0;
}

ul.membership-info label {
	display: block;
	padding:10px 0px 5px;
}

ul.membership-info li {
	list-style-type: none;
	width: 50%;
	float: left;
}

ul.membership-info input {
	width: 98%;
	box-sizing: border-box;
	border: solid 1px #ccc;
	padding: 20px;
	font-family: 'proximanova_light';
	font-size: 14px;
}

ul.membership-info input[name="Edit"] {
	border: solid 1px red;
}

.membership-edit input[readonly] {
	opacity: .5;
}
input.editable {
	border: solid 1px #1aa0e1 !important;
}


.attend-button {
	display: block;
	padding: 20px;
	background:#1aa0e1;
	margin-bottom:20px;
	color:#fff;
}

a.attend-button:hover {
	color:#fff;
}

a.form-link, a.form-link-2 {
	color:#fff;
	display: inline-block;
	margin-top: 10px;
	line-height: 1em;
}

a.form-link-2 {
	color:#333;
	margin-top: 0;
}

.back-to-event {
	margin-bottom: 20px;
	background:#2ecfc9;
	padding: 20px;
}

.back-to-event a {
	color:#fff;
}

.cost {
	background:#2ecfc9;
}

.sectors-grid {
	width: 100%;
	overflow: auto;
}

.sector-block {
	width: 32%;
	height: 350px;
	display: block;
	float:left;
	margin-right: 1.3%;
	margin-top: 40px;
	position: relative;
	text-align: left;
}


.sector-logo-bar {
	background-color:rgba(255,255,255,0.9);
	width: 100%;
	height: 80px;
}

.sector-logo-bar img {
	max-height: 50px;
	padding: 15px 0px 0px 20px;
}

.sector-content {
	position: absolute;
	bottom:0;
	padding: 20px;
}

.sector-content h3, .sector-content p, .sector-content a {
	color:#fff;
}

.sector-content p {
	width: 80% !important;
	margin: 0 !important;
	line-height: 1.2em;
	padding-top: 10px;
}


/*********************
Join Content Styles
*********************/

.membership-options-grid {
	width: 100%;
	height: auto;
	overflow: auto;
	padding: 60px 0px;
}

.membership-option {
	width: 33.333%;
	height: 300px;
	margin-top: 40px;
	float:left;
	vertical-align: middle;
	display: block;
}

.dark-blue {background:#312a80;}
.light-blue {background:#1daeec;}
.green {background:#e63027;}


.membership-option a {
	color:#fff;
}

.option-internal {
	padding: 60px 80px;
	color:#fff;

}





/*********************
Flexible Content Styles
*********************/

.team-members h4, .team-members h5, .team-members h6 {
	font-size: .8em;
}

.team-members h4 {
	padding: 10px 0px 0px 0px;
}

.team-members h6 {
	margin: 0;
	padding: 5px 0px;
	color:#666;
}

.team-members {
	width: 100%;
	margin: 40px 0px;
}

.team-members img {
	height: 160px;
}

.team-members ul {
	margin: 0;
	padding: 0;
}

.team-members ul li {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: inline-block;
	width: 24%;
	padding-top: 20px;
}





/* Footer styles */

footer a {
	color:#fff;
	font-family: 'proximanova_light', sans-serif;
}

footer {
	width: 100%;
	height: 100%;
	overflow: auto;
	background:#6a6c6c;
	color:#fff;
}

.logo-small {
	width: 70px;
}

.footer-top, .footer-bottom {
	height: auto;
	overflow: auto;
}

.footer-top {
	border-bottom: solid 1px #dbd8d6;
	padding-bottom:10px;
}

.footer-bottom {
	padding-top: 20px;
}

.footer-left, .footer-right {
	float:left;
	display: block;
	overflow: auto;
}

.footer-left {
	width: 60%;
}

.footer-right {
	width: 40%;
	float:right;
	text-align: right;
}

.footer-links ul {
	margin:0; padding: 0;
	float: left;
	padding-right: 60px;
}
.footer-links ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.footer-smallprint {
	padding: 15px 0px;
    border-top: solid 1px #dbd8d6;
    margin-top: 20px;
}

.newsletter-signup ul, .newsletter-signup ul li, .newsletter-signup .gform_footer {
	margin: 0 !important;
	/*padding: 0 !important;*/
}

.newsletter-signup input {
	width: 100% !important;
	color:#fff !important;
}

.newsletter-signup input[type="submit"] {
	background:#1aa0e1;
	width: 25%;
}

.newsletter-signup select { -webkit -appearance:none }

.newsletter-signup input::-webkit-input-placeholder, input::-webkit-input-placeholder { color:#FFF; }
.newsletter-signup input:-moz-placeholder, input:-moz-placeholder { opacity: 1; color:#FFF; } /* Firefox 18- */
.newsletter-signup input::-moz-placeholder, input::-moz-placeholder { opacity: 1; color:#FFF; } /* firefox 19+ */
.newsletter-signup input:-ms-input-placeholder, input:-ms-input-placeholder { color:#FFF; } /* ie */
.newsletter-signup input:-moz-placeholder, input:-moz-placeholder { color:#FFF; }
.gform_wrapper .top_label li ul.gfield_radio {width: 100% !important;}

.nl_btm { padding-top: 16px !important; }

#gform_submit_button_11 {
	float:right;
	margin-right: 0;
	font-family: 'proximanova_semibold', sans-serif;
	padding: 15px;
	background: #2ecfc9;
	color:#fff;
	border-radius: 5px;
	margin-top: 10px;
}

#gform_submit_button_11:hover {
	background:#1e8d89;
}

.bank-footer {
	background:#e2e2e2;
}

.bank-footer .inner {
	overflow: auto;
}

.bank-footer-links {
	float: right;
	text-align: right;
	width: 80%;

}

.fscs-logo {
	width: 120px;
}

.member-only-callout {
	width: 60%;
	margin: 0 auto;
	text-align: left;
}

.mo-cta p {
	width: 100% !important;
}

.mo-icon, .mo-cta {
	float:left;
	display: block;
	overflow: auto;
}

.mo-icon {
	width: 20%;
}

.mo-cta {
	width: 80%;
}


/* ==========================================================================
   Body styles
   ========================================================================== */

.body-content, .body-content-main {
	background:#f3f3f3;
	display: block;
	overflow: auto;
	width: 100%;
	height: 100%;
}

.body-content-main {
	background:#fff;
	padding-bottom: 60px;
}

.homepage-social {
	display: block;
	height: 100%;
	overflow: auto;
}
.social-header {
	width: 100%;
	height:100%;
	text-align: center;
	margin: 0;
	padding: 60px 0px;
}

.social-blog, .social-feed {
	float:left;
	display: block;
	overflow: auto;
}

.homepage-tweets a {
	color:#1dafed;
}

.social-blog {
	width: 60%;
	height: 100%;
	overflow: auto;
	display: block;
}

.social-feed {
	width: 40%;
}

.home-article-image {
	width: 100%;
	height: 450px;
	position: relative;
}

.home-article-link {
	position: absolute;
	width:100%;
	text-align: right;
	left: 50%;
	top: 20%;
}

.home-article-link a {
	font-family: 'proximanova_light', sans-serif;
	color:#1dafed;
	font-size:1.5em;
}

.home-article-snapshot {
	width: 60%;
	height: auto;
	background: #fff;
	margin-top:-240px;
	position: relative;
}

.home-article-inner {
	padding: 40px;
}

.homepage-tweets {
	padding-left: 40px;
}

.homepage-tweets ul li {
	height: 100%;
	width: 60%;
	padding-bottom: 40px;
	list-style-type: none;
}

.homepage-divisions {
	padding-top: 60px;
	clear: both;
}

.divison-icons {
	width: 100%;
	text-align: center;
	padding: 40px 0px;
	background: #fff;
}
.division-icon {
	display: inline-block;
	padding: 0 2%;
}

.hidden-text {
	border-top: solid 1px #e2e2e2;
	margin-top: 40px;
	padding-top: 20px;
}

.clickBox {
	cursor: pointer;
}

/* ==========================================================================
   Event styles
   ========================================================================== */

.events-calendar {
	margin-top: 40px;
}

.month, .pagination {
	width: 50%;
	float:left;
}

.pagination {
	text-align: right;
	padding-top: 15px;
}

.filter-spot {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	border-radius: 5px;
}

/*.events-calendar table {
	width: 99%;
	margin: 0;
	padding: 0;
}

.table-header {
	height: 40px !important;
}

.events-calendar th {
	text-align: left;
}

.events-calendar tr {
	height: 120px;
}

.events-calendar td {
	vertical-align: top;
	padding: 10px;
	width: 45px;
	border: solid 1px #e2e2e2;
}

.events-calendar ul, .events-calendar ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.events-calendar li a {
	display: block;
	padding: 5px;
	font-size: .75em;
	color:#fff;
	margin-top:2px;
}*/


.featured-events {
	width: 100%;
	height: auto;
	display: block;
	overflow: auto;
	padding-top: 20px;
	padding-bottom: 40px;
}

.event-block {
	width: 50%;
	height: 200px;
	display: block;
	float:left;
	overflow: auto;
	position: relative;
}

/*.featured {
	position: absolute;
	font-family: 'proximanova_semibold';
	top: 20px;
	left: 20px;
	color:#2dfffe;
}*/

.event-block-inner {
	position: absolute;
	left: 20px;
	bottom: 20px;
}


.event-block h4, .event-block a{
	color:#fff;
}

.attend-event {
	background:#f5f5f5;
	color:#666;
	margin-top:20px;
}

.attend-button {
	font-family:'proximanova_semibold', sans-serif;
	background:#2ecfc9;
	color:#fff;
	border-radius: 5px;
	border: none;
	font-size: 16px;
}

.attend-inner {
	padding: 20px;
}

.attend-event ul li, .attend-event .gform_wrapper, .attend-event .gform_footer {
	padding: 0 !important;
	margin: 0 !important;
}

.attend-event input {
	width: 100% !important;
	color:#fff;
}

/* gform placeholders*/
.attend-event ::-webkit-input-placeholder { color:#FFF; }
.attend-event :-moz-placeholder { opacity: 1; color:#FFF; } /* Firefox 18- */
.attend-event ::-moz-placeholder { opacity: 1; color:#FFF; } /* firefox 19+ */
.attend-event :-ms-input-placeholder { color:#FFF; } /* ie */
.attend-event input:-moz-placeholder { color:#FFF; }

#gform_submit_button_8 {
	margin-top: 10px;
	background:#fff;
	color:#1aa0e1;
}



/* Grid Sizing Styles */

.nav-bar {
	padding: 20px 5%;
}

.nav-bar {
	font-size:12px;
}

.nav-bar .breadcrumb, .nav-bar .social {
	width:50%;
	float:left;
	display: block;
	overflow: auto;
}
.nav-bar .social {
	text-align: right;
}

section {
	width: 100%;
	height: auto;
	display: block;
}

.inner {
	padding: 50px 5%;
	margin:0 auto;
}

.bg-light {
	background:#fff;
}

.module-full {
	width: 100%;
	height: 450px;
	display: block;
	overflow: auto;
	position: relative;
	text-align: left !important;
}

.module-full-tall {
	width: 100%;
	height: 600px;
	display:block;
	overflow: auto;
	text-align: left !important;
}

.wide {
	font-size: 1.25em !important;
	width: 40% !important;
}

.modular-pods .module-full, .modular-pods .pod-text {
	height: 230px;
}

.mod-full-pods {
	width: 50%;
	height: 100%;
	display: block;
	float:left;
	overflow: auto;
	position: relative;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
}

.module-color-bg {
	background:#312683;
}

.pod-text, .pod-text-large, .pod-image {
	height: 450px;
}

.pod-text-xl. pod-image-xl {
	height: 600px;
}

.cta-modules {
	width: 100%;
	height: auto;
	overflow: auto;
	border-top: solid 1px #e2e2e2;
	margin-top: 20px;
	padding-top: 20px;
}

.cta-module {
	width: 49%;
	height: 300px;
	display: block;
	float:left;
	overflow: auto;
	margin-right: 1%;
	margin-top: 1%;
}

.cta-module h4{
	color:#fff !important;
}

.module-inner {
	padding: 0px 60px 0px 60px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.module-inner h2, .module-inner p {
	width: 90%;
}
.dark h2, .dark p {
	color:#fff;
}

.modular-pods h2 {
	font-size: 28px;
}

.modular-pods p {
	font-size: 14px;
}

.cta-text {
	font-size: 1.25em;
	line-height: 1.2em;
	margin: 0 ;
	padding: 10px 0px 0px;
	width: 50%;
}

.modular-pods {
	margin-top: 40px;
}

.internal-grid-large ul, .internal-grid-large ul li {
	margin: 0;
	padding: 0;
}

.internal-grid-large ul li {
	margin-left: 16px;
}

.grid-item-block {
	width: 50%;
	display: inline-block;
	float:left;
	border-top: solid 1px #e2e2e2;
	margin-top: 30px !important;
	padding-top: 30px !important;
	margin-left: 0 !important;
	list-style-type: none;
}

.internal-grid-large li:nth-child(odd){
	clear: both;
}

.grid-item-inner {
	padding-right: 40px;
}

.grid-item-inner img {
	/*max-height: 100px;*/
	width: 100%;
	padding: 20px 0px;
}

.clear {
	clear: both;
}



/* ==========================================================================
   Subsidiary styling
   ========================================================================== */

.sidebar-promotion, .sidebar-quote {
	background:#243082;
	width: 100%;
}

.sidebar-promotion h3 {
	font-size: 24px;
	border-bottom:solid 1px #5d7093;
	padding-bottom:20px;
}

.sidebar-promotion a, .sidebar-promotion p, .sidebar-quote h5, .sidebar-quote p {
	font-size: 13px;
}

.quote-terms {
	font-size: 11px;
}

.sidebar-promotion, .sidebar-quote, .sidebar-promotion h3, .sidebar-promotion a, .sidebar-quote h4, .sidebar-quote h5 {
	color:#fff;
}

.quote-form h4{
	padding-top: 0;
}

.quote-form a {
	color:#fff;
}

.sidebar-quote h5 {
	padding: 15px 0 5px;
}

.sidebar-social-feed {
    margin-top: 30px;
    border: solid 1px #e2e2e2;
}

.sidebar-social-feed ul {
    padding: 0;
    margin: 0;
}

.sidebar-tweets {
    padding: 0 20px;
}

.sidebar-tweets ul li {
    width: 100%;
    padding-bottom: 40px;
    list-style-type: none;
}

.sidebar-tweets a {
    color:#1dafed;
}

.promotion-pod, .quote-form-inner {
	padding: 20px;
}

.promotion-pod {
	margin-bottom: 20px;
}

.quote-form input {
	box-sizing: border-box;
	width:100%;
	border: solid 1px #fff;
	color:#fff;
	margin-top:-1px;
}

.quote-form input::-webkit-input-placeholder {
	color:#fff;
}

.quote-form select {
	border: solid 1px #e2e2e2;
	background: url(../../../../../main/wp-content/themes/bira/img/dd_arw.png) no-repeat right transparent;
	background-position-x: 250px;
	width: 100%;
	padding: 15px;
	font-size: 14px;
	line-height: 1;
	border-radius: 0;
	-webkit-appearance: none;
	color:#fff;
}

.quote-formoption {
	background-color: #323132;
}

.quote-form select option {
    color: #323132;
}

.quote-form button {
	width:100%;
	margin-top: 10px;
	padding:10px;
	background:#e2e2e2;
	border: none;
	color:#354c78;
}

.direct-content {
	margin-top: 40px;
}

.direct-content .active {
	color:#312683;
}

.supplier-grid ul, .supplier-grid li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.supplier-grid ul li {
	display: inline-block;
	width: 24.5%;
	height: 200px;
	vertical-align: top;
	text-align: center;
	position: relative;
	border-right: solid 1px #e2e2e2;
	border-bottom: solid 1px #e2e2e2;
}

.supplier-grid ul li img {
	max-width: 140px;
	max-height: 100px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


.supplier-contact-info {
	background:#e2e2e2;
	width: 40%;
	height: 400px;
	display: block;
	float:left;
	padding-left:5%;
}

.supplier-contact-info h1 {
	font-size: 2em;
	color:#312683;
}

.supplier-inner {
	padding-top: 60px;
	padding-right: 60px;
}

.supplier-logo {
	width: 55%;
	height: 400px;
	float:left;
	display:block;
	background: #fff;
}

.supplier-logo-inner {
	text-align: center;
	padding-top: 100px;
}

.supplier-logo img {
	max-width: 160px;
}

.supplier-item h4{
	padding: 10px 0px 0px;
}



/* ==========================================================================
   Resources classes
   ========================================================================== */

/*.tabs li {
  float: left;
  width: 20%;
}
.tabs a {
  display: block;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  color: #888;
  padding: 20px 0;
  border-bottom: 2px solid #888;
  background: #f7f7f7;
}
.tabs a:hover,
.tabs a.active {
  background: #ddd;
}*/
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1350px) {

	.logo {
		width: 5%;
	}

	.navigation {
		width: 95%;
	}

	menu ul li, .header-primary-links ul li {
		margin: 0 12px;
	}
}

@media only screen and (max-width: 1240px) {

	.module-inner {
		position: relative;
		transform: none;
		top: 0;
	}

	.module-inner p {
		width: 100%;
	}

}

@media only screen and (max-width: 1140px) {


	.header-primary {
	    text-align: center;
	}

    menu, .secondary-menu {
	    display: none;
    }

	.mobile-menu {
		display: block;
	}

	.mobile-menu li.cta a {
		padding: 10px;
		margin-right: 0;
	}

	menu a {
		padding:12px;
	}

	.secondary-menu-callout {
		display:block;
		color: #fff;
	    float: right;
	    font-weight: bold;
	    padding-right: 12px;
	    padding-top: 20px;
	}

	.secondary-menu {
		background:#243082;
		width:55%;
		float:right;
	}

	.secondary-menu ul li {
		display: block;
		float: none;
	}



	.side-column, .membership-option {
		width: 100%;
		float: none;
	}

	.membership-option {
		margin-top: 20px;
		height: auto !important;
	}

	.option-internal {
		padding: 20px;
	}

	.team-members ul li {
		width: 40%;
	}

	.column-inner {
		padding: 0;
	}

	.post-grid {
		width: 50%;
		margin: 10px 0 10px;
	}

	.daily-header-left h3, .daily-header-left p {
		width: 100%;
	}

	.media-inner {
		padding-left: 0;
	}

}


@media only screen and (max-width: 768px) {
    /* Style adjustments for viewports that meet the condition */

	.content-inner img {
		width: 100%;
		height: auto;
	}


   /* Global Styles */

   .spacer-tall {
	   height:185px;
   }

   .outline-cta {
	   display:inline-block;
	   margin-top: 5px;
   }

   .mobile-hide, .social, .latest-news-pod {
	   display: none !important;
   }

   .spacer {
	   height: 125px;
   }

   h1, h1.bagma-header {
	   font-size: 1.5em;
   }

   h3 {
	   font-size: 1.75em;
   }

    .header-primary {
	    font-size: .7em;
    }

    .header-inner {
	    padding: 13px 5%;
    }

    .header-primary-inner {
	    width: 100%;
	    padding: 10px 0;
    }

    .header-main {
	    height: auto !important;
	    padding-bottom: 12px;
    }

    .logo img {
	    width: 100px;
    }


	.mast-tall {
		height: 250px;
	}

	.mast-short {
		height: 150px;
	}


	.overlay {
		width: 70%;
	}

	#sidebar, #content-main, #services-bar, #services-search, .column, .grid-para, .sector-block, .grid-item-block, .supplier-contact-info, .supplier-logo, ul.membership-info li {
	 	width: 100%;
	 	float: none;
	 	display: block;
	}

	#content-main, #services-search {
		padding-left: 0;
		padding-top: 20px;
		min-width: 100%;
		margin-left: 0;
	}

	.content-inner {
		padding: 0;
	}

	.sub-menu {
		max-width: 100% ;
	}

	.sub-menu-list {
		display: none;
	}

	.item-small {
		height: 100%;
	}

	.secondary-menu ul li {
		padding: 10px 15px;
	}


	.current_page_item a {
		border-bottom: none !important;
	}

	.grid-item-internal {
		padding: 20px;
	}

	.quad {
		width: 100%;
	}

	.item-tall {
		width: 100%;
		margin-left: 0;
		height: 200px;
	}

	.item-small {
		height: 100%;
	}

	.team-members ul li {
		width: 100%;
	}

	#fullwidth-content p{
		width: 80%;
	}

	footer, .footer-right, .footer-left {
		text-align: center;
	}

	.footer-left, .footer-right {
		float:none;
		clear:both;
		width: 100%;
	}
	.footer-links ul {
		float: none;
		padding-right: 0;
		padding-bottom:20px;
	}
	.footer-right .social-links {
		padding-left: 0;
	}


   /* Grid Elements */

	.inner {
		padding: 20px 5%;
	}

	.module-full, .modular-pods .module-full {
		height: 100%;
	}

	.mod-full-pods, .social-blog, .social-feed, pod-image-xl, .pod-text-xl {
		width: 100%;
		float: none;
		clear: both;
	}

	.module-inner {
		transform: none;
		padding: 0;
		top: 0;
		position: relative;
	}

	.pod-image, .pod-image-xl {
		height: 200px;
	}

	.pod-text-large, .pod-text-xl, .module-full-tall {
		height: auto;
	}

	.pod-text {
		height: auto;
	}

	.module-inner {
		padding: 30px 30px;
	}

	.module-image-bg {
		height:400px;
	}

	.module-inner h2, .module-inner p {
		width: 100% !important;
	}

	.module-inner h2 {
		font-size: 2em;
	}

	.cta-text {
		font-size: .8em !important;
	}

	.event-block {
		width: 100%;
		float:none;
		clear: both;
	}

	.bagma-secondary-branding img {
		width:80px !important;
		padding-top: 15px !important;
	}


   /* Page Styles */


	.homepage-tweets {
		margin-top: 40px;
		padding-left: 0;
	}

	.social-header {
		padding: 30px 0px;
	}

	.home-article-image {
		width: 100%;
	}

	.home-article-link {
		display: none;
	}

	.home-article-snapshot {
		left: 0;
		width: 100%;
	}

	.homepage-tweets ul li {
		width: 100%;
	}

	div .date {
		width: 100%;
		float: none;
		min-height: 10px;
	}


	.post-grid {
		width: 100%;
		margin: 10px 0 10px;
	}

	.supplier-grid ul li {
		width: 49%;
	}

	.join-intro p {
		width: 90%;
	}

    .sidebar-social-feed {
        display: none;
    }
}


@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
