<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Details.aspx.cs" Inherits="eDocument.Server.Administrator.edoc_sak.Details" MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="https://fonts.googleapis.com/css?family=Barlow:400,500,600" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="<%= ViewerCssUrl %>"/>
	<script src="<%= InstallUrl %>duet/duet.js"></script>	
	<link rel="stylesheet" href="<%= InstallUrl %>duet/themes/default.css" type="text/css" />
    <style>
        body{
            background-color:#f3f3f3 !important;
        }

        .edoc-viewer{
            position:relative;
            z-index:0;
            margin-top:44px;
            margin-left:-15px;
            margin-right:-15px;
        }

        .edoc-viewer form{
            -webkit-box-shadow:0 3px 6px 0 rgba(0, 0, 0, 0.3);
            box-shadow:0 3px 6px 0 rgba(0, 0, 0, 0.3);
        }

        .edoc-viewer .diff_added {
            background: #99ff99;
        }

        .edoc-viewer .diff_removed {
            background: #ff6666;
        }

        .edoc-viewer .diff_changed {
            background: #ffcc66;
        }
    </style>
    <link href="<%= DetailsCssUrl %>" rel="stylesheet">
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <div id="root" class="ssp__h-100">
    </div>
    
    <script src="Config.aspx"></script>

    <script type="text/javascript" src="<%= DetailsJsUrl %>"></script>

    <script>
        document.addEventListener("DOMContentLoaded", function () {
            // Change active in starttab
            Array.from(document.querySelectorAll(".skjema-admin__start-bar__anchor")).forEach(function (link) {
                link.classList.remove("skjema-admin__start-bar__anchor--active");
                if (link.innerHTML.indexOf("Saksbehandler") !== -1) {
                    link.classList.add("skjema-admin__start-bar__anchor--active");
                }
            });
        });
    </script>
</asp:Content>