﻿/* Large desktops and laptops */
@media (min-width: 1610px) {
    #route-name {
        height: 132px !important;
    }

    .row {
        margin-top: 20px !important;
    }
}

@media (max-width: 1609px) {
    .pickupdropoff {
        top: -620px !important; /*-610px*/
    }

    #route-name {
        height: 132px !important;
    }

    .row {
        margin-top: 20px !important;
    }
}

@media (max-width: 1608px) { /*1500*/
    #routedetails-name {
        width: 260px !important;
    }

    .pickupdropoff {
        top: -620px !important; /*-610*/
    }

    #route-name {
        height: 132px !important;
    }

    .row {
        margin-top: 20px !important;
    }
}

@media (max-width: 1246px) {
    .pickupdropoff {
        top: -620px !important; /*-610*/
        height: 600px !important; /*735*/
    }

    #map {
        height: 600px !important;
    }

    #route-name {
        height: 132px !important;
    }

    .row {
        margin-top: 20px !important;
    }
}

@media (max-width: 1200px) {
    #routedetails-name {
        width: 250px !important;
    }

    .cartbtn {
        width: 95% !important;
    }

    .route {
        height: 136px !important;
    }

    #route-name {
        height: 132px !important;
    }

    .row {
        margin-top: 20px !important;
    }

    .pickupdropoff {
        top: -619px !important; /*-610*/
        height: 598px !important; /*735*/
    }
}

@media (max-width: 1170px) {
    #routedetails-name {
        width: 220px !important;
    }

    .row {
        margin-top: 20px !important;
    }

    .pickupdropoff {
        top: -650px !important;
        height: 598px !important;
    }
}

@media (max-width: 1140px) {
    .row {
        margin-top: 10px !important;
    }
}

@media (max-width: 1080px) {
    #routedetails-name {
        width: 205px !important;
    }

    #routedetails-price-book {
        height: 145px !important;
    }

    #book {
        padding: 25px 10px 15px 10px !important;
    }

    .cartbtn {
        width: 95% !important;
    }

    .route {
        height: 155px !important;
    }

    .row {
        margin-top: 10px !important;
    }

    .pickupdropoff {
        top: -622px !important;
        height: 598px !important;
    }
}

@media (max-width: 1035px) {
    #routedetails-name {
        width: 185px !important;
    }

    .cartbtn {
        width: 95% !important;
    }

    #book {
        width: 65px !important;
    }
}

@media (max-width: 991px) {
    #go {
        margin-right: 24px !important;
    }

    #to {
        width: 87% !important;
    }

    .routesdisplay {
        height: auto !important;
    }

    .commonly-travelled {
        margin-top: 0px !important;
    }

    #routedetails-name {
        width: 550px !important;
    }

    #map {
        height: 400px !important;
        margin-left: 0px !important;
        margin-bottom: 10px;
    }

    .pickupdropoff {
        top: -459px !important; /*660*/
        height: 400px !important; 
        margin-left: 0px !important;
        width: 30% !important;
    }

    .routesdisplay {
        height: 550px !important;
        margin-bottom: 10px !important;
    }
}

/* Landscape phones and portrait tablets (max 768px) */
@media (max-width: 768px) {
    .cartbtn {
        width: 95% !important;
    }

    #map {
        height: 400px !important;
        margin-left: 0px !important;
        margin-bottom: 10px;
    }

    .pickupdropoff {
        top: -459px !important; /*660*/
        height: 400px !important;
        margin-left: 0px !important;
        width: 30% !important;
    }

    .routesdisplay {
        height: 550px !important;
        margin-bottom: 10px !important;
    }

}

@media (max-width: 678px) {
    .cartbtn {
        width: 95% !important;
    }

    #routedetails-name {
        width: 380px !important;
    }
}

@media (max-width: 510px) {
    .cartbtn {
        width: 95% !important;
    }
}

/* Portrait phones and smaller */
@media (max-width: 486px) {
    #routedetails-name {
        width: 310px !important;
    }
}

@media (max-width: 415px) {
    .cartbtn {
        width: 95% !important;
    }

    #go {
        margin-right: 8px !important;
    }

    #routedetails-name {
        width: 275px !important;
    }

    p {
        font-size: 14px;
    }

    .routesdisplay {
        height: 550px !important;
        margin-bottom: 10px !important;
    }

    #map {
        height: 400px !important;
        margin-left: 0px !important;
        margin-bottom: 10px;
    }

    .pickupdropoff {
        top: -459px !important; /*660*/
        height: 400px !important;
        margin-left: 0px !important;
        width: 40% !important;
    }

    .green {
        font-size: 12px !important;
    }

    #stops {
        font-size: 12px !important;
    }
}

@media (max-width: 380px) {
    #routedetails-name {
        width: 228px !important;
    }

}

@media (max-width: 340px) {
    #routedetails-name {
        width: 210px !important;
    }

}

/* ----------- iPhone 5 and 5S ----------- */
/* Portrait and Landscape */
@media only screen and (max-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    .cartbtn {
        width: 95% !important;
    }

    #routedetails-name {
        width: 180px !important;
    }

    .green {
        font-size: 12px !important;
    }

    #stops {
        font-size: 12px !important;
    }

    .pickupdropoff {
        width: 50% !important;
    }

    /*.truncate {
      width: 220px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }*/
}

body {
    background-color: white;
    height: 100%;
}

.row {
    margin-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

#route-name {
    cursor: pointer;
}

/*.truncate {
  width: 270px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}*/

#routesexplorer /*#commonly-travelled*/ {
    background-color: black;
    color: white;
    padding: 5px 10px 5px 10px;
    width: 100%;
    padding-bottom: 5px !important;
}

table, tr {
    border-collapse: collapse;
    border: 1px solid #e3e3e3;
    margin-bottom: 10px;
}

.places, .route, td, th {   
    width: 100%;
}

.route {
    border: 2px solid #e3e3e3;
}

.route:hover {
    border: 2px solid #f8b923;
}

td {
    border-left: 1px solid #e3e3e3;
}

#stops {
    padding: 5px 10px 5px 10px;
}

.stop {
    width: 70% !important;
}

#tablePickUpDropOff {
    width: auto;
    cursor: pointer;
}

.route tr {
    border: 0;
    border-bottom: 1px solid #e3e3e3;
}

.time {
    width: 23% !important;
    text-align: center;
    vertical-align: middle;
}

.green {
    background-color: #44b778;
}

.black-active {
    background-color: black;
    color: white;
}

.hoverblack:hover {
    background-color: black;
    color: white;
}

th {
    padding: 5px 10px 5px 10px;
    background-color: black;
    color: white;
    font-weight: normal;
}

#place {
    padding: 10px;
}

.commonly-travelled {
    /*margin-top: -40px;*/
    margin-left: 5px !important;
    margin-right: 3px !important;
}

#pickupdropoff {
    opacity: 0.7;
    animation-timing-function: ease-out;    
    /*animation: play .8s steps(9) forwards;*/
    animation: fadein 2s;
}

@keyframes play {
    from {top: -200px;}
    to {top: 65px;}
}

@keyframes fadein {
    from {opacity: 0.2;}
    to {opacity: 0.5;}
}

#pickupdropoff:hover, #pickupdropoff:focus {
    opacity: 1;
}

#pickupdropoff-header {
    background-color: white;
    color: black;
    width: 100%;
}

.routesexplorer/*, .commonly-travelled*/ {
    background-color: white;
    border: 1px solid #e3e3e3;
    margin-left: 5px;
    margin-right: 5px;
}

.pickupdropoff {
    background-color: white;
    border: 1px solid #e3e3e3;
    position: absolute;
    top: -619px; /* -610px */
    width: 80%;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 600px; /*700*/
    margin-left: -15px;
}

#searchForm {
    position: relative;
    /*top: 58%;
    left: 50%;*/
    right: auto;
    bottom: auto;
}

.form-control {
    margin: 5px 7px 5px 7px;
    width: 100%;
    display: block;
}

.form-group {
    padding-bottom: 10px;
    margin-bottom: 0px;
}

#from, #to {
    border-radius: 0px;
}

#from {
    /*width: 360px;*/
    width: 96%;
    margin-top: 10px;
}

#to {
    width: 83%;
}

#go {
    color: white;
    background-color: #44b778;
    border-color: white;
    height: 34px;
    width: 60px;
    margin-top: -38px;
    text-align: center;
    padding: 5px;
    border-radius: 3px;
    float: right;
    margin-right: 15px;
}

    #go:hover {
        color: #44b778;
        background-color: white;
        border-color: #44b778;
    }

hr {
    border-top: 1px solid #e3e3e3;
}

#routefrom {
    color: #44b778;
}

#routeto {
    /*color: #f7b10a;*/
}

.routes, .noroutes {
    background-color: white;
    margin-bottom: 10px;
    border-color: #e3e3e3;
    border: 2px solid #e3e3e3;
    /*cursor: pointer;*/
}

.noroutes {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.routes:hover, .routes:active, .highlight {
    border-color: #f7b10a !important;
}

.routep {
    padding-left: 13px;
    padding-right: 13px;
    /*font-weight: bold;*/
}

.pricebookp {
    padding-top: 10px;
    text-align: center;
}

.fav {
    padding: 10px 15px 10px 0px; /*10px 10px 10px 0px; if share is shown*/
    cursor: pointer;
}

.fav:hover {
    border: 1px solid #44b778;
}

.cart {
    background-color: #44b778;
    color: white;
    cursor: pointer;
}

.cart > a {
    color: white;
    text-decoration: none;
}

.cart:hover > a {
    color: #44b778;
    text-decoration: none;
}

.cart:hover {
    background-color: white;
    color: #44b778;
    border: 1px solid #44b778;
}

.cart center a {
    color: none;
    text-decoration:none
}

.cart center a:hover {
    color: none;
    text-decoration:none
}

#routedetails-name {
    /*border-bottom: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;*/
    display: inline-block;
    /*padding-right: 120px;*/
    padding-top: 5px;
    width: 360px;
    height: 100%;
}

#routedetails-price-book {
    /*border-bottom: 1px solid #e3e3e3;*/
    display: inline-block;
    text-align: center;
    border-left: 1px solid #e3e3e3;
    /*padding: 3px;*/
    float: right;
    height: 130px;
}

#price {
    border-bottom: 1px solid #e3e3e3;
    /*width: 130px;*/
}

#book {
    /*padding: 5px 10px 5px 10px;*/
    width: 90px;
    font-size: 14px;
}

#time {
    width: 90px;
}

#book:hover {
    color: #44b778;
}

#routedetails-cart {
    height: 55px;
    display: block;
    border-top: 1px solid #e3e3e3;
}

.cartbtn {
    color: white;
    background-color: #44b778;
    border-radius: 0px;
    width: 95%;
    padding: 6px;
    margin: 10px;
    border: 1px solid #44b778;
}

    .cartbtn:hover {
        color: #44b778;
        background-color: white;
    }

.favouritebtn {
    background-color: white;
    border-radius: 0px;
    width: 68px;
    float: right;
    margin: 10px;
}

    .favouritebtn:hover, .favouritebtn:focus {
        background-color: white;
    }

#place:hover {
    font-weight: bold;
}

.commonp {
    padding: 8px 10px 8px 10px;
    border-bottom: 1px solid #e3e3e3;
    padding-top: 5px;
}

.pickupdropoff-header {
    color: white;
    background-color: #44b778;
}

#location:hover {
    color: white;
    background-color: black;
}

.routesdisplay {
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    height: 430px;
    padding-left: 5px;
    padding-right: 5px;
    -webkit-overflow-scrolling: touch; /* lets it scroll lazy */
    /*-webkit-overflow-scrolling: auto;  stop scrolling immediately */
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

/*::-webkit-input-placeholder {
   color: red;
}*/

.search-from, .search-to {
  position: relative;
  color: #aaa;
}

.search-from input,.search-to input {
  /*width: 250px;*/
  height: 32px;
  text-indent: 30px;
  /*background: #fcfcfc;*/
  border: 1px solid #aaa;
  border-radius: 3px;
  margin-left: 8px;
  /*box-shadow: 0 0 3px #ccc, 0 10px 15px #ebebeb inset;*/
}

.search-from  { 
    margin-top: 10px;
    width: 100% !important;
}

.search-from input {
    width: 96%;
}

.search-to  { 
    margin-top: 5px;
}

.search-to input {
    width: 82%;
}

.search-from .fa-dot-circle-o, .search-to .fa-dot-circle-o { 
  position: absolute;
  top: 9px;
  left: 20px;
}

.common-places {
    padding: 10px;
}

#route-name > .routep {
    display: block;
    padding-left: 2em;
    text-indent: -0.71em;
    font-size: 14px;
}

#backtotop, #showhidebusstops {
    background-color: #44b778;
    color: white;
    border: 1px solid #44b778;
}

#backtotop:hover, #backtotop:after, #backtotop:active, #showhidebusstops:hover, #showhidebusstops:after, #showhidebusstops:active {
    background-color: white;
    color: #44b778 !important;
}

.btn-default {
    margin-bottom: 3px;	
}

.common {
    border-radius: 35px;
    background-color: #ffffff;
    color: #44b778;
}

.common-event {
	border-radius: 35px;
	background-color: #ffffff;
    color: #971d3c;
}

/* Share */
.mobile-social-share {
    background: transparent; /*none repeat scroll 0 0 #EEEEEE;*/
    display: block !important;
    /*min-height: 70px !important;*/
    /*margin: 50px 0;*/
}

/*body {
    color: #777777;
    font-family: "Lato","Helvetica Neue","Arial","Helvetica",sans-serif;
    font-size: 13px;
    line-height: 19.5px;
}*/


.mobile-social-share h3 {
    color: inherit;
    float: left;
    font-size: 15px;
    line-height: 20px;
    margin: 25px 25px 0 25px;
}

.share-group {
    float: right;
    margin: 5px 8px 0 0; /*18px 25px 0 0;*/
}

.btn-group {
    display: inline-block;
    font-size: 0;
    position: relative;
    vertical-align: middle;
    white-space: nowrap;
}

.mobile-social-share ul {
    float: right;
    list-style: none outside none;
    margin: 0 0 0 -16px; /* 0 */
    min-width: 61px;
    padding: 0 3px 0 0; /*0;*/
}

.share {
    min-width: 17px;
}

.mobile-social-share li {
    display: block;
    font-size: 18px;
    list-style: none outside none;
    margin-bottom: 3px;
    margin-left: 4px;
    margin-top: 3px;
}

.btn-share {
    background-color: #BEBEBE;
    border-color: #CCCCCC;
    color: #333333;
}

.btn-twitter {
    background-color: #3399CC !important;
    width: 51px;
    color:#FFFFFF!important;
}

.btn-facebook {
    background-color: #3D5B96 !important;
    width: 51px;
    color:#FFFFFF!important;
}

.btn-facebook {
    background-color: #3D5B96 !important;
    width: 51px;
    color:#FFFFFF!important;
}

.btn-google {
    background-color: #DD3F34 !important;
    width: 51px;
    color:#FFFFFF!important;
}

.btn-linkedin {
    background-color: #1884BB !important;
    width: 51px;
    color:#FFFFFF!important;
}

.btn-pinterest {
    background-color: #CC1E2D !important;
    width: 51px;
    color:#FFFFFF!important;
}

.btn-mail {
    background-color: #FFC90E !important;
    width: 51px;
    color:#FFFFFF!important;
}

.caret {
    border-left: 4px solid rgba(0, 0, 0, 0);
    border-right: 4px solid rgba(0, 0, 0, 0);
    border-top: 4px solid;
    display: inline-block;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    width: 0;
}

#socialShare {
    max-width:59px;
    margin-bottom: 8px; /*18px;*/
}

.btn-info {
	border-radius: 4px !important;
}

#socialShare > a{
    padding: 10px 10px 6px 10px;
}

@media (max-width : 320px) {
    #socialHolder{
        padding-left:5px;
        padding-right:5px;
    }
    
    .mobile-social-share h3 {
        margin-left: 0;
        margin-right: 0;
    }
    
    #socialShare{
        margin-left:5px;
        margin-right:5px;
    }
    
    .mobile-social-share h3 {
        font-size: 15px;
    }
}

@media (max-width : 238px) {
    .mobile-social-share h3 {
        font-size: 12px;
    }
}

