﻿/*Force Open Sans on everything, ignoring Font Awesome icons*/
html *:not(.fa, .fa-classic, .fa-regular, .fa-solid, .far, .fas) {
    font-family: "Open Sans", sans-serif !important
}
.static-top.navbar-dark {
    background-color: #003865 !important;
}
footer .footer-bottom {
    background-color: #78BE21 !important;
    font-size: 16px
}
    footer .footer-bottom a {
        font-size: 16px
    }
.navbar-dark .navbar-nav > li > a {
    color: #fff !important;
}
.modal-form .modal-body iframe {
    height: 70vh;
}
.modal-dialog:not(.mn-no-csswidth) {
    max-width: 80% !important;
    width: auto !important;
}
/*Update .table-fluid class to have cell text below the header*/
@media (max-width: 767px) {
    html[dir=ltr] .table-fluid td {
        padding-left: 1rem !important
    }
    .table-fluid td:before {
        margin-left: 0rem;
    }
    .table-fluid td, .table-fluid tr {
        display: grid;
    }
}
/*Remove border from forms */
.crmEntityFormView, .entitylist, .modal-content, .popover-content, .actions, .tab-title {
    background-color: #FFFFFF;
    color: #000000;
    border: none !important;
}

html[dir=ltr] .crmEntityFormView .cell.crmquickform-cell:first-child {
    border-right: none !important;
}

.aspNetDisabled.form-control {
    background-color: #e9ecef !important;
    padding-left: .75rem !important
}

.form-control.readonly, .form-control[readonly]:not(.lookup) {
    background-color: #e9ecef !important;
    padding-left: .75rem !important
}

div.text-muted {
    display: none
}

[type="email"] {
    display: block !important;
}

    [type="email"] + .control {
        display: none !important;
    }
/*Adding margin back to button group that is moved to top of form header*/
html[dir=ltr] .sticky-top .actions .btn:first-child {
    margin-right: 5px;
}
/*Buttons*/
.clearlookupfield, .launchentitylookup {
    border-bottom-color: rgb(148, 148, 148);
    border-top-color: rgb(148, 148, 148);
    border-right-color: rgb(148, 148, 148);
    border-left-color: rgb(148, 148, 148);
}
/**Hide the Prevent Scrolling behavior on forms*/
#mn_preventscroll {
    border: none !important;
    height: 0px !important;
    width: 0px !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: none !important;
}

#mn_preventscroll_label {
    display: none;
}

.required-attachments:after {
    content: ' *';
    color: red;
}

.required-data:after {
    content: ' *';
    color: red;
}

.crmquickform-cell > div.table-info {
    display: none;
}

.spin-animation {
    display: inline-block;
    animation: spin-animation 2s linear infinite;
}

@keyframes spin-animation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/*Misc CSS*/
::placeholder {
    color: grey !important;
    opacity: .5 !important;
}

@media(min-width: 1000px) {
    #mn_da_institutionlookup_searchbox {
        min-width: 600px
    }
}
input[type=email]{
    text-decoration: none !important;
}