﻿/*
* CSS SeNorge
* Geodata as og NVE
* 2010
*/

/* Defaults */
html, body {
    width: 100%;
    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, font, 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 {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 11px;
    vertical-align: baseline;
    background: transparent;
    font-family: Arial,Verdana, Helvetica,sans-serif;
}

body {
    line-height: 1;
}

/*Containers*/
#solutionContainer {
    width: 100%;
    height: 100%;
}

/* Top / Header */
#topContainer {
    clear: both;
    width: 100%;
    height: 53px;
    background-color: #ffffff;
    color: #000000;
}

.flex-1 {
    display: flex;
    flex: 1;
    align-items: center;
}

.flex-end {
    justify-content: flex-end;
}

#header {
    background-color: #044962 !important;
    height: 52px;
    padding: 10px 20px;
    color: white;
    box-sizing: border-box;
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: normal;
    display: flex;
}

#headerLogo {
    width: 32px;
    height: 32px;
}

#headerTitle {
    margin-left: 14px;
    line-height: 20px;
    font-size: 16px;
}

#headerSub {
    height: 22px;
    background-color: #6996A3;
}

#topMapLayerInfo {
    background-color: #f5f298;
    width: 100%;
    margin-top: 2px;
    margin-bottom: 2px;
}

    #topMapLayerInfo span {
        font-size: 12px;
    }

    #topMapLayerInfo td {
        padding-left: 3px;
        padding-right: 3px;
        padding-top: 3px;
        width: 100%;
    }

.prognosisStatus {
    height: 13px;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    background-color: #c82828;
    margin-right: 10px;
}

.prognosisNoData {
    background-color: #808080;
}

.headerLink {
    padding-left: 19px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
    text-decoration-line: underline;
    color: white;
    cursor: pointer;
}

.headerProfile {
    height: 17px;
    border-right: 1px solid white;
    color: white;
    width: 130px;
    float: left;
    text-align: center;
    padding-top: 5px;
    cursor: pointer;
    font-size: 12px;
    /* letter-spacing: 1px; */
    /* font-weight: bold; */
}

.headerProfileFirst {
    margin-left: 10px;
    border-left: 1px solid white;
}

.headerProfileSelected {
    background-color: #000000;
}

#bottomContainer {
    clear: both;
    width: 100%;
    height: 12px;
    text-align: center;
    padding: 2px 0px 2px 0px;
    font-weight: bold;
}

    #bottomContainer a {
        /*text-decoration: none;*/
        color: inherit;
    }

#map {
    clear: both;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#ssrSearchContainer {
    z-index: 999;
    position: absolute;
    top: 40px;
    right: 100px;
}


#DeliveredBy {
    z-index: 100;
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: White;
    padding: 5px;
    font-size: 12px;
    border: 1px solid gray;
    color: Gray;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-radius: 5px;
}

#Contributors {
    z-index: 40;
    position: absolute;
    bottom: 20px;
    right: 5px;
}
    /*http://instantsprite.com*/
    #Contributors .spriteContributors {
        background: url('../images/spriteContributors.png') no-repeat top left;
        float: left;
        padding-left: 2px;
    }

        #Contributors .spriteContributors.NVE {
            background-position: 0px 0px;
            width: 20px;
            height: 20px;
        }

        #Contributors .spriteContributors.SVV {
            background-position: -30px 0px;
            width: 28px;
            height: 20px;
        }

        #Contributors .spriteContributors.JBV {
            background-position: -68px 0px;
            width: 23px;
            height: 20px;
        }

        #Contributors .spriteContributors.KV {
            background-position: -101px 0px;
            width: 14px;
            height: 20px;
        }

        #Contributors .spriteContributors.met {
            background-position: -125px 0px;
            width: 18px;
            height: 20px;
        }

    #Contributors img {
        height: 20px;
        width: 20px;
    }

#bottomToolsContainer {
    z-index: 900;
    position: absolute;
    bottom: 5px;
    /*
     *  Changed in NVE-59: Move bottomToolsContainer to the left
     */
    /*left: 40%;*/
    left: 5px;
}

    #bottomToolsContainer > div + div {
        margin-left: 2px;
    }

#mapTopBar {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 500;
    padding-top: 5px;
    width: 100%;
}

#leftTabContainer {
    float: left;
    z-index: 400;
}

#rigthTabContainer {
    float: right;
    z-index: 400;
}

.baseMapContainer {
    width: 290px;
    height: 80px;
    z-index: 800;
    float: left;
    overflow: hidden;
    border: 1px solid #000000;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-radius: 5px;
    padding: 5px;
    background-color: #ffffff;
    line-height: 16px;
}

.coordinatesContainer {
    width: 300px;
    height: 33px;
    z-index: 800;
    float: left;
    overflow: hidden;
    border: 1px solid #000000;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-radius: 5px;
    padding: 5px;
    background-color: #ffffff;
    line-height: 16px;
    cursor: default;
    padding: 1px;
    text-decoration: none;
}

    .coordinatesContainer span {
        padding-left: 3px;
    }

.helpContainer {
    width: 400px;
    z-index: 800;
    float: left;
    overflow: hidden;
    border: 1px solid #000000;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-radius: 5px;
    padding: 10px;
    background-color: #ffffff;
    line-height: 16px;
}

.loader {
    position: absolute;
    bottom: 45%;
    left: 45%;
    background-color: White;
    padding: 10px;
    z-index: 999;
    text-align: center;
    border: 1px solid #000000;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-radius: 5px;
}

/* UserMessage */
.usermsg {
    z-index: 800;
    position: absolute;
    right: 5px;
    bottom: 42px;
    border: 0px solid #ffffff;
    padding: 5px;
    vertical-align: middle;
    font-weight: bold;
    background-color: InfoBackground;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-radius: 5px;
}

.warning {
    font-style: italic;
    background-image: url(../images/warning.jpg);
    background-repeat: no-repeat;
    padding-left: 18px;
    padding-top: 5px;
}

.info {
    font-style: italic;
    background-image: url(../images/info.png);
    background-repeat: no-repeat;
    padding-left: 18px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: InfoBackground;
}

    .info a {
        color: #5594E9;
    }

#headerProfileLinks a, #headerProfileLinks span {
    text-decoration: underline;
    padding: 0 2px 0 2px;
    cursor: pointer;
}

    #headerProfileLinks a.linkSelected, #headerProfileLinks span.linkSelected {
        font-weight: bold;
    }


.link {
    color: #5594E9;
    text-decoration: underline;
    cursor: pointer;
}

/* colors */
.gray {
    color: #666666;
}

#timeresolutionContainer {
    background-color: #000000;
    border: 1px solid #B5BCC7;
}

.timeRes {
    color: #ffffff;
    cursor: pointer;
    padding: 3px;
    float: left;
    font-weight: bold;
    text-align: center;
}

.timeResSelected {
    background-color: #5e7579;
}

.bold {
    font-weight: bold;
}

/* */
#headerTxt {
    padding: 3px;
}

    #headerTxt a {
        color: White;
        font-size: 34px;
        font-weight: bold;
        font-style: normal;
        text-decoration: none;
    }

.paddingLeft {
    padding-left: 5px;
}

.paddingRight {
    padding-right: 5px;
}

.paddingTop {
    padding-top: 5px;
}


.language {
    font-weight: bold;
    padding: 5px;
    font-size: 12px;
}

    .language a {
        text-decoration: none;
    }

.tocBarWidth {
    width: 150px;
}

.tocBarLegendWidth {
    width: 197px;
}

ol, ul {
    list-style: disc none inside;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after, q:before, q:after {
        content: '';
        content: none;
    }

/* remember to define focus styles! */
:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* TitlePanel */


/* clickbar */
.clickBar {
}

.clickBarItem {
    display: inline-block;
    margin-left: 0px;
    margin-right: 0px;
    vertical-align: top;
    float: left; /*position:relative;*/ /*mess up a lot of other things.. */
}

.clickBarItemButton {
    width: 100%;
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
    text-align: center;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-bottom: 1px solid #000000;
    background-color: #CECECE;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#D9D9D9', endColorstr='#B4B4B4'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#D9D9D9), to(#B4B4B4)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #D9D9D9, #B4B4B4); /* for firefox 3.6+ */
}

.clickBarItemButtonBGColor {
    background-color: #CECECE;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#D9D9D9', endColorstr='#B4B4B4'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#D9D9D9), to(#B4B4B4)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #D9D9D9, #B4B4B4); /* for firefox 3.6+ */
}

.clickBarItemButtonInner {
    width: 100%;
    text-align: left;
}

.clickBarItemButtonSelected {
    background-color: #82B4F3;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#89BEFF', endColorstr='#79A7E0'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#89BEFF), to(#79A7E0)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #89BEFF, #79A7E0); /* for firefox 3.6+ */
}

.clickBarItemButtonClicked {
    background-color: #82B4F3;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#89BEFF', endColorstr='#79A7E0'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#89BEFF), to(#79A7E0)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #89BEFF, #79A7E0); /* for firefox 3.6+ */
}

.clickBarItemButtonLeft {
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.clickBarItemButtonRight {
    border-right: 1px solid #000000;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.clickBareItemContent {
    position: absolute;
    z-index: 501;
}

.clickBarHelperText {
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    /*hide txt. Fix 09.01.2012. Not removed elem&txt's due to it may be brought back again */
    display: none;
}

/* Time */

.timeResolutionBarWidth {
    width: 50px;
}

.timeSequenceSelectorRow td {
    vertical-align: bottom;
}


.toolBarWidth {
    width: 30px;
}

.toolBarItemButton {
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding-top: 1px;
    padding-bottom: 1px;
    /*margin-top: 10px;*/
    font-weight: bold;
    text-align: center;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-bottom: 1px solid #000000;
    background-color: #CECECE;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#D9D9D9', endColorstr='#B4B4B4'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#D9D9D9), to(#B4B4B4)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #D9D9D9, #B4B4B4); /* for firefox 3.6+ */
}

.toolBarItemButtonSelected {
    color: #ffffff;
    background-color: #82B4F3;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#89BEFF', endColorstr='#79A7E0'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#89BEFF), to(#79A7E0)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #89BEFF, #79A7E0); /* for firefox 3.6+ */
}

.toolBarItemContent {
    position: absolute;
    z-index: 700;
    right: 0px;
}

.hidden {
    visibility: hidden;
}

.none {
    display: none;
}

.maxSize {
    width: 100%;
    height: 100%;
}

/* Infowindow */
#infoContainer {
    width: 100%;
    height: 100%;
}

.infoWinHeaderColor {
    background-image: url('../images/palette.png');
    background-repeat: no-repeat;
    background-position: 0px;
    padding-left: 17px;
}

.infoWinHeaderInfo {
    background-image: url('../images/info.png');
    background-repeat: no-repeat;
    background-position: 0px;
    padding-left: 17px;
}

.infoWinHeaderGraph {
    background-image: url('../images/graph.png');
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 17px;
}

.infoWinSizeChoiceSmall {
    text-align: right;
    position: absolute;
    top: 10px;
    right: 10px;
}

.infoWinSizeChoiceBig {
    text-align: right;
    position: absolute;
    top: 21px;
    right: 80px;
}

#biginfowin {
    position: absolute;
    top: 90px;
    left: 60px;
    z-index: 945 !important;
    border: 2px solid #455268;
    background-color: #B4B4B4;
    background: -moz-linear-gradient(top, #D9D9D9 0%, #B4B4B4 40%, #b3bead 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#D9D9D9), color-stop(40%,#B4B4B4), color-stop(100%,#b3bead));
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-radius: 5px;
}

#biginfowinheader {
    width: 100%;
    height: 32px;
    text-align: right;
    vertical-align: middle;
}

    #biginfowinheader img {
        padding: 2px;
    }

.biginfowinSmal {
    background: none !important;
    background-color: #D9D9D9 !important;
}

.chartDownloadTxt {
    text-align: center;
    font-style: italic;
    font-size: small;
    color: Gray;
    position: relative;
    top: 6px;
}

.tabContainerImage {
    background-position: -21px 0;
    background-image: url("https://js.arcgis.com/3.23/dijit/themes/claro/images/spriteArrows.png");
    background-repeat: no-repeat;
    height: 8px;
    width: 7px;
    margin-left: 6px;
}

.tabContainerClosedImage {
    background-position: 0px 0;
    background-image: url("https://js.arcgis.com/3.23/dijit/themes/claro/images/spriteArrows.png");
    background-repeat: no-repeat;
    height: 8px;
    width: 7px;
    margin-left: 6px;
}

.arrowUp {
    background-position: -21px 0;
}

.languageLink {
    color: #fff;
    border-bottom: 1px solid #fff;
    cursor: pointer;
}

.languageSeparator {
    color: #fff;
}

.rccg {
    float: left;
}

.rccgr {
    float: right;
}



/* RSS Feeds*/
.rssContainer {
    float: left;
    width: 330px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.rssHeader {
    font-size: 30px;
    font-weight: bold;
}

.rssBody {
    margin: 0px;
    padding: 0px;
    float: left;
    width: 280px;
}

    .rssBody a {
        text-decoration: none;
    }

    .rssBody ul {
        margin: 0;
        padding: 0;
    }

.rssRow {
    border-top: 1px dotted #CCCCCC;
    list-style: none outside none;
    padding: 7px 0;
    text-decoration: none;
}

    .rssRow a {
        color: #555555;
        text-decoration: none;
    }

/* Tool-tip, used by Height Slider*/
.dtmSliderTooltip {
    left: 22px;
    background-color: #CFE5FA;
    border: 1px solid #7EABCD;
    border-radius: 4px;
    font-size: 8pt;
    padding: 2px;
    position: absolute;
    width: 61px;
    z-index: auto;
    word-wrap: break-word;
}

/* Tool-tip, used by Range Height Slider*/
.dtmRangeTooltip {
    left: 32px;
    top: -10px;
    background-color: #CFE5FA;
    border: 1px solid #7EABCD;
    border-radius: 4px;
    font-size: 8pt;
    padding: 2px;
    position: absolute;
    width: 61px;
    z-index: auto;
    word-wrap: break-word;
}

/* LogIn widget */
.LogIn {
    display: inherit;
}

.LogInForm {
}

.LogInUserMsg {
    font-weight: bold;
    padding: 5px;
}

.LogInInputWrapper {
    padding-bottom: 5px;
}

/* Range filter */
.tocThemeExtrathemeTOCContainer .dijitTitlePaneContentOuter {
    overflow-x: hidden;
}

.themeTOCContainer .RangeSliderContainer {
    padding-left: 2px;
}

.themeTOCContainer .SliderValues {
    padding-top: 2px;
}

.ThemeTOCSliderRow td, .ThemeTOCButtonsRow td {
    color: black;
    text-decoration: none;
    padding: 0px;
    font-size: 11px;
}

.ThemeTOCSliderRow .RangeSliderContainer, .ThemeTOCButtonsRow .RangeButtonsContainer {
    padding-bottom: 10px;
}

.RangeSliderContainer .dijitRuleContainerH {
    height: 5px;
    font-size: 10px;
    color: gray;
}

.RangeSliderContainer .dijitRuleLabelsContainerH {
    height: 14px;
    font-size: 10px;
    color: gray;
}

.RangeSliderContainer .dijitSlider {
    width: 132px;
    left: 0%;
}

.RangeButtonsContainer {
    clear: both;
    width: 140px;
}

    .RangeButtonsContainer .RangeLimitText, .RangeButtonsContainer .RangeMiddleText, .RangeButtonsContainer .RangeFinalText {
        float: left;
    }

    .RangeButtonsContainer .RangeMiddleText, .RangeButtonsContainer .RangeFinalText {
        padding-left: 2px;
        padding-right: 2px;
        vertical-align: bottom;
        padding-top: 3px;
    }

    .RangeButtonsContainer .RangeLimitText {
        width: 25px;
        height: 12px;
        font-size: 10px;
    }

    .RangeButtonsContainer .RangeUpdateButton {
        float: left;
        font-size: 10px;
        line-height: 1em;
        padding: 0;
        margin-right: 4px;
        margin-top: 1px;
    }

    .RangeButtonsContainer .RangeHeading {
        clear: both;
    }

.ThemeTOCSliderRow .RangeSliderContainer .dijitSlider {
    width: 110px;
    left: 0%;
}
/* Infovindu, klasse for å skjule disabled tabs */
.hideDisabledTabs .dijitTabDisabled {
    display: none;
}

.nameAndDay {
    left: 50%;
    top: 140px;
    position: fixed;
    z-index: -1;
    transform: translateX(-50%);
}

    .nameAndDay .layerName,
    .nameAndDay .nameOfDay {
        font-size: 18px;
    }

@media (max-width: 970px) {
    .nameAndDay {
        top: 140px;
    }
}

@media (max-width: 925px) {
    .nameAndDay {
        top: 160px;
    }
}


/**
 *  NVE-59: Move scalebar to the right, show "Kilde: www.xgeo.no
 */
.scalebar_bottom-right {
    right: 425px;
    bottom: 5px;
}

.Source {
    z-index: 40;
    position: absolute;
    bottom: 25px;
    right: 30px;
    font-size: 15px;
}

.esriAttributionList {
    margin-right: 16px;
}
