﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
@font-face {
    font-family: 'AkkoPro-BlackItalic';
    src: url('../fonts/akkopro.otf');
    font-weight: normal;
    font-style: normal;
}

.ipanel-container-fluid {
    padding-right: var(--bs-gutter-x,0px);
    padding-left: var(--bs-gutter-x,0px);
}


.nav-tabs > li > a {
    border-radius: 6px 6px 0 0;
}


.nav-tabs > .nav-item > .nav-link {
    background-color: white;
    color: #112b66;
    border: 1px solid #c8c8c8;
}

    .nav-tabs > .nav-item > .nav-link.active {
        background-color: #112b66;
        color: #fff;
    }

    .nav-tabs > .nav-item > .nav-link:hover {
        background-color: #405990;
        color: #fff;
    }

/*.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    background: #1e3874;
    color: #fff;
    border: none;
    transition: background 0.20s linear;
}
*/
.nav-tabs {
    font-family: sans-serif;
    font-size: 14px;
}

.btn-laga-minimal {
    padding: 6px;
    font-family: sans-serif;
    font-size: 14px;
    background-color: #1e3874;
    color: white;
}

.navbar {
    background-color: #052b6c;
    color: #052b6c;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
    border-color: rgb(255,255,255);
}
/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}
/*@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}*/

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    padding-top: 70px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

table > tbody > tr {
    cursor: pointer !important;
}

.laga-color {
    color: #112b66;
}

.hidden {
    display: none !important;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef !important;
    opacity: 1;
}

th.sort:hover {
    cursor: pointer;
}

#loadingOverlay {
    top: 0px;
    left: 0px;
    background: rgba(255,255,255,0.5);
}

    #loadingOverlay img {
        width: 30%;
        max-width: 100px;
    }

/* Bootstrap skiter i detta i tabeller, här lägger vi till det igen ifall vi vill envisas med tabeller någonstans */
th.text-right,
td.text-right {
    text-align: right !important;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    pointer-events: all;
    opacity: unset;
    background-color: #c8c8c8;
}

    .btn.disabled:hover, .btn:disabled:hover {
        cursor: not-allowed;
    }

.right {
    text-align: right;
}

.collapse-row {
    background-color: #1E3874;
    color: white;
    padding: 3px;
}

.underlined-link {
    text-decoration: underline;
    color: #1861ac;
    cursor: pointer;
}

/*------------------------------- LOADING INFO OVERLAY ----------------------------------*/
.loading-info-overlay {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}

.loading-info-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}
/*------------------------------- LOADING INFO OVERLAY ----------------------------------*/

/*.with-arrow {
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%), radial-gradient(#234187 70%, transparent 72%) !important;
    background-position: calc(100% - 21px) calc(1em + 6px), calc(100% - 16px) calc(1em + 6px), calc(100% - 0.5em) 0.5em !important;
    background-size: 5px 5px, 5px 5px, 2em 2em !important;
    background-repeat: no-repeat !important;
    min-height: 44px !important;
}*/

.with-arrow {
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%), radial-gradient(#234187 70%, transparent 72%) !important;
    background-position: calc(100% - 13px) calc(15px), calc(100% - 8px) calc(15px), calc(100% - 3px) 6px !important;
    background-size: 4px 4px, 5px 5px, 20px 20px !important;
    background-repeat: no-repeat !important;
    min-height: 35px !important;
}

.btn {
    width: fit-content !important;
}

.toast-reservation-message {
    font-size: 20px;
}

.part-reservation-clipboard-text {
    font-size: 12px;
    line-height: 14px !important;
    display: block;
}

.part-reservation-id-field-green {
    font-size: 16px;
    color: green;
    background-color: chartreuse;
}

.toastr-error-text {
    color: white;
    background-color: #BD362F;
    font-weight: bold;
    font-size: 16px;
    display: block;
}

tr.alert-danger td {
    background-color: #f8d7da !important;
}

.badge {
    background-color: white;
    border: 1px solid black;
    border-radius: 0;
    color: black;
    font-size: 15px;
    padding: 0 4px 0 4px;
}

.btn:hover {
    color: #6cb2f8;
}

.btn:active {
    color: red;
}

.part-is-sold td {
    color: red !important;
    background-color: #ffe5e5 !important;
}

.bg-green {
    background-color: #a8dda9 !important;
}

.message-sender-initials {
    background-color: #112b66;
    color: white;
    border-radius: 20px;
    height: 36px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-sender-initials-text {
    font-size: 18px;
}

.message-sender-time {
    font-size: 10px;
    color: #9b9999;
}

.message-sender-text {
    font-size: 12px;
    background-color: #112b66;
    color: white;
    padding: 3px 5px 3px 3px;
    border-radius: 5px;
    display: inline-block;
}

.message-receiver-text-color {
    background-color: #196e18;
}

.message-receiver-text {
    min-width: 80px;
    text-align: left;
}

.message-to {
    float: right;
    clear: both;
    max-width: 80%;
}

.message-from {
    clear: both;
    max-width: 80%;
}

.lightboxOverlay {
    width: 100% !important;
}

.link-span {
    color: dodgerblue;
}

    .link-span:hover {
        cursor: pointer;
    }

.gallery img {
    width: 20%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}


.remove-from-list {
    font-size: 12px;
    color: white;
    background-color: red;
    cursor: pointer;
    width: 17px;
    height: 17px;
    border-radius: 15px !important;
    padding: 3px 0px 0px 5px;
    font-size: 12px;
}

    .remove-from-list.disabled {
        color: #a4a4a4;
        background-color: #c8c8c8;
        cursor: unset;
    }

.user-not-logged-in {
    color: #c8c8c8;
}

.user-logged-in {
    color: green;
}

.user-name-not-logged-in {
    color: #c8c8c8;
    background-color: unset;
}

.user-name-logged-in {
    color: green;
    background-color: #d6ffd3;
}

.general-loader {
    margin: 0 auto;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    margin-left: 5px;
}

.show-company-info {
    cursor: pointer;
    text-decoration: underline;
    color: #0366d6;
}

.alert-secondary {
    color: #919191;
    background-color: #e2e3e5;
    border-color: #d3d6d8;
}

.message-red {
    color: red;
}

.message-green {
    color: green;
}

.field-validation-error {
    color: #e80c4d !important;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d !important;
}

.validation-summary-errors {
    color: #e80c4d !important;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

.form-control.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.fa-remove:not(.remove-lagapro-order-inquiry):not(.remove-from-list) {
    background-color: red !important;
    border-radius: 9px !important;
    width: 17px !important;
    height: 17px !important;
    padding: 3px 0 0px 0px !important;
    color: white !important;
}

.tab-close-button {
    font-size: 20px;
    background-color: white;
    padding-left: 3px;
    padding-right: 3px;
    float: right;
    margin-left:5px;
}

/*.modal:nth-of-type(odd) {
    z-index: 1053 !important;
}
.modal:nth-of-type(even) {
    z-index: 1055 !important;
}

.modal-backdrop:nth-of-type(odd) {
    z-index: 1050 !important;
}

.modal-backdrop:nth-of-type(even) {
    z-index: 1054 !important;
}*/
