@font-face {
  font-family: 'OpenSans';
  /*a name to be used later*/
  src: url('../fonts/Open_Sans/OpenSans-Regular.ttf');
  /*URL to font*/
}

@font-face {
  font-family: "OpenSans";
  src: url('../fonts/Open_Sans/OpenSans-Bold.ttf');
  font-weight: bold;
}

html,
body,
#map {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
  min-width: 900px;
  font-family: 'OpenSans', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  background-color: #fff;
  /* min-width: 800px; */
}

#map{position: relative;}

  /* To do: login css */
.loginBtn,
.signinBtn {
  padding: 15px;
  color: #1C758E;
}

.themeBackgroundColor {
  background-color: rgba(28, 117, 142, 0.8);
}

.hover:hover {
  background-color: rgba(28, 117, 142, 1);
}

.alert {
  padding: 15px;
  margin-bottom: 0px;
  border: 1px solid transparent;
  border-radius: 0px;
}

.login {
  width: 100%;
  background-color: #1C758E;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
}



#navBar{
    font-size: 17px;
    height: 50px;
    color: white;
    background-color: rgba(34,34,34,0.9);
    -moz-box-shadow: 0 0 1em black;
    -webkit-box-shadow: 0 0 1em black;
    box-shadow: 0 0 1em black;
}


#mapTab, #adminTab {
    height: 100%;
}

#toolbarDiv {
  padding: 15px;
  cursor: default;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.esri-widget--button.active,
.esri-widget--button.active:hover,
.esri-widget--button.active:focus {
  cursor: default;
  background-color: #1C758E;
}

.esri-widget--button.active path,
.esri-widget--button.active:hover path,
.esri-widget--button.active:focus path {
  fill: #e4e4e4;
}

#burgerButton {
    position: absolute;
    background-color: white;
    cursor: pointer;
    top: 15px;
    left: 15px;
    z-index: 20;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: background-color 125ms ease-in-out;
}

.meniu {
    position: absolute;
    background-color: #fff;
    width: 362px;
    height: auto;
    top: 60px;
    left: 20px;
    z-index: 50;
}

#closeMenu {
    float: right;
    font-size: 28px; 
    cursor: pointer; 
    color: #9d9d9d;
    padding: 6px;
}

#menuHeader {
    position: absolute;
    width: inherit;
    height: 155px;
    position: absolute;
    background-color: rgba(34, 34, 34, 0.9);
    float: left;
    -moz-box-shadow: 0 0 1em black;
    -webkit-box-shadow: 0 0 1em black;
    box-shadow: 0 0 1em black;
}

#titlu{ 
    position: absolute;
    width: auto;
    bottom: 70px;
    left: 10px;
    color: white;
    font-size: 20px;
}

#titluAdm, #titluAdm2, #titluAdm3{ 

    width: auto;
    height: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;

}

#titluAdm2, #titluAdm3 {
    display: none;
}

#menuNav {
    position: absolute;
    width: 342px;
    height: 50px;
    bottom: 10px;
    left: 10px;
}


#menuBody {
    background-color: white;
    position: absolute;
    top: 150px;
    width: 362px;
    max-height: 72vh;
    overflow: auto;
    -moz-box-shadow: 0 0 1em black;
    -webkit-box-shadow: 0 0 1em black;
    box-shadow: 0 0 1em black;
}

.wraperListaStraturi {
    width: 100%;
    height: 100%;
    overflow: auto;

}
/* .buton stilizeaza butoanele cu background imagine*/
.navButton {
    float: left;
    cursor: pointer;
    margin-left: 3px;
    background-color: inherit;
    width: 48px;
    height: 48px;
    border-radius: 0px;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 51;
}

.navButtonAdm {
    float: left;
    cursor: pointer;
    margin-left: 3px;
    background-color: inherit;
    width: 35px;
    height: 35px;
    border-radius: 0px;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 51;
}
/* .buton stilizeaza butoanele create cu font Awesome */

.butonMeniuAdm {
  padding: 10px;
  margin: 5px 0px;
}

.layersAdmButtons {
  padding: 10px;
  margin: 10px;
}

#HomeButton {
    float: left;
    }

.HomeButton .home{
    background-color: inherit;
    width: 35px;
    height: 35px;
    border-radius: 0px;
    background-image: url(../img/home.png);
}

.closeButton{
  position: absolute;
  color: #9d9d9d;
  font-size: 28px;
  opacity: 1;
}

.admPanel .close {
  text-shadow: none;
}

#closeMenu {
  text-shadow: none;
}

#closeMenu:hover,
.closeButton:hover {
    color: white;
    opacity: 1;
}

#menuNav .activ,
#baraButoaneAdm .activ,
.layersAdmButtons.activ{
  background-color: #1C758E;
}

.sidenav .activ {
  color: white;
}

.HomeButton .home:hover,
#burgerButton:hover,
.navButton:hover,
.burgerButton:hover,
.butonMeniuAdm:hover,
.layersAdmButtons:hover
{
    background-color: #1C758E;
    border-color: #1C758E;
}

#closeMainMenu svg,
.navButton svg {
  fill: white;
  margin: 6px;
}


.tab-title {
    font-size: 16px;
    padding-left: 10px;
    margin-top: 10px;
}



.panel {
    box-sizing: border-box;
    -moz-box-shadow: 0 0 2px #888;
    -webkit-box-shadow: 0 0 2px #888;
    box-shadow: 0 0 2px #888;
}

.panel-heading,
.panel-body {
    padding: 5px 10px;
    border-radius: 0px;
}

.panel-title,
.panel-title label,
.panel-body label {
    text-transform: uppercase;
    font-size: 12px;
    width: 100%;
}

.panel-title {
    font-weight: bold;
}

#layersContainerDiv .panel {
  margin-bottom: 0px;
}


#baraButoaneAdm {
    margin-bottom: 20px;
    top: 10px;
    position: sticky;
    background-color: white;
    z-index: 10;
}


.esriPopup {
    position: absolute;
    z-index: 40;
    font-size: 12px;
    border-radius: 0px;
    -webkit-border-radius: 0px;
}

.esriPopup .esriPopupWrapper, .esriPopup .titlePane {
    border-radius: 0px;
    -webkit-border-radius: 0px;
}

.esriPopup .title{
 margin-right: 75px;
}

#gestiune{
    margin: 0; 
    padding: 0;
    overflow:hidden;
}

label {
    font-weight: normal;
}
.checkbox {
    -webkit-appearance: none;
    vertical-align: middle;
    background-color: #fafafa;
    border: 1px solid #cacece;
    font-weight: normal;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
    padding: 9px !important; 
    margin: 4px !important; 
    /*border-radius: 3px;*/
    display: inline-block;
    position: relative;
    border-radius: 0px !important;
}

.checkbox:active, .checkbox:checked:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.checkbox:checked {
    background-color: #e9ecee;
    border: 1px solid #adb8c0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: #99a1a7;
}

.checkbox:checked:after {
    content: '\2714';
    font-size: 14px;
    position: absolute;
    top: 0px;
    left: 3px;
    color: #99a1a7;
}


/* Panels */

.panel {
        box-sizing: border-box;
        -moz-box-shadow: 0 0 5px #888;
        -webkit-box-shadow: 0 0 5px #888;
        box-shadow: 0 0 5px #888;

}



.titluPanel {

        font-size: 16px;
        position: relative;
        height: 30px;
        background-color: rgba(102,102,102,0.80);
        color : white;
        text-align: center;
        user-select: none;
        /*-webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -o-border-radius: 5px;
        border-radius: 5px; */
}


#Dialog {

        height: 150px;
        width: 400px;
        z-index: 40;
}




#panelOverview {
        position: absolute;
        height: 195px;
        width: 345px;
        bottom: 5px;
        left: 74px;
        z-index: 40;
        display: none;
}

#panelMasurare {
        position: absolute;
        top: 20px;
        left: 430px;
        height: 200px;
        width: 350px;
        z-index: 40;
        display: none;

}

#panelCoord {
        position: absolute;
        top: 95px;
        left: 74px;
        height: 300px;
        width: 300px;
        z-index: 40;
        display: none;
}

.raport {
        height: 100%;
        width: 99%;
        font-size: 11px;
}

#cereriCU {
    display: block;
}

.titluRegistru {
    font-size: 14px;
    font-family: Arial;
    text-align: center;
    font-weight: bold;
    padding: 3px;
}

.pageOverlay {
    position: absolute;
    height: 100%;
    width: 100%;
    margin: 0; 
    padding: 0;
    z-index: 949;
    display: block;
}

#loadingOverlay {
    background-color: rgba(255,255,255,0.6);
    /* background:  #fff url('https://ajax.googleapis.com/ajax/libs/dojo/1.10.4/dijit/themes/claro/images/loadingAnimation.gif') no-repeat 10px 23px; */
}

.loadingMessage {
    padding: 25px 40px;
    color: #999;
}
.lds-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  /* color: official;
  display: inline-block;
  position: relative; */
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
}

.lds-spinner div {
  transform-origin: 32px 32px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 29px;
  width: 5px;
  height: 14px;
  border-radius: 20%;
  background: black;
}

.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Tooltip text */
.buton .tooltiptext {
    visibility: hidden;
    width: 150px; 
    /* background-color: rgba(102,102,102,0.80); */
    color: black;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 0;
    /* border-radius: 6px; */

    /* Position the tooltip text */
    position: absolute;
    z-index: 2;
    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
}

.tooltipRight {
    bottom: 11%;
    left: 70%;
    margin-left: 15px;
}

.tooltipBottom {
    margin-top: 5px;
}

.buton:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.modal {
    padding-top: 60px; /* Location of the box */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.3); /* Black w/ opacity */
}

.row {
    margin: 15px 10px;
}


.modal-title {
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
}

.modal-title.row {
    background-color: darkgrey; 
    text-transform: uppercase; 
    margin: 0px;
}

/* Style the tab */
div.tab {
    display: block;
    overflow: hidden;
    height: 40px;
    background-color: rgb(64,64,64);
    background-color: rgba(64,64,64,0.9);
}

/* Style the buttons inside the tab */
div.tab button {
    font-size: 14px;
    width: 16.66666%;
    height: 100%;
    color: white;
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
div.tab button:hover {
    background-color: #1C758E;
}

/* Create an active/current tablink class */
div.tab button.active {
    background-color: #1C758E;
}


/* Style the tab content */
.document {
  background-color: lightgrey;
  font-size: 16px;
  overflow: auto;
  height: calc(100vh - 150px);
}

.form-header {
    padding: 5px;
    border-top: 1px solid ;
    text-align: right;
}

.form-header button {
  margin: 5px;
}

.modal-footer{
    padding: 5px;
    border-top: 1px solid ;
}


.modal .buton {
    font-size: 12px;
    color: white;
    padding: 9px 20px;
    border: none;
    margin-left: 5px;
    cursor: pointer;
    position: relative;
    background-color: rgb(64,64,64);
    background-color: rgba(64,64,64,0.80);
}

.left{
    float: left;
}

.modal .buton:hover{
    background-color: #1C758E;
}

.modal .reset:hover
 {
    background-color: red;
}

#veziDocumentatie {
    bottom: 0px;
    right: 18px;
    float:right;
    text-decoration: none;
}


/* Style inputs with type="text", select elements and textareas */
.modal input[type=text],
.modal textarea,
.modal input[type=number] {
    padding: 4px; /* Some padding */  
    border: 1px solid #ccc; /* Gray border */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
   /*  margin-top: 10px; Add a top margin */
    /* margin-bottom: 10px; Bottom margin */

}

.document textarea,
.modal textarea {
    text-align: justify;
    width: 100%;
    resize: vertical;
    line-height: 1.2;
        /* Allow the user to vertically resize the textarea (not horizontally) */
}

table {
    width: 100%;
}

table .table-buton {
    color: black;
    font-size: inherit;
    padding: 5px;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    vertical-align: middle;
}

#admParcels table tr {
    border-bottom: 1px solid black;
}

select {
    width: 90%;
}

.hidden{
    display: none;
}

.disabled {
    cursor: not-allowed;
}

#reglementari {
    display: none;
    position: absolute;
    background-color: #fff;
    width: 600px;
    top: 50px;
    left: 400px;
    z-index: 50;
    -moz-box-shadow: 0 0 1em black;
    -webkit-box-shadow: 0 0 1em black;
    box-shadow: 0 0 1em black;
}

#wrapper-reglementari {
    padding: 20px;
}

#reglementari table td {
    padding: 3px 0px;
}

.panel-body table td {
    padding: 2px 0px;
}

.admPanelContent button {
  white-space: normal;
  text-align: left;
  width: 100%;
}

.layerControlsContainer:hover {
    background-color: rgba(28, 117, 142, 0.2);
}

input[type=range] {
    display: inline-block;
    width: 75%;
}

.sliderContainer {
    display: none;
}

/* The side navigation menu */
.sidenav {
  position: absolute;
  height: calc(100% - 52px);
  display: inline-block;
  top: 52px;
  width: 250px;
  background-color: #818181;
  padding-top: 20px;
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: #111;
    display: block;
    text-transform: uppercase;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: white;
}

.sidenav a .active {
    color: white;
}

#gridGestiune {
    float: right;
    width: calc(100% - 250px);
    overflow: auto;
}

#infoParcelaContinut td input {
  width: 100%;
}

#requestsTable tbody {
  cursor: pointer;
}

#requestsTable tbody tr:hover {
  background-color: rgba(28, 117, 142, 0.2);
}

@media only screen and (max-width: 600px) {
  #main-menu {
    display: none;
  }
  #navHeader {
    display: inline-block;
  }
}

.thNoBorderWithAlign {
    font-weight: normal;
    text-align: center;
}
.thNoBorder {
    font-weight: normal;
}
.thAlignCenter {
    text-align: center; 
}

.tdPositionRelative {
    position: relative;
}
  
.tdInput {
    position: absolute;
    display: block;
    top:0;
    left:0;
    margin: 0;
    height: 100%;
    width: 100%;
    border: none;
    box-sizing: border-box;
}
.tdInputBlock {
    display: block;
    top:0;
    left:0;
    margin: 0;
    height: 100%;
    border: none;
    box-sizing: border-box;
}


#usersInfoContent input[type="radio"] {
  cursor: pointer;
}

#createUserModal td,
#editUserModal td {
  border: none;
}

#addForm .modal-body button {
  display: block;
}

.modal-loader span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #3498db;
    margin: 5px 5px 0px 0px;
}

.modal-loader span:nth-child(1) {
    animation: bounce 1s ease-in-out infinite;
}

.modal-loader span:nth-child(2) {
    animation: bounce 1s ease-in-out 0.33s infinite;
}

.modal-loader span:nth-child(3) {
    animation: bounce 1s ease-in-out 0.66s infinite;
}

@keyframes bounce {
    0%, 75%, 100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
    25% {
        -webkit-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        -o-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}

/* textarea {
  width: 100%;
  min-height: 33rem;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 0.8rem;
  line-height: 1.2;
} */
.config-textarea {
    min-height: 33rem; 
    width: 100%;
}

.timeline {
    list-style: none;
    padding: 0 0 20px;
    position: relative;
    margin-top: -15px;
    overflow: auto;
    max-height: 80vh;
}

.timeline:before {
    top: 30px;
    bottom: 25px;
    position: absolute;
    content: " ";
    width: 3px;
    left: 25px;
    margin-right: -1.5px
}

.timeline>li, .timeline>li>.timeline-panel {
    margin-bottom: 5px;
    position: relative
}

.timeline>li:after, .timeline>li:before {
    content: " ";
    display: table
}

.timeline>li:after {
    clear: both
}

.timeline>li>.timeline-panel {
    margin-left: 55px;
    float: left;
    top: 19px;
    padding: 4px 10px 8px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 90%
}

.timeline>li>.timeline-badge {
    color: #fff;
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 1.2em;
    text-align: center;
    position: absolute;
    top: 26px;
    left: 9px;
    margin-right: -25px;
    background-color: #fff;
    z-index: 100;
    border-radius: 50%;
    border: 1px solid #d4d4d4
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: left
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    border-right-width: 0;
    border-left-width: 15px;
    right: -15px;
    left: auto
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    border-right-width: 0;
    border-left-width: 14px;
    right: -14px;
    left: auto
}

.timeline-badge.primary {
    background-color: #2e6da4!important
}

.timeline-badge.success {
    background-color: #3f903f!important
}

.timeline-badge.warning {
    background-color: #f0ad4e!important
}

.timeline-badge.danger {
    background-color: #d9534f!important
}

.timeline-badge.info {
    background-color: #5bc0de!important
}

.timeline-title {
    margin-top: 0;
    color: inherit
}

.timeline-body>p, .timeline-body>ul {
    margin-bottom: 0;
    margin-top: 0
}

.timeline-body>p+p {
    margin-top: 5px
}

.timeline-badge>.glyphicon {
    margin-right: 0px;
    color: #fff
}

.timeline-body>h4 {
    margin-bottom: 0!important
}

.timeline textarea {
  min-width: 100%;
}