/*
Theme Name: Joint Care
Theme URI: http://underscores.me/
Author: 20/21
Author URI: http://2021.com.au
Description: Joint Care WordPress theme
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: jc
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 Joint Care is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: url(images/bg-clouds.jpg) repeat-x scroll center top rgb(255, 255, 255);
	-webkit-background-size: cover;
	background-size: cover;
	padding: 0 1em;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}

/* =Grid
----------------------------------------------- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
}
.row {
    padding: 1em 2em;
}
.col {
    border:0px solid rgba(0,0,0,0);
    float:left;
    margin-left:2%;
    padding:0 0 0 3%;
    -moz-background-clip:padding-box !important;
    -webkit-background-clip:padding-box !important;
    background-clip:padding-box !important;
}
.row .col:first-child {
    margin-left:0;
    padding-left: 0;
}
.span_1 {
    width:6.5%;
}
.span_2 {
    width:15.0%;
}
.span_3 {
    width:23.5%;
}
.span_4 {
    width:32.0%;
}
.span_5 {
    width:40.5%;
}
.span_6 {
    width:49.0%;
}
.span_7 {
    width:57.5%;
}
.span_8 {
    width:66.0%;
}
.span_9 {
    width:74.5%;
}
.span_10 {
    width:83.0%;
}
.span_11 {
    width:91.5%;
}
.span_12 {
    margin-left:0;
    width:100%;
}


/* =Global
----------------------------------------------- */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body,
button,
input,
select,
textarea {
	color: #777;
	font-family: 'Ubuntu', sans-serif;
	font-size: 13px;
	font-size: 1.3rem;
	font-weight: 300;
	line-height: 1.2;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	clear: both;
	margin: 0 0 0.5em 0;
	font-weight: 400;
}
h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.8rem;
    padding-bottom: 0.2em;
    position: relative;
}
h2:after {
    background: #b9d536; /* Old browsers */
    background: -moz-linear-gradient(left,  #b9d536 0%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#b9d536), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #b9d536 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #b9d536 0%,#ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #b9d536 0%,#ffffff 100%); /* IE10+ */
    background: linear-gradient(to right,  #b9d536 0%,#ffffff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9d536', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
}
h3 {
    font-size: 1.6rem;
}
h4 {
    font-size: 1.4rem;
}
h5 {
    font-size: 1.2rem;
}
h6 {
    font-size: 1rem;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1em;
}
ul, ol {
	margin: 0 0 1em 2em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
	border-radius: 0.75em;
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid rgba(0, 0, 0, 0.01);
	background: #555;
	-webkit-box-shadow: 2px 4px 2px rgba(255, 255, 255, 0.3) inset, -2px -3px 5px rgba(0, 0, 0, 0.5) inset;
	-moz-box-shadow: 2px 4px 2px rgba(255, 255, 255, 0.3) inset, -2px -3px 5px rgba(0, 0, 0, 0.5) inset;
	box-shadow: 2px 4px 2px rgba(255, 255, 255, 0.3) inset, -2px -3px 5px rgba(0, 0, 0, 0.5) inset;
	border-radius: 1.5em;
	color: #fff;
	text-transform: uppercase;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .4em 1em .4em;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	-webkit-box-shadow: 2px 4px 2px rgba(255, 255, 255, 0.4) inset, -2px -3px 5px rgba(0, 0, 0, 0.5) inset;
	-moz-box-shadow: 2px 4px 2px rgba(255, 255, 255, 0.4) inset, -2px -3px 5px rgba(0, 0, 0, 0.5) inset;
	box-shadow: 2px 4px 2px rgba(255, 255, 255, 0.4) inset, -2px -3px 5px rgba(0, 0, 0, 0.5) inset;
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	-webkit-box-shadow: 2px 4px 2px rgba(255, 255, 255, 0.5) inset, -2px -3px 5px rgba(0, 0, 0, 0.5) inset;
	-moz-box-shadow: 2px 4px 2px rgba(255, 255, 255, 0.5) inset, -2px -3px 5px rgba(0, 0, 0, 0.5) inset;
	box-shadow: 2px 4px 2px rgba(255, 255, 255, 0.5) inset, -2px -3px 5px rgba(0, 0, 0, 0.5) inset;
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ddd;
	border-radius: 0.75em;
	box-shadow: 0.1em 0.1em 0.15em rgba(0,0,0,0.15) inset;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px 6px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: #37b19a;
	-webkit-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-ms-transition: color 0.2s;
	-o-transition: color 0.2s;
	transition: color 0.2s;
}
a:visited {
	color: #219882;
}
a:hover,
a:focus,
a:active {
	color: #219882;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.align-left {
    text-align: left;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.align-right {
    text-align: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
.justify {
    text-align: justify;
}

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

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}

/* =header
----------------------------------------------- */
.phone {
    background: url(images/icon-phone.png) no-repeat scroll 0 0 transparent;
    display: inline-block;
    font-size: 0.9em;
    margin: 0 1em 1em 0;
    padding: 1px 0 5px 40px;
}

/* =Menu
----------------------------------------------- */

.main-navigation {
	clear: both;
	display: block;
	float: right;
	width: auto;
	font-size: 0.9em;
	margin: -2em 0 -2.75em 0;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	float: right;
}
.main-navigation li {
    float: left;
    margin-left: 1em;
    min-width: 6em;
    padding: 0.6em 1em 3em;
    position: relative;
    text-align: center;
}
.main-navigation li.current-menu-item {
    border: 2px solid #AECE18;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.main-navigation a {
	color: #555;
	display: block;
	text-decoration: none;
	padding-top: 0.3em;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	position: absolute;
		top: 1.5em;
		left: 0;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
    color: #888;
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}


/* =Banner
----------------------------------------------- */
.site-banner {
    background-color: #fcfcfc;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.site-banner-image {
    height: 213px;
    width: 100%;
    background-color: #45b39a;
}
.btn-promo {
    background-image: url(images/btn-promo.png);
    display: block;
    height: 68px;
    width: 68px;
    position: absolute;
    right: 4%;
    top: 4%;
}
.banner-text {
    color: #FFFFFF;
    font-size: 2em;
    left: 36%;
    position: absolute;
    top: 25%;
    width: 35%;
}
.banner-circle-text {
    position: absolute;
    right: 3%;
    top: 4%;
}
.banner-circle {
    position: absolute;
    right: 3%;
    top: 4%;
    -webkit-animation: gspin 5s infinite linear;
    -moz-animation: gspin 5s infinite linear;
    -o-animation: gspin 5s infinite linear;
    animation: gspin 5s infinite linear;
}
@-webkit-keyframes gspin {
  0%  { -webkit-transform: rotate(0deg); }
  100%  { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes gspin {
  0%  { -moz-transform: rotate(0deg); }
  100%  { -moz-transform: rotate(360deg); }
}
@-o-keyframes gspin {
  0%  { -o-transform: rotate(0deg); }
  100%  { -o-transform: rotate(360deg); }
}
@keyframes gspin {
  0%  { transform: rotate(0deg); }
  100%  { transform: rotate(360deg); }
}

/* =Content Top
----------------------------------------------- */
.content-top {
    background-color: #B9D536;
    color: #FFFFFF;
    padding: 0.5em 2em 1em;
    border-bottom: 1px solid rgba(175, 201, 51, 0.25);
}
.content-top .wpcf7-form .title {
    display: block;
    padding-bottom: 0.25em;
}
.content-top .wpcf7-form input {
    width: 27%;
    margin-right: 1%;
}
.content-top .wpcf7-form input.wpcf7-submit {
    width: 8%;
    margin-right: 0;
    font-size: 0.8em;
}
.content-top .widget, .content-top .wpcf7-form p {
    margin-bottom: 0;
}
span.wpcf7-not-valid-tip {
    border-color: #37b19a;
    color: #444;
    top: 100%;
    left: 3%;
}
div.wpcf7-validation-errors {
    border-color: #333;
    color: #333;
}
div.wpcf7-response-output {
    margin-top: 2em;
}


/* =Content
----------------------------------------------- */
/* Home Page */
.home .page .entry-header {
    display: none;
}
.entry-header {
    color: #fff;
    padding: 0.5em 2em;
    margin: -1em -2em 1.5em -2em;
    background: #b9d536; /* Old browsers */
    background: -moz-linear-gradient(left,  #b9d536 0%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#b9d536), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #b9d536 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #b9d536 0%,#ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #b9d536 0%,#ffffff 100%); /* IE10+ */
    background: linear-gradient(to right,  #b9d536 0%,#ffffff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9d536', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
}
.entry-header h1 {
    margin: 0;
}
.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 0.5em 0 1em 0;
}
.site-main .row {
	padding: 1em 0;
}
.site-main .row .col {
    border-right: 1px solid #bbb;
    margin: 0 0 0 1.3%;
    padding: 0 2% 0 1%;
}
.site-main .row .col:first-child {
    margin-left:0;
    padding-left: 0;
}
.site-main .row .col:last-child {
    margin-right:0;
    padding-right: 0;
    border-right: none;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Content Bottom
----------------------------------------------- */
.content-bottom {
    background: url(images/footer-circles.png) no-repeat 0 0 #45b39a;
    color: #fff;
}
.content-bottom .row {
    background: url(images/j-circle.png) no-repeat 97% 10% transparent;
    min-height: 6.25em;
}
.content-bottom .row > .widget {
    padding: 0 10em 0 15em;
}
.content-bottom blockquote {
    color: #b9d536;
    margin: 0 0.25em;
    font-size: 1.2em;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/* =Footer
----------------------------------------------- */
.site-footer {
    background-color: #B9D536;
    color: #FFFFFF;
    font-size: 0.75em;
}
.site-footer a {
    color: #FFFFFF;
    text-decoration: none;
}
.btn-here {
    background-image: url(images/btn-here.png);
    display: block;
    height: 47px;
    width: 49px;
}
#promo-popup > div {
    margin: 0 auto;
}
#promo-popup * {
    max-width: 100%;
}

/* =Media
----------------------------------------------- */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}

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


/* =Navigation
----------------------------------------------- */

.site-main [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

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

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

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

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/* =Plugins
----------------------------------------------- */

/* Testimonials */
.site-main .page .testimonials-widget-testimonials .testimonials-widget {
    margin-bottom: 2.5em;
    padding-bottom: 2.5em;
    border-bottom: 1px solid #eee;
}
.site-main .page .testimonials-widget-testimonials .paging, .site-main .page .testimonials-widget-testimonials .testimonials-widget blockquote {
    font-size: 1.5em;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }

.mfp-preloader a {
  color: #cccccc; }

.mfp-preloader a:hover {
  color: white; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #fff;
  font-size: 4em;
  }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

.mfp-arrow:active {
  margin-top: -54px; }

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1; }

.mfp-arrow:before, .mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent; }
.mfp-arrow:after,
.mfp-arrow .mfp-a {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px; }
.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 21px;
  border-bottom-width: 21px; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after,
  .mfp-arrow-left .mfp-a {
    border-right: 17px solid white;
    margin-left: 31px; }
  .mfp-arrow-left:before,
  .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after,
  .mfp-arrow-right .mfp-a {
    border-left: 17px solid white;
    margin-left: 39px; }
  .mfp-arrow-right:before,
  .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3f3f3f; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black; }

.mfp-iframe-holder .mfp-close {
  top: -40px; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444444; }

.mfp-figure {
  line-height: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
   * Remove all paddings around the image on small screen
   */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }

  .mfp-img-mobile img.mfp-img {
    padding: 0; }

  /* The shadow behind the image */
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0; }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; } }
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }
.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }


/* =Media Quiries
----------------------------------------------- */

@media all and (max-width: 60em) {
    .banner-text {
        font-size: 1.5em;
    }
}

@media all and (max-width: 50em) {
    .banner-text {
        display: none;
    }
    .site-main .row .col {
        width: 100%;
        float: none;
        border-right: none;
        margin: 0 0 3em 0;
        padding: 0;
    }
    .content-bottom .row > .widget {
        padding: 0;
    }
    .content-bottom, .content-bottom .row {
        background-image: none;
    }
}
@media all and (max-width: 40em) {
    .phone {
        font-size: 0.75em;
        background: none;
        padding-left: 0;
    }
    .main-navigation {
        margin-top: 0.5em;
        font-size: 0.75em;
        float: left;
    }
    .main-navigation ul {
        float: left;
        margin-left: -2em;
    }
    .site-banner-image {
        background: #a2dbcd !important; /* Old browsers */
        background: -moz-linear-gradient(left,  #a2dbcd 0%, #45b39a 100%) !important; /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,#a2dbcd), color-stop(100%,#45b39a)) !important;; /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left,  #a2dbcd 0%,#45b39a 100%) !important;; /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left,  #a2dbcd 0%,#45b39a 100%) !important;; /* Opera 11.10+ */
        background: -ms-linear-gradient(left,  #a2dbcd 0%,#45b39a 100%) !important;; /* IE10+ */
        background: linear-gradient(to right,  #a2dbcd 0%,#45b39a 100%) !important;; /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a2dbcd', endColorstr='#45b39a',GradientType=1 ) !important;; /* IE6-9 */

    }
    .content-top .wpcf7-form input {
        width: 99%;
        display: block;
        margin: 0 0 0.5em 0;
    }
    .content-top .wpcf7-form input.wpcf7-submit {
        width: auto;
        float: left;
    }
    .site-footer .col {
        width: 100%;
        float: none;
        border-right: none;
        margin: 0 0 2em 0;
    }
}

#promo-popup{ width:600px; margin:0 auto;}