html,
body {
    width: 100%;/**/
    height: 100%;
}

.animation-rotate {
    animation: spin 0.5s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.watermark-wrapper {
    position: absolute;
    bottom: 10px;
    z-index: 1000;
}

.watermark-wrapper img {
    height: 30px;
    width: 30px;
}

input#searchName:focus {
    box-shadow: none;
}

.list-item-header.open {
    box-shadow: none;
    border: 1px solid #c6cece;
}

/* .esri-ui-top-left.esri-ui-corner {
    top: 50%;
} */

.form-control {
    font-family: 'Kufi';
    font-size: 13px;
}

select#cities {
    font-size: 13px;
}

select#distrects {
    font-size: 13px;
}

select#streets {
    font-size: 13px;
}

label {
    font-size: 13px;
}

button.menu-button.toggle {
    cursor: pointer;
}

.search-suggestions li {
    padding: 5px;
    color: gray;
    border-bottom: 1px;
}

ul#searchSuggestionUl {
    width: 442px;
    margin-right: -41px;
    margin-top: 8px;
}

.copy-right {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
    font-family: 'Kufi';
    font-size: 11px;
    font-weight: bold;
}

.esri-basemap-toggle__container,
.esri-basemap-toggle__image {
    border-radius: 15px;
    border: 1px solid #9c8c8c;
}

.esri-component.esri-basemap-toggle.esri-widget:focus {
    outline: none !important;
}

.esri-basemap-thumbnail.esri-basemap-toggle__container.esri-basemap-toggle__image--secondary:focus {
    outline: none !important;
}

.esri-view .esri-view-surface--inset-outline:focus::after {
    outline: 0;
    outline: 0px;
    outline-offset: 0;
}


/* select 2 css */

/* for move dropdown arrow to left */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    left: 1px;
}

/* this if you want to apply the width from css on select dom */
/* .select2 {
    width:100%!important;
  } */

/* to remove outline from the input inside the select dom */
input.select2-search__field {
    outline: none;
}

.select2-container--default .select2-selection--single {
    height: 37px;
    direction: rtl;
    font-size: 13px;
    font-family: 'Kufi';
}


.select2-results {
    direction: rtl;
    font-size: 13px;
    font-family: 'Kufi';
}

.select2-search--dropdown {
    direction: rtl;
}

.select2-selection {
    overflow: hidden;
}

.select2-selection__rendered {
    white-space: normal;
    word-break: break-all;
}

/* .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
    direction: rtl;
  } */

/* select 2 css */

.overlay {
    width: 98% !important;
    height: 95% !important;
}

.esri-legend__message {
    text-align: center;
}

.esri-component.esri-legend.esri-widget.esri-widget--panel {
    border-radius: 20px;
    box-shadow: 0px 1px 4px 0px rgb(0 0 0 / 30%);
    direction: rtl;
}

.esri-legend__layer-caption {
    display: none;
}

.list-item-icon.toggleListIcon {
    transform: translate(1px, 4px) rotate(2deg);
}

.list-item-icon.toggleListIcon.open {
    transform: rotate(180deg);
}

/* .esri-legend__message {
    display: none;
}â€â€â€ */

.widget-container {
    height: auto;
    display: flex;
    flex-flow: column;
    position: absolute;
    height: 200px;
    /* top: 0px; */
    width: 100%;
}

/* .esri-ui-corner .esri-component {
    border-radius: 5px;
    box-shadow: 0 1px 1px 2px #0000000f;
    font-weight: bold;
    font-size: 20px;
} */

div#btn-askQuestions {
    font-size: 19px;
    font-weight: bold;
}

span.esri-icon.esri-icon-locate {
    font-weight: bold;
}

span.esri-icon.esri-icon-home {
    font-weight: bold;
}

@media only screen and (max-width: 600px) {
    ul#searchSuggestionUl {
        width: 385px;
        margin-right: -41px;
        margin-top: 35px;
        overflow: hidden;
        margin-left: 13px;
    }

    .list-item.open {
        display: block;
        width: calc(100% - 57px);
        top: 141px;
        margin: -7px 6px 19px;
        /* margin: -12px 6px 19px; */
    }

    .copy-right {
        bottom: 0;
        display: none;
    }

    .copy-right p {
        margin-bottom: 3px;
    }

    .header-title h4 {
        padding-left: 0px;
    }

    .esri-view-width-less-than-medium .esri-popup__action-text {
        display: block !important;
    }

    .header-title h4 {
        font-size: 11px;
    }

    .search-container {
        margin: 14px 5px 10px 51px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
    .header-title h4 {
        font-size: 10px;
    }
}

@media only screen and (min-width: 540px) and (max-width: 595px) {
    .list-item.open {

        width: calc(100% - 180px);

    }
}

ul.popUpDetails {
    padding: 0;
    list-style: none;
}

ul.popUpDetails li {
    display: flex;
    justify-content: space-between;
}

ul.popUpDetails li span.title {
    flex-grow: 0;
    margin-left: 10px;
}

ul.popUpDetails li span {
    flex-grow: 1;
    padding: 3px 5px;
    display: flex;
    align-items: center;
}

ul.popUpDetails li:nth-child(2n-1) {
    background: whitesmoke;
}

.esri-popup__header-title {
    margin-left: auto;
    margin-right: 10px;
}

.esri-popup__inline-actions-container:only-child {
    direction: rtl;
}

.esri-popup__inline-actions-container div:last-child span:last-child {
    display: none !important;
}

.esri-popup__inline-actions-container div:last-child:after {
    content: "عرض كامل الشارع";
}

.esri-ui-bottom-right{
    flex-flow:column !important;
}

div#stats{
    margin-bottom: 20px;
    direction: rtl;
    max-height: calc(100vh - 410px);
}

.esri-component.esri-legend.esri-widget.esri-widget--panel{
    border-radius: 0;
}

div#stats table.table {
    margin: 0;
    font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

div#stats table.table th {
    max-width: 120px;
    vertical-align: middle;
}

.esri-ui-bottom-left {
    flex-flow: column !important;
    align-items: self-start !important;
}

div#stats .parcels-table-wrapper {
    max-height: calc(100vh - 470px);
    overflow: auto;
}

#bxLoading svg{
    display: none;
}

#bxLoading.bx-search svg#searchSvg{
    display: block;
}

#bxLoading.bx-loader-alt svg#loadingSvg{
    display: block;
}

#bxLoading::before{
    display: none;
}

.esri-icon-home:before{
    
content: "" !important;
    
background: url(./assets/images/home.svg);
    
width: 24px;
    
height: 24px;
    
display: block;
}