/* Bootswatch Modal CSS */

/*Commented out due to conflict with Telerik RadEditor controls*/
/*@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');*/

* {
    /*Commented out due to conflict with Telerik RadEditor controls*/
    /*font-family: 'Open Sans', Sans-Serif !important;*/
}

*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*:focus {
    outline: 0 !important;
}

*:hover {
    outline: 0 !important;
}

*:active {
    outline: 0 !important;
}

.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

    .modal-open .modal {
        overflow-x: hidden;
        overflow-y: auto;
        padding-right: 0 !important;
    }

.modal {
    position: fixed;
    top: 0;
    left: 0;
    /*z-index: 1050;*/
    z-index: 2000000;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        -webkit-transition: none;
        transition: none;
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.modal-dialog-scrollable {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
    max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
    content: none;
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.6rem;
    outline: 0;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,.3);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    /*padding: 1rem 1rem;*/
    padding: 0.5rem 1rem 1rem 1rem;
    border-bottom: 1px solid #dedede;
}

.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1rem;
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

/*.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #eceeef;
    border-bottom-right-radius: 0.6rem;
    border-bottom-left-radius: 0.6rem;
}

.modal-footer > :not(:first-child) {
    margin-left: 0.25rem;
}

.modal-footer > :not(:last-child) {
    margin-right: 0.25rem;
}*/

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media (min-width: 576px) {
.modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
}

.modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem);
}

.modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
}

.modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
}

.modal-sm {
    max-width: 300px;
}
}

@media (min-width: 992px) {
.modal-lg,
.modal-xl {
    max-width: 800px;
}
}

@media (min-width: 1200px) {
.modal-xl {
    max-width: 1140px;
}
}

.closeModal {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #767676;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    position: relative;
    top: -10px;
    right: -5px;
   /* user profile
    right: -450px;*/
}

.closeModal:hover {
    color: #595959;
    text-decoration: none;
}

.closeModal:not(:disabled):not(.disabled):hover,
.closeModal:not(:disabled):not(.disabled):focus {
    opacity: 0.75;
}

button.closeModal {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

a.closeModal.disabled {
    pointer-events: none;
}

#closeTopModal {
    top: -2px;
    right: -348px !important;
}

.text-center {
    text-align: center !important;
}


/* All Modals Start */
.modal.left .modal-dialog,
.modal.right .modal-dialog,
.modal.top .modal-dialog {
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}
/* All Modals End */

/* Left Modal CSS Start */
.modal.left {
    left: 200px;
}

.modal.left .modal-dialog {
    position: fixed;
    margin: auto;
    width: 500px;
    max-width: 100%;
    height: 100%;
}

.modal.left .modal-content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal.left .modal-body {
    /*padding: 15px 15px 80px;*/
    padding: 15px 25px 80px;
    background-color: #f9f9f9;
}

.modal.left.fade .modal-dialog {
    left: -500px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.show .modal-dialog {
    left: 0;
}

.modal.left .modal-content {
    border-radius: 0;
    border: none;
}

.modal.left .modal-dialog.modal-sm {
    /*width: 300px;*/
    top: 60px !important;
    width: 375px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,.3) !important;
}

#modal-header-page-actions {
    border: none;
    position: fixed;
    z-index: 1;
    background-color: #fff;
    width: 100%;
    padding: 0.9375rem 1.25rem 0.0625rem 0.5625rem !important;
}

#modal-title-page-actions {
    margin: -7px auto 0 auto;
    font-size: 16px;
    color: #767676;
    font-weight: 700;
}

#modal-content-page-actions::-webkit-scrollbar {
    display: none;
}

#modal-content-page-actions {
    background-color: #fff;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal.left .modal-dialog.modal-lg {
    /*width: 800px;*/
    width: 420px;
    overflow: hidden !important;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,.3) !important;
}

#modal-header-main-menu {
    border-bottom: 1px solid #dedede;
    position: fixed;
    z-index: 1;
    background-color: #fff;
    width: 100%;
    /*height: 95px;*/
    height: 40px;
    background-color: #f9f9f9;
}

#modal-title-main-menu {
    margin-left: 135px;
    color: #767676;
    font-size: 16px;
    font-weight: 400;
}

#modal-content-main-menu::-webkit-scrollbar {
    display: none;
}

#modal-content-main-menu {
    background-color: #f9f9f9;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Left Modal CSS End */


/* Right Modal CSS Start */
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 500px;
    max-width: 100%;
    height: 100%;
    top: 60px;
}

.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.right .modal-body {
    padding: 15px 15px 80px;
}

.modal.right.fade .modal-dialog {
    right: -500px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
    right: 0;
    
}

.modal.right .modal-content {
    border-radius: 0;
    border: none;
}

.modal.right .modal-dialog.modal-sm {
    width: 400px;
}

.modal.right .modal-dialog.modal-lg {
    /*width: 800px;*/
    width: 400px;
    height: 90%;
}

.modal.right .modal-dialog.modal-xl {
    /*width: 1140px;*/
    /*width: 465px;*/
    /*width: 400px;*/
    /*width: 480px;*/
    width: 560px;
    height: 90%;
}

/* Announcements Modal */
#right_modal_sm_modal_content::-webkit-scrollbar {
    display: none;
}

#right_modal_sm_modal_content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#right_modal_sm_modal_header {
    height: 16px;
    border: none;
    border-bottom: 1px solid #dedede;
}

#right_modal_sm_modal_title {
    color: #767676;
    margin: 0 auto;
}

#right_modal_sm_modal_body {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: #fff;
}

#closeAnnouncementsModal {
    top: -3px !important;
    right: -4px !important;
}

.announcements-list {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
}

.announcements-listItem {
    color: #767676;
    list-style: none;
    display: block;
    padding: 0 0 0 20px;
    margin: 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 60px;
}

/*.announcements-listItem:hover {
    background-color: #eee;
}*/

.announcements-listItem::after {
    content: '';
    border-color: #dedede;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    display: block;
    position: absolute;
    left: 64px;
    right: 0;
    bottom: 0;
}

.announcements-listItem-link {
    text-decoration: none;
    color: #767676;
    font-size: 1rem;
    line-height: 45px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 20px;
    width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.announcements-listItem-link:hover {
    text-decoration: none;
    color: #767676;
    overflow: visible;
    white-space: normal;
    background-color: #fff;
    display: block;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,.3);
    line-height: 1.3rem;
    position: relative;
    z-index: 99;
    padding: 10px;
}

.announcements-listItem-link:visited {
    text-decoration: none;
    color: #767676;
}

.announcements-icon {
    height: 18px;
    width: 18px;
    /*padding-right: 14px;*/
    padding-right: 20px;
    padding-left: 5px;
    display: inline-block;
    vertical-align: middle;
}


/* Alerts Modal Content */
#right_modal_lg_content::-webkit-scrollbar {
    display: none;
}

#right_modal_lg_content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#right_modal_lg_modal_header {
    height: 16px;
    border-bottom: 1px solid #dedede;
}

#right_modal_lg_modal_title {
    color: #767676;
    margin: 0 auto;
}

.container-alert-btn {
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-bottom: 1px solid #dedede;
}

.btn-view-all-alerts {
    text-decoration: none;
    font-size: 16px;
    background-color: #0070c0;
    color: #fff;
    width: 100%;
    padding: 14px 16px;
    border: none;
    text-align: center;
}

.btn-view-all-alerts:hover {
    text-decoration: none;
    background-color: rgba(0, 74, 128, .9);
}

#right_modal_lg_modal_body {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: #f8f8f8;
}

.alerts-list {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
}

.alerts-listItem {
    color: #767676;
    list-style: none;
    display: block;
    padding: 0 0 0 20px;
    margin: 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 60px;
}

.alerts-listItem:hover {
    background-color: #eee;
}

.alerts-listItem::after {
    content: '';
    border-color: #dedede;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    display: block;
    position: absolute;
    left: 68px;
    right: 0;
    bottom: 0;
}

.alerts-listItem-link {
    text-decoration: none;
    color: #767676;
    font-size: 1rem;
    line-height: 45px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 20px;
    width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.alerts-listItem-link:hover {
    text-decoration: none;
    color: #767676;
}

.alerts-listItem-link:visited {
    text-decoration: none;
    color: #767676;
}

.alerts-icon {
    height: 18px;
    width: 18px;
    /*padding-right: 9px;*/
    /*padding-right: 14px;*/
    padding-right: 20px;
    padding-left: 5px;
    display: inline-block;
    vertical-align: middle;
}


/* Messaging Modal Content */
#modal-header-messaging {
    height: 16px;
    background-color: #fff;
}

#modal-title-messaging {
    color: #767676;
    margin: 0 auto;
}

#right_modal_xl_content::-webkit-scrollbar {
    display: none;
}

#right_modal_xl_content {
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #f5f5f5;
}

#right_modal_xl .modal-body {
    background-color: #f9f9f9;
}

.text-center {
    text-align: center;
    margin: 0 auto;
}

.container-chat-btns {
    width: 100%;
    height: 50px;
    text-align: center !important;
    margin-top: 10px;
}

.btn-new-chat {
    text-decoration: none;
    font-size: 1rem;
    color: #0070c0;
    background-color: #fff;
    cursor: pointer;
    border: 1px solid #0070c0;
    border-radius: 4px;
    padding: 8px 22px;
    margin-bottom: 20px;
}

.btn-new-chat:focus {
    border: 1px solid #0070c0 !important;
}

.new-chat-icon {
    /*width: 22px;*/
    width: 16px;
    margin-right: 10px;
    position: relative;
    /*top: 6px;*/
    top: 3px;
}

.btn-view-all-chats {
    text-decoration: none;
    font-size: 1rem;
    background-color: #0070c0;
    color: #fff;
    width: 100%;
    padding: 14px 16px;
    border: none;
    text-align: center;
}

.btn-view-all-chats:hover {
    text-decoration: none;
    background-color: rgba(0, 74, 128, .9);
}

.recent-chats-heading {
    text-decoration: none;
    font-size: 1rem;
    padding: 6px 8px;
    color: #767676;
    /*background-color: #bfbfbf;
    border: none;
    border-radius: 4px;*/
    display: inline-block;
    margin: 0;
}

.recent-chats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #767676;
}

.chats-listItem {
    height: 80px;
    border: 1px solid #dedede;
    border-radius: 20px;
    padding: 18px;
    margin: 10px 0;
}

/*.chats-listItem::after {
    content: '';
    border-color: #ccc;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    display: block;
}*/

.chat-img {
    float: left;
    /*background-color: #bfbfbf;*/
    border-radius: 50%;
    /*padding: 15px;*/
    background-color: #fff;
    padding: 10px;
    border: 1px solid #0070c0;
    margin: 20px 0 0 3px;
}

.chat-icon {
    width: 20px;
    display: inline-block;
    vertical-align: middle;
}

.chat-username {
    font-weight: 700;
    color: #767676;
}

.chat-body {
    font-size: 1rem;
    margin-left: 65px;
}

.chat-message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-chat {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #bfbfbf;
    border-radius: .25rem;
    margin-top: 8px;
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

.card-header {
    color: #fff;
    background-color: #bfbfbf;
    border-color: #bfbfbf;
    padding: .75rem 1.25rem;
    margin-bottom: 0;
}

.card-header h5 {
    margin: 0;
    font-size: 16px;
}

.form-control-chat-name {
    display: block;
    width: 92% !important;
    height: 22px !important;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #767676;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-radius: .25rem;
    margin-top: 5px;
}

.form-control-recipients {
    display: block;
    width: 92% !important;
    height: 22px !important;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #767676;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-radius: .25rem;
    margin-top: 8px;
}

.card-body::-webkit-scrollbar {
    display: none;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    height: 165px;
    padding: 1.25rem;
    background-color: #fff;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.card-footer:last-child {
    border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
}

.card-footer {
    padding: .75rem 1.25rem;
    background-color: #bfbfbf;
    border-top: 1px solid transparent;
}

.input-group {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .custom-file, .input-group > .custom-select, .input-group > .form-control {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #767676;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-radius: .25rem;
}

.input-group-append {
    margin-left: -1px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.input-group > .input-group-append > .btn-send-message, .input-group > .input-group-append > .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-send-message {
    color: #fff;
    background-color: #0070c0;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    cursor: pointer;
}

.input-group-append .btn-send-message, {
    position: relative;
    z-index: 2;
}

[type=reset], [type=submit], button, html [type=button] {
    -webkit-appearance: button;
}

.chat-box-content {
    display: none;
    margin-bottom: 30px;
}

.showChatBox {
    display: block;
}

/* Terms & Conditions Modal */
#right_modal_terms {
    top: 0;
}

#right_modal_terms .modal-dialog {
    top: 0px;
}

#right_modal_terms .modal-title {
    margin-top: 1rem;
}

#right_modal_terms .modal-header .close {
    padding: 0 1rem;
    margin: 0;
    border: 0;
    background-color: #fff;
    color: #333;
}

#right_modal_terms .modal-header .close span {
    font-size: 32px;
}

/* Right Modal CSS End */

/* Footer Start */
.modal-footer-fixed {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-radius: 0;
}

.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.modal-footer > :not(:first-child) {
    margin-left: .25rem
}

.modal-footer > :not(:last-child) {
    margin-right: .25rem
}
/* Footer End */


/* Top Modal CSS Start */
.modal.top .modal-content {
    border-radius: 0;
    border: none;
}

.modal.top .modal-dialog {
    position: absolute;
    margin: auto;
    width: 300px;
    max-width: 100%;
    height: auto;
    top: 60px;
    right: 150px;
    /*right: 16em;*/
}

.modal.top .modal-content {
    /*height: auto;*/
    /*height: 500px;*/
    /*height: 440px;*/
    /*height: 680px;*/
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal.top .modal-body {
    padding: 15px 15px;
}

.modal.top.fade .modal-dialog {
    top: -100%;
    -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
    -o-transition: opacity 0.3s linear, top 0.3s ease-out;
    transition: opacity 0.3s linear, top 0.3s ease-out;
}

.modal.top.fade.show .modal-dialog {
    top: 0;
}

#top_modal_modal_content::-webkit-scrollbar {
    display: none;
}

#top_modal_modal_content {
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #fff;
    height: fit-content;
}

#top_modal_modal_header {
    height: 0;
    background-color: #fff;
    border-bottom: none !important;
}

#top_modal_modal_title {
    color: #767676;
    margin: 0 auto;
}

#modal-body-top-modal {
    padding: 0;
}
/* Top Modal CSS End */



/* Bootstrap CSS Overides */

.modal-open {
    /* overflow-y: auto - fix for popping scrollbar on top modal  */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 0 !important;
}

.modal-backdrop {
    background-color: transparent !important;
}


/* Page Actions Menu */
.container-top-spacing-modal {
    /*margin-top: 4.5rem;*/
    margin-top: 3.125rem;
}


/* Overlay Modal Search Results */

.btn-modal-overlay-results {
    background-color: #0070c0;
    color: #fff;
    border: none !important;
    outline: none !important;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    width: 120px;
}

.btn-modal-overlay-files {
    background-color: #0070c0;
    color: #fff;
    border: none !important;
    outline: none !important;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    display: block;
    margin: 15px auto 0 auto;
    width: 120px;
}

.btn-modal-overlay-results:hover, .btn-modal-overlay-results:active, .btn-modal-overlay-results:focus,
.btn-modal-overlay-files:hover, .btn-modal-overlay-files:active, .btn-modal-overlay-files:focus {
    border: none !important;
    outline: none !important;
}

#modal-overlay-content::-webkit-scrollbar {
    display: none;
}

#modal-overlay-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #fff;
}

.modal.right .modal-dialog.modal-overlay {
    width: 35%;
    height: 90%;
    top: 60px !important;
}

#modal-header-modal-overlay {
    background-color: #fff;
    border-bottom: none;
    padding: 1.12rem 1rem !important;
    border-bottom: 1px solid #dedede;
    position: fixed;
    z-index: 1;
    width: 100%;
    /*height: 95px;*/
}

#modal-title-modal-overlay {
    color: #767676;
    font-size: 18px;
    margin: -2px auto 0px;
}

#closeOverlayModal {
    text-shadow: none !important;
    color: #767676;
    opacity: 1;
    right: 35px;
    margin-left: 2.5rem;
}

.btn-view-complete-record {
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    background-color: #0070c0;
    border: none;
    outline: none !important;
    width: 100%;
    padding: 20px 10px;
    cursor: pointer;
    text-align: center;
}

.btn-view-complete-record:focus, .btn-view-complete-record:hover, .btn-view-complete-record:active {
    text-decoration: none;
    background-color: rgba(0, 74, 128, .9);
}

#modal-body-modal-overlay {
    /*padding: 0px;
    margin-bottom: 120px;*/
}

.container-modal-overlay-btn {
    /*margin: 74px auto 0 auto;*/
}

.container-modal-details-preview {
    display: flex;
    /*flex-wrap: wrap;*/
    flex-direction: column;
    margin-top: 60px;
    /*margin: 140px 20px;*/
}

.modal-entry {
    display: flex;
    flex-direction: column;
    color: #767676;
    font-size: 16px;
    margin: 20px 20px;
/*    margin-top: 20px;
    margin-bottom: 15px;
    width: 33.3333333%;*/
}

.modal-entry-title {
    font-weight: 700;
   /* padding: 5px;
    margin: 0 0 0 40px;*/
    white-space: nowrap;
}

.modal-entry-info {
    font-weight: 400;
    /*padding: 5px;
    margin: 0 0 0 40px;*/
    text-decoration: none;
    padding: 10px 0;
}

    @media screen and (min-width:300px) and (orientation:portrait), screen and (max-width:1000px) and (orientation:landscape) {
        .modal.top .modal-dialog {
            top: 60px;
            right: 0;
        }

        #closeAnnouncementsModal {
            top: -3px !important;
            right: -6px !important;
        }

        #closeTopModal {
            right: -320px !important;
        }
    }





















