﻿html, body, #viewDiv {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    /*font-family: 'Source Sans Pro', sans-serif;*/
    /*font-family: "Neo Sans","Trebuchet MS","Droid Sans",DroidSans,Arial,sans-serif;*/
    font-family: Arial,sans-serif;
  }
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
     /*font-family: "Neo Sans","Trebuchet MS","Droid Sans",DroidSans,Arial,sans-serif;*/
     font-family: Arial,sans-serif;
}
h3 {
  line-height: 35px;
  text-align: center;
  color: #525252;
}
h4 {
    line-height: 16px;
    text-align: center;
    font-size: 14px;
    padding-bottom: 4px;
}
h5 {
    line-height: 16px;
    text-align: left;
    font-size: 14px;
    padding-bottom: 4px;
}
/*vegna firefox þar þessa skilgreiningu*/
hr {
  clear: both;
  }
.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;
}
.btnSmall {
  background: #DDDDDD;
  background-image: -webkit-linear-gradient(top, #DDDDDD, #BFBFBF);
  background-image: -moz-linear-gradient(top, #DDDDDD, #BFBFBF);
  background-image: -ms-linear-gradient(top, #DDDDDD, #BFBFBF);
  background-image: -o-linear-gradient(top, #DDDDDD, #BFBFBF);
  background-image: linear-gradient(to bottom, #DDDDDD, #BFBFBF);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  padding: 5px 7px 5px 7px;
  text-decoration: none;
  border: none;
  margin: 2px 1px 0px 1px;
  float: left;
  cursor: pointer;
}

.btnSmall:active, .activated {

    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);
  text-decoration: none;
}

/*--------------------------------- Logo --------------------------------------------*/
.bvsLogo{
    box-shadow: none;
}
@media only screen and (max-width: 430px){
  .bvsLogo {
    display: none;
  }

}


.samsynLogo {
  position: absolute;
  bottom: 53px;
  left: 12px;
   z-index: 1;
  }
  .lukrLogo {
      position: absolute;
      bottom: 22px;
      right: 8px;
      z-index: 1;
  }



  
  /*--------------------------------- tólatakkar á korti --------------------------------------------*/
  .esri-widget--button {
    background-color: #fbfbfb;
  }
  .uiNoShadow{
    box-shadow: none !important;
  }
  /*--------------------------------- Gluggar --------------------------------------------*/
  .ToolDiv, .ToolsMenuDiv, .layersToolDiv,  .onTopDiv {
    z-index: 101;
    position: absolute;
    top: 56px;
    right: 57px;
    width: 150px;
    max-height: 80%;
    padding: 0.5em;
    border: 1px solid #aaaaaa;
    background-color: white;
    background: #fdfdfd;
    /*background: rgba(253,253,253,.9);*/
    background: rgba(253,253,253,1);
    -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: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    color: #222222;
    display: none;
}

@media only screen and (max-width: 500px){
  .ToolDiv {
    top: 0px !important;
    right: 0px !important;
    width: 97% !important;
  }

}
/*.ToolDiv .layer_close, .ToolsMenuDiv .layer_close, .layersToolDiv .layer_close{
  z-index: 5;
  position: absolute;
  top: -11px;
  right: -8px;
  background: #696868;
  -moz-border-radius: 11px;
  text-align: center;
  color: #FFF;
  font-weight: 600;
  -ms-border-radius: 8px 8px 8px 8px;
  border-radius: 11px;
  border-radius: 8px 8px 8px 8px;
  font-size: 13px;
  height: 16px;
  line-height: 14px;
  right: -6px;
  top: -6px;
  width: 16px;
  padding-right: 1px;
}*/

.ToolDiv .layer_close, .ToolsMenuDiv .layer_close, .layersToolDiv .layer_close, .onTopDiv .layer_close, #timeSliderDiv .layer_close{
  z-index: 5;
  color: #6e6e6e;
  position: absolute;
  top: 2px;
  right: 2px;
}


.ToolDiv .layer_close:hover, .ToolsMenuDiv .layer_close:hover, .layersToolDiv .layer_close:hover, .onTopDiv .layer_close, #timeSliderDiv .layer_close:hover { background-color:#e6e6e6; }
.ToolDiv .layer_close:active, .ToolsMenuDiv .layer_close:active, .layersToolDiv .layer_close:active, .onTopDiv .layer_close, #timeSliderDiv .layer_close:active { background-color:#e6e6e6; }

.ToolDiv .layer_close:hover, .ToolsMenuDiv .layer_close:hover, .layersToolDiv .layer_close:hover, .onTopDiv .layer_close, #timeSliderDiv .layer_close:hover {
	cursor:pointer;
}


.ToolDiv .tool_notice, .ToolsMenuDiv .tool_notice, .layersToolDiv .tool_notice, .onTopDiv .tool_notice{
  z-index: 5;
  color: #6e6e6e;
  position: absolute;
  top: 2px;
  right: 21px;
}


.ToolDiv .tool_notice:hover, .ToolsMenuDiv .tool_notice:hover, .layersToolDiv .tool_notice:hover, .onTopDiv .tool_notice:hover { background-color:#e6e6e6; }
.ToolDiv .tool_notice:active, .ToolsMenuDiv .tool_notice:active, .layersToolDiv .tool_notice:active, .onTopDiv .tool_notice:active { background-color:#e6e6e6; }

.ToolDiv .tool_notice:hover, .ToolsMenuDiv .tool_notice:hover, .layersToolDiv .tool_notice:hover, .onTopDiv .tool_notice:hover {
	cursor:pointer;
}



.ToolDivCenter{
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ToolInnerDiv {
  width: 100%;
  overflow: auto;
}
.toolbar {
  overflow: auto;
  width: 100%;
  padding-right: 0px;
  display: block;
}
.samsynToolIcon, .toolBsIcon {
  float: right;
  margin-left: 11px;
  margin-right: 11px;
  cursor: pointer;
}
.samsynToolIconToolDiv{
    top: 0px;
    position: absolute;
    left: 0px;
}

.toolName {
  text-align: center;
  font-size: 12px;
  width: 50px;
  float: right;
  margin-top: 39px;
}
.toolNameTwoLines {
  text-align: center;
  font-size: 12px;
  width: 50px;
  line-height: 9px; 
  float: right;
  margin-top: 37px;
}

.settingInput {
  border-radius: 4px;
  padding: 4px;
}

form label {
  float: left;
  width: 170px;
  text-align: right;
  margin-right: 10px;
  line-height: 26px;
  width: 100px;
}
form input[type="submit"] {
  float: right;
}
.settingLine {
  margin-bottom: 10px;
  font-size: 16px;
}
.alertText {
  font-size: 70%;
  color:#BF0005;
}
.dSettingsLabel {
  margin-left: 7px;
}
.dSettingResultLabel {
  text-align: left;
  font-weight: bold;
}

/*---------------layer control------------------------*/
.ui-accordion .ui-accordion-header {
  padding: 0 26px;
  font-size: 95%;
  text-align: left;
  color: #1B3663;
}
.ui-accordion .ui-accordion-content {
  padding: 7px 9px;
  font-size: 0.95em;
}
#theLayersDiv {
  top: 13px;
  left: 54px;
}
#theBasemapsDiv {
  top: 13px;
  left: 54px;
}
@media only screen and (max-width: 500px){
  #theLayersDiv {
    top: 0px;
    left: 0px;
    width: 97% !important;
    height: 100% !important;
  }
  #theBasemapsDiv {
    top: 0px;
    left: 0px;
  }
  .ToolDivCenter{
    transform: none;
    left: auto;
  }
}

#theWebAppsDiv {
  top: 79px;
  left: 150px;
}

#theLayerInnerDiv {
      height: 88%;
}
@media only screen and (max-height: 610px){
  #theLayerInnerDiv {
    height: 85%;
}
}

.layersLabel {
  font-size: 0.95em;
}
.ui-front {
  z-index: 102;
}
.ui-autocomplete {
  max-height: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.metaDataIcon {
  vertical-align: middle;
  margin: 0px -3px 4px -6px;
  width: 13px; 
  cursor: pointer;
}

.metaToolIcon {
  vertical-align: middle;
  margin: 0px 5px 3px 8px;
  width: 22px;
  cursor: pointer;
}

/*---------------basemap control------------------------*/
.basemapTh {
  font-weight: normal;
  text-align: center;
  padding: 1px 8px 5px 8px;
  cursor: pointer;
}

.basemapThumbnail {
  border: 1px solid #fff;
  -moz-box-shadow: 0px 0px 7px #000;
  -webkit-box-shadow: 0px 0px 7px #000;
  box-shadow: 0px 0px 7px #000;
}
/*--------------- Leit search ------------------------*/
.esri-search__suggestions-menu{
  max-height: 500px;
}

/*--------------- Identify ------------------------*/
.CSSTableIdentify {
	margin:0 0 2px;
    padding:0;
	width:100%;
	border:1px solid #D3D3D3;
}.CSSTableIdentify table{
    border-collapse: collapse;
	width:100%;
	height:100%;
	margin:0;
    padding:0;

}.CSSTableIdentify tr:hover td{
	background-color:#ffffff;
}
.CSSTableIdentify td {
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #D3D3D3;
    border-width: 0 1px 1px 0;
    text-align: center;
    padding: 4px;
    font-size: 12px;
    /*font-family: Arial;*/
    font-weight: normal;
    color: #000000;
}
.CSSTableIdentify 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;
}
#tabsTeljarar-2 {
  padding: 0px 0px 33px 0;
}
#tabsTeljarar-3 {
  padding: 0px 0px 33px 0;
}
#tabsTeljarar-4 {
  padding: 0px 0px 33px 0;
}
#tabsTeljarar-5 {
  padding: 0px
}
#theWebAppsDiv {
  top: 79px;
  left: 150px;
}

.dojoxLegendNode tr:first-child td{
  background-color: #ffffff; 
   border: 0 solid #ffffff;
}
#legendDiv{
  width: 126px;
}

#btnGetData{
  float: right;
}


/*--------------- Leiðabestun ------------------------*/

.btn-best-path {
  height: 25px;
  padding: 3px 8px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  border-radius: 3px !important;
  margin-right: 8px !important;
  border: 1px solid transparent;
}

.btn-best-path-green {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-best-path-blue {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-best-path-red {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-best-path-transparent {
  color: #000;
  background-color: transparent;
  border-color: transparent;
  font-size: 20px;
  padding-right: 12px;
}
/*---------------Slider ------------------------*/
#slider label {
  position: absolute;
  width: 20px;
  margin-left: -10px;
  text-align: center;
  margin-top: 22px;
  -webkit-transform: rotate(57deg);
  -moz-transform: rotate(57deg);
  -ms-transform: rotate(57deg);
  -o-transform: rotate(57deg);
  transform: rotate(57deg);
  font-size: 14px;
}

/* below is not necessary, just for style */
#slider {
  width: 90%;
  margin: 0px auto;
}

/*---------------Mæling ------------------------*/
.measureSubTool {
  padding: 5px 5px 5px 5px; 
  cursor:pointer;
}

.measureSubTool.current {
  padding: 3px 3px 3px 3px; 
  border: #353535;
  border-style: solid;
  border-radius: 2px;
  border-width: 2px;
}
.measureSubTool:hover {
  padding: 3px 3px 3px 3px; 
  border: gray;
  border-style: solid;
  border-radius: 2px;
  border-width: 2px;
}
.measureResult {
  font-size: 12px;
}
.horizontalLine {
  border-top: 1px solid #999999;
  padding-top: 5px;
}
/*---------------legend skýringar ------------------------*/
.esri-legend__service-label{
  display: none;
}

/*---------------Teikna ------------------------*/
.DrawToolIcon {
  float: right;
  margin-left: -0.3em;
  cursor: pointer;
}
.spinner {
  width: 23px;
}
.spinnerDecimal {
   width: 30px;
}
.ui-spinner-input {
   margin-right: 26px;
   margin-top: 0px;
   margin-bottom: 0px;
}

.colorButton {
   width: 25px;
   height: 25px;
   background: url(../../images/arrowDown.png) no-repeat 11px 15px blue;
}
.btnFontStyle {
   margin-left: 7px;
}
.btnFontStyle.current {
   background-color: darkgray;
}

#colorpaletteDiv {
   position: absolute;
   top: 118px;
   right: 200px;
   z-index: 200;
}

.ui-spinner, .spinner, .ui-widget input{
   font-family: inherit;
   font-size: inherit;
}
/*------------------------------------------------------------------------------Myndir í dropdown   ------------------------------------------------*/

   /* select with custom icons */
   .ui-selectmenu-menu .ui-menu.customicons .ui-menu-item-wrapper {
    padding: 0.5em 0 0.5em 3em;
  }
  .ui-selectmenu-menu .ui-menu.customicons .ui-menu-item .ui-icon {
    height: 24px;
    width: 47px;
    top: 0.1em;
  } 
    /* select with CSS avatar icons */
  option.avatar {
    background-repeat: no-repeat !important;
    padding-left: 20px;
  }
  .avatar .ui-icon {
    background-position: left top;
  }
  #dRoadSign-menu {
      width: 374px;
      max-height: 310px;
  }

  /*------------------------------------------------------------------------------Vefsjár   ------------------------------------------------*/
.vefsjarLogoLink {
  cursor: pointer;
  margin-bottom: 5px;
}

.vefsjarLogoLink:hover {
opacity: 0.6;
}
/*---------------Töflur - Samtölur ------------------------*/
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
  /*padding: .5em 1em;*/
  font-size: 13px;
  cursor: pointer;
}

.CSSTableBs {
margin:0 0 10px;
  padding:0;
width:100%;
border:1px solid #D3D3D3;
  border-collapse: collapse;
}.CSSTableBs table{
  border-collapse: collapse;
width:100%;
height:100%;
margin:0;
  padding:0;

}.CSSTableBs tr:hover td{
background-color:#ffffff;
}
.CSSTableBs td {
  vertical-align: middle;
  background-color: #ffffff;
  border: 1px solid #D3D3D3;
  border-width: 0 1px 1px 0;
  text-align: right;
  padding: 4px;
  font-size: 12px;
  /*font-family: Arial;*/
  font-weight: normal;
  color: #000000;
}
.CSSTableBs.leftAlign td{
text-align:left;
}
.CSSTableBs 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;
}
.CSSTableBs2 {
margin:0 0 10px;
  padding:0;
width:100%;
border:1px solid #D3D3D3;
  border-collapse: collapse;
}.CSSTableBs2 table{
  border-collapse: collapse;
width:100%;
height:100%;
margin:0;
  padding:0;

}
.CSSTableBs2 td {
  vertical-align: middle;
  background-color: #ffffff;
  border: 1px solid #D3D3D3;
  border-width: 0 1px 1px 0;
  text-align: right;
  padding: 4px;
  font-size: 12px;
  /*font-family: Arial;*/
  font-weight: normal;
  color: #000000;
}
.CSSTableBs2 tr:first-child td{
background-color:#e5ecf4;
border:0 solid #D3D3D3;
text-align:center;
border-width:0 0 1px 1px;
font-size:12px;
/*font-family:Arial;*/
font-weight:bold;
color:#000000;
}

.tableHeading{
  background-color:#e5ecf4 !important;
border:0 solid #D3D3D3 !important;
text-align:center !important;
border-width:0 0 1px 1px !important;
font-size:14px !important;
font-weight:bold !important;
color:#000000 !important;
}

.CSSTableBs.sum tr:last-child td{
background-color:#F7F7F7;
}
.CSSTableBs td:first-child {
text-align:left;
font-weight:bold;
}

.obIdColumn {
  display: none;
}

.dojoxLegendText {
  font-size: 15px;
}
/*Nánar*/
.ui-button {
      padding: .2em 1em;
}
.ui-icon-background, .ui-state-active .ui-icon-background {
  border: #757575;
  background-color: #ffffff;
}
.ui-widget-content a {
  padding: 0;
}

/*---------------Nanar ------------------------*/
#theTableDiv {
  top: 120px;
  right: 70px;
}

/*---------------export to excel ------------------------*/



a.export  { 
	background: url('../../images/icon_exel.gif') no-repeat 43% 50% rgba(255, 255, 255, 0);
	width:30px;
	height:30px;
    float: left;
    padding-top: 20px;
    padding-left: 20px;
}
/*
a.exportNanar  { 
    margin-bottom: -10px;
    
    width: 293px;
    padding-top: 13px;
    text-indent: 108px;
    display: none;

  padding-left: 20px;
    height: 30px;
   float: left;
}

*/

/*---------------OnTopDiv ------------------------*/
#theOnTopDiv {
  top: 50%;
  left: 50%;
  margin: -100px 0 0 -150px;
  z-index: 1101;
}
.blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    top: 0;
    left: 0;
    z-index: 1100;
    display: none;
}

/*---------------dojo Chart tooltip ------------------------*/

.dijitTooltip {
	position: absolute;
	z-index: 2000;
	display: block;
	left: 0;
	top: -10000px;
	overflow: visible;
}
.dijitTooltipContainer {
	border: solid black 2px;
	background: #b8b5b5;
	color: black;
	font-size: small;
}

.dijitTooltipContents{
  background-color: white;
  color: #000;
  padding: 8px;
  border-radius: 4px;
  border-width: 1px;
  border-color: #444242;
}

/*---------------Spurnarsmiður ------------------------*/
.spBtn {
  width: 40px;
  padding: .4em 0 !important;
  font-size: 0.9em;
}
.spBtn span{
  padding: .4em 0 !important;
}

/*--*/
.select_option {
  overflow: auto;
  border: 1px solid #8298a8;
}
.select_option.attributes {
  max-height: 130px;
  width: 335px;
  margin-bottom: 6px;
}
.select_option.uniqueValues {
  height: 152px;
  width: 197px;
  margin-bottom: 4px;
}
.select_option ul {
  float: left;
  clear: both;
  width: 100%;
  z-index: 999;
  cursor: pointer;
}
ol, ul {
  list-style: none;
}
.select_option li {
  padding: 4px 0 4px 8px;
  border-top: 1px solid #E0E0E0;
  background: #FFF;
  font-size: 13px;
}

.select_option li:hover {
background:#F7F7F7;
color:darkblue;
}

.select_option li.current {
background:#E8E8E8;
}

.notValid {
  border-color: red;
}

/* ----------- lifandi gögn --------------------------- */
#timeSliderDiv {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 20px;
}

/*---------------Popup ------------------------*/
/* Leyfi stærri popupa */
.esri-popup__main-container {
  max-height: 45vh !important;   /* 45 % af viewport-hæð */
}