﻿input.with-icon + svg {
    position: absolute;
    top: 35px;
    right: 22px;
    color: silver;
}

input.with-icon {
    padding-right: 30px;
}

div#Scrollbar {
    margin-left: 0;
}

#viewDiv {
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/*
@media (max-width: 576px) {

    #viewDiv {
        height: calc(100vh - 122px);
    }
}*/

.GIS-form .nav-tabs > li > a {
    margin-right: 5px;
}

.form-group.buttons {
    text-align: left;
}

    .form-group.buttons > input,
    .form-group.buttons > button {
        margin: 0;
    }

input[type="checkbox"] {
    line-height: 15px;
}

div#layerList .layer-item {
    margin: 15px 0;
}

    div#layerList .layer-item label {
        display: inline-block;
        margin: 5px;
    }

a.momra-logo {
    float: right;
    margin: 0 15px;
}

a.nav-link.v-2030-logo {
    float: left;
    margin: 10px 20px;
}

div#map {
    padding-top: 80px;
    overflow: hidden;
}

.GIS-form .form-control {
    font-size: 9pt;
}

div#navbarSupportedContent {
    margin-bottom: 0;
}

/*div#layerList {
    width: 280px;
    background: whitesmoke;
    position: absolute;
    z-index: 10;
    left: 20px;
    top: 180px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 0 rgb(0 0 0 / 0.25);
    border: thin solid silver;
}*/

div#attachment-control .content {
    min-width: 400px;
}

header .navbar-nav .dropdown-menu {
    width: auto;
    padding: 20px;
}

.coord .content label {
    display: inline-block;
}

input#coordNo {
    display: inline-block;
    width: 40px;
    padding: 0;
    text-align: center;
    border: none;
    box-shadow: none;
    border-bottom: thin solid silver;
    border-radius: 0;
    height: auto;
}

.coord-input-wrapper {
    min-width: 250px;
    text-align: center;
}

div#attachment-control .content input {
    display: inline-block;
}

table#coordTble1 td b {
    padding: 5px;
}

table#coordTble1 td {
    padding: 10px 4px;
}

.layers-container {
    direction: rtl;
    display: block;
    max-height: 100%;
    background: #f8f8f8;
    transition: all 0.3s ease;
    width: 300px;
    position: absolute;
    z-index: 1000;
    top: 170px;
    left: 20px;
    border: thin solid silver;
}

    .layers-container * {
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box;
        box-sizing: content-box;
    }

    .layers-container .esriLayerList .esriTabSelected {
        direction: ltr;
    }

    .layers-container .esriLayerList .dijitSlider {
        width: 100%;
        margin-top: 30px;
    }

.dimensions-container {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.north-container,
.east-container,
.south-container,
.west-container {
    display: flex;
    flex-flow: row;
    margin-bottom: 8px;
}

.couple-space {
    display: flex;
    flex-flow: row;
    margin: 0 10px;
    flex-shrink: 0;
}

    .couple-space:first-child {
        margin: 0;
    }

    .couple-space > *:first-child {
        margin: 0;
    }

    .couple-space .dimension-value {
        line-height: 200%;
        border: thin solid silver;
        padding: 0 5px;
    }

    .couple-space select {
        border: thin solid silver;
        border-left: none;
    }

input[type="range"] {
    -webkit-appearance: none;
}

    input[type="range"]::-webkit-slider-runnable-track {
        max-width: 320px;
        height: 5px;
        background: #ddd;
        border: none;
        border-radius: 3px;
    }

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        border: none;
        height: 16px;
        width: 16px;
        border-radius: 50%;
        background: goldenrod;
        margin-top: -4px;
    }

    input[type="range"]:focus {
        outline: none;
    }

        input[type="range"]:focus::-webkit-slider-runnable-track {
            background: #ccc;
        }

.introjs-skipbutton {
    margin-right: 0;
    margin-left: 5px;
    float: right;
}

.introjs-tooltipbuttons {
    text-align: left;
}

.introjs-helperNumberLayer {
    box-sizing: content-box;
    background: silver;
}

.introjs-helperLayer {
    background-color: none;
    border-color: white;
}

header .esriSimpleSlider,
header.green-h {
    z-index: unset;
}

.claro .dijitDialogTitleBar,
.claro .dijitButton .dijitButtonNode,
.claro .dijitDropDownButton .dijitButtonNode,
.claro .dijitComboButton .dijitButtonNode,
.claro .dijitToggleButton .dijitButtonNode {
    background-color: #0e6969ad;
}

.noncursor {
    cursor: default;
    text-align: justify;
    padding-bottom: 5px;
    font-family: "Arabic Typesetting";
    font-size: 28px;
    font-weight: bolder;
    /*border-bottom-style:solid;*/
}

#lyrname {
    font-family: "Arabic Typesetting";
    font-size: 28px;
    font-weight: bolder;
    text-decoration: underline;
}

input[type="checkbox"] {
    width: 30px;
    height: 15px;
    margin-right: 8px;
    cursor: pointer;
    font-size: 15px;
    visibility: hidden;
}

    input[type="checkbox"]:after {
        content: " ";
        background-color: #fff;
        display: inline-block;
        margin-left: 10px;
        padding-bottom: 5px;
        color: goldenrod;
        width: 15px;
        height: 17px;
        visibility: visible;
        border: 1px solid #00bff0;
        padding-left: 3px;
        border-radius: 2px;
    }

    input[type="checkbox"]:checked:after {
        content: "\2714";
        padding: -5px;
        font-weight: bold;
    }

@media (max-width: 768px) {
    a.momra-logo {
        float: none;
        text-align: center;
        margin: 0 auto;
        display: block;
    }

    .navbar-nav {
        margin-top: 0 !important;
    }

    div#map {
        padding-top: 117px;
        overflow: hidden;
    }

    .GIS-form {
        top: 135px;
    }
}

.layers-container {
    width: 300px;
    top: 200px;
    left: 20px;
}

    .layers-container a.handle {
        position: absolute;
        left: 2px;
        right: auto;
        background: whitesmoke;
        padding: 5px;
        top: 6px;
        border-radius: 0 3px 3px 0;
        font-size: 15px;
    }

    .layers-container.layers-container-hide > h4 {
        display: none !important;
    }

    .layers-container.layers-container-hide > .esriLayerList {
        display: none !important;
    }

    .layers-container.layers-container-hide {
        width: auto;
    }

h1 {
    color: #396;
    font-weight: 100;
    font-size: 40px;
    margin: 40px 0px 20px;
}

#clockdiv {
    font-family: sans-serif;
    color: #fff;
    display: inline-block;
    font-weight: 100;
    text-align: center;
    font-size: 30px;
}

    #clockdiv > div {
        padding: 10px;
        border-radius: 3px;
        background: #00bf96;
        display: inline-block;
    }

    #clockdiv div > span {
        padding: 15px;
        border-radius: 3px;
        background: #00816a;
        display: inline-block;
    }

smalltext {
    padding-top: 5px;
    font-size: 16px;
}

.layers-container a.handle {
    position: absolute;
    right: -28px;
    background: whitesmoke;
    padding: 5px;
    top: 0;
    border-radius: 0 3px 3px 0;
}

.esriPopup .titleButton.maximize {
    top: 10px;
}

.esriPopup .titlePane {
    background-color: #136a6a;
}

span#xx {
    background: white;
    padding: 0 10px;
    box-shadow: 0 0 5px;
    border-radius: 5px;
}
/*#endregion */

.select2-container {
    width: 95% !important;
    min-width: 95% !important;
    max-width: 100% !important;
}

.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    top: 7px !important;
    right: auto !important;
    width: 20px !important;
    left: 1px !important;
}

.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 35px !important;
}

#addWorksiteWrapper.worksites-wrapper {
    width: 87vw;
    font: bold 10pt Tajawal;
    direction: rtl;
    text-align: right;
}

.worksites-wrapper {
    position: absolute;
    top: 100px;
    right: 10px;
    background: white;
    padding: 20px;
    transition: all 0.4s ease;
    width: 460px;
    max-width: 750px;
    max-height: calc(100vh - 120px);
    box-shadow: 0 2px 5px silver;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: 'Tajawal';
}

    .worksites-wrapper .worksite-container {
        background: whitesmoke;
        padding: 10px;
        margin: 10px 0;
        text-align: center;
        transition: all 0.2s ease;
    }

    .worksites-wrapper .worksite-paths-container {
        overflow: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-bottom: 15px;
    }

    .worksites-wrapper .worksite-container, .worksites-wrapper .worksite-container * {
        cursor: pointer;
    }

        .worksites-wrapper .worksite-container label {
            margin: 0;
            text-align: center !important;
        }


    .worksites-wrapper h4 {
        margin: 0;
    }

    .worksites-wrapper .worksite-container:hover {
        transform: translateX(10px);
    }

.worksite-paths-footer {
    display: flex;
    justify-content: flex-end;
}

div[style*="pointer-events: none"] {
    background: silver !important;
    border: thin solid silver !important;
}


.digging-wrapper {
    display: block;
    width: 100%;
    margin: 10px 0;
}

    .digging-wrapper a {
        margin: 10px 0;
        width: 100% !important;
    }


    .digging-wrapper .well {
        margin: 0;
        padding: 0;
    }

        .digging-wrapper .well table {
            text-align: center;
        }

            .digging-wrapper .well table thead td {
                font: bold 10pt Tajawal;
            }


            .digging-wrapper .well table span.esri-icon-check-mark {
                color: green;
                font-weight: bold;
            }

            .digging-wrapper .well table span.esri-icon-close {
                color: red;
                font-weight: bold;
            }

    .digging-wrapper a span.click-for-details {
        float: left;
        display: flex;
        align-items: center;
    }

    .digging-wrapper a span {
        float: right;
    }

        .digging-wrapper a span.click-for-details i {
            margin-right: 5px;
        }

.loading-wrapper, .loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-content: center;
    justify-content: center;
    background: rgba(255,255,255,0.7);
}

.loading {
    display: flex;
}

    .loading img {
        width: 100px;
    }

@media (max-width: 767px) {
    .navbar-nav .open .dropdown-menu {
        position: absolute;
    }

    .navbar-nav .open .dropdown-menu {
        margin-right: auto;
        margin-left: -300px;
    }
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.esri-view .esri-view-surface--inset-outline:focus::after {
    outline: none;
}

.worksites-wrapper .worksite-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .worksites-wrapper .worksite-header input {
        height: 30px;
        border: thin solid silver;
        padding: 0 5px;
    }

.worksites-wrapper button {
    display: flex;
    background: #217f7e;
    align-items: center;
    border: none;
    border-radius: 3px;
    justify-content: space-between;
}

    .worksites-wrapper button span {
        background: none;
        width: auto;
        margin: 0 10px;
    }


.worksites-wrapper .worksite-paths-container table td {
    vertical-align: middle;
    text-align: center;
}


    .worksites-wrapper .worksite-paths-container table td input {
        border: none;
        background: whitesmoke;
        font: bold 10pt calibri;
        padding: 5px;
    }

        .worksites-wrapper .worksite-paths-container table td input[id^="streetWidth"],
        .worksites-wrapper .worksite-paths-container table td input[id^="pathDepth"],
        .worksites-wrapper .worksite-paths-container table td input[id^="pathWidth"] {
            width: 45px;
            text-align: center;
        }

.worksites-wrapper button > * {
    color: white;
}

.worksites-wrapper .worksite-header button > *:hover {
    background: none;
}

.worksites-wrapper .worksite-paths-container table td .btn-delete-path {
    cursor: pointer;
    color: red;
}


select.loading + .select2::after, .async.loading::after {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    bottom: -1px;
    right: -1px;
    left: -1px;
    background: rgb(255 255 255 / 80%);
}

select.loading + .select2::before, .async.loading::before {
    /*font-family: 'Glyphicons Halflings','';
    content: "\e031";*/
    font-family: "CalciteWebCoreIcons" !important;
    content: "\e65e";
    position: absolute;
    z-index: 100000;
    right: 50%;
    top: calc(50% - 10px);
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
    color: black;
}


@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.select2-container {
    width: 100% !important;
}

.esri-widget__table tr a {
    background: deepskyblue;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.esri-widget__table span.bold {
    font-weight: bold;
}

.esri-widget__table tr th {
    text-align: right;
}

.navigation-controls.lang {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .navigation-controls.lang > div {
        height: 50px;
        box-sizing: border-box;
        width: 45%;
        margin-bottom: 37px;
    }


.edit.uplaod-file-wrapper {
    width: 200px;
    position: absolute;
    height: 100px;
    left: calc(50% - 100px);
    top: calc(50% - 50px);
    padding: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collpase-panel {
    display: flex;
    background: white;
    width: 30px;
    height: 30px;
    position: absolute;
    left: -30px;
    top: 0;
    justify-content: center;
    align-items: center;
}


.worksites-wrapper.collapse {
    right: -87vw;
}

.worksites-wrapper.collapse-max-width {
    right: -750px;
}

.esriSimpleSlider div {
    text-align: center;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

header.green-h {
    display: none;
}

.dropdown-menu-right {
    left: 0;
    right: auto;
}



.open > .dropdown-menu {
    display: block !important;
}

.esriSimpleSlider div.content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.esriSimpleSlider div.field {
    width: 100%;
}

.worksite-paths-container table th {
    text-align: center;
    vertical-align: middle !important;
}

.esri-popup__navigation {
    direction: ltr;
}

    .esri-popup__navigation div.esri-popup__button {
        direction: rtl;
    }


div#pnlAttachment {
    padding: 20px;
    background: white;
}

    div#pnlAttachment .content > * {
        margin: 10px 0;
    }

div#shapeFileInfo {
    padding: 10px;
    width: 50vw;
    background: white;
    height: 60vh;
    overflow: auto;
}

#shapeFileInfo a {
    font-size: 10pt;
}

#shapeFileInfo li {
    margin: 5px 0;
    font-size: 10pt;
}


.select2-container--default .select2-results > .select2-results__options {
    text-align: right;
    font: normal 10pt Tajawal;
}
