﻿/*Core*/
p a {
    word-wrap: break-word;
}

    p a:not(.btn), p a .btn, p a:not(.underline) {
        text-decoration: none;
    }

        p a:not(.btn):hover, p a .btn:hover, p a:not(.underline):hover {
            text-decoration: underline;
        }

body {
    position: relative;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.text-grey {
    color: #919191;
}

.secondary-color {
    color: #00337F;
}

.green-color {
    color: #48a052;
}

html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 16px;
    color: #343537;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-display: auto;
}

@media (max-width: 992px) {
    body {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 12px;
    }
}

.h1, .h2, .h3, .h4, .h5, .h6 {
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Montserrat", sans-serif;
    font-display: auto;
}

    h1.underline, h2.underline, h3.underline, h4.underline, h5.underline, h6.underline, .h1.underline, .h2.underline, .h3.underline, .h4.underline, .h5.underline, .h6.underline, p.underline {
        position: relative;
    }

        h1.underline::after, h2.underline::after, h3.underline::after, h4.underline::after, h5.underline::after, h6.underline::after, .h1.underline::after, .h2.underline::after, .h3.underline::after, .h4.underline::after, .h5.underline::after, .h6.underline::after, p.underline::after {
            content: "";
            position: absolute;
            width: 40px;
            height: 2px;
            bottom: -10px;
            left: 0;
            border-bottom: 2px solid #FFD200;
        }

        h1.underline.text-center::after, h2.underline.text-center::after, h3.underline.text-center::after, h4.underline.text-center::after, h5.underline.text-center::after, h6.underline.text-center::after, .h1.underline.text-center::after, .h2.underline.text-center::after, .h3.underline.text-center::after, .h4.underline.text-center::after, .h5.underline.text-center::after, .h6.underline.text-center::after, p.underline.text-center::after {
            margin-left: -20px;
            left: 50%;
        }

    h1 a, h2, a, h3 a, h4 a, h5 a, h6 a, .h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
        font-family: "Montserrat", sans-serif;
        font-display: auto;
        color: #00337F;
    }

    h1, .h1, .h1 p {
        font-size: 4em;
        line-height: 1.15em;
        margin-bottom: 1.25em;
    }

    h2, .h2, .h2 p {
        font-size: 3.25em;
        margin-bottom: 0.5em;
    }

    h3, .h3, .h3 p {
        font-size: 2.25em;
        line-height: 1.4em;
        margin-bottom: 1.25em;
    }

    h4, .h4, .h4 p {
        font-size: 1.5em;
        line-height: 1.4em;
        margin-bottom: 1.25em;
    }

    h5, .h5, .h5 p {
        font-size: 1.25em;
        line-height: 1.4em;
        margin-bottom: 1.25em;
    }

    h6, .h6, .h6 p {
        font-size: 1em;
        text-transform: uppercase;
        font-weight: 500;
        font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    }

.title,
.title a,
.card-title,
.card-title a,
.info-title,
.info-title a,
.footer-brand,
.footer-brand a,
.footer-big h5,
.footer-big h5 a,
.footer-big h4,
.footer-big h4 a,
.media .media-heading,
.media .media-heading a {
    color: #000;
    text-decoration: none;
}

ol {
    counter-reset: item;
}

    ol li {
        display: block;
        position: relative;
        padding-bottom: 1.5rem;
    }

        ol li::before {
            content: counters(item,".") ".";
            counter-increment: item;
            position: absolute;
            margin-right: 100%;
            right: 15px;
            /* space between number and text */
        }

.col-20,
.col-sm-20,
.col-md-20,
.col-lg-20,
.col-xl-20 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-20 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

@media (min-width: 540px) {
    .col-sm-20 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 720px) {
    .col-md-20 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 960px) {
    .col-lg-20 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 1240px) {
    .col-xl-20 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}
/*Elements*/
button {
    background: none;
    border: 0;
}

.btn {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 700;
}

    .btn.btn-primary {
        height: 40px;
        line-height: 40px;
        padding: 0 15px;
        background: #FFD200;
        color: #00337F;
        border: 0;
    }

        .btn.btn-primary svg {
            fill: #00337F;
        }

        .btn.btn-primary:hover {
            background: #00337F;
            color: #FFD200;
        }

            .btn.btn-primary:hover svg path {
                fill: #FFD200;
            }

    .btn.btn-secondary {
        height: 40px;
        line-height: 40px;
        padding: 0 15px;
        background: #00337F;
        color: #FFFFFF;
        border: 0;
    }

.btn.btn-secondary svg {
    height: 14px;
    fill: #FFFFFF;
    position: relative;
    top: -2px;
}

.btn.btn-secondary:hover {
    background: #FFD200;
    color: #00337F;
}

.btn.btn-secondary:hover svg path {
    fill: #00337F;
}

input {
    vertical-align: middle;
}

    input:focus {
        -webkit-box-shadow: none;
        box-shadow: none;
        outline: -webkit-focus-ring-color auto 0px;
        background-color: #fafafa;
    }

    input[type=checkbox] {
        /*height: 20px;*/
        width: 14px;
    }

.form-control {
    height: 40px;
     padding-right: 15px;
     padding-left: 15px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 100%;
    border: 1px solid #00337F;
    background: rgba(0, 51, 127, 0.1);
}

.menu-line-list {
    list-style-type: none;
}

    .menu-line-list li {
        display: inline;
        line-height: 40px;
    }

.nav {
    width: 210px;
}

    .nav .nav-item a {
        font-family: "Roboto", "Helvetica", "Arial", sans-serif;
        color: #00337F;
    }

        .nav .nav-item a svg {
            width: 18px;
            position: relative;
            top: -2px;
            margin-right: 10px;
        }

        .nav .nav-item a span {
            float: right;
            color: #777;
        }

        .nav .nav-item a:hover, .nav .nav-item a.active {
            background: rgba(0, 51, 127, 0.1);
            font-weight: 700;
        }

            .nav .nav-item a:hover span, .nav .nav-item a.active span {
                float: right;
                color: #777;
            }

        .nav .nav-item a.btn {
            height: 40px;
            line-height: 40px;
            padding: 0 15px;
            background: #FFD200 !important;
            color: #00337F !important;
            border: 0;
        }

            .nav .nav-item a.btn svg {
                fill: #00337F !important;
            }

            .nav .nav-item a.btn:hover {
                background: #00337F !important;
                color: #FFD200 !important;
            }

                .nav .nav-item a.btn:hover svg path {
                    fill: #FFD200 !important;
                }

    .nav .nav-item.new-message {
        background: none;
    }

.navbar-toggler {
    margin-top: -50px;
    float: right;
    background: #FFD200;
    color: #00337F;
    border-color: #00337F;
}

.navbar-collapse {
    background: rgba(0, 51, 127, 0.1);
}

.table svg path {
    fill: #CACACA;
}

.table button.delete path {
    fill: #CACACA;
}

.table button.delete.active path, .table button.delete:hover path {
    fill: #00337F;
}

.table button.forward path {
    fill: #CACACA;
}

.table button.forward.active path, .table button.forward:hover path {
    fill: #FFD200;
}

.table button.forward.required path {
    fill: #da374b;
}

.table button.forward.responded path {
    fill: #48a052;
}

.table th, .table td {
    line-height: 1.5em;
    padding: 0.5rem .75rem;
    vertical-align: middle !important;
}

    .table th button, .table td button {
        height: 40px;
        width: 40px;
        padding: 0;
        border-radius: 50%;
    }

        .table th button:hover, .table td button:hover {
            background: #F6F6F6;
        }

    .table th:last-of-type, .table td:last-of-type {
        text-align: right;
    }

    .table th.title, .table td.title {
        font-weight: bold;
    }

        .table th.title.read, .table td.title.read {
            font-weight: normal;
        }

.table td {
    cursor: pointer;
}

.dataTables_info,
.dataTables_paginate {
    float: right;
    font-size: 16px;
    font-weight: 700;
    color: #343537;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
}

    .dataTables_info a,
    .dataTables_paginate a {
        color: #343537;
        cursor: pointer;
        font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
    }

        .dataTables_info a:hover,
        .dataTables_paginate a:hover {
            color: #00337F;
            text-decoration: none;
        }

        .dataTables_paginate a.paginate_button {
            padding: 0 0.25em;
        }

            .dataTables_paginate a.paginate_button.disabled {
                color: #CACACA;
                cursor: default;
            }

                .dataTables_paginate a.paginate_button.disabled:hover {
                    color: #CACACA !important;
                    cursor: default;
                }


                .dataTables_paginate a.paginate_button:hover {
                    color: #CACACA !important;
                    cursor: pointer;
                }


            .dataTables_paginate a.paginate_button.current, .dataTables_paginate a.paginate_button.current:hover {
                color: #CCCCCC !important;
                cursor: default;
            }
           

.dataTables_length {
    float: left;
}

.dataTables_filter {
    float: right;
}

.dataTables_length, .dataTables_filter {
    line-height: 1em;
    padding: .75em 0;
}

    .dataTables_length input, .dataTables_length select, .dataTables_filter input, .dataTables_filter select {
        height: 40px;
        padding: 0 12px;
        border-radius: 0.25rem;
        border: 1px solid #00337F;
        background: rgba(0, 51, 127, 0.1);
    }

        .dataTables_length input[type="search"], .dataTables_length select[type="search"], .dataTables_filter input[type="search"], .dataTables_filter select[type="search"] {
            margin-left: 0.5rem;
        }

    .dataTables_length label, .dataTables_filter label {
        padding-bottom: 0;
        margin-bottom: 0;
    }

.m-row {
    padding: 15px 0;
    border-bottom: 1px solid #777;
}

    .m-row.modal-button {
        position: relative;
        z-index: 1;
    }

    .m-row .m-row-label {
        color: #777;
    }

    .m-row .m-row-input {
        color: #777;
    }

        .m-row .m-row-input.sent-message-menu button svg path {
            fill: rgba(0, 51, 127, 0.8);
        }

        .m-row .m-row-input.sent-message-menu button.active svg path, .m-row .m-row-input.sent-message-menu button:hover svg path {
            fill: #00337F;
        }

        .m-row .m-row-input.sent-message-menu button.replied-total svg path {
            fill: rgba(255, 210, 0, 0.8);
        }

        .m-row .m-row-input.sent-message-menu button.replied-total.active svg path, .m-row .m-row-input.sent-message-menu button.replied-total:hover svg path {
            fill: #FFD200;
        }

        .m-row .m-row-input svg {
            position: relative;
            top: -2px;
        }

        .m-row .m-row-input input {
            border: 0;
            width: 100%;
            color: #343537;
        }

            .m-row .m-row-input input::-webkit-input-placeholder {
                /* Chrome/Opera/Safari */
                color: #777;
            }

            .m-row .m-row-input input::-moz-placeholder {
                /* Firefox 19+ */
                color: #777;
            }

            .m-row .m-row-input input:-ms-input-placeholder {
                /* IE 10+ */
                color: #777;
            }

            .m-row .m-row-input input:-moz-placeholder {
                /* Firefox 18- */
                color: #777;
            }

        .m-row .m-row-input textarea {
            border: 0;
            width: 100%;
            height: 400px;
            color: #343537;
            outline-color: #777;
        }

            .m-row .m-row-input textarea:focus, .m-row .m-row-input textarea::focus {
                outline-color: #777;
            }

        .m-row .m-row-input.subject .reply-status svg path {
            fill: #CACACA;
        }

        .m-row .m-row-input.subject .reply-status.require svg path {
            fill: #FFD200;
        }

        .m-row .m-row-input.subject .reply-status.require.end-user svg path {
            fill: #da374b;
        }

        .m-row .m-row-input.subject .reply-status.sent svg path {
            fill: #48a052;
        }

        .m-row .m-row-input.reply-message label {
            padding-left: 15px;
            border-left: 2px solid #48a052;
        }

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
    }
}

@media (min-width: 768px) {
    .modal-dialog {
        max-width: 720px;
    }
}

@media (min-width: 1024px) {
    .modal-dialog {
        max-width: 1000px;
    }
}
.modal-dialog-sm {
    max-width: 500px !important;
    margin: 1.75rem auto;
}

.hummingbird-treeview,
.hummingbird-treeview * {
    list-style: none;
}

    .hummingbird-treeview label,
    .hummingbird-treeview * label {
        font-weight: normal;
    }

    .hummingbird-treeview input[type=checkbox],
    .hummingbird-treeview * input[type=checkbox] {
        width: 16px;
        height: 16px;
        padding: 0px;
        margin: 0px 5px 0 0;
        vertical-align: text-top;
    }

    .hummingbird-treeview ul:not(.hummingbird-base),
    .hummingbird-treeview * ul:not(.hummingbird-base) {
        display: none;
    }

    .hummingbird-treeview .fa,
    .hummingbird-treeview * .fa {
        font-style: normal;
        cursor: pointer;
        width: 14px;
        height: 24px;
        content: "";
        display: inline-block;
        position: relative;
        top: -1px;
        right: -2px;
    }

        .hummingbird-treeview .fa.fa-minus,
        .hummingbird-treeview * .fa.fa-minus {
            right: 0;
        }

    .hummingbird-treeview .fas,
    .hummingbird-treeview * .fas {
        font-style: normal;
        cursor: pointer;
        width: 14px;
        height: 24px;
        content: "";
        display: inline-block;
        position: relative;
        top: -1px;
        right: -2px;
    }

        .hummingbird-treeview .fas.fa-caret-down,
        .hummingbird-treeview * .fas.fa-caret-down {
            right: 0;
        }

.hummingbird-base {
    white-space: nowrap;
}

.recipient-tile {
    position: relative;
    line-break: auto;
    padding: 8px 35px 8px 10px;
    border-radius: 2px;
    background: rgba(0, 51, 127, 0.1);
    margin: 0 10px 5px 0;
    z-index: 10;
    display: inline-block !important;
}

    .recipient-tile button {
        position: absolute;
        top: 50%;
        margin-top: -12px;
        right: 5px;
        content: "";
        cursor: pointer;
        background: url("/images/ic_cancel_24px.png") no-repeat center;
        width: 24px;
        height: 24px;
        content: "";
        display: inline-block;
    }

#to-send .recipient-tile {
    padding: 8px 10px;
}

.dtsp-panesContainer {
    display: none;
    position: absolute;
    z-index: 999;
    background: white;
    border: 1px solid #777;
}

    .dtsp-panesContainer.open {
        display: block;
    }

    .dtsp-panesContainer .dtsp-titleRow, .dtsp-panesContainer .dtsp-subRow1, .dtsp-panesContainer .dtsp-subRow2 {
        display: none;
    }

    .dtsp-panesContainer .dataTables_scrollBody {
        position: relative !important;
        overflow: hidden !important;
        /* max-height: 200px; */
        padding: 15px;
        height: 120px !important;
        width: 170px !important;
    }

    .dtsp-panesContainer .dtsp-nameCont span.dtsp-pill {
        margin-left: 5px;
    }

    .dtsp-panesContainer .required span.dtsp-name {
        background: url("/images/ic_reply_24px_red.png") no-repeat;
        background-position: left center;
        padding-left: 30px;
    }

    .dtsp-panesContainer .replied span.dtsp-name {
        background: url("/images/ic_reply_24px_green.png") no-repeat;
        background-position: left center;
        padding-left: 30px;
    }

/*Layout*/
main {
    width: calc(100% - 210px);
}

@media (max-width: 768.5px) {
    main {
        width: 100%;
    }
}

.login {
    background: url("/images/background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

    .login .login-card {
        border: 1px solid #00337F;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        max-width: 768px;
        margin: auto;
    }

.header {
    border-bottom: 1px solid #CACACA;
}

    .header .user--image img {
        border-radius: 50%;
        border: 1px solid #000;
        height: 40px;
        width: 40px;
    }

@media (max-width: 768.5px) {
    main {
        width: 100%;
    }

    .header .logo {
        width: 140px;
    }
}

footer {
    background: #F6F6F6;
}

    footer p {
        color: #777;
    }

    .cursor-pointer{
        cursor:pointer;
    }

.dataTable thead tr {
    background-color: #00327e;
    color: #fff;
}
/* Messages Overwrite - only show after reloading the page and this stylesheet is resaved */
/* Messages Overwrite - only show after reloading the page and this stylesheet is resaved */
body {
    font-family: Montserrat, "Montserrat, sans-serif";
    font-size: 0.75em;
}

.nav .nav-item a, .dataTables_paginate a, .btn {
    font-family: Montserrat, "Montserrat, sans-serif" !important;
    font-weight: 600;
}

form {
    font-family: Montserrat, "Montserrat, sans-serif" !important;
}

#dtTable.dataTable thead tr {
    background-color: rgba(0, 51, 127, 0.1) !important;
    color: #212529 !important;
    font-weight: 600;
}

#dtTable.dataTable tr th {
    font-weight: 600;
    padding: .5rem .5rem !important;
    border: 0;
    background-color: rgba(0, 51, 127, 0.1) !important;
}

#dtTable.table th button, #dtTable.table td button {
    height: 34px;
    width: 34px;
    border-radius: 50%;
    border: 0;
    background: none;
}

    #dtTable.table th button:hover, #dtTable.table td button:hover {
        background: #F6F6F6;
    }

    #dtTable.table th button:focus {
        outline: none;
    }

    #dtTable.table th button svg, #dtTable.table td button svg {
        margin: 0 !important;
        width: 16px;
        height: 16px;
    }

#dtTable.table button svg {
    width: 16px;
    height: 16px;
}

#dtTable.table button.delete svg {
    width: 22px !important;
    height: 22px !important;
}

#dtTable.table tr th svg path {
    fill: #CACACA;
}

#dtTable.table button.delete:hover svg path {
    fill: #00327e;
}

#dtTable.table-hover tbody tr:hover {
    background-color: #ededed;
}

#dtTable.dataTable > thead .sorting:before,
#dtTable.dataTable > thead .sorting:after {
    top: 50%;
    margin-top: -10px;
}

.btn.btn-primary svg, .btn.btn-secondary svg {
    width: 16px;
    position: relative;
    top: -2px;
}

.dataTables_length input, .dataTables_length select, .dataTables_filter input, .dataTables_filter select {
    height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 15px;
    border-radius: 0;
    background-color: #f8f8f8;
    height: 38px;
    border: 1px solid #E4E4E4 !important;
    outline: none;
}

    .dataTables_length input:focus, .dataTables_length select:focus, .dataTables_filter input:focus, .dataTables_filter select:focus {
        background-color: white;
    }

.sidebar .nav-link {
    font-weight: 500;
    color: #00337F;
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.sidebar a.nav-link {
    color: #00337F !important;
}

.nav .nav-item a:hover, .nav .nav-item a.active {
    background: rgba(0, 51, 127, 0.1);
    font-weight: 600;
    color: #00337F !important;
}
/* overwrite just for the menu?*/
.btn.btn-primary:not(.login-btn):hover {
    background: rgba(0, 51, 127, 0.2);
}

.nav .nav-item a.btn-secondary {
    background: #FFD200;
    color: #00337F;
}

    .nav .nav-item a.btn-secondary:hover {
        background: #FFD200;
        color: #00337F;
    }

.table button.forward:hover path {
    fill: #FFD200;
}

.table button.forward.responded path {
    fill: #48a052;
}

.bg-none {
    background: transparent;
}

.m-row {
    padding: 15px 0;
    border-bottom: 1px solid #777;
}

.w-100 {
    width: 100% !important;
}

.d-block {
    display: block !important;
}

.sent-message-menu {
    font-size: 1.2em;
    font-weight: 600;
}

    .sent-message-menu svg {
        height: 16px;
        width: 16px;
        position: relative;
        top: -2px;
    }

.badge.badge-default {
    padding: 8px 10px;
    background: rgba(0, 51, 127, 0.1);
    font-size: 1em;
    color: #00337F;
    font-weight: 600;
}

.m-row .m-row-input.subject .reply-status.require svg path {
    fill: #FFD200;
}

.m-row .m-row-input.subject .reply-status svg path {
    fill: #CACACA;
}
.recipient-tile {
    position: relative;
    line-break: auto;
    padding: 8px 35px 8px 10px;
    border-radius: 2px;
    background: rgba(0, 51, 127, 0.1);
    margin: 0 10px 5px 0;
    z-index: 10;
    display: inline-block !important;
}

#to-send .recipient-tile {
    padding: 8px 10px;
}

.recipient-tile button {
    position: absolute;
    top: 50%;
    margin-top: -12px;
    right: 5px;
    content: "";
    cursor: pointer;
    background: url(/images/ic_cancel_24px.png) no-repeat center;
    width: 24px;
    height: 24px;
    content: "";
    display: inline-block;
    border: 0;
}

.modal-header button[type="button"] {
    border: 0;
    position: absolute;
    right: 10px;
}
.badge.sentCount {
    background-color: red;
}
.date_selection{
    flex-wrap: wrap;
}
