html,
body,
#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif; 
}
.esri-view-width-xlarge .esri-popup__main-container,
.esri-view-width-large .esri-popup__main-container,
.esri-view-width-medium .esri-popup__main-container
{
max-width: 350px !important;
}
.esri-popup__inline-actions-container{
    display: none !important;
}

#over img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 165px;
  }

.samsynLogo {
    position: absolute;
    bottom: 17px;
    left: 408px;
    z-index: 1;
}


.blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    top: 0;
    left: 0;
    z-index: 400;
    display: none;
}

.notValid {
    border-color: red;
}
.required {
    color: red;
}
/*---------------Left Panel ------------------------*/
.leftPanel {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #ffffff;
    -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,.6);
    -moz-box-shadow: 0 0 20px 0 rgba(0,0,0,.6);
    height: 100%;
    width: 400px;
    z-index: 1000;
    opacity: 0.95;
    display: flex;
    flex-flow: column;
}
.bvsLogo {
    padding-left: 56px;
    padding-top: 10px;
    height: 64px;
    width: 42px;
}

.addNew {
    height: 50px;
    position: absolute;
    bottom: 15px;
    left: 334px;
    cursor: pointer;
    display: none;
}
.multiEdit {
  height: 50px;
  position: absolute;
  bottom: 15px;
  left: 270px;
  cursor: pointer;
display: none;
}
.multiEditCancel {
  height: 50px;
  position: absolute;
  bottom: 15px;
  left: 334px;
  cursor: pointer;
  display: none;
}

.title {
    position: absolute;
    top: 15px;
    left: 120px;
    font-size: xx-large;
  }
  .titleUser {
    position: absolute;
    top: 50px;
    left: 125px;
    font-size: small;
    color: gray;
  }

  .table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
    font-size: small;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}
.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}
th {
    text-align: inherit;
}
tr:hover {background-color:#f5f5f5;}

.selectedTr {background-color:#eed5d5;}

.pointer {cursor: pointer;}

h2{
    text-align: center;
    font-weight: 100;
}

.formInputTitle{
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
    clear: both;
    line-height: 1.5em;
    color: #292828;
    padding-left: 15px;
}
.formTextInput{
    border-radius: 0 0 0 0;
    color: #303030;
    margin-bottom: 0;
    padding: 0 6px;
    border: 1px solid #999999;
    display: block;
    width: 84%;
    height: 2em;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-left: 31px;
}
.inputP{
    margin: 7px 0 9px 0;
}
/* Style buttons */
  
  /* Darker background on mouse-over */
  .btn:hover {
    background: #3498db;
    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
    background-image: -moz-linear-gradient(top, #3498db, #2980b9);
    background-image: -ms-linear-gradient(top, #3498db, #2980b9);
    background-image: -o-linear-gradient(top, #3498db, #2980b9);
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
  }

  .btn {
    background: #2d3d7e;
    background-image: -webkit-linear-gradient(top, #566291, #2d3d7e);
    background-image: -moz-linear-gradient(top, #566291, #2d3d7e);
    background-image: -ms-linear-gradient(top, #566291, #2d3d7e);
    background-image: -o-linear-gradient(top, #566291, #2d3d7e);
    background-image: linear-gradient(to bottom, #566291, #2d3d7e);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    padding: 8px 15px 7px 15px;
    text-decoration: none;
    border: none;
    margin: 7px 5px 7px 5px;
    cursor: pointer;
}
.btn:disabled{
    background: #c0c5c9;
    background-image: -webkit-linear-gradient(top, #cbcdcf, #c0c5c9);
    background-image: -moz-linear-gradient(top, #cbcdcf, #c0c5c9);
    background-image: -ms-linear-gradient(top, #cbcdcf, #c0c5c9);
    background-image: -o-linear-gradient(top, #cbcdcf, #c0c5c9);
    background-image: linear-gradient(to bottom, #cbcdcf, #c0c5c9);
}
.btnActive {
    background: #d84040;
    background-image: -webkit-linear-gradient(top, #d84040, #b31b1b);
    background-image: -moz-linear-gradient(top, #d84040, #b31b1b);
    background-image: -ms-linear-gradient(top, #d84040, #b31b1b);
    background-image: -o-linear-gradient(top, #d84040, #b31b1b);
    background-image: linear-gradient(to bottom, #d84040, #b31b1b);
  }
/*---------------Takkar á korti ------------------------*/
.switchMap {
        position: absolute;
        top: 120px;
        right: 10px;
        z-index: 100;
        background: #ffffff;
        background: rgba(253,253,253,.9);
        -webkit-box-shadow: 0 0 15px 0 #000000;
        -webkit-box-shadow: 0 0 15px 0 rgba(0,0,0,.4);
        -moz-box-shadow: 0 0 15px 0 #000000;
        -moz-box-shadow: 0 0 15px 0 rgba(0,0,0,.4);
        -ms-box-shadow: 0 0 15px 0 #000000;
        box-shadow: 0 0 15px 0 #000000;
        box-shadow: 0 0 15px 0 rgba(0,0,0,.4);
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -ms-border-radius: 2px;
        border-radius: 2px;
    }

    .switchMap ul {
        text-align: center;
        position: relative;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .switchMap ul li.active {
        display: block;
    }

    .switchMap ul li {
        display: none;
    }

    .switchMap ul li a {
        text-decoration: none;
        -moz-min-width: 70px;
        -ms-min-width: 70px;
        -o-min-width: 70px;
        -webkit-min-width: 70px;
        min-width: 70px;
        padding: 5px 10px;
        display: block;
        color: #535353;
    }

    .switchMap ul:hover li {
        display: block;
    }

    .switchMap ul:hover li a:hover:last-child,.switchMap ul:hover li a.active:hover:last-child {
        -webkit-border-radius: 0 0 2px 2px;
        -moz-border-radius: 0 0 2px 2px;
        -ms-border-radius: 0 0 2px 2px;
        border-radius: 0 0 2px 2px;
    }

    .switchMap ul:hover li a:hover:first-child,.switchMap ul:hover li a.active:hover:first-child {
        -webkit-border-radius: 2px 2px 0 0;
        -moz-border-radius: 2px 2px 0 0;
        -ms-border-radius: 2px 2px 0 0;
        border-radius: 2px 2px 0 0;
    }

    .switchMap ul:hover li a:hover,.switchMap ul:hover li a.active:hover {
        background: #DBDBDB;
        background: rgba(219,219,219,.9);
    }

    /* insláttar fromið*/

.spjald {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}

    #saveFormDiv {
        position: absolute;
        width: 257px;
        height: 195px;
        left: 50%;
        top: 50%;
        margin-left: -136px;
        margin-top: -130px;
        z-index: 999;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        padding: 6px 0px 6px 20px;
        margin-bottom: 0px;
        -ms-overflow-style: auto;
    }
    @media only screen and (max-width: 700px){
        #saveFormDiv {
            width: 100% !important;
            height: 100% !important;
            left: 0px !important;
            top: 0px !important;
            margin-top: 0px !important;
            margin-left: -14px !important;
            margin-bottom: -15px !important;
            max-width: 100% !important;
            overflow-x: hidden !important;
        }
    }
    .blur {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.7);
        top: 0;
        left: 0;
        z-index: 400;
        display: none;
    }

    textarea {
        resize: none;
      }



    .myActiveTool{
        background: #f5c9bf !important;
    }
   
    .container {
        height: 20%;
        width: 100%;
        position: absolute;
        bottom: 0;
        z-index: 100;
      }

      #filterDiv {
        position: absolute;
        top: 174px;
        left: 415px;
        padding: 6px;
        background-color: rgba(255, 255, 255, 1);
        -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.6);
        -moz-box-shadow: 0 0 5px 0 rgba(0,0,0,.6);
        display: none;
      }
      .divBorderTop{
        border-top: 2px solid gray;
        padding-top: 5px;
        margin-top: 5px;
      }
      .btnLinkToLokun{
        cursor: pointer;
        position: absolute;
        right: 10px;
        bottom: 5px;
        width: 23px;
        height: 21px;
      }


/*--------------- Custom Tékkboxin ------------------------*/
.cbContainer {
    /*display: block;*/
    position: relative;
    padding-left: 24px;
    padding-right: 23px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 18px;
    color: #292828;
  }
  
  /* Hide the browser's default checkbox */
  .cbContainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
  }
  
  /* On mouse-over, add a grey background color */
  .cbContainer:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .cbContainer input:checked ~ .checkmark {
    background-color: #2d3d7e;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .cbContainer input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .cbContainer .checkmark:after {
    left: 7px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

/*--------------- Venjulegt Tékkbox ------------------------*/
  input[type='checkbox'] {
    accent-color:#2d3d7e;
}