/*
 * taxido-responsive.css
 * Globalni responsive fix za Bootstrap 2 grid
 * Ucitati u index.php odmah nakon bootstrap-responsive.min.css
 */

/* ============================================================
   MOBILNI (do 767px)
   ============================================================ */
@media (max-width: 767px) {

    /* Bootstrap 2 grid fix — sve kolone pune sirinu */
    [class*="span"] {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box;
    }

    .row {
        margin-left: 0 !important;
    }

    /* Navbar */
    .navbar-fixed-top {
        position: relative !important;
    }

    body {
        padding-top: 10px !important;
    }

    /* Home page widget */
    #homePage .hero-unit {
        padding: 10px !important;
        min-height: auto !important;
    }

    #homePage .span3.orange {
        min-width: 0 !important;
        width: 100% !important;
        margin-bottom: 15px;
    }

    /* Available drivers card */
    .well {
        padding: 10px !important;
    }

    .priceTag {
        font-size: 22px !important;
        text-align: center !important;
        margin: 5px 0 !important;
    }

    .veh-card-img {
        text-align: center;
        margin-bottom: 10px;
    }

    .veh-card-img img {
        max-width: 120px;
    }

    /* Buttons */
    button.pick,
    button.btn-primary,
    button.btn-info,
    .btn {
        width: 100% !important;
        margin-bottom: 6px !important;
        display: block !important;
    }

    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea {
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 8px !important;
    }

    label.mylabel {
        display: block !important;
        margin-top: 8px;
    }

    /* Card form passenger/card split */
    #paxDetails .span5,
    #paxDetails .span4 {
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    /* Tables */
    table {
        font-size: 13px !important;
    }

    table td {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0;
    }

    table thead td {
        display: table-cell !important;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }

    /* Footer country links */
    footer .span12 a {
        font-size: 12px;
    }

    /* showStart / showEnd lists */
    #startList ul {
        column-count: 1 !important;
        padding-left: 10px;
    }

    /* Accu (summary bar) */
    #accu {
        font-size: 12px !important;
    }

    /* Thank you page */
    #finalDisplay {
        padding: 10px !important;
    }

    #finalDisplay table td {
        display: table-cell !important;
        font-size: 13px;
    }
}

/* ============================================================
   TABLET (768px - 979px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 979px) {

    body {
        padding-top: 60px;
    }

    [class*="span"] {
        box-sizing: border-box;
    }

    /* Smanji hero na tabletu */
    #homePage .hero-unit {
        min-height: auto !important;
    }

    /* Driver cards — cijena desno ostaje */
    .priceTag {
        font-size: 20px !important;
    }

    /* Forme */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================================
   GLOBALNO (sve velicine)
   ============================================================ */

/* Sprjecava horizontalni scroll */
body {
    overflow-x: hidden;
}

/* Slike vozila */
.veh-card-img img,
img[src*="vehicles/"] {
    max-width: 100%;
    height: auto;
}

/* Price tag */
.priceTag {
    font-weight: bold;
    color: #e65100;
    font-size: 26px;
    line-height: 1.2;
}

/* Form labels konzistentni razmak */
label.mylabel {
    min-width: 160px;
    display: inline-block;
    font-weight: bold;
}

/* Help button */
button.label.label-info {
    cursor: pointer;
    margin-left: 4px;
}

/* Search input na start/end listama */
#srch {
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
