/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * 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
   ========================================================================== */

/* ==========================================================================
   VRO website custom styles
   ========================================================================== */
   

@font-face {
	font-family: 'Glyphicons Halflings';
	src: url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.eot');
	src: url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.woff') format('woff'), url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.ttf ') format('truetype'), url('https://netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.svg#glyphicons-halflings-regular') format('svg');
}

body {
	padding-top: 0;
}
.navbar {
	margin-bottom: 0;
	border-radius: 0;
	min-height: 0
}

/* start: reset look and feel for hyperlinks */
.vro-content, .vro-footer, .vro-breadcrumb {
	color: #000;
}
.vro-content a, .vro-footer a, .vro-breadcrumb a, .vro-nav a {
	color: #000;
}
.vro-content a:link, .vro-footer a:link { 
	color: #00f;
	text-decoration: underline;
}
.vro-content a:visited, .vro-footer a:visited { 
	color: #800080;
	text-decoration: underline;
}
.vro-content a:hover, .vro-footer a:hover { 
	color: #800080;
	text-decoration: underline;
}
/* end: reset look and feel for hyperlinks */
.vro-navbar-brand {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/ag-vic-logo.png');
	background-repeat: no-repeat;
	background-position-x: 15px;
	width: 200px;
}
.vro-breadcrumb {
	min-height: 0;
	margin-top: 0;
	margin-bottom: 0;
	background-color: #f3f3f3;
	border-bottom: 1px solid #e3e5e4;
	font-size: 13px;
}
.vro-breadcrumb > li + li:before {
	content: "> ";
}
.vro-glyphicon-search {
	color: #fff;
	/*height: 44px;*/
	/*width: 30px;*/
	/*font-size: 13px;*/
}
/* start: vro nav */
.vro-nav {
	border-top: 0;
	font-size: 13px;
}
.nav > li > a:hover, .nav > li > a:focus {
	background: #bfc2c6;
/*	text-decoration: underline;*/
}
.vro-nav {
	background-color: #f3f3f3;
} 
.vro-nav a, .vro-nav-wrapper a {
	border-bottom: 1px solid #fff;
}
.vro-parent-section, .nav .vro-parent-section {
	background-color: #bfc2c6;
	font-weight: bold;
}
.vro-nav a:hover {
	background-color: #bfc2c6;
}
/* end: vro nav */
.vro-banner {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/vrobanner-dedjtr.png');
	background-repeat: no-repeat;
	height: 110px;
	background-color: #00573f;
}
.vro-navbar-toggle {
	margin-top: 7px;
	margin-bottom: 0;
}
.vro-section-banner img {
	margin-bottom: 15px;
}
.vro-footer-copyright > p + p:before {
	content: "| ";
}
.vro-footer-copyright p {
	display: inline;
}
/* start search */
.vro-search-toggle, .vro-fb-search-toggle {
	/* mobile search glyphicon */
	padding: 5px 6px 0 6px;
	margin-top: 7px;
	margin-bottom: 0;
	font-size: 19px;
	color: #fff;
}
.vro-search-wrapper {
/* old Google */	
	width: 420px;
}
/* end: search */
.vro-content, .vro-soil-content {
/*	padding-top: 20px;
	padding-left: 0;*/
}
.vro-content .vro-section-banner {
	margin-top: 15px;
}
.vro-content .vro-body {
/*	padding-left: 0;
	padding-right: 0	*/
}
/* start: 'horizontal links' template formatting */
.view-links {
	margin-bottom: 15px;
	padding: 0;
}
.view-links li {
	display: inline;
}
.view-links a {
}
.view-links a:active {
}
.right-column {
	padding-bottom: 15px
}
.right-column p {
	margin: 15px 0 0 0;
	padding: 0;
}
.view-links li:after {
	content: ' |';
}
.view-links li:last-child:after {
	content: '';
}
.right-column:empty, .view-links:empty {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
/* end: 'horizontal links' template formatting */
/* start: 'Document View' soil site template */
/*.table-vro td {
	text-align: center;   
}
.table-vro td:first-child {
	text-align: left;
}*/
.table-vro-morphology {
	text-align: left;
	margin-bottom: 0;
}
.vro-soil-content {
	padding-right: 5px;
}
.soil-fields-surface-soil-note p, .soil-fields-subsoil-note p {
	margin-top: 5px;
	margin-bottom: 20px;
}
.table-vro-morphology-surface th:nth-child(-n+2) {
	width: 100px;
}
.table-vro-morphology-subsoil th:nth-child(-n+2) {
	width: 100px;
}
.table-vro-morphology-surface {
	margin-bottom: 5px;
}
.table-vro-morphology-subsoil {
	margin-top: 30px;
	margin-bottom: 5px;
}
.soil-profile-morphology {
	padding-right: 0;
}
.soil-fields-graphs div {
	padding-bottom: 20px;
}
.soil-profile-photo {
	padding-left: 5px;
}
.soil-fields-loc h2,
.soil-fields-loc h3,
.soil-fields-mgmt-con h2,
.soil-fields-mgmt-con h3 {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 0;
}
.soil-fields-loc .row {
	padding-top: 15px
}
.soil-fields-loc .row:nth-child(1) {
	padding-top: 20px;
}
.soil-fields-mgmt-con .row {
	padding-top: 15px
}
.soil-fields-mgmt-con .row:nth-child(1) {
	padding-top: 20px;
}
.soil-fields-loc hr,
.soil-fields-mgmt-con hr {
	margin-top: 4px;
	margin-bottom: 0;
}
.soil-fields-mgmt-con .row:nth-child(1) {
	padding-top: 0;
}
.soil-fields-mgmt-con .row {
/*	padding-bottom: 15px;*/
}
.soil-fields-loc .row h3 {
/*	padding-bottom: 10px;*/
}
.soil-fields-mgmt-con .row h3 {
/*	padding-bottom: 10px;*/
}
.soil-fields-soil-profile-characteristic .table-vro {
	margin-bottom: 0;
}
.vro-soil-content {
	padding-right: 5px;
}
.soil-fields-surface-soil-note p, .soil-fields-subsoil-note p {
	margin-top: 5px;
	margin-bottom: 20px;
}
.table-vro-morphology-surface th:nth-child(-n+2) {
	width: 100px;
}
.table-vro-morphology-subsoil th:nth-child(-n+2) {
	width: 100px;
}
.table-vro-morphology-surface {
	margin-bottom: 5px;
}
.table-vro-morphology-subsoil {
	margin-top: 30px;
	margin-bottom: 5px;
}
.soil-profile-morphology {
	padding-right: 0;
}
.soil-fields-graphs div {
	padding-bottom: 20px;
}
.vro-section-banner img {
	margin-bottom: 0;
}
.soil-profile-photo {
	padding-left: 5px;
}
.soil-fields-loc h2,
.soil-fields-loc h3,
.soil-fields-mgmt-con h2,
.soil-fields-mgmt-con h3 {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 0;
}
.soil-fields-loc .row {
	padding-top: 15px
}
.soil-fields-loc .row:nth-child(1) {
	padding-top: 20px;
}
.soil-fields-mgmt-con .row {
	padding-top: 15px
}
.soil-fields-mgmt-con .row:nth-child(1) {
	padding-top: 20px;
}
.soil-fields-graphs h2,
.soil-fields-chemical-analysis h2,
.soil-fields-physical-analysis h2 {
	margin-top: 5px;
}
.soil-fields-mgmt-con .row:nth-child(1) {
	padding-top: 0;
}
.soil-fields-mgmt-con h2:nth-child(1) {
/*	padding-top: 10px;
	padding-bottom: 15px;*/
}
.soil-fields-mgmt-con .row {
/*	padding-bottom: 15px;*/
}
.soil-fields-loc .row h3 {
/*	padding-bottom: 10px;*/
}
.soil-fields-mgmt-con .row h3 {
/*	padding-bottom: 10px;*/
}
.soil-fields-soil-profile-characteristic .table-vro {
	margin-bottom: 0;
}
.vro-soil-content {
	padding-right: 5px;
}
.soil-fields-surface-soil-note p, .soil-fields-subsoil-note p {
	margin-top: 5px;
	margin-bottom: 20px;
}
.table-vro-morphology-surface th:nth-child(-n+2) {
	width: 100px;
}
.table-vro-morphology-subsoil th:nth-child(-n+2) {
	width: 100px;
}
.table-vro-morphology-surface {
	margin-bottom: 5px;
}
.table-vro-morphology-subsoil {
	margin-top: 30px;
	margin-bottom: 5px;
}
.soil-profile-morphology {
	padding-right: 0;
}
.soil-fields-graphs div {
	padding-bottom: 20px;
}
.soil-profile-photo {
	padding-left: 5px;
}
.soil-fields-loc h2,
.soil-fields-loc h3,
.soil-fields-mgmt-con h2,
.soil-fields-mgmt-con h3 {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 0;
}
.soil-fields-loc .row {
	padding-top: 15px
}
.soil-fields-loc .row:nth-child(1) {
	padding-top: 20px;
}
.soil-fields-mgmt-con .row {
	padding-top: 15px
}
.soil-fields-mgmt-con .row:nth-child(1) {
	padding-top: 20px;
}
.soil-fields-mgmt-con .row:nth-child(1) {
	padding-top: 0;
}

.soil-fields-soil-profile-characteristic .table-vro {
	margin-bottom: 0;
}
.vro-soil-content {
	padding-left: 0;
/*	padding-right: 15px;*/
}
/* end: 'Document View' soil site template */

/* start: footer template formatting */
.vro-footer-contact p {
	margin-bottom: 0;
}
.vro-footer-contact, .vro-footer-banner {
	padding-left: 0;
}
.vro-footer-banner img {
	margin-top: 15px;
	margin-bottom: 15px;
}
.vro-footer-banner p {
	margin-bottom: 0;
}
.vro-footer p {
	font-size: 13px;
}
/* start: footer template formatting */
/* start: google cse */
.vro-search {
	padding-top: 12px;
}
.gsc-search-button {
	background-color: #1a4195;
	border-radius: 5px;
}

input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:focus {
/*	background-color: #1a4195 !important;
	background-image: url("http://www.google.com/uds/css/v2/search_box_icon.png") !important;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	height: 16px !important;
	border-color: #1a4195 !important;
	filter: none;	*/
}
input.gsc-input {
/*   font-size: 14px !important;*/
}
.navbar-collapse {
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0);
/*	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);*/
}
/* end: google cse */
/* start: vro html headings */
h1, .h1 {
    font-size: 18px;
/*    margin-top: 20px;*/
	font-weight: bold;
}
h2, .h2 {
    font-size: 16px;
	font-weight: bold;
}
h3, .h3 {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
	font-weight: bold;
}
h4, .h4 {
    font-size: 14px;
}
.vro-body h1 {
	margin-bottom: 19px;
}
/* end: vro html headings */
/* start: social media links */
.vro-socialmedia-links a {
	padding-left: 5px;
}
.vro-socialmedia-links {
	padding-right: 15px;
}
.vro-socialmedia-links ul {
	padding-left: 0;
	padding-right: 15px;
}
/* end: social media links */
/* start: external links */
.pdf-file-icon, .pdf-link {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/pdf_icon.gif');
	/*background-position: 0 2;*/
	padding: 0 0 0 23px;
	background-repeat: no-repeat;
}
.zip-file-icon, .zip-link {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/zip_icon.png');
	/*background-position: 0 2;*/
	padding: 0 0 0 23px;
	background-repeat: no-repeat;
}
.doc-file-icon, .doc-link {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/word_icon.gif');
	/*background-position: 0 2;*/
	padding: 0 0 0 23px;
	background-repeat: no-repeat;
}
.email-file-icon, .email-link  {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/email_icon.png');
	/*background-position: 0 2;*/
	padding: 0 0 0 23px;
	background-repeat: no-repeat;
}
.kml-file-icon, .kml-link {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/kml_icon.png');
	padding: 0 0 0 23px;
	background-repeat: no-repeat;
}
.external-file-icon, .external-link, .span-external-links a {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/external_icon.png');
	padding: 0 0 0 23px;
	background-repeat: no-repeat;
}
.lyr-link {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/lyr_icon.png');
	padding: 0 0 0 23px;
	background-repeat: no-repeat;
}
.word-online-link {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/word-online_icon.png');
	padding: 0 0 0 23px;
	background-repeat: no-repeat;
}
.onedrive-link {
	background-image: url('https://vromedia.agriculture.vic.gov.au/assets/graphics/onedrive-icon.png');
	padding: 0 0 0 23px;
	background-repeat: no-repeat;
}
/* end: external links */
p {
	margin: 0
}
.back-to-top {
	display: inline-block;
	padding-top: 20px;
}
/* start: errror page template */
.content-area-error-pages, .content-area-soil-land-survey {
/*	padding-right: 5px;*/
	padding-top: 0;
	padding-left: 0;
}
.content-area-error-pages .vro-body h1, .vro-soil-content .vro-body h1, .content-area-soil-land-survey .vro-body h1 {
/*	margin-top: 0;*/
/*	margin-bottom: 19px;*/
}
/* start: errror page template */

/* start: vro banner */
.vro-section-banner img {
	margin-bottom: 0;
}
/* end: vro banner */
.content-area-error-pages .vro-body, .vro-soil-content .vro-body, .content-area-soil-land-survey .vro-body{
	padding-left: 0;
}
.vro-section-banner {
	padding-top: 15px
	}

/* Large desktop */
@media (min-width: 1200px) {
	.vro-navbar {
/* stops a 'bump' of content on large screen */		
    	height: 52px;
	}
 	.vro-nav {
		margin: 15px 0;
	} 
	.vro-nav li a {
		padding-left: 15px; 
	}
	.vro-nav li li a {
		padding-left: 25px; 
	}
	.vro-nav li li li a {
		padding-left: 35px; 
	}
	.vro-nav li li li li a {
		padding-left: 45px;
	}
	.vro-nav li li li li li a {
		padding-left: 55px;
	}
	.vro-content h1 {
		margin-top: 15px
	}
	.vro-content {
		padding-left: 0;
	}
	.soil-fields-loc hr,
	.soil-fields-mgmt-con hr {
		margin-top: 14px;
		margin-bottom: 5px;
	}
	.vro-fb-search-wrapper  {
		padding-right: 0;
	}
	.vro-fb-search-wrapper input#query {
		width: 420px;
	}
	.vro-fb-search-wrapper form.navbar-form {
		padding-right: 0;
		margin-right: -15px;	
	}
}
@media (min-width: 980px) and (max-width: 1199px) {
	.vro-navbar {
/* stops a 'bump' of content on large screen */		
    	height: 52px;
	}
	.vro-nav-wrapper {
		padding-right: 0;
	}
	.vro-nav {
		margin: 15px 0;
	} 
	.vro-nav li a {
		padding-left: 15px; 
	}
	.vro-nav li li a {
		padding-left: 25px; 
	}
	.vro-nav li li li a {
		padding-left: 35px; 
	}
	.vro-nav li li li li a {
		padding-left: 45px;
	}
	.vro-nav li li li li li a {
		padding-left: 55px;
	}
	.vro-content {
		padding-left: 0;
	}	
	.soil-fields-loc hr,
	.soil-fields-mgmt-con hr {
		margin-top: 14px;
		margin-bottom: 5px;
	}
	.vro-fb-search-wrapper  {
		padding-right: 0;
	}
	.vro-fb-search-wrapper input#query {
		width: 420px;
	}
	.vro-fb-search-wrapper form.navbar-form {
		padding-right: 0;
		margin-right: -15px;	
	}
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
	.vro-navbar {
/* stops a 'bump' of content on large screen */		
    	height: 52px;
	}
	.vro-nav-wrapper {
		padding-right: 0;
	}
	.vro-nav {
		margin: 15px 0;
	} 
	.vro-nav li a {
		padding-left: 15px; 
	}
	.vro-nav li li a {
		padding-left: 25px; 
	}
	.vro-nav li li li a {
		padding-left: 35px; 
	}
	.vro-nav li li li li a {
		padding-left: 45px;
	}
	.vro-nav li li li li li a {
		padding-left: 55px;
	}
	.vro-footer-copyright {
		padding-right: 5px;
	}
	.vro-content {
		padding-left: 0;
	}
	.vro-body {
		margin-left: 5px;
		margin-right: 5px;
	}
	.soil-fields-mgmt-con .row,
	.soil-fields-loc .row,
	.soil-fields-mgmt-con .row,
	.soil-fields-loc .row {
		padding-top: 15px;
		padding-bottom: 10px;
	}
	.vro-fb-search-wrapper  {
		padding-right: 0;
	}
	.vro-fb-search-wrapper input#query {
		width: 420px;
	}
	.vro-fb-search-wrapper form.navbar-form {
		padding-right: 0;
		margin-right: -15px;	
	}
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	.vro-search {
		padding-top: 0;
		padding-bottom: 5px;
	}
	.vro-content {
    	padding-left: 5px;
	}
	.vro-breadcrumb {
    	padding-left: 4px;
    	padding-right: 4px;
	}
	.vro-sidebar-offcanvas {
    	padding: 0 4px;
	}
	.vro-nav-wrapper {
		padding-left: 0;
	}
	.vro-nav {
		margin: 15px 15px 15px 0;
	} 
	.vro-nav li a {
		padding-left: 15px; 
	}
	.vro-nav li li a {
		padding-left: 20px; 
	}
	.vro-nav li li li a {
		padding-left: 25px; 
	}
	.vro-nav li li li li a {
		padding-left: 25px;
	}
	.vro-nav li li li li li a {
		padding-left: 30px;
	}
	.vro-footer {
		margin-left: 10px; 
	}
	.vro-footer-contact, .vro-footer-banner {
		padding-left: 20px;
	}
	.vro-footer-copyright {
		padding-right: 5px;
	}
	.vro-footer-contact, .vro-footer-banner {
		padding-left: 20px;
	}
	.vro-search-toggle, .vro-fb-search-toggle {
		input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner
	}  
	.vro-search-toggle, .vro-fb-search-toggle {
		border : 0px !important;
	}
	.vro-search-toggle, .vro-fb-search-toggle {
		input[type="submit"]:focus, input[type="button"]:focus
	}    
	.vro-search-toggle, .vro-fb-search-toggle {
		outline : none !important;
	}
	.vro-search {
		padding-top: 0;
		padding-bottom: 5px;
	}
	.vro-content {
		padding-left: 5px;
	}
	.vro-breadcrumb {
		padding-left: 4px;
		padding-right: 4px;
	}
	.vro-sidebar-offcanvas {
		padding: 0 4px;
	}
	.vro-nav-wrapper {
		padding-left: 0;
	}
	.vro-nav {
		margin: 15px 15px 15px 0;
	}
	.vro-nav li a {
		padding-left: 15px;
	}
	.vro-nav li li a {
		padding-left: 20px;
	}
	.vro-nav li li li a {
		padding-left: 25px;
	}
	.vro-nav li li li li a {
		padding-left: 25px;
	}
	.vro-nav li li li li li a {
		padding-left: 30px;
	}
	.vro-footer {
		margin-left: 10px;
	}
	.vro-footer-contact, .vro-footer-banner {
		padding-left: 20px;
	}
	.vro-footer-copyright {
		padding-right: 5px;
	}
	.vro-footer-contact, .vro-footer-banner {
		padding-left: 20px;
	}
	.vro-search-toggle, .vro-fb-search-toggle {
	 input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner
	}
	.vro-search-toggle, .vro-fb-search-toggle {
		border : 0px !important;
	}
	.vro-search-toggle, .vro-fb-search-toggle {
	 input[type="submit"]:focus, input[type="button"]:focus
	}
	.vro-search-toggle, .vro-fb-search-toggle {
		outline : none !important;
	}
	.soil-fields-mgmt-con .row,
	.soil-fields-loc .row,
	.soil-fields-mgmt-con .row,
	.soil-fields-loc .row {
		padding-top: 15px;
		padding-bottom: 10px;
	}
	.vro-body {
		margin-left: 5px;
		margin-right: 5px;
	}
	.navbar-form {
		margin: 0;
		padding: 0;
	}
	.navbar-toggle {
		padding-bottom: 3px;
	}
	.collapse.in {
	/*	height: 53px;*/
		height: 44px;
		overflow: hidden;
	}
	.vro-fb-search-wrapper {
		margin: 0 -5px;
	}
}
/* Landscape phones and down */
@media (max-width: 480px) {
	.vro-body {
		margin-left: 5px;
		margin-right: 5px;
	}
	.soil-fields-mgmt-con .row,
	.soil-fields-loc .row,
	.soil-fields-mgmt-con .row,
	.soil-fields-loc .row {
		padding-top: 10px;
		padding-bottom: 5px;
	}
}

/* ==========================================================================
   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 (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@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;
    }
}