﻿@font-face {
    font-family: 'Söhne Kräftig';
    src: url('../../fonts/soehne-kraftig.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
  } 
 
 #viewDiv {
     font-family: 'Söhne Kräftig',sans-serif;
     height: 100%;
     padding: 0;
     margin: 0;
     width: 100%;
 }
 
.esri-widget {
    font-family: 'Söhne Kräftig',sans-serif;
}

 h2{
    font-family: 'Söhne Kräftig',sans-serif;
    color: rgba(20,70,220,1)!important; 
 }

/*thin scroll bar*/
.scroll::-webkit-scrollbar-track{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
}
.scroll::-webkit-scrollbar{
  width: 7px;
  background-color: #F5F5F5;
}
.scroll::-webkit-scrollbar-thumb{
  background-color: #5e5e5e;
  border: 2px solid #555555;
}
/*thin scroll bar end*/


/* Hnapparnir */

.aos-W100 {
    width: 100%;
    position: absolute;
    z-index: 10;
}
/*.aos-H100 {
    height: 100%;
}
.aos-PosR {
    position: relative;
}*/
.aos-FL {
    float: left;
}

.aos-DS8-FButton:hover:not([disabled]), .aos-DS8-WYSEdit .aos-WYSEdit-button:hover:not([disabled]), .aos-DS8-N .aos-WYSEdit-button:hover:not([disabled]), .aos-DS8-FButton.aos-ActiveBtn:not([disabled]), .aos-DS8-WYSEdit .aos-WYSEdit-button.aos-ActiveBtn:not([disabled]), .aos-DS8-N .aos-WYSEdit-button.aos-ActiveBtn:not([disabled]) {
    color: #fff !important;
    stroke: #fff !important;
    background-color: rgba(20,70,220,1) !important;
}
.aos-DS8-FButton, div.aos-DS8-WYSEdit .aos-WYSEdit-button {
    -webkit-appearance: none;
    display: inline-block;
    cursor: pointer;
    padding: 6px 12px;
    vertical-align: middle;
    font-size: 16px;
    font-family: 'Söhne Kräftig',sans-serif;
    font-weight: normal;
    line-height: 150%;
    border-color: transparent;
    color: rgba(20,70,220,1);
    stroke: rgba(20,70,220,1);
    background-color: #ffffff;
    border: 0;
    text-decoration: none !important;
    padding: 10px 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all .3s ease;
    font-weight: 700;
    letter-spacing: .03em;
}

.aos-DS8-FButton:hover:not([disabled]),
.aos-DS8-WYSEdit .aos-WYSEdit-button:hover:not([disabled]),
.aos-DS8-N .aos-WYSEdit-button:hover:not([disabled]),
.aos-DS8-FButton.aos-ActiveBtn:not([disabled]),
.aos-DS8-WYSEdit .aos-WYSEdit-button.aos-ActiveBtn:not([disabled]),
.aos-DS8-N .aos-WYSEdit-button.aos-ActiveBtn:not([disabled]) {
	color: #fff !important;
	stroke: #fff !important;
	background-color: rgba(20,70,220,1) !important
}

.aos-W25 {
    width: 25%;
}
.grayRightBorder {
    border-right: 1px solid #cccccc
}

.selectedTab {
    color: #e6eff6;
    background-color: rgba(20,70,220,1);
}

.esri-ui-corner .esri-component>.esri-widget--panel, .esri-ui-corner .esri-component.esri-widget--panel {
     width: auto;
}


/* ------ skýringar ------ */
#myLegend {
    position: absolute !important;
    bottom: 25px;
    left: 10px;
    z-index: 10;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;
    background-color: rgba(255, 255, 255, 0.8);
    width: 159px;
    padding-top: 6px;
}
#myLegendPowerOutage {
    /*position: absolute !important;
    bottom: 25px;
    left: 10px;*/
    z-index: 10;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.8);
    width: 136px;
    height: 98px;
    padding-bottom: 6px;
    display: none;
}
#myLegendConstruction {
    /*position: absolute !important;
    bottom: 25px;
    left: 10px;*/
    z-index: 10;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;
    background-color: rgba(255, 255, 255, 0.8);
    padding-bottom: 0px;
    max-height: calc(-200px + 100vh);
    overflow: auto;   
}
#myLegendConstruction_constructionPoints {
    padding-bottom: 0px;
}

.esriLegendService {
    padding-bottom: 5px;
}
.esri-legend__layer-table{
    margin-bottom: 0px;
}

.hrLineDotted{
    border-top: dotted 1px;
  }

  .subDivOldMessage:hover {
    background-color:rgba(238,238,238,0.90);
  }

  .zoomTo {
    display:none;
    }

    #selectConstrYear{
        position: absolute;
        top: 59px;
        left: 57px;
        padding: 5px;
        font-size: 14px;
        /* font-weight: bold; */
        font-size: 15px;
        font-family: 'Söhne Kräftig',sans-serif;
    }


    /*thin scroll bar*/
.scroll::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
  }
  .scroll::-webkit-scrollbar{
    width: 7px;
    background-color: #F5F5F5;
  }
  .scroll::-webkit-scrollbar-thumb{
    background-color: #5e5e5e;
    border: 2px solid #555555;
  }
  /*thin scroll bar end*/

@media screen and (max-width: 599px){
    .aos-DS8-FButton, div.aos-DS8-WYSEdit .aos-WYSEdit-button, .aos-DS8-N .aos-WYSEdit-button, .aos-DS8-More, .aos-DS8-N .aos-DS8-More {
        font-size: 15px;
        padding: 9px 0;
        font-weight: 500;
    }
    #myLegendPowerOutage,#myLegend, #myLegendConstruction {
        bottom: -9px;
        left: -15px;
        transform: scale(0.7);
    }
    .esriSimpleSliderTL {
        left: 3px;
    }
}
@media screen and (max-width: 479px){
    .aos-DS8-FButton, div.aos-DS8-WYSEdit .aos-WYSEdit-button, .aos-DS8-N .aos-WYSEdit-button, .aos-DS8-More, .aos-DS8-N .aos-DS8-More {
        font-size: 13px;
        padding: 7px 0;
    }

}

@media screen and (max-width: 340px){
    .aos-DS8-FButton, div.aos-DS8-WYSEdit .aos-WYSEdit-button, .aos-DS8-N .aos-WYSEdit-button, .aos-DS8-More, .aos-DS8-N .aos-DS8-More {
        font-size: 11px;
        padding: 5px 0;
    }
}
@media screen and (max-width: 550px){
    #myLegendPowerOutage, #myLegendConstruction{
        z-index: 1;
    }
}
.noPowerOutageDiv {
    position: absolute;
    float: left;
    width: 250px;
    height: 50px;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 110;
    background-color: #4FAF55;
    text-align: center;
    line-height: 50px;
    color: white;
}


.disclaimerDiv {
    position: absolute;
        float: left;
        width: 342px;
        height: 43px;
        display: block;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px;
        margin: auto;
        z-index: 110;
        background-color: #FFA500;
        text-align: center;
        line-height: 21px;
        color: white;
    }
    
     .establishmentsInfoDiv {
    position: absolute;
        float: left;
        width: 292px;
        height: 62px;
        display: block;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px;
        margin: auto;
        z-index: 110;
        background-color: rgba(20,70,220,1);
        text-align: center;
        line-height: 21px;
        color: white;
    }
    
    .establishmentsInfoDiv .layer_close, .disclaimerDiv .layer_close, .noPowerOutageDiv .layer_close  {
        position:absolute;
        background:#FFFFFF;
        -moz-border-radius: 11px;
        text-align:center;
        font-weight:600;
        -ms-border-radius: 8px 8px 8px 8px;
        border-radius: 8px 8px 8px 8px;
        font-size: 13px;
        height: 16px;
        line-height: 14px;
        right: -6px;
        top: -6px;
        width: 16px;
        color: black;
    }
    
     .establishmentsInfoDiv .layer_close:hover, .disclaimerDiv .layer_close:hover, .noPowerOutageDiv .layer_close:hover  { 
         background-color:#EAEAEA;
         cursor:pointer;
     }

     .esri-ui .esri-attribution {
        display: none;
    }
