﻿body {
    font-size: .8rem; /*a little over 12px*/
}

.btn {
    font-size: .8rem !important; /*a little over 12px*/
}

.btn-link {
    color: #2f5e8c !important;
}

.btn-primary {
    background-color: #265a88 !important;
    border-color: #265a88 !important;
}

.btn-outline-primary {
    color: #265a88 !important;
    border-color: #265a88 !important;
}

    .btn-outline-primary:hover {
        color: #fff !important;
        background-color: #265a88 !important;
    }

.btn-outline-secondary {
    color: #484f54 !important;
    border-color: #484f54 !important;
}

    .btn-outline-secondary:hover {
        color: #fff !important;
        background-color: #484f54 !important;
        border-color: #484f54 !important;
    }

.btn-outline-danger {
    color: #A91E2C !important;
}

    .btn-outline-danger:hover {
        color: #fff !important;
        background-color: #A91E2C !important;
        border-color: #A91E2C !important;
    }


.btn-group > .btn {
    border: 1px solid gray;
}

.btn-group-toggle > .btn-secondary {
    border: 1px solid green;
}

.btn-outline-success {
    color: #155e26;
}

.btn-success {
    background-color: #186329 !important;
    border-color: #186329 !important;
}

.btn-info {
    background-color: #315d63;
}

.form-control {
    height: 24.19px !important;
    padding: 0.1rem !important;
    font-size: 0.8rem !important;
}

select.form-control {
    height: 24.19px !important;
    width: auto !important;
}

textarea.form-control {
    height: auto !important;
    resize: none;
}

label {
    margin-bottom: 2px !important;
}

.table {
    /*min-width: 1000px;*/
    width:100% !important;
    overflow-x: auto;
}

.table-sm tbody tr td {
    padding: 1px 2px !important;
    line-height: 2 !important;
}

/*.modal-dialog {
    padding-top: 50px !important;
}*/

.navbar {
    padding: 5px !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.table-sm tbody tr td a {
    margin-top: -5px;
    font-size: .7rem !important;
    padding: .19rem .5rem !important;
}

.table-bordered {
    overflow-x: auto;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid black;
}
    .table-bordered .thead-light th {
        color: #495057;
        background-color: #e9ecef;
        border: 1px solid black;
    }

.table-bordered {
    border: 1px solid black;
    overflow-x: auto;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid black;
}

.table-bordered .thead-light th {
    color: #495057;
    background-color: #e9ecef;
}

#accordion .card {
    margin-bottom: 0;
}

.card {
    margin-bottom: 5px;
}

/*.card-header {
    font-weight: bold;
    background-color: #e9ecef;
}*/

.card-header {
    padding: 0.5rem 0.75rem !important;
    font-weight: bold;
    background-color: #e9ecef;
}

    .card-header .btn-sm {
        margin-top: -7px;
        margin-bottom: -5px;
    }

.card-header-tabs {
    margin-right: -0.5rem !important;
    margin-bottom: -0.5rem !important;
    margin-left: -0.5rem !important;
    background-color: #e9ecef;
}


.card-body {
    padding: 0.5rem 0.75rem !important;
}

.carousel-inner {
    margin: 0 auto;
    min-width: 100%;
    height: 400px;
    max-width: none;
    background-color: black;
    background-size: contain;
}

.carousel img {
    object-fit: contain;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 500px;
    max-width: none;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #D2E0E2;
}

.table-secondary-striped > tbody > tr:nth-child(odd) > td,
.table-secondary-striped > tbody > tr:nth-child(odd) > th {
    background-color: #d6d8db;
}

.container {
    padding-right: -5px !important;
    padding-left: -5px !important;
}


.row {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    padding: 2px 5px 2px 5px !important;
}

#accordion .card {
    margin-bottom: 0;
}

.custom-file-input, .custom-file-label, .custom-file {
    max-width: 100% !important;
    height: 24.19px !important;
    padding: 0.1rem 0.25rem !important;
    border-radius: 0.25rem !important;
}

    .custom-file-label::after {
        height: 22.1px !important;
        padding: 0.1rem 0.25rem !important;
    }

/*Controls the container*/
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1060px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1340px;
    }
}

fieldset {
    display: block !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
    padding-top: 0.35em !important;
    padding-bottom: 0.625em !important;
    padding-left: 0.75em !important;
    padding-right: 0.75em !important;
    border: 2px groove !important;
}

legend {
    padding: 2px 6px 2px 6px !important;
    width: auto !important;
    margin-bottom: .2rem !important;
    font-size: 1rem !important;
    border-radius: 3px !important
}

.navbar-light .navbar-nav .nav-link {
    color: rgb(0, 0, 0);
}

hr {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.modal-xl {
    max-width: 1000px !important;
}

.badge {
    font-size: 14px;
}
.badge-info {
    color: #212529 !important;
    background-color: #0DCAF0 !important;
}
.fixed-10 {
    -ms-flex: 0 0 10px !important;
    flex: 0 0 10px !important;
}

.fixed-20 {
    -ms-flex: 0 0 20px !important;
    flex: 0 0 20px !important;
}

.fixed-25 {
    -ms-flex: 0 0 25px !important;
    flex: 0 0 25px !important;
}

.fixed-50 {
    -ms-flex: 0 0 50px !important;
    flex: 0 0 50px !important;
}

.fixed-100 {
    -ms-flex: 0 0 100px !important;
    flex: 0 0 100px !important;
}

.fixed-120 {
    -ms-flex: 0 0 120px !important;
    flex: 0 0 120px !important;
}

.fixed-150 {
    -ms-flex: 0 0 150px !important;
    flex: 0 0 150px !important;
}

.fixed-200 {
    -ms-flex: 0 0 200px !important;
    flex: 0 0 200px !important;
}

.fixed-300 {
    -ms-flex: 0 0 300px !important;
    flex: 0 0 300px !important;
}

.fixed-400 {
    -ms-flex: 0 0 400px !important;
    flex: 0 0 400px !important;
}

.width-850 {
    width: 850px !important
}

.modal-lg {
    max-width: 1000px;
}

.modal-dialog {
    overflow-y: initial !important;
    margin: auto !important;
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-backdrop {
    background-color: lightgrey;
    z-index : 0 !important;
}

.popover {
    max-width: 50% !important;
    overflow-wrap: break-word;
}

.list-group-item:nth-last-child(2) {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.table-margin-bottom-0 {
    margin-bottom: 0 !important
}

.list-group-item.active {
    background-color: #265a88 !important;
    border-color: #265a88 !important;
}

strong.text-info {
    font-size: 16px !important;
}

input[type="checkbox"].form-control {
    display: inline !important;
    width: 40px !important;
}