
/* GENERIC */
body,
input {
    font-family: "Avenir Next", Arial, Helvetica, sans-serif;
}
h1 strong {
    font-weight: 600;
}
a,
a span {
    color: #30B566;
    -webkit-transition: all .15s;
    -moz-transition: all .15s;
    -o-transition: all .15s;
    transition: all .15s;
}
/* remove default webkit input shadow */
input,
textarea {
    -webkit-appearance: none;
}
/* HEADER */
#mainNav .brand span {
    background: url(https://transitapp.com/img/4.0/logos/transit.svg) no-repeat 0 0;
    background-size: 100%;
    display: inline-block;
    height: 22px;
    text-indent: -9000px;
    width: 100px;
}

.navbar-inner{
    padding: 50px 0 50px;
}

.navbar-inner{
    padding-left: 20px;
    padding-right: 20px;
}

.navbar .brand {
    padding: 15px 20px 15px 0;
}
.navbar .nav a {
    font-size: 15px;
    font-weight: 700;
}
.navbar .nav li a,
.navbar .icon-private-w {
    color: #FFFFFF;
}
.navbar .nav li a {
    padding: 14px 15px;
}
.navbar .btn-navbar .icon-bar {
    background: #fff;
    box-shadow: none;
}

/* HOME */
.category-list.two-col .category {
    padding: 96px 40px 20px;
    width: 48.2%;
}

.category-list .category {
    background-color: #fff;
    background-position: top 34px center !important;
    background-repeat: no-repeat !important;
    background-size: 50px 50px !important;
    box-shadow: 0 7px 4px -5px rgba(0,0,0,0.05);
    box-sizing: border-box;
    min-height: 183px;
    padding: 96px 20px 20px;
    position: relative;
    width: 31.5%;
    transition: all 0.2s;
}

#collection-category-8 .category-list .category {
    padding: 20px;
}

/* Help Desk collection icons
#category-6 {
  background-image: url(http://i.imgsafe.org/182ae68429.png);
}

#category-12 {
  background-image: url(http://i.imgsafe.org/17f4c3a165.png);
}

#category-16 {
  background-image: url(http://i.imgsafe.org/179f879216.png);
}

#category-13 {
  background-image: url(http://i.imgsafe.org/179f958424.png);
}

#category-14 {
  background-image: url(http://i.imgsafe.org/17fa5e847f.png);
}

#category-15 {
  background-image: url(http://i.imgsafe.org/17c4f5ba31.png);
}

#category-35 {
  background-image: url(http://i.imgsafe.org/179f8c1618.png);
}

*/


#category-78, #category-156, #category-351  {
    background-image: url(https://transitapp.com/img/help/basics.svg);
}

#category-83, #category-160, #category-352 {
    background-image: url(https://transitapp.com/img/help/bus.svg);
}

#category-79, #category-161, #category-353 {
    background-image: url(https://transitapp.com/img/help/directions.svg);
}

#category-439, #category-438, #category-468 {
    background-image: url(https://transitapp.com/img/help/royale.svg);
}

#category-81, #category-157, #category-354  {
    background-image: url(https://transitapp.com/img/help/ticket.svg);
}

#category-80, #category-159, #category-355 {
    background-image: url(https://transitapp.com/img/help/beyond.svg);
}

#category-82, #category-158, #category-356 {
    background-image: url(https://transitapp.com/img/help/gear.svg);
}

#category-84, #category-162, #category-357 {
    background-image: url(https://transitapp.com/img/help/transit.svg);
}

#category-118, #category-359 {
    background-image: url(https://transitapp.com/img/help/fr.svg);
}

#category-163, #category-358 {
    background-image: url(https://transitapp.com/img/help/en.svg);
}

#category-365, #category-345 {
    background-image: url(https://transitapp.com/img/help/es.svg);
}

/* Old categories */

#category-13 {
    background-image: url(https://transitapp.com/img/help/go.svg);
}

#category-14 {
    background-image: url(https://transitapp.com/img/help/service.svg);
}

#category-35 {
    background-image: url(https://transitapp.com/img/help/french.svg);
}

#category-12 {
    background-image: url(https://transitapp.com/img/help/nearby.svg);
}

#category-16 {
    background-image: url(https://transitapp.com/img/help/directions.svg);
}

#category-80 {
    background-image: url(https://transitapp.com/img/help/beyond.svg);
}




.category-list .category:hover {
    background-color: #fff;
    -webkit-box-shadow: 0 9px 20px -8px rgba(0,0,0,0.15);
    -moz-box-shadow: 0 9px 20px -8px rgba(0,0,0,0.15);
    box-shadow: 0 9px 20px -8px rgba(0,0,0,0.15);
}

.category-list .category h2 {
    font-size: 25px;
}

.category-list .category p {
    color: #93A1AF; /* charcoal-200 */
    line-height: 22px;
}

.category-list h3 {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.category-list .category h3 + p {
    min-height: 44px;
}

/* targeting First collection categories only */
.category-list .category:before {
    content:"";
    position: absolute;
    top: -3px;
    height: 3px;
    width: calc(100% + 2px);
    left: -1px;
    right: -1px;
}

#collection-category-8 .category-list .category:nth-child(4n+1):before,
#collection-category-8 .category-list .category:nth-child(4n+2):before,
#collection-category-8 .category-list .category:nth-child(4n+3):before,
#collection-category-8 .category-list .category:nth-child(4n+4):before {
    background: #C1CBD4; /* grey-600 */
}


/* SEARCH */
#searchBar .search-query {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 0;
    height: 60px;
    /*line-height: 62px;*/
    padding-top: 21px;
    padding-bottom: 24px;
}

/* remove shadow on content search box */
#sidebar #searchBar .search-query {
    padding-bottom: 15px;
    padding-left: 14px;
    padding-top: 15px;
    border-radius: 4px;
    box-shadow: none;
    height: 44px;
}
#searchBar .search-query:focus,
#searchBar #sidebar form .search-query:focus {
    border-color: #30B566;
    -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    -moz-box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
#searchBar button {
    background: #1c7f49; /* blue-700 */
    border-color: #1c7f49; /* blue-700 */
    font-family: "Avenir Next", Arial, Helvetica, sans-serif;
    text-shadow: none;
    height: 60px;
    -webkit-transition: background .15s;
    -moz-transition: background .15s;
    -o-transition: background .15s;
    transition: background .15s;
}
input.search-query {
    padding-left: 20px;
    padding-right: 20px;
}
#searchBar button:hover {
    background-color: #239e5b;
    border-color: #239e5b;
}
#serp-dd .result a:hover,
#serp-dd .result > li.active {
    background: #f7f9fa;
}
#docsSearch {
    background: #30B566 url(https://transitapp.com//img/help/bg.png) repeat center center;
    background-size: 1500px;
    border-bottom: 0;
    margin-top: -290px;
    padding: 8em 0 3em;
}



@media (min-width: 768px) {
    #docsSearch {
        padding: 8em 0 8em;
    }
}
#docsSearch h1 {
    color: white;
    font-size: 35px;
    font-weight: 700;
    margin-top: 200px;
    -webkit-font-smoothing: antialiased;
}
#serp-dd {
    border-radius: 5px;
    top: 82px;
}
@media (min-width: 768px) {
    #serp-dd {
        top: 88px;
    }
}
@media (max-width: 480px) and (max-width: 768px) {
    #searchBar button .icon-search {
        position: relative;
        top: 2px;
    }
}
#serp-dd.sb {
    border-radius: 5px;
    top: 48px;
}

/* INTERIOR PAGES */
#main-content {
    background: none;
}
#main-content:after {
    background: #f7f9fa;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
}
.contentWrapper {
    border: 0;
}
#sidebar .nav-list .active a,
#sidebar .nav-list .active a:hover,
#sidebar .nav-list .active a:focus,
#sidebar .nav-list h3 {
    color: #343b41;
    font-weight: 600;
}
#sidebar .nav-list .active a .icon-arrow:before,
#sidebar .nav-list .active a:hover .icon-arrow:before,
#sidebar .nav-list .active a:focus .icon-arrow:before {
    color: #343b41;
}
#sidebar .nav-list a {
    color: #6d7983;
}
#categoryHead h1 {
    color: #343b41;
    margin-bottom: 15px;
}
h1 {
    letter-spacing: -0.5px;
}
.contentWrapper p.descrip {
    color: #6d7983;
    line-height: 26px;
    margin-bottom: 25px;
}
.contentWrapper h1,
#fullArticle h1.title {
    line-height: 1.4em;
}
/* $ARTCILES */
#fullArticle dt {
    background: #3197d1;
}
#fullArticle h4 {
    font-weight: 400;
}
#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle div,
#fullArticle blockquote,
#fullArticle dd,
#fullArticle table {
    color: #4F5D6B; /* charcoal-700 */
    font-size: 16px;
    line-height: 26px;
}
#fullArticle strong {
    color: #4A4D4F;
    font-weight: 600;
}
#fullArticle h1,
#fullArticle h2,
#fullArticle h3,
#fullArticle h4,
#fullArticle h5 {
    color: #253540; /* charcoal-700 */
    margin-bottom: 1em;
    margin-top: 1.5em;
}
#fullArticle h2,
#fullArticle h5 {
    font-weight: 600;
}
#fullArticle h4 {
    font-weight: 500;
}
#fullArticle h1,
#fullArticle h3 {
    font-weight: 400;
}
#fullArticle h3 {
    font-size: 24px;
}
#fullArticle h1.title {
    margin-bottom: 1em;
}
#fullArticle pre,
#fullArticle table {
    margin-bottom: 2.5em;
}
#fullArticle dt {
    font-size: 15px;
    min-width: 9px;
}
#fullArticle table th {
    font-weight: 600;
}
#fullArticle img {
    margin: 2.5em 0;
    border: none;
}
#fullArticle .index-list {
    margin-bottom: 2.5em;
    border-left: 5px solid #AAAEB7;
}
#fullArticle .index-list h4 {
    display: block;
    text-transform: uppercase;
    margin: 0;
    padding: 8px 26px 0;
    font-size: 1em;
    font-weight: 600;
}
#fullArticle .index-list ul {
    list-style: none;
    margin: 1em 25px 0em;
    float: left;
}
#fullArticle .index-list li {
    float: left;
    width: 305px;
}
#fullArticle .index-list:before,
#fullArticle .index-list:after {
    display: table;
    content: "";
    /* Fixes Opera/contenteditable bug:
        /* http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952 */
    line-height: 0;
}
#fullArticle .index-list:after {
    clear: both;
}
#fullArticle .callout-yellow,
#fullArticle .callout-blue,
#fullArticle .callout-red,
#fullArticle .callout-green,
#fullArticle .callout {
    color: #6d767e;
    margin-bottom: 2.5em;
}
#fullArticle .callout-yellow {
    background: #fff7e4;
    border-color: #ffdf92;
}
#fullArticle .callout-blue {
    background: #ecf7ff;
    border-color: #80bfe2;
}
#fullArticle .callout-green {
    background: #e9fceb;
    border-color: #92d7a9;
}
#fullArticle .private-note > :first-child {
    margin-top: 0;
}
#fullArticle .private-note p {
    line-height: 1.6;
}
.icon-article-doc {
    display: none;
}
.related {
    border: 0;
    border-top: 1px solid #eceef0;
    padding: 30px 46px 25px;
}
.articleFoot p, .articleFoot time {
    font-family: "Avenir Next", Arial, Helvetica, sans-serif;
    font-style: normal;
}
.articleFoot p,
#sbContact {
    color: #6d7983;
}
.icon-contact {
    color: #c3c8cb;
}
footer p,
footer p a {
    color: #6d7983;
}
.articleList a {
    margin-left: 0;
}
.articleList li {
    padding-left: 0;
}
.articleList li a:hover span {
    color: #343b41;
    text-decoration: none;
}
#serp .articleList > li {
    padding-left: 0;
}
/* CONTACT FORMS */
#contactModal {
    border: 0;
    border-radius: 4px;
    top: 8%;
}
#contactModal h2 {
    background: 0;
    border: 0;
    font-size: 28px;
    padding: 1em 0 0.25em;
    text-align: center;
}
#contactModal .modal-body {
    padding: 0 6em 0;
    min-height: 525px;
}
#contactModal .control-label {
    float: none;
    text-align: left;
    width: auto;
}
#contactModal .controls {
    margin: 0;
}
#contactModal #md-message {
    height: 80px;
    width: 400px;
}
#contactModal .form-actions {
    padding: 0;
    margin: 15px auto 20px;
    text-align: center;
}
#contactModal .icon-close:before {
    color: #c6c8ca;
}
#contactModal .controls input,
#contactForm .controls input {
    box-shadow: none;
    height: 25px;
    width: 400px;
}
#contactForm .control-group,
#contactModal .control-group {
    margin-bottom: 10px;
}
#contactModal .controls input:focus,
#contactModal #md-message:focus,
#contactForm .controls input:focus,
#contactForm #message:focus {
    border-color: #cccccc;
    box-shadow: none;
}
#contactModal #md-message,
#contactForm #message {
    box-shadow: none;
}
#contactModal .form-actions input,
#contactForm .form-actions input {
    background: #30B566;
    border: 0;
    color: #fff;
    font-size: 13px;
    padding: 10px 25px;
    text-shadow: none;
    text-transform: uppercase;
}
#contactForm:before {
    color: #343b41;
    content: "How can we help?";
    font-size: 30px;
    font-weight: 400;
    display: block;
    line-height: 45px;
    margin-bottom: 1em;
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar .btn-navbar {
        margin-top: 16px;
        right: -10px;
    }
    .related {
        padding: 30px 25px 25px;
    }
    .related ul {
        margin-left: 0;
    }
    .related h3 {
        padding-left: 0;
    }
    .related ul > li a {
        margin-left: 0;
    }
}

/* Fix for making homepage category gallery go smoothly from 3 to 2 to 1 column */
@media screen and (max-width: 1105px) {
    section.category-list .category {
        width: 48.2%;
    }
}
@media screen and (max-width: 760px) {
    section.category-list .category {
        box-sizing: border-box;
        margin: 0 0 20px;
        padding: 96px 20px 20px;
        width: 100%;
    }
}

@media(max-width: 480px) {
  #searchBar button {
    background: none;
  }
  #contactForm input[name="upload"] {
      width: 95%;
  }

  section#docsSearch {
    padding-bottom: 1em;
    padding-top: 7em;
  }

  .navbar .navbar-inner {
    padding: 12px 20px;
  }

  .navbar .btn-navbar {
    margin-top: 10px;
  }

  .category-list a.category {
    background-position: left 10px top 8px !important;
    background-repeat: no-repeat !important;
    background-size: 32px 32px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 12px 12px;
    min-height: 60px;
  }

  .category-list a.category h3 {
    margin: 0 0 6px 36px;
    text-align: left;
    font-size: 18px;
  }

  .category-list .category p, .category-list .category p.article-count {
    text-align: left;
    margin: 0;
  }

  #docsSearch h1 {
    font-size: 28px;
  }
}

/* Reset styles for Docs Style Guide */
/* http://docs.helpscout.net/article/40-docs-style-guide */
.demo-styles * {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.demo-styles pre {
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
}
/* Headers */
#fullArticle .demo-styles h1,
#fullArticle .demo-styles h2,
#fullArticle .demo-styles h3,
#fullArticle .demo-styles h4,
#fullArticle .demo-styles h5 {
    color: #222;
    font-weight: 700;
    margin-bottom: .65em;
}
#fullArticle .demo-styles h1,
.contentWrapper .demo-styles h1,
#fullArticle .demo-styles h1.title {
    font-weight: 400;
    line-height: 1.2em;
}
#fullArticle .demo-styles h3 {
    font-size: 21px;
}
/* Paragraph */
#fullArticle .demo-styles p,
#fullArticle .demo-styles ul,
#fullArticle .demo-styles ol,
#fullArticle .demo-styles li,
#fullArticle .demo-styles div,
#fullArticle .demo-styles blockquote,
#fullArticle .demo-styles dd,
#fullArticle .demo-styles table {
    color: #585858;
    font-size: 14px;
    line-height: 1.55em;
}
/* Notes */
#fullArticle .callout-blue {
    background: #e8f4ff;
    border-color: #bed1e6;
}
#fullArticle .callout-green {
    background: #e5fadc;
    border-color: #bbdaaf;
}
#fullArticle .callout-yellow {
    background: #fffcd5;
    border-color: #e7dca4;
}
#fullArticle .demo-styles .callout-yellow h3,
#fullArticle .demo-styles .callout-blue h3,
#fullArticle .demo-styles .callout-red h3,
#fullArticle .demo-styles .callout-green h3,
#fullArticle .demo-styles .callout h3,
#fullArticle .demo-styles .private-note h3 {
    font-weight: 400;
}


/* Changes */

.result a {
    color: #343b41;
}

.result a:hover {
    color: #30B566;
}

.control-label label{
    font-size: 14px !important;
}

#fullArticle section.callout-green {
    font-size: 16px !important;
}
