/*

Theme Name: Thornhill Southampton (LIVE)
Theme URI: http://www.doivedesigns.co.uk/
Author: David Burton (Based on a theme by Tomas Toman)
Author URI: http://www.doivedesigns.co.uk
Description: Based on the MaidenHair is an easily customizable WordPress multipurpose theme. It is a fully responsive theme that allows for easy viewing on any device. It can be adapted to your needs using the Theme Customizer. MaidenHair theme offers 3 pre-defined color schemes, 220 Google fonts, selection between Boxed or Wide layout, 2 blog layouts (Masonry Grid and One Column), sidebar and footer widget areas, 2 menu areas, social network profile links in header, ability to set your header logo, theme documentation and much more. Supports popular plugins WooCommerce and Breadcrumb NavXT. Available in Brazilian Portuguese, Czech, Danish, Dutch, English, French, German, Greek, Italian, Polish, Russian, Slovak and Spanish. (http://www.tomastoman.cz/)
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, black, white, gray, green, red, orange, one-column, two-columns, right-sidebar, responsive-layout, custom-background, custom-header, custom-colors, custom-menu, featured-images, full-width-template, sticky-post, theme-options, translation-ready, editor-style, rtl-language-support
Text Domain: maidenhair-dave
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans|Open+Sans+Condensed:300|Oswald');

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    border: none;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Oswald", Tahoma, Geneva, sans-serif;
    -ms-word-wrap: break-word;
    word-wrap:     break-word;
    line-height: 120%;
    margin: 30px 0 7px;
}
h1 {
    color: #003A6F;
    font-size: 27px;
}
h2 {
    color: #00498B;
    font-size: 24px;
}
h3 {
    color: #00498B;
    font-size: 18px;
}
h4 {
    color: #444;
    font-size: 16px;
}
h5 {
    color: #555;
    font-size: 14px;
}
h6 {
    color: #666;
    font-size: 14px;
}
p, ul, ol, li, dl, address {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    font-size: 16px;
    text-align: left;
}
ul {
    margin-left: 16px;
}
ol {
    list-style-type: decimal;
    margin-left: 20px;
}
ol ol {
    list-style: upper-alpha;
}
ol ol ol {
    list-style: lower-roman;
}
ol ol ol ol {
    list-style: lower-alpha;
}
dl {
    margin-bottom: 20px;
}
dt {
    font-weight: bold;
}
dd {
    margin-bottom: 5px;
}
strong {
    font-weight: bold;
}
cite, em, i {
    font-style: italic;
}
blockquote cite {
    display: block;
    font-style: normal;
    text-transform: uppercase;
}
a {
    color: #005DB0;
    text-decoration: none;
}
a:hover {
    color: #00B671;
    text-decoration: none;
}
a img {
    border: none;
}
img {
    height: auto;
    max-width: 100%;
}
table {
    font-size: 13px;
    width: 100%;
}
table, td, th {
    border: 1px solid #e3e3e3;
    border-collapse: collapse;
    text-align: left;
}
td, th {
    padding: 5px 8px;
}
th {
    background: #555555;
    color: white;
    font-weight: bold;
}
blockquote, q {
    clear: both;
    text-align: center;
    font-size: 18px;
    color: #007348;
    font-style: italic;
    font-weight: bold;
    margin: 0 0 20px;
    padding-left: 10px;
}
address {
    font-style: italic;
}
pre {
    margin-bottom: 20px;
    overflow: auto;
}
sup {
    vertical-align: super;
}
sub {
    vertical-align: sub;
}
iframe,
embed {
    clear: both;
    width: 100%;
}
hr {
    background: #e8e8e8;
    border: none;
    height: 1px;
    margin: 15px 0;
}
.TablePV {
    display: table;
}
.TitlePV {
    display: table-caption;
    text-align: center;
    font-weight: bold;
    font-size: larger;
}
.HeadingPV {
    display: table-row;
    font-weight: bold;
    text-align: center;
}
.RowPV {
    display: table-row;
}
.CellPV {
    display: table-cell;
    border: none;
    border-width: thin;
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: top;
}

/*  ResponsiveGridSystem styles  */
/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */
.col {
    display: block;
    float:left;
    margin: 1% 0 1% 1.6%;
}
.col:first-child {
    margin-left: 0;
}

/*  GROUPING  */
.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 */
}

/*  GRID OF THREE  */
.span_3_of_3 {
    width: 100%;
}
.span_2_of_3 {
    width: 66.13%;
}

.span_1_of_3 {
    width: 32.26%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
    .col {
        margin: 1% 0 1% 0%;
    }
    .span_3_of_3, .span_2_of_3, .span_1_of_3 {
        width: 100%;
    }
}

.photocaption {
    text-align: center;
    font-size: 15px;
    color: #DDDDFF;
    font-style: italic;
    background-color: #005DB0;
    padding: 10px;
    margin-top: 0px;
}

#mobilemenu{
    display:none
}

/* WordPress Core
-------------------------------------------------------------- */

.alignnone {
    clear: both;
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    clear: both;
    display: block;
    margin: 5px auto 20px auto;
}
.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 20px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption,
.gallery-caption {
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px;
    text-align: center;
}
#wrapper .gallery-caption {
    border: none;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
#wrapper .wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px;
}
.wp-audio-shortcode {
    margin-bottom: 20px;
}

/* basic structure
-------------------------------------------------------------- */
body {
    background: #dedede;
    color: black;
    font-family: "Open Sans", Tahoma, Geneva, sans-serif;
    line-height: 150%;
    font-size: 16px;
}
#container {
    margin: 0 auto;
    max-width: 1012px;
    position: relative;
    width: 100%;
}
#container-shadow {
    -webkit-box-shadow: 0 0 3px #444;
    -moz-box-shadow:    0 0 3px #444;
    box-shadow:         0 0 3px #444;
    background: white;
    float: left;
    width: 100%;
}
#header,
#main-content,
#wrapper-footer {
    float: left;
    height: auto;
    position: relative;
    width: 100%;
}
#wrapper #main-content {
    padding: 28px 28px 10px;
    width: 956px;
}
#content, #subcontent{
    float: left;
    margin: 0;
    width: calc(100% - 328px);
}
.page-template-template-full-width-php #container #content,
.page-template-template-landing-page-php #container #content,
.page-template-template-full-width-without-title-php #container #content {
    width: 100%;
}
#sidebar {
    float: right;
    margin: 0 0 0 28px;
    width: 300px;
}
.scroll-top {
    background: #555 left top no-repeat url(images/scroll-top.png);
    border: 1px solid black;
    cursor: pointer;
    display: block;
    height: 29px;
    opacity: 0.5;
    filter: alpha(opacity=50);
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 29px;
    z-index: 200;
    -webkit-transition: opacity 1s ease;
    -moz-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    -ms-transition: opacity 1s ease;
    transition: opacity 1s ease;
}
#wrapper .scroll-top:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}
body .pattern {
    background: left top repeat url(images/pattern.png);
    height: 100%;
    opacity: 0.05;
    filter: alpha(opacity=5);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: -1;
}

/* header
-------------------------------------------------------------- */
.header-content {
    float: left;
    padding: 35px 28px;
    position: relative;
    width: 956px;
}
.site-title {
    font-family: "Oswald", Tahoma, Geneva, sans-serif;
    font-size: 48px;
    font-weight: bold;
    line-height: 100%;
    margin: 0;
    max-width: 740px;
    position: relative;
    width: 100%;
    z-index: 50;
}
.site-description {
    color: #888888;
    font-family: "Oswald", Tahoma, Geneva, sans-serif;
    font-size: 20px;
    line-height: 100%;
    margin: 10px 0 0;
    max-width: 740px;
    position: relative;
    width: 100%;
    z-index: 50;
}
.site-title a {
    color: #649300;
    text-decoration: none;
    -webkit-transition: color 1s ease;
    -moz-transition: color 1s ease;
    -o-transition: color 1s ease;
    -ms-transition: color 1s ease;
    transition: color 1s ease;
}
.site-title a:hover {
    color: black;
}
.header-logo {
    clear: both;
    display: block;
    height: auto;
    margin: 0;
    max-width: 730px;
    position: relative;
    width: auto;
}
.page-template-template-landing-page-php .site-title,
.page-template-template-landing-page-php .site-description,
.page-template-template-landing-page-php .header-logo {
    max-width: 100%;
}
.header-image {
    float: left;
    height: auto;
    position: relative;
    width: 100%;
}
.header-image img {
    display: block;
    margin: 0 auto;
}

/* header menu */
/* 
This copyright notice must be untouched at all times.
The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop3.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements. */

.menu-box-wrapper {
    background: #333;
    border-bottom: 4px solid #fff;
    float: left;
    position: fixed;
    width: 100%;
    z-index: 500;
}
.menu-box {
    float: left;
    min-height: 44px;
    padding: 0;
    position: relative;
    width: 956px;
    z-index: 500;
}
.menu-box .link-home {/*
  background-image: url(images/icon-home.png);
  background-position: center center;
  background-repeat: no-repeat;
  border-left: 1px solid #535353;
  position: relative;
  width: 24px;*/
    background-image: url("/wp-content/uploads/2016/05/Logo.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    width: 150px;
    margin: 5px 10px;
}
.menu-box ul {
    list-style-type: none;
    margin: 0;
    position: relative;
    text-align: left;
    z-index: 100;
    top: inherit;
}
.menu-box ul ul {
    background: #ededed;
    border-top: 4px solid #649300;
    float: none;
    width: 212px;
    z-index: 110;
    position: relative;
}
.menu-box ul li {
    float: left;
    height: 60px;
    line-height: 60px;
    margin: 0;
    position: relative;
    padding: 0 9px;
}
.menu-box ul ul li {
    border-bottom: 1px solid #d9d9d9;
    display: block;
    height: auto;
    line-height: 39px;
    margin: 0;
    min-height: 39px;
    position: relative;
    width: 212px;
}
.sub-menu .sub-menu{
    margin-top: 1px;
    border-top: 1px solid #fff;
}
#wrapper #header .menu-box ul ul .last-menu-item {
    border-bottom: none;
}
.menu-box a,
.menu-box a:visited {
    /*border-right: 1px solid #535353;*/
    color: white;
    display: block;
    float: left;
    font-family: "Open Sans", Tahoma, Geneva, sans-serif;
    font-size: 15px;
    height: 48px;
    line-height: 60px;
    text-decoration: none;
    /* padding: 0 19px;
    text-transform: uppercase;*/
}
#header .menu-box ul ul a,
#header .menu-box ul ul a:visited {
    border-right: none;
    /*color: #333 !important;*/
    display: block;
    font-size: 14px;
    font-weight: normal;
    height: auto;
    line-height: 39px;
    margin: 0;
    min-height: 39px;
    /*padding: 0 0 0 19px;*/
    text-align: left;
    /*width: 193px;*/
}
#header .menu-box ul ul ul a,
#header .menu-box ul ul ul a:visited {
    color: #fff !important;
}
.menu-box a:hover:not(.link-home),
.menu-box :hover > a:not(.link-home) {
    /*-webkit-transition: background-color 1s ease;
-moz-transition: background-color 1s ease;
-o-transition: background-color 1s ease;
-ms-transition: background-color 1s ease;
transition: background-color 1s ease;*/
    border-bottom: 2px solid #9eb5d6;
}
#header .menu-box ul ul a:hover,
#header .menu-box ul ul :hover > a {
    border-bottom: 0 solid #9eb5d6;
    /*background-color: #dbdbdb !important;
    color: black !important;
    -webkit-transition: background-color 1s ease;
       -moz-transition: background-color 1s ease;
         -o-transition: background-color 1s ease;
        -ms-transition: background-color 1s ease;
            transition: background-color 1s ease;*/
}
.menu-box ul ul {
    height: 0;
    position: absolute;
    left: 0;
    top: 60px;
    visibility: hidden;
    width: 212px;
}
.menu-box ul ul ul {
    left: 212px;
    top: -2px;
    width: 212px;
}
.menu-box ul li:hover ul,
.menu-box ul a:hover ul,
.top-navigation ul li:hover ul,
.top-navigation ul a:hover ul {
    height: auto;
    padding-bottom: 0;
    visibility: visible;
}
.menu-box ul :hover ul ul,
.top-navigation ul :hover ul ul {
    visibility: hidden;
}
.menu-box ul :hover ul :hover ul ul,
.top-navigation ul :hover ul :hover ul ul {
    visibility: hidden;
}
.menu-box ul :hover ul :hover ul,
.top-navigation ul :hover ul :hover ul {
    visibility: visible;
}
.menu-box ul :hover ul :hover ul :hover ul,
.top-navigation ul :hover ul :hover ul :hover ul {
    visibility: visible;
}
#header .menu-box .current-menu-item > a,
#header .menu-box .current-menu-ancestor > a,
#header .menu-box .current_page_item > a,
#header .menu-box .current-page-ancestor > a,
.home #header .menu-box .link-home {
    background-color: #649300;
}
#header .menu-box .sub-menu .current-menu-item > a,
#header .menu-box .sub-menu .current-menu-ancestor > a,
#header .menu-box .sub-menu .current_page_item > a,
#header .menu-box .sub-menu .current-page-ancestor > a {
    /*background-color: #ededed;
    color: black !important;*/
}
.selectnav {
    display: none;
}
#wrapper .sticky-nav {
    max-width: 1012px;
    position: fixed;
    top: 0;
    z-index: 600;
}
.admin-bar .sticky-nav {
    top: 32px !important;
}

/* top navigation */
#top-navigation-wrapper {
    border-bottom: 1px solid #e6e6e6;
    float: left;
    height: auto;
    position: relative;
    width: 100%;
    z-index: 550;
}
.top-navigation {
    min-height: 34px;
    padding: 0 28px;
}
.top-navigation ul {
    border-left: 1px solid #e6e6e6;
    float: left;
    list-style-type: none;
    margin: 0;
    max-width: 790px;
    position: relative;
}
.top-navigation ul ul {
    border-left: none;
    background: #ededed;
    margin: 0;
    width: 250px;
    z-index: 110;
}

.top-navigation ul li {

    float: left;

    height: 34px;

    line-height: 34px;

    position: relative;

}

.top-navigation ul .last-menu-item {

    margin-right: 0;

}

.top-navigation ul ul li {

    border-bottom: 1px solid #d9d9d9;

    display: block;

    height: auto;

    line-height: 30px;

    margin: 0;

    min-height: 30px;

    position: relative;

    width: 250px;

}

#wrapper #header .top-navigation ul ul .last-menu-item {

    border-bottom: none;

}

.top-navigation a,

.top-navigation a:visited {

    border-right: 1px solid #e6e6e6;

    color: #777777;

    display: block;

    float: left;

    font-size: 13px;

    height: 34px;

    line-height: 34px;

    padding: 0 16px;

    text-align: center;

    text-decoration: none;

}

#wrapper #header .top-navigation ul ul a,

#wrapper #header .top-navigation ul ul a:visited {

    color: #777777;

    display: block;

    font-size: 13px;

    font-weight: normal;

    height: auto;

    line-height: 30px;

    margin: 0;

    min-height: 30px;

    padding: 0 0 0 16px;

    text-align: left;

    width: 234px;

}

.top-navigation ul a:hover,

.top-navigation ul :hover > a {

    background-color: #eeeeee;

    color: #111111;

    -webkit-transition: background-color 1s ease;

    -moz-transition: background-color 1s ease;

    -o-transition: background-color 1s ease;

    -ms-transition: background-color 1s ease;

    transition: background-color 1s ease;

}

#wrapper #header .top-navigation ul ul a:hover,

#wrapper #header .top-navigation ul ul :hover > a {

    background-color: #dbdbdb;

    color: #333333;

    -webkit-transition: background-color 1s ease;

    -moz-transition: background-color 1s ease;

    -o-transition: background-color 1s ease;

    -ms-transition: background-color 1s ease;

    transition: background-color 1s ease;

}

.top-navigation ul ul {

    border-top: 1px solid #649300;

    height: 0;

    position: absolute;

    left: 0;

    top: 34px;

    visibility: hidden;

    width: 250px;

}

.top-navigation ul ul ul {

    left: 250px;

    top: -1px;

    width: 250px;

}

#wrapper #header .top-navigation .current-menu-item > a,

#wrapper #header .top-navigation .current-menu-ancestor > a,

#wrapper #header .top-navigation .current_page_item > a,

#wrapper #header .top-navigation .current-page-ancestor > a {

    color: black;

}

.header-icons {

    border-left: 1px solid #e6e6e6;

    height: 34px;

    position: absolute;

    right: 28px;

    top: 0;

    width: auto;

}

#wrapper .top-navigation .header-icons a {

    display: block;

    height: 34px;

    padding: 0;

    width: 34px;

}

.social-icon {

    background-position: center center;

    background-repeat: no-repeat;

    float: left;

    width: 34px;

}

.header-icons .facebook-icon {

    background-image: url(images/icon-facebook.png);

}

.header-icons .twitter-icon {

    background-image: url(images/icon-twitter.png);

}

.header-icons .google-icon {

    background-image: url(images/icon-google.png);

}

.header-icons .pinterest-icon {

    background-image: url(images/icon-pinterest.png);

}

#wrapper .top-navigation .header-icons a:hover {

    background-color: #f2f2f2;

    -webkit-transition: background-color 1s ease;

    -moz-transition: background-color 1s ease;

    -o-transition: background-color 1s ease;

    -ms-transition: background-color 1s ease;

    transition: background-color 1s ease;

}





/* main content

-------------------------------------------------------------- */



.content-headline {

    float: left;

    margin: 0 0 20px;

    width: 100%;

}

.entry-headline {

    /*background: left 50% repeat-x url(images/pattern-headline.png);*/

    color: black;

    font-size: 27px;

    line-height: 100%;

    margin: 0 0 3px;

    position: relative;

    z-index: 50;

}

.blog .entry-headline,

.home-latest-posts .entry-headline {

    margin-bottom: 25px;

}

.entry-headline-text {

    background: white;

    display: inline-block;

    max-width: 90%;

    padding-right: 15px;

}

#content p,

#content ul,

#content ol,

#content table,

#content address {

    margin-bottom: 15px;

}

#content ul ul,

#content ol ol,

#content ol ul,

#content ul ol {

    margin-bottom: 0;

}

.home-latest-posts,

.home-grid-posts {

    float: left;

    position: relative;

    width: 100%;

}

#content .breadcrumb-navigation {

    color: #bbbbbb !important;

    float: left;

    font-size: 12px;

    line-height: 100%;

    margin: 7px 0 3px;

    position: relative;

    width: 100%;

}

.page-template-template-without-title-php #content .breadcrumb-navigation,

.page-template-template-full-width-without-title-php #content .breadcrumb-navigation {

    margin-top: 4px;

}

#content .breadcrumb-navigation a {

    color: #999999 !important;

    text-decoration: none;

    -webkit-transition: color 1s ease;

    -moz-transition: color 1s ease;

    -o-transition: color 1s ease;

    -ms-transition: color 1s ease;

    transition: color 1s ease;

}

#content .breadcrumb-navigation a:hover {

    color: #333333 !important;

}

#main-content .post-meta {

    clear: both;

    color: #999999 !important;

    font-size: 12px;

    line-height: 21px;

    padding-bottom: 5px;

    margin: -2px 0 0;

}

.single #main-content #content .post-meta {

    margin: 0;

}

#main-content .home-grid-posts .post-meta {

    clear: none;

    margin: 0;

    padding: 0;

}

#main-content .post-meta span {

    border-left: 1px solid #dbdbdb;

    padding: 0 6px 0 6px;

}

#main-content .post-meta .post-info-author,

#main-content .home-grid-posts .post-meta .post-info-date {

    border-left: none;

    padding-left: 0;

}

#main-content .post-info {

    border-top: 1px solid #e8e8e8;

    clear: both;

    color: #999999 !important;

    float: left;

    font-size: 12px;

    line-height: 21px;

    margin: 10px 0 0;

    padding: 0;

    width: 100%;

}

.single #main-content #content .post-info {

    border-bottom: 1px solid #e8e8e8;

    margin: 0 0 20px;

}

.post-info a,

.post-meta a {

    color: #999999 !important;

    text-decoration: none;

    -webkit-transition: color 1s ease;

    -moz-transition: color 1s ease;

    -o-transition: color 1s ease;

    -ms-transition: color 1s ease;

    transition: color 1s ease;

}

.post-info a:hover,

.post-meta a:hover {

    color: #111111 !important;

}

.post-info span {

    display: inline-block;

    min-height: 16px;

    line-height: 16px;

    padding: 0 0 0 22px;

}

#main-content .post-info .post-category,

#main-content .post-info .post-tags {

    float: left;

    margin: 0;

    padding: 6px 0;

    width: 50%;

}

#main-content .post-info .post-tags {

    padding-left: 5%;

    text-align: right;

    width: 45%;

}

.post-info .post-info-category {

    background: left top no-repeat url(images/icon-category.png);

}

.post-info .post-info-tags {

    background: left top no-repeat url(images/icon-tag.png);

}

#content .archive-meta {

    border-bottom: 1px solid #e8e8e8;

    float: left;

    margin-bottom: 25px;

    width: 100%;

}

#main-content .author-info .author-avatar {

    margin: 0 0 5px;

}

#main-content .number-of-results {

    font-weight: bold;

}

#main-content #content .page-link {

    color: #333333;

    font-size: 12px;

}

#nav-below,

#maidenhair-post-nav,

.search .navigation {

    float: left;

    margin: 0 0 25px;

    width: 100%;

}

#main-content #maidenhair-post-nav {

    margin: 10px 0 25px;

}

.nav-wrapper {

    border-bottom: 1px solid #e8e8e8;

    border-top: 1px solid #e8e8e8;

    float: left;

    padding: 5px 0;

    width: 100%;

}

.navigation-headline {

    font-size: 18px;

    font-weight: normal;

    margin: 0 0 4px;

}

.navigation .navigation-links {

    margin-bottom: 0 !important;

}

.navigation .navigation-links a {

    text-decoration: none;

}

.navigation .navigation-links a:hover {

    text-decoration: underline;

}

#main-content .nav-previous {

    float: left;

    margin: 0;

    width: 50%;

}

#main-content .nav-next {

    float: right;

    margin: 0;

    text-align: right;

    width: 50%;

}

#main-content .nav-previous a,

#main-content .nav-next a {

    text-decoration: none;

}

#main-content .nav-previous a:hover,

#main-content .nav-next a:hover {

    text-decoration: underline;

}

.edit-link {

    float: left;

    width: 100%;

}

.post-edit-link {

    font-weight: bold;

}



/* default post entry */

.post-entry {

    border-bottom: 1px solid #e8e8e8;

    float: left;

    margin-bottom: 25px;

    position: relative;

    width: 100%;

}

.search .type-page {

    padding-bottom: 10px;

}

#main-content .sticky {

    background-color: #f0f0f0;

    padding: 20px 3% 0;

    width: 94%;

}

.post-entry-content-wrapper {

    padding: 3px 0 0;

}

.attachment-post-thumbnail {

    display: block;

    float: left;

    height: auto;

    margin: 0 15px 5px 0;

    max-width: 40%;

    width: auto;

}

.single #content .attachment-post-thumbnail,

.page #content .attachment-post-thumbnail {

    clear: both;

    display: block;

    float: none;

    margin: 4px 0 20px;

    max-width: 100%;

    padding: 0;

}

.post-entry-content {

    margin-bottom: -12px;

    margin-top: -5px;

}

.post-entry-content h1 {

    font-size: 21px;

}

.post-entry-content h2 {

    font-size: 19px;

}

#main-content .post-entry .post-entry-headline {

    font-size: 21px;

    line-height: 100%;

    margin: 0 0 7px;

}

.post-entry .post-entry-headline a {

    color: #649300;

    text-decoration: none;

    -webkit-transition: color 1s ease;

    -moz-transition: color 1s ease;

    -o-transition: color 1s ease;

    -ms-transition: color 1s ease;

    transition: color 1s ease;

}

.post-entry .post-entry-headline a:hover {

    color: black;

}

.post-entry .read-more-button {

    background-color: #7eb112;

    color: white !important;

    display: inline-block;

    font-size: 12px;

    line-height: 12px;

    margin: 8px 0 3px;

    padding: 6px 8px;

    text-decoration: none;

    text-transform: uppercase;

    -webkit-transition: background-color 1s ease;

    -moz-transition: background-color 1s ease;

    -o-transition: background-color 1s ease;

    -ms-transition: background-color 1s ease;

    transition: background-color 1s ease;

}

.post-entry .read-more-button:hover {

    background-color: #649300;

}



/* post entry - grid */

.home-grid-posts .entry-headline {

    margin-bottom: 20px;

}

.search .js-masonry .type-page {

    padding-bottom: 20px;

}

.js-masonry {

    float: left;

    margin: 0 0 0 -10px;

    width: 100%;

}

.grid-entry {

    padding: 0 0 20px;

    width: 33.33%;

}

.grid-entry .grid-entry-inner {

    border-bottom: 1px solid #e8e8e8;

    margin: 0 0 0 20px;

    padding: 0 0 15px;

    position: relative;

}

#main-content .js-masonry .sticky {

    background: none !important;

    padding: 0 0 20px;

    width: 33.33%;

}

#main-content .js-masonry .sticky .grid-entry-inner {

    background-color: #f0f0f0;

    padding: 15px;

}

.grid-entry .attachment-post-thumbnail {

    clear: both;

    float: none;

    margin: 0 0 9px !important;

    max-width: 100%;

}

#main-content .grid-entry .grid-entry-headline {

    font-size: 21px;

    line-height: 100%;

    margin: 0 0 4px;

}

.grid-entry .grid-entry-headline a {

    color: #649300;

    text-decoration: none;

    -webkit-transition: color 1s ease;

    -moz-transition: color 1s ease;

    -o-transition: color 1s ease;

    -ms-transition: color 1s ease;

    transition: color 1s ease;

}

.grid-entry .grid-entry-headline a:hover {

    color: black;

}

.grid-entry p {

    margin-bottom: 0 !important;

    padding-bottom: 0 !important;

}

.grid-entry .grid-category {

    background: left top no-repeat url(images/icon-category.png);

    line-height: 16px;

    margin-top: 4px;

    min-height: 16px;

    padding-left: 22px;

}

.grid-entry .grid-tags {

    background: left top no-repeat url(images/icon-tag.png);

    line-height: 16px;

    margin-top: 3px;

    min-height: 16px;

    padding-left: 22px;

}

.grid-entry .grid-category a,

.grid-entry .grid-tags a {

    color: #999999 !important;

    text-decoration: none;

    -webkit-transition: color 1s ease;

    -moz-transition: color 1s ease;

    -o-transition: color 1s ease;

    -ms-transition: color 1s ease;

    transition: color 1s ease;

}

.grid-entry .grid-category a:hover,

.grid-entry .grid-tags a:hover {

    color: #111111 !important;

}

#main-content .grid-entry .post-meta {

    margin-top: 0;

    padding-bottom: 0;

}

.grid-entry .read-more-button {

    background-color: #7eb112;

    color: white !important;

    display: inline-block;

    font-size: 12px;

    line-height: 12px;

    margin: 3px 0;

    padding: 6px 8px;

    text-decoration: none;

    text-transform: uppercase;

    -webkit-transition: background-color 1s ease;

    -moz-transition: background-color 1s ease;

    -o-transition: background-color 1s ease;

    -ms-transition: background-color 1s ease;

    transition: background-color 1s ease;

}

.grid-entry .read-more-button:hover {

    background-color: #649300;

}





/* sidebar

-------------------------------------------------------------- */



.sidebar-widget {

    color: #333;

    float: left;

    font-size: 13px;

    padding-bottom: 25px;

    width: 100%;

}

.sidebar-widget .sidebar-headline {

    /*background: left 50% repeat-x url(images/pattern-sidebar.png);
  
    color: #333;
  
    font-family: "Oswald", Tahoma, Geneva, sans-serif; */

    font-size: 19px;

    margin: 10px 0 5px;

    position: relative;

}

.sidebar-headline-text {

    font-family: "Oswald", Tahoma, Geneva, sans-serif;

    color: #00498B;

    font-size: 24px;

    background: white;

    display: inline-block;

    max-width: 90%;

    padding-right: 10px;

}

.sidebar-widget .sidebar-headline a {

    color: #333333;

    text-decoration: none;

}

.sidebar-widget img {

    height: auto;

    max-width: 100%;

}

.sidebar-widget p {

    margin: 6px 0 -4px;

}

.sidebar-widget p,

.sidebar-widget ul li,

.sidebar-widget ol li {

    color: #333333;

    font-size: 13px;

}

.sidebar-widget ul {

    /*background: left top repeat url(images/sidebar-ul.png); */

    margin: -3px 0 0;

}

.sidebar-widget ul ul {

    margin-top: 0;

}

.sidebar-widget ul li {

    /*background: left top no-repeat url(images/sidebar-li.png);*/

    height: auto;

    /*line-height: 32px; */

    list-style-type: square;

    min-height: 32px;

    padding-left: 5px;

    margin-left: 20px;

}

.sidebar-widget a {

    color: #005DB0;

    text-decoration: none;

    -webkit-transition: color 1s ease;

    -moz-transition: color 1s ease;

    -o-transition: color 1s ease;

    -ms-transition: color 1s ease;

    transition: color 1s ease;

}

.sidebar-widget ul li a {

    text-decoration: none;

}

.sidebar-widget a:hover {

    color: #00B671;

    text-decoration: none;

}





/* Story Box styles

-------------------------------------------------------------- */

.pvStoryDiv {

    background-color: #F0F0F0;

}



div.pvStoryPhotoDiv img {

    height: auto;

    max-width: 100%;

    margin: 0;

    padding: 0;

    clear:both;

}



div.pvStoryPhotoDiv p.pvStoryPhotoCaption {

    clear: both;

    font-family: "Open Sans", Tahoma, Geneva, sans-serif;

    text-align: left;

    font-size: 16px;

    color: #DDDDFF;

    font-style: normal;

    background-color: #005DB0;

    padding: 10px;

    margin-top: 0px;

    max-width: 400px;

}



div.pvStoryTextDiv {

    margin: 10px;

}



div.pvStoryMoreDiv {

    margin: 10px;

}



div.pvStoryTextDiv p {

    padding: 10px;

    font-family: "Open Sans", Tahoma, Geneva, sans-serif;

    font-size: 15px;

    color: #555555;

}



div.pvStoryMoreDiv p {

    padding: 10px;

    font-family: "Open Sans", Tahoma, Geneva, sans-serif;

    font-size: 15px;

    color: #555555;

    text-align: right;

}



/* Story Box styles - Home page variations

-------------------------------------------------------------- */

.pvHomePageStories {

    height: 300px;

}



@media only screen and (max-width: 480px) {

    .pvHomePageStories {

        display: none;

    }

}



div.pvHomePageStories div.pvStoryDiv {

    background-color: #F0F0F0;

    width: 100%;

    height: 270px;

}



div.pvHomePageStories div.pvStoryPhotoDiv {

    width: 150px;

    display: block;

    float: left;

    margin: 1% 0 1% 1.6%;

}



div.pvHomePageStories div.pvStoryTextDiv {

    display: block;

    margin: 1% 0 1% 1.6%;

    height: 230px;

    max-height: 230px;

    overflow: hidden;

}



div.pvHomePageStories div.pvStoryMoreDiv {

    margin: 0;

}



div.pvHomePageStories div.pvStoryPhotoDiv img {

    height: 150px;

    width: 150px;

    margin: 0;

    padding: 0;

}



div.pvHomePageStories div.pvStoryTextDiv q {

    font-size: 16px;

    margin-bottom: 0px;

}



div.pvHomePageStories div.pvStoryTextDiv p {

    font-size: 14px;

    margin-bottom: 0px !important;

    padding: 5px;

}







/* footer

-------------------------------------------------------------- */



#wrapper #wrapper-footer {

    background: #00488f;

}

#footer {

    float: left;

    padding: 0;

    position: relative;

    width: 956px;

}

#footer p,

#footer ul li,

#footer ol li {

    color: white;

    font-size: 13px;

}

#footer .footer-widget-area p,

#footer .footer-widget-area ul,

#footer .footer-widget-area ol {

    margin-bottom: 2px;

}

#footer table,

#footer td,

#footer th {

    border-color: black;

    color: white;

}

#footer a {

    color: #d3f38f;

}

.footer-widget-area {

    float: left;

    height: auto;

    margin-right: 28px;

    padding: 35px 0 10px;

    position: relative;

    width: calc(33% - 16px);

    z-index: 50;

}

#footer .footer-widget-area-3 {

    margin-right: 0;

}

.footer-widget {

    float: left;

    margin-bottom: 21px;

    width: 100%;

}

#footer .footer-widget .footer-headline {

    background: left 50% repeat-x url(images/pattern-footer.png);

    color: white;

    font-family: "Oswald", Tahoma, Geneva, sans-serif;

    font-size: 19px;

    line-height: 100%;

    margin-bottom: 8px;

}

.footer-headline-text {

    background: #333;

    display: inline-block;

    max-width: 90%;

    padding-right: 10px;

}

.footer-signature {

    border-top: 1px solid #396897;

    background: #00488f;

    float: left;

    position: relative;

    width: 100%;

    z-index: 50;

}

.footer-signature .footer-signature-content {

    color: white;

    font-size: 12px;

    line-height: 22px;

    min-height: 42px;

    text-align: center;

}

.footer-signature .footer-signature-content p {

    color: white;

    font-size: 12px;

    line-height: 22px;

    min-height: 22px;

    padding: 10px 0;

    text-align: center;

}

.footer-signature .footer-signature-content a {

    color: #fff;

    text-decoration: none;

}





/* default widgets

-------------------------------------------------------------- */



#wp-calendar th,

#wp-calendar td {

    text-align: center;

}

#wp-calendar a,

#wp-calendar #today {

    font-weight: bold;

    text-decoration: none;

}

#wp-calendar #prev {

    text-align: left;

}

#wp-calendar #next {

    text-align: right;

}

.tagcloud a {

    text-decoration: none;

}

.tagcloud a:hover {

    text-decoration: underline;

}

.sidebar-widget img,

.footer-widget img {

    padding-top: 3px;

}

.sidebar-widget .wp-caption,

.footer-widget .wp-caption {

    border: none;

    margin-right: 0;

}

.sidebar-widget .wp-caption img,

.footer-widget .wp-caption img {

    max-width: 100%;

}

.sidebar-widget select {

    margin-top: 3px;

    width: 100%;

}

.sidebar-widget #searchform {

    margin-top: 10px;

}





/* form fields

-------------------------------------------------------------- */



input[type="text"],

input[type="file"],

input[type="password"],

input[type="number"],

input[type="search"],

input[type="email"],

input[type="url"],

textarea,

select {

    background-color: #f2f2f2;

    border: 1px solid #e6e6e6;

    color: #333333;

    line-height: normal;

    padding: 5px;

    width: 50%;

}

textarea {

    overflow: auto;

    vertical-align: top;

    width: 98%;

}

input[type="submit"],

input[type="reset"] {

    background: #7eb112;

    border: none;

    border-radius: 0 !important;

    box-shadow: none;

    color: white !important;

    cursor: pointer;

    font-size: 15px;

    height: auto;

    margin-top: 5px;

    padding: 7px 10px;

    text-align: center;

    text-decoration: none;

    text-shadow: none;

    -webkit-transition: background-color 1s ease;

    -moz-transition: background-color 1s ease;

    -o-transition: background-color 1s ease;

    -ms-transition: background-color 1s ease;

    transition: background-color 1s ease;

}

input[type="submit"]:hover,

input[type="reset"]:hover {

    background-color: #649300;

}

#searchform .searchform-wrapper {

    height: 31px;

    position: relative;

    width: 100%;

}

.header-content #searchform .searchform-wrapper {

    margin-top: -15px;

    position: absolute;

    right: 28px;

    top: 50%;

    width: 200px;

    z-index: 100;

}

#searchform .searchform-wrapper #s {

    color: #aaaaaa;

    font-size: 13px;

    height: 19px;

    padding: 5px 0 5px 3%;

    position: absolute;

    left: 0;

    top: 0;

    width: 96%;

}

#searchform .searchform-wrapper .send {

    background-color: #7eb112;

    background-image: url(images/searchform-send.png);

    border: none;

    cursor: pointer;

    height: 31px;

    position: absolute;

    right: 0;

    top: 0;

    width: 31px;

    z-index: 20;

    -webkit-transition: background-color 1s ease;

    -moz-transition: background-color 1s ease;

    -o-transition: background-color 1s ease;

    -ms-transition: background-color 1s ease;

    transition: background-color 1s ease;

}

#searchform .send:hover {

    background-color: #649300;

}





/* comments area

-------------------------------------------------------------- */



#comments {

    float: left;

    margin-top: 25px;

    width: 100%;

}

.single .comments-area-post {

    margin-top: 5px !important;

}

.page #comments {

    margin-top: 16px !important;

}

#content .commentlist {

    list-style-type: none;

    margin-bottom: 30px;

}

.commentlist .children {

    list-style-type: none;

}

.comment-reply-title {

    font-size: 20px;

    font-weight: normal;

    line-height: 100%;

    margin-top: 0;

}

#comments .entry-headline-wrapper {

    margin-bottom: -21px;

}

#comments .entry-headline {

    background-image: none;

    border-bottom: none;

    color: #333333;

    font-size: 20px;

    font-weight: normal;

    margin-bottom: -4px;

    padding: 0;

}

.comment-reply-link {

    font-size: 13px;

}

.comments-title {

    margin-top: 0;

}

#comments .section-heading {

    font-weight: normal;

}

#comments ol {

    color: #333333;

    margin-left: 0;

}

#comments ol ol {

    margin: 0 20px;

}

#comments ol li {

    border-top: 1px solid #e8e8e8;

    margin: 15px 0 0 0;

    padding: 15px 0 0 0;

}

#comments .avatar,

#comments .fn {

    float: left;

    margin: 0 6px 0 0;

}

#comments .fn {

    font-style: italic;

    margin: 0 3px 0 0;

}

#comments time,

#comments .edit-link {

    color: #555555;

    float: right;

    font-size: 13px;

}

#comments .comment-content {

    clear: both;

    padding-top: 10px;

}

#comments #comment-nav-below {

    float: left;

    margin: 10px 0 30px;

    width: 100%;

}

#comments input,

#comments textarea {

    margin-top: 7px;

}

#content #commentform .form-allowed-tags {

    color: #707070;

    font-size: 12px;

}

#comments .bypostauthor {

    background: #f2f2f2;

    border-top: 1px solid #cccccc;

    color: black;

    margin-bottom: -15px;

    padding: 10px 30px;

}

.reply {

    margin-top: -10px;

    width: 50%;

}

#content .comment-content p {

    font-size: 13px;

    margin-bottom: 10px;

}

#content .comment-content .edit-link {

    margin: -15px 0 0;

    text-align: right;

    width: 50%;

}

#content .comment-content li {

    border: none;

    font-size: 13px;

    margin: 0;

    padding: 0;

}

#content #commentform p {

    color: #333333;

    font-size: 13px;

    margin-bottom: 5px;

}

#content #commentform .logged-in-as,

#content #commentform .comment-notes {

    margin-top: 0;

}

#comments #respond {

    float: none;

    margin-bottom: 20px;

    width: 100%;

}



/* DOIVE 05/07/2016 */

.header-widget-area{

    font-family: "Oswald", Tahoma, Geneva, sans-serif;

    color: #fff;

    text-align: center;

    font-weight: bold;

    text-shadow: 1px 1px 1px #000;

}

.header-widget-area br{
    display:none
}

.header-widget-area hr{

    display: inline-block;

    border: 1px solid #fff;

    margin: 10px 5px;

    width: 150px;

    max-width: 20%;

}

.sub-header-image{

    font-family: "Oswald", Tahoma, Geneva, sans-serif;

    background-size:cover;

    background-position: center;

    height: 225px;

    margin:0;

    font-size: 40px;

    line-height: 46px;

    text-align: center;

    font-weight: bold;

    text-shadow: 1px 1px 1px #000;

}

.sub-header-image a{

    padding: 120px 0 0 30px;

    width: 956px;

    display: inline-block;

    color: #fff;

    font-family: "Oswald", Tahoma, Geneva, sans-serif;

    font-size: 50px;

    font-weight: 100;

    line-height: 50px;

    text-decoration:none;

    text-shadow: none;

    text-align: left;

}

.header-widget-area .welcome a{

    padding-top: 170px;

    font-size: 36px;

    line-height: 42px;

    text-transform:uppercase;

    text-decoration:none;

    display: block;

    color: #fff;

}

.header-widget-area .tbc a{

    font-size: 50px;

    line-height: 50px;

    display: block;

    color: #fff;

    text-decoration:none;

}

.owl-carousel .owl-item .sa_hover_container{
    min-height:450px !important
}

.footPhone{

    font-size: 1.4em;

    display:inline-block;

}

.footer-widget i, .footer-widget .spacer{

    width: 15px;

    display:inline-block;

}

.footer-widget-area-3 p{

    text-align: right;

    color: #a7b8d6;

}

.footerFollow{

    display: inline-block;

    height: 20px;

    padding: 5px;

    position: relative;

    top: -6px;

}

h3.widget-title:first-child{
    margin: 0 0 7px
}

.menu-box .link-member {

    background-color: #fff;

    color: #00488f !important;

    height: auto;

    line-height: inherit;

    margin: 10px 0 0;

    padding: 10px;

    position: fixed;

    right: 3%;

    text-transform: uppercase;

}

.menu-box .link-member:hover{

    border:0 solid #000;

    background-color:#eeffee;

}

.home-edge, .row aside, #sidebar aside{

    overflow:hidden;

    width: 100%;

    display: inline-block;

    height: 147px;

}

.row aside, #sidebar aside{
    margin-bottom: 20px
}

.home-bg{

    z-index: -1;

    width: 100%;

    height: 150px;

    background-size:cover; /*

    filter: url(images/blur.svg); /* For old versions of FF & IE * /

    -webkit-filter: blur(8px);

    -moz-filter: blur(8px);

    -o-filter: blur(8px);

    -ms-filter: blur(8px);

    filter: blur(8px);*/

    transform: scale(1.1);

    display: inline-block;

    position: relative;

    /*-webkit-transition: -webkit-filter 2s ease !important;

-moz-transition: -moz-filter 2s ease !important;

-o-transition: -o-filter 2s ease !important;

-ms-transition: -ms-filter 2s ease !important;

transition: filter 2s ease !important;   

    filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='8'); /* Old IE */

}

.home-bg:hover, .home-bg-hovered{

    /*-webkit-filter: blur(0);

    -moz-filter: blur(0);

    -o-filter: blur(0);

    -ms-filter: blur(0);

    filter: blur(0);

    filter: none;

    filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='0');

    -webkit-transition: -webkit-filter 2s ease;

-moz-transition: -moz-filter 2s ease;

-o-transition: -o-filter 2s ease;

-ms-transition: -ms-filter 2s ease;

transition: filter 2s ease;   */

}

.home-bg svg{

    width: 100%;

    -webkit-transition: opacity 2s ease;

    -moz-transition: opacity 2s ease;

    -o-transition: opacity 2s ease;

    -ms-transition: opacity 2s ease;

    transition: opacity 2s ease;

}

.home-bg-hovered svg{

    opacity:0;

}

.home-box {

    position: relative;

    z-index: 0;

    text-align: center;

    vertical-align:middle;

    color:#FFF;

    padding: 10px 0;

    display: inline-block;

    width: 100%;

    font-size: 28px;

    text-transform: uppercase;

    font-weight: bold;

    top:-140px;

    line-height: 100%;

    cursor:pointer;

}

.home-box p{
    display:inline
}

.home-box a{

    color:#fff !important;

    text-decoration:none;

    text-shadow: 0 0 10px #000;

}

.home-box hr{

    border: 0 solid #fff;

    border-top: 2px solid #fff;

    margin: 20px 20%;

    text-align:center;

    box-shadow: 0 0 10px #000;

}

.home-top-right ul, .home-top-right li{

    list-style:none;

    margin-left:0;

    padding-left:0;

}

.home-top-right h3{

    margin-top:0;

    text-transform:uppercase;

    font-size: 28px;

}

.home-top-right li{
    padding:10px
}

.home-top-right li:nth-child(2n+1){

    background-color:#eee;

}



/* PV changed height from 410px to accommodate new text on front screen and story box  */

.home-top-right a{
    font-size:16px
}

.home-top-left{

    height:950px;

    overflow:hidden;

}

.home-top-left .home-box, .top-left{

    height:380px;

    font-size: 36px;

}

.home-top-left .home-bg{
    height: 400px
}

.home-top-left .home-box{
    top:-280px
}



@media screen and (max-width: 1150px) {

    .menu-box ul li{
        padding: 0 15px
    }

}

/* media queries

-------------------------------------------------------------- */

@media screen and (min-width: 1013px){

    #header ul.mobileMenuOpen{

        display:block!important;

    }

}

@media screen and (max-width: 1012px) {
    .menu-item a{
        width:100%;
        display:block;
    }
    #wrapper #container {
        max-width: 90%;
        width: 90%;
    }
    #wrapper #container #main-content{
        padding: 28px 5% 10px
    }
    #wrapper #container #main-content, .sub-header-image a {
        width: 90%
    }
    #wrapper #content {
        max-width: 100%;
        width: 100% !important;
    }
    #wrapper #sidebar {
        float: left;
        margin: 15px 0 0;
        width: 100%;
    }
    #wrapper .header-content {
        float: left !important;
        padding: 35px 5%;
        width: 90%;
    }
    #wrapper .site-title,
    #wrapper .site-description,
    #wrapper #header .header-content .header-logo {
        float: left;
        max-width: 100%;
    }
    #wrapper .header-content #searchform .searchform-wrapper {
        float: left;
        margin: 20px 0 0;
        position: relative;
        right: 0;
        top: 0;
        width: 100%;
    }
    #wrapper .menu-box {
        padding: 0;
        width: 100%;
    }
    #wrapper #header .sticky-nav{
        max-width: 90%
    }
    #wrapper .menu-box .link-home{
        width: calc(100% - 90px)
    }
    #wrapper .top-navigation{
        height: 34px;
        padding: 0 5%;
    }
    #wrapper .header-icons{
        right: 5%
    }

    /*.js #nav, .js #top-nav{display: none}*/
    .menu-box ul li{
        float:inherit
    }
    .menu-box, .menu{
        position:auto !important
    }
    .menu-box-wrapper{
        position:static
    }
    .sub-header-image a{
        padding-top:60px;
        font-size:30px
    }
    .menu-box ul{
        clear:both;
        display:none;
    }
    #mobilemenu{
        display: inline-block;
        float: right;
        color: #fff;
        font-size: 3em;
        margin: 10px;
        cursor: pointer;
        width: 50px;
    }

    .menu-box ul li{
        height:auto;
        min-height:50px;
        clear:both;
        position:auto;
    }

    .menu-box ul ul li{
        width:100%
    }

    .js .selectnav {
        background: #00488f;
        border: 0 solid black;
        color: white;
        display: none;
        float: left;
        height: 43px;
        margin: 0;
        padding: 0;
        position: relative;
        text-transform: uppercase;
        width: 100%;
    }
    .js #top-navigation-wrapper .selectnav {
        background: white;
        border: 1px solid #e6e6e6;
        color: #999;
        height: 30px;
        margin: 2px 0 0;
        width: 40%;
    }
    .menu-box .link-member {
        width: 100%;
        line-height: inherit;
        margin: 0;
        position: relative;
        right: inherit;
    }
    #wrapper .grid-entry,
    #wrapper #main-content .js-masonry .sticky {
        width: 50%
    }
    .menu-box ul ul {
        position: relative;
        top: inherit;
        visibility: visible;
        width: 100%;
    }
    .menu-box ul ul.sub-menu{
        display:none
    }
    #wrapper .sticky-nav{
        position: sticky;
        margin-top:0;
    }
    #wrapper #container #footer {
        background-image: none;
        padding: 35px 5% 10px;
        width: 90%;
    }
    #footer .footer-widget-area {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    #wrapper .footer-signature,
    #wrapper .menu-box {
        background-image: none;
    }
}

@media screen and (max-width: 782px) {
    .admin-bar #header .sticky-nav {
        top: 46px !important;
    }
}

@media screen and (max-width: 600px) {
    .admin-bar #header .sticky-nav {
        top: 0 !important;
    }
    #wrapper #container .grid-entry,
    #wrapper #container #main-content .js-masonry .sticky {
        width: 100%;
    }
    #wrapper .grid-entry .grid-entry-inner,
    #wrapper #container #main-content .js-masonry {
        margin: 0 !important;
    }
    #slider_56 hr{
        display:none !important
    } /*Override the inline style*/
    .home-box a{
        line-height:normal
    }
    .home-top-left .home-box, .top-left{
        height: 167px
    }
    .home-top-left .home-box {
        top: -174px;
        font-size: 28px;
    }
    .home-top-left {
        height: 537px
    }
}

/* media player
-------------------------------------------------------------- */
.mejs-container .mejs-inner .mejs-controls {
    background: #003A6F;
}
.mejs-inner .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #005DB0;
}
.mejs-inner .mejs-controls .mejs-time-rail .mejs-time-loaded {
    background: #005DB0;
}
.mejs-inner .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background: #0184F9;
}
.mejs-container {
    width: 70% !important;
}
div.pvVidDiv .mejs-container {
    width: 100% !important;
}

/* print
-------------------------------------------------------------- */
@media print {
    html body {
        background: none !important;
        font-family: Tahoma, Geneva, sans-serif !important;
    }
    #wrapper #container-shadow {
        -webkit-box-shadow: none !important;
        -moz-box-shadow:    none !important;
        box-shadow:         none !important;
        background: white !important;
    }
    h1, h2, h3, h4, h5, h6 {
        font-family: Tahoma, Geneva, sans-serif !important;
    }
    #wrapper-footer,
    #header,
    #sidebar,
    #respond,
    .scroll-top,
    .reply,
    .pattern {
        display: none !important;
    }
    #container {
        max-width: 100% !important;
    }
    #wrapper #main-content {
        padding: 0 !important;
        width: 100% !important;
    }
    #content {
        width: 100% !important;
    }
    .entry-headline {
        background-image: none !important;
    }
}

/* 2021 Over-riddes for Card Layout on Home Page */
.home .cards {
    position: unset;
    height: auto;
    overflow: visible;
}
.home .cardHolder.small-card {
    height: auto;
}
.home .cards.tint.js-masonry.small_3_col {
    height: auto;
    overflow: visible;
}
.home .cardHolder.small-card {
    overflow: visible;
    display: block;
}
.home .homepagecontent {
    overflow: visible;
    height: auto !important;
}
.home .card {
    width: 50% !important;
}

@media only screen and (min-width: 600px) {
    .cardHolder.small-card .card {
        position: relative !important;
        display: inline-block !important;
        float: none;
        top: auto !important;
        left: auto !important;
    }
}

.home-top-left {
    height: auto;
}

@media only screen and (max-width: 599px) {
    .home .cardHolder.small-card .card {
        width: 100% !important;
        float: none !important;
        height: auto !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        display: inline-block !important;
        background: transparent;
    }
}
.home .cardHolder.small-card .card .cardBody {
    background: transparent !important;
}
.home a.card:nth-child(1) {
    position: relative;
}
.home .cards {
    height: auto !important;
}
.home .cards.tint.js-masonry.small_3_col {
    background-color: transparent;
}
.home .card {
    background-color: transparent;
    box-shadow: none;
}
.table{
    display:table
}
.tr{
    display:table-row
}
.td,.th{
    display:table-cell;
    padding:10px;
    vertical-align:top;
}
.table,.tr,.td,.th{
    border:1px solid #000
}
#jobtable .td,#jobtable .th{
    width:25%
}
#jobtable .th{
    background-color:#006600;
    color:#fff;
    width:150px
}

/*Jobs Main Page*/
.page-id-16599 .wp-block-cover{
    line-height: initial;
    word-break: unset;
    min-height: 290px;
}
.page-id-16599 .entry-content{
    clear: both
}
.page-id-16599 #content, .page-id-16599 #subcontent,.single-jobs #subcontent, .single-jobs #content{
    width:100%
}
.page-id-16599 .wp-block-cover.is-light a{
    color: #000
}
.page-id-16599 .wp-block-cover.is-light .light a{
    color: #fff
}