/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}
.site-logo {
    float:left;
}
.main-navigation__hamburger svg {
    display: none;
}
.main-navigation {
    float:right;
}
.main-navigation > li {
    display: inline-block;
}
.collapse {
    display: block;
}
.main-navigation li a {
    padding: 1em 0.5em;
}
.collapse+input,
.collapse+input+.main-navigation {
    display: none;
}

.collapse+input+.main-navigation {
    display: inline-block;
}

.collapse+input:checked+.main-navigation {
    display: block;
}
.nav-bar .sub-menu {
    box-shadow: 1px 1px 5px rgba(50, 50, 50, .5);
}
.nav-bar .sub-menu li {
    border-bottom: 1px solid #ccc;
}
.nav-bar {
    display: block;
}
.nav-bar .sub-menu {
    display: none;
    list-style-type: none;
    padding-left: 0;
}
.nav-bar>ul>li {
    position: relative;
    white-space: nowrap;
}
.nav-bar>ul>li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 45%;
    left: 0;
    -webkit-transition: .3s .3s;
    transition: .3s .3s;
    z-index: 1000;
}
.nav-bar>ul>li:hover ul {
    visibility: visible;
    opacity: 1;
    background: #fff;
    z-index: 1000;
    top: 100%;
    color: #000;
    -webkit-transition-delay: .1s;
    transition-delay: .1s;
}
.nav-bar>ul>li>ul {
    list-style-type: none;
    padding-left: 0;
}
.nav-bar>ul>li>ul li {
    text-align: left;
}
.nav-bar>ul>li>ul>li a {
    border-left: 4px solid transparent;
    z-index: 1000;
}
.nav-bar>ul>li>ul>li a:hover {
    z-index: 1000;
    border-left: 4px solid #9fd314;
    background: #f4f4f4;
    text-decoration: none;
}
.nav-bar>ul li>a:after,
.nav-bar>ul>li>a:after {
    content: ' \25BC';
    font-size: .25em;
}
.nav-bar>ul li>a:only-child:after {
    content: '';
}
.nav-bar .sub-menu {
    display: block;
}
.nav-bar {
    clear:both;
    margin: 1em auto;
}
.main-navigation,
.popover-container {
    position: relative;
}
.main-navigation a {
    padding: 1em;
    display: block;
    text-decoration: none;
}
.main-navigation a:hover {
    background: #fff;
    text-decoration: underline;
}
.contact-group,
.social-icons {

}

.social-icons {
    display: inline-block;
}
.social-icons li {
    display: inline-block;
    margin-top: -10px;
}
.icon,
a.social-icon {
    display: inline-block;
}
.thumbprint-button,
.thumbprint-button-group {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}
.thumbprint-button li,
.thumbprint-button-group li {
    display: block;
}
.thumbprint-button a,
.thumbprint-button-group a {
    padding: 1.25em 1em;
    font-size: 1.25em;
    background: url(../images/jamartin-pattern-green.svg) bottom #9fd314;
    display: block;
    margin-bottom: 4px;
    text-align: center;
    color: #fff;
    text-decoration: none;
}
.thumbprint-button a:hover,
.thumbprint-button-group a:hover {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    color: #fff;
}
.footer-navigation {

}
.footer-navigation ul {
    padding-left: none;
    margin-left: 0;
    list-style-type: none;
}
.footer-navigation li {
    display: inline-block;
}
.footer-navigation a {
    font-size: 9pt;
}
.readmore-link {
    display: block;
    padding: .5em;
    border: 1px solid #efefef;
}

}
.logo-oots {
    width: 150px;
    height: 50px;
}
.contact-group {
    display: inline-block;
}
.contact-group address {
    padding: .5em;
    float: left;
}
.hide {
    opacity: 0;
}

.content {
    float: left;
    width: 67%
}

.sidebar {
    float: left;
    width: 25%;
    padding-left: 3%
}

.site-search__button {
    background: $accent;
    border: 2px solid $accent;
    color: white;

    padding: 0.5em 0;
    width: 25%;
    float:left;
}

.site-search__button:hover {
    background: gray;
    border: 2px solid gray;
}
.site-search__box {
    text-indent: 1em;
    padding: 0.5em 0;
    width: 70%;
    float:left;
}

.site-search {
    display:block;
    padding-top: 1em;
    padding-bottom: 3em;
    margin-bottom: 1em;
    width: 100%;
}
.gform_wrapper input[type=email],
.gform_wrapper input[type=text],
.gform_wrapper textarea {
    border-radius: 4px;
    padding: .5em 1.3%!important;
    display: block;
    width: 95%!important;
    border: 1px solid #8b8b8b;
}
.gform_wrapper input[type=submit] {
    padding: 10px 35px;
    border: 0;
    background: #9fd314;
    font-size: 1.5em;
    border-radius: 4px;
    color: #fff;
}
.gform_wrapper input[type=submit]:hover {
    background: #8b8b8b;
}
.gform_wrapper .ginput_complex .ginput_left,
.gform_wrapper .ginput_complex .ginput_right {
    width: 100%!important;
}
.gform_wrapper label {
    font-size: 75%
}
.search__follow-up--wrapper {
    margin-bottom: 1em;
}
.gform_wrapper input[type=email]:focus,
.gform_wrapper input[type=text]:focus,
.gform_wrapper textarea:focus,
.hasFocus {
    border: 1px solid #9fd314;
}
.popover-container .popover {
    display:none;
}
.popover-container .popover:before {
    display: none;
}
.popover-container:hover .popover {
    display: none;
}
.client-logo-grid,
.site-footer .footer-flex-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
}
.twitter-link {
    color: #9fd314;
}
html {
    border-top: 8px solid #9fd314;
}
body {
    font-family: 'Helvetica Neue',
    sans-serif;
    margin-top: 1em;
    font-weight: 200;
    color: #606060;
    background-color: #fff;
}
body a {
    color: #8b8b8b;
    text-decoration: underline;
}
.thumb-card a,
body a:hover {
    text-decoration: none;
}
body a:hover {
    color: #8b8b8b;
    cursor: pointer;
}
.wrapper {
    width: 60em;
}
.subpage-feature-image {
    max-height: 360px;
    overflow: hidden;
}
.subpage-feature-image {
    position: relative;
    width: 100%;
    margin: 0 0 1em;
}
.subpage-feature-image img {
    width: 100%;
    height: auto;
}
.site-logo  {
    float:left;
}
.arrow-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000;
}
.site-footer {
    clear: both;
    padding: 1em;
    background: #606060;
    color: #fff;
}
.site-footer .footer-flex-group {
    display:block;
}
.main-gallery {
    background: #000;
    /*height: 360px;*/
    margin-bottom: 1em;
}
.gallery-cell {
    height: 100%
}
/*.gallery-cell figcaption {
    position: relative;
    border-left: 2px solid #9fd314;
    padding: .1em 2em;
    background: rgba(0,0,0,.65);
    color: #fff;
}*/

.thumb-card img {
    min-width: 100%;
}
.thumb-card {
    border: 1px solid #efefef;
    margin: 0 0.25em 1em 0;
    width: 30%;
    float: left;
}

.thumb-card:hover {
    box-shadow: none;
}

.thumb-card img {
    width: 100%;
    height: auto;
}
.thumb-card figcaption {
    padding: 0 .75em;
}
.thumb-card figcaption p {
    font-size: 90%;
}
.thumb-card-group {
    display: block;
}
.readmore-link {
    border: none;
}
.client-logo-grid {
    display: block;
}
.client-logo {
    display: -ms-flexbox;
    display: inline-block;
}
.client-logo:hover {
    cursor: pointer;
    background: #efefef;
}
.client-logo__image {
    width: 100%;
    height: auto;
}
.client-logo__title {
    text-align: center;
    margin: 0 auto;
    font-weight: 700;
}
.staff-role {
    color: #8dbc12;
    font-size: 85%;
}
.staff-name {
    margin: .25em 0;
}
.contact-details {
    font-size: 95%;
    line-height: 1.5em;
    float:left;
}
.social-media-widget {
    max-width: 260px;
    float:left;
}
.site-footer .site-logo {
    display: none;
}
.colophon {
    display: block;
    clear: both;
}
.find-us {

    display: inline-block;
    text-align: left;
    margin: 0;
    padding: 0 0 1em 0;

}
