html,
body {
    margin: 0;
    height: 100%;
    direction: rtl;
    font-size: 12px;
    font-family: yekan, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #212121;
}

.container {
    height: 100%;
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
}

.header {
    height: 56px;
    padding: 0px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
    position: relative;
    z-index: 10;
    background: #ffffff;
}

.header .title {
    font-size: 16px;
    line-height: 24px;
    height: 24px;
    margin: 16px 12px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 70px;
    overflow: hidden;
    user-select: none;
}

.message-panel-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
}

.message-panel {
    background: #fff;
    max-width: 400px;
    padding: 24px;
    margin: 0 auto;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 0px 19px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 1.1em;
}

#map {
    width: 100%;
    height: 100%;
}

#mask {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}

#loading {
    width: 3rem;
    height: 3rem;
}

#error {
    display: none;
    text-align: center;
    padding: 2em;
}

.spinner {
    animation: spin 1.5s linear infinite;
    stroke: #4d40a6;
}

.circle {
    stroke: inherit;
    stroke-linecap: round;
    animation: dash 1.4s ease-in-out infinite;
}

#error-img {
    max-width: 100%;
}

#error-description {
    font-size: 1.2em;
}