/*/*
Theme Name: sa_theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: sa_theme
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.

sa_theme is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

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:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
    ## Links
    ## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
    ## Asides
    ## Comments
# Infinite scroll
# Media
    ## Captions
    ## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
* { margin: 0; padding: 0; }
html {
    /*font-family: sans-serif;*/
    font-family: 'montserrathairline', 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;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #404040;
    /*font-family: 'montserrathairline', sans-serif;*/
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

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: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    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: 15px;
    font-size: 0.9375rem;
}

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

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

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# 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: #fff; /* Fallback for when there is no custom background color defined. */
}

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

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

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

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

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

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

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button {
    font-size: 12px;
    background-color: Transparent;
    background-repeat:no-repeat;
    border: 1px solid;
    cursor:pointer;
    overflow: hidden;
    outline:none;
}

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

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="url"],
input[type="password"],
input[type="search"] {
    padding: 3px;
}*/

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

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: royalblue;
}

/*a:visited {
    color: purple;
}*/

/*a:hover,
a:focus,
a:active {
    color: midnightblue;
}*/

/*a:focus {
    outline: thin dotted;
}*/

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.main-navigation ul {
    display: block;
    list-style: none;
    margin: 0;
    padding-left: 0;
    z-index: 999;
    position: relative;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 1.5em;
    left: -999em;
    z-index: 99999;
}

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

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
    .main-navigation ul {
        display: block;
    }
}

.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%;
}

/*--------------------------------------------------------------
# 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: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-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. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

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

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

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

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

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

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

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

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

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

.bypostauthor {
    display: block;
}

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

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

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

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

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.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;
}

/*--------------------------------------------------------------
# FONTS --------------------------------------------------------
--------------------------------------------------------------*/

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on October 23, 2015 */



@font-face {
    font-family: 'montserratblack';
    src: url('fonts/montserrat-black-webfont.eot');
    src: url('fonts/montserrat-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-black-webfont.woff2') format('woff2'),
         url('fonts/montserrat-black-webfont.woff') format('woff'),
         url('fonts/montserrat-black-webfont.ttf') format('truetype'),
         url('fonts/montserrat-black-webfont.svg#montserratblack') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'montserratbold';
    src: url('fonts/montserrat-bold-webfont.eot');
    src: url('fonts/montserrat-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-bold-webfont.woff2') format('woff2'),
         url('fonts/montserrat-bold-webfont.woff') format('woff'),
         url('fonts/montserrat-bold-webfont.ttf') format('truetype'),
         url('fonts/montserrat-bold-webfont.svg#montserratbold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'montserrathairline';
    src: url('fonts/montserrat-hairline-webfont.eot');
    src: url('fonts/montserrat-hairline-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-hairline-webfont.woff2') format('woff2'),
         url('fonts/montserrat-hairline-webfont.woff') format('woff'),
         url('fonts/montserrat-hairline-webfont.ttf') format('truetype'),
         url('fonts/montserrat-hairline-webfont.svg#montserrathairline') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'montserratlight';
    src: url('fonts/montserrat-light-webfont.eot');
    src: url('fonts/montserrat-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-light-webfont.woff2') format('woff2'),
         url('fonts/montserrat-light-webfont.woff') format('woff'),
         url('fonts/montserrat-light-webfont.ttf') format('truetype'),
         url('fonts/montserrat-light-webfont.svg#montserratlight') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'montserratregular';
    src: url('fonts/montserrat-regular-webfont.eot');
    src: url('fonts/montserrat-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-regular-webfont.woff2') format('woff2'),
         url('fonts/montserrat-regular-webfont.woff') format('woff'),
         url('fonts/montserrat-regular-webfont.ttf') format('truetype'),
         url('fonts/montserrat-regular-webfont.svg#montserratregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'montserratultra_light';
    src: url('fonts/montserrat-ultralight-webfont.eot');
    src: url('fonts/montserrat-ultralight-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-ultralight-webfont.woff2') format('woff2'),
         url('fonts/montserrat-ultralight-webfont.woff') format('woff'),
         url('fonts/montserrat-ultralight-webfont.ttf') format('truetype'),
         url('fonts/montserrat-ultralight-webfont.svg#montserratultra_light') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'montserratextra_bold';
    src: url('fonts/montserrat-extrabold-webfont.eot');
    src: url('fonts/montserrat-extrabold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-extrabold-webfont.woff2') format('woff2'),
         url('fonts/montserrat-extrabold-webfont.woff') format('woff'),
         url('fonts/montserrat-extrabold-webfont.ttf') format('truetype'),
         url('fonts/montserrat-extrabold-webfont.svg#montserratextra_bold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'montserratsemi_bold';
    src: url('fonts/montserrat-semibold-webfont.eot');
    src: url('fonts/montserrat-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-semibold-webfont.woff2') format('woff2'),
         url('fonts/montserrat-semibold-webfont.woff') format('woff'),
         url('fonts/montserrat-semibold-webfont.ttf') format('truetype'),
         url('fonts/montserrat-semibold-webfont.svg#montserratsemi_bold') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* #### Generated By: http://www.cufonfonts.com #### */

@font-face {
font-family: 'Avenir Next LT Pro Condensed';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Condensed'), url('fonts/AvenirNextLTPro-Cn.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Demi';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Demi'), url('fonts/AvenirNextLTPro-Demi.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Demi Condensed';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Demi Condensed'), url('fonts/AvenirNextLTPro-DemiCn.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Heavy Condensed';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Heavy Condensed'), url('fonts/AvenirNextLTPro-HeavyCn.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Medium Condensed';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Medium Condensed'), url('fonts/AvenirNextLTPro-MediumCn.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Regular';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Regular'), url('fonts/AvenirNextLTPro-Regular.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Ultra Light Condensed';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Ultra Light Condensed'), url('fonts/AvenirNextLTPro-UltLtCn.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Bold';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Bold'), url('fonts/AvenirNextLTPro-Bold.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Bold Condensed';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Bold Condensed'), url('fonts/AvenirNextLTPro-BoldCn.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Bold Condensed Italic';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Bold Condensed Italic'), url('fonts/AvenirNextLTPro-BoldCnIt.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Condensed Italic';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Condensed Italic'), url('fonts/AvenirNextLTPro-CnIt.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Demi Condensed Italic';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Demi Condensed Italic'), url('fonts/AvenirNextLTPro-DemiCnIt.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Demi Italic';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Demi Italic'), url('fonts/AvenirNextLTPro-DemiIt.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Heavy Condensed Italic';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Heavy Condensed Italic'), url('fonts/AvenirNextLTPro-HeavyCnIt.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Italic';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Italic'), url('fonts/AvenirNextLTPro-It.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Medium Condensed Italic';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Medium Condensed Italic'), url('fonts/AvenirNextLTPro-MediumCnIt.woff') format('woff');
}


@font-face {
font-family: 'Avenir Next LT Pro Ultra Light Condensed Italic';
font-style: normal;
font-weight: normal;
src: local('Avenir Next LT Pro Ultra Light Condensed Italic'), url('fonts/AvenirNextLTPro-UltLtCnIt.woff') format('woff');
}

/*--------------------------------------------------------------
#---------------------------------------------------------------
# MOBILE -------------------------------------------------------
# first styles -------------------------------------------------
# --------------------------------------------------------------
--------------------------------------------------------------*/

/*
 * Common styles
 * Overrides
 */

/* Resets */
html, body, .container { height: 100%; }
body { background-color: #2a494b; }
p, a, label { font-size: 16px; }
p { font-family: 'Open Sans', sans-serif; }
a, h1, h2, h3, h4, h5, h6, { font-family: 'montserrathairline', sans-serif; }
p, a { font-weight: lighter; letter-spacing: 2px; }
p, h1, h2, h3, h4, h5, h6 { margin: 0; }
ul { list-style-type: none; margin: 0; padding: 0;}
a { text-decoration: none; }
.small-print { font-size: 12px; text-transform: lowercase; }

/*--------------------------------------------------------------
# Helpers ------------------------------------------------------
# -------------------------------------------------------------*/
.container { max-width: 1400px; margin: 0 auto; padding: 0px; position: relative; }
.container__700 { max-width: 95%; }
.container__article, .intro-head { max-width: 95%; margin: 0 auto;}
@media screen and (min-width: 710px) {
    .container__700 { max-width: 700px; }
}
.container--full { padding: 0; }
.bg-white { background-color: #ffffff; }
/*.bgLight { background-color: #41797b; color: #ffffff; padding: 50px 0 10px 0; margin-bottom: 30px; text-align: center; }*/
.bgDark { background-color: #2a494b; color: #ffffff; }
.text-center { text-align: center; }
.border-bottom { border-bottom: 1px solid rgba(255,255,255,0.2); margin-bottom: 20px; }

/*--------------------------------------------------------------
# Forms --------------------------------------------------------
# -------------------------------------------------------------*/
/*form { padding: 20px 0; }*/
.step { display: none; }
.hide-step { display: none; }
.show-step { display: block; }
.btn-back, .btn-forward { width: 48%; }
.btn-back { float: left; margin-right: 4%; }
.btn-forward { float: right; }
.btn-hide { display: none; }
label, input {
    font-family: 'Open Sans', sans-serif;
    /* display: block; */
    font-size: 16px;
    /* width: 100%; */
    font-weight: 200;
}
select {
    -webkit-appearance:none;

}
select {
    background: #ffffff url(images/select-down.jpg) no-repeat;
    background-position: right;
    background-size: 18px;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { border-radius: 0; border-color: lightgray; }
textarea { resize: vertical; }
.form-group { margin-bottom: 20px; }
.form__modal { padding: 40px 20px; padding-bottom: 0;}
.form__modal input { 
    display: block;
    width: 100%;
}

/*--------------------------------------------------------------
# Message ------------------------------------------------------
# -------------------------------------------------------------*/
.message p { font-size: 12px; }
.message_validation {
    /*padding: 20px 20px; */
    /*padding-bottom: 20px;*/
    position: absolute;
    /*bottom: 0;*/
    left: 0;
    background-color: red;
    z-index: -10;
}
.required-input {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #ffffff;
}

.required-input--radio {
    background-color: none;
    border: 1px solid;
    border-color: #2A494B;
    padding: 5px 10px;
}
/* Validation alerts */
.validation-warning {
    color: red;
    font-size: 31px;
    font-weight: bold;
    display: inline;
    line-height: 0px;
    padding: 11px 0px;
    padding-right: 23px;
    position: absolute;
    right: 0;
}

.validation-warning--radio {
    margin-top: -35px;
    color: #2A494B;
    padding-right: 0px;
    left: 0;
    right: initial;
}


.validation-warning:before { content: "×"; }
.validation-warning--radio:before { content: none; }
.validation-warning--radio p:before {
    content: "×";
    color: red;
    font-size: 31px;
    margin-top: 10px;
}

/*--------------------------------------------------------------
# Btns ---------------------------------------------------------
# -------------------------------------------------------------*/
.btn { float: left; position: relative; cursor: pointer; }
.btn-link {
    cursor: pointer;
    border: 3px solid #2a494b;
    display: block;
    cursor: pointer;
    font-family: 'montserratbold', sans-serif;
    font-size: 12px;
    height: 100%;
    padding: 10px 0;
    text-transform: uppercase;
    z-index: 1000;
    transition: background-color 0.3s ease;
}


.btn-gf input { color: #fff; }
.btn-gf input, .btn-submit {
    text-align: center;
    border: 3px solid;
    border-color: rgba(42,72,75,1);
    background-color: rgba(42,72,75,1);
    /*display: block;*/
    cursor: pointer;
    font-family: 'montserratbold', sans-serif;
    font-size: 10px;
    height: 100%;
    padding: 10px;
    text-transform: uppercase;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.btn-submit:hover {
    background-color: rgba(42,72,75,0.8);
    border-color: rgba(42,72,75,0.0);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* btn states */
.btn-link,
.btn-link:visited { color: #2a494b; }
.btn-link:hover { cursor: pointer; background-color: rgba(42,72,75,0.2); }
.btn-submit, .btn-submit:visited, .btn-submit:hover { color: #ffffff; }

.btn-link__white,
.btn-link__white:visited {
    color: #ffffff;
}

.btn-link__white { border-color: #ffffff; transition: background-color 0.3s ease, color 0.3s ease; }
.btn-link__white:hover { background-color: #ffffff; color: #41797b; }

/*--------------------------------------------------------------
# Forms --------------------------------------------------------
# -------------------------------------------------------------*/
.form-group-radio input { width: auto; }
.forms { padding-top: 50px; }
.doctor-selection {
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.form-group-inner-center {
    width: 300px;
    margin: 0 auto;
}
.form-heading {
    font-family: 'montserratlight', sans-serif;
    font-weight: lighter;
    text-transform: uppercase;
    margin-bottom: 10px;
}
form select {
    border: none;
    width: 100%;
}

.selectBox {
    border: none;
    width: 100%;
}
.ginput_container_select,
.select-container {
    border: 1px solid #cccccc
}
input,
textarea,
.ginput_container_select,
.select-container {
    padding: 10px 10px;
}

.ginput_container_select select {
    width: 100% !important;
}

.form-inner {
    padding-top: 40px;
}

.form-inner label, .form-inner p {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}
.form-inner .form-group {
    margin-bottom: 40px;
}
.form-inner-border-top > .form-group:nth-of-type(1) {
    border-top: 1px solid #cccccc;
    padding-top: 20px;
}
.form-group-radio label { font-weight: lighter; text-transform: lowercase; }
.form-group-radio input { margin: 5px 10px; }
.form-group-inner-half, .form-group-inner-three { margin: 10px 0; }
.form-group-inner-half, /*.form-group-inner-half label, .form-group-inner-half input,*/
.form-group-inner, .form-group-inner label, .form-group-inner input  {
    float: left;
    width: auto;
}

/*.form-group-inner-half label, */
.form-group-col2 .form-group-inner-half {
    text-align: left;
    width: 48%;
    margin-right: 4%;
    float: left;
}
.form-group-col2 .form-group-inner-half:last-of-type { margin-right: 0; }


.form-group-inner-half input[type=text] {}

.radio-group-label {
    margin-bottom: 15px;
}
.form-group-inner-half { text-align: center; }
/* .form-group-inner-half label, .form-group-inner-half input {
    border: 1px solid red;
 }*/
 .form-group-inner-half input, .form-group-inner-three input {
    display: inline-block;
    /*text-align: center;*/
 }



.sub-blood-sugar label, .sub-blood-sugar input  {
    /*float: left;*/
    width: auto;
}

.form-group-inner-three { width: 33%; float: left; }
.form-group-inner-half { width: 50%; }



/* Custom forms - pre op*/
.questionaire-header { margin-bottom: 20px; }
.questionaire-header > h2 { margin-bottom: 0; }
.questionaire-obstetric-pre {
    display: none;
}

.questionaire-other {
    display: none;
}

.sub {
    display: none;
}


.physical_rest-comments, .anaesthetics-comments, .allergies-comments, .medications-comments, .contact-sub {
    display: none;
}
/*:checked ~ .sub {
    display: block;
    margin-left: 40px;
}*/

.reason-section-other {
    display: none;
}

/* Custom forms - other*/


/*--------------------------------------------------------------
# Call to action section ---------------------------------------
# -------------------------------------------------------------*/
.cta { padding: 50px 0; }
.cta-heading { font-family: 'montserratbold', sans-serif; color: #d1ae1e; margin-bottom: 20px; }
.cta-tagline { font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; font-style: italic; font-size: 20px; }
.cta-tagline__white{ color: #ffffff; font-weight: lighter; }
.cta-disclaimer { font-size: 12px; margin-top: 10px; font-weight: bold; }

/*--------------------------------------------------------------
# Mobile menu btn ----------------------------------------------
# -------------------------------------------------------------*/
.menu-toggle { width: 25px; height: 25px; float: right; padding: 0; margin-top: 8px; margin-right: 10px; border: none;}
.hamburger { margin-bottom: 8px; border: 1px solid #ffffff; }

/*--------------------------------------------------------------
# Header / Navigation ------------------------------------------
# -------------------------------------------------------------*/
.site-header { background-color: #41797b; padding: 0; position: relative; z-index: 1001; }
.site-branding { position: relative; max-width: 200px; float: left; }
.site-logo { position: relative; margin-top: -10px; }
.site-header-content { background-color: #41797b; padding-top: 30px; position: relative; z-index: 1000; border-bottom: 1px solid; border-color: rgba(255,255,255,0.2); }
.site-header-nav__sub {
    display: block;
    background-color: #2a494b;
    position: absolute;
    bottom: 0px;
    width: 100%;
    transition: bottom 0.3s ease;
}
.site-header-nav__main { display: none; }
.site-header-nav__sub ul li { background-color: #2a494b; }
.main-nav { background-color: #2a494b; top: -10px; }
.main-navigation {
    /*height: 0;*/
    padding: 0;
    background-color: #2a494b;
    transition: height 0.3s ease;
}

/* Menu items */
.menu > li { width: 100%; text-align: center; } /*33.3%;*/
.menu > li a {
    padding: 18px 0;
    border-bottom: 3px solid;
    border-color: rgba(255,255,255,0);
    color: #ffffff;
    font-family: 'montserratlight', sans-serif;
    font-weight: lighter;
    text-transform: uppercase;
    transition: border-color 0.3s ease;
}

.menu > li a:hover { opacity: 0.4; }
.menu > li.current-menu-item a { opacity: 0.4; }

/* Menu states */
.site-header-nav__sub .menu > li a:hover { background-color: rgba(0,0,0,0.1); transition: border-color 1s ease; }
.site-header-nav__sub .menu > li.current-menu-item a { background-color: rgba(0,0,0,0.2); }
/*.menu > li.current-menu-item a { opacity: 0.4; }*/

/* Menu footer */
.menu__footer > li { width: 100%; text-align: center; margin-bottom: 10px; }

.menu__footer > li:last-child { margin-right: 0; }
.menu__footer { margin-bottom: 40px; }
.menu__footer > li a { font-size: 10px; padding: 0; margin: 0; }

/*--------------------------------------------------------------
# Intro conter home  -------------------------------------------
# -------------------------------------------------------------*/
.intro {
    background-color: #41797b;
    color: #ffffff;
    text-align: center;
    padding: 100px 0;
}

.intro-head-name {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-style: italic;
    font-weight: lighter;
    font-size: 40px;
    margin: 40px 0 20px 0;
}
.intro-head-title {
    font-family: 'montserratblack', sans-serif;
    font-size: 2rem;
    letter-spacing: 5px;
}
.intro-head-info {
    position: relative;
    font-size: 14px;
}
.intro-head-sub-title {
    margin: -20px 0 20px 0;
}
.down-arrow { margin-top: 60px; }

/* home page buttons */
.cta__more-info { width: 100%; margin: 0 auto; }
.btn__cta-home {
    width: 70%;
    float: none;
    margin: 0 auto;
    text-align: center;
}
.btn__cta-home:nth-of-type(1) { margin-bottom: 20px; }

.cta__tag { background-color: #41797b; }
.cta__tag div { margin: 0 auto; }
.cta__tag div a { padding-left: 15px; padding-right: 15px;/* float: right; */width: 70%; margin: 20px auto; margin-bottom: 0;}

/*--------------------------------------------------------------
# Profile page  ------------------------------------------------
# -------------------------------------------------------------*/
.cta__circle { color: #ffffff; background-color: #41797b; padding: 50px 0;}
.hentry { padding: 100px 0; margin-bottom: 0; }
.circle-profile {
    margin: 20px auto;
    margin-bottom: 30px;
    width: 200px;
    height: 200px;
    -webkit-border-radius: 200px;
    -moz-border-radius: 200px;
    border-radius: 200px;
    background-color: red;
    overflow: hidden;
    position: relative;
}
.profile-img {
   width: inherit;
   height: inherit;
   position: absolute;
}
.entry-content { margin: 0; }
.profile-memeber-logos { margin-top: 80px; text-align: center; }
.profile-memeber-logos img {
    width: 200px;
    margin: 20px;
}

/*--------------------------------------------------------------
# Footer -------------------------------------------------------
# -------------------------------------------------------------*/
footer {
    color: #ffffff;
    background-color: #2a494b;
    padding: 40px 0 70px 0;
}

.footer-content { text-align: center; }
.footer-logo { max-width: 150px; margin-left: -40px; }
.footer-content > p, .menu__footer > li a { opacity: 0.3 }
.footer-content > p { font-size: 10px; }
.main-navigation__footer { min-height: 80px; padding: 30px; }  /*width: auto; */
/*.main-navigation__footer #primary-menu li.current-menu-item a { background-color: #2a494b; }*/
/*.main-navigation__footer #primary-menu li a:hover { background-color: #2a494b; }*/


/*--------------------------------------------------------------
# Modal --------------------------------------------------------
# -------------------------------------------------------------*/
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 999999;
    opacity: 0;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modal__contact:target {
    opacity: 1;
    pointer-events: auto;
}

.modal > .modal-container, .modal-message {
    width: 400px;
    max-width: 90%;
    margin: 10% auto;
    margin-bottom: 0;
    /*padding: 5px 20px 13px 20px;*/
    padding: 20px 0px;
    height: auto;
    background: #ffffff;
}
.modal > .modal-container {
    position: relative;
    z-index: 1000;
}
.modal-message {
    color: #ffffff;
    background-color: red;
    position: relative;
    margin: 0 auto;
    margin-top: -58px;
    transition: margin-top 0.3s ease-in;
}

.modal-message__error {
    margin-top: 0;
}

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 0px;
    top: 0px;
    text-align: center;
    width: 22px;
    text-decoration: none;
    font-weight: bold;
}
.close:hover { background: #00d9ff; }

.menu-overlay {
    background: rgba(0,0,0,0.8);
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/*--------------------------------------------------------------
# Clinical Posts  ----------------------------------------------
# -------------------------------------------------------------*/
.clinical-posts-container .hentry {
    padding: 10px 0 20px 0 !important;
}

.hentry.category-clinical {
  padding: 20px 0;
}

.hentry.category-clinical .entry-title {
  font-weight: 600 !important;
  margin-bottom: 20px !important;
}

article img.alignleft {
  margin: 20px 20px 20px 0 !important;
}

article img.alignright {
  margin: 20px 0 20px 20px !important;
}

.flexcontainer {
    /*display: -webkit-flex;
   display: flex;
   -webkit-align-items: center;
   align-items: center;
   -webkit-justify-content: center;
   justify-content: center;
   -webkit-flex-direction: row;
   flex-direction: row;
   -webkit-flex-wrap: wrap;
   flex-wrap: wrap;
   -webkit-flex-flow: row wrap;
   flex-flow: row wrap;
   -webkit-align-content: flex-end;
   align-content: flex-end;*/
}

.clinical-posts-container {
    padding-top: 20px;
    padding-bottom: 50px;
    max-width: 90%;
    margin: 0 auto;
}

.clinical-posts-item {
    box-shadow: 2px 2px 5px rgba(42, 73, 75, 0.2);
    border: 0.5px solid rgba(42, 73, 75, 0.2);
    border-bottom: 5px solid rgb(42, 73, 75);
    margin-bottom: 10px;
}

.clinical-posts-item .entry-header {
    line-height: 0 !important;
}

.clinical-posts-item a {
    padding: 0;
    display: inline-block;
    overflow: hidden;
    line-height: 20px;
    text-decoration: none;
    font-family: 'montserratbold', sans-serif;
    text-transform: capitalize;
    font-size: 12px;
    color: #2a494b;
    padding: 10px;
    min-height: 100px;
    max-height: 100px;
    width: 100%;
}

.clinical-posts-item a:hover {
    background-color: rgba(42, 73, 75, 0.1);
}




/*--------------------------------------------------------------
#---------------------------------------------------------------
# gravity forms overides -------------------------------------------------------
# --------------------------------------------------------------
--------------------------------------------------------------*/
/*pre.language-html {
    background: none;
    padding: 0;
}

.gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"] {
    margin-bottom: 0;
}*/



/*--------------------------------------------------------------
#---------------------------------------------------------------
# 600PX --------------------------------------------------------
# SPECIAL ------------------------------------------------------
# --------------------------------------------------------------
--------------------------------------------------------------*/

@media screen and (min-width: 600px) {
    /* home page buttons */
    .cta ul {
        width: 540px;
        margin: 0 auto;
    }
    .btn__cta-home {
        float: left;
        width: 250px;
        text-align: center;
    }
    .btn__cta-home:nth-of-type(1) {
        margin-bottom: 0px;
        margin-right: 40px;
    }
    .cta__tag div a { width: 250px; }
}

/*--------------------------------------------------------------
#---------------------------------------------------------------
# TABLET PORT --------------------------------------------------
# first styles -------------------------------------------------
# --------------------------------------------------------------
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {
    .container { padding: 0 20px;}
    .intro { padding: 150px 0; }
    .intro-head { max-width: 700px; margin: 0 auto; }
    .intro-head-name {  font-style: italic; }
    .intro-head-title { font-size: 3.5rem; }
    .cta__more-info { padding: 93px 0; }
    .cta__tag div * { float: left; }
    .cta__tag div a { float: right; width: auto; margin: 0; }
    .cta-tagline { font-size: 30px; }

    .clinical-posts-container > .clinical-posts-item {
        /*padding: 5px;*/
        width: 100%;
        /*border: 0.5px solid rgba(42, 73, 75, 0.2);
        border-bottom: 5px solid rgb(42, 73, 75);*/
        /*max-width: 900px;
        margin: 0 auto;*/
    }

    /*.clinical-posts-container > .clinical-posts-item:hover {
        background-color: rgba(42, 73, 75, 0.1);
        cursor: pointer;
    }*/

    .clinical-posts-container .entry-title {
        /*min-height: 100px;
        max-height: 100px;
        overflow: hidden;
        text-overflow: ellipsis;*/
    }
}

/*--------------------------------------------------------------
#---------------------------------------------------------------
# TABLET LAND --------------------------------------------------
# first styles -------------------------------------------------
# --------------------------------------------------------------
--------------------------------------------------------------*/

@media screen and (min-width: 1024px) {
    .container { padding: 0 20px; }
    .container__full-nav { padding: 0px; }
    .site-header-content { border-bottom: 0;}
    .site-header-nav__sub { display: none; }
    .site-header-nav__main {
        display: block;
        position: relative;
        margin-top: -60px;
        z-index: 1002;
    }
    .site-header-nav__sub ul li {  background-color: transparent; }
    .site-header-nav__sub .menu > li a:hover { background-color: #41797b; opacity: 0.2; transiton: opacity 0.3s ease; }
    .site-header-nav__sub .menu > li.current-menu-item a { background-color: #41797b; opacity: 0.4; }


    .site-branding { max-width: 292px; }
    .menu > li { width: auto; margin-left: 40px; }
    .menu > li a {
        /*margin-left: 40px;*/
        cursor: pointer;
        padding: 18px 0;
        padding-bottom: 0;
    }
    .menu__footer > li { width: 20%; text-align: center; margin-left: 0;}
    .menu__footer > li a { margin-left: 0; }
    .main-navigation {
        background-color: transparent;
        clear: none;
        float: right;
        width: auto;
    }
    .menu-primary-menu-container { float: right; }
    .main-navigation__footer { float: none; }
    .main-navigation__footer > .menu-primary-menu-container { float: none; }
    .intro { padding: 150px 0; }
    .intro-head-title { font-size: 4rem; }

    .clinical-posts-container {
        padding-bottom: 50px;
        max-width: 900px;
        margin: 0 auto;
    }

    .clinical-posts-container > .clinical-posts-item {
        display: inline-block;
        float: left;
        margin: 0;
        /*padding: 0;*/
        /*background:blue;*/
        margin-top: 10px;
        margin-right: 1%;
        /*padding: 10px 0;*/
        width: 48%;
        /*width: calc(98% * (1/2));*/
        /*text-align: center;*/
        /*width: 33%;*/
    }

    .clinical-posts-item a {
        /*min-height: 100px;
        max-height: 100px;
        padding: 0;
        /*display: inline-block;*/
        /*overflow: hidden;*/
        width: 100%;
        /*white-space: nowrap;*/
        /*overflow: hidden;*/
        /*text-overflow: ellipsis;*/
        /*transition: all 0.5s ease;*/

    }

    /*.clinical-posts-item:hover {
        width: 100%;
        left: 0;
        position: absolute;
    }*/

    .clinical-posts-item:hover a {
        white-space: normal;
        white-space: none;
        text-overflow: inherit;
    }

    .clinical-posts-container > .clinical-posts-item:nth-of-type(2n+2) {
        margin-right: 0;
    }

}

/*--------------------------------------------------------------
#---------------------------------------------------------------
# DESKTOP -------------------------------------------------------
# first styles -------------------------------------------------
# --------------------------------------------------------------
--------------------------------------------------------------*/
@media screen and (min-width: 1440px) {
    .intro { padding: 170px 0;}
    .intro-head { max-width: 1000px;}
    .intro-head-title { font-size: 6rem; }
    .container__article { max-width: 1440px; }
}

/*--------------------------------------------------------------
#---------------------------------------------------------------
# DESKTOP -------------------------------------------------------
# first styles -------------------------------------------------
# --------------------------------------------------------------
--------------------------------------------------------------*/
@media screen and (min-width: 1700px) {
    .intro { padding: 250px 0;}
}

/* Helpers */
.hide { 
    display: none;
}

.disabled {
    opacity: 0.5;
 }


 #procedure-type {
    margin-top: 20px;
 }

 .gform_wrapper input,
 .gform_wrapper select {
     border-radius: 2px;
 }

 .gform_wrapper .gform_page_footer .button {
     display: block;
     width: 100%;
 }

 .gf_progressbar {
     display: none;
 }