﻿:root {
    --main-color: #588157;
}

html {
    font-size: 14px;
}

@media (max-width: 767.98px) {
    html {
        font-size: 16px;
    }

    #mainMenu, footer {
        display: none;
    }

}

@media (max-width: 991.98px) {
    #loginCard {
        width: 100vw;
    }
}

@media (min-width: 1200px) {
    #loginCard {
        width: 50vw;
    }
}


    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

    html {
        position: relative;
        min-height: 100%;
    }

    body {
        background-color: #f7faf7;
        font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
        font-size: 14px
    }

    #footer {
        position: sticky;
        bottom: 0;
    }

    .bg-body {
        background-color: transparent !important;
    }

    .bg-green, .btn-green, .green, .page-link {
        background-color: var(--main-color) !important;
        color: #fff;
    }

        .btn-green:hover {
            color: #fff;
            background-color: #456644;
        }

    .table-striped > tbody > tr:nth-of-type(2n+1) {
        --bs-table-accent-bg: rgba(88, 129, 87, 0.1);
        color: var(--bs-table-striped-color);
    }

    .page-link:hover {
        z-index: 2;
        color: #fff;
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

    .page-link {
        z-index: 2;
        /*    color: var(--main-color);*/
        color: #fff;
        border-color: #dee2e6;
    }

    .page-item.active .page-link {
        z-index: 3;
        color: #fff;
        background-color: var(--main-color);
        border-color: var(--main-color);
    }

    .form-check-input:checked {
        background-color: var(--main-color);
        border-color: var(--main-color);
    }

    a {
        color: var(--main-color);
        text-decoration: underline;
    }


    .delete-card {
        width: 70vw;
    }


    .red-text {
        color: #db2828 !important;
    }

    main {
        min-height: 95vh;
    }

    .ml-5 {
        margin-left: 5rem;
    }

    .mr-5 {
        margin-right: 5rem;
    }

    .m-5 {
        margin: 5rem;
    }


    /**** BOOTSTRAP ****/

    @media only screen and (min-width: 768px) {
        #loginForm > .col-md-8 {
            border-left: 1px #dee2e6 solid;
        }
    }



    .invalid-feedback {
        display: block !important;
    }


    #loader-overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        visibility: hidden;
        z-index: 1050;
    }

    .show-loader {
        visibility: visible !important;
    }

    .loading {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        text-align: center;
        visibility: hidden;
    }

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple {
    border: solid #dee2e6 1px !important;
}

    /* page layout */
    /*#bodyContent .full.height > .toc {
    position: fixed;
    z-index: 1;
    background-color: #1b1c1d;
    width: 250px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

    #bodyContent .full.height > .toc .ui.menu {
        border-radius: 0;
        border-width: 0 1px 0 0;
        box-shadow: none;
        margin: 0;
        width: inherit;
        overflow: hidden;
        will-change: transform;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

#bodyContent .article {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0px;
    margin-left: 260px;
}

#bodyContent .full.height > .toc .ui.menu::-webkit-scrollbar {
    -webkit-appearance: none;
}

#bodyContent .full.height > .toc .ui.menu::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0);
}

#bodyContent .full.height > .toc .ui.menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0);
}

#bodyContent .full.height > .toc .ui.menu:hover::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
}

#bodyContent .full.height > .toc .ui.menu:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
}

#bodyContent > .pusher > .footer,
#bodyContent .article > .footer {
    border-top: 1px solid #DDDDDD;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.08) inset;
    background-color: #FAFAFA;
    padding-top: 2em;
}

.pushable {
    height: 100%;
    overflow-x: hidden;
    padding: 0 !important;
}

@media only screen and (min-width: 1145px) {
    #topMenu {
        display: none;
    }
}

@media only screen and (max-width: 1144px) {
    #bodyContent .full.height > .toc {
        display: none;
    }

    #bodyContent .article {
        margin-left: auto;
    }

    .article > .vertical.segment > .secondary.menu,
    .article > .vertical.segment > .ui.divider
    {
        display: none;
    }

}*/


@media print {
    @page {
        margin-top: 5px;
        margin-bottom: 0;
    }
}