﻿/* Bootstrap - overstyrte klasser */

body {
    color: #555;
}

.bg-light {
    background-color: #fff !important;
}

.btn {
    font-size: 14px;
}

.mcontent .btn-primary {
    background-color: #cf0000;
    border-color: #cf0000;
    border-radius: 1.5625rem;
    transition: all 0.4s ease;
    color: #fff;
    font-weight: bold;
    min-width: 90px;
}

    .mcontent .btn-primary:hover {
        background-color: #fff;
        border-color: #cf0000;
        color: #cf0000;
    }

.btn-primary:focus {
    box-shadow: 0 0 0 .3rem rgb(4 161 253);
}

.mcontent .btn-green {
    background-color: #fff;
    border-color: green;
    border-radius: 1.5625rem;
    transition: all 0.4s ease;
    color: green;
    margin-top: 3px;
    min-width: 90px;
}

    .mcontent .btn-green:hover {
        background-color: green;
        border-color: green;
        color: #fff;
    }

.mcontent .btn-default {
    background-color: #1a1836;
    border-color: #1a1836;
    border-radius: 1.5625rem;
    transition: all 0.4s ease;
    color: #fff;
    font-weight: bold;
    margin-top: 3px;
    min-width: 90px;
}

    .mcontent .btn-default:hover {
        background-color: #fff;
        color: #1a1836;
    }

.btn-default:focus {
    box-shadow: 0 0 0 .3rem rgb(4 161 253);
}

@media screen and (max-width: 1024px) {
    .container-fluid {
        padding-left: 6px;
        padding-right: 6px;
    }
}

table td .btn {
    height: 28px;
    min-height: 28px;
    padding-top: 3px;
}

.mcontent .btn-special {
    background-color: #fff;
    border-color: #666;
    color: #333;
    border-radius: 0px;
    margin-bottom: 12px;
    width: 210px;
    min-height: 50px;
    padding: 14px 24px;
}

    .mcontent .btn-special:hover {
        background-color: #e4f2fb;
        color: #333;
        border-radius: 4px;
    }

.btn-vipps {
    background-image: url('../Images/vipps-logg-inn.svg');
    background-size: 150px 20px;
    background-repeat: no-repeat;
    background-position-y: 16px;
    background-position-x: 32px;
    position: relative;
}

    .btn-vipps:active {
        background-image: url('../Images/vipps-logg-inn.svg');
    }

.btn-microsoft {
    background-image: url('../Images/microsoft-logg-inn.png');
    background-repeat: no-repeat;
    background-position-y: 5px;
    background-position-x: 42px;
    position: relative;
}

    .btn-microsoft:active {
        background-image: url('../Images/microsoft-logg-inn.png');
    }

.btn-google {
    background-image: url('../Images/google-logg-inn.png');
    background-repeat: no-repeat;
    background-position-y: 5px;
    background-position-x: 50px;
    position: relative;
}

    .btn-google:active {
        background-image: url('../Images/google-logg-inn.png');
    }

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.dropdown-menu-right {
    right: 0px;
}

.mcontent .disabled_row .form-group {
    margin-bottom: -8px;
}

.mcontent .minfobox .form-group {
    margin-bottom: 3px;
}

.mcontent .input-group-text {
}

.nav {
    font-size: 1.3rem;
}

#navMenu .nav-item {
    text-align: center;
    overflow: hidden;
}

.nav-item {
    overflow: hidden;
}

    .nav-item a {
        text-decoration: none;
    }

.navbar-light .navbar-toggler {
    background-color: #e9e9e9;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #000;
    background-color: transparent;
    border-bottom: solid 2px #000;
}

.nav-pills .nav-link {
    border-radius: 0px;
}

.nav-link {
    border: none;
    margin: 3px;
    color: #000;
    font-weight: bold;
    height: 36px;
    padding-top: 4px;
    opacity: 0.7;
}

.nav-pills .nav-link:hover {
    color: #000;
    border-bottom: solid 2px #000;
}

.card-header {
    padding: 0.75rem 0rem;
}

.card-body {
    padding: 1.25rem 0;
}

.mcontent .card {
    border-color: #fff;
    background-color: #fff;
    color: #000;
    border-color: transparent;
    border-radius: 0px;
    margin-bottom: 10px;
}

.mcontent .card-header {
    background-color: #fff;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    border-color: #000;
    border-bottom: solid 3px #000;
    border-radius: 0px;
}

.mcontent .card th {
    color: #000;
}

.mcontent .card a {
    color: #000;
}

    .mcontent .card a:hover {
        color: #000;
        text-decoration: underline;
    }

    .mcontent .card a.btn {
        color: #fff;
    }

        .mcontent .card a.btn:hover {
            color: #1a1836;
            text-decoration: none;
        }

.mcontent .card-header .icon_small {
    font-size: 20px;
    color: #000;
}

.mcontent .card-margins {
    margin-left: 16px;
    margin-right: 16px;
}

.mcontent .breadcrumb {
    background-color: transparent;
    font-size: 0.95rem;
}

    .mcontent .breadcrumb li {
        margin-right: 10px;
        color: #2c2c2c;
    }

        .mcontent .breadcrumb li + li:before {
            content: "/\00a0";
        }

    .mcontent .breadcrumb a {
        color: #2c2c2c;
    }

.modal {
    overflow: scroll;
}

.modal-dialog {
    width: 50%;
    max-width: none;
}

@media screen and (max-width: 1024px) {
    .modal-dialog {
        width: 90%;
    }
}

.modal-header {
    background-color: #053030;
}

    .modal-header h1 {
        color: #fff;
    }

.modal-title {
    color: #fff;
    font-size: 16px;
}

.form-horizontal {
    height: 100%;
}

.search-right {
    float: right;
}

@media screen and (max-width: 576px) {
    .search-right {
        float: left;
    }
}

/*@media screen and (max-width: 768px) {
    .control-label {
        padding-left: 0px;
    }
}*/

.control-label {
    text-align: left;
    padding-top: 7px;
    font-weight: bold;
    padding-left: 0px;
}

.form-control:disabled, .form-control[readonly] {
    padding-left: 0px;
}

select[disabled].form-control {
    padding-left: 0px;
}

.form-control {
    font-size: 1rem;
    color: #333;
    padding-left: 15px;
}

    .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #000000;
        outline: 0;
        box-shadow: 0 0 0 .2rem rgb(0 121 245 / 40%);
    }

    .form-control.checkbox {
        border: none;
    }

span.form-control {
    border: none;
    padding-left: 0px;
}

select.form-control {
    padding-left: 10px;
}

    select.form-control option {
        padding-left: 10px;
        font-weight: bold;
    }

ul.topmenu > li {
    display: inline-block;
    margin-right: 15px;
}

.navbar-nav > li > .mfilter {
    padding: 0px;
    margin-right: 10px;
}

    .navbar-nav > li > .mfilter:hover, .navbar-nav > li > .mfilter:focus {
        background-color: #428bca;
    }

.navbar-sub {
    background-color: #005a84;
    border-color: #e7e7e7;
}

.navbar-default .navbar-nav > li > a {
    color: #000;
}

    .navbar-default .navbar-nav > li > a:hover {
        color: #000;
        text-decoration: underline;
    }

.light_menu .navbar-nav > li > a {
    color: #222;
}

    .light_menu .navbar-nav > li > a:hover {
        color: #222;
        text-decoration: underline;
    }

.navbar-nav .open .dropdown-menu {
    background-color: #fff;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background: rgba(0,0,0,0);
    border: none;
    box-shadow: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

/*@supports (-webkit-tap-highlight-color: black) {
    select[disabled].form-control {
        padding-left: 15px;
    }
}*/

/*.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn-group:not(:last-child) > .btn, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: 0px;
}*/

.checkbox input[type="checkbox"], input[type="radio"] {
    margin-top: 10px;
    margin-left: 18px;
}

.dropdown-menu {
    border: solid 1px #000;
}

.alert-info {
    color: #000000;
    background-color: #edf9ff;
    border-color: #bee5eb;
}

.alert-warning {
    color: #544006;
    background-color: #fbf5be;
    border-color: #efd480;
}

.thumbnail {
    display: block;
    padding: 12px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

    .thumbnail img {
        min-height: 300px;
        max-height: 300px;
    }

.radio label, .checkbox label {
    display: inline;
    font-weight: 400;
    cursor: pointer;
}
