body {
    background: #000;
}
.cover {
    background-size: cover;
    height: 150vh;
    width: 100%;
    background-position: center bottom;
    position: relative;
}
.videoE16 {
    opacity: 0;
}
.videoContainer {
    position: fixed;
    left: 50%;
    top: 0;
    z-index: -100;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    background-size: cover;
    background-position: center center;
}
.videoContainer1 {
    background-image: url(../img/video1-cover.jpg);    
}
.videoContainer2 {
    background-image: url(../img/video2-cover.jpg);    
}
.cover-middle-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    color: #fff;
    z-index: 100;
    width: 100%;
}
.cover-title-content {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    color: #fff;
    z-index: 100;
    width: 100%;
}
video { 
    position: absolute;
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
}

.black1, .black2 {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background: #000;
    opacity: 0;
}

.table.fylker-graf>thead>tr>th, .table.fylker-graf>tbody>tr>th, .table.fylker-graf>tfoot>tr>th, .table.fylker-graf>thead>tr>td, .table.fylker-graf>tbody>tr>td, .table.fylker-graf>tfoot>tr>td {
    padding: 6px;
}
.table.fylker-graf .bar {
    width: 100%;
    background: #fff;
    display: block;
    float: right;
    height: 5px;
    position: relative;
    width: calc(100% - 40px);
    margin-top: 5px;
    background: rgba(39, 174, 96,0.2);
}
.table.fylker-graf div>span {
    position: absolute;
    left: 0;
    top: 0;
}
table.table.fylker-graf tr td, table.table.fylker-graf tr th {
    width: 25%;
    font-size: 13px;
}
.table.fylker-graf .barValue {
    background: #e74c3c;
    height: 20px;
    position: relative;
    position: absolute;
    left: 0;
    height: 100%;
    top: 0;
}
#fylker-graf .fylker-row {
    width: 100%;
}
#fylker-graf .fylker-row {
    width: 100%;
}

.table-wide {
    display: block !important;
}
.table-narrow {
    display: none !important;
}
#fylker-graf > table > tbody > tr:nth-child(3) {
    font-weight: bold;
    background: #fff;
}
#fylker-graf > table > tbody > tr:nth-child(20) td {
    border-top: 2px solid #ddd;
}
#fylker-graf > table > tbody > tr:last-child td {
    font-weight: bold;
    text-transform: uppercase;
}
@media (max-width : 600px) {
    .table-wide {
        display: none !important;
    }
    .table-narrow {
        display: block !important;
    }
    table.table.fylker-graf tr td, table.table.fylker-graf tr th {
        font-size: 12px;
    }
}



.i-table {
    text-align: center;
    font-size: 13px;
}
.i-table .i-table-row {
    width: 100%;
    height: 62px;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
    position: relative;
}
.i-table .i-table-row-th span {
    position: absolute;
    left: auto;
    right: 0;
    transform-origin: bottom right;
    -webkit-transform-origin: bottom right;
    font-weight: bold;
    width: 85px;
    margin-left: 0;
    font-size: 12px;
    bottom: 5px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    text-align: right;
    height: 20px;
    line-height: 20px;
    right: 50%;
    margin-right: 10px;
}
.i-table .i-table-row>div, .i-table .i-table-row>div>div {
    float: left;
    height: 62px;
    line-height: 62px;
    vertical-align: middle;
    position: relative;
}
.i-table .i-table-row>div:first-child {
    text-align: left;
    width: 80px;
    line-height: 15px;
    padding-top: 8px;
}
.i-table .i-table-row>div:nth-child(2) {
    width: calc(100% - 80px);
}
.i-table .i-table-row>div:nth-child(2)>div {
    width: calc(100%/8);
}
.i-yes {
    color: #27ae60;
    text-shadow: 0px 0px 20px rgba(46, 204, 113, 1);
}
.i-no {
    color: rgb(192, 57, 43);
    text-shadow: 0px 0px 20px rgba(231, 76, 60, 1);
}
.i-noy {
    color: rgb(192, 57, 43);
    text-shadow: 0px 0px 20px rgba(231, 76, 60, 1);
    opacity: 0.3;
}
.i-siste {
    position: relative;
    color: #333;
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    margin-top: -5px;
}
.i-siste:after {
    content: 'siste';
    position: absolute;
    top:100%;
    line-height: 14px;
    padding: 0;
    text-align: center;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    left: 50%;
    margin-top: -20px;
    color: #333;
}
.i-table .i-table-row>div>div.arrow {
    position: absolute;
    left: 50%;
    width: 20%;
    height: 1px;
    background: #000;
    top: 50%;
}


.veienContainer {
    position: fixed;
    top: 0;
    transform: translateY(150px);
    -webkit-transform: translateY(150px);
    left: 0;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: 100vh;
    opacity: 0;
}
.veien {
    will-change: transform;
}
.transparent-placeholder {
    width: 100%;
    background: transparent;
    position: relative;
    z-index: -1000;
}
.veien-flyover {
    background: rgba(255,255,255,0.8);
    padding: 20px;
    position: absolute;
    z-index: -10;    
    width: 100%;
    max-width: 320px;
    display: block;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    bottom: 100%;
    left: 50%;
}
.veien-flyover p {
    margin-bottom: 0;
}
#fylker-graf {
    max-height: 310px;
    overflow: hidden;
    transition: max-height 0.5s;
    position: relative;
}
#fylker-graf .table {
    background: #fff;
    margin-bottom: 0;
}
.grey-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: -moz-linear-gradient(top, rgba(247,247,247,0) 0%, rgba(247,247,247,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(247,247,247,0) 0%,rgba(247,247,247,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(247,247,247,0) 0%,rgba(247,247,247,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f7f7f7', endColorstr='#f7f7f7',GradientType=0 ); /* IE6-9 */
    z-index: 1;
}
#fylker-graf.active, .lengste-broer.active {
    max-height: 1000px;
}
#fylker-graf.active .grey-overlay, .lengste-broer.active .grey-overlay {
    display: none;
}
.overlay-trigger {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    left: 0;
    cursor: hand;
    cursor: pointer;
    font-weight: bold;
    color: #e74c3c;
}
.oslo-squares {
    position: relative;
    color: #fff;
    height: 300px;
    width: 300px;
    display: inline-block;
}
.oslo-squares-container {
    width: 300px;
    display: inline-block;
    color: #27ae60;
    font-weight: bold;
    position: relative;
}
.oslo-square {
    width: 20px;
    height: 20px;
    float: left;
    border-right: 1px solid rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(0,0,0,0.15);
}
.oslo-square.red {
    background: #e74c3c;
}
.oslo-square.green {
    background: #2ecc71;
}
.ikke-inspisert {
    position: absolute;
    left: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    color: #fff;
}
.inspisert {
    width: 160px;
    margin-bottom:5px;
    float: left;
}


.oslo-square:nth-child(15n+15), .oslo-square:nth-child(213) {  
  border-right: none;
}
.oslo-square:nth-child(n+199):nth-child(-n+213) {
    border-bottom: none;
}


.lengste-broer {
    font-size: 13px;  
    position: relative;  
}
.lengste-broer {
    max-height: 300px;
    overflow: hidden;
}
.lengste-broer>.lengste-broer-list>div {
    background: #fff;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 3px;
}
.lengste-broer>.lengste-broer-list>div:last-child {
    margin-bottom: 15px;
}
.lengste-broer>.lengste-broer-list>div>div:first-child {
    font-weight: bold;
}
.lengste-broer small, .lengste-broer .small {
    font-size: 100%;
    color: #999;
}
