﻿/*bootstrap overwrites*/
.table {
    width: 100%;
    color: white;
}

.table2 {
    width: 100%;
    color: white;
    border-radius: 10px;
    border-style: inset;
}
.tableSub {
    width: 95%;
    color: yellow;
    border-radius: 10px;
    border-style: inset;
}

.tableSub > tbody > tr:nth-of-type(odd) {
        background-color: #00b0ff66;
    }
.tableSub > tbody > tr:nth-of-type(even) {
        background-color: #2797E2;
    }

.table-striped > tbody > tr:nth-of-type(odd) {
    color: white;
}

.btn-primary {
    color: #fff;
    /*background-color: #0d6efd;*/
    background-image: linear-gradient(to top, #106AC5,25%, #2797E2);
    border-color: #00000000;
    box-shadow: 0px 0px 0px #00000000;
    transition-property: box-shadow;
    border: 1px solid #03184168;
}

.btn-success {
    color: #fff;
    /*background-color: #0d6efd;*/
    background-image: linear-gradient(to top, #106AC5,25%, #2797E2);
    border-color: #00000000;
    box-shadow: 0px 0px 0px #00000000;
    transition-property: box-shadow;
    border: 1px solid #03184168;
}

.btn-primary:hover {
    box-shadow: 0px 0px 6px #00b0ff66
}
/*custom css*/


@font-face {
    font-family: 'Frutiger LT Com';
    src: url('fonts/FrutigerLTCom-UltraBlack_0.eot');
    src: local('fonts/FrutigerLTCom-UltraBlack_0.eot?#iefix') format('embedded-opentype'), url('fonts/FrutigerLTCom-UltraBlack_0.woff') format('woff'), url('fonts/FrutigerLTCom-UltraBlack_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Frutiger LT Com 57 Condensed';
    src: url('fonts/FrutigerLTCom-Condensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #1B438E;
    color: white !important;
}

h1 {
    font-size: 1rem;
    color: white;
}

h2 {
    color: white;
}

p label tr td th thead tbody {
    color: white !important;
}

@media (min-width: 641px) {
    .sidebar {
        background-image: url(/img/sidebar_background.jpg) !important;
        background-size: cover;
        width: 250px;
        height: auto;
        overflow: auto;         /* NavMenu Scroll bar open if there are to manu many rows */
        white-space: nowrap;    /*                     - : -                              */
    }
}

.top-row {
    width: 100%;
    background-color: #00205b !important;
    border-bottom: none !important;
}

img.h-logo {
    width: 33%;
    margin-left: 20px;
    margin-top: 20px;
}

@media (max-width: 641px) {
    img.right {
        height: 70%;
    }
}

@media (min-width: 641px) {
    .top-row {
        width: auto;
    }

    

    .nav-item a {
        font-size: 1.125rem;
        font-family: 'Frutiger LT Com 57 Condensed';
        opacity: 0.75;
    }

    .nav-item a.active {
        background-color: rgba(255,255,255,0.0);
        color: white;
        opacity: 1;
    }

    .nav-item a:hover {
        background-color: rgba(255,255,255,0.0);
        color: white;
        opacity: 1;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 1rem;
        color: #0d6efd;
        text-decoration: none;
        transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
    }

        .nav-link a.active {
            text-decoration: underline;
            border-bottom-width: 2px;
        }


    .c-icon {
        position: relative;
        display: inline-block;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .icon-database-information {
        background-image: url(/img/icon_database-information.png) !important;
        background-repeat: no-repeat;
        width: 30px !important;
        height: 100% !important;
        opacity: 0.5;
        margin-right: 10px;
        margin-left: 35px;
        text-align: center !important;
    }


    .icon-graph {
        background-image: url(/img/icon_graph.png) !important;
        background-repeat: no-repeat;
        width: 25px !important;
        height: 90% !important;
        margin-right: 10px;
        margin-left: 35px;
        text-align: center;
    }

    .icon-logout {
        background-image: url(/img/icon_logout.png) !important;
        background-repeat: no-repeat;
        width: 29px !important;
        height: 90% !important;
        margin-right: 7px;
        margin-left: 38px;
        text-align: center;
    }

    .icon-counter {
        background-image: url(/img/icon_counter.png) !important;
        background-repeat: no-repeat;
        width: 23px !important;
        height: 90% !important;
        margin-right: 10px;
        margin-left: 35px;
        text-align: center;
    }

    .icon-extra {
        background-image: url(/img/icon_extra.png) !important;
        background-repeat: no-repeat;
        width: 27px !important;
        height: 90% !important;
        margin-right: 10px;
        margin-left: 35px;
        text-align: center;
    }

    .icon-user-find {
        background-image: url(/img/find_users_applications_search.png) !important;
        background-repeat: no-repeat;
        width: 32px !important;
        height: 90% !important;
        margin-right: 10px;
        margin-left: 35px;
        text-align: center;
    }
    .icon-user {
        background-image: url(/img/icon_users.png) !important;
        background-repeat: no-repeat;
        width: 26px !important;
        height: 90% !important;
        margin-right: 10px;
        margin-left: 35px;
        text-align: center;
    }

    .top-banner {
        padding: 10px;
        background-color: #AA1E2E !important;
        height: 55px;
        overflow: hidden;
        width: 100%;
    }

    @media (max-width: 641px) {
        .top-banner {
            display: none;
            height: 0px;
        }
    }


    img.right {
        padding-right: 10px;
        right: 0px;
        width: 150px;
        height: auto;
        position: absolute;
        overflow: auto;
    }

    .left {
        left: 0px;
        padding-left: 55px;
        width: 300px;
        height: auto;
        position: absolute;
        overflow: auto;
    }

    span.left {
        left: 50px;
        padding-left: 65px;
        width: 300px;
        height: auto;
        position: absolute;
        overflow: auto;
    }


    .h-logo {
        margin-top: 20px;
        width: 200px !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 10%;
    }

    p.text-banner {
        font-family: 'Frutiger LT Com' !important;
        font-size: 1.25rem !important;
        font-weight: 900 !important;
        color: white !important;
        margin-top: 5px;
    }

    .sort-link {
        cursor: pointer;
        color: white;
        text-decoration: underline;
    }

    .input-file {
        display: none;
    }

    .custom-file-upload {
        display: inline-block;
        padding: 6px 12px;
        cursor: pointer;
        border: 1px solid #ccc;
        border-radius: 4px;
        /*background-color: #f8f9fa;*/
        background-color: #5A9DF5 !important;
        color: #333;
    }

    .custom-file-upload i {
            margin-right: 5px;
        }

    /*10.02.2025: All follow settings copied directly from ForestBuider*/


    /*input::placeholder {
        color: lightgray !important;
    }*/

    /*Choose file*/
    /*.custom-file-input::-webkit-file-upload-button,
    .custom-file-input-stand::-webkit-file-upload-button {
        visibility: hidden;
    }*/

    /* New Input File with Translate */
    /*.label {
        width: 125px !important;
        height: 25.594px;
        color: #FFFFFF !important;
        display: inline-block;
        font-family: 'Roboto medium';
        font-size: 1rem;
        background-color: #5A9DF5 !important;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 8px;
        padding-right: 8px;
        border-radius: 2px;
        border-style: none;
        display: block;
        cursor: pointer;
        text-align: center;
    }

    .custom-file-input-stand::before {
        content: 'Import Stands';
        display: inline-block;
        font-family: 'Roboto medium';
        font-size: 1rem;
        background-color: #5A9DF5 !important;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 8px;
        padding-right: 8px;
        border-radius: 2px;
        border-style: none;
        color: #FFFFFF !important;
        width: 125px !important;
        height: 25.594px;
    }

    .custom-file-input::before {
        content: 'Select cartridge and bullet data file';
        display: inline-block;
        font-family: 'Roboto medium';
        font-size: 1rem;
        background-color: #5A9DF5 !important;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 8px;
        padding-right: 8px;
        border-radius: 2px;
        border-style: none;
        color: #FFFFFF !important;
        width: 300px !important;
        height: 25.594px;
    }

    .custom-file-input:hover::before,
    .custom-file-input-stand:hover::before {
        filter: brightness(0.9) !important;
        transition: 0.3s;
    }

    .custom-file-input:active::before,
    .custom-file-input-stand:active::before {
        filter: brightness(0.8) !important;
        transition: 0.1s;
    }*/

    /* Common Looping Progress bar for ForestBuilder, Lapua Ballistics, Lapua Hunt, ... */
    .loader {
        display: block !important;
        position: relative !important;
        height: 32px !important;
        width: 100% !important;
        border: 1px solid #fff !important;
        border-radius: 4px !important;
        border-color: #5a9df5 !important;
        overflow: hidden !important;
    }

        .loader::after {
            content: '' !important;
            width: 100% !important;
            height: 100% !important;
            background-image: linear-gradient(to right, #f2f2f2, #5A9DF5) !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            box-sizing: border-box !important;
            animation: animloader 4.5s linear infinite !important;
        }
}
