html[lang="ar"]{
    direction:rtl;
}

body, html{
    font-size: 14px;
    overflow-x: hidden;
    padding: 0px;
    margin: 0px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

body{
    color: #333;
    font-family: arial;
    text-align: center;
    background-color: #F9F9F9;
}

#wrapper{
    background-color: white;
    display: inline-block;
    padding: 5px 10px;
    padding-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.big-button.inactive{
    opacity: 0.3;
}

.distance-to-user-label{
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

a{
    color: #333;
}

#alert{
    display: none;
    position: fixed;
    left: 0px;
    top: 5%;
    width: 90%;
    box-sizing: border-box;
    margin: 5%;
    background-color: white;
    z-index: 110;
    -webkit-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
    border: 1px solid #CCC;
    border-radius: 3px;
    padding: 10px;
    padding-top: 20px;
}

#qr-code-buttons{
    margin-top: 25px;
}

#debug{
    display: none;
    position: absolute;
    bottom: 0%;
    left: 0%;
    max-width: 100%;
    background-color: red;
    opacity: 0.8;
    color: white;
    z-index: 1000;
}

.static-map{
    max-width: 95%;
    height: auto;
    border: 2px solid white;
    margin: 2%;
    box-sizing: border-box;
}

h3{
    font-size: 14px;
    opacity: 0.5;
    margin: 3px 0px;
}

h2{
    margin: 5px 0px;
}

.highlighted{
    background-color: rgba(255,255,0,0.5);
    display: inline;
}

.update-message{
    margin: 20px;
    background: #009ec5;
    padding: 10px;
    color: white;
}

#customer-logo{
    width: 150px;
    max-width: 50%;
    height: auto;
}

#store-links{
    margin-top: 5px;
}

.app-store-badge img{
    margin: 5px;
    max-width: 90px;
    height: auto;
}


#search-input{
    margin: 15px 0px;
}

#search-form{
    position: relative;
}

#search-string-container{
    border: 1px solid #ccc;
    border-radius: 5px;
    width: auto;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

#search-string{
    margin: 0px;
    border: none;
    display: table-cell;
    text-align: center;
    font-size: 30px;
    width: 150px;
    border-radius: 5px;
}

#search-string-icon{
    display: table-cell;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 20px;
    background-color: #eee;
    color: #333;
    vertical-align: middle;
    height: 100%;
    padding: 5px;
}

#show-tag-bundle-selection{
    display: none;
    position: absolute;
    top: 5px;
    left: 5%;
    padding: 5px;
    cursor: pointer;
    z-index: 2;
    text-align: left;
    max-width: 50%;
}


#show-tag-bundle-selection, .language.selected{
    color: #333;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 2px 5px;
    margin-top: 5px;
    line-height: 20px;
    text-align: center;
    text-shadow: none;
    font-size: 13px;
}

.language:hover,
#show-tag-bundle-selection:hover
{
    filter: brightness(0.95);
}


#tag-bundle-choice .tag-bundle-icon-container,
#tag-bundle-choice .tag-bundle-title-container{
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
}

#tag-bundle-choice .tag-bundle-icon-container{
    width: 33%;
    border-radius: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    text-align: center;
    background-color: white;
    max-width: 150px;
}

#tag-bundle-choice .tag-bundle-title-container{
    width: 67%;
    border-radius: 5px;
    padding: 0.5rem;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 16px;
    background-color: #eee;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    text-align: center;
}

#tag-bundle-choice .big-button{
    padding: 0px;
    text-align: left;
    background-color: #eee;
}


#tag-bundle-choice .tag-bundle-icon{
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 10px;
}


#footer{
    color: #999;
    font-size: 10px;
    opacity: 0.8;
    display: inline-block;
    padding: 20px;
    max-width: 100%;
    overflow-wrap: break-word;
}

#footer a{
    color: #333;
    text-decoration: none;
    display: inline-block;
}

#search-header{
    margin: 0px;
    margin-bottom: 20px;
}

#tag-bundle-title{
    margin-bottom: 20px;
}


.hidden{
    display: none !important;
}

#loading-background{
    z-index: 100;
    top: 0px;
    left: 0px;
    background-color: #F9F9F9;
    opacity: 1;
    width: 100%;
    height: 1000%;
    position: absolute;
}

#loading i{
    z-index: 101;
    position: absolute;
    left: 50%;
    top: 20%;
    font-size: 50px;
    display: block;
    margin-left: -25px;
    margin-top: -25px;
}

#flash-message{
    background-color: #009ec5;
    color: white;
    padding: 10px;
    margin: 20px;
    font-weight: bold;
    display: none;
    border-radius: 3px;
}

#flash-message a{
    color: #fff;
}

#flash-message hr{
    border: 0px dotted white;
    border-top-width: 1px;
}

#flash-message .form-button{
    margin-top: 20px;
    margin-left: 20px;
    float: right;
    cursor: pointer;
    padding: 5px;
    text-transform: uppercase;
    background-color: white;
    color: #333;
}

#navigation-not-available-hint{
    margin: 20px;
    color: red;
    font-weight: bold;
}

#start-pager .fa-toggle-on{
    color: #00bb00;
    margin-left: 0.5rem;
}

#camera-container{
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    padding-top: 80px;
    text-align: center;
}

#camera{
    width: 100%;
    display: inline-block;
}

@media (orientation: landscape) {
    #camera {
        width: 33%;
    }
}

#close-camera{
    position: fixed;
    top: 0px;
    right: 0px;
}

#change-camera{
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
}

.big-button{
    display: block;
    padding: 10px;
    border-radius: 5px;
    background-color: #eee;
    border: 1px solid #ddd;
    margin: 20px;
    font-size: 18px;
    line-height: 18px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    word-wrap: break-word;
}

.button:hover,
.big-button:hover{
    filter: brightness(0.95);
}

.big-button-single{
    font-weight: bold;
    position: relative;
}

.button{
    padding: 5px;
    margin: 10px;
    border-radius: 3px;
    background-color: white;
    color: #333;
    border: 1px solid #ccc;
    font-size: 13px;
}


.big-button.has-valid-form-submission,
.button.has-valid-form-submission {
    border-color: #00CC00;
    color: black;
}


.big-button.has-expired-form-submission,
.button.has-expired-form-submission {
    border-color: #CC0000;
    color: black;
}

.expiration-check-result-icon{
    font-size: 25px;
    vertical-align: middle;
}

.expiration-check-result-icon.red{
    color: #CC0000;
}

.expiration-check-result-icon.green{
    color: #00CC00;
}

.tag.last-visible-child
{
    margin-bottom: 50px;
}

.tag .keywords{
    font-size: 12px;
}

.tag .keyword{
    display: inline-block;
    background-color: #DDD;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px;
    opacity: 0.8;
    margin: 0px 5px;
    margin-top: 5px;
    color: black;
}

.tag .title{
    display: inline-block;
}

#tag-choice{
    display: none;
    margin-bottom: 20px;
}

.too-many-matches{
    color: red;
}

#multiple-destinations-choice{
    display: none;
    padding-top: 1rem;
}

#multiple-destinations-overlay{
    display: none;
    border-bottom: none;
    position: fixed;
    overflow-y: auto;
    max-height: 90%;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background-color: rgba(255,255,255,1);
    padding: 5px;
    box-sizing: border-box;
    z-index: 2;
    -webkit-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
}

#multiple-destinations-overlay .chevron-button{
    padding: 5px;
    margin-bottom: 20px;
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
}

#multiple-destinations-overlay #expand-multiple-destinations-overlay{
    margin-bottom: 0px;
}

#multiple-destinations-overlay.expanded #expand-multiple-destinations-overlay{
    display: none;
}

#multiple-destinations-overlay.closed .big-button{
    display: none;
}
#multiple-destinations-overlay.closed #close-multiple-destinations-overlay,
#multiple-destinations-overlay.closed .destination,
#multiple-destinations-overlay.closed .destination-arrow{
    display: none;
}

#multiple-destinations-overlay .destination{
    padding: 5px 30px;
    margin: 0px 20px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 5px;
    position: relative;
}

#multiple-destinations-overlay .destination-arrow{
    color: #ddd;
    font-size: 20px;
}

#multiple-destinations-overlay .destination-number{
    opacity: 0.5;
    position: absolute;
    left: 10px;
}

#multiple-destinations-overlay .remove-destination{
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 6px;
}


.language-choice{
    top: 5px;
    position: absolute;
    box-sizing: border-box;
    left: auto;
    right: 5%;
    width: auto;
    text-align: center;
}

.multiple-sites .language-choice{
    right: 5%;
    left: auto;
    width: auto;
}

.language-choice.expanded{
    padding: 10px;
    top: 20px;
    right: 50%;
    z-index: 10;
    box-sizing: border-box;
    margin-right: -150px;
    border-radius: 3px;
    width: 300px;
    background-color: white;
    -webkit-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.3);
    border: 1px solid #CCC;
}


.language-choice .language{
    display: none;
    line-height: 20px;
    cursor: pointer;
}

.language-choice .language.not-supported{
    opacity: 0.2;
}

.language-choice a{
    text-decoration: none;
}

.language-choice .language img{
    width: 20px;
    vertical-align: bottom;
    height: auto;
}

.language-choice .language.selected{
    display: block;
}

.language-choice.expanded .language.selected{
    font-weight: bold;
    background-color: transparent;
    border: none;
}

.language-choice.expanded .language{
    display: inline-block;
}

.language-choice.expanded .language a{
    color: #333;
    display: inline-block;
    padding: 10px;
}

.language-not-supported-hint{
    font-size: 0.8rem;
    color: red;
    margin-bottom: 0.8rem;
}

.emergency-hint{
    color: red;
    margin-bottom: 0.8rem;
    padding: 1rem;
    font-weight: bold;
    border: 2px solid red;
    display: inline-block;
}

#imprint{
    display: none;
}

#feedback-form, #thanks-for-feedback{
    position: relative;
    background-color: white;
    margin: 30px 0px;
    padding: 20px;
    color: #333;
    font-size: 12px;
    display: none;
    border: 1px solid #ccc;
}

#thanks-for-feedback #please-rate-app{
    display: none;
    font-size: 16px;
    color: green;
}

#feedback-form input{
    height: 30px;
}

#feedback-form input, #feedback-form textarea{
    background-color: #F9F9F9;
    border: 1px solid #ccc;
}

#feedback-form .form-label, #feedback-form input, #feedback-form textarea{
    margin: 5px;
    max-width: 600px;
    width: 90%;
}


#feedback-form .form-label{
    text-align: left;
    display: inline-block;
    margin-top: 20px;
}


#feedback-form #rating i.rating{
    font-size: 30px;
    padding: 5px;
    margin: 10px;
    cursor: pointer;
    border: 2px dotted #AAA;
    opacity: 0.6;
}

#feedback-form #rating i.hand{
    font-size: 30px;
    position: absolute;
    margin-left: -100px;
    margin-top: 50px;
}

#feedback-form #rating i.rating.selected{
    border-color: black;
    border-style: solid;
    opacity: 1;
}

#feedback-form #rating i.rating:nth-child(1){
    color: #b81900;
}
#feedback-form #rating i.rating:nth-child(2){
    color: #333;
}
#feedback-form #rating i.rating:nth-child(3){
    color: green;
}

#feedback-form .hide-until-rating-selected{
    display: none;
}


.hide-feedback{
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 20px;
    padding: 10px;
}