﻿body {
    font-family: 'Arimo', sans-serif;
}
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    /* src: url(https://example.com/MaterialIcons-Regular.eot); For IE6-8 */
    src: local('Material Icons'), local('MaterialIcons-Regular'), url(images/material/MaterialIcons-Regular.woff2) format('woff2'), url(images/material/MaterialIcons-Regular.woff) format('woff'), url(images/material/MaterialIcons-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 400;
    src: local('Arimo Regular'), local('Arimo-Regular'), url(images/arimo.woff2) format('woff2');
}

.m-icon {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

.centered{
    text-align:center;
}
.ui-page-theme-a a.rating-star {
    font-size: 3em;
    font-weight: initial;
}
    .ui-page-theme-a a.rating-star.m-star-empty {
        color: #828282;
    }
    .ui-page-theme-a a.rating-star.m-star {
        color: #059;
    } 

/*JQ UI */
.ui-page-theme-a .ui-btn, .ui-page-theme-a .ui-btn:hover, .ui-page-theme-a .ui-btn:active {
    background-color: #ffffff;
    border-color: #059;
    color: #333;
    text-shadow: none;
}

.ui-page-theme-a .ui-header {
    background-color: #ffffff;
    padding: 2px 10px;
    border-bottom: 1px solid #d0d0d0;
}

.ui-popup-screen {
    background-color: black;
}


/* map */
.popup-bubble {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -100%);
    background-color: black;
    padding: 7px 10px;
    border-radius: 5px;
    font-family: sans-serif;
    /*overflow-y: auto;*/
    max-height: 60px;
    /*box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.5);*/
    min-width: 104px;
    color: white;
    text-shadow: none;
    text-align: center;
    font-size: 1.2em;
}
    .popup-bubble::after {
        content: "";
        background-color: black;
        width: 10px;
        height: 10px;
        display: block;
        position: absolute;
        margin-left: calc(50% - 16px);
        transform: rotate(45deg);
    }
    /*.popup-bubble::before {
        content: "schedule";
        font-family: 'Material Icons';
    }*/


    #main, #map-canvas, #map {
        width: 100%;
        height: 100%;
        padding: 0;
    }

.footer .user-icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    position: absolute;
    margin: 0px 0px 5px 11px;
    bottom: inherit;
    border: 2px solid #525252a6;
    background-color: white;
    /*padding: 4px;*/
    background-size: 106%;
    overflow: hidden;
}

#driver-info-popup {
    text-align: center;
    transform: translateY(-22px);
    padding: 0 34px;
    color: #000000c4;
    direction: rtl;
}

    #driver-info-popup .user-icon {
        width: 80px;
        height: 80px;
        display: inline-block;
        bottom: inherit;
        border: 2px solid #525252a6;
        background-color: white;
        margin: 0 auto;
        background-size: 106%;
        overflow: hidden;
    }

.footer.expanded .user-icon {
    top: 0;
}
/*.footer .user-icon img {
            width: 50px;
            height: 50px;
        }*/

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #ffffff;
    color: #000000c2;
    text-shadow: none;
    border-top: 1px solid #d0d0d0;
    padding: 6px 0;
}

.footer, .header {
    z-index: 1100;
    opacity: 1;
}

    .footer .driver-info-line {
        margin: 0 auto;
        line-height: 2em;
        font-weight: bold;
        font-size: 1.1em;
        text-decoration: none;
        color: #000000ad;
        width: 150px;
        display: block;
        text-align: center
    }

.header {
    background-color: #4d148c;
}

a.btn-contact {
    color: #3F51B5;
    text-decoration: none;
}
    a.btn-contact[disabled] {
        color: #afafaf;
    }

#p-arrived {
    text-align: center;
    min-width: 225px;
}

    #p-arrived .user-icon {
        width: 65px;
        height: 65px;
        display: inline-block;
        margin: -34px 0px 5px 0px;
        bottom: inherit;
        border: 2px solid #3f51b57d;
        background-color: white;
        background-size: 106%;
        overflow: hidden;
    }

        #p-arrived .user-icon img {
            width: 65px;
            height: 65px;
        }

#p-arrived-screen {
    background-color: black;
}