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;
}

.btn {
    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);
    -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 51px 0px 35px;
    float: right;
    cursor: pointer;
}
.btnPopup {
    width: 155px;
    margin: 7px 85px 0px 16px !important;
}
.btnPopupDeleteGrasOrm {
    width: 200px;
    margin: 7px 12px 0px 16px !important;
}

#over img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 165px;
  }

.samsynLogo {
    position: absolute;
    bottom: 28px;
    left: 8px;
    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;
}
/*---------------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;
    }


    .divWhatToDo {
        position: absolute;
        top: 14px;
        right: 94px;
        z-index: 100; 
        display: none; 
    }

    .divUtbod {
        position: absolute;
        top: 52px;
        right: 94px;
        z-index: 100;  
    }

    .divUthlutaTeg {
        position: absolute;
        top: 90px;
        right: 94px;
        z-index: 100;  
    }

    .divUthlutaAeftir {
        position: absolute;
        top: 128px;
        right: 94px;
        z-index: 100;  
    }

    .divUthlutaStarfsmenn {
        position: absolute;
        top: 166px;
        right: 94px;
        z-index: 100;  
    }
    
    .selectWhatToDo {
        padding: 7px 0px 7px 0px;
        border-color: #c5c4c4;
        border-radius: 0px;
    }
    textarea {
        resize: none;
      }

    input[type="file"] {
        display: none;
    }
    .custom-file-upload {
        display: inline-block;
        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);
        -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: 0;
    }

    .myActiveTool{
        background: #f5c9bf !important;
    }
    .activeTool {
        border: solid;
        border-width: 1px;
        border-color: blue;
    }
    .GeraAthClass{
        display: none;
    }

    .alerts {
        float:right;
        margin:20px 10px 0 0;
        position:absolute;
        bottom:0;
        right:0;
        z-index:50;
    }
    
    
    .alerts .alert_small {
        float:right;
        clear:right;
        width:34px;
        height:34px;
        background:url('../image/alert_icon.png') no-repeat 50% 50% #cc0817;
        position:relative;
        margin-bottom:20px;
    }
    
    .alerts .alert_small:hover, .alert:hover .alert_text { background-color:#f00012; }
    .alerts .alert_small:active, .alert:active .alert_text { background-color:#a30000; }
    
    .alerts .alert_small:hover {
        cursor:pointer;
    }
    
    .alerts .alert {
        float:right;
        clear:right;
        max-width:575px;
        height:52px;
        position:relative;
        margin-bottom:13px;
        font-size:12px;
        background:#FFF;
    }
    
    .alerts .alert_no, .alerts .alert_close {
        position:absolute;
        top:-11px;
        right:-8px;
        background:#262f41;
        width:22px;
        height:22px;
        -moz-border-radius: 11px;
        border-radius: 11px;	
        text-align:center;
        line-height:22px;
        color:#FFF;
        font-weight:600;
    }
    
    .alerts .alert_small:hover .alert_no, .alert .alert_close:hover { background-color:#3d5585; }
    .alerts .alert_small:active .alert_no, .alert .alert_close:active { background-color:#0f131a; }
    
    .alert .alert_close:hover {
        cursor:pointer;
    }
    
    .alerts .alert_close {
        border-radius: 8px 8px 8px 8px;
        font-size: 13px;
        height: 16px;
        line-height: 14px;
        right: -6px;
        top: -6px;
        width: 16px;
    }
    
    .alerts .alert_text {
        font-size: 16px;
        height: 52px;
        line-height: 52px;
        width: 74px;
        float:right;
        text-align:center;
        background:#cc0817;
        color:#FFF;
        font-weight:600;
    }
    
    .alerts .alert p {
        float:left;
        width:463px;
        padding:2px 19px;
        line-height:15px;
        overflow: auto;
        max-height: 48px;
    }

    .container {
        height: 20%;
        width: 100%;
        position: absolute;
        bottom: 0;
        z-index: 100;
      }

      .cbGeraAthStarfsm{
          padding: 0px;
          margin-left: 22px;
      }
      .samsynTableIconBtn{
        outline: 2px solid darkgray;
      }
      .samsynTableIconBlasaBtn{
        outline: 2px solid darkgray;
      }

      .CSSTable {
        margin:0 0 10px;
        padding:0;
        width:94%;
        border:1px solid #D3D3D3;
        border-collapse: collapse;
    }.CSSTable table{
        width:100%;
        height:100%;
        margin:0;
        padding:0;
        border-spacing: 0;
    
    }.CSSTable tr:hover td{
        background-color:#ffffff;
    }
    .CSSTable td {
        vertical-align: middle;
        background-color: #ffffff;
        border: 1px solid #D3D3D3;
        border-width: 0 1px 1px 0;
        text-align: left;
        padding: 4px;
        font-size: 12px;
        /*font-family: Arial;*/
        font-weight: normal;
        color: #000000;
    }
    .CSSTable tr:first-child td{
        background-color:#e5ecf4;
        border:0 solid #D3D3D3;
        text-align:center;
        border-width:0 0 1px 1px;
        font-size:14px;
        /*font-family:Arial;*/
        font-weight:bold;
        color:#000000;
    }
    /*Innskráning */
    .settingLine {
        margin-bottom: 10px;
        font-size: 16px;
    }
    .dSettingsLabel {
        margin-left: 7px;
    }
    .settingInput {
        border-radius: 4px;
        padding: 4px;
    }
    form label {
        float: left;
        width: 170px;
        text-align: right;
        margin-right: 10px;
        line-height: 26px;
        width: 100px;
    }
    .calciteLoginPanel {
        position: absolute;
        top: 15px;
        left: 60px;
        z-index: 10;
        width: 320px;
        max-height: 80%;
        height: 215px;
    }
    .calciteMapColorPanel {
        position: absolute;
        top: 90px;
        right: 60px;
        z-index: 100;
        width: 200px;
        max-height: 80%;
        height: 150px;
    }
    .calciteFilterPanel {
        position: absolute;
        top: 90px;
        right: 60px;
        z-index: 100;
        width: 380px;
        max-height: 80%;
        height: 339px;
    }
    @media only screen and (max-width: 440px){
        .calciteFilterPanel {
            width: 100%;
            right: 0;
            top: 0;
        }
      }

    
    .btn {
        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);
        -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 3px;
        float: right;
        cursor: pointer;
    }

    form input[type="submit"] {
        float: right;
    }

    .filterCombo{
        margin: 3px 10px 3px 10px;
    }
    .esri-legend__service-label{
        display: none !important;
    }

    .stattDiv{
        display: flex;
        flex-direction: column; /* Raðar innihaldinu lóðrétt */
        width: 286px;
        max-height: 60vh;
        background-color: white;
          padding: 10px;
        }
        .stattTable{
            border-collapse: collapse;
        }
        .stattTableCella  {
            border: 1px solid #D3D3D3;
            text-align: right;
        }
        .stattTableCellaHeader{
            border: 1px solid #D3D3D3;
            background-color: #e5ecf4;
            text-align: center;
        }
        .stattTableCellaDags{
            border: 1px solid #D3D3D3;
        }
        .stattTableCellaTotal{
            border: 1px solid #D3D3D3;
            background-color: #e5ecf4;
            text-align: right;
        }
        .stattTableCellaTotalLabel{
            border: 1px solid #D3D3D3;
            background-color: #e5ecf4;
            text-align: left;
        }

        .esri-view-width-xsmall .esri-expand--auto .esri-expand__container--expanded {
            bottom: auto !important;
            overflow: hidden !important;
            height: auto !important;
        }
        .esri-view-width-xsmall .esri-expand--auto .esri-expand__mask--expanded {
            display: none !important;
        }