/*
Theme Name: Takoma Park
Theme URI: http://www.mainstreettakoma.org
Author: Bright Light Media
Author URI: http://brightlightmedia.co/
Description: Takoma Park Website
Version: 2.0
*/

@import url("css/ubermenu-revised.css");
@import url("css/plugins-revised.css");

/* ==========================================================================
   Default stylings from HTML5 Boilerplate
   ========================================================================== */

/* Apply a natural box layout model to all elements - http://paulirish.com/2012/box-sizing-border-box-ftw/ */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* Using rem font sizing (Root em’s) with fallback to px for ie8 and below - http://snook.ca/archives/html_and_css/font-size-with-rem */
body { margin: 0; font-size: 16px; font-size: 1rem; line-height: 1.5; }

::-webkit-selection { background: #90D2DF; color: #FFF; text-shadow: none; }
::-moz-selection { background: #90D2DF; color: #FFF; text-shadow: none; }
::selection { background: #90D2DF; color: #FFF; text-shadow: none; }

a { color: #BE1E2D; text-decoration:none; }
a:visited { color: #BE1E2D; }
a:hover { color: #8B1620; text-decoration:underline; }

menu { padding: 0; }

td { vertical-align: top; }


/* ==========================================================================
   BASIC STYLES
   ========================================================================== */

body {
	margin: 0 auto;
	padding: 0;
	font: 18px/1.5 "open-sans",sans-serif;
	font-style: normal;
	font-weight: 400;
	color: #000000;
	text-align: left;
}

/* Set the default behavior for touch-based browsing in IE10 on devices running Windows 8 */
canvas {
	-ms-touch-action: double-tap-zoom;
}

/* Make sure videos and embeds fit their containers */
embed, iframe, object, video {
	max-width: 100%;
}

.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Responsive images */
img {
	border: 0;
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Header */
h1, h2, h3, h4, h5, h6 {
	font-family: "refrigerator-deluxe",sans-serif;
	font-style: normal;
	font-weight: 900;
	text-transform:uppercase;
	letter-spacing:1px;
	color: #BE1E2D;
	margin-top: 0;
}

h1 {
	margin-bottom: 10px;
	margin-bottom: 0.625rem;
	font-size: 48px;
	font-size: 3rem;
	line-height: 1.25;
}

h1.entry-title {
	font-size:36px;
}

h1.entry-title.pagetitle {
	border-bottom:6px double #90D3E0;
	padding-bottom:20px;
}

h1.event-title {
	font-size:36px;
	margin-top:44px;
	padding-bottom:20px;
	border-bottom:#90D3E0 double;
	margin-bottom:0;
}

h2 {
	margin-bottom: 8px;
	margin-bottom: .5rem;
	font-size: 36px;
	font-size: 2.25rem;
	line-height: 1.1666;
}

h3 {
	margin-bottom: 6px;
	margin-bottom: 0.375rem;
	font-size: 28px;
	font-size: 1.75rem;
	line-height: 1.2857;
}


h4 {
	margin-bottom: 5px;
	margin-bottom: 0.3125rem;
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1.25;
}

h5 {
	margin-bottom: 5px;
	margin-bottom: 0.3125rem;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.25;
}

h6 {
	margin-bottom: 5px;
	margin-bottom: 0.3125rem;
	font-size: 14px;
	font-size: .875rem;
	line-height: 1.2142;
}

hr, hr.wp-block-separator {
	background-color: #90D3E0;
	border: 0;
	height: 1px;
	margin: 48px 0;
	margin: 3rem 0;
}

ol, ul {
	list-style: none outside none;
}

p, ol, ul, dl, address {
	margin: 0 0 24px 0;
	margin: 0 0 1.5rem 0;
	font-size: 18px;
	line-height: 1.5;
}

ul ul, ul ol, ol ol, ol ul {
	margin-bottom: 0;
}

dt {
	font-family: "open-sans",sans-serif;
	font-style: normal;
	font-weight: 700;
}

b, strong {
	font-family: "open-sans",sans-serif;
	font-style: normal;
	font-weight: 700;
}

em {
	font-family: "open-sans",sans-serif;
	font-style: italic;
	font-weight: 400;
}

strong em, b em {
	font-family: "open-sans",sans-serif;
	font-style: italic;
	font-weight: 700;
}

ins {
	background: none repeat scroll 0 0 #FFF9C0;
	text-decoration: none;
}


a {
	color: #BE1E2D;
	outline: none;
}

a:visited {
	color: #BE1E2D;
}

a:focus {
	outline: thin dotted;
	color: #8B1620;
}

a:hover, a:active {
	outline: 0;
	color: #8B1620;
}

.alignleft {
	display: inline;
	float: left;
	margin: 0 20px 16px 0;
	margin: 0 1.25rem 1rem 0;
}

.alignright {
	display: inline;
	float: right;
	margin: 0 0 16px 20px;
	margin: 0 0 1rem 1.25rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

blockquote {
	border-left: 5px solid #333;
	margin: 0 0 20px 0;
	padding: 0 0 0 20px;
}

blockquote.pull-right {
	border-left: 0 none;
	border-right: 5px solid #333;
	margin: 0 20px 18px 0;
	margin: 0 1.25rem 1.125rem 0;
	padding: 0 16px 0 0;
	padding: 0 1rem 0 0;
	float: none;
}

blockquote p {
	font-family: "open-sans",sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 24px;
	font-size: 1.5rem;
	margin-bottom: 0;
}

blockquote.pull-right p,
blockquote.pull-right small {
	text-align: right;
}

blockquote cite:before {
	content: "\2014 ";
}

blockquote cite {
	font-family: "open-sans",sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.125;
	color: #999;
	display: block;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

code, pre {
	border-radius: 3px;
	color: #555;
	font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
	font-size: 12px;
	font-size: 0.75rem;
	padding: 0 3px 2px;
	padding: 0 0.1875rem 0.125rem;
}

code {
	background-color: #f7f7f9;
	border: 1px solid #e1e1e8;
	padding: 2px 4px;
	padding: 0.125rem 0.25rem;
}

abbr,
dfn,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
	padding: 0.25rem;
}

.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-family: "open-sans",sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #777;
	text-align: center;
}

img.wp-smiley, .rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.entry-content dl.gallery-item {
	margin: 0;
}

.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}

.gallery .gallery-icon img {
	height: auto;
}

#primary .entry-content [id^="gallery-"] img {
	border: none;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.menu-toggle, button, input {
	font-family: "open-sans",sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.25;
	margin: 0;
	font-size: 100%;
	vertical-align: middle;
}

.menu-toggle, button, input {
	*overflow: visible;
	line-height: normal;
}

.menu-toggle::-moz-focus-inner,
button::-moz-focus-inner,
input::-moz-focus-inner {
	padding: 0;
	border: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

input[type="button"] {
	width: auto;
}

.menu-toggle,
.btn,
input[type="submit"] {
	display: inline-block;
	*display: inline;
	padding: 8px 14px;
	padding: 0.5rem 0.875rem;
	margin-bottom: 0;
	*margin-left: .3em;
	font-family: "refrigerator-deluxe",sans-serif;
	font-weight:900;
	font-size: 24px;
	font-size: 1.6rem;
	line-height: 1.25;
	color: #FFF;
	text-align: center;
	text-transform:uppercase;
	letter-spacing:1px;
	vertical-align: middle;
	cursor: pointer;
	background-color: #90D3E0;
	*background-color: #90D3E0;
	border: 1px solid #90D3E0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	*zoom: 1;
}

.menu-toggle, a.btn {
	color: #FFF;
	text-decoration: none;
}

.menu-toggle:hover,
.btn:hover,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
	background-color: #66959E;
	*background-color: #66959E;
	border: 1px solid #66959E;
}

.btn:first-child {
	*margin-left: 0;
}

.menu-toggle:hover,
.btn:hover,
input[type="submit"]:hover {
	color: #FFF;
	text-decoration: none;
	background-color: #66959E;
	*background-color: #66959E; /* Buttons in IE7 don't get borders, so darken on hover */
}

.menu-toggle:focus,
.btn:focus,
input[type="submit"]:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.menu-toggle:active,
.btn.active,
.btn:active,
input[type="submit"]:active {
	background-color: #66959E;
	outline: 0;
	position:relative;
}

.btn.disabled, .btn[disabled] {
	cursor: default;
	background-color: #90D3E0;
	background-image: none;
	opacity: 0.65;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.btn.disabled:active, .btn[disabled]:active {
	top:0;
}

button.btn, input[type="submit"].btn {
	*padding-top: 2px;
	*padding-bottom: 2px;
}

button.btn::-moz-focus-inner,
input[type="submit"].btn::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.btn-large,
input[type="submit"].btn-large {
	padding: 10px 15px;
	padding: 0.625rem 0.9375rem;
	font-size: 20px;
	font-size: 1.25rem;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.btn-small,
input[type="submit"].btn-small {
	padding: 5px 9px;
	padding: 0.3125rem 0.5625rem;
	font-size: 13px;
	font-size: 0.8125rem;
}

/* Form fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
textarea {
	font-family: inherit;
	padding: 8px;
	padding: 0.5rem;
	font-family: inherit;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	max-width: 100%;
}

/* Small headers */
.archive-title,
.page-title,
.entry-content th,
.comment-content th {
	font-family: "open-sans",sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
	text-transform: uppercase;
}

/* ==========================================================================
   OBJECT FIT - IE FIX
   ========================================================================== */

.no-objectfit .portfolio-thumb img,
.no-objectfit .homeblocks-thumb img {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}


/* ==========================================================================
   LOGO
   ========================================================================== */

#logo {
	display: block;
	float: left;
}

#logo a {
	text-decoration: none;
}

#logo img {
	height: 190px;
	line-height: 190px;
	width: 160px;
	display: block;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

/* ==========================================================================
   PAGE TITLE AREA
   ========================================================================== */

.pagetitle-area {
	width: 100%;
	background: #000;
	position: relative;
}

.pagetitle-content {
	width: 95%;
	max-width: 1600px;
	padding: 40px;
}

.pagetitle-content h1 {
	font-family: "refrigerator-deluxe",sans-serif;
	font-weight:900;
	font-size: 50px;
	line-height: normal;
	color: #FFF;
	margin: 0;
	padding: 0;
}


/* ==========================================================================
   GLOBAL MENU
   ========================================================================== */

#global-box {
	/* width:630px; */
	margin-top:17px;
	float:right;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.global-menu {
	display:inline-block;
	list-style-type: none;
	float:left;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.global-menu ul {
	margin:0;
	padding:0;
	vertical-align:top;
}

.global-menu li {
	text-align:center;
	display: inline-block;
	margin:0em 1.2em;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.global-menu li a, .global-menu li a:visited {
	color: #000;
	font-family:"bebas-neue",sans-serif;
	font-size: 20px;
	font-weight:400;
	text-decoration:none;
	line-height:47px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.global-menu li a:hover, .global-menu li a:active {
	color: #AF0823;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.slogan {
	width:100%;
	border-top:#000 double;
	font-family:"bebas-neue",sans-serif;
	font-size:18px;
	text-transform:uppercase;
	text-align:center;
	letter-spacing:2px;
	line-height:1;
	padding-top:10px;
	color:#000;
	float:right;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.slogan span.sloganleft {
	letter-spacing:4px;
	margin-right:15px;
}

.slogan span.sloganright {
	letter-spacing:4px;
	margin-left:15px;
}

header .social-media-icons {
	float: right;
	height: auto;
	display:inline-block;
}


/* ==========================================================================
   MAIN SLIDER
   ========================================================================== */

#main-slider {
	width:100%;
	position:relative;
}

#slider-texture {
	width:100%;
	height:20px;
	z-index:25;
	position:absolute;
	bottom:0;
}


/* ==========================================================================
   PORTFOLIO FEEDS
   ========================================================================== */

.portfolio-feed {
	width:100%;
	max-width: 1400px;
	padding: 0;
	margin: 0 auto;
}

.portfolio-feed ul {
	list-style: none outside none;
	padding:0;
	margin:0;
}

.portfolio-feed ul li {
	padding:0;
	margin:0;
	line-height:0;
}

.portfolio-feed li.portfolio-grid-box {
	width:32%;
	height:400px;
	margin: 0 2% 20px 0;
	overflow: hidden;
	position:relative;
	display:block;
	float:left;
}

.portfolio-feed li.portfolio-grid-box:nth-child(3n) {
	width:32%;
	margin: 0 0 20px 0;
}

li.portfolio-grid-box .portfolio-thumb {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0 auto;
	background: #FFF;
	position: relative;
	overflow: hidden;
}

li.portfolio-grid-box .portfolio-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
	-ms-transform: scale(1, 1);
	-webkit-transform: scale(1, 1);
	transform: scale(1, 1);
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

li.portfolio-grid-box .portfolio-thumb:hover img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-ms-transform: scale(1.1, 1.1);
	-webkit-transform: scale(1.1, 1.1);
	transform: scale(1.1, 1.1);
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

li.portfolio-grid-box .portfolio-thumb .portfolio-overlay {
	background-color: rgba(0, 0, 0, 0.6);
	text-shadow: none;
	color: #000;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

li.portfolio-grid-box .portfolio-thumb .portfolio-overlay:hover {
	background-color: rgba(175, 8, 35, 0.8);
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

li.portfolio-grid-box .portfolio-thumb .portfolio-overlay .overlay-inner {
	opacity: 1;
	filter: alpha(opacity=100); /* For IE8 and earlier */
	display: table;
	padding: 1.3em;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

li.portfolio-grid-box .portfolio-thumb .portfolio-overlay:hover .overlay-inner {
	opacity: 1;
	filter: alpha(opacity=100); /* For IE8 and earlier */
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

li.portfolio-grid-box .portfolio-thumb .portfolio-overlay .overlay-inner .overlay-content {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.portfolio-overlay h3 {
	background: none;
	padding-top: 0;
	margin: 0;
	font-family: "refrigerator-deluxe",sans-serif;
	font-style: normal;
	font-weight: 900;
	font-size: 30px;
	text-transform: uppercase;
	color:#FFF;
}

.portfolio-overlay p {
	color: #FFF;
	font-size: 18px;
	line-height: 1.5;
}

.portfolio-overlay a, .portfolio-overlay a:visited {
	color: #FFF;
}

.portfolio-overlay a:hover, .portfolio-overlay a:focus {
	color: #23A6C8;
}

/* Home Block Content Transitions */

.portfolio-overlay h3 {
	-webkit-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 1s;
	transition: transform 1s;
}

.portfolio-overlay p {
	color: #FFF;
	font-size: 18px;
	line-height: 1.25;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.portfolio-overlay a, .portfolio-overlay a:visited {
	color: #FFF;
	font-size: 16px;
	padding-bottom: 5px;
	border-bottom: 2px #FFF solid;
	text-transform: uppercase;
}

.portfolio-overlay a.website {
	border-bottom: 0;
}

.portfolio-overlay a:hover, .portfolio-overlay a:focus {
	color: #90D2DF;
	border-color: #90D2DF;
	text-decoration: none;
}

.portfolio-overlay p {
	font-size: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;

}

.portfolio-overlay:hover p {
	font-size: 18px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.portfolio-overlay a {
	font-size: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.portfolio-overlay:hover a {
	font-size: 16px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

/* ==========================================================================
   BUSINESS FILTER
   ========================================================================== */

#choosebusiness-container {
	background: #EFEFEF;
	border-bottom:1px #BEBEBE solid;
	position:relative;
	width:100%;
	padding: 20px 0;
	margin:0 auto;
	text-align: center;
}

#choosebusiness-container span {
	display: inline-block;
	font-size: 40px;
	color: #FFF;
	margin: 0;
}

.choosebusiness {
	position: relative;
	display: inline-block;
	font-size: 21px;
	font-family: "refrigerator-deluxe",sans-serif;
	font-style: normal;
	font-weight: 900;
	letter-spacing: 2px;
	background: #AF0823;
	border:1px #BEBEBE solid;
	color:#FFF;
	width: 300px;
	padding: 10px 0;
	cursor: pointer;
	-webkit-transition: all 00.50s;
	-moz-transition: all 00.50s;
	transition: all 00.50s;
}

.choosebusiness:hover, .choosebusiness:focus, .choosebusiness:active {
	background: #8C1419;
	-webkit-transition: all 00.50s;
	-moz-transition: all 00.50s;
	transition: all 00.50s;
}


label {
  cursor: pointer;
}
#choosebusiness-menu-toggle {
  display: none; /* hide the checkbox */
}

#choosebusiness-menu {
	display: none;
	position: absolute;
	background-color: #FFF;
	width: 300px;
	padding: 0;
	z-index: 1;
	list-style: none;
	margin: 0;
}

#choosebusiness-menu li {
	width: 100%;
	margin: 0;
	padding: 0;
	display: block;
}

#choosebusiness-menu li a {
	width: 100%;
	font-size: 18px;
	padding: 10px 0;
	color: #000;
	text-decoration: none;
	text-align: center;
	display: block;
	-webkit-transition: all 00.5s;
	-moz-transition: all 00.5s;
	transition: all 00.5s;
}

#choosebusiness-menu li a:hover, #choosebusiness-menu li a:focus {
	background: #EFEFEF;
	color:#000;
	-webkit-transition: all 00.5s;
	-moz-transition: all 00.5s;
	transition: all 00.5s;
}

#choosebusiness-menu-toggle:checked + #choosebusiness-menu {
  display: block;
  -webkit-transition: all 00.5s;
  -moz-transition: all 00.5s;
  transition: all 00.5s;
}


/* ==========================================================================
   SERVICE FILTER
   ========================================================================== */

.chooseservice {
	position: relative;
	display: inline-block;
	font-size: 21px;
	font-family: "refrigerator-deluxe",sans-serif;
	font-style: normal;
	font-weight: 900;
	letter-spacing: 2px;
	background: #AF0823;
	border:1px #BEBEBE solid;
	color:#FFF;
	width: 300px;
	padding: 10px 0;
	cursor: pointer;
	-webkit-transition: all 00.50s;
	-moz-transition: all 00.50s;
	transition: all 00.50s;
}

.chooseservice:hover, .chooseservice:focus, .chooseservice:active {
	background: #8C1419;
	-webkit-transition: all 00.50s;
	-moz-transition: all 00.50s;
	transition: all 00.50s;
}


label {
  cursor: pointer;
}
#chooseservice-menu-toggle {
  display: none; /* hide the checkbox */
}

#chooseservice-menu {
	display: none;
	position: absolute;
	background-color: #FFF;
	width: 300px;
	padding: 0;
	z-index: 1;
	list-style: none;
	margin: 0;
}

#chooseservice-menu li {
	width: 100%;
	margin: 0;
	padding: 0;
	display: block;
}

#chooseservice-menu li a {
	width: 100%;
	font-size: 18px;
	padding: 10px 0;
	color: #000;
	text-decoration: none;
	text-align: center;
	display: block;
	-webkit-transition: all 00.5s;
	-moz-transition: all 00.5s;
	transition: all 00.5s;
}

#chooseservice-menu li a:hover, #chooseservice-menu li a:focus {
	background: #EFEFEF;
	color:#000;
	-webkit-transition: all 00.5s;
	-moz-transition: all 00.5s;
	transition: all 00.5s;
}

#chooseservice-menu-toggle:checked + #chooseservice-menu {
  display: block;
  -webkit-transition: all 00.5s;
  -moz-transition: all 00.5s;
  transition: all 00.5s;
}


/* ==========================================================================
   SINGLE BUSINESS
   ========================================================================== */

.business-image {
	margin-bottom: 40px;
}

/* ==========================================================================
   HOME BLOCKS
   ========================================================================== */

.homeblocks-feed {
	width:100%;
	padding: 10px 0 0 0;
	margin: 0 auto;
}

.homeblocks-feed ul {
	list-style: none outside none;
	padding:0;
	margin:0;
}

.homeblocks-feed ul li {
	padding:0;
	margin:0;
	line-height:0;
}

.homeblocks-feed li.homeblocks-grid-box {
	width:59.5%;
	height:400px;
	margin: 0 1% 10px 0;
	overflow: hidden;
	position:relative;
	display:block;
	float:left;
}

.homeblocks-feed li.homeblocks-grid-box:nth-child(2n) {
	width:39.5%;
}

.homeblocks-feed li.homeblocks-grid-box:nth-child(2n) {
	margin: 0 0 10px 0;
}

.homeblocks-feed li.homeblocks-grid-box:nth-child(3n), .homeblocks-feed li.homeblocks-grid-box:nth-child(5n) {
	width:32.5%;
}

.homeblocks-feed li.homeblocks-grid-box:nth-child(5n) {
	width:32.5%;
	margin: 0 0 10px 1%;
}

.homeblocks-feed li.homeblocks-grid-box:nth-child(4n) {
	width:33%;
}

.homeblocks-feed li.homeblocks-grid-box:nth-child(3n), .homeblocks-feed li.homeblocks-grid-box:nth-child(5n) {
	width:32.5%;
}

.homeblocks-feed li.homeblocks-grid-box:nth-child(7n) {
	width:59.5%;
	margin: 0 0 10px 0;
}

.homeblocks-feed li.homeblocks-grid-box:nth-child(6n) {
	width:39.5%;
	margin: 0 1% 10px 0;
}

li.homeblocks-grid-box .homeblocks-thumb {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0 auto;
	background: #FFF;
	position: relative;
	overflow: hidden;
}

li.homeblocks-grid-box.practice .homeblocks-thumb {
	height: 100%;
}

li.homeblocks-grid-box .homeblocks-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
	-ms-transform: scale(1, 1);
	-webkit-transform: scale(1, 1);
	transform: scale(1, 1);
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

li.homeblocks-grid-box.practice .homeblocks-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	object-fit: cover;
}

li.homeblocks-grid-box .homeblocks-thumb:hover img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-ms-transform: scale(1.1, 1.1);
	-webkit-transform: scale(1.1, 1.1);
	transform: scale(1.1, 1.1);
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

li.homeblocks-grid-box .homeblocks-thumb .homeblocks-overlay {
	background-color: rgba(0, 0, 0, 0.4);
	text-shadow: none;
	color: #000;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

li.homeblocks-grid-box .homeblocks-thumb .homeblocks-overlay:hover {
	background-color: rgba(175, 8, 35, 0.85);
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

li.homeblocks-grid-box .homeblocks-thumb .homeblocks-overlay .overlay-inner {
	opacity: 1;
	filter: alpha(opacity=100); /* For IE8 and earlier */
	display: table;
	padding: 2em;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

li.homeblocks-grid-box .homeblocks-thumb .homeblocks-overlay:hover .overlay-inner {
	opacity: 1;
	filter: alpha(opacity=100); /* For IE8 and earlier */
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

li.homeblocks-grid-box .homeblocks-thumb .homeblocks-overlay .overlay-inner .overlay-content {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: #000;
}

.homeblocks-overlay h3 {
	font-family: "refrigerator-deluxe",sans-serif;
	font-weight: 900;
	font-size: 40px;
	text-transform: uppercase;
	color: #FFF;
	margin: 0;
}

/* Home Block Content Transitions */

.homeblocks-overlay h3 {
	-webkit-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 1s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.homeblocks-overlay:hover h3 {
	font-size: 45px;
	-webkit-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 1s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

/* ==========================================================================
   HEADER SMALLER
   ========================================================================== */

#headercontainer.smaller {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#headercontainer.smaller #global-box {
	height: 0;
	margin: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#headercontainer.smaller .global-menu ul {
	height: 0;
	font-size:0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#headercontainer.smaller .global-menu li {
	margin: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#headercontainer.smaller .global-menu li a {
	height: 0;
	font-size:0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#headercontainer.smaller .slogan {
	height: 0;
	font-size:0;
	border: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#headercontainer.smaller .social-media-icons li {
	height: 0;
	font-size:0;
}

#headercontainer.smaller #logo img {
	height: 100px;
	line-height: 100px;
	width: 84px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#headercontainer.smaller .uber-navigation .ubermenu {
	margin-top: 50px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

/* ==========================================================================
   SITE SPECIFIC STYLES
   ========================================================================== */

#wrapper {
	width: 100%;
	position: relative;
	text-align: left;
}

#headercontainer {
	width: 100%;
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.5);
}

.site-header {
	clear: both;
	width: 95%;
	font-size: 16px;
	font-size: 1rem;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0;
	position: relative;
}

.site-title h1 {
	margin-top: 20px;
	margin-top: 1.25rem;
}

.site-title img {
	vertical-align: text-bottom;
}

.site-title a {
	color: #333;
	font-size: 64px;
	font-size: 4rem;
	text-decoration: none;
}

#maincontentcontainer .home-sidebar .widget {
	background-color: #fcfcfc;
	border: 1px solid #bbb;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	padding: 10px;
	padding: 0.625rem;
}

#maincontentcontainer {
	width: 100%;
	margin: 190px 0 0 0;
}

.site-content {
	clear: both;
	width: 95%;
	font-size: 18px;
	max-width: 1600px;
	margin: 0 auto;
	padding: 65px 0;
	color: #838383;
	line-height: 1.5;
	position: relative;
}

body.page-template-explore-page .site-content {
	max-width: 1400px;
}

.site-content-left {
	clear: both;
	width: 95%;
	font-size: 18px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 0 70px 0;
	color: #838383;
	line-height: 1.5;
	position: relative;
}

body.single-businesses .site-content {
	max-width: 1200px;
}

.home-sidebar {
	width: 95%;
	max-width: 1200px;
	margin: 0 auto;
	padding-bottom: 32px;
	padding-bottom: 2rem;
}

/* Social Media icons */
.social-media-icons {
	float: right;
	height: auto;
}

.social-media-icons ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-media-icons li {
	display: inline-block;
	margin: 0.1em 0 0 0.6em;
	font-size: 0.9rem;
	text-align: left;
}

.social-media-icons .fa-inverse {
	color:#FFF;
}

.social-media-icons a, .social-media-icons a:visited {
	color: #AF0823;
	text-decoration: none;
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

.social-media-icons a:hover, .social-media-icons a:active {
	color: #701119;
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

.social-media-icons .fa-inverse:hover {
	color:#90D3E0;
}

/* ==========================================================================
   Events Page Items
   ========================================================================== */

#event-title-area {
	width:100%;
}

.event-content {
	clear: both;
	width: 95%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 0;
	line-height: 1.5;
	position: relative;
}

h1.event-title {
	font-size:36px;
	margin-top:40px;
	padding-bottom:17px;
	border-bottom:#90D3E0 double;
	margin-bottom:7px;
}

h1.event-title.home {
	margin-top:0px;
}

/* ==========================================================================
   Homepage News Feed
   ========================================================================== */

.feedbox {
	padding:1.8em;
}

.feedbox .btn {
	display:none;
}

.news-feed-post {
	margin-bottom:40px;
	min-height:100px;
	position: relative;
	overflow: hidden; /* clearfix */
}

.news-feed-post.category {
	margin-bottom:0;
}

.news-feed-image {
	display:inline-block;
	float:left;
	border:1px #BE1E2D solid;
	width:25%;
	margin:0 8% 0 0;
}

.news-feed-text p {
	margin:0;
	line-height:18px;
}

.news-title {
	font-family: "refrigerator-deluxe",sans-serif;
	font-weight:900;
	font-size:24px;
	line-height:28px;
	margin-bottom:0;
}

.news-title a, .news-title a:visited {
	text-decoration:none;
	color: #BE1E2D;
}

.news-title a:hover, .news-title a:active  {
	text-decoration:none;
	color:#8B1620;
}

.news-time {
	font-size:14px;
	margin:0 0 20px 0;
}

p.news-more {
	margin:0;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.entry-meta {
	clear: both;
}

.comments-link {
	font-family: "open-sans",sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	float: right;
}

.entry-header {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.entry-header .entry-title a {
	text-decoration: none;
}

.entry-header h1 a:visited {
	color: #BE1E2D;
}

.entry-header h1 a:hover {
	color: #8B1620;
}

article.sticky .featured-post {
	font-family: 'Arvo', Georgia, "Times New Roman", Times, serif;
	font-style: normal;
	font-weight: 400;
	border-top: 4px double #aaa;
	border-bottom: 4px double #aaa;
	color: #777;
	font-size: 16px;
	font-size: 1rem;
	line-height: 3;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
	text-align: center;
}

article.sticky {
	border-bottom: 4px double #aaa;
}

.site-content article {
	margin-bottom: 40px;
	margin-bottom: 2.5rem;
	-ms-word-wrap: break-word;
	-webkit-hyphens: auto;
	word-wrap: break-word;
}

.header-meta {
	margin-bottom: 10px;
	margin-bottom: 0.625rem;
	*zoom: 1;
}

.header-meta:before,
.header-meta:after {
	content: "";
	display: table;
}

.header-meta:after { clear: both; }

.header-meta a {
	text-decoration:none;
}

.header-meta a:visited {
	color: #333;
}

.header-meta a:hover {
	color: #2997ab;
}

.entry-content {
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	*zoom: 1;
}

.entry-content:before,
.entry-content:after {
	content: "";
	display: table;
}

.entry-content:after { clear: both; }

.post-categories a,
.post-tags a {
	font-size: 14px;
	font-size: 0.875rem;
	background-color: #333;
	color: #fff;
	padding: 0 5px;
	padding: 0 0.3125rem;
	margin: 0 3px 0 0;
	margin: 0 0.1875rem 0 0;
	display: inline;
	text-decoration: none;
}

.post-categories a:visited,
.post-tags a:visited {
	color: #fff;
}

.post-categories a:hover,
.post-tags a:hover {
	background-color: #2997ab;
	color: #fff;
}

.entry-header address,
.comment-content address {
	font-family: "open-sans",sans-serif;
	font-style: italic;
	font-weight: 400;
	display: block;
}

.entry-header address {
	display: inline;
}

.entry-header time,
.entry-header address {
	font-family: "open-sans",sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	margin: 0 20px 0 0;
	margin: 0 1.25rem 0 0;
}

.page-links {
	clear: both;
	line-height: 1.75;
	color: #333;
}

.page-links .page-numbers {
	background-color: #333;
	border: 1px solid #333;
	padding: 2px 4px;
	padding: 0.125rem 0.25rem;
	color: #fff;
}

.page-links a {
	text-decoration: none;
}

.page-links a .page-numbers {
	background-color: transparent;
	color: #333;
}

.page-links a:hover .page-numbers {
	background-color: #2997ab;
	color: #fff;
}

.more-link {
	text-decoration: none;
}

.post-edit-link {
	text-decoration: none;
}

.entry-content dl,
.comment-content dl {
	margin: 0 24px;
	margin: 0 1.5rem;
}

.entry-content dt,
.comment-content dt {
	font-family: "open-sans",sans-serif;
	font-style: normal;
	font-weight: 700;
	line-height: 1.5;
}

.entry-content dd,
.comment-content dd {
	line-height: 1.5;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

.entry-content table,
.comment-content table {
	border-bottom: 1px solid #ccc;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
	margin: 0 0 24px;
	margin: 0 0 1.5rem;
	width: 100%;
}

.entry-content table caption,
.comment-content table caption {
	font-size: 16px;
	font-size: 1rem;
	margin: 24px 0;
	margin: 1.5rem 0;
}

.entry-content td,
.comment-content td {
	border-top: 1px solid #ccc;
	padding: 6px 10px 6px 0;
	padding: 0.375rem 0.625rem 0.375rem 0;
}

.entry-content ol,
.comment-content ol,
.entry-content ul,
.comment-content ul {
	margin: 0 0 24px;
	margin: 0 0 1.5rem;
	line-height: 1.5;
	padding: 0;
}

.entry-content ul ul,
.comment-content ul ul,
.entry-content ol ol,
.comment-content ol ol,
.entry-content ul ol,
.comment-content ul ol,
.entry-content ol ul,
.comment-content ol ul {
	margin-bottom: 0;
}

.entry-content ul,
.comment-content ul {
	list-style: disc outside;
}

.entry-content ol,
.comment-content ol {
	list-style: decimal outside;
}

.entry-content li,
.comment-content li {
	margin: 0 0 0 28px;
	margin: 0 0 0 1.75rem;
}

/* Author profiles */
.author .archive-header {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

.author-info {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin: 24px 0;
	margin: 1.5rem 0;
	padding: 24px 0;
	padding: 1.5rem 0;
	overflow: hidden;
	*zoom: 1;
}

.author-info:before,
.author-info:after {
	content: "";
	display: table;
}

.author-info:after { clear: both; }

.author-description h2 {
	font-size: 24px;
	font-size: 1.5rem;
}

.author-description p {
	color: #777;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	margin-bottom: 8px;
	margin-bottom: 0.5rem;
}

.author-link {
	font-size: 14px;
	font-size: 0.875rem;
}

.author-link a {
	color: #777;
	text-decoration: none;
}

.author-link a:visited {
	color: #666;
}

.author-link a:focus,
.author-link a:hover,
.author-link a:active {
	outline: 0;
	color: #2997ab;
}

.author.archive .author-info {
	border-top: 0;
	margin: 0 0 48px;
	margin: 0 0 3rem;
}

.author.archive .author-avatar {
	margin-top: 0;
}

.author.archive .author-link {
	display: none;
}

.author-avatar {
	float: left;
	margin-top: 8px;
	margin-top: 0.5rem;
}

.author-description {
	float: right;
	width: 80%;
}

.social-meta a {
	text-decoration: none;
	margin-right: 5px;
	margin-right: 0.3125rem;
}


/* ==========================================================================
   Post Formats
   ========================================================================== */

.entry-media {
	margin: 0 auto 16px;
	margin: 0 auto 1rem;
	max-width: 792px;
	width: 100%;
}

.entry-media .wp-caption,
.entry-media .wp-caption-text,
.entry-media [class*="align"] {
	margin: 0 auto;
}

/* Aside */
.format-aside .entry-content {
	margin: 20px 0 18px 0;
	margin: 1.25rem 0 1.125rem 0;
}

.format-aside .entry-content p:last-child {
	margin-bottom: 0;
}

/* Status */
.format-status .entry-content {
	border-left: 5px solid #ddd;
	margin: 20px 0 18px 0;
	margin: 1.25rem 0 1.125rem 0;
	padding: 0 0 0 15px;
	padding: 0 0 0 0.9375rem;
}

.format-status .entry-content p {
	font-size: 20px;
	font-size: 1.25rem;
	font-style: italic;
}

.format-status .entry-content p:last-child {
	margin-bottom: 0;
}

/* Quote */
.format-quote .entry-content blockquote:before {
	font-family: 'FontAwesome';
	font-weight: normal;
	font-style: normal;
	speak: none;
	vertical-align: top;
	font-size: 40px;
	font-size: 2.5rem;
	content: "\f10d";
	color: #ddd;
	top: -15px;
	left: 0;
	position: absolute;
	z-index: -1;
}

.format-quote .entry-content {
	margin-top: 24px;
	margin-top: 1.5rem;
	position: relative;
}

.format-quote .entry-content blockquote {
	border: none;
	margin-left: 40px;
	margin-left: 2.5rem;
}

/* Audio */
.format-audio .wp-audio-shortcode {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}


/* ==========================================================================
   Archives
   ========================================================================== */

.archive-header,
.page-header {
	margin-bottom: 32px;
	margin-bottom: 2rem;
	border-bottom: 1px solid #CCCCCC;
}

.archive-meta {
	font-family: "open-sans",sans-serif;
	font-style: italic;
	font-weight: 400;
	color: #777;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
	margin-top: 16px;
	margin-top: 1rem;
}


/* ==========================================================================
   Comments
   ========================================================================== */

.comments-title {
	margin-bottom: 48px;
	margin-bottom: 3rem;
	font-size: 32px;
	font-size: 2rem;
	line-height: 1.5;
	font-weight: normal;
}

.comments-area article {
	padding-bottom: 16px;
	padding-bottom: 1rem;
	margin: 24px 0;
	margin: 1.5rem 0;
	border-bottom: 1px solid #ccc;
}

.comments-area article header {
	margin: 0 0 24px;
	margin: 0 0 1.5rem;
	overflow: hidden;
	position: relative;
}

.comments-area article header img {
	float: left;
	padding: 0;
	line-height: 0;
}

.comments-area article header cite,
.comments-area article header time {
	display: block;
	margin-left: 84px;
	margin-left: 5.25rem;
}
.comments-area article header cite {
	font-style: normal;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

.comments-area article header time {
	font-family: "open-sans",sans-serif;
	font-style: italic;
	font-weight: 400;
	line-height: 1.8;
	text-decoration: none;
	font-size: 14px;
	font-size: 0.875rem;
	color: #5e5e5e;
}

.comments-area article header a {
	text-decoration: none;
	color: #5e5e5e;
}

.comments-area article header a:hover {
	color: #21759b;
}

.comments-area article header cite a {
	color: #444;
}

.comments-area article header cite a:hover {
	text-decoration: underline;
}

.comments-area article header h4 {
	position: absolute;
	top: 0;
	right: 0;
	padding: 8px 14px;
	padding: 0.5rem 0.875rem;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: normal;
	color: #fff;
	background-color: #0088d0;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #009cee, #0088d0);
	background-image: -ms-linear-gradient(top, #009cee, #0088d0);
	background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
	background-image: -o-linear-gradient(top, #009cee, #0088d0);
	background-image: linear-gradient(top, #009cee, #0088d0);
	border-radius: 3px;
	border: 1px solid #007cbd;
}

.comments-area li.bypostauthor cite span {
	position: absolute;
	margin-left: 6px;
	margin-left: 0.375rem;
	padding: 2px 6px;
	padding: 0.125rem 0.375rem;
	font-size: 12px;
	font-size: 0.75rem;
}

a.comment-reply-link {
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.8;
	color: #686868;
	text-decoration: none;
}

a.comment-reply-link:hover {
	color: #21759b;
}

.commentlist .pingback {
	line-height: 1.8;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
	padding-bottom: 0;
}

.commentlist .children {
	margin-left: 48px;
	margin-left: 3rem;
}

.commentlist {
	padding-left: 0;
}

/* Comment form */
#respond {
	margin-top: 48px;
	margin-top: 3rem;
}

#respond h3#reply-title #cancel-comment-reply-link {
	margin-left: 12px;
	margin-left: 0.75rem;
	font-weight: normal;
	font-size: 12px;
	font-size: 0.75rem;
}

#respond form {
	margin: 24px 0 32px 0;
	margin: 1.5rem 0 2rem 0;
}

#respond form p {
	margin: 12px 0;
	margin: 0.75rem 0;
}

#respond form p.logged-in-as {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

#respond form label {
	display: block;
	line-height: 1.8;
}

#respond form input[type="text"],
#respond form textarea {
	font-family: inherit;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.8;
	padding: 8px;
	padding: 0.5rem;
	width: 100%;
}

#respond form input[type="text"] {
	width:48%;
}

#respond form p.form-allowed-tags {
	margin: 0;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #5e5e5e;
}

#respond form p.form-allowed-tags code {
	background: none;
	border: none;
	color: #5e5e5e;
}

label .required,
span.required {
	color: #bb0504;
}

form label.error {
	font-family: "open-sans",sans-serif;
	font-style: normal;
	font-weight: 700;
	display:block;
	padding: 0 10px 0 10px;
	padding: 0 0.625rem 0 0.625rem;
	margin: 5px 0 5px 0;
	margin: 0.3125rem 0 0.3125rem 0;
	font-size: 14px;
	font-size: 0.875rem;
	border-left: 4px solid #bb0504;
	display: none;
}

#respond form label.error {
	line-height: 1.3;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#prefootercontainer {
	width: 100%;
	background:#E9F6F9;
	padding:45px 0;
}

.prefooter {
	clear: both;
	width: 95%;
	font-size: 16px;
	font-size: 1rem;
	max-width: 1200px;
	margin: 0 auto;
	color: #838383;
	text-align:left;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footercontainer {
	width: 100%;
	background:#90D2DF;
	background-image:url(images/footer-bg.jpg);
	background-position:50% 50%;
	background-repeat:no-repeat;
	padding:45px 0;
}

.site-footer {
	clear: both;
	width: 95%;
	font-size: 16px;
	font-size: 1rem;
	max-width: 1200px;
	margin: 0 auto;
	color: #999;
	text-align:center;
}

.site-footer h3 {
	font-family: Georgia, serif;
	font-weight:bold;
	font-style:italic;
	text-transform:none;
	color:#FFF;
	font-size:24px;
	margin-bottom:20px;
}

.site-footer a {
	color: #999;
}

.site-footer a:visited {
	color: #999;
}

.site-footer a:hover {
	color: #2997ab;
}

.site-footer a:focus {
	outline: thin dotted;
	color: rgb(0,0,0);
}

.newsletter-form {
	text-align:center;
	width:100%;
}

#footercontainer input[type="text"], #footercontainer input[type="password"], #footercontainer input[type="email"], #footercontainer input[type="url"], #footercontainer textarea {
	font-family:Georgia, serif;
	font-style:italic;
	height:50px;
	margin-right:10px;
	width:100%;
	max-width:400px;
	background-color:#FFF;
	border-color:#89AAB1;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-ms-border-radius:5px;
	-o-border-radius:5px;
	border-radius:5px;
}

#footercontainer input[type="submit"], #footercontainer input[type="submit"]:visited {
	background-color:#AE0823;
	border:1px #AE0823 solid;
	padding: 8px 28px;
}

#footercontainer input[type="submit"]:hover, #footercontainer input[type="submit"]:active {
	background-color:#85061A;
	border:1px #85061A solid;
}

/* ==========================================================================
   Credit Area
   ========================================================================== */

#creditcontainer {
	width: 100%;
	background-color: #292929;
	padding:20px 0;
}

.credit {
	clear: both;
	width: 95%;
	font-size: 12px;
	font-size: .675rem;
	font-weight:300;
	max-width: 1600px;
	margin: 0 auto;
	color:#F3F0E2;
}

.smallprint {
	color: #F3F0E2;
	width: 100%;
	max-width: 1200px;
}

.smallprint p {
	font-size: 13px;
	font-size: 0.775rem;
	font-style:italic;
	margin-bottom:0;
}

.smallprint a, .smallprint a:visited {
	color: #90D2DF;
	text-decoration:none;
}

.smallprint a:hover {
	color: #90D2DF;
	text-decoration:underline;
}

/* Social Media icons - Footer */

.credit .social-media-icons ul {
	margin:0;
}

.credit .social-media-icons .fa-inverse {
	color:#FFF;
}

.credit .social-media-icons a, .credit .social-media-icons a:visited {
	color: #838383;
	text-decoration: none;
}

.credit .social-media-icons a:hover, .credit .social-media-icons a:active {
	color: #636363;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget-area ul {
	list-style: none outside none;
	padding-left: 0;
}

.widget-area .widget {
	-moz-hyphens: auto;
	-ms-word-break: break-all;
	-webkit-hyphens: auto;
	hyphens: auto;
	word-wrap:break-word;
	word-break: break-word;
	margin-bottom: 48px;
	margin-bottom: 3rem;
}

h3.widget-title {
	font-size:36px;
	margin-bottom: 26px;
	margin-bottom: 1.25rem;
	line-height: 1.25;
}

.widget-content {
	padding:1.8em;
	border:1px #90D3E0 solid;
}

.widget select {
	margin-left: 1px;
	margin-left: 0.0625rem;
}

.widget-area .widget ul ul {
	margin-left: 12px;
	margin-left: 0.75rem;
}

.widget_rss li {
	margin: 12px 0;
	margin: 0.75rem;
}

.widget_recent_entries .post-date,
.widget_rss .rss-date {
	font-size: 12px;
	font-size: 0.75rem;
	margin-left: 12px;
	margin-left: 0.75rem;
}

#wp-calendar {
	margin: 0;
	width: 100%;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
}

#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: center;
}

#wp-calendar thead {
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

#wp-calendar caption {
	font-family: "open-sans",sans-serif;
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;
}

#wp-calendar #today {
	background-color: #ddd;
}

#wp-calendar tfoot {
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

#wp-calendar #next {
	padding-right: 24px;
	padding-right: 1.5rem;
	text-align: right;
}

.widget_search label {
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
}

.widget_twitter li {
	list-style-type: none;
}

.widget_twitter .timesince {
	display: block;
	text-align: right;
}


/* ==========================================================================
   Content Navigation
   ========================================================================== */

.site-content nav {
	clear: both;
	line-height: 2;
	overflow: hidden;
}

#nav-above {
	padding: 24px;
	padding: 1.5rem;
}

#nav-above {
	display: none;
}

.paged #nav-above {
	display: block;
}

.nav-previous,
.previous-image {
	float: left;
	width: 50%;
	line-height: 1.3;
}

.nav-previous a,
.nav-next a {
	text-decoration: none;
}

.nav-next,
.next-image {
	float: right;
	text-align: right;
	width: 50%;
	line-height: 1.3;
}

.nav-single + .comments-area,
#comment-nav-above {
	margin: 48px 48px 48px 0;
	margin: 3rem 3rem 3rem 0;
}

ul.page-numbers {
	padding: 0;
	margin: 0;
	text-align: center;
	line-height: 2;
}

li a.page-numbers,
li span.page-numbers {
	padding: 0 8px 0 4px;
	border-right: 1px solid #999;
	text-decoration: none;
}

li a:visited.page-numbers {
	color: #BE1E2D;
}

li a:hover.page-numbers {
	color: #8B1620;
}

li a:hover.prev,
li a:hover.next {
	color: #8B1620;
}

.page-numbers li {
	display: inline;
}

li span.current {
	color: #838383;
}

li a.prev,
li a.next,
li span.dots {
	border: none;
}

/* ==========================================================================
   WPML translation plugin
   ========================================================================== */

#lang_sel {
	width: 65%;
	height: 35px;
}

#lang_sel li {
	width: 100%;
}

#lang_sel ul ul {
	top: 35px;
	width: 100%;
}

#lang_sel a.lang_sel_sel {
	border-radius: 3px;
}

#lang_sel a,
#lang_sel a:visited {
	font-size: 16px;
	font-size: 1rem;
	padding: 5px 0 5px 10px;
}

.main-navigation .menu-item-language .iclflag {
	margin-top: 7px;
}

#lang_sel .iclflag {
	margin-top: 2px;
}

#lang_sel .lang_sel_sel .iclflag {
	margin-top: 6px;
}

#lang_sel_footer .iclflag,
#lang_sel_footer .icl_lang_sel_current {
	margin-top: 6px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/*  Breakpoints are set based on the design, not based on device sizes */
@media only screen and (max-width: 1200px) {
	.portfolio-feed li.portfolio-grid-box.team, .portfolio-feed li.portfolio-grid-box.team:nth-child(4n) {
		width:32%;
		height:400px;
		margin: 0 2% 20px 0;
	}
	.portfolio-feed li.portfolio-grid-box.team:nth-child(3n) {
		width:32%;
		height:400px;
		margin: 0 0 20px 0;
	}
	.site-content, body.blog .site-content, body.category .site-content {
		width: 90%;
	}
}

@media only screen and (max-width: 1000px) {
	.site-header {
		width:100%;
	}

	#logo {
		float:none;
	}

	#logo img {
		height: 129px;
		line-height: 129px;
		width: 121px;
		margin:0 auto 10px auto;
	}
	#headercontainer.smaller .uber-navigation .ubermenu {
		margin-top: 0;
	}

	#global-box {
		display:none;
	}

	header .grid_3_of_12 {
		width: 100%;
	}

	header .grid_9_of_12 {
		width: 100%;
		margin-left: 0;
	}
	.grid_1_of_12,
	.grid_2_of_12,
	.grid_3_of_12,
	.grid_4_of_12,
	.grid_5_of_12,
	.grid_6_of_12,
	.grid_7_of_12,
	.grid_8_of_12,
	.grid_9_of_12,
	.grid_10_of_12,
	.grid_11_of_12,
	.grid_12_of_12 {
		width: 100%;
	}
	.col {
		margin: 0;
	}
}

@media only screen and (max-width: 900px) {
	.portfolio-feed li.portfolio-grid-box, .portfolio-feed li.portfolio-grid-box:nth-child(3n), .portfolio-feed li.portfolio-grid-box.team, .portfolio-feed li.portfolio-grid-box.team:nth-child(4n), .portfolio-feed li.portfolio-grid-box.team:nth-child(3n) {
		width: 48%;
		height: 400px;
		margin: 0 1% 20px 1%;
	}
	.homeblocks-feed li.homeblocks-grid-box:nth-child(1n), .homeblocks-feed li.homeblocks-grid-box:nth-child(2n), .homeblocks-feed li.homeblocks-grid-box:nth-child(3n), .homeblocks-feed li.homeblocks-grid-box:nth-child(4n), .homeblocks-feed li.homeblocks-grid-box:nth-child(5n), .homeblocks-feed li.homeblocks-grid-box:nth-child(6n) {
		width:49.5%;
		margin: 0 0 10px 0;
	}
	.homeblocks-feed li.homeblocks-grid-box:nth-of-type(7) {
		width:100%;
	}
	.homeblocks-feed li.homeblocks-grid-box:nth-of-type(1), .homeblocks-feed li.homeblocks-grid-box:nth-of-type(3), .homeblocks-feed li.homeblocks-grid-box:nth-of-type(5) {
		margin: 0 1% 10px 0;
	}
}

/*  Go full Width at less than 767px */
@media only screen and (max-width: 767px) {
	#main-slider {
		display:none;
	}

	.feedbox {
		padding:1.8em 0;
	}

	.smallprint {
		text-align:center!important;
	}

	.social-media-icons {
		margin-top:20px;
		text-align: center;
		float:none;
	}
	.homeblocks-feed li.homeblocks-grid-box:nth-child(1n), .homeblocks-feed li.homeblocks-grid-box:nth-child(2n), .homeblocks-feed li.homeblocks-grid-box:nth-child(3n), .homeblocks-feed li.homeblocks-grid-box:nth-child(4n), .homeblocks-feed li.homeblocks-grid-box:nth-child(5n), .homeblocks-feed li.homeblocks-grid-box:nth-child(6n), .homeblocks-feed li.homeblocks-grid-box:nth-child(7n) {
		width:100%;
		height:350px;
		margin: 0 0 10px 0;
	}
	#footercontainer input[type="text"], #footercontainer input[type="password"], #footercontainer input[type="email"], #footercontainer input[type="url"], #footercontainer textarea {
		margin:0 0 10px 0;
		width:90%;
	}
	.site-content .wp-block-ub-tabbed-content-tabs-title, .site-content-left .wp-block-ub-tabbed-content-tabs-title {
		display: block;
	}
	.event-content {
		padding: 30px 0 0 0;
	}
	.site-content-left {
		padding-top: 0;
	}
}


/*  Adjust the menu at less than 545px */
@media only screen and (max-width: 545px) {
	.portfolio-feed li.portfolio-grid-box, .portfolio-feed li.portfolio-grid-box:nth-child(3n), .portfolio-feed li.portfolio-grid-box.team, .portfolio-feed li.portfolio-grid-box.team:nth-child(4n), .portfolio-feed li.portfolio-grid-box.team:nth-child(3n) {
		width: 100%;
		margin: 0 0 20px 0;
	}
	.news-feed-image {
		display:block;
		float:none;
		border:1px #BE1E2D solid;
		width:100%;
		margin:0 0 20px 0;
	}
}


/* ==========================================================================
   Non-semantic helper classes from HTML5 Boilerplate
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* 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; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
.clear {clear:both; }


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

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  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; }
}
