
/*----- begin page styles----- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Lato;
    color: #666;
    font-weight: 500;
}
    
h1 {
    letter-spacing: -0.48px;
    font-size: 48px;
    font-style: italic;
    font-weight: 900;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 10px;
}

.heading--underline {
    letter-spacing: -0.26px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 8px;
}

.heading--sm-bottom-margin {margin-bottom: 4px;}

p, 
li {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    /* line-height: 1.36; */
    line-height: 1.5;
    letter-spacing: -0.19px;
    color: #666;
}

.spaced-list li {margin-bottom: 10px;}
.spaced-list li:last-child {margin-bottom: 0;}

/* 
a {color: #337ab7;}
*/

.more-news {
    font-weight: 700;
    letter-spacing: -0.19px;
}

/* ----- for Google search box in page contents ----- */

@media (min-width: 992px) {
    #_google_searchbox1 .btn-primary {background-color: #355997;}
    #txtSearchbox {font-weight: normal;}
}

/*----- accordion styles -----*/
    
.panel-plus-link {padding: 0 10px;}

.panel-plus-link a {padding-top: 0 !important; padding-bottom: 0px !important;}

.panel-heading {font-size: 16px;}

.panel-heading.panel-plus-link > a, .panel-heading-link > a {padding-left: 0px;}

.panel-group .panel > .panel-heading.panel-plus-link a.collapsed:before {
    font-size: 16px;
    float: right;
}

.panel-group .panel > .panel-heading.panel-plus-link a:before {
    font-size: 16px;
    float: right;
}

.panel-heading.panel-plus-link h2 > a,
.panel-heading.panel-plus-link h3 > a {
    padding-left: 0;
    width: 100%; 
    display: block; 
}

.panel-plus-link h2 {font-size:40px;}
.panel-plus-link h3 {font-size: 1.2em;}

@media screen and (max-width:768px) {
    .panel-plus-link h2 {font-size: 1.7em;}
    .panel-plus-link h3 {font-size: 1.4em;}
}

.panel-default .panel-heading, .panel-default .panel-footer {
    padding-top: 7px;
    padding-bottom: 7px;
}

/*
.sidebar-nav {
   font-size: 1.1em;
  }
*/

.dot-section__divider {
    border: 1px solid #ccc;
    margin: 20px 0;}

/* ----- DOT home page carousel ----- */

.dot-home-slider .carousel-section {margin-bottom: 0;}
.dot-home-slider .carousel-indicators {bottom: 0;} /* places indicator dots below images */

@media (min-width: 991px) {
    .dot-home-slider .carousel-inner .row {margin-right: 30px}
    .dot-home-slider .carousel-control {width: 5%;}
    .dot-home-slider .carousel-caption {margin-right: 15px;}
}

.dot-home-slider h1 {
    letter-spacing: normal;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    border-bottom: none;
    padding-bottom: 0;
}

.dot-home-slider .carousel-caption,
.dot-home-slider .carousel-text p {
        color: #fff;
        text-shadow: none;
}

.dot-home-slider .carousel-caption a {
    color: #fff;
    text-decoration: underline;
}
.dot-home-slider .carousel-caption a:hover {font-weight: bold;}

/* ----- DOT home page ----- */

.DOT-home-news h2 {font-weight: 500;}

/* ----- DOT home page Twitter embed ----- */

.fa-twitter-heading {color: #00aeef;}
.twitter-footer {
    display: flex;
    justify-content: space-between;
}

/* ----- DOT home page sections ----- */

.home-sections {
    margin-top: 20px;
    margin-bottom: 6px;
    padding-top: 17px;
    border-top: 1px solid #ccc;
}

.home-sections div + ul {margin-top: 14px;}

.home-sections__header-text a {color: #FFF;}

@media (min-width: 992px) {
    .home-sections__header {position: relative;}
    .home-sections__header-text {
        font-size: 27px;
        font-style: italic;
        font-weight: 700;
        position: absolute; 
        margin: 0;
        bottom: 0;
        background: rgb(0, 0, 0);
        background: rgba(0, 0, 0, 0.6); /* Black see-through */
        text-decoration: none;

        padding: 10px 12px 12px 12px;
        transition: .5s ease;
    }
}

@media (max-width: 991px) {
    .home-sections img {display: none;}
    .home-sections h2 {
        margin-top: 15px;
        margin-left: 0;
        padding: 5px 11px 7px 11px;
        color: #FFF;
        font-size: 27px;
        font-style: italic;
        font-weight: 700;
    }
    .home-sections .ride-heading {background-color: #1e75bf;}
    .home-sections .bike-heading {background-color: #355997;}
    .home-sections .drive-park-heading {background-color: #666;}
    .home-sections .walk-heading {background-color: #067022;}
    /*   Green  background-color: #00842E; */
}
.home-sections__link {
    font-size: 14px;
    font-family: Lato;
    font-weight: 700;
    }

#news li {
    line-height: 1.36; 
    margin-bottom: 10px;
}
    
.home-sections li {margin-bottom: 5px;}

/* ----- Carousels for landing pages ----- */

/*
.dot-carousel .glyphicon-chevron-right,
.dot-carousel .glyphicon-chevron-left {
    margin-top: -70px;
}
*/

.dot-carousel .carousel-indicators {
    width: 45%;
    left: 58%;
    background-color: rgba(0, 0, 0, 0.5);
}

.dot-carousel .carousel-control {
    margin-top: -60px;
    background-color: rgba(0, 0, 0, 0.6);
}

.dot-carousel .carousel-control.left {
    margin-left: -20px;
}
.dot-carousel .carousel-caption {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 20px;
}
.dot-carousel .carousel-caption p,
.dot-carousel .carousel-caption a {
    color: white;
    margin-bottom: 0;
}
.dot-carousel .carousel-caption a {text-decoration: underline;}
.dot-carousel .carousel-caption a:hover {font-weight: bold;}

/* move indicators below images; change indicator color */
.ride-carousel .carousel-indicators {
    top: auto;
    bottom: -45px;
    background-color: transparent;
}
.ride-carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border: 1px solid #666;
}
.ride-carousel .carousel-indicators .active {background-color: #666;}

/* ----- RIDE ----- */

.ride-top-tier {margin-bottom: 30px;}

.transit-brands {
    display: flex;
    flex-wrap: wrap;
    padding: 6px 0 14px 0;
    border-bottom: solid 1px #ccc;
}

.transit-brands a img {
    height: 40px;
    padding: 0 16px;
    border-right: solid 1px #ccc;
}

.transit-brands a:first-child img {padding-left: 0;}
.transit-brands a:last-child img {padding-right: 0;border-right: none;}

@media (max-width: 991px) {
    .transit-brands {
        justify-content: space-between;
        border-bottom: none;
    }
    .transit-brands a {
        width: 49%;
        height: 90px;
        border: solid 1px #ccc;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }
    .transit-brands a img {
        border: none;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

.ride-links {padding-top: 20px;}

.ride-links ul {
    list-style: none;
    padding-left: 0;
}

.ride-links li {line-height: 2.53; font-weight: 900;}

.landing-resources {
    font-family: Lato;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.1px;
    margin-bottom: 0;
}

.landing-resources__heading {margin-top: 30px; margin-bottom: 6px;}
.landing-resources__heading:first-child,
.landing-resources__heading:only-child {margin-top: 0;}

@media (max-width: 991px) {
    .ride-links li a {
        color: #FFF;
        height: 40px;
        font-size: 15px;
        padding-left: 12px;
        height: 40px;
        background-color: #355997;
        font-weight: 900;
        line-height: 3;
        letter-spacing: -0.1px;
        margin-bottom: 5px;
        display: block;
    }
}

.ride-subscribe-strip {
    display: flex;    
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid #ccc;
    padding: 20px 0 20px 0;
}

.ride-subscribe-strip div:first-child {margin-right: 20px;}

@media (max-width: 991px) {
    .ride-subscribe-strip div {width: 100%; text-align: center;}
    .ride-subscribe-strip div:first-child {margin-right: 0;}
}

.row-dot-promo .promo-item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.row-dot-promo img {
    width: 240px;
    object-fit: cover;
}

.row-dot-promo .promo-text {
    background-color: #f5f5f5;
    padding: 0 10px;
    margin-left: -15px;}

.row-dot-promo .promo-text h2 {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 22px;
}
    
@media (max-width: 991px) {
    .row-dot-promo img {
        width: 100%;
    }
    .row-dot-promo .promo-text {
        margin: 0 15px 10px 15px;
        width: 100%;
    }
}

.ride-resources {line-height: 1.13;}

.ride-resources-items ul {margin-left: -15px;}

/* ----- DRIVE & PARK ----- */

@media (max-width: 991px) {
    .drive-top-tier {margin-bottom: 30px;}
}

.drive-links .park-column {padding-left: 10px;}

.drive-links img, 
.drive-tip-tier img {
    width: 50px;
    margin-bottom: 11px;
}
.drive-links ul {
    list-style: none;
    padding-left: 0;
}

.drive-links a {
    font-family: Lato;
    font-size: 16px;
    font-weight: 900;
    font-style: normal;
    font-stretch: normal;
    line-height: 2.13;
    letter-spacing: -0.11px;
}

.drive-second-tier h2,
.drive-second-tier h3,
.drive-second-tier h4 {margin-top: 0;}

.visionzero__logo-text {
    display: flex;
    margin: 0 0 30px 0;}
@media (max-width: 991px) {
    .visionzero__logo-text {margin-top: 20px;}
}

.visionzero__logo {
    width: 108px;
    margin: 20px 20px 30px 0;
}
.visionzero__logo-text .visionzero__logo {margin-top: 0; margin-bottom: 0;}

.drive-tip-tier {padding-top: 20px; text-align: center;}
.drive-tip-tier__logo {margin-right: 4px;}
.drive-tip-tier__logo:nth-of-type(2) {margin-left: 26px;}
.drive-tip-tier h3,
.drive-tip-tier p {display: inline; margin-right: 2px;}


@media (max-width: 991px) {
    .drive-tip-tier {padding-top: 0; text-align: center;}
    .drive-tip-tier__logo {display: block; margin: 10px auto 0 auto;}
    .drive-tip-tier__logo:nth-of-type(2) {margin-left: auto;}
    .drive-tip-tier h3 {display: block; margin-top: 0}
}


/* ----- BIKE & SCOOTER ----- */

.bike-links img {
    width: 50px;
    margin-right: 4px;
    display: inline;
}
.bike-links img + p {margin-top: 4px;}

@media (max-width: 991px) {
    .bike-links {margin-top: 30px;}
    .bike-second-tier .col-md-3 {margin-bottom: 30px;}
    .bike-second-tier .col-md-3:last-child {margin-bottom: 0;}
}

.bike-tip-tier ul,

/*----- WALK ----- */
@media (max-width: 991px) {
    .walk-carousel {margin-bottom: 30px;}
}

.walkandride__logo-text {
    display: flex;
    margin: 30px 0 30px 0;
    align-items: center;}
@media (max-width: 991px) {
    .walkandride__logo-text {margin-top: 20px;}
}

.walkandride__logo {
    width: 112px;
    margin: 20px 20px 10px 0;
}

.walk-resources-items ul {margin-left: -15px;}

/* used here: /DOT-PedSafety/MontgomeryCountyWalks.html */
.walkandride__logo-text .walkandride__logo {
    margin-top: 0; margin-bottom: 0;
}

/* ----- Follow Us snippet ----- */

.follow-us-snippet {margin-top: 20px;}

.follow-us-snippet__text {
  font-family: Lato;
  font-size: 14px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  margin-right: 10px;
}
.follow-us-snippet__icons i {
    font-size: 20px;
    margin-right: 5px;
}

/* ----- RIDE Subscribe Strip / LANDING PAGES About Strip ------ */

.about-strip {
    border-top: 1px solid #ccc;
    margin: 20px 0 24px 0;
    padding-top: 25px;
    text-align: center;
}

.about-strip h3,
.ride-subscribe-strip h3 {
    font-family: Lato;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 20px;
    letter-spacing: -0.18px;
}
.ride-subscribe-strip h3 {margin-right: 6px;}

.about-strip h3,
.ride-subscribe-strip h3 {display: inline;}

.about-strip ul {    
    list-style: none;
    margin: 0 0 0 10px;
    padding: 0;
    display: inline;
}

@media (max-width: 991px) {
    .about-strip ul,
    .ride-subscribe-strip h3 {display: block;margin-right: 0;margin-bottom: 0;}
}

.about-strip ul > li {
    display: inline-block;
    padding-left: 0;
    margin: 0 7px 5px 0;
}

.about-strip ul > li:after {
    content: "|";
    margin-left: 10px;
    color: #ccc;
}
.about-strip ul > li:last-child:after {
    content: "";
    margin: 0;
}

/* -----GET IT FIXED / SERVICES ----- */

.dot-service-listing .col-xs-6 {padding-right: 0;}
.dot-service-listing ul {
    list-style-type:none;
    padding-left: 0;
}
.dot-service-listing li {margin-bottom: 10px;}
.dot-service-listing li ul {margin: 0 0 10px 66px;}
.dot-service-listing img {width: 50px; margin-right: 10px;}
.dot-service-listing__more {
    font-weight: bold;
    margin:10px 0 20px 0;
}

/* Supplemental styles - redesigned pages, including DOT Contact Us */

.row.equal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* ----- DOT Contact Us page - 311 box ----- */
.call-tip {
    border: 1px solid silver;
        border-left: none; 
        border-right: none; 
    margin: 30px 0;
    padding: 10px;
}
h1 + .call-tip {border-top: none;}
.call-tip p {font-size: 1.2em;}


/*----- end page styles -----*/
