@import url("https://fonts.googleapis.com/css?family=Montserrat:400,300,700");

body {
    font-family: 'Merriweather', sans-serif !important;
}

/* Dark mode */

tr.even {
    background-color: --bs-body-color;
}

/* End of Dark mode */

/* Need to custome size on pictures and color customes) */
.input-group-admin {
    padding-bottom: 20px;
}

.btn-sm-admin-action-multiple {
    margin-left: 20px;
}

#delete-log-btn {
    margin: 1%;
}

.card-footer.cader-custom {
    background: #1F4766;
    color: #002B4D;
}




/* navbar settings */
.bg-primary {
    background-color: #002B4D !important;
}

#logged_out {
    padding: 0 0.5em 0.6em;
}


#nav-heading {
    padding-left: 0.5em;
}

.container {
    width: fit-content;
    max-width: 100%;
    padding-right: 5em;
    padding-left: 5em;
}
.container-choosegroup {
    width: fit-content;
    max-width: 100%;
    padding-right: 5em;
    padding-left: 5em;
}

/*
.container-background {
    background-color: rgba(255, 255, 255, 0.7);

}*/

.container-space {
    margin-top : 1%;
    margin-bottom: 1%; 
}

.language-select {
    /*border: 1px solid #ccc;*/
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.navbar-right {
    padding-right: 20px;
    /*color: #FFFFFF;*/
    margin-bottom: 0;
}

.listing-header {
    padding: 3vh 2vh 3vh 2vh;
    /*top right bot left */
    width: 100%;
    text-align: center;
    font-size: 5.5vh;
    line-height: normal;
    display: block;
}

.listing-header-groupName {
    display: block;
}

.listingLogo {
    max-height: 25vh;
}

.listing-body {
    padding: 2vh 2vh 0vh 2vh;
}

.navbar {
    margin-bottom: 20px;
}

.btn-admin {
    float: right;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    /*color: #fff;*/
    background-color: #1F4766;
}
/* 

.table .thead-dark th {
    background-color: #1F4766;
    border-color: #1F4766;
}

/* Customheader */
.customHeader1 {
    background-color: #1F4766;
    border-color: #1F4766;
    /*color: white !important;*/
}

/* Primary button */
.btn-primary {
    min-width: 200px;
    max-height: 50px;
    table-layout: auto;
    border-collapse: collapse;
    background-color: #1F4766;
    border-color: #1F4766;
    color: white !important;
}
.btn-choosegroup {
    min-width: 200px;
    max-height: 50px;
    table-layout: auto;
    border-collapse: collapse;
    background-color: #1F4766;
    border-color: #1F4766;
    color: white !important;
}


.btn-primary-red {
    min-width: 200px;
    max-height: 50 px;
    table-layout: fixed;
    border-collapse: collapse;
    background-color: #a54652;
    border-color: #a54652;
    color: #fff !important;
}

.btn-primary-red:active:focus {
    color: #ffffff;
    background-color: #161617;
    border-color: #494F57;

}


.hide-show-listings {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.cardLogo {
    max-width: 60%;
    max-height: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}

.card-header {
    background-color: #002B4D;
    /*color: #ffffff;*/
    text-align: center;
    padding: 0.75rem;
}

.card-footer {
    /*color: #ffffff;*/
    background-color: #1F4766;
    text-align: center;
    padding: 0.75rem;
}

.btn-home {
    table-layout: bottom;
    position: absolute;
    display: bottom;
    justify-content: center;
    align-items: center;
    bottom: 0;

}

.tab {
    padding-top: 1vh;
}

#stock-form {
    padding: 5vh 0 0 2vh;
}

.btn-blue {
    background-color: #002B4D;
    padding: 0.1rem 0.3rem;
    color: white;
    border-color: #002B4D;
    border-radius: 0.2rem;
}

.btn-blue:hover {
    background-color: #024375;
    border-color: #024375;
    color: lightgrey;

}

#userLogTable {
    max-width: 100%;
}

#bekreftelsesMelding {
    margin: auto;
}

.bolded{
    font-weight: bolder;
}


.logobox {
    height: 210px;
}

.card {
    margin: auto;
    margin-bottom: 15px;
    width: 100%;
}

img.card-discontinued {
    opacity: 0.5;
}

.card-discontinued {
    opacity: 0.5;
}

.NoHover:hover {
    text-decoration: none;
}

.Red {
    color: #ff0000;
    font-weight: bold;
}

/*Iframe responsive*/
.iframe-container {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
}

.iframe-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}


/*MediaQuery*/

@media only screen and (max-width: 770px) {
    .listing-header {
        font-size: 2em;
    }

    .card-footer {
        font-size: 12px;
    }

    .card-header {
        font-size: 12px;
    }
    .btn-primary {
        min-width: 32% ;
    } 
    .container {
        width: 100%;
        align-content: center;
        padding: 4px;
    }
    .col-3-sm {
        width: 100% !important;
    } 
    
}

@media (max-width: 575.98px) {
    .col-sm-6 {
        max-width: 50%;
    }
    .col-4 {
        min-width: 100%;
        align-content: center;
    }

    .btn-application {
        font-size: 0.75rem;
    }

    .listing-header-groupName {
        display: block;
    }

    .container {
        width: 100%;
        align-content: center;
        padding: 4px;
        margin: 4;
    }
    .btn-primary {
        min-width: 32% ;
    }
    .listing-body {
        padding: 0;
    }
    .col-sm {
        text-align: center;
    }
    #collapse_signout {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    #navbarSupportedContent {
        padding-left: 0.5em;
    }

    #nav-heading {
        padding-left: 0.5rem;
    }

    #NHHS_logo {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    #order_headers {
        padding-left: 0.5rem;
        padding-top: 1rem;
    }

    #showgroup {
        padding-right: 2.7%;
    }

    #hidegroup {
        padding-right: 2.7%;
    }

    #fellesbrukerOut {
        padding-right: 2.7%;
    }

   
}
@media (max-width: 470px) {
    .btn-primary {
        min-width: 47% ;
    } 
    .centerVarer {
        text-align: center;
    }
    .listing-body {
        padding: 0;
        width: 100%;
    }
    .table.table td {
        padding: 2px;
        font-size: 0.9rem;
    }
    .col-9 {
        width: 100%;
    }
    .col-3-sm {
        text-align: center;
    }
   
}

@media (max-width: 400px) {
    .h2 {
        font-size: 10px;
    }

    .container {
        width: 100%;
        align-content: center;
        padding: 4px;
    }
    .btn-primary {
        min-width: 47% ;
        font-size: 14px;
    }
   
}


@media (max-width: 370px) {
    .col-sm-6 {
        max-width: 100%;
    }

    .container {
        padding: 0;
        margin: auto;
    }
    .btn-primary {
        min-width: 47% ;
        font-size: 13px;
    }
}




.listing-table {
    padding-left: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.btn-application {
    float: right;
    margin-top: 14px;
    font-size: 1.2rem;
}

.apply {
    margin-top: 25px;
}

.editListing-body {
    padding: 2vh 2vh 2vh 2vh;
}

.new-listing-form input:invalid,
select:invalid,
textarea:invalid {
    border-left: 3px solid salmon;
}

.new-listing-form input:required:valid,
select:required:valid,
textarea:required:valid {
    border-left: 3px solid limegreen;
}

.nav-link-secondary {
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    margin-top: 0.7rem;
}

.administrator-body {
    padding: 2vh 2vh 2vh 2vh;
}

.btn-admin-activate {
    background-color: limegreen;
    border-color: limegreen;
}

.btn-admin-deactivate {
    background-color: salmon;
    border-color: salmon;
}

.btn-admin-delete {
    background-color: rgb(0, 30, 255);
    border-color: rgb(0, 30, 255);
}


.content {
    width: 200px;
    height: 175px;
}



#myInput[type=text] {
    width: 130px;
    box-sizing: border-box;
    border-top: 2px solid rgba(0, 0, 0, 0);
    border-left: 2px solid rgba(0, 0, 0, 0);
    border-right: 2px solid rgba(0, 0, 0, 0);
    border-bottom: 3px solid #1F4766;
    font-size: 16px;
    font-weight: bold;
    color: #999;
    background-color: rgba(0, 0, 0, 0);
    background-position: 10px 12px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
    text-align: left;
    transition: width 0.4s ease-in-out;
    font-family: 'gothic' !important;
}


/**
Dropdown menu
**/
#myInput[type=text]:focus {
    width: 100%;
    outline: none;
    border-bottom: 3px solid #1F4766;
}

.hover-bold:hover {
    font-weight: bold;
}

.dropdown2 {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 240px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.dropdown-content a:hover {
    background-color: #e8f0fe;
}

.show {
    display: block;
}

ul {
    padding: 0;
    list-style-type: none;
}




.logo_group {
    width: 200px;
    height: 175px;
    position: relative;
}

.core_logo {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    width: 60%;
}

.alter-sucsess {
    background-color: greenyellow !important;
}

/* .alter-danger {
    background-color: red !important;
} */
.alter-danger-text {
    color: red !important;
}
.alter-sucsess-text {
    color: rgb(25, 196, 20) !important;
}

/* CSS for å dytte footer ned, utne at den er sticky */

* {
    margin: 0;
    padding: 0;
}

/* must declare 0 margins on everything, also for main layout components use padding, not 
vertical margins (top and bottom) to add spacing, else those margins get added to total height 
and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */

html,
body {
    height: 100%;
}

#wrap {
    min-height: 100%;
}

#main {
    overflow: auto;
    padding-bottom: 72px;
}

/* must be same height as the footer */

#footer {
    position: relative;
    margin-top: -72px;
    /* negative value of footer height */
    height: 72px;
    clear: both;
}


#logged_in {

    /*
    Google-signout button
    */
    margin: auto;
    padding-bottom: 0.5rem;
    background-color: #fff;
    color: black !important;
    font-size: 80%;
    display: none;
}
.badge {
  position: relative;
  margin-left: 1px;
  padding: 4px 8px;
  font-size: 14px;
  background: red;
  color: white;
}
.center {
    text-align: center;
}
.center-password {
   position: absolute;
   top: 50%;
   left: 50%;
  
}
.sorting_1 {
    padding: 4px !important;
    color: #161617;
    border-left: 1px;
    border-right: 1px;
    align-content: center;
}
.odd {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.tab-content {
    width:fit-content;
}

.stock_price {
    width: 100px;
}

.dropdownPhone {
    width: 95%;
    background-color: white !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    font-size: 18px !important;
}
.dropdownPhone::after {
    content: none;
}

.stock_stockNr {
    width: 100px;
}
.col-3-sm {
    width: auto
}
.invisible-button {
    background: transparent;
    border: none !important;
}

.btn-logout {
    color: #f9f9f9;
    background-color:#002B4D

}

.btn-logout:hover {
    background-color: white;
    color: #161617;
}

.page-header {
    border-radius: 0.375rem;
    padding: 1.25rem;
}

.kpi-card {
    border-radius: 0.375rem;
}

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, .12);
}


.table-wrap {
    border-radius: 1.25rem;
    overflow: hidden;
}

.muted-sm {
    font-size: .9rem;
    color: var(--bs-secondary-color);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: rgba(108, 117, 125, .12);
    color: var(--bs-body-color);
    font-size: .85rem;
}