/* --------------------------------------------------
	
	Project Name: Dot Line Transportation - Back40 Design Group
	Developer: Matt Milburn
	Date: October, 2011
	
-------------------------------------------------- */

/*
####################################################################################################
	GLOBAL
####################################################################################################
*/
html {
    background: #0C0D1D;
}

body {
    background: url(/Content/gfx/bg_body.gif) center repeat-y;
    color: #D7CDC1;
    font: 16px/1.7 Arial, Helvetica, sans-serif;
}

a, a:visited {
    color: #F4CA8C;
    text-decoration: underline;
}

    a:hover {
        color: #A78B61;
        text-decoration: none;
    }

h1, #index h2 {
    margin-bottom: 6px;
    color: #ECC894;
    font: bold 24px/1.5 'Palatino Linotype', Georgia, 'Times New Roman', Times, serif;
    text-transform: uppercase;
}

#index h1 {
    border-bottom: 1px solid #383531;
}

#index h1, #index h2 {
    font-size: 20px;
}

h2, h3 {
    color: #987546;
}

h2 {
    font: 18px/1.5 Arial, Helvetica, sans-serif;
}

h3 {
    font: 16px/1.5 Arial, Helvetica, sans-serif;
}

h4, h5, h6 {
    font: bold 14px/1.5 Arial, Helvetica, sans-serif;
}

p, pre, hr, ul, ol, dl, table, fieldset {
    margin-bottom: 16px;
}

h1, h2, h3, h4, h5, h6 {
    padding-bottom: 4px;
}

hr {
    border-color: #383531;
}


/* Icons */
.icon {
    background-color: transparent;
    border: 0;
    color: transparent;
    font: 0/0 a;
    text-shadow: none;
    width: 25px;
    height: 25px;
    display: inline-block;
    background-image: url(/Content/gfx/icons.png);
    background-repeat: no-repeat;
}

.icon-facebook {
    background-position: 0 0;
}

.icon-linkedin {
    background-position: -25px 0;
}

.icon-twitter {
    background-position: -50px 0;
}

/* Social */
.social ul {
    margin: 0 0 10px 0;
    float: right;
}

#inside .social ul {
    position: absolute;
    top: 0;
    right: 0;
}

.social ul li {
    list-style: none;
    display: inline-block;
    margin-left: 3px;
}


.btn-default {
    color: #0b1d69 !important;
    padding: 10px;
    margin-top: 5px;
    display: block;
    background-color: #e3c588;
    font-family: 'Palatino Linotype';
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
}

    .btn-default:hover {
        background-color: #eed9af;
    }




/*
####################################################################################################
	LAYOUT
####################################################################################################
*/

.wrapper {
    padding: 0 20px;
}

    .wrapper.alpha {
        padding-left: 0;
    }

    .wrapper.omega {
        padding-right: 0;
    }

#body-wrapper {
    background: url(/Content/gfx/bg_body_wrapper.jpg) top center no-repeat;
}



/* Header
-------------------------------------------------- */
#header {
    position: relative;
    z-index: 2300 !important; /* IE7 needs !important */
}

#index #header {
    height: 120px;
}

#inside #header {
    height: 100px;
}

/* Header / Logo */
.logo {
    padding: 0;
    position: absolute;
}

    .logo a {
        text-indent: -9999px;
        display: block;
    }

#logo-index a {
    width: 284px;
    height: 120px;
    background: url(/Content/gfx/logo_index.png) center no-repeat;
}

#logo-inside a {
    width: 241px;
    height: 100px;
    background: url(/Content/gfx/logo_inside.png) center no-repeat;
}

/* Header / Login */
.login {
    width: 411px;
    height: 48px;
    margin: 0 -8px 4px 0;
    background: url(/Content/gfx/bg_login.png) top center no-repeat;
    float: right;
    clear: both;
}

    .login dl {
        margin: 0;
        padding: 10px 20px 0 20px;
    }

    .login dt {
        display: none;
    }

    .login dd, .login p {
        margin: 0;
        display: inline;
        float: left;
    }

    .login input {
        border: 0;
        display: inline;
        float: left;
    }

        .login input[type='text'] {
            margin-right: 12px;
        }

.login-field {
    width: 134px;
    height: 20px;
    padding: 0 10px;
    background: url(/Content/gfx/bg_login_field.gif) 0 0 no-repeat;
    color: #C1C1C1;
    font: 12px/20px Arial, Helvetica, sans-serif;
}

.login-btn {
    width: 51px;
    height: 20px;
    background: url(/Content/gfx/bg_login_btn.gif) no-repeat;
    text-indent: -9999px;
}

/* Header / Search */
.search {
    height: 20px;
    margin-bottom: 6px;
    float: right;
    clear: both;
}

    .search p {
        margin: 0;
    }

    .search input {
        border: 0;
        display: inline;
        float: left;
    }

.search-field {
    width: 134px;
    height: 20px;
    margin: 0;
    padding: 0 10px;
    background: url(/Content/gfx/bg_search_field.gif) no-repeat;
    color: #C1C1C1;
    font: 12px/20px Arial, Helvetica, sans-serif;
}

.search-btn {
    width: 20px;
    height: 20px;
    padding: 0;
    background: url(/Content/gfx/bg_search_btn.gif) no-repeat;
}



/* Navigation
-------------------------------------------------- */
#nav-wrapper {
}

#nav {
    margin: 0 -8px 0 0;
    float: right;
    clear: both;
    position: relative;
    z-index: 2400;
}

#inside #nav {
    margin-top: 62px;
}

#nav li {
    padding: 0;
    list-style: none;
    position: relative;
    display: inline;
    float: left;
}

#nav > li {
    padding-right: 2px;
    background: url(/Content/gfx/pipe_nav.png) right 10px no-repeat;
}

#nav > .javelin_lastItem {
    padding: 0;
    background: none;
}

#nav a {
    padding: 0 8px;
    color: #C2CAF1;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
}

    #nav > li:hover > a, #nav a:hover {
        color: #D7A820;
    }

/* Second Level Navigation */
#nav > li:hover ul {
    display: block;
}

#nav ul {
    margin: 0;
    padding: 16px 0 8px 0;
    /*		background: url(/Content/gfx/bg_subnav.png) 0 0 no-repeat;*/
    background-color: #DFC831;
    display: none;
    position: absolute;
    top: 24px;
    left: 0;
    z-index: 1;
}

    #nav ul li {
        display: block;
        float: none;
    }

    #nav ul a {
        width: 176px;
        padding: 0 8px;
        /*		color: #7A6235;*/
        color: #0B1D69;
        font-size: 14px;
        line-height: 1.5em;
        text-transform: none;
        display: block;
    }

        #nav ul a:hover {
            color: #fff;
        }

    /* Third Level Navigation */
    #nav ul ul {
        padding: 0;
        background: none;
        display: block;
        position: relative;
        top: 0;
        left: 0;
    }

        #nav ul ul a {
            width: 164px;
            padding: 3px 8px 3px 24px;
            color: #0B1D69;
            /*			color: #B27D18;*/
            text-transform: lowercase;
        }



/* Hero
-------------------------------------------------- */
#hero {
    height: 395px;
    margin-bottom: 22px;
}

#hero-wrapper {
    background: url(/Content/gfx/bg_hero.png) top center no-repeat;
    position: relative;
    top: -70px;
}
    /* Fix for settings dropdown in carousel module */
    #hero-wrapper .javelin_moduleBar {
        z-index: 2016 !important;
    }

/* Hero / Slideshow */
#slideshow {
    min-height: 325px;
    margin: 65px 0 20px 0;
    position: relative;
}

/* Carousel */
.cms-carousel {
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

    /* Text Position */
    .cms-carousel .bottom {
        bottom: 40px;
    }

    .cms-carousel .center {
        left: 32%;
    }



.cms-carousel-inner {
    height: 100%;
    position: relative;
    z-index: 10 !important;
}

.cms-carousel-slide {
    width: 100%;
    height: 100%;
    display: none;
}

.cms-carousel-media {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 10 !important;
}

    .cms-carousel-media img {
        transform: translate3d(0,0,0);
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

.cms-carousel-text {
    width: 50%;
    font-family: 'Palatino Linotype', Georgia, 'Times New Roman', Times, serif;
    font-size: 18px;
    color: #fff;
    text-shadow: 0 2px #000;
    position: absolute;
    z-index: 100 !important;
}

.cms-carousel-link .btn-default {
    margin-top: 10px;
    padding: 5px 10px;
    text-shadow: none;
    display: inline-block;
    font-size: 16px;
    text-transform: none;
}

.cms-carousel .top {
    top: 20px;
}

.cms-carousel .left {
    left: 20px;
}

.cms-carousel .right {
    right: 20px;
    text-align: right;
}

.cms-carousel-title {
    font-size: 40px;
    font-weight: bold;
    font-family: 'Palatino Linotype', Georgia, 'Times New Roman', Times, serif;
    color: #fff;
    margin-bottom: 0;
    padding: 0;
    line-height: 1;
}

/* Hero / Call To Actions */
#cta {
    margin: 0;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -77px;
    z-index: 999;
}

    #cta li {
        display: inline;
    }

    #cta a {
        width: 380px;
        height: 55px;
        margin: 0 30px;
        background: url(/Content/gfx/sprite_cta.gif) top repeat-x;
        color: #0B1D69;
        font: bold 24px/55px 'Palatino Linotype', Georgia, 'Times New Roman', Times, serif;
        text-decoration: none;
        text-transform: uppercase;
        display: inline-block;
    }

        #cta a:hover {
            color: #756956;
            background-position: 0 -55px;
        }


/* Content
-------------------------------------------------- */
.javelin_inside ul li { /* IE7 does not render list-style-image properly */
    padding-left: 40px;
    background: url(/Content/gfx/bullet.png) 16px 4px no-repeat;
    color: #F3CE96;
    list-style: none;
}

.javelin_textItem img,
.javelin_rotatorItem img,
.javelin_staffImage img,
.javelin_staffItemImage img,
.javelin_galleryItem img,
.javelin_blogPostImage img,
.javelin_twitterHeader img {
    padding: 10px;
}

/* Remove image styling from unwanted elements */
img.img-nostyle, .img-nostyle img {
    padding: 0;
    background: none;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

#content {
}

#contentBody {
}

#aside {
}

/* Content / Index */
#column-wrapper-index {
    margin-bottom: 20px;
}

    #column-wrapper-index .wrapper {
        padding: 14px 20px;
        background: #0C1748;
    }

/* Content / Index */
#inside #content {
    background: url(/Content/gfx/bg_content_inside.png) center repeat-y;
}

#content-top {
    background: url(/Content/gfx/bg_content_top_inside.jpg) top center no-repeat;
}

#content-wrapper-inside {
    min-height: 400px;
    padding: 20px 0;
}

#inside #aside h2 {
    font: bold 24px/1.5 'Palatino Linotype', Georgia, 'Times New Roman', Times, serif;
    color: #ECC894;
}

/* Quick Apply Form */
.apply-form {
    font-size: 12px;
}

    .apply-form input[type="text"],
    .apply-form textarea,
    .apply-form select {
        box-sizing: border-box;
        width: 100%;
        padding: 10px;
        margin-bottom: 5px;
        font-family: inherit;
        font-size: 11px;
    }

    .apply-form .btn-submit {
        color: #0b1d69;
        padding: 5px;
        margin-top: 5px;
        display: inline-block;
        background-color: #e3c588;
        font-family: 'Palatino Linotype';
        font-weight: bold;
        text-decoration: none;
    }

        .apply-form .btn-submit:hover {
            background-color: #eed9af;
        }

/* Inside Quick Apply Form */
#inside .apply-form input[type="text"],
#inside .apply-form select,
#inside .apply-form textarea, {
    width: 95%
}

#inside #aside.active {
    position: fixed;
    top: 20px;
}




/* Footer
-------------------------------------------------- */
#footer {
    margin-bottom: 50px;
    padding-top: 20px;
    background: #0C0D1D url(/Content/gfx/bg_footer.gif) top center no-repeat;
    color: #60638C;
    font-size: 12px;
}

    #footer a {
        color: #60638C;
    }

        #footer a:hover {
            color: #989AC0;
        }

/* Footer / Navigation */
#fnav {
    height: 20px;
    margin: 0 0 16px 0;
    position: relative;
    left: -8px;
}

    #fnav li {
        padding-right: 2px;
        background: url(/Content/gfx/pipe_footer.png) right center no-repeat;
        list-style: none;
        display: inline;
        float: left;
    }

    #fnav .javelin_lastItem {
        background: none;
    }

    #fnav a {
        padding: 0 8px;
        text-decoration: none;
        text-transform: uppercase;
    }

/* Footer / Contact */
#contact a {
    text-decoration: none;
}

#contact span {
    width: 16px;
    background: url(/Content/gfx/pipe_footer.png) center no-repeat;
    display: inline-block;
    text-indent: -9999px;
}

/* Footer / Copyright + Credit */
#copyright {
}

#credit a {
    text-decoration: underline;
}

    #credit a:hover {
        text-decoration: none;
    }

/* Footer / Social Media */
/*
	.social {
		height: 20px;
		margin: 0 0 16px 0;
	}
	.social li {
		margin-right: 4px;
		display: inline;
		float: left;
		list-style: none;
	}
	.social a {
		width: 20px;
		height: 20px;
		background: url(/Content/gfx/sprite_social.png) no-repeat;
		text-indent: -9999px;
		display: block;
	}
		
		.social-facebook a	{background-position: 0 0;}
		.social-twitter a	{background-position: -20px 0;}
		.social-email a		{background-position: -40px 0;}
		.social-rss a		{background-position: -60px 0;}
*/






/*
####################################################################################################
	JAVELIN
####################################################################################################
*/

/* Blog */
.javelin_blogPost {
    margin-bottom: 20px;
}

.javelin_blogFeedRss {
    display: none;
}

.javelin_blogPostTitle {
    margin-bottom: 0;
}

    .javelin_blogPostTitle a {
        color: #987546;
        font-weight: normal;
        text-decoration: none;
    }

.javelin_blogPostDate {
    color: #515151;
    font-size: 12px;
    font-style: normal;
}

.javelin_blogPostSummary a[title='Read More'] {
    text-align: right;
    font-size: .85em;
    display: block;
}

.javelin_blogCommentsLink {
    text-align: right;
    float: none;
}

.javelin_comments {
    margin: 32px 0;
    padding: 16px;
}

.javelin_commentsTitle {
    margin-bottom: 16px;
}

.javelin_commentsItem {
    margin-top: 0;
    margin-left: 0;
    padding: 0 !important;
}

.javelin_commentsForm legend {
    font-weight: bold;
}

/* Calendar */
.javelin_calendarMulti .javelin_calendarList {
    width: 65%;
}

.javelin_calendarMulti .javelin_calendarMini {
    margin-left: 4%;
}

.javelin_calendarList a {
    font-size: inherit;
}

.javelin_calendarEvent {
    margin-bottom: 20px;
}

.javelin_calendarEventView > a {
    margin-bottom: 16px;
    display: block;
}

.javelin_calendarEventLink {
    margin-bottom: 0;
}

.javelin_calendarEventDateRange {
    font-size: 12px;
}

.javelin_calendarMini td, .javelin_calendarFull .javelin_calendarTable td {
    border: 1px solid #383531;
    font-weight: normal;
}

.javelin_calendarFull .javelin_calendarTable {
    width: 100%;
    border: 0;
}

.javelin_calendarMonth {
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    display: inline-block !important;
    float: none !important;
}

.javelin_calendarMini .javelin_calendarMonth {
    left: 0;
}

.javelin_calendarMini .javelin_calendarDayToday {
    border-width: 1px;
}

.javelin_calendarPrev {
    padding-right: 20px;
}

.javelin_calendarNext {
    padding-left: 20px;
}

.javelin_calendarPrev, .javelin_calendarNext {
    display: inline-block !important;
    float: none !important;
}

/* FAQ */
.javelin_faqAnswersTitle {
    padding-top: 32px;
    border-top: 1px solid #383531;
}

.javelin_faqItemQuestion {
    font-weight: bold;
}

.javelin_faqItemTopLink {
    text-align: right;
}

/* Gallery */
.javelin_galleryItems {
    margin: 0;
}

.javelin_gallery li.javelin_galleryItem {
    margin: 0 16px 16px 0;
    padding: 0;
    background: none;
}

.javelin_galleryItemImage img {
    margin: 0 auto;
    display: block;
}

/* Staff */
.javelin_staffItems {
    margin: 0;
}

.javelin_staff li.javelin_staffItem {
    margin: 0 16px 16px 0;
    padding: 0;
    list-style: none !important;
}

.javelin_staffItemImage {
    float: none;
}

    .javelin_staffItemImage img {
        margin: 0 0 8px 0;
        display: block;
    }

/* Twitter */
.javelin_twitter {
    font-size: 1em;
}

.javelin_twitterHeader {
    min-height: 52px;
    margin-bottom: 8px;
}

.javelin_twitterTweets {
    margin: 0;
}

    .javelin_twitterTweets li {
        margin-bottom: 16px;
        padding: 0 !important;
        background: none !important;
        list-style: none !important;
    }

/* Weather */
.javelin_weather {
    font-size: .85em;
}

    .javelin_weather > br {
        display: none;
    }

.javelin_weatherTime {
}

.javelin_weatherImg {
    margin-right: 8px;
    float: left;
}

.javelin_weatherTemp {
    font-size: 18px;
    font-weight: bold;
    line-height: 52px;
}

/* Form Builder */
.javelin_formField {
    margin-bottom: 16px;
}

    .javelin_formField dt label {
        font-weight: bold;
    }

    .javelin_formField sup, .javelin_requiredField {
        color: #F00;
    }


/* Map */
.text-center {
    text-align: center;
}

.route-map-section {
    padding: 20px;
}

/* Routes Map */
.page-template-routes .pageTitle {
    padding-top: 20px;
    text-align: center;
}

.routes-map {
    width: 960px;
    height: 610px;
    text-align: center;
    position: relative;
}

    .routes-map > img {
        position: relative;
        z-index: 10 !important;
    }

.routes-marker {
    width: 32px;
    height: 32px;
    pointer-events: none;
    position: absolute;
    z-index: 20 !important;
}

.routes-popover {
    width: 240px;
    margin-left: -130px;
    padding: 10px;
    color: #000;
    font-size: 12px;
    background-color: rgba(255, 255, 255, .85);
    box-shadow: 0 0 16px rgba(0, 0, 0, .25);
    opacity: 0;
    line-height: 1.5;
    position: absolute;
    left: 50%;
    bottom: 60px;
    -webkit-transition: opacity .2s ease;
    -moz-transition: opacity .2s ease;
    -o-transition: opacity .2s ease;
    transition: opacity .2s ease;
}

    .routes-popover::after {
        margin-left: -20px;
        border-top: 20px solid rgba(255, 255, 255, .85);
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        content: "";
        position: absolute;
        left: 50%;
        bottom: -20px;
    }

/* Set Custom properties for South California - lots of routes */

.routes-marker.active {
    z-index: 30 !important;
}

    .routes-marker.active .routes-popover {
        opacity: 1;
    }

.legend {
    position: absolute;
    bottom: 0;
    left: 20px;
    background: #0C0D1D;
    border: 2px #C7A56C double;
    padding: 25px;
    width: 200px;
}

.legend-item {
    text-align: left;
}

    .legend-item .star,
    .legend-item .swatch {
        display: inline-block;
        width: 25px;
        height: 25px;
        background-color: #456EB5;
    }

.legend .label {
    vertical-align: top;
}

.legend-item .star {
    background-image: url(/Content/gfx/icon-star.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
