/* normalize.css v3.0.0 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

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

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

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

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

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

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

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

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

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

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

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

/**
 * Address styling not present in IE 8/9.
 */

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

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

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

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

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

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

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

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

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

/**
 * Re-set default cursor for disabled elements.
 */

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

/**
 * Remove inner padding and border in Firefox 4+.
 */

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

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

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

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

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

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

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

/**
 * Define consistent border, margin, and padding.
 */

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

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

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

td,
th {
  padding: 0;
}

/* Animal3 application styles */


/* Message Boxes */

.message {
    margin: 10px 0px 10px 0px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    -moz-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.message.debug {
    background: #EFEFEF;
    color: #333;
}

.message.info {
    background: #D9EDF7;
    border: 1px solid #BCE8F1;
    color: #3A87AD;
}

.message.success {
    background: #DFF0D8;
    border: 1px solid #D6E9C6;
    color: #468847;
}

.message.warning {
    background: #F7EEC0;
    border: 1px solid #FBEED5;
    color: #B5873D;
}

.message.error {
    background: #F2DEDE;
    border: 1px solid #EED3D7;
    color: #B94A48;
}

.todo {
    background: #faeda2;
    border: 1px dashed red;
    padding: 10px;
    border-radius: 8px;
    color: #b91701;
}

@font-face {
  font-family: "Icons";
  src: url("common/fonts/rj-physio.8e0dbbc96eb4.eot");
  src: url("common/fonts/rj-physio.8e0dbbc96eb4.eot?#iefix") format("embedded-opentype"), url("common/fonts/rj-physio.95f3ca763807.woff") format("woff"), url("common/fonts/rj-physio.098d0c0cd9e5.ttf") format("truetype"), url("common/fonts/rj-physio.905b128c6d7d.svg#Icons") format("svg");
  font-style: normal;
  font-weight: normal; }
.icon {
  font-family: 'Icons'; }

html {
  background: none; }

body {
  color: #333;
  font: normal 300 16px/165% "Lato", "Arial", Helvetica, sans-serif ; }

a {
  color: #083d87;
  text-decoration: none;
  outline: none; }
  a:hover {
    text-decoration: underline; }

hr {
  border-top: 1px solid #ddd;
  border-right: 0px;
  border-bottom: 0px;
  border-left: 0px;
  margin: 25px 0; }

h1 {
  font: italic 600 32px/135% "PT Sans", "Open Sans", "Arial", Helvetica, sans-serif ; }

h2 {
  font: normal 400 22px/135% "PT Sans", "Open Sans", "Arial", Helvetica, sans-serif ;
  margin: 30px 0px; }

h3 {
  font: normal 600 18px/135% "PT Sans", "Open Sans", "Arial", Helvetica, sans-serif ; }

h4 {
  font: normal 600 18px/165% "PT Sans", "Open Sans", "Arial", Helvetica, sans-serif ; }

h5 {
  font: normal 400 16px/165% "PT Sans", "Open Sans", "Arial", Helvetica, sans-serif ; }

h6 {
  font: normal 400 14px/165% "PT Sans", "Open Sans", "Arial", Helvetica, sans-serif ; }

.wrap {
  width: auto;
  max-width: 1140px;
  margin: 0 auto; }

.group {
  zoom: 1; }
  .group:before, .group:after {
    content: "";
    display: table; }
  .group:after {
    clear: both; }

section#sidebar {
  border-top: 15px solid #083e88;
  background: #edf5ff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 100%;
  height: 100vh;
  width: 315px;
  padding: 1% 0 0 0;
  text-align: center; }

header a#logo {
  display: block;
  margin-top: 25px;
  padding: 0 20px; }
  header a#logo img {
    display: block;
    width: 100%;
    height: auto; }

nav#main-nav {
  margin-top: 25px; }
  nav#main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0; }
    nav#main-nav ul ul {
      position: absolute;
      opacity: 0;
      visibility: hidden;
      background: #eee;
      -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
      -moz-transition: opacity 0.3s ease, visibility 0.3s ease;
      -o-transition: opacity 0.3s ease, visibility 0.3s ease;
      transition: opacity 0.3s ease, visibility 0.3s ease; }
      nav#main-nav ul ul li {
        float: none;
        margin: 10px 0; }
  nav#main-nav li {
    margin: 0 0 1px 0; }
    nav#main-nav li:first-child {
      margin-left: 0; }
    nav#main-nav li a {
      position: relative;
      display: block;
      text-decoration: none;
      padding: 13px 0 13px 0;
      color: #083d87;
      font-family: "Lato", "Arial", Helvetica, sans-serif;
      font-weight: 300;
      -webkit-transition: background 0.3s ease, color 0.3s ease;
      -moz-transition: background 0.3s ease, color 0.3s ease;
      -o-transition: background 0.3s ease, color 0.3s ease;
      transition: background 0.3s ease, color 0.3s ease; }
      nav#main-nav li a span {
        display: inline-block;
        zoom: 1;
        *display: inline; }
        nav#main-nav li a span.icon {
          width: 40px;
          font-size: 26px;
          color: #819ec5;
          -webkit-transition: color 0.3s ease;
          -moz-transition: color 0.3s ease;
          -o-transition: color 0.3s ease;
          transition: color 0.3s ease; }
        nav#main-nav li a span + span {
          position: relative;
          top: -6px; }
      nav#main-nav li a:after {
        content: "";
        display: block;
        position: absolute;
        top: 15px;
        right: -20px;
        border-width: 10px;
        border-style: solid;
        border-color: transparent;
        -webkit-transition: border-color 0.3s ease;
        -moz-transition: border-color 0.3s ease;
        -o-transition: border-color 0.3s ease;
        transition: border-color 0.3s ease; }
      nav#main-nav li a:hover, nav#main-nav li a:focus, nav#main-nav li a.selected {
        color: #fff;
        background: #FF7D2C; }
        nav#main-nav li a:hover:after, nav#main-nav li a:focus:after, nav#main-nav li a.selected:after {
          border-color: transparent transparent transparent #FF7D2C; }
        nav#main-nav li a:hover span.icon, nav#main-nav li a:focus span.icon, nav#main-nav li a.selected span.icon {
          color: #fff; }
    nav#main-nav li:hover ul,
    nav#main-nav li > ul.mobile-tap {
      opacity: 1;
      visibility: visible; }

div.contact {
  position: absolute;
  bottom: 55px;
  left: 0;
  width: 100%;
  margin-top: 85px; }
  div.contact h1 {
    font-size: 26px;
    margin: 0 0 10px 0;
    font-style: normal; }
  div.contact h4 {
    margin-top: 10px;
    margin-bottom: 0;
    color: #083d87; }
  div.contact .social {
    display: inline-block;
    zoom: 1;
    *display: inline;
    margin-right: 5px;
    margin-bottom: 0; }
    div.contact .social img {
      display: block;
      width: 36px;
      height: auto;
      border-radius: 3px; }

#content {
  border-top: 15px solid #839ec3;
  margin: 0 auto;
  padding: 2% 1% 1% 345px;
  width: auto;
  min-height: 100vh; }
  #content .intro {
    margin-bottom: 50px;
    background: #f5f8fc;
    padding-right: 1%; }
  #content .homepage iframe {
    width: 100%; }
  #content .homepage hr {
    margin: 0 0 3.5% 0; }
  #content .homepage .threecol .button {
    margin-top: 20px; }
  #content article.contact iframe {
    width: 100%; }
  #content article.cms-page img {
    max-width: 100%; }
  #content article h1, #content .page h1 {
    margin-top: 30px; }
  #content article.narrow, #content .page.narrow {
    float: left;
    width: 70%;
    margin-right: 5%; }

article.cms-page iframe {
  max-width: 100%; }
  @media only screen and (max-width: 1024px) {
    article.cms-page iframe {
      height: 300px; } }
  @media only screen and (max-width: 640px) {
    article.cms-page iframe {
      height: 320px; } }
  @media only screen and (max-width: 480px) {
    article.cms-page iframe {
      height: 240px; } }
  @media only screen and (max-width: 360px) {
    article.cms-page iframe {
      height: 185px; } }

div.featured-person h3 {
  margin-top: 0; }
div.featured-person img {
  float: right;
  display: block;
  margin-left: 20px;
  max-width: 40%;
  height: auto; }
@media only screen and (max-width: 1280px) {
  div.featured-person img {
    float: none;
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 20px; } }

aside {
  float: left;
  width: 25%;
  padding-top: 10px; }
  aside h1 {
    margin-top: 20px; }
    aside h1 a {
      color: #333; }
  aside ul.latest-entries li {
    float: none;
    width: auto; }
  aside ul {
    list-style: none;
    padding: 0;
    margin: 0; }
    aside ul li {
      margin-bottom: 5px; }

footer {
  margin-bottom: 25px;
  padding-left: 345px;
  clear: both; }
  footer p {
    color: #819ec5;
    margin: 0; }

iframe {
  max-width: 100%; }

.carousel-container {
  float: left;
  width: 65.5%;
  margin-right: 2%; }

.appointments {
  float: left;
  width: 32%;
  padding-top: 1%; }

.fourcol {
  float: left;
  box-sizing: border-box;
  width: 23.5%;
  margin-right: 2%;
  margin-bottom: 2%;
  padding: 0%; }
  .fourcol:nth-of-type(4n) {
    margin-right: 0%; }

.threecol {
  float: left;
  box-sizing: border-box;
  width: 31.33333%;
  margin-right: 3%;
  margin-bottom: 3%;
  padding: 0%; }
  .threecol:nth-of-type(3n) {
    margin-right: 0%; }
  .threecol h1 {
    margin-top: 0; }

.twocol {
  float: left;
  box-sizing: border-box;
  width: 47.5%;
  margin-right: 5%;
  margin-bottom: 5%;
  padding: 0%; }
  .twocol:nth-of-type(2n) {
    margin-right: 0%; }
  @media only screen and (max-width: 360px) {
    .twocol {
      float: left;
      box-sizing: border-box;
      width: 50%;
      margin-right: 0%;
      margin-bottom: 0%;
      padding: 0%; }
      .twocol:nth-of-type(2n) {
        margin-right: 0%; } }

.video {
  float: left;
  width: 65.66666%;
  margin-right: 3%; }
  .video iframe {
    width: 100%; }

.facebook-feed {
  float: left;
  width: 31.33333%; }

a.nav-expand {
  display: none;
  text-align: center;
  margin-bottom: 0;
  color: #333; }
  a.nav-expand span {
    position: relative;
    margin: 4px 10px;
    display: inline-block;
    border-radius: 1px;
    height: 3px;
    width: 18px;
    background: #829EC3;
    -webkit-transition: background 0.15s ease;
    -moz-transition: background 0.15s ease;
    -o-transition: background 0.15s ease;
    transition: background 0.15s ease; }
    a.nav-expand span:before, a.nav-expand span:after {
      position: absolute;
      display: block;
      content: "";
      border-radius: 1px;
      width: 100%;
      height: 3px;
      background: #829EC3;
      -webkit-transition: -webkit-transform 0.3s ease;
      -moz-transition: -moz-transform 0.3s ease;
      -o-transition: -o-transform 0.3s ease;
      transition: transform 0.3s ease; }
    a.nav-expand span:before {
      top: -7px; }
    a.nav-expand span:after {
      bottom: -7px;
      background: #829EC3; }
  a.nav-expand:hover {
    text-decoration: none; }
  a.nav-expand.selected {
    text-decoration: none; }
    a.nav-expand.selected span {
      background: none; }
      a.nav-expand.selected span:before {
        border-bottom: 0;
        -webkit-transform: rotate(45deg) translateY(7px) translateX(3px);
        -moz-transform: rotate(45deg) translateY(7px) translateX(3px);
        -o-transform: rotate(45deg) translateY(7px) translateX(3px);
        transform: rotate(45deg) translateY(7px) translateX(3px); }
      a.nav-expand.selected span:after {
        border-top: 0;
        -webkit-transform: rotate(-45deg) translateY(-7px) translateX(3px);
        -moz-transform: rotate(-45deg) translateY(-7px) translateX(3px);
        -o-transform: rotate(-45deg) translateY(-7px) translateX(3px);
        transform: rotate(-45deg) translateY(-7px) translateX(3px); }

/* a generic button package */
.button {
  display: inline-block;
  background: #083d87;
  padding: 10px 15px;
  margin: 5px 0px;
  border: none;
  outline: none;
  border-radius: 3px;
  color: #fff;
  font-family: "PT Sans", "Open Sans", "Arial", Helvetica, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 100%;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  /* small */
  /* large */
  /* hover/focus/active states */
  /* selected state */ }
  .button .icon {
    margin-left: 10px; }
  .button.small {
    font-size: 12px; }
  .button.large {
    font-size: 22px;
    padding: 10px 15px; }
  .button:hover, .button:focus {
    text-decoration: none;
    opacity: 0.8;
    color: #fff; }
  .button:active {
    background: #49A3ED;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    -o-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); }
  .button.selected {
    -webkit-text-shadow: 1px 1px 3px #888888;
    -moz-text-shadow: 1px 1px 3px #888888;
    -o-text-shadow: 1px 1px 3px #888888;
    text-shadow: 1px 1px 3px #888888;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    -o-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    /* selected hover/focus/active states */ }
    .button.selected:hover, .button.selected:focus {
      opacity: 0.8; }
    .button.selected:active {
      -webkit-text-shadow: 1px 1px 3px #444444;
      -moz-text-shadow: 1px 1px 3px #444444;
      -o-text-shadow: 1px 1px 3px #444444;
      text-shadow: 1px 1px 3px #444444; }

/* admin buttons/nav */
nav.admin {
  clear: both;
  margin: 35px 0; }

.admin .button,
.button.admin {
  background: #333;
  color: #fff;
  font-family: "Roboto", "Open Sans", "Arial", Helvetica, sans-serif; }

/********************************************************
 * Place buttons within a button-group for button panels.
 * Generally placed in a ul or ol inside a nav element.
 ********************************************************/
.button-group {
  list-style: none outside none;
  padding-left: 0;
  margin: 0;
  /* remove border-radius on all buttons */
  /* apply border-radius to the first button */
  /* apply border-radius to last button */ }
  .button-group li,
  .button-group .button {
    display: inline-block; }
  .button-group > .button,
  .button-group li > .button {
    border-radius: 0;
    margin-left: -4px; }
  .button-group > li:first-child > .button,
  .button-group > .button:first-child {
    margin-left: 0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px; }
  .button-group > li:last-child > .button,
  .button-group > .button:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px; }

@media only screen and (max-height: 800px) and (min-aspect-ratio: 1280 / 768) {
  header a#logo {
    margin-top: 0; }
    header a#logo img {
      margin: 0 auto;
      width: 90%;
      height: auto; }

  nav#main-nav li a {
    padding-top: 5px;
    padding-bottom: 5px; }
    nav#main-nav li a:after {
      top: 8px; }

  div.contact {
    bottom: 40px; }
    div.contact h1 {
      font-size: 22px; }
    div.contact h4 {
      margin-top: 0; }
    div.contact a.button.large {
      font-size: 18px; }
    div.contact a.social img {
      width: 24px;
      height: auto; } }
@media only screen and (max-width: 1400px) {
  h1 {
    font-size: 24px; }

  h2 {
    font-size: 18px; } }
@media only screen and (max-width: 1024px) {
  body, p {
    font-size: 14px; }

  h2 {
    font-size: 18px; }

  section#sidebar {
    width: 24.75%; }
    section#sidebar div.contact {
      margin-top: 35px;
      position: static; }
      section#sidebar div.contact a.button.large {
        font-size: 16px; }
      section#sidebar div.contact h1 {
        font-size: 20px; }
      section#sidebar div.contact .social img {
        width: 24px; }

  a.button.large {
    font-size: 16px; }

  section#content {
    width: 71.25%; }
    section#content .intro {
      background: none;
      margin-bottom: 50px; }

  section#content,
  footer {
    padding-left: 26.75%; }

  nav#main-nav li a {
    padding-top: 8px;
    padding-bottom: 8px; }
    nav#main-nav li a:after {
      top: 10px; }

  div.carousel-container,
  div.appointments {
    width: auto;
    float: none;
    margin-right: 0; } }
@media only screen and (max-width: 800px) {
  header a#logo {
    margin-top: 0;
    margin-bottom: 10px;
    padding-top: 25px; }
    header a#logo img {
      max-width: 325px;
      margin: 0 auto; }

  nav#main-nav {
    margin-top: 0;
    text-align: center; }
    nav#main-nav a.nav-expand {
      display: block; }
    nav#main-nav ul {
      margin-top: 15px; }
    nav#main-nav li a {
      padding-left: 0;
      padding-right: 0; }
      nav#main-nav li a span.icon {
        width: auto;
        margin-right: 10px; }

  section#sidebar {
    position: static;
    width: auto;
    height: auto !important;
    padding-bottom: 10px; }
    section#sidebar div.contact {
      margin-top: 10px;
      position: static; }
      section#sidebar div.contact a.button.large {
        font-size: 16px; }
      section#sidebar div.contact a.social {
        display: none; }

  section#content, footer {
    padding: 20px;
    width: auto; } }
@media only screen and (max-width: 640px) {
  h1 {
    font-size: 20px; }

  section#sidebar {
    margin-bottom: 0; }

  .threecol {
    width: auto;
    float: none;
    margin: 0 0 50px 0; }

  .twocol {
    width: auto;
    float: none;
    margin: 0 0 25px 0; }

  form .threecol,
  form .twocol {
    margin-bottom: 20px; }

  aside {
    float: none;
    width: auto;
    clear: both; }
    aside ul.latest-entries li {
      float: left;
      box-sizing: border-box;
      width: 32%;
      margin-right: 2%;
      margin-bottom: 2%;
      padding: 0%; }
      aside ul.latest-entries li:nth-of-type(3n) {
        margin-right: 0%; }

  section#content .narrow,
  section#content .narrow,
  section#content .page.narrow {
    float: none;
    width: auto; }

  article.cms-page img {
    float: none !important;
    margin: 10px auto !important; } }
@media only screen and (max-width: 480px) {
  aside ul.latest-entries li {
    float: none;
    box-sizing: border-box;
    width: 100%;
    margin-right: 0%;
    margin-bottom: 0%;
    padding: 0%; }
    aside ul.latest-entries li:nth-of-type(1n) {
      margin-right: 0%; } }
@media only screen and (max-width: 360px) {
  div.carousel-container {
    display: none; } }
@media only screen and (max-width: 320px) {
  html {
    -webkit-text-size-adjust: none; } }
