/*
Theme Name: Orient Physiotherapy 
Theme URI: http://www.orientphysiotherapy.co.uk
Author: Dave Vernon
Author URI: http://www.davevernon.co.uk
Description: A theme by Dave Vernon
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: orientphysio
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.

orientphysio is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Layout
3.0 Typography
4.0 Elements
5.0 Forms
6.0 Navigation
	6.1 Links
	6.2 Menus
7.0 Accessibility
8.0 Alignments
9.0 Clearings
10.0 Widgets
11.0 Content
	11.1 Posts and pages
	11.2 Asides
	11.3 Comments
12.0 Infinite scroll
13.0 Media
	13.1 Captions
	13.2 Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

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

button[disabled],
html input[disabled] {
  cursor: default;
}

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

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

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

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
2.0 Layout
--------------------------------------------------------------*/
section,
.widgets {
  max-width: 940px;
  margin: 0 auto;
  display: block;
}

.thirds,
.widgets {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.widget {
  width: 100%;
}

.thirds .column {
  width: 100%;
}

@media screen and (min-width: 700px) {
  .thirds .column {
    width: 32%;
  }
}

.row {
  display: block;
}

@media screen and (min-width: 700px) {
  .row {
    display: flex;
  }
}

.column {
  width: 100%;
}

@media screen and (min-width: 700px) {
  .column {
    margin: 0 10px;
  }
}

/*--------------------------------------------------------------
3.0 Typography
--------------------------------------------------------------*/
html {
  font-size: 62.5%;
}

body,
button,
input,
select,
textarea {
  color: #333;
  font-family: "Lato", Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 300;
}

h1 {
  font-family: "Lato", Arial, sans-serif;
  font-size: 24px;
  font-size: 2.4rem;
  font-weight: 700;
  color: #F44D4D;
  margin: 0 0 0.5em;
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 36px;
    font-size: 3.6rem;
  }
}

h2 {
  font-family: "Lato", Arial, sans-serif;
  font-size: 21px;
  font-size: 2.1rem;
  font-weight: 700;
  color: #F44D4D;
  margin: 0 0 1em;
}

@media screen and (min-width: 768px) {
  h2 {
    font-size: 26px;
    font-size: 2.6rem;
  }
}

h3 {
  font-family: "Lato", Arial, sans-serif;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #F44D4D;
}

@media screen and (min-width: 768px) {
  h3 {
    font-size: 20px;
    font-size: 2rem;
  }
}

p {
  margin-bottom: 1.5em;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #ccc;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 10px;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 10px;
  font-size: 1rem;
}

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

mark, ins {
  background: #ccc;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  background: #000;
  /* Fallback for when there is no custom background color defined. */
}

blockquote, q {
  quotes: "" "";
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
}

hr {
  background-color: #000;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul, ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
  margin-left: 0;
  padding-left: 0;
  color: #333;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

li {
  margin: 0 0 0.5em 1em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

table {
  margin: 0 0 1.5em;
}

table h2 {
  margin: 0;
}

table h4, table h5 {
  margin: 0.5em 0;
  font-weight: 700;
}

table h4 {
  text-decoration: underline;
}

table .border-top {
  border-top: 1px solid #666;
}

table .padding-bottom {
  padding-bottom: 1em;
}

table .short,
table .long {
  width: 60px;
}

table tr:nth-child(odd) {
  background: #eee;
}

table td {
  padding: 10px;
  border: 1px solid #ddd;
}

.left {
  width: 45%;
  float: left;
}

.right {
  width: 45%;
  float: right;
}

/*--------------------------------------------------------------
5.0 Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
  display: inline-block;
  border: 1px solid #F44D4D;
  border-radius: 5px;
  background: #F44D4D;
  color: #fff;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  padding: 1em 2em;
  margin-bottom: 1em;
  text-decoration: none;
  transition: all 0.3s;
}

button:visited,
input[type="button"]:visited,
input[type="reset"]:visited,
input[type="submit"]:visited,
.button:visited {
  color: #fff;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover {
  background: rgba(255, 255, 255, 0);
  color: #F44D4D;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #333;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  color: #222;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 10px;
}

textarea {
  padding-left: 10px;
  width: 100%;
}

.search-form {
  margin: 0 0 40px;
}

/* Ninja Forms */
.nf-form-cont {
  border: 1px solid #666;
  padding: 10px 30px;
  min-height: 250px;
}

@media screen and (min-width: 600px) {
  .nf-form-cont {
    width: 50%;
    float: left;
    margin-right: 20px;
  }
}

.nf-before-form-content {
  margin-bottom: 1em;
}

/*--------------------------------------------------------------
6.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
  color: #F44D4D;
  text-decoration: underline;
  transition: all 0.3s;
}

a:visited {
  color: #F44D4D;
}

a:hover, a:focus, a:active {
  color: #F44D4D;
  text-decoration: none;
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

a[href^=tel] {
  color: inherit;
  text-decoration: none;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  float: left;
  margin: 0;
  text-align: center;
}

@media screen and (min-width: 600px) {
  .main-navigation {
    position: static;
    margin: 20px 0 0;
  }
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  text-align: center;
}

@media screen and (min-width: 600px) {
  .main-navigation ul {
    display: block;
    text-align: justify;
  }
}

.main-navigation ul::after {
  content: '';
  display: inline-block;
  width: 100%;
}

.main-navigation ul ul {
  border-top: 1px solid #F44D4D;
  margin-top: -1px;
  float: left;
  position: absolute;
  left: -999em;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
}

.main-navigation ul ul::after {
  display: none;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li {
  display: block;
}

.main-navigation ul ul li:hover > ul {
  left: 100%;
}

.main-navigation ul ul a {
  display: block;
  padding: 10px;
}

.main-navigation ul li:hover > ul {
  left: auto;
}

.main-navigation li {
  /* float: left; */
  position: relative;
  margin: 0px;
}

@media screen and (min-width: 600px) {
  .main-navigation li {
    /* float: left;
			margin-right: 20px; */
    display: inline-block;
    margin: 0;
  }
}

.main-navigation a {
  display: block;
  text-decoration: none;
  font-family: "Lato", Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1.2;
  padding: 15px 0;
  color: #fff;
  border-bottom: 1px solid #333;
}

.main-navigation a:hover {
  color: #F44D4D;
}

@media screen and (min-width: 600px) {
  .main-navigation a {
    padding: 10px 0;
    border-bottom: none;
  }
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
  color: #F44D4D;
  border-bottom: 1px solid #F44D4D;
  font-weight: 400;
}

/* Small menu. */
.menu-toggle {
  display: none;
  padding: 9px 10px;
  transition: none;
  border-top: none;
  border-radius: 0 0 5px 5px;
  outline: none;
  color: #fff;
  background: #F44D4D;
}

.menu-toggle:hover {
  color: #fff;
  background: #F44D4D;
}

.menu-toggle div {
  display: inline-block;
  vertical-align: middle;
}

.menu-toggle .hamburger {
  margin-right: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
}

@media screen and (max-width: 600px) {
  .menu-toggle,
  .main-navigation.toggled .nav-menu {
    display: block;
    margin: 0 auto;
  }
  .main-navigation.toggled .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding-top: 80px;
  }
  .main-navigation.toggled .nav-menu li:first-child a {
    border-top: 1px solid #333;
  }
  .main-navigation.toggled .menu-toggle {
    position: fixed;
    z-index: 200;
    left: 50%;
    transform: translateX(-50%);
  }
  .main-navigation.toggled .menu-toggle:hover {
    background: rgba(255, 255, 255, 0);
  }
  .main-navigation.toggled .menu-toggle:hover span {
    background: #F44D4D;
  }
  .main-navigation ul {
    display: none;
  }
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

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

.screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus {
  background-color: #000;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #333;
  display: block;
  font-size: 8.75px;
  font-size: 0.875rem;
  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. */
}

/*--------------------------------------------------------------
8.0 Alignments
--------------------------------------------------------------*/
.alignleft {
  margin-bottom: 1em;
}

@media screen and (min-width: 600px) {
  .alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
  }
}

.alignright {
  margin-bottom: 1em;
}

@media screen and (min-width: 600px) {
  .alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
  }
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
9.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
10.0 Widgets
--------------------------------------------------------------*/
.footer-1 {
  padding: 20px 0;
  background: #F44D4D;
  color: #fff;
}

.footer-1 h3 {
  color: #fff;
  text-align: center;
}

.footer-2 {
  padding: 20px 0;
}

.footer-2 .gallery {
  display: block;
}

.footer-2 .gallery-item {
  vertical-align: middle;
}

.footer-2 .gallery-item img {
  max-height: 80px;
  width: auto;
  margin: 0 auto;
}

.footer-3 {
  padding: 20px 0;
  background: #444;
  color: #fff;
  font-size: 14px;
  font-size: 1.4rem;
}

/* Related pages */
.related-item {
  font-size: 16px;
}

.related-item a {
  text-decoration: none;
}

.related-item a img {
  transition: opacity 0.5s;
}

.related-item a:hover img {
  opacity: 0.5;
}

.related-item a img {
  display: block;
}

.related-item a .read-more {
  text-decoration: underline;
}

.widgets {
  margin: 20px 0;
  padding-top: 20px;
  font-size: 14px;
}

.widget {
  /* Make sure select elements fit in widgets. */
  overflow: auto;
}

.widget select {
  max-width: 100%;
}

/* Opening hours widget */
#text-6 span {
  display: inline-block;
  width: 120px;
}

/* Google map */
#text-2 {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

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

/*--------------------------------------------------------------
11.0 Content
--------------------------------------------------------------*/
html, body {
  height: 100%;
}

body {
  border-top: 0;
}

.inner {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 30px;
  margin: 0 auto;
}

@media screen and (min-width: 940px) {
  .inner {
    padding: 0;
  }
}

.contact-box {
  color: #FFF;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 300;
}

.contact-box a {
  color: #fff;
  text-decoration: none;
}

.contact-box a:hover {
  color: #F44D4D;
}

.site-header {
  position: relative;
  z-index: 200;
}

.site-header .social-icons {
  float: right;
  text-align: right;
  min-height: 46px;
}

.site-header .social-icons a {
  display: inline-block;
  margin: 15px 0 0;
  text-decoration: none;
}

.site-header .contact-box {
  clear: right;
  text-align: center;
  font-size: 20px;
  font-size: 2rem;
  color: #F44D4D;
}

.site-header .contact-box strong {
  color: #fff;
}

@media screen and (min-width: 600px) {
  .site-header .contact-box {
    float: right;
    margin-top: 2px;
    margin-left: 20px;
  }
}

body:not(.home) .site-header {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 20px;
}

body:not(.home) .site-header:before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
}

.logo {
  display: block;
  margin: 0 0 20px;
  clear: right;
}

@media screen and (min-width: 600px) {
  .logo {
    margin-top: 20px;
    float: left;
    clear: none;
  }
}

.logo img {
  width: 255px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 20px 0;
}

@media screen and (min-width: 600px) {
  .logo img {
    padding: 0;
  }
}

.site-title {
  clear: both;
  font-family: "Lato", Arial, sans-serif;
  font-size: 26px;
  line-height: 1.4;
  color: #333;
  text-transform: uppercase;
  text-shadow: 3px 3px #000;
  letter-spacing: 0.04em;
  text-align: center;
}

@media screen and (min-width: 600px) {
  .site-title {
    clear: none;
    float: left;
    max-width: 500px;
    margin: 48px 0 0 30px;
    text-align: left;
    font-size: 38px;
  }
}

.site-footer {
  position: relative;
  padding: 20px 0;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 300;
  color: #fff;
  background: #333;
}

@media screen and (min-width: 768px) {
  .site-footer .site-info,
  .site-footer .contact-box {
    display: inline-block;
    vertical-align: top;
    width: 33%;
  }
}

.site-footer .contact-box {
  margin-bottom: 1em;
}

/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.site-content {
  position: relative;
  z-index: 100;
  background: #fff;
}

#primary {
  position: relative;
  z-index: 100;
  min-height: 200px;
}

.page-header {
  padding: 40px 0 0;
}

.sticky {
  display: block;
}

.hentry {
  margin: 0;
}

.byline,
.updated:not(.published) {
  display: none;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.entry-content {
  margin: 0;
  padding: 40px 0 30px;
}

.two-column {
  column-count: 3;
  column-gap: 30px;
}

.child-pages {
  content: "";
  display: table;
}

.child-page {
  text-align: center;
  margin-bottom: 30px;
}

@media screen and (min-width: 600px) {
  .child-page {
    float: left;
    width: 30%;
    margin: 0 1.5% 30px;
  }
}

.child-page:nth-child(3n+1) {
  clear: both;
}

.child-page a.child-img {
  display: inline-block;
  position: relative;
}

.child-page a.child-img:hover img {
  opacity: 0.5;
}

.child-page a.child-img::before {
  position: absolute;
  display: inline-block;
  width: 100%;
  height: 100%;
  content: '';
  left: 0;
  background: #F44D4D;
  border-radius: 50%;
}

.child-page a.child-img img {
  position: relative;
  border-radius: 50%;
  display: block;
  margin: 0;
  transition: all 0.3s;
}

.child-page p {
  margin: 0.5em 0;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
12.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.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;
}

/*--------------------------------------------------------------
13.0 Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

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

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
  content: "";
  display: table;
  margin-bottom: 0;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
  margin: 0 0 20px;
}

.gallery-item img {
  display: block;
}

.gallery-columns-2 .gallery-item {
  max-width: calc(50% - 10px);
  margin-left: 20px;
}

.gallery-columns-2 .gallery-item:nth-child(odd) {
  margin-left: 0;
}

.gallery-columns-3 .gallery-item {
  max-width: calc(33.33% - 14px);
  margin-left: 20px;
}

.gallery-columns-3 .gallery-item:nth-child(3n+1) {
  margin-left: 0;
}

.gallery-columns-4 .gallery-item {
  max-width: calc(25% - 15px);
  margin-left: 20px;
}

.gallery-columns-4 .gallery-item:nth-child(4n+1) {
  margin-left: 0;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

.slide {
  visibility: hidden;
}

.home-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin-bottom: 10px;
}

.home-slideshow .slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
}

.home-slideshow .slide:before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), transparent);
}

.home-slideshow img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.title-slideshow {
  min-height: 300px;
}

@media screen and (min-width: 768px) {
  .title-slideshow {
    min-height: 400px;
  }
}

.title-slideshow .slide {
  width: 100%;
  text-align: center;
}

.title-slideshow .slide h2 {
  margin: 0;
  padding-top: 60px;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .title-slideshow .slide h2 {
    width: 60%;
    margin: 0 auto;
    padding-top: 80px;
    font-size: 48px;
  }
}

.title-slideshow .slide .button {
  display: inline-block;
  margin: 30px auto 0;
}

.cycle-prev, .cycle-next {
  position: absolute;
  top: 50%;
  margin-top: -20px;
  z-index: 150;
  width: 40px;
  height: 40px;
  background-size: 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.5;
}

.cycle-prev:hover, .cycle-next:hover {
  opacity: 1;
}

.cycle-prev {
  left: 0px;
  background-image: url(images/arrow-left.svg);
}

.cycle-next {
  right: 0px;
  background-image: url(images/arrow-right.svg);
}

@media screen and (min-width: 768px) {
  .cycle-prev, .cycle-next {
    margin-top: -45px;
    width: 60px;
    height: 60px;
  }
}

.banner-img {
  margin-bottom: 10px;
}

.gallery-img {
  display: block;
  float: left;
  width: 25%;
  height: auto;
  padding: 2px;
}

.gallery-img img {
  display: block;
  width: 100%;
  height: auto;
}

#fancybox-img {
  max-width: 500px;
}

/*# sourceMappingURL=style.css.map */