/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
	color: #222;
}

html {
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   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,
	(-o-min-device-pixel-ratio: 5/4),
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		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 for images, or javascript/internal links
     */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}

html,
body {
	height: 100%;
}
a {
	color: #26a69a;
}
.login-panel {
	max-width: 480px;
	left: 50% !important;
	margin-left: -240px;
	margin-top: 100px;
}
@media (max-width: 479px) {
	.login-panel {
		width: 90%;
		margin-left: -45%;
	}
}
.parallax-wrapper {
	height: 625px;
}
.parallax-wrapper .avatar-wrapper {
	transform: translate(0, -125px);
	-o-transform: translate(0, -125px);
	-moz-transform: translate(0, -125px);
	-webkit-transform: translate(0, -125px);
	-ms-transform: translate(0, -125px);
	text-align: center;
}
.parallax-wrapper .avatar-wrapper .avatar {
	width: 250px;
	height: 250px;
	border-radius: 100%;
	-o-border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
	-ms-border-radius: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	margin: 0 auto;
}

.brand .avatar {
	width: 180px;
	height: 180px;
	border-radius: 100%;
	-o-border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
	-ms-border-radius: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	margin: 0;
}
@media (min-width: 992px) and (max-width: 1199px) {
	.brand .avatar {
		width: 120px;
		height: 120px;
	}
}
@media (max-width: 991px) {
	.brand .avatar {
		width: 80px;
		height: 80px;
	}
}

.slider.fullscreen {
	left: 16%;
	width: 84%;
}
.slider .slides li {
	overflow: visible;
}
.slider .slides li img {
	background-repeat: no-repeat;
}
.slider .slides li .caption {
	left: -16vw;
	width: 16vw;
	padding: 40px 0.75rem;
	bottom: 0;
	top: auto;
}
.slider .slides li .caption a {
	color: #ffffff;
}
@media (max-width: 991px) and (min-width: 768px) {
	.slider .slides li img {
		background-size: contain;
	}
	.slider.fullscreen {
		left: 0;
		width: 100%;
	}
	.slider .slides li .caption {
		left: 0;
		width: 100vw;
	}
	.sidebar {
		height: auto !important;
		position: fixed;
		z-index: 1001;
		width: 100%;
	}
	.sidebar .col {
		height: auto !important;
		padding-top: 20px !important;
		padding-bottom: 20px !important;
	}
	.sidebar .col ul {
		display: inline-block;
		float: right;
	}
	.sidebar .col ul li {
		padding: 0 10px;
		display: inline-block;
	}
	.modal.bottom-sheet {
		max-height: 85%;
	}
}
@media (max-width: 767px) {
	.slider .slides li img {
		background-size: contain;
	}
	.slider.fullscreen {
		left: 0;
		width: 100%;
	}
	.slider .slides li .caption {
		left: 0;
		width: 100vw;
	}
	.sidebar {
		height: auto !important;
		position: fixed;
		z-index: 1001;
		width: 100%;
	}
	.sidebar .col {
		height: auto !important;
		padding-top: 20px !important;
		padding-bottom: 20px !important;
	}
	.sidebar .col ul {
		display: inline-block;
		float: right;
		margin: 0;
	}
	.sidebar .col ul li {
		padding: 4px 0;
		display: block;
	}
	.modal.bottom-sheet {
		max-height: 85%;
	}
	.modal .modal-content {
		padding: 12px;
	}
}
.sidebar {
	height: 100%;
	margin-bottom: 0;
}
.sidebar .col {
	height: 100%;
	padding-top: 40px;
}
.sidebar .col a.brand {
	outline: none;
}
.sidebar .col a.brand img {
	width: 90%;
}
@media (max-width: 767px) {
	.sidebar .col a.brand img {
		width: 160px;
	}
}
.sidebar .col a.brand:hover {
	text-decoration: none;
}
.sidebar .col li {
	padding: 5px 0;
}
.sidebar .col a,
.sidebar .col a i {
	color: #ffffff;
	line-height: 24px;
	vertical-align: middle;
	display: inline-block;
}
.sidebar .col a:hover {
	text-decoration: underline;
}

#searchModal,
#resultsModal {
	height: 90vh !important;
	width: 90vw !important;
	top: 50% !important;
	left: 50% !important;
	bottom: unset !important;
	transform: translate(-50%, -50%);
}

.modal.bottom-sheet {
	max-height: 95%;
	left: 5%;
	width: 90%;
}
.autocomplete-content li span {
	font-size: 12px;
}
.noResults {
	display: none;
}
.collapsible-body {
	padding: 1rem;
}
.collapsible-body .col.input-field {
	margin: 0;
	padding: 0;
}
[type="radio"]:not(:checked) + label,
[type="radio"]:checked + label {
	padding-left: 25px;
	left: 0;
	top: 0;
}
[type="radio"] + label:before,
[type="radio"] + label:after {
	margin: 4px 0;
}
#search_map_wrapper {
	position: relative;
}
#search_map_wrapper:after {
	content: " ";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.35);
	z-index: 998;
	display: none;
}
#search_map_wrapper.visible:after {
	display: block;
}

#search_map_wrapper .loader {
	position: absolute;
	z-index: 999;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
}
#search_map_wrapper.visible .loader {
	display: block;
}
.autocomplete-content {
	position: absolute;
}
#resultsList li .card-panel {
	position: relative;
}
#resultsList li .card-panel a.btn-floating {
	display: inline-block;
	position: absolute;
	right: 24px;
	top: auto;
	bottom: 24px;
}
#resultsList li .card-panel p i {
	font-size: 14px;
}
@media (max-width: 991px) and (min-width: 768px) {
	#resultsList li .card-panel h5 {
		font-size: 1.3em;
		white-space: nowrap;
		text-transform: capitalize;
	}
}
@media (max-width: 767px) {
	#resultsList li .card-panel h5 {
		font-size: 1.3em;
		white-space: nowrap;
		text-transform: capitalize;
	}
}
#sidenav-overlay {
	z-index: 996 !important;
}
