﻿html, body {
    height: 100vh;
}


/* 
    Container
*/
.container-innmelding {
    height: 100vh;
    width: 100%;
}

/*
    Footer
*/
footer {
    background-color: #fbfbfb;
    border-top: 1px solid #eaeaea;
    color: #000;
    font-size: 0.8em;
}

/* 
    LEFT COLUMN
*/
.btn-back-to-portal {
    border-right: 1px solid #fff;
}

    .btn-back-to-portal a:hover {
        text-decoration: none;
    }

.left-sidebar {
    max-height: 100vh;
    overflow: hidden;
}

    .left-sidebar .bottom {
        border-right: 1px solid #f5f5f5;
        background-color: #fbfbfb;
    }

    .left-sidebar ul {
        margin: 0;
        padding: 0;
    }

        .left-sidebar ul li {
            list-style-type: none;
            border-right: 1px solid #f5f5f5;
            background-color: #fbfbfb;
            position: relative;
            height: 64px;
        }

            .left-sidebar ul li a {
                color: #e2e2e2;
                cursor: default;
            }

                .left-sidebar ul li a:hover {
                    text-decoration: none;
                }

            .left-sidebar ul li.current {
                background-color: #efefef;
            }

                .left-sidebar ul li.current:hover {
                    background-color: #f1f1f1;
                }

                .left-sidebar ul li.current a {
                    color: #969a9e;
                }

                    .left-sidebar ul li.current a:hover {
                        color: #969a9e;
                        cursor: pointer;
                    }

            .left-sidebar ul li.completed {
                background-color: #fbfbfb;
            }

                .left-sidebar ul li.completed:hover {
                    background-color: #f1f1f1;
                }

                .left-sidebar ul li.completed a {
                    color: #969a9e;
                }

                    .left-sidebar ul li.completed a:hover {
                        color: #969a9e;
                        cursor: pointer;
                    }

            .left-sidebar ul li.active {
            }

                .left-sidebar ul li.active:hover {
                }

                .left-sidebar ul li.active a {
                    color: #fff;
                }

                    .left-sidebar ul li.active a:hover {
                        color: #fff;
                        cursor: pointer;
                    }


            .left-sidebar ul li .step-label {
                position: absolute;
                right: -32px;
                top: 0px;
                height: 64px;
                width: 64px;
                border-radius: 50%;
                display: flex;
                justify-content: flex-start;
            }

            .left-sidebar ul li.current .step-label {
                color: #969a9e;
                background-color: #efefef;
                border: 1px solid #fff;
            }

            .left-sidebar ul li.completed .step-label {
                color: #969a9e;
                background-color: #efefef;
                border: 1px solid #fff;
            }

            .left-sidebar ul li.active .step-label {
                color: #0bb922;
                background-color: rgba(113, 217, 113, 0.92);
                border: 1px solid #72d086;
            }

            .left-sidebar ul li.disabled .step-label {
                color: #d6d6d6;
                background-color: #efefef;
                border: 1px solid #fff;
            }

            .left-sidebar ul li .step-label span {
                align-self: center;
                padding-left: 12px;
                font-size: 1.1em;
            }

            .left-sidebar ul li .step-label-2 {
                position: absolute;
                left: 50%;
                margin-left: -13px;
                bottom: -13px;
                height: 26px;
                width: 26px;
                border-radius: 50%;
                display: flex;
                justify-content: center;
                z-index: 2;
            }

            .left-sidebar ul li.current .step-label-2 {
                color: #969a9e;
                background-color: #efefef;
            }

            .left-sidebar ul li.completed .step-label-2 {
                color: #dcdcdc;
                background-color: #fbfbfb;
            }

            .left-sidebar ul li.disabled .step-label, .left-sidebar ul li.disabled .step-label-2 {
                color: #d6d6d6;
                background-color: #efefef;
            }

            .left-sidebar ul li.active .step-label-2 {
                color: #fff;
            }

            .left-sidebar ul li .step-label-2 span {
                align-self: center;
                font-size: .9em;
            }

.card-contract .card-title {
    font-size: 1em;
}

.card-contract p {
    font-size: 0.8em;
    margin: 0;
}

.card-contract {
    transition: box-shadow 135ms cubic-bezier(.4,0,.2,1),width 235ms cubic-bezier(.4,0,.2,1);
    box-shadow: 0 1px 1px 0 rgba(60,64,67,.08), 0 1px 3px 1px rgba(60,64,67,.16);
}

    .card-contract:hover {
        background-color: #f5f5f5;
        box-shadow: 0 1px 3px 1px rgba(60,64,67,.2), 0 2px 8px 4px rgba(60,64,67,.1);
        cursor: pointer;
    }


/* 
    RIGHT COLUMN 
*/
.right-column {
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    min-height: calc(100vh - 64px);
}

#spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 999;
    background-color: rgba(0,0,0,0.1);
    padding: 20px;
}

    #spinner i {
        font-size: 3em;
        color: #757575;
    }

.section {
    min-height: 100%;
}

    .section header h1 {
        color: #fff;
        font-size: 1.8em;
        margin: 0px;
    }

    .section > div {
        /*margin-bottom: 40px;*/
    }

    .section .contract-active-card {
        background-color: #fbfbfb;
        border: 1px solid #f5f5f5;
        border-right: none;
        border-left: none;
    }

        .section .contract-active-card .card-title {
            font-size: 1em;
        }

        .section .contract-active-card p {
            font-size: 0.8em;
        }

    .section .list-item, .section .list-item-non-clickable {
        background-color: #f1f1f1;
        border-bottom: 1px solid #dee2e6;
        color: #757575;
    }

        .section .list-item:hover {
            cursor: pointer;
            background-color: #fbfbfb;
        }

        .section .list-item.selected {
            color: #fff;
        }

        .section .list-item.highlighted {
            /*color: #fff;*/
        }

        .section .list-item h4 {
            font-size: 1.2em;
        }

        .section .list-item p {
            font-size: 0.9em;
        }

    .section .list-group-header {
        background-color: #e4e4e4;
        border-bottom: 1px solid #dadada;
        color: #757575;
    }

        .section .list-group-header h4 {
            font-size: 1.2em;
            margin: 0;
        }

        .section .list-group-header:hover {
            cursor: pointer;
        }


.contract-details {
    color: #757575;
}

    .contract-details .price-includes, .list-item .price-includes {
        font-style: italic;
        font-size: 0.8em;
    }

    .contract-details .price, .list-item .price {
        padding-bottom: 15px;
    }

    .contract-details hr, .list-item hr {
        margin-top: 20px !important;
        margin-bottom: 5px;
    }

    .contract-details .description, .list-item .description {
        font-size: 0.8em;
    }

.collapse-icon {
    -webkit-transition: -webkit-transform .4s ease-in-out;
    -ms-transition: -ms-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
}

.rotated {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg); /* IE 9 */
    -moz-transform: rotate(180deg); /* Firefox */
    -webkit-transform: rotate(180deg); /* Safari and Chrome */
    -o-transform: rotate(180deg); /* Opera */
}

.btn-location, .btn-contract, .btn-show-collapsed-content, .btn-show-contract-modal, .btn-navigate {
    cursor: pointer;
}

.btn-gender.selected {
    color: #fff;
}

.btn-check {
    background-color: transparent;
    color: #6c757d;
    padding: 0px;
}

.contract-terms-label {
    display: inline;
}

form#informationForm .form-group {
    padding: 5px;
    margin-bottom: 0px;
}


.form-group {
    padding: 10px;
}

    .form-group.selected {
        background-color: #f1f1f1;
        color: #757575;
    }

.selected-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.selected-title-label {
    font-size: 0.8rem;
    padding-bottom: 5px;
}

.selected-price {
    font-size: 1.2rem;
    font-weight: bold;
}

/* 
    Common for LEFT and RIGHT column
*/
.wrapper {
    overflow: hidden;
    min-height: calc(100vh - 64px);
}

.btn-back-to-portal, .btn-back-to-portal a, .left-sidebar ul li {
    height: 64px;
}

.section header {
    min-height: 64px;
}


/*
    MODAL
*/
.modal-content {
    color: #fff;
    border: 1px solid rgb(255, 255, 255);
}

    .modal-content hr {
        margin-top: 5px;
        margin-bottom: 5px;
        border-color: #fff;
    }

.modal-header .close {
    color: #fff;
    opacity: 0.9;
}

    .modal-header .close:not(:disabled):not(.disabled):hover, .modal-header .close:not(:disabled):not(.disabled):focus {
        opacity: 0.9;
    }

@media screen and (max-width: 767px) {
    .modal-full {
        min-width: 100%;
        margin: 0;
    }

    .modal-header {
        border-bottom: 1px solid #fff;
    }

    .modal-footer {
        border-top: 1px solid #fff;
    }

    .modal-full .modal-content {
        min-height: 100vh;
    }
}



/* Innmelding -  Success page, Error & AvtaleGiro page*/

.box-view {
    height: 100vh;
}

.centered-box {
    min-width: 350px;
}

    .centered-box header {
        background-color: #fff;
        min-height: 120px;
        color: #FFF;
    }

        .centered-box header .overlay {
            -webkit-clip-path: polygon(0 0, 100% 0, 100% 88%, 0% 100%);
            clip-path: polygon(0 0, 100% 0, 100% 88%, 0% 100%);
        }



.map-link:hover {
    text-decoration: none;
}

.card::after {
    content: "";
    border-radius: 5px;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}



.card:hover::after {
    opacity: 1;
}

.card:hover .card-footer {
    background-color: #e0e0e0 !important;
}

@media screen and (min-width: 576px) {
    .centered-box {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
        border-radius: 0.25rem !important;
    }

    .avtale-giro .centered-box {
        min-width: 450px;
    }
}

@media screen and (max-width: 576px) {
    .box-view {
        height: auto;
    }
}

/*Wizardprogress*/
.wizard-progress {
    display: table;
    width: 100%;
    table-layout: fixed;
    position: relative;
    height: 100px;
    margin-bottom: 0px !important;
    padding: 20px 0px;
}

    .wizard-progress .step {
        display: table-cell;
        text-align: center;
        vertical-align: top;
        overflow: visible;
        position: relative;
        font-size: 16px;
        color: #fff;
        font-weight: bold;
    }

        .wizard-progress .step:not(:last-child):before {
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            top: 45px;
            background-color: #fff;
            height: 6px;
            width: 100%;
        }

        .wizard-progress .step .node {
            display: inline-block;
            border: 6px solid #fff;
            background-color: #fff;
            border-radius: 38px;
            height: 50px;
            width: 50px;
            position: absolute;
            top: 25px;
            left: 50%;
            margin-left: -38px;
            text-align: center;
            vertical-align: middle;
            line-height: 38px;
        }

        .wizard-progress .step.complete:before {
            background-color: #c9f3d3;
        }

        .wizard-progress .step.complete .node {
            border-color: #c9f3d3;
            background-color: #c9f3d3;
        }

        /*.wizard-progress .step.complete .node:before {
                font-family: FontAwesome;
                content: "\f00c";
            }*/

        .wizard-progress .step.in-progress:before {
            background: #c9f3d3;
            background: -moz-linear-gradient(left, #c9f3d3 0%, #fff 100%);
            background: -webkit-linear-gradient(left, #c9f3d3 0%, #fff 100%);
            background: linear-gradient(to right, #c9f3d3 0%, #fff 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9f3d3', endColorstr='#fff',GradientType=1 );
        }

        .wizard-progress .step.in-progress .node {
            border-color: #c9f3d3;
        }


.nav-button-container {
   
}

.nav-button {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    background-color: #fff;
    color: #777;
    cursor: pointer;
}

    .nav-button:hover {
        background-color: #ccc;
        cursor: pointer;
    }

    .nav-button h1 {
        font-size: 1.4em;
    }

    .nav-button p {
        font-size: 0.9em;
    }

    .nav-button i {
        font-size: 3em;
    }
