﻿body {
    /*padding-top: 50px;*/
    /*padding-bottom: 20px;*/
    font-family: Montserrat !important;
    font-size: 15px !important;
}

.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    max-width: inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}
/*table.dataTable {
    border-collapse: collapse !important;
}*/
table.dataTable.no-footer {
    border-bottom: 1px solid lightgrey !important;
}

.dataTables_info {
    padding: 10px;
}

.dataTables_paginate {
    padding: 5px;
}

.dataTables_wrapper {
    border: 1px solid grey;
    border-radius: 5px;
}

table tr th:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

table tr th:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

table tr th {
    /*background: rgba(245, 135, 54, 0.8);
    border: 1px solid rgba(245, 135, 54, 0.6) !important;*/
    background: rgba(216, 79, 87, 0.8);
    border: 1px solid rgba(216, 79, 87, 0.6) !important;
    font-family: Montserrat !important;
}

table tr td {
    border: 1px solid lightgrey !important;
}

.tableSearchDiv {
    padding: 10px
}

    .tableSearchDiv button {
        float: right;
    }










/*Cards CSS -- from BS - 4*/


.card {
    position: relative;
    display: block;
    margin-bottom: .75rem;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: .25rem
}

.card-block {
    padding: 1.25rem
}

.card-title {
    margin-bottom: .75rem
}

.card-subtitle {
    margin-top: -.375rem;
    margin-bottom: 0
}

.card-text:last-child {
    margin-bottom: 0
}

.card-link:hover {
    text-decoration: none
}

.card-link + .card-link {
    margin-left: 1.25rem
}

.card > .list-group:first-child .list-group-item:first-child {
    border-radius: .25rem .25rem 0 0
}

.card > .list-group:last-child .list-group-item:last-child {
    border-radius: 0 0 .25rem .25rem
}

.card-header {
    padding: .75rem 1.25rem;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e5e5e5
}

    .card-header:first-child {
        border-radius: .25rem .25rem 0 0
    }

.card-footer {
    padding: .75rem 1.25rem;
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5
}

    .card-footer:last-child {
        border-radius: 0 0 .25rem .25rem
    }

.card-primary {
    background-color: #0275d8;
    border-color: #0275d8
}

.card-success {
    background-color: #5cb85c;
    border-color: #5cb85c
}

.card-info {
    background-color: #5bc0de;
    border-color: #5bc0de
}

.card-warning {
    background-color: #f0ad4e;
    border-color: #f0ad4e
}

.card-danger {
    background-color: #d9534f;
    border-color: #d9534f
}

.card-primary-outline {
    background-color: transparent;
    border-color: #0275d8
}

.card-secondary-outline {
    background-color: transparent;
    border-color: #ccc
}

.card-info-outline {
    background-color: transparent;
    border-color: #5bc0de
}

.card-success-outline {
    background-color: transparent;
    border-color: #5cb85c
}

.card-warning-outline {
    background-color: transparent;
    border-color: #f0ad4e
}

.card-danger-outline {
    background-color: transparent;
    border-color: #d9534f
}

.card-inverse .card-footer, .card-inverse .card-header {
    border-bottom: 1px solid rgba(255,255,255,.2)
}

.card-inverse .card-blockquote, .card-inverse .card-footer, .card-inverse .card-header, .card-inverse .card-title {
    color: #fff
}

    .card-inverse .card-blockquote > footer, .card-inverse .card-link, .card-inverse .card-text {
        color: rgba(255,255,255,.65)
    }

        .card-inverse .card-link:focus, .card-inverse .card-link:hover {
            color: #fff
        }

.card-blockquote {
    padding: 0;
    margin-bottom: 0;
    border-left: 0
}

.card-img {
    border-radius: .25rem
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem
}

.card-img-top {
    border-radius: .25rem .25rem 0 0
}

.card-img-bottom {
    border-radius: 0 0 .25rem .25rem
}

@media (min-width:544px) {
    .card-deck {
        display: table;
        table-layout: fixed;
        border-spacing: 1.25rem 0
    }

        .card-deck .card {
            display: table-cell;
            width: 1%;
            vertical-align: top
        }

    .card-deck-wrapper {
        margin-right: -1.25rem;
        margin-left: -1.25rem
    }
}

@media (min-width:544px) {
    .card-group {
        display: table;
        width: 100%;
        table-layout: fixed
    }

        .card-group .card {
            display: table-cell;
            vertical-align: top
        }

            .card-group .card + .card {
                margin-left: 0;
                border-left: 0
            }

            .card-group .card:first-child {
                border-top-right-radius: 0;
                border-bottom-right-radius: 0
            }

                .card-group .card:first-child .card-img-top {
                    border-top-right-radius: 0
                }

                .card-group .card:first-child .card-img-bottom {
                    border-bottom-right-radius: 0
                }

            .card-group .card:last-child {
                border-top-left-radius: 0;
                border-bottom-left-radius: 0
            }

                .card-group .card:last-child .card-img-top {
                    border-top-left-radius: 0
                }

                .card-group .card:last-child .card-img-bottom {
                    border-bottom-left-radius: 0
                }

            .card-group .card:not(:first-child):not(:last-child) {
                border-radius: 0
            }

                .card-group .card:not(:first-child):not(:last-child) .card-img-bottom, .card-group .card:not(:first-child):not(:last-child) .card-img-top {
                    border-radius: 0
                }
}

@media (min-width:544px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem
    }

        .card-columns .card {
            display: inline-block;
            width: 100%
        }
}