﻿/*
   NCWRC Green - #407663
*/
:root {
    --calcite-font-size--1: 1rem;
    --calcite-font-size--2: 1rem;
    --calcite-font-size--3: 1rem;
}

body, html {
   height: 100%;
}

select[multiple="multiple"] {
   background: none !important;
}

input[type="checkbox"] {
   margin: 0;
}

label {
   margin-bottom: 0;
}

.label {
   display: inline;
   padding: .2em .6em .3em;
   font-size: 80%;
   font-weight: 700;
   line-height: 1;
   color: #fff;
   text-align: center;
   white-space: nowrap;
   vertical-align: baseline;
   border-radius: .25em;
}

.label-default {
   background-color: #407663;
}

.inputHeader * {
   vertical-align: middle;
}

.inputHeader div {
   display: inline-block;
}

.inputHeader div:nth-child(1) {
   float: left;
}

.inputHeader div:nth-child(2) {
   float: right;
}

.coordSpan {
   position: absolute;
   bottom: 18px;
   right: 2px;
}

.margin-top {
   margin-top: 16px;
}

.margin-bottom {
   margin-bottom: 16px;
}

.filterLocationContainer * {
   vertical-align: middle;
}

.ncwrcGreenColor {
   color: #407663;
}

.ncwrcGreenBackground {
   background-color: #407663;
   color: white !important;
}

.roundBorder {
   border-radius: 10px;
}

.bold {
   font-weight: bold;
}

a#backToPreviousPanelAnchor {
   cursor: pointer;
}

a#backToPreviousPanelAnchor * {
   vertical-align: text-top;
}

.modalContainer {
   height: 100%;
   width: 100%;
   align-items: center;
   justify-content: center;
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: #5c5c5c7a;
   z-index: 1031; /*calcite-map css has z-index of 1030 for navbar-fixed-bottom, navbar-fixed-top classes*/
}

.loader {
   border: 16px solid #f3f3f3;
   border-top: 16px solid #407663;
   border-radius: 50%;
   width: 120px;
   height: 120px;
   animation: spin 2s linear infinite;
}

.calcite-panels h5 {
   font-weight: bold;
}

.btnIconContainer {
   position: relative;
}

.btnIcon {
   position: absolute; 
   top: 8px; 
   right: 10px;
}

@keyframes spin {
   0% {
      transform: rotate(0deg);
   }

   100% {
      transform: rotate(360deg);
   }
}

@media screen and (max-width: 768px) {
   /*   div#locationDetailsContainer {
      max-height: 40vh;
   }*/

   div .calcite-panels div.panel-body {
      max-height: 40vh !important;
   }

   .coordSpan {
      position: absolute;
      bottom: initial;
      right: 0;
      top: 52px;
   }
}

/**********************Overrides************************/
.calcite-navbar.calcite-bg-dark.navbar,
.calcite-panels.calcite-bg-dark .panel-heading {
   background-color: #407663;
}

.calcite-panels.calcite-bg-dark .panel-heading:hover {
   background-color: #407663cf;
}

.esri-legend__layer-caption {
   display: none;
}

.tooltip-inner {
   background-color: #407663 !important;
}

.tooltip-arrow {
   border-top-color: #407663 !important;
}

.btn-primary {
   color: white !important;
}

.btn-primary,
.btn-primary:focus {
   background-color: #407663 !important;
   border-color: #407663 !important;
}

.btn-primary:hover {
   background-color: #3d6b5b;
   border-color: #3d6b5b;
}

.btn-primary:active
.btn-primary:focus:active {
   background-color: #315d4d !important;
   border-color: #315d4d !important;
}

.btn-primary:active:hover {
   background-color: #294e41;
   border-color: #294e41;
}

.img-responsive {
   margin: auto;
}

.fullscreen-image {
   cursor: zoom-out !important;
   position: fixed;
   top: 0;
   left: 0;
   height: 100vh !important;
   width: auto !important;
   right: 0;
   margin: auto;
   bottom: 0;
   background-color: #000000bf;
}

.esri-view .esri-view-surface--inset-outline:focus::after {
   outline: none;
}

.esri-distance-measurement-2d__clear-button,
.esri-area-measurement-2d__clear-button {
   background-color: #407663;
}

/**************************************************************/
/**************Chrome/Safari/Opera Scrollbar*****************/
/* width */
::-webkit-scrollbar {
   width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
   background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
   background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
   background: #555;
}
/***********************************************************/