﻿body {
    font-family: "Droid Sans", sans-serif, Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 0.95em;
    line-height: 1.7;
    color: #333;
    background: #fff url(/Themes/BridgeRailFoundation/Content/images/bg-body.jpg) top center no-repeat;
    /*background-size: contain;*/
    /*background-attachment: fixed;*/
}

.container {
    max-width: 990px;
}

a {
    color: #900;
}

a:hover {
    color: #333333;
    text-decoration: none;
}

a:focus,
a:active {
    text-decoration: none;
    outline: none;
}

.content a {
    border-bottom: 1px dotted #900;
}

::-moz-selection {
    /* Code for Firefox */
    color: #fff;
    background: #333;
}

::selection {
    color: #fff;
    background: #333;
}

hr {
    border: none;
    border-top: 1px dotted #999;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Droid Serif", serif;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* fake h1 style for site title */
.h1 {
    font-family: "Droid Serif", sans-serif, Arial, Helvetica, sans-serif;
    background: none;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.8px;
    padding-bottom: 0;
    text-shadow: 0 1px 3px #333;
}

.h1 span {
    line-height: 1.4em;
    font-weight: 600;
    font-size: 40px;
}

/*.h1 a {
        text-decoration: none;
        border: none;
    }*/

h1 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 10px 0 20px 0;
    letter-spacing: -0.5px;
}

body.home h1 {
    font-size: 22px;
}

body.sub h1 {
    font-size: 30px;
    font-weight: normal;
    padding-left: 20px;
    margin-left: -25px;
    border-left: 5px solid #900;
    border-bottom: 1px dotted #ccc;
}

/* targeting blog and newsletter listings */

body.sub ul h1 {
    width: 100%;
    display: static;
    float: none;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: normal;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 10px;
    border-left: none;
    border-bottom: none;
}

h2 {
    background: none;
}

body.sub h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #900;
}

.zone-after-content h2,
.zone-footer h2 {
    color: #900;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.zone-after-content h2 span,
.zone-footer h2 span {
    font-size: 16px;
    font-weight: 400;
}

h3 {
    font-size: 16px;
    font-weight: 700;
}

h3.comment-count,
h3#commenter {
    padding: 5px 10px;
    background: #eee;
}

.zone-aside-first h3 {
    color: #fff;
    font-size: 26px;
    letter-spacing: normal;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
}

table h3 {
    margin: 0;
}

/* footer h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
} */

body.home p.h5 {
    line-height: 1.5em;
    margin-bottom: 30px;
}

/* buttons */

.btn-primary {
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 -1px 0 #000;
    border: none;
    background: #265dc8;
}

.btn-primary:after {
    font-family: FontAwesome;
    font-weight: normal;
    content: "\f18e";
    color: #fff;
    margin-left: 15px;
}

.btn-primary:hover {
    background: #003399;
    /*border: 2px solid #960;*/
}

.btn-primary:active,
.btn-primary:hover:active,
.btn-primary:focus {
    background: #003399;
}

.btn-default {
    font-weight: 700;
    color: #fff;
    text-shadow: 0 -1px 0 #000;
    border: none;
    background: #666;
}

/*.btn-default:after {
        font-family: FontAwesome;
        font-weight: normal;
        content: "\f18e";
        color: #fff;
        margin-left: 15px;
    }*/

.btn-default:hover {
    color: #fff;
    background: #555;
    /*border: 2px solid #960;*/
}

.btn-default:active,
.btn-default:hover:focus,
.btn-default:focus {
    background: #555;
}

.zone-navigation {
    /*float: left;*/
    /* background: red; */
}

.navbar-brand {
    float: left;
}

.navbar-brand img {
    width: 100%;
    height: auto;
}

.container-navbar>.row>div:last-child {
    margin-left: -15px;
}

.navbar-nav {
    float: left;
    width: 100%;
    position: relative;
    margin-top: 20px;
    /* margin-left: -47px; */
    padding-left: 15px;
    /* background: #444; */
}

.navbar-nav::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: -50px;
    z-index: -1;
    background: #444;
}

.navbar-nav .nav-item {
    flex-grow: 1;
    width: 16.6666667%;
    /* float: left;
    display: block; */
    position: relative;
}

.navbar-nav .nav-item:hover {}

.navbar-nav .nav-item a {
    font-size: 0.85em;
    /*font-weight: 600;*/
    /*letter-spacing: 0.05em;*/
    color: #fff;
    /* float: left; */
    display: block;
    /* width: 90px; */
    padding: 5px 0 0 5px;
    height: 80px;
}

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item:hover>a {
    border-top: 4px solid #900;
    background: #333333;
    background: -moz-linear-gradient(top, #333333 0%, #444444 100%);
    background: -webkit-linear-gradient(top, #333333 0%, #444444 100%);
    background: linear-gradient(to bottom, #333333 0%, #444444 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#444444', GradientType=0);
}

.navbar-nav .nav-item ul {
    display: none;
    z-index: 10;
    padding: 0;
}

.navbar-nav .nav-item:hover ul {
    display: block;
    position: absolute;
    top: 80px;
    left: 0;
    -webkit-box-shadow: 0 5px 5px 0 #666;
    box-shadow: 0 5px 5px 0 #666;
    background: #333;
}

.navbar-nav .nav-item:hover ul .nav-item {
    float: none;
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item:hover ul .nav-item a {
    float: none;
    display: block;
    width: 250px;
    height: auto;
    line-height: 35px;
    text-indent: 10px;
}

.navbar-nav .nav-item:hover ul .nav-item a:hover {
    border-top: none;
    background: #222;
}

.navbar-nav .nav-item:hover:last-child ul {
    left: auto;
    right: 0;
}

/* content */

.content {}

body.home .content {}

body.sub .content {}

.content>.container {
    padding: 15px 25px;
    background: #fff;
    -webkit-box-shadow: 0 -10px 10px 0 #999;
    box-shadow: 0 -10px 10px 0 #999;
}

body.sub .content>.container {
    /*margin-top: 100px;*/
    margin-top: 30px;
}

body.sub .content h1:first-child {
    /*position: absolute;
    top: -100px;*/
}

header {}

.zone-before-main {
    height: 350px;
    padding-top: 100px;
}

.zone-content {}

.zone-content p {
    margin-bottom: 2rem;
}

.zone-content img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.zone-after-content,
.zone-footer {
    padding: 40px 20px 20px 20px;
}

.zone-after-content i,
.zone-footer i {
    color: #900;
}

.zone-after-content p,
.zone-footer p,
.zone-footer address {
    line-height: 1.1em;
    padding-left: 50px;
    padding-right: 40px;
}

/*.zone-aside-first:before {
        font-family: FontAwesome;
        content: "\f05a";
        display: block; 
        color: red;
        width: 100px;
        height: 100px;
        position: static;
        margin: 0 auto 0 auto;
    }*/

.fa-stack {
    display: block;
    /*color: red;*/
    /*width: 100px;
        height: 100px;*/
    /*position: static;*/
    margin: -15px auto -35px auto;
}

.zone-aside-first {
    margin: 0;
    padding-top: 80px;
    padding-bottom: 50px;
    background: #333;
}

.widget-aside-second {
    padding: 15px 15px;
    border: 1px solid #ccc;
}

.widget-aside-second p {
    font-size: 0.8em;
    line-height: 1.4em;
}

.content img {
    /*width: 100%;*/
    /*height: auto;*/
    /* margin-bottom: 25px; */
    border: 5px solid #fff;
    -webkit-box-shadow: 0 10px 10px 0 #ccc;
    box-shadow: 0 10px 10px 0 #ccc;
    /*border: 5px solid white;
    -webkit-border-radius: 150px;
    border-radius: 200px;
    -webkit-box-shadow: 0 10px 10px 0 #ccc;
    box-shadow: 0 10px 10px 0 #ccc;*/
}

.content .card {
    float: left;
    padding: 15px 20px;
    border-left: 2px solid #666;
    margin-top: 0.5em;
    margin-right: 2em;
    margin-bottom: 1.5em;
    -webkit-box-shadow: 0 10px 10px 0 #ccc;
    box-shadow: 0 10px 10px 0 #ccc;
}

/* ul list */

/*.content ul {
    list-style: none;
    padding-left: 10px;
}

    .content ul li:before {
        font-family: FontAwesome;
        content: "\f138";
        margin-right: 10px;
        color: #003399;
    }*/

/* forms - orchard styling */

/* blogs and newsletters home page */

.widget-latest-blog header h1,
.widget-latest-newsletter header h1 {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.widget-latest-blog ul {
    list-style: none;
    padding: 0 0 0 15px;
}

.widget-latest-blog ul h1 {
    float: none;
    display: block;
    width: 100%;
    font-size: 18px;
    margin-bottom: 5px;
}

.widget-latest-newsletter .newsletter-posts h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 10px 0 5px 0;
    letter-spacing: -0.5px;
}

.widget-latest-blog .published strong,
.widget-latest-newsletter .newsletter-posts .newsletter-url a {
    font-size: 13px;
    font-weight: normal;
    line-height: normal !important;
}

.newsletter-posts .newsletter-date {
    font-size: 0.8rem;
}

/* blogs and newsletters main listing page */

article.blog ul.blog-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

article.blog ul.blog-posts li {
    margin: 0;
    padding: 0;
    border-bottom: 1px dotted #ccc;
}

article.blog ul.blog-posts li .row {
    margin-left: 0;
    margin-right: 0;
    padding: 10px 0 15px 0;
}

article.blog ul.blog-posts .published {
    width: 100%;
    display: block;
    position: static;
}

article.blog ul.blog-posts .published strong {
    font-weight: normal;
    /* font-size: 0.85em; */
    color: #666;
}

article.blog ul.blog-posts .tags {
    display: none;
    font-size: 0.85em;
    color: #999;
}

.newsletter-posts .newsletter-url {
    display: none;
}

/* blogs and newsletters sidebar widget */

.widget-sidebar-recent-blogs header h1,
.widget-sidebar-recent-newsletters header h1 {
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    border: none;
    margin: 0 0 15px -20px;
}

body.sub .widget-sidebar-recent-blogs ul.blog-posts h1,
body.sub .widget-sidebar-recent-newsletters h2 {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.widget-sidebar-recent-blogs ul.blog-posts {
    list-style: none;
    padding: 0;
}

.widget-sidebar-recent-blogs ul.blog-posts li {
    padding: 5px 10px 5px 0;
}

.widget-sidebar-recent-blogs ul.blog-posts li .row {
    margin-left: 0;
    margin-right: 0;
}

.widget-sidebar-recent-blogs ul.blog-posts .published strong,
.widget-sidebar-recent-newsletters .newsletter-date {
    font-weight: normal;
    font-size: 0.8em;
    line-height: 10px !important;
}

.widget-sidebar-recent-blogs ul.blog-posts p,
.widget-sidebar-recent-newsletters .newsletter-url {
    display: none;
}

.pager {
    float: left;
    padding: 0;
    margin-top: 30px;
    list-style: none;
}

.pager li {
    display: inline-block;
}

.pager li a,
.pager li span {
    display: block;
    padding: 2px 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.pager li span {
    border-width: 2px;
    border-color: #666;
}

.pager li span {
    font-weight: bold;
}

.pager li.first a {}

.pager li.last a {}

.pager li a:hover {
    border: 1px solid #900;
}

/* FORM
-------------------------------------------------- */

fieldset {
    margin-bottom: 20px;
}

legend {
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 10px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #333;
}

label {
    float: left;
    text-align: right;
    width: 35%;
    padding-top: 5px;
    color: #666;
}

fieldset input[type="text"],
fieldset input[type="email"],
fieldset input[type="tel"],
fieldset input[type="password"],
fieldset select,
fieldset textarea {
    float: left;
    width: 50%;
    margin-left: 2%;
    display: block;
    /*width: 100%;*/
    height: 34px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #333;
    background-color: #eee;
    background-image: none;
    border: none;
    border-top: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s,
        -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

fieldset input[type="checkbox"],
fieldset input[type="radio"] {
    margin-right: 5px;
}

fieldset textarea {
    height: 100px;
}

fieldset div {
    float: left;
    width: auto;
    margin-left: 2%;
}

fieldset div input {
    float: left;
}

fieldset div label {
    float: left;
    text-align: right;
    width: auto;
    padding-top: 5px;
    margin-right: 10px;
}

.hint {
    float: left;
    width: 60%;
    margin-left: 27%;
    display: block;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #737373;
}

.btn,
button,
input[type="submit"] {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 13px;
    letter-spacing: 0.1px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #eee;
    background-color: #900;
    border-color: #900;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.btn:active,
button:active,
input[type="submit"]:active,
.btn:focus,
button:focus,
input[type="submit"]:focus {
    color: #fff;
}

.submit-button {
    float: right;
    margin-top: 10px;
}

.submit-button:after {
    clear: both;
    display: table;
    content: " ";
}

/* recaptcha */

.g-recaptcha {
    margin-left: 35.3%;
}

/* login form */

fieldset.login-form ol {
    list-style: none;
    padding: 0;
}

fieldset.login-form li {
    clear: both;
    float: left;
    width: 100%;
    margin-bottom: 15px;
}

fieldset.login-form li input[type="checkbox"] {
    margin: 10px 0 0 15px;
}

fieldset.login-form li .field-validation-error {
    margin-left: 37%;
}

fieldset.login-form button[type="submit"] {
    margin-left: 37%;
}

/* .widget-footer .row>div[class*="col-"] {
    min-height: 150px;
}

.widget-footer .row>div[class*="col-"]:first-child,
.widget-footer .row>div[class*="col-"]:nth-child(2) {
    border-right: 1px dotted #999;
}

footer {
    padding-top: 40px;
    padding-bottom: 150px;
    background: #ddd;
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul>li {
    margin-bottom: 10px;
}

footer ul>li>a {
    font-size: 1.2em;
    display: block;
    padding: 0 0;
}

footer ul>li:last-child>a {
    border: none;
}

footer ul>li>a:hover {}

footer small.text-muted {
    display: block;
    margin: 30px auto;
    text-align: center;
    font-size: 0.75em;
    padding-left: 15px;
} */

footer {
    padding-bottom: 150px;
}

.zone-footer ul {
    padding: 0 0 0 48px;
    list-style: none;
}

.zone-footer ul>li {
    margin-bottom: 5px;
}

.zone-footer ul>li>a {
    font-size: 1em;
    display: block;
    padding: 0 0;
}

.zone-footer ul>li>a>i {
    font-size: 1em;
}

.zone-footer ul>li:last-child>a {
    border: none;
}

.zone-footer ul>li>a:hover {}

@media (max-width: 990px) {
    .navbar-nav {
        margin-top: 10px;
    }

    .navbar-nav .nav-item a {
        font-size: 0.68em;
        padding: 10px 0;
        line-height: normal;
    }
}

@media (max-width: 767px) {
    .container-navbar>.row>div:last-child {
        margin-left: 0;
    }

    .navbar-toggler {
        float: right;
        font-size: 0.8em;
        margin: 20px 0 0 0 !important;
        background: #555;
    }

    .navbar-toggler span {
        margin-right: 10px;
    }

    .navbar-toggler:active+.collapse {
        /*visibility: visible !important;*/
    }

    /* remove the animation */
    /* http://stackoverflow.com/questions/13119912/disable-bootstraps-collapse-open-close-animation */
    .collapsing {
        -webkit-transition: none;
        transition: none;
    }

    .collapse.show {
        z-index: 1;
        float: none;
        margin: 0;
        padding: 50px 0 0 0;
        position: fixed;
        overflow-y: auto;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        color: white;
        background: #333;
    }

    .collapse>span {
        display: block;
        position: static;
        padding: 15px;
        text-align: center;
    }

    .collapse>i {
        position: fixed;
        font-size: 1.5em;
        cursor: pointer;
        top: 20px;
        right: 20px;
        color: #ccc;
    }

    .navbar-nav {
        float: none;
        margin-top: 20px;
        margin-left: auto;
        padding-left: 0;
        background: #444;
    }

    .navbar-nav .nav-item {
        flex-grow: unset;
        width: 100%;
        float: none;
        display: block;
        position: static;
    }

    .navbar-nav .nav-item:hover {}

    .navbar-nav .nav-item a {
        font-size: 0.85em;
        /*font-weight: 600;*/
        /*letter-spacing: 0.05em;*/
        color: #fff;
        border-bottom: 1px solid #666;
        float: none;
        display: block;
        position: static;
        width: auto;
        padding: 10px;
        height: auto;
        border-left: 5px solid #900;
    }

    .navbar-nav .nav-item a:hover,
    .navbar-nav .nav-item:hover>a {
        border-top: none;
        background: #333333;
        background: -moz-linear-gradient(top, #333333 0%, #444444 100%);
        background: -webkit-linear-gradient(top, #333333 0%, #444444 100%);
        background: linear-gradient(to bottom, #333333 0%, #444444 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#444444', GradientType=0);
    }

    .navbar-nav .nav-item ul {
        display: none;
        z-index: 10;
        padding: 0;
    }

    /* RESET Hover */
    .navbar-nav .nav-item:hover ul {
        display: block;
        position: static;
        top: auto;
        left: 0;
        background: #333;
    }

    .navbar-nav .nav-item:hover ul .nav-item {
        float: none;
        display: block;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .navbar-nav .nav-item:hover ul .nav-item a {
        float: none;
        display: block;
        width: auto;
        height: auto;
        line-height: normal;
        padding: 10px;
        text-indent: 15px;
        border-bottom: 1px solid #666;
        border-left: 5px solid #999;
    }

    .navbar-nav .nav-item:hover ul .nav-item a:hover {
        border-top: none;
        background: none;
    }

    /* APPLY active for mobile touch*/
    .navbar-nav .nav-item:active ul {
        /* RESET all dropdown ULs to display none first */
        display: none;
        position: static;
        top: auto;
        left: auto;
        background: #444;
    }

    .navbar-nav .nav-item:active>ul {
        /* then apply display block to :active > ul (direct child) */
        display: block;
        position: static;
        top: auto;
        left: auto;
        background: #444;
    }

    .navbar-nav .nav-item:active>ul .nav-item {
        float: none;
        display: block;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .navbar-nav .nav-item:active>ul .nav-item a {
        float: none;
        display: block;
        width: auto;
        height: auto;
        line-height: normal;
        padding: 10px;
        text-indent: 15px;
        border-bottom: 1px solid #666;
        border-left: 5px solid #999;
    }

    .navbar-nav .nav-item:active>ul .nav-item a:hover {
        border-top: none;
        background: #222;
    }


    body {
        background-position: top right;
    }

    /* fake h1 style for site title */
    .h1 {
        font-family: "Droid Serif", sans-serif, Arial, Helvetica, sans-serif;
        background: none;
        font-size: 24px;
        font-weight: 400;
        color: #fff;
        letter-spacing: -0.8px;
        padding-bottom: 0;
        text-shadow: 0 1px 3px #333;
    }

    .h1 span {
        line-height: 1.4em;
        font-weight: 600;
        font-size: 24px;
    }

    /*h1 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 10px 0 20px 0;
    letter-spacing: -0.5px;
}*/

    body.home h1 {
        font-size: 22px;
    }

    body.sub h1 {
        font-size: 18px;
        font-weight: 800;
        padding-left: 20px;
        margin-left: -25px;
        border-left: 5px solid #900;
        border-bottom: 1px dotted #ccc;
    }

    .zone-before-main {
        height: 350px;
        padding-top: 75px;
    }

    .zone-after-content {
        padding-bottom: 0;
    }

    .widget-after-content>div>div,
    .widget-footer>div>div {
        padding-bottom: 30px;
    }

    /* forms */

    label {
        text-align: left;
        width: 100%;
    }

    fieldset input[type="text"],
    fieldset input[type="email"],
    fieldset input[type="tel"],
    fieldset input[type="password"],
    fieldset select,
    fieldset textarea {
        width: 100%;
        margin-left: 0;
    }

    fieldset input[type="checkbox"],
    fieldset input[type="radio"] {
        margin-right: 5px;
    }

    fieldset textarea {
        height: 100px;
    }

    fieldset div {
        margin-left: auto;
    }

    fieldset div input {
        float: left;
    }

    fieldset div label {
        text-align: left;
    }

    .hint {
        width: 100%;
        margin-left: 0;
    }

    button,
    input[type="submit"] {
        display: block;
        position: static;
    }

    /* recaptcha */

    .g-recaptcha {
        margin-left: 0;
    }
}

@media (max-width: 414px) {
    .content img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 768px) {}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}