﻿
/* CLEARFIX */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/* GENERAL */
.mainBtn, .mainBtn:visited, .nokForm--applyBtn {
    background: #2970af;
    background: -webkit-linear-gradient(#2970af, #113168);
    background: -moz-linear-gradient(#2970af, #113168);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#2970af', endColorstr='#113168'); /*For IE7-8-9*/
    background: linear-gradient(#2970af, #113168);
    padding: 8px 45px;
    color: #fff;
    display: inline-block;
    clear: both;
    width: auto;
    text-align: center;
    white-space: nowrap;
    font-weight: normal;
}



    .nokForm--applyBtn:visited {
        color: #fff;
    }

.sectionHeading {
    background-color: #f2f2f2;
    display: block;
    color: #7e7d7d;
    font-size: 0.9em;
    line-height: 0em;
    padding-bottom: 8px;
    margin-bottom: 4px;
    text-indent: 9px;
}

/* DOCUMENT */
.clear {
    clear: both;
}

/* PAGE LAYOUT */
form {
    min-width: 320px;
}

#Header, #ContentWrapper, #Footer, #CardFooter, #BreadcrumbContainer {
    width: 100%;
    margin: 0 auto;
    max-width: 960px;
    min-width: 300px;
}

#ContentWrapper {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

/* HEADER */
#OuterHeader {
    border-bottom: 1px solid #D2D2D2;
    width: 100%;
    position: relative;
    z-index: 2;
}

#Header {
    display: block;
    min-height: 79px;
    position: relative;
}

    #Header a#NettKontoLogginn:visited {
        color: #fff !important;
    }

#SiteLogo {
    display: block;
    position: absolute;
    margin-top: 25px;
    font-size: 0.7em;
    color: #000;
    letter-spacing: 0.4px;
    font-weight: normal;
}

    #SiteLogo:hover {
        text-decoration: none;
    }

    #SiteLogo img {
        display: block;
        margin-bottom: 3px;
    }

#NettKontoLogginn {
    float: right;
    background: #f5822b;
    padding: 5px 10px;
    color: #fff;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    font-weight: normal;
    -webkit-box-shadow: 0 0 5px #fff;
    -moz-box-shadow: 0 0 5px #fff;
    box-shadow: 0 0 5px #fff;
}

.ie7 #NettKontoLogginn, .ie8 #NettKontoLogginn {
    border-color: #fff;
    border-style: solid;
    border-width: 0 2px 2px;
}

#CrescoPortalLink {
    float: right;
    margin-right: 10px;
    margin-top: 13px;
    clear: left;
    display: block;
    font-weight: normal;
}

    #CrescoPortalLink:visited {
        color: #003771;
    }

.ie7 #CrescoPortalLink {
    clear: left;
}

/* Search Box */
#SearchBox {
    float: right;
    clear: right;
    margin-top: 15px;
    width: 118px;
}

.ie7 #SearchBox {
    position: absolute;
    right: 0;
    top: 30px;
}

/*#SearchBox .chat {
            float: left;
            width: 43%;
            background: url('images/chat_icon.png') no-repeat right center;
            padding-top: 3px;
            color: #53646e;
            overflow: hidden;
            text-indent: 0;
            -webkit-transition: width 0.5s 0.3s, text-indent 0.5s 0.3s;
               -moz-transition: width 0.5s 0.3s, text-indent 0.5s 0.3s;
                 -o-transition: width 0.5s 0.3s, text-indent 0.5s 0.3s;
                    transition: width 0.5s 0.3s, text-indent 0.5s 0.3s;
            }*/
/*#SearchBox.search .chat {
                width: 0;
                text-indent: -100%;
                -webkit-transition: width 0.5s, text-indent 0.5s;
                   -moz-transition: width 0.5s, text-indent 0.5s;
                     -o-transition: width 0.5s, text-indent 0.5s;
                        transition: width 0.5s, text-indent 0.5s;
                }*/

#SearchBox div {
    float: right;
    padding-left: 5%;
    width: 40%;
    -webkit-transition: width 0.5s 0.2s;
    -moz-transition: width 0.5s 0.2s;
    -o-transition: width 0.5s 0.2s;
    transition: width 0.5s 0.2s;
}

#SearchBox.search div {
    width: 100%;
}

#SearchBox input {
    margin: 0;
    padding: 0;
    vertical-align: top;
    float: left;
}

#SearchBox .searchinput {
    width: 25px;
    border: 0;
    height: 20px;
    padding: 0 3px 0 2px;
    font-size: 1em;
    line-height: 0.8em;
    color: #53646e;
    background-color: transparent;
    -webkit-transition: width 0.5s 0.2s;
    -moz-transition: width 0.5s 0.2s;
    -o-transition: width 0.5s 0.2s;
    transition: width 0.5s 0.2s;
}

.ie7 #SearchBox .searchinput {
    height: 16px;
    padding-top: 8px;
}

#SearchBox.search .searchinput {
    width: 84px;
    color: #7f7c74;
}

#SearchBox .searchbutton {
    height: 15px;
    width: 15px;
    text-indent: -9999em;
    overflow: hidden;
    float: right;
    margin-top: 2px;
}

a.mainBtn:visited {
    color: #fff !important;
}
/*Chat AREA*/
.sensible-info {
    top: 460px;
    background: #113168;
}

.chat-sidebar {
    top: 375px;
    background: #f5822b; /* Old browsers */
    background: -moz-linear-gradient(top, #f5822b 0%, #ee7623 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5822b), color-stop(100%,#ee7623)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f5822b 0%,#ee7623 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f5822b 0%,#ee7623 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f5822b 0%,#ee7623 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f5822b 0%,#ee7623 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5822b', endColorstr='#ee7623',GradientType=0 ); /* IE6-8 */
}

    .chat-sidebar .innerWrap #chatText a {
        cursor: pointer;
    }

/* CONTENT - MAIN */
#OuterContent {
    background: url('images/content_bg.jpg') repeat-x;
}

#InnerContent {
    margin: 0 auto;
    padding: 30px 0px;
    width: 100%;
    position: relative;
    display: table;
}

#MasterCardAd {
    position: absolute;
    bottom: 85px;
    left: 0;
}

/* CONTENT & LEFTMENU FRAMES */
#ContentWrapper.twoCol #ContentContainer {
    width: 70%;
    float: left;
}

#SecondaryContent {
    float: left;
    width: 24%;
    margin-right: 5%;
}

#ContentContainer {
    display: block;
}

.MainPageEditorContent {
    float: left;
    max-width: 475px;
    width: 100%;
}

/* TOP TESER SUBPAGES */
#TeaserSubPages {
    background-repeat: repeat-x;
    background-position: top left;
    height: 120px;
}

    #TeaserSubPages .content {
        position: relative;
        height: 120px;
        z-index: 1;
        max-width: 960px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        overflow: hidden;
    }

    #TeaserSubPages h2 {
        margin-bottom: 15px;
        padding-top: 25px;
        color: #205a88;
        font-size: 1.9em;
    }

    #TeaserSubPages .mainImage {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        max-width: none;
    }

    #TeaserSubPages .inner {
        margin-top: 31px;
    }

        #TeaserSubPages .inner .mainBtn {
            -moz-border-radius: 10px 10px 0 0;
            -webkit-border-radius: 10px 10px 0 0;
            border-radius: 10px 10px 0 0;
            padding-bottom: 10px;
            padding-top: 10px;
            padding-left: 0;
            padding-right: 0;
            background-image: url(images/bg_subTeaserTab.gif);
            min-width: 160px;
        }

            #TeaserSubPages .inner .mainBtn.chat {
                background: #ee7623;
            }

                #TeaserSubPages .inner .mainBtn.chat:hover {
                    background: #f5822b;
                }

            #TeaserSubPages .inner .mainBtn.link2 {
                margin-left: 7px;
            }

            #TeaserSubPages .inner .mainBtn.link3 {
                margin-left: 7px;
            }

            #TeaserSubPages .inner .mainBtn:hover {
                text-decoration: none;
                background-image: url(images/bg_subTeaserTab_hover.gif);
            }

    #TeaserSubPages .mainBtn img {
        margin-right: 2px;
        vertical-align: middle;
    }

.no-touch #TeaserSubPages .inner .mainBtn[href^="tel:"]:hover {
    background-image: url(images/bg_subTeaserTab.gif);
    cursor: default;
}

/* ITEM LIST */
.itemList {
    width: 100%;
    display: table;
    margin-bottom: 10px;
}

    .itemList li {
        text-align: left;
        padding-bottom: 10px;
        margin-bottom: 10px;
        overflow: hidden;
        padding-left: 2%;
        padding-top: 10px;
        border-width: 1px 0;
        border-style: solid;
        border-color: #DCD8CC;
    }

        .itemList li:hover {
            background-color: #ebe8e2;
        }

        .itemList li.over {
            cursor: pointer;
        }

    .itemList a:hover {
        text-decoration: none;
    }

    .itemList a:visited {
        color: #003771;
    }


    .itemList h2, .itemList .tagline {
        float: right;
        width: 60%;
        font-weight: normal;
    }

    .itemList h2 {
        font-size: 14px;
        font-weight: bold;
        color: #999283;
        line-height: 1em;
    }

    .itemList img {
        display: block;
        float: left;
        clear: left;
        margin-top: 7px;
        max-width: 31%;
    }

/* CARD FOOTER */
#CardFooter strong {
    padding-top: 25px;
    display: block;
    clear: both;
    padding-left: 5px;
}

.orderProcess {
    width: 100%;
    float: right;
    display: table;
}

    .orderProcess li {
        float: left;
        width: 24.2%;
        min-width: 205px;
        margin-right: 1%;
        margin-bottom: 10px;
        color: #5f5f5f;
    }

        .orderProcess li.last {
            margin-right: 0;
        }

        .orderProcess li.first * {
            margin-left: 9px;
        }

        .orderProcess li.first p {
            font-weight: bold;
        }

        .orderProcess li.first a {
            display: block;
        }

    .orderProcess span {
        background: #113374;
        color: #fff;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        text-align: center;
        padding: 1px 4px;
        font-weight: bold;
        margin-right: 8px;
    }

    .orderProcess img {
        background: #ebe8e3;
        display: block;
        width: 100%;
        height: 100px;
        margin-top: 5px;
    }

/* FOOTER */
#Footer {
    margin-top: 7px;
    padding-bottom: 10px;
    height: 189px;
    clear: both;
}

    #Footer .sectionHeading {
        color: #000;
        font-size: 12px;
        line-height: 12px;
    }

    #Footer p {
        background-color: #f2f2f2;
        text-indent: 9px;
        color: #7e7d7d;
    }

.links {
    margin-left: 9px;
    margin-top: 11px;
}

    .links li {
        color: #7e7d7d;
        font-size: 0.8em;
        line-height: 1.2em;
    }

/* SEARCH RESULT */
.search_list {
    margin: 10px 0px 10px;
}

    .search_list .search_hit {
        padding: 0px 0px 15px 0px;
    }

        .search_list .search_hit h2, .search_list .search_hit p {
            padding: 2px 0px 2px;
        }

        .search_list .search_hit .main_link {
            text-decoration: none;
        }

.query {
    font-weight: bold;
}


/* LESS THAN FULLWIDTH */
@media only screen and (max-width: 960px) {


    .sensible-info {
        top: 490px;
    }

    .chat-sidebar {
        top: 405px;
    }

    #Footer, #BreadcrumbContainer {
        width: 95%;
    }

    #ContentWrapper, #CardFooter {
        width: 95%;
    }

    img, iframe, table, video {
        max-width: 100%;
    }

    #CrescoPortalLink {
        clear: right;
        display: block;
        float: right;
        margin-right: 10px;
        margin-top: 83px;
    }

    #NettKontoLogginn {
        position: absolute;
        right: 6px;
        top: 0;
        z-index: 2;
    }

    #Header {
        min-height: 105px;
    }

    #SiteLogo {
        position: absolute;
        top: 25px;
        left: 2.5%;
    }
}
/* /LESS THAN FULLWIDTH */

@media only screen and (max-width: 790px) {
    .sensible-info {
        top: 98px;
    }
}

/* TABLET/NETBOOK */
@media only screen and (max-width: 768px) {

    #ContentWrapper.twoCol #ContentContainer {
        width: 100%;
    }

    #SecondaryContent {
        width: 100%;
    }

    .itemList {
        border-bottom: 1px solid #DCD8CC;
    }

        .itemList li {
            width: 22%;
            float: left;
            margin-right: 2%;
            border: 0;
            padding-left: 1%;
        }

    /* Hide unwanted text on */
    .noMobile {
        display: none;
    }
}
/* /TABLET/NETBOOK */

/* MOBILE LANDSCAPE */
@media only screen and (max-width: 480px) {



    .orderProcess img {
        height: auto;
    }

    .itemList {
        display: none;
    }

    #TeaserSubPages {
        display: none;
    }

    .orderProcess, #LogoList {
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }

        .orderProcess li {
            width: 100%;
            margin-right: 0;
        }

            .orderProcess li.first * {
                margin-left: 0;
            }


    .nokForm--applyBtn-container {
        text-align: center;
    }

    .nokForm--applyBtn {
        width: 80%;
        min-width: 100px;
        max-width: 300px;
        padding: 10px;
        font-weight: bold;
        text-transform: uppercase;
    }
}
/* /MOBILE LANDSCAPE */

/* MOBILE PORTRAIT */
@media only screen and (max-width: 320px) {

    img, iframe, table, video {
        max-width: 100%;
    }
}
/**INTEREST BLOCK**/
.header-interest-wrapper {
    position: absolute;
    right: 0;
    top: 15px;
    text-align: right;
    font-size: 16px;
    width: 80%;
}

@media only screen and (max-width: 759px) {
    .header-interest-wrapper {
        position: relative;
        left: 15px;
        top: 0px;
        text-align: left;
        font-size: 14px;
        width: 94%;
        margin-bottom: 15px;
    }

        .header-interest-wrapper p {
            margin: 0;
        }
}

.interest-wrapper {
    font-size: 14px;
    padding: 15px 0;
}
.interest-wrapper p {
            margin: 0;
        }
@media only screen and (max-width: 600px) {
    .interest-wrapper {
        position: relative;
        left: 15px;
        top: 0px;
        text-align: left;
        font-size: 14px;
        width: 94%;
        margin-bottom: 15px;
        padding: 10px 0;
    }

}