﻿article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
{
    display: block;
}


*
{
    box-sizing: border-box;
}

.clearfix:after
{
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix
{
    /*display: inline-block;*/
}

.float-right
{
    float: right;
}

.float-left
{
    float: left;
}

html[xmlns] .clearfix
{
    display: block;
}

* html .clearfix
{
    height: 1%;
}


html
{
    background: url('images/noise_bg.png');
}

body
{
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 22px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: #282828;
}

    body.portal
    {
        /*background: #e4e3df;   */
    }

#bgportal
{
    /*background: url(images/top_default.jpg) top center no-repeat;*/
}

form
{
    padding: 0;
    margin: 0;
}

textarea, input, select
{
    font-size: 1.0em;
    font-family: Arial, Helvetica, sans-serif;
}

a:link, a:visited
{
    color: #063085;
    text-decoration: none;
}

a:hover, a:active
{
    color: #063085;
    text-decoration: underline;
}

img
{
    border: 0;
}

h1, h1 a:link, h1 a:visited
{
    clear: both;
    color: #333;
    font-weight: normal;
    font-size: 20px;
}

h2
{
    clear: both;
    color: #333;
    /*font-weight: normal;*/
    font-size: 16px;
    margin: 3em 0 1em 0;
}

.mainframe-pa
{
    /*max-width:1210px;*/
    width: 1210px;
    margin: 0 auto 0 auto;
    padding: 0;
}

.white-text-stroke /* hvit ramme med skygge rundt tekst, p.s. det finnes -webkit-text-stroke også */
{
    text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff, 0px 1px 0 #fff, 0px -1px 0 #fff, -1px 0px 0 #fff, 1px 0px 0 #fff, 2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff, 0px 2px 0 #fff, 0px -2px 0 #fff, -2px 0px 0 #fff, 2px 0px 0 #fff, 1px 2px 0 #fff, -1px 2px 0 #fff, 1px -2px 0 #fff, -1px -2px 0 #fff, 2px 1px 0 #fff, -2px 1px 0 #fff, 2px -1px 0 #fff, -2px -1px 0 #fff, 3px 3px 3px #bbb, -3px 3px 3px #bbb, 3px -3px 3px #bbb, -3px -3px 3px #bbb;
}

header
{
    position: relative;
}

    header .top
    {
        position: relative;
        height: 70px;
        background: #fff;
        box-shadow: 0px 0px 5px #bbb;
    }

        header .top .til-newton
        {
            color: #f25351;
            float: left;
            margin: 22px 0 0 0;
            font-weight: bold;
        }

.portal header .top .til-newton
{
    color: #53b78c;
}

header .top #toplinks
{
    /*float:right;*/
    text-align: right;
}

    header .top #toplinks div.logged-in
    {
        /*float:left;
	margin:20px 20px 0 0;*/
        display: inline-block;
    }

        header .top #toplinks div.logged-in div.user
        {
            float: left;
            margin: 20px 20px 0 0;
        }

        header .top #toplinks div.logged-in a.min-side,
        header .top #toplinks div.logged-in a.logg-ut
        {
            width: 93px;
            height: 70px;
            background: blue;
            float: left;
            text-align: center;
            color: #fff;
            padding-top: 20px;
            font-weight: bold;
            cursor: pointer;
            display: block;
        }

            header .top #toplinks div.logged-in a.min-side:hover,
            header .top #toplinks div.logged-in a.logg-ut:hover
            {
                color: #ddd;
                text-decoration: none;
            }

        header .top #toplinks div.logged-in a.min-side
        {
            background: url('images/minside_bg.png');
        }

.portal header .top #toplinks div.logged-in a.min-side
{
    background: url('images/minside_elev_bg.png');
}

header .top #toplinks div.logged-in a.logg-ut
{
    background: url('images/loggut_bg.png');
}

.portal header .top #toplinks div.logged-in a.logg-ut
{
    background: url('images/loggut_elev_bg.png');
}


header .top #toplinks div.min-side,
header .top #toplinks div.logg-ut
{
    width: 93px;
    height: 70px;
    background: blue;
    float: left;
}

header .logo
{
    text-align: center;
    float: none;
    height: auto;
    padding: 0;
    margin: -25px 0px 30px 0;
    position: relative;
}

header #logo
{
    display: inline-block;
}

header #logo
{
}

    header #logo a
    {
        display: block;
        font-family: 'ff-providence-web-pro',cursive;
        font-size: 22px;
        font-weight: bold;
        color: #f07d29;
        text-align: center;
        font-style: italic;
    }

        header #logo a:hover
        {
            text-decoration: none;
        }

        header #logo a img
        {
            display: inline-block;
            width: 70px;
        }

        header #logo a span
        {
            display: block;
        }

.portal header
{
    /*height:130px;*/
}

.portal #logo a
{
    /*display:block;
    width:400px;
    height:50px;*/
}

header #topborder
{
    position: absolute;
    bottom: 0;
    width: 984px;
    border-top: solid 1px #fff;
    border-left: solid 1px #fff;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #e1e1e1;
    background: #be2623;
    height: 24px;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -moz-border-top-right-radius: 10px;
    -moz-border-top-left-radius: 10px;
    -o-border-top-right-radius: 10px;
    -o-border-top-left-radius: 10px;
    -ms-border-top-right-radius: 10px;
    -ms-border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

    header #topborder div
    {
        padding: 4px 20px 0 0;
        color: #fff;
    }

        header #topborder div a
        {
            color: #fff;
            text-decoration: underline;
        }

            header #topborder div a:hover
            {
                text-decoration: none;
            }

.portal #topborder
{
    background: #c9c9c9;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-top-left-radius: 0;
    -moz-border-top-right-radius: 10px;
    -moz-border-top-left-radius: 0;
    -o-border-top-right-radius: 10px;
    -o-border-top-left-radius: 0;
    -ms-border-top-right-radius: 10px;
    -ms-border-top-left-radius: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 0;
}

.portal #mainmenu
{
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 0;
    bottom: 23px;
    width: 650px;
    height: 30px;
    z-index: 2;
}

    .portal #mainmenu li
    {
        float: left;
    }

        .portal #mainmenu li a
        {
            display: block;
            padding: 5px 20px;
            font-weight: bold;
            color: #000;
        }

            .portal #mainmenu li a.selected
            {
                background: #c9c9c9;
                border-left: solid 1px #fff;
                border-top: solid 1px #fff;
                border-right: solid 1px #fff;
                -webkit-border-top-right-radius: 10px;
                -webkit-border-top-left-radius: 10px;
                -moz-border-top-right-radius: 10px;
                -moz-border-top-left-radius: 10px;
                -o-border-top-right-radius: 10px;
                -o-border-top-left-radius: 10px;
                -ms-border-top-right-radius: 10px;
                -ms-border-top-left-radius: 10px;
                border-top-right-radius: 10px;
                border-top-left-radius: 10px;
            }

#content
{
    margin: 0 auto;
    width: 1210px;
    /*background:#fff;*/
    min-height: 500px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    -moz-border-bottom-left-radius: 10px;
    -o-border-bottom-right-radius: 10px;
    -o-border-bottom-left-radius: 10px;
    -ms-border-bottom-right-radius: 10px;
    -ms-border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

#login
{
    width: 300px;
    border: solid 2px #999;
    background: #fafafa;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    padding: 1em;
    text-align: center;
    margin: 100px auto 0 auto;
}

footer
{
    height: 50px;
    padding-top: 15px;
    background-image: -webkit-linear-gradient(to right,#e9442e, #f68e42);
    background-image: -moz-linear-gradient(to right,#e9442e, #f68e42);
    background-image: -ms-linear-gradient(to right,#e9442e, #f68e42);
    background-image: linear-gradient(to right,#e9442e, #f68e42);
    color: #fff;
    margin: 60px 0 60px 0;
}

    footer .left
    {
        float: left;
    }

    footer .right
    {
        float: right;
    }

    footer a:link, footer a:visited
    {
        color: #fff;
    }

/*.portal footer, .portal footer a
{
    color:#333;
}*/

#leftcol
{
    width: 20%;
    padding: 0 0px 0 0;
    float: left;
    min-height: 650px;
}

#maincol
{
    float: left;
    width: 80%;
    padding: 24px 26px;
    background: #fff;
    box-shadow: 0px 0px 5px #bbb;
}

#modulemenu div
{
    /*float:left;    */
    /*background-image:linear-gradient(#ec4d4b, #ec4d4b);*/
}

    #modulemenu div.sep
    {
        height: 2px;
        background: url('images/sep_bg.png');
    }

.portal #modulemenu div.sep
{
    background: url('images/sep_green_bg.png');
}

#modulemenu div a
{
    /*float:left;*/
    padding: 10px 25px;
    color: #bc2723;
    /*background-image:linear-gradient(#ec4d4b, #ec4d4b);*/
    /*background-image:linear-gradient(#55b98e, #52b68b); elev */
    display: block;
    color: #fff;
    font-weight: bold;
}

    #modulemenu div a:hover
    {
        /*color:#000;*/
        text-decoration: none;
    }

#modulemenu #part1
{
    border-top: solid 1px #dddbdc;
    border-bottom: solid 1px #f1eff0;
    /*background-image:linear-gradient(#ec4d4b, #ec4d4b);*/
    background: url('images/noise_red.png');
    margin-bottom: 20px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-top-left-radius: 4px;
    -moz-border-bottom-left-radius: 4px;
    -o-border-top-left-radius: 4px;
    -o-border-bottom-left-radius: 4px;
    -ms-border-top-left-radius: 4px;
    -ms-border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.portal #modulemenu #part1
{
    background: url('images/noise_green.png');
    border-top: solid 1px #61bc95;
    border-bottom: solid 1px #4eaa82;
}



.roundborder_right
{
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-top-right-radius: 4px;
    -moz-border-bottom-right-radius: 4px;
    -o-border-top-right-radius: 4px;
    -o-border-bottom-right-radius: 4px;
    -ms-border-top-right-radius: 4px;
    -ms-border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}


#modulemenu #part2
{
    border-top: solid 1px #bcb6b6;
    border-bottom: solid 1px #d8d8d8;
    /*background:#b0a7a8;*/
    background: url('images/noise_red.png');
    margin-bottom: 20px;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-top-right-radius: 4px;
    -moz-border-bottom-right-radius: 4px;
    -o-border-top-right-radius: 4px;
    -o-border-bottom-right-radius: 4px;
    -ms-border-top-right-radius: 4px;
    -ms-border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

#modulemenu2 #part1
{
    border-top: solid 1px #DDDBDC;
    border-bottom: solid 1px #F1EFF0;
    background: #D7D1D1;
    margin-bottom: 20px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-top-left-radius: 4px;
    -moz-border-bottom-left-radius: 4px;
    -o-border-top-left-radius: 4px;
    -o-border-bottom-left-radius: 4px;
    -ms-border-top-left-radius: 4px;
    -ms-border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

#modulemenu2 div
{
    float: left;
}

    #modulemenu2 div a
    {
        float: left;
        padding: 5px 10px;
    }

    #modulemenu2 div.sep
    {
        width: 0px;
        height: 32px;
        border-right: dotted 1px #FFF;
    }


a.selected:link, a.selected:visited
{
    color: #000 !important;
}

#maincontent
{
    margin: 0 10px 0 0;
    line-height: 18px;
}

#leftcol h2
{
    margin: 0 0 0.8em 0;
}

#activitymenu, .activitymenu
{
    margin: 0 0 0 0px;
    list-style-type: none;
}

    #activitymenu li a, .activitymenu li a
    {
        display: block;
        padding: 5px;
        /*border-left:solid 3px #fff;*/
    }

    #activitymenu .selected, .activitymenu .selected
    {
        color: #000;
        border-left: solid 3px #c9c9c9;
        background: #c9c9c9;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -o-border-radius: 4px;
        -ms-border-radius: 4px;
        border-radius: 4px;
    }

    .activitymenu h2
    {
        padding-left: 25px;
    }

    .activitymenu ul li a
    {
        padding-left: 23px !important;
    }

#modulemenu .activitymenu
{
    margin: 0 0 0 0px;
    list-style-type: none;
}

    #modulemenu .activitymenu li a
    {
        display: block;
        padding: 5px 5px 5px 45px;
        
    }

    #modulemenu .activitymenu .selected,
    #modulemenu .activitymenu a:hover
    {
        color: #000;
        border-left: solid 3px #c9c9c9;
        background: #c9c9c9;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -o-border-radius: 0;
        -ms-border-radius: 0;
        border-radius: 0;
    }

.media
{
    float: left;
    width: 400px;
    clear: left;
}

    .media a:link, .media a:visited
    {
        display: block;
        padding-left: 70px;
        padding-top: 11px;
        margin-left: 0;
        height: 45px;
        color: #333;
        text-decoration: none;
        font-size: 16px;
    }

    .media .media1
    {
        background: url(images/media1.png) top left no-repeat;
    }

    .media .media2
    {
        background: url(images/media2.png) top left no-repeat;
    }

    .media .media3
    {
        background: url(images/media3.png) top left no-repeat;
    }

    .media .media4
    {
        background: url(images/media4.png) top left no-repeat;
    }

    .media .media5
    {
        background: url(images/media5.png) top left no-repeat;
    }

    .media .media6
    {
        background: url(images/media6.png) top left no-repeat;
    }

.mediaitem
{
    background-color: #000;
    border-top: solid 1px #d9d9d9;
    border-right: solid 1px #555;
    border-bottom: solid 1px #555;
    border-left: solid 1px #d9d9d9;
    height: 33px;
    padding: 4px;
    font-size: 10px;
    font-weight: bolder;
    font-family: Tahoma;
    text-align: right;
}

    .mediaitem span
    {
        float: left;
        display: block;
        padding: 3px;
        text-decoration: none;
        color: #fff;
    }

    .mediaitem a
    {
        float: right;
        display: block;
        padding: 3px;
        text-decoration: none;
        color: #fff;
    }

/* Lightwindow classes */

.modal-overlay
{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    opacity: .75;
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    z-index: 101;
}

.modal-window
{
    position: fixed;
    top: 50%;
    left: 50%;
    margin: 0;
    padding: 0;
    z-index: 102;
}

.close-window
{
    position: absolute;
    width: 32px;
    height: 32px;
    right: 8px;
    top: 8px;
    background: transparent url('/examples/modal-simple/close-button.png') no-repeat scroll right top;
    text-indent: -99999px;
    overflow: hidden;
    cursor: pointer;
    opacity: .5;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
}

    .close-window:hover
    {
        opacity: .99;
        filter: alpha(opacity=99);
        -moz-opacity: 0.99;
    }

/* End lightwindow classes */

div.mediatekst
{
    background-color: #FFFFFF;
    padding: 20px 80px 20px 20px;
    color: #333333;
    font-size: 15px;
    line-height: 1.8em;
}

div.mediaboks
{
    background-color: #FFFFFF;
    padding: 0;
    text-align: center;
}

.pdf
{
    background: url(/app_themes/standard/images/pdf.gif) left no-repeat;
    padding: 3px 0 3px 22px;
}

.confirmbutton
{
    border: none;
    background-image: url(images/noise_green.png);
    border: solid 1px #4eaa82;
    background-color: #000000;
    padding: 4px 16px;
    color: #ffffff !important;
    cursor: pointer;
    border: none;
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    width: 100% !important;
    max-width: 300px;
    text-transform: uppercase;
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
}

    .confirmbutton:hover
    {
        background-image: none;
        background-color: #4aa27c;
    }

.borderdiv
{
    border-top: 1px solid rgb(203,203,203);
    margin-bottom: 20px;
}
.lead
{
    margin-bottom:15px;
    font-size:16px;
}
.content
{
    margin-bottom:15px;
}
.documents
{
    list-style:none;
    margin:0;
    padding:0;
}


@media (max-width: 1210px)
{
    #content, .mainframe-pa
    {
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 768px)
{
    #leftcol
    {
        width: 30%;
    }

    #maincol
    {
        width: 70%;
    }

    header .top
    {
        height: 120px;
    }

    #ctl00_lnkChangePassword
    {
        display: none;
    }

    .portal header .top
    {
        height: 90px;
    }

    header .top .til-newton
    {
        float: none;
        margin-top: 10px;
    }

    header .top #toplinks
    {
        text-align: left;
        padding-left: 10px;
    }

        header .top #toplinks div.logged-in div.user
        {
            margin-top: 0;
        }

        header .top #toplinks div.logged-in a.logg-ut,
        .portal header .top #toplinks div.logged-in a.logg-ut,
        header .top #toplinks div.logged-in a.min-side,
        .portal header .top #toplinks div.logged-in a.min-side
        {
            background: none;
            width: auto;
            height: auto;
            color: #f25351;
            padding-top: 0;
            display: block;
            float: none;
            text-align: left;
        }

    .portal header .top #toplinks div.logged-in a.logg-ut,
    .portal header .top #toplinks div.logged-in a.min-side
    {
        color: #53b78c;
    }
}

@media (max-width: 520px)
{

    #leftcol,
    #maincol
    {
        width: auto;
        float: none;
        min-height: 0;
    }

    .media
    {
        float: none;
        width: auto;
    }

    footer
    {
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: center;
        height: auto;
        min-height: 50px;
        margin-top: 20px;
    }

        footer .left, footer .right
        {
            float: none;
        }
}

@media (max-width: 420px)
{
}
