﻿/*--------------------------------- Logo --------------------------------------------*/
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
  font-family: sans-serif;
}

a:link {
  color: #0f4678;
  background-color: transparent;
  text-decoration: none;
}
a:visited {
  color: rgb(138, 0, 23);
  background-color: transparent;
  text-decoration: none;
}
a:hover {
  color: #3498db;
  background-color: transparent;
  text-decoration: underline;
}

.container {
  display: flex;
  height: 100%;
  flex-wrap: wrap;
}

.left {
  width: 600px;
  min-width: 600px;
  max-width: 1200px;
  height: 100%;
  background-color: #f1f5f7;

  --calcite-color-brand: #0f4678;
  --calcite-font-size--1: 1.1rem;
  --calcite-color-text-3: #0f4678;
  --calcite-color-foreground-1: none;
  --calcite-color-border-input: none;
  --calcite-color-text-1: #0f4678;
  

  max-height: 100%;
  overflow: hidden;

  position: relative; /*vegna lang*/

}
.leftInnerDiv{
  padding: 16px 0 16px 32px;
}
.resizer {
  width: 6px;
  cursor: col-resize;
  background: #ccc;
}
.right {
  flex-grow: 1;
  height: 100%;
}

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: sans-serif;
     --calcite-color-brand: #0f4678;
}


h1{
  font-family: var(--lexend-font, "Lexend", San Francisco, Segoe UI, sans-serif);
  font-size: 1.5rem;
  color: #0f4678;
  padding-bottom: 9px;
}

h2{
  font-size: 20px;
  color: #0f4678;
  padding-bottom: 4px;
}

h3{
  color: #0f4678;
}
h4{
  color: rgb(70, 70, 70);
  padding-top: 3px;
}

  #btnMap{
      display: none;
    }

/*--------------------------------- Logo --------------------------------------------*/


.footerLogo {
  width: 121px;
}

#logosFyrirvari {
    display: block;
    margin: 0 auto;
}


/*--------------------------------- tungumál --------------------------------------------*/
.langDiv{
  position: absolute;
  right: 5px;
  top: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.langDivModal{
  position: absolute;
  right: 8px;
  top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

/*--------------------------------- Volcano table--------------------------------------------*/

.volcTable{
  border-collapse: separate;
  border-spacing: 0 8px;
  width: 100%;
}

.volcTableHeaderRow{
  background:rgba(255, 255, 255, 0.7);

}

.volcTableRow, .eruptionTableRow{
 /* */
 background:#fff;
 border-collapse: collapse;
 border-spacing: 0;
 padding: 5px 5px 5px 5px;
 cursor: pointer;
}
.volcTableRow:hover, .eruptionTableRow:hover {
  background-color:rgba(238,238,238,0.90);
}

.volcTableHeaderCell{
  font-family: var(--dm-sans-font, "DM sans", San Francisco, Segoe UI, sans-serif);
  font-size: 11px;
  vertical-align: middle;
  text-align: left;
  line-height: 1.5;
  font-weight: 400;
  white-space: nowrap;
  padding: 2px 2px 2px 2px;
}
.eruptionTableHeaderCell{
  font-family: var(--dm-sans-font, "DM sans", San Francisco, Segoe UI, sans-serif);
  font-size: 11px;
  vertical-align: middle;
  text-align: left;
  line-height: 1.5;
  font-weight: 400;
  padding: 2px 2px 2px 2px;
}

.volcTableNameColumn{
  font-size: 18px !important;
}

.volcTableCell{
  text-align: left;
  color: #0F4678;
  font-size: 12px;
  font-family: DM Sans;
  font-weight: 700;
  line-height: 14px;
  /*word-wrap: break-word;*/
  /*white-space: nowrap;*/
  padding: 5px 5px 5px 5px;
  vertical-align: middle;
}
.volcTableCellUconfirmed{
  color: #a1a1a1 !important;
}



.gosvaTableCell{
  text-align: left;
  color: #0F4678;
  font-size: 12px;
  font-family: DM Sans;
  font-weight: 700;
  line-height: 14px;
  padding: 1px 5px 1px 5px;
  vertical-align: middle;
}

.litakotiBox{
  padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px; justify-content: flex-start; align-items: flex-start; gap: 8px; display: flex;
  width: 38px;
  border-radius: 5px;
}
.litakotiBoxVals{
  padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px; justify-content: flex-start; align-items: flex-start; gap: 8px;
  width: 38px;
  text-align: center !important;
  border-radius: 5px;
}

.litakotiBoxRaudur{
  background: #FF6464;
}
.litakotiBoxApelsínugulur{
  background: #FFB582;
}
.litakotiBoxGulur{
  background: #FFE970;
}
.litakotiBoxGrean{
  background: #66DD84;
}
.litakotiBoxGrar{
  background: #bdbdbd;
}
.litakotiBoxHvitur{
  background: #fff;
}
.litakotiBoxTexti{
  color: #01172C; font-size: 18px; font-family: sans-serif; font-weight: 700; line-height: 24px; word-wrap: break-word
}

.calciteTab{
  height: calc(-87px + 100vh);
  scrollbar-color: #0f4678 transparent;
  scrollbar-width: thin;
}
.calciteTabSearchTable{
  height: calc(-335px + 100vh);
  scrollbar-color: #0f4678 transparent;
  scrollbar-width: thin;
}



/*--------------------------------- Volcano table--------------------------------------------*/

.esri-popup__main-container
{
  /*max-height: 400px !important;*/
  max-width: 245px !important;
}
.esri-feature-content p {
  font-size: 12px;
}
/*--------------------------------- fyrirvari -------------------------------------------*/
.fyrirVariP {
  margin-top: 10px;
}

/*--------------------------------- popup -------------------------------------------*/
.esri-features__container:not(:empty) {
   padding: 0px;
   --calcite-color-brand: #0F4678;
}

/* Leyfi stærri popupa */
.esri-popup__main-container {
  max-height: 45vh !important;   /* 45 % af viewport-hæð */
}
.popupP{
  margin: 0 0 0 0 !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 3px;
  float: right;
  cursor: pointer;
}

h2.esri-widget__heading {
  font-size: 15px;
}

/*--------------------------------- Volcanoe Info -------------------------------------------*/


.VolcanoInfoDiv{
  z-index: 101;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 600px;
  min-width: 600px;
  max-width: 1200px;
  height: 100%;
  background-color: #f1f5f7;
  color: #222222;
  display: none;
  --calcite-font-weight-medium: bold;
  overflow: auto;
    scrollbar-color: #0f4678 transparent;
  scrollbar-width: thin;
}

.VolcanoInfoInnerDiv {
  overflow: auto;
  padding: 20px 0 0 14px;
}

.VolcanoInfoDiv .layer_close{
  z-index: 5;
  color: #6e6e6e;
  position: absolute;
  top: 10px;
  right: 10px;
      --calcite-font-weight-medium: bold;
    --calcite-color-brand: #0f4678;
    --calcite-font-size--1: 1.1rem;
    --calcite-color-text-3: #0f4678;
    --calcite-color-foreground-1: none;
    --calcite-color-border-input: none;
}


.VolcanoInfoDiv .layer_close:hover{ background-color:#e6e6e6; }
.VolcanoInfoDiv .layer_close:active{ background-color:#e6e6e6; }

.VolcanoInfoDiv .layer_close:hover {
	cursor:pointer;
}

#btnCopyVolcanoLink{
  position: absolute;
  right: 10px;
  top: 40px;
  cursor: pointer;
  --calcite-color-brand: #0f4678;
}

.catDate{
  font-size: 16px;
  color: #0f4678;
  vertical-align:middle;
  padding-top:13px;
  padding-bottom:10px;
}
.catEditors{
  color: #6C7581;
  font-size: 12px;
}
.catImageText{
  font-size: 12px;
}
.catHrLine{
  margin-left: -15px;
}
.catHrLineDotted{
  border-top: dotted 1px;
}
.catHrLineSub{
  opacity: 0.2;
}

.catImageGallery{
  --calcite-color-brand:  #0f4678;
}

.header-container{
  font-size: 21px !important;
  font-weight: bold !important;
}

.scrollDiv{
  scrollbar-color: #0f4678 transparent;
  scrollbar-width: thin;

  max-height: calc(-139px + 100vh);
  overflow: hidden;
  overflow-y: scroll;
}
.subHeading{
  color: #6C7581;
  --calcite-accordion-item-heading-text-color:  #0f4678;
}


/*Cataloge table*/
.indent1{
  padding-left: 15px;
}
.clTable {
  font-size:12px;
  }

  .clTableRow:hover {
    background-color:rgba(238,238,238,0.90);
  }

  h5 {
    font-weight:bold;
    padding-top:1em;
    padding-bottom:0.5em;
}

.eruptionChapter{
  display: none;
}

 /*-----mousover myndir-----*/


.myndGallery{
  vertical-align: text-top;
  margin-right: 5px;
  max-width: 96%;
  max-height: 50vh;
  display: block;
  margin: 0 auto;
}

 #mousOverImage{
	position:absolute;
	padding:5px;
	display:none;
	color:#fff;
     z-index: 99999;

	}
  .mousOverImage{
	border-bottom: thin dotted;
    cursor: pointer;
	}

  .figure {
      color: black;
      font-size: 95%;
  }
  
  .figureWhite {
      color: WHITE;
      font-size: 95%;
  }


    /*-----additional info div-----*/
    .addInfoDiv{
      display: flex;
      flex-direction: column; /* Raðar innihaldinu lóðrétt */
      width: 600px;
      max-height: 60vh;
      background-color: white;
      padding: 10px;
    }

    .addInfoP{
      padding-top: 4px;
      padding-bottom: 1px;
      padding-left: 10px;
    }

    .addInfoPsmall{
      font-size: 12px;
      padding-top: 0px;
      padding-bottom: 0px;
      font-style: italic;;
      padding-left: 10px;
    }

    .addInfoOl{
      padding-left: 44px;
    }
    .addInfoTabs{
      overflow: auto;
      scrollbar-color: #0f4678 transparent;
      scrollbar-width: thin;
      max-height: calc(60vh - 60px);
    }
    
  .hanging {
    display: block;         /* mikilvægt til að indentation virki rétt */
    padding-left: 20px;
    text-indent: -20px;     /* neikvætt indent fyrir fyrstu línuna */
  }



  /*-----layers tree-----*/
  .layersTreeDiv{
    display: flex;
    flex-direction: column; /* Raðar innihaldinu lóðrétt */
    width: 376px;
    max-height: 60vh;
    background-color: white;
      padding: 10px;
    }
    
    .layerNameText {
      text-indent: 0;
      /* Fyrsta línan ekki dregin inn */
      padding-left: 1em;
      /* Bætir við innfellingu fyrir alla texta */
      text-indent: -1em;
      /* Dregur fyrstu línuna til baka */
    }
    
    /* Efsta og neðsta div */
    .topLayers {
      height: 30px;
      /* Föstuð hæð */
      text-align: left;
    }
    .bottomLayers {
      height: 30px;
      /* Föstuð hæð */
      text-align: center;
    }
    
    /* Miðju div */
    .middleLayers {
      flex: 1;
      /* Sveigjanlegt rými sem fyllir upp í lausa plássið */
      overflow: auto;
      scrollbar-color: #0f4678 transparent;
      scrollbar-width: thin;
    }

    
  /*-----Eruption Search-----*/


  #eruptionSearchMainDiv {
    display: flex;
    flex-direction: column; /* Raðar innihaldinu lóðrétt */
    }
 /*   
  #eruptionSearchDiv {
    height: 150px;
  }*/
  .eruptionSearchTableCellLeft {
    text-align: left;
    padding: 2px; 
  }
  .eruptionSearchTableCellRight {
    text-align: right;
    padding: 2px;
    color: #0f4678;
  }

  #eruptionTableDiv {
    flex: 1;
    /* Sveigjanlegt rými sem fyllir upp í lausa plássið */
    overflow: auto;
    scrollbar-color: #0f4678 transparent;
    scrollbar-width: thin;
    height: 1000px;
  }

    /* Lárétt raðaðir inputar */
    .horizontal-inputs {
      display: flex;
      gap: 8px;
    }


  .eruptionSearchCombo{
    width: 308px;
    --calcite-color-foreground-1: white; 
  }

  .eruptionAdvanced{
    display: none;
  }

  .leftInnerDivButtons{
    position: absolute;
    right: 3px;
    margin-top: 4px;
  }

  .eruptionSearchCheckbox{
    --calcite-checkbox-border-color: #0f4678;
    float: right;
  }
  .eruptionSearchCheckboxCell{
    width: 33.3%;
  }
.eruptionSearchCheckboxInnerTable{
   padding-right: 34px;
  }



    
/*
  .field {
    float:left;
    clear:both;
    width:100%;
    margin-bottom:10px;
    position:relative;
  }
  
  .field.keywords {
    margin-bottom:0;
  }
  
  .field td {
      vertical-align: middle;
      padding-left: 5px;
  }
  
  form label {
    float:left;
    width:170px;
    text-align:right;
    margin-right:10px;
    line-height: 36px;
    
  }
  form {
      font-size:15px;
      
  }
  


  .field .chkbox, .field .chkboxAbout{
    background: url("../../images/checkbox.png") no-repeat scroll 0 50% transparent;
    float: left;
    padding: 23px 10px 14px 0;
    width: 14px;
    margin-left: 2px;
}
.field .chkbox.current,.field .chkboxAbout.current{
	background-image:url('../../images/checkbox_on.png');
}

.select_overlay {
	float:left;
	position:absolute;
	right:1px;
	top:0;
	width:189px;
	background:url(../../images/arw-down.png) no-repeat 168px 15px #e8eef1;
	border:1px solid #e8eef1;
}

.select_overlay.current li {
	float:none;
	margin:0;
	background:#FFF;
	color:#262F41;
	padding:0 10px;
}

.select_overlay.current li:hover {
	background:#E8EEF1;
}

.select_overlay.current, .select_overlay:hover {
	z-index:999;
	border:1px solid #00aeee;
	-moz-box-shadow: 0 10px 4px #c9e8f4;
	-webkit-box-shadow: 0 10px 4px #c9e8f4;
	box-shadow: 0 0 4px #c9e8f4;	
}

.select_overlay span {
	padding:9px 0 11px 10px;
	float:left;
}

.select_overlay ul {
	float:left;
	clear:both;
	width:100%;
	z-index:999;
}

.select_overlay li {
	border-top:1px solid #00aeee;
	padding:9px 0 11px 10px;	
	background:#FFF;
	font-size:14px;
}

.select_overlay li:hover {
	background:#e8eef1;
	color:#0097cf;
}

.select_overlay.multi {
	width:258px;
}


.select_overlay.multi .chkbox {
  background: url("../../images/checkbox.png") no-repeat scroll 0 50% transparent;
  float: left;
  height: 14px;
  padding: 14px 10px 14px 0;
  width: 14px;
}

.select_overlay.multi li.current .chkbox {
background-image:url('../../images/checkbox_on.png');
}

.select_overlay.multi > span {
width:96%;
}



.tableSelectEruptionSearch {
	position: absolute;
    right: 1px;
    width:191px
}
*/



/*--------------------------------- Alert -------------------------------------------*/

#alertToolWrapper {
  position: relative;
  display: inline-block;
}

#alertBadge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: red;
  color: white;
  font-size: 11px;
  min-width: 9px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  padding: 0 4px;
  z-index: 999;
}
/*--------------------------------- Modal lendingargluggi -------------------------------------------*/
  #modalOrdskyringar{
      --calcite-modal-width: min(80%, 1200px);
  }
/*--------------------------------- Responsive -------------------------------------------*/


  @media (max-width: 1000px) {
    .left {
        width: 100%;
        min-width: 300px;
    }
    .VolcanoInfoDiv{
      min-width: 300px;
    }
    .right {
        display: none;
    }
    .right.show {
      display: flex;
    }
    .VolcanoInfoDiv{
      width: 100% !important;
    }
    #btnGosva{
      display: none;
    }
    #btnAviation{
      display: none;
    }
    #btnFeedBack{
      display: none;
    }
    #btnOpenVolcLayers{
      display: none;
    }
    #btnMap{
      display: inline-block;
    }
    .resizer {
      display: none;
    }

  }

@media (max-width: 700px) {
  #modalOrdskyringar{
      --calcite-modal-width: 100%;
  }
}
  
@media (max-width: 400px) {
  .leftInnerDiv {
    padding: 15px 0 9px 10px;
  }
  .VolcanoInfoInnerDiv {
    padding: 20px 0 0 8px;
}
}


  #volcBtnContainer {
  position: absolute;
  left: 15px;        /* fjarlægð frá vinstri */
  top: 50%;          /* miðja lóðrétt */
  transform: translateY(-50%);
  z-index: 999;      /* tryggir að það sé ofan á */
}
#openVolcTableBtn {
  background-color: #0f4678;   /* dökkblár */
  color: white;                /* påverkar texta ef væri, en stillum líka ::before */
  border-radius: 6px;          /* valfrjálst, til að gera fallegra */
}

/* lita táknið hvítt */
#openVolcTableBtn::before {
  color: white !important;
}