@font-face {
    font-family: "GT Walsheim";
    src: url("../fonts/GT-Walsheim-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-size: 12px;
    width: 100%;
    min-width: 96em;
    background-size:cover ;
    background: #a3b4c4 fixed;
}

#heading {
    background-color: #FFFFFF80;
}

#logo_and_market {
    width: 96em;
    margin: 0 auto;
}

td.logo {
    padding: 5px 20px 1px 4px;
}
td.marked {
    border-left: 1px solid #C0C0C0;
    padding: 10px 50px 10px 20px;
}

header {
    font-size: 18px;
    font-family: "GT Walsheim",sans-serif !important;
    color: #1D3061;
}

aside {
    font-size: 14px;
    font-family: "GT Walsheim",sans-serif !important;
    color: #252525;
}

#container {
    min-height:100%;
    position: relative;
}

#main {
    padding-bottom: 80px;
}

#footer {
    position:absolute;
    bottom:0;
    height: 80px;
    background-color: #f4f4f4;
    width: 100%;
}

#footer .imgContainer{
    margin: auto;
    width: 231px;
    height: 80px;
}

#footer img{
    margin-top: 1em;
}

#blueLine {
    background-color: #3bb1df;
    height: 3px;
}

#tableContainer, .headerContainer, #subpageContainer {
    margin: auto;
    width: 96em;
}

#chooseClass .headerContainer {
    margin-top: 22px;
}

#chooseYear .headerContainer {
    margin-top: 10px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding: 0 15px;
}

.advanced {
    display: none;
}

.selected {
    font-weight: bold;
}

fieldset {
    border: none;
}

.compareTable th,
.tableHeader:first-child {
    background: rgb(50, 50, 50);
    background: rgba(50, 50, 50, 0.75);
    border-radius: 10px 10px 0 0;
    text-align: center;
    font-size: 14px;
    height: 3.5em;
}

.compareTable th,
.tableHeader span{
    color: white;
}

.compareTable th {
    line-height: 2;
    margin-top: 2em;
}

.tableHeader .tableCell:first-child span {
    padding: 5px 0 5px 5px;
}

.tableHeader .tableCell {
    text-align: left;
    padding: 5px 0;
    position: relative;
}

.tableHeader .tableCell img{
    position: absolute;
    right: .2em;
    top: .5em;
}

.tableHeader .tableCell img.sortImg,
.tableHeader .arrowForeground {
    top: 0.6em;
    right: 1.6em;
}

.tableCell span {
    margin-left: 0.1em;
}

.tableHeader .arrowForeground {
    height: 14px;
    position: absolute;
    right: 1.6em;
    width: 12px;
}

.tableHeader .down {
    display: block;
    position: relative;
    bottom: 0;
    height: 50%;
    width: 100%;
    background: transparent;
}

.tableHeader .up {
    display: block;
    position: relative;
    top: 0;
    height: 50%;
    width: 100%;
    background: transparent;
}

.tableHeader .arrowForeground .active {
    background: rgb(20, 20, 20);
    background: rgba(20, 20, 20, 0.35);
    border-radius: 1px;
}

.chooseClassTitle img.popupSymbol,
.tableHeader div *{
    cursor: pointer;
}

#table li.tableRow:nth-child(2n+1),
.portfolioDetails tr:nth-child(2n),
.compareTable tr:hover,
#subpageContainer li:nth-child(2n) {
    background-color: rgb(220,220,220);
    background-color: rgba(220,220,220, .5);
}

.tableRow input {
    float: left;
}

.compareTable .center {
    text-align: center;
}

.compareTable {
    background: transparent;
    margin: 2em 4em;
    width: 1050px;
}

.compareTable tr {
    background: transparent;
}

.compareTable td {
    border: 1px solid #ddd;
    padding: 4px;
    text-align: right;
}

.compareTable td.header {
    font-weight: bold;
}

.compareTable td.text {
  text-align: left;
}

.compareTable tr:first-child:hover {
    background: transparent;
}

.compareTable tr:hover {
    background: rgba(120, 120, 120, .75);
}

.compareTable tr:nth-child(2) td,
.compareTable tr:nth-child(3) td {
    font-weight: bold;
    text-align: left;
}
td.header {
    text-align: left;
}


#graph {
    padding-top: 10px;
    margin: auto;
}

#graph div {
    border: 1px solid #aaa;
    border-radius: 5px;
}

.questionMark {
    background-color: #3bafde;
    color: white;
    border-radius: 7px;
    width: 14px;
    line-height: 14px;
    text-align: center;
    font-weight: bold;
    font-size: 10px;
    margin: 5px 5px 0;
}

.number {
    background-color: #d3d3d3;
    color: white;
    border-radius: 10px 10px 10px 10px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
    margin-right: 10px;
}

span.numberOfYear {
    margin-left: 20px;
}

.numberOfYear input {
    margin-bottom: 6px;
}
.numberOfYear label {
    margin-left: 6px;
}

#chooseClass {
    background-color: #f4f4f4;
    height: 65px;
}

.chooseClassTitle {
    width: 16em;
    float: left;
}

.chooseClassTitle div.questionMark{
    float: right;
}

.toggleAdvanced:hover {
    cursor: pointer;
}

.riskClassButton {
    background-color: #b9fb80;
    border-radius: 10px 10px 10px 10px;
    -moz-box-shadow: 0 1px 1px 0 #555555 inset;
    -webkit-box-shadow: 0 1px 1px 0 #555555 inset;
    box-shadow: 0 1px 1px 0 #555555 inset;
    height: 20px;
}

.toggleAdvanced.riskClassButton {
    text-align: center;
}

.chooseRiskClass {
    width: 100%;
    display: inline-block;
    font-size: 0;
}

.chooseRiskClass span{
    margin: 0;
    padding: 0;
}

.chooseRiskClass div:first-child {
    border-radius: 10px 0 0 10px;
}

.chooseRiskClass div:last-child {
    border-radius: 0 10px 10px 0;
    float: right;
}

div.advanced div:last-child {
    width: 9%;
}
div.advanced div {
    width: 10%;
}

#chooseClass div.advanced {
    /* fix bootstrap margin */
    margin-left: 0;
}

.darkGreen {
    background-color: #77b840;
    -moz-box-shadow: 0 1px 1px 0 #555555 inset;
    -webkit-box-shadow: 0 1px 1px 0 #555555 inset;
    box-shadow: 0 1px 1px 0 #555555 inset;
    color: white;
}

.chooseRiskClass div {
    display: inline-block;
    text-align: center;
    width: 33.33333%;
    font-size: 14px;
}

#chooseYear {
    background: rgb(255,255,255);
    background: rgba(255,255,255,0.5);
    height: 40px;
}

#chooseAdvanced span:hover {
    cursor: pointer;
}

#chooseAdvanced span{
    margin-left: 2em;
    color: #3ab1e0;
}

#chooseAdvanced span span{
    margin-left: 1em;
}

#chooseAdvanced span i {
    margin-left: 5px;
}

#chooseAdvanced span span {
    margin-right: 5px;
}

#tableContainer {
    margin-top: 1em;
}

#table,
#chooseYear {
    -moz-box-shadow: 0 2px 3px #888;
    -webkit-box-shadow: 0 2px 3px #888;
    box-shadow: 0 2px 3px #888;
}

#table {
    border-radius: 10px 10px 10px 10px;
    min-height: 500px;
}

#table input[type= "submit"] {
    display: block;
    clear: both;
    margin: auto;
}

#table,
.compareTable td,
.portfolioDetails table,
.portfolioDetails ul{
    background: rgba(255,255,255, 0.85);
}

.portfolioDetails .table {
    width: 40%;
}

.portfolioDetails li:nth-child(3) span.right {
    /*referanse indeks tekst is too long*/
    text-align: left;
}

#chooseClass, #chooseYear {
    border-bottom: 1px solid white;
}

#triangularButton{
    width: 6em;
    display: inline;
}
#triangularButton a{
    padding: 3px 10px;
    float: left; text-align:center;
    text-decoration: none;
    color: white;
    position: relative;
    margin-right: 10px;
    background: #3BAFDE;
    border-radius:0 3px 3px 0 ;
    width:auto
}
#triangularButton a::before{
    content: "";
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right:13px solid #3BAFDE;
    left: -1em;
    margin-top: -13px;
}
#triangularButton a::after{
    z-index: 2;
}

#subpageContainer{
    background: rgb(255,255,255);
    background: rgba(255,255,255, 0.75);
    border-radius: 10px 10px 10px 10px;
    -moz-box-shadow: 0 2px 3px #888;
    -webkit-box-shadow: 0 2px 3px #888;
    box-shadow: 0 2px 3px #888;
    margin-top: 2em;
    margin-bottom: 5em;
    padding-bottom: 2em;
    padding-top: .1em;
}

#subpageContainer li {
    list-style: none;
    margin: 0;
    padding: 5px;
}

#subpageContainer ul {
    margin: 0;
    padding: 0;
}
.span3.portfolioDetails {
    margin-left: 0;
}

.tableRow div.tableCell:first-child, .tableRow div.tableCell:nth-child(2) {
    text-align: left;
}

#graphContainer {
    width: 92%;
    margin: 4%;
}

#graphContainer > div {
    display: inline-block;
}

.portfolioDetails th {
    padding: 12px 0;
    border-top: 0 none;
}

.portfolioDetails h3,
.portfolioDetails th {
    border-bottom: 2px solid rgb(59, 175, 222);
    border-bottom: 2px solid rgba(59,175, 222, .5);
}

.portfolioDetails td {
    padding: 5px;
}

.portfolioDetails th,
.portfolioDetails td {
    width: 12%;
    border-right: 1px solid #aaa;
}

.portfolioDetails td {
    text-align: right;
}

.portfolioDetails td:first-child {
    text-align: left;
}

.detailContainer .portfolioDetails {
    width: 28%;
    display: inline-table;
    vertical-align: top;
    margin-left: 4%;
}

.portfolioDetails ul {
    border: 1px solid #aaa;
}

.portfolioDetails table {
    width: 530px;
    margin-top: 6.7em;
    margin-left: 2em;
    border: 1px solid #AAA;
    border-radius: 5px 5px 5px 5px;
    /*border-collapse: separate;*/
}

.portfolioDetails td:last-child,
.portfolioDetails th:last-child {
    border-right: none;
}

.portfolioDetails td:first-child, .portfolioDetails th:first-child {
    width: 39%;
}

.portfolioDetails .tableHeader {
    line-height: 3;
}

#disclaimer span{
    font-weight: bold;
}

#disclaimer {
    padding: 10px;
}

#graphContainer .portfolioDetails {
    float: right;
}

.right {
    float: right;
}

.detailContainer {
    padding-bottom: 15px;
}

.portfolioDetails li .right {
    text-align: right;
}

.popover {
    background-color: #3ab1e0;
}

.popover-header {
    background: rgba(220, 220, 220, .25);
    border: none;
}

.popover-header::before {
    border-bottom: none !important;

}

.popover-body {
    padding: 0.5rem 0.75rem;
}

.popover.bs-popover-auto[data-popper-placement^=left] .popover-arrow:after {
    border-left-color: #3ab1e0;
}

.popover.bs-popover-auto[data-popper-placement^=right] .popover-arrow:after {
    border-right-color: #3ab1e0;
}

.popover.bs-popover-auto[data-popper-placement^=top] .popover-arrow:after {
    border-top-color: #3ab1e0;
}

.popover.bs-popover-auto[data-popper-placement^=bottom] .popover-arrow:after {
    border-bottom-color: #3ab1e0;
}

.hiddenSpan {
    display: none;
}

#popoverOpened {
    position: fixed;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    background: transparent;
    z-index: 100;
    display: none;
}

.tableCell > input[type="checkbox"] {
    margin-right: 0.5em;
    margin-left: 0.5em;
}

#errorBox {
    position: absolute;
    top: 5em;
}

#tableContainer div.errorMessage {
    position: absolute;
    top: 106px;
    padding-top: 10px;
    font-weight: bold;
}
div #errorBox.errorMessage p {
    margin: 12px 0 12px 0;
}

#compareButton:hover {
    cursor: pointer;
}

#compareButton {
    background-color: rgb(255,255,255);
    border: 1px solid #aaa;
    border-radius: 5px 5px 5px 5px;
    left: 0.5em;
    position: relative;
    text-align: center;
    top: 3.75em;
    width: 80px;
    z-index: 100;
    box-shadow:  0 2px 3px #444;
}

#compareButton.disabled {
    background-color: #DDDDDD;
    box-shadow: none;
    color: #999999;
}

#detailPageTitle {
    margin-left: 2em;
}
#detailPageTitle span {
    font-size: 20px;
}

#detailPageTitle h3 a{
    color: #333;
}

#detailPageTitle h3{
    padding-bottom: .5em;
    padding-top: .5em;
    font-size: 25px;
    margin: 0 0 .5em;
}

.fondLink {
    display: table-cell;
    padding-right: 1em;
}

.popupSymbol:hover {
   cursor: pointer;
}

.helpSymbol {
    margin-left: 0.5em;
}

span.helpSymbol {
    background: url('../img/icon_hjelp.png') no-repeat center;
    width: 16px;
    height: 16px;
    display: inline-block;
}
span.highlightedPopupIcon {
    background: url('../img/info_icon_highlight.png') no-repeat center;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 0.2em;
}

#table li {
    display: table-row;
    height: 30px;
    overflow: hidden;
}

.tableHeader .tableCell:last-child {
    width: 8%;
}

.tableHeader .tableCell{
    width: 11%;
    display: block;
    float: left;
    margin-right: 1%;
}
.tableHeader {
    display: table;
    width: 100%;
}

#table ul {
    margin: 0;
    padding: 0 0 10px;
    list-style: none;
    width: 100%;
    display: table;
}

#table li div.tableCell:last-child {
    margin: 0;
    width: 8%;
}

#table li div.tableCell {
    width: 11%;
    display: table-cell;
    padding: 4px 0;
}

#table li div.tableCell:first-child,
.tableHeader .tableCell:first-child{
    width: 18%;
}

.tableNumber.tableCell > label, td.tableNumber > label {
    display: inline-block;
    text-align: right;
    width: 50px;
}

span.disclaimerPopup {
    margin-left: 5px;
}
.hidden {
    display: none;
    visibility: hidden;
}
.clearboth {
    clear: both;
}

.row {
    margin: 0 !important;
}

label {
    font-weight: normal !important;
    font-size: 14px;
}

.chooseClassTitle {
    padding-left: 0;
}

th {
    text-align: center;
}

.headerContainer {
    display: flex;
}

.numberOfYear > label {
    display: inline-block;
}


/* overskriver ny font fra Bootstrap 4 */
body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}
