﻿@charset "utf-8";

body {
    letter-spacing: .5px;
}

:root {
    --special-color: #004820;
    --special-color-dark: #003117;
    --dark-color: #171e26;
    --menu-item-height: 45px;
    --right-side-width: 55px;
    --side-width: 350px;
}

/*====================================================================================================================*/
/*====================================================================================================================*/

.header {
    position: fixed;
    left: 0;
    z-index: 990;
    background-color: rgba(0, 162, 53, 0.5);
}

.logo {
    display: block;
    width: 320px;
    padding: calc((var(--right-side-width) - 35px) / 2) 20px;
    font-size: 13px;
    color: #fff !important;
    background-color: var(--special-color);
    white-space: nowrap;
    line-height: 1.4em;
}

.logo img {
    width: auto;
    height: 35px;
    float: left;
    margin-right: 10px;
}

@media (max-width: 575px) {
    .logo{
        width: calc(100% - var(--right-side-width));
        padding-left: 10px;
        padding-right: 10px;
    }
}

/*====================================================================================================================*/
/* Right Side Menu */
/*====================================================================================================================*/

.right-side {
    position: fixed;
    width: var(--right-side-width);
    height: 100vh;
    top: 0;
    right: 0;
    background-color: var(--special-color);
    z-index: 992;
}

.right-side .d-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-toggle {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: calc(var(--right-side-width) - 3px);
}

.account-toggle img {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.right-side a,
.right-side .btn,
.side-close{
    padding: 0;
    width: var(--right-side-width);
    height: var(--right-side-width);
    line-height: var(--right-side-width);
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 16px;
}

.right-side a:hover,
.right-side .btn:hover{
    background-color: var(--special-color-dark);
    color: #fff;
}

.menu-toggles .side-toggle {
    font-size: 22px !important;
}
.side-close,
.side-toggle[aria-expanded="true"] {
    background-color: var(--special-color-dark) !important;
    color: #fff !important;
}

/*====================================================================================================================*/
/* Main side menu */
/*====================================================================================================================*/

.sidebar {
    display: block;
    position: fixed;
    width: var(--side-width);
    max-width: calc(100% - var(--right-side-width));
    height: 100vh;
    top: 0;
    z-index: 991;
    right: -350px;
    /*background-color: #212b35;*/
    background-color: var(--special-color-dark);
}

.sidebar.lg {
    width: 700px !important;
    right: -700px;
}


.sidebar.xlg {
    width: calc(100vw - var(--right-side-width)) !important;
    right: -100vw;
}

.sidebar.shown {
    right: var(--right-side-width);
}

.sidebar-head h2 {
    padding: 0 20px;
    height: var(--right-side-width);
    line-height: var(--right-side-width);
    font-size: 20px;
}

.sidebar .scrolling-menu{
    border-bottom: 1px solid var(--special-color);
}

.sidebar .scrolling-menu .menu-item{
    height: var(--right-side-width);
    line-height: var(--right-side-width);
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 15px !important;
}

.sidebar .scrolling-menu .active .menu-item{
    color: #fff !important;
}

.sidebar .scrolling-menu .line{
    background-color: #fff !important;
}

.scrolling-menu + .sidebar-body{
    height: calc(100% - (var(--right-side-width) * 2));
}

.sidebar-body {
    height: calc(100% - var(--right-side-width));
}

.sidebar-body .item i{
    width: 100%;
    height: 120px;
    line-height: 120px;
    text-align: center;
    font-size: 70px;
    color: rgba(255, 255, 255, 0.6);
    background-color: var(--special-color-dark);
}

.sidebar-body .item:hover i{
    color: #fff;
}

/*====================================================================================================================*/
/* Menu */
/*====================================================================================================================*/

.side-menu {
    color: rgba(255, 255, 255, 0.9);
}

.side-menu li a {
    display: block;
    float: left;
    color: rgba(255, 255, 255, 0.7);
    padding: calc((var(--menu-item-height) - 18px) / 2) 15px;
    width: 100%;
}

.side-menu > li.active,
.side-menu > li:hover {
    background-color: rgba(90, 139, 81, 0.2);
}
.side-menu > li.active > a,
.side-menu > li:hover > a{
    color: #fff !important;
}

.side-menu li .menu-title {
    font-size: 14px;
    padding-left: 15px;
    width: calc(100% - var(--menu-item-height) - 5px);
}

.side-menu li .menu-title i {
    width: 30px;
    font-size: 20px;
    text-align: center;
    vertical-align: sub;
}

.side-menu li .menu-toggle {
    width: var(--menu-item-height);
    line-height: var(--menu-item-height);
}

.side-menu .menu-toggle i {
    width: calc(var(--menu-item-height) - 16px);
    height: calc(var(--menu-item-height) - 16px);
    line-height: calc(var(--menu-item-height) - 15px);
    margin: 8px 8px 7px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.2);
}

.side-menu .menu-toggle i.icon-eye {
    font-size: 14px;
}

.side-menu .active > .menu-toggle i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.side-menu .sub-menu,
.side-menu li ul {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    display: none;
}

.side-menu li ul li {
    border-left: 1px solid rgba(0, 0, 0, 0.3);
    position: relative;
}

.side-menu li ul li:before {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    left: -5px;
    top: calc((var(--menu-item-height) / 2) - 5px)
}

.side-menu li ul li:last-child {
    border-bottom: 0;
}

.sub-menu-title {
    width: calc(100% - var(--menu-item-height)) !important;
    padding-left: 10px;
}

.sub-sub-menu-title {
    padding-left: 10px;
}

.menu-buttons + .sub-menu-title,
.menu-buttons + .sub-sub-menu-title{
    width: calc(100% - 123px) !important;
}

.menu-buttons a {
    padding: calc((var(--menu-item-height) - 18px) / 2) 6.5px !important;
    width: auto !important;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5) !important;
}

.menu-buttons a:hover {
    color: #fff !important;
}

.sidebar table td {
    padding: 8px 0;
}

.sub-menu {
    padding-left: 22px;
}

.pivot .sub-menu a,
.camera .sub-menu a {
    display: block;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    margin: 5px 0;
    padding: 14px 0 !important;
    font-size: 13px;
    width: 100%;
}

.pivot .sub-menu a {
    border-radius: 50%;
}

.pivot .sub-menu a.active,
.camera .sub-menu a.active {
    background-color: var(--special-color) !important;
    color: #fff !important;
}

.lg-icons .sub-menu a {
    padding: 15px 0 !important;
    font-size: 50px;
    position: relative;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.7) !important;
}

.lg-icons .sub-menu a:hover {
    color: #fff !important;
    background-color: rgba(0, 0, 0, 0.3);
}

.lg-icons .sub-menu a i{
    display: block;
}

.bunkers .sub-menu a i:after {
    content: attr(data-precent);
    position: absolute;
    top: -5px;
    left: 0;
    font-size: 10px;
    background-color: #009eff;
    padding: 0 4px;
    line-height: 15px;
    border-radius: 10px;
    color: #fff;
    font-family: Roboto, serif;
}

.side-menu table i {
    width: 20px;
    font-size: 15px;
    text-align: center;
}

/*====================================================================================================================*/
/* Map */
/*====================================================================================================================*/

.map {
    height: 100vh !important;
    width: calc(100vw - var(--right-side-width));
    float: left;
    background-color: #999;
}

.esriSimpleSlider {
    bottom: 20px !important;
    left: 15px !important;
    background-color: #171e26 !important;
    border-radius: 0 !important;
}

.left-toolbar .btn,
.esriSimpleSlider div {
    background-color: #171e26 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    width: 35px !important;
    height: 35px !important;
    line-height: 30px !important;
    font-size: 20px !important;
    padding: 0 !important;
}

.left-toolbar .btn {
    font-size: 16px !important;
    line-height: 35px !important;
}

.left-toolbar .btn + .btn,
.left-toolbar .drop + .drop {
    margin-top: 5px;
}

.esriSimpleSlider div:hover {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

.left-toolbar {
    position: fixed;
    left: 15px;
    bottom: 110px;
    z-index: 990;
    border: 1px solid #57585A;
}

.left-toolbar .drop-menu {
    top: 0;
    left: calc(100% + 5px);
    min-width: 150px !important;
    background-color: #171e26 !important;
}

.left-toolbar .drop-menu .menu-item{
    color: #fff !important;
}

.left-toolbar .drop-menu .menu-item:hover{
    background-color: #2c353e !important;
}

    /*====================================================================================================================*/
/* Footer */
/*====================================================================================================================*/

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 990;
    line-height: 40px;
}

.esriControlsBR {
    display: none !important;
}

.esriPopup {
    font-size: 14px !important;
    line-height: 1.6em;
}

.esriPopup .contentPane,
.esriPopup .titlePane {
    padding: 10px !important;
}
.esriPopup .titlePane {
    background-color: #171e26 !important;
    border-radius: 0 !important;
}

.esriPopup .titleButton {
    top: 12px !important;
    height: 15px !important;
}

.esriPopup .titleButton.maximize {
    background-position: -55px 3px !important;
}

.esriPopup .actionsPane {
    padding: 10px;
    border-top: 1px solid #ddd;
    border-radius: 0 !important;
}

/*====================================================================================================================*/
/* Other custom styles */
/*====================================================================================================================*/

.alert {
    background-color: #ffc5ca;
    color: #840013;
}

.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.h-auto{
    height: auto;
}

.h-100p {
    height: 100%;
}

.mh-100 {
    height: 100px
}

.font-16 {
    font-size: 16px;
    line-height: 1.4em;
}

.bg-special {
    background-color: var(--special-color);
}

.text-special {
    color: var(--special-color);
}

.modal-dialog {
    max-width: 50%;
}

.separator {
    margin: 10px 0;
    width: 100%;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.bg-yellow{
    color: #ffff00;
}

.bg-tr-2{
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.bg-tr-2 option{
    color: #000 !important;
    padding: 10px 10px;
}

.table-dark th,
.table-dark td{
    border-color: #444 !important;
}

.w-60{
    width: 60px !important;
}


.scrolling-menu .line{
    background-color: var(--special-color) !important;
}

/*style for modal by abbas*/
#total_price{
    position: absolute;
    width: 91%;
    border: none;
    font-weight: bold;
}

