/**
Theme Name: astra-child
Author: Joseph Ho
Author URI: https://wordpress-testapp.azurewebsites.net/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*-- Journey Planner styles --*/
/*- #generalSettings section -*/
#generalSettings input.addressSearch {
    border: 1px solid #ccc;
    background: #fafafa;
    padding: 0.75em;
    width: 100%;
}
#generalSettings ul.resultsList {
    list-style-type: none;
    overflow-y: auto;
    max-height: 200px;
    z-index: 1000;
    position: absolute;
    width: 100%;
    margin: 0px;
}
#generalSettings ul.resultsList li {
    border: 1px solid #ccc;
    padding: 0.125em 0.75em;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/*- #advancedSettings section -*/
#advancedSettings #departureTime {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #ccc;
    padding: 0.75em;
    background-color: #fafafa;
    color: #0032A0;
}
#advancedSettings .btn-group {
    display: flex;
    width: 100%;
}
#advancedSettings .btn-group button:not(:last-child) {
    border-right: 1px solid #fff;
}
#advancedSettings .btn-group button.active {
    text-transform: uppercase;
    font-weight: bold;
    color: #0032A0;
    background-color: #fafafa;
    border-radius: 0px;
}

/*- #routes section -*/
#routes, #routeSearching, #routeNoResults, #routeResults { display: none; }
#routes.show, #routeSearching.show,
#routeNoResults.show, #routeResults.show {
    display: block;
}

#routeResults ul {
    list-style-type: none;
    margin: 0;
    max-height: 500px;
    overflow-y: auto;
}
#routeResults ul li {
    border: 1px solid #ccc;
    background: #fff;
    padding: 8px;
    text-align: center;
}

/*-- custom styles --*/
.site-content { font-size: 18px !important; }

ul.horizontal_list {
    display: flex;
    list-style-type: none;
    justify-content: space-between !important;
}
ul.horizontal_list li {
    flex: auto;
    text-align: center;
}
ul.horizontal_list li:not(:last-child) {
    margin-right: 12px !important;
}

.textBtn_green {
    background: #33A000 !important;
    color: #fff !important;
    border-radius: 10px !important;
}

.prevent_textSelect {
  -webkit-touch-callout: none !important; /* iOS Safari */
  -webkit-user-select: none !important; /* Safari */
  -khtml-user-select: none !important; /* Konqueror HTML */
  -moz-user-select: none !important; /* Old versions of Firefox */
  -ms-user-select: none !important; /* Internet Explorer/Edge */
  user-select: none !important; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}

/*-- Content Toggle elements --*/
.sTab_button, .tab_button {
    cursor: pointer !important;
    background-color: #354654 !important;
}
.sTab_button.activeTab a, .tab_button.activeTab a {
    background-color: #0032A0 !important;
}

.sTab_content, .tab_content { display: none !important; }
.sTab_content.activeTab, .tab_content.activeTab { display: block !important; }

/*-- Profiles View elements --*/
.empty_profile_msg { display: none !important; }
.empty_profile_msg.profileDisplay { display: block !important; }

/*-- TranslatePress header dropdown menu --*/
.trp-language-switcher-container, .trp-ls-shortcode-current-language, .trp-ls-shortcode-language {
    width: 100% !important;
    text-align: center !important;
}

.hide-menu-item { display: none !important; }

/*-- Bus route elements --*/
/*in desktop view*/
.bus_route_title {
    text-align: center !important;
    font-weight: bold !important;
}
.bus_route_title > h2 { color: #ff0000 !important; }

#route { padding: 20px 0px; }

.route_loading, .route_notice, #route {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 50%);
}

.route_loading > h2, .route_notice > h2 {
    color: #ff0000 !important;
    margin: 10px 0px !important; 
    font-weight: bold !important;
}

#route > .departure, #route > .arrival,
.route_loading, .route_notice {
    text-align: center;
    padding: 8px;
}

#route > .departure, #route > .arrival {
    width: 80%;
    border: 5px solid #0032A0;
    border-radius: 16px;
    margin: 0px auto;
}

.r-path { display: flex; }

.direction-container { width: 50px; }
.direction-line {
    background: #0032A0;
    width: 5px;
    height: 100%;
    margin: 0 auto;
}

.zone-go, .zone-back {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.stop { display: flex !important; }
.stop-content {
    width: auto;
    padding: 16px 0px !important;
}
.arrow-content {
    display: flex !important;
    padding: 0px 12px;
    align-items: center !important;
    justify-content: center !important;
    color: #0032A0;
}
.arrow-content > .fa { font-size: 30px; }
.desc { font-size: 80% !important; }

/**settings based on direction types*/
.double-direction > .zone-go { text-align: right !important; }
.double-direction > .zone-back { text-align: left !important; }
.double-direction > .zone-go > .stop { justify-content: flex-end !important; }
.double-direction > .zone-back > .stop { justify-content: flex-start !important; }

.single-direction { justify-content: center !important; }

.ride-zone {
    font-size: 80% !important;
    padding: 0px 8px;
    display: inline-flex;
    color: #fff;
}
.zone-1 { background: #ff7f00; }
.zone-2 { background: #ffcc19; }
.zone-3 { background: #6bb110; }
.zone-4 { background: #1a1098; }
.zone-5 { background: #08a990; }

/*in mobile view*/
@media screen and (max-width: 767px) {
    .r-go { flex-direction: column !important; }
    .r-go > div { width: 100% !important; }
}