body {
    margin: 0;
    overflow-x: hidden;
}

.footer {
    display: none;
}

.private-mode-banner{
    display: none;
}

.modal-lg.modal-dialog{
    max-width: 80%;
}
/*

.footer .row {
    width: 100%;
    margin: 1% 0%;
    color: gray;
    font-size: 0.8em;
    flex-basis: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

.footer .row a {
    text-decoration: none;
    color: gray;
    transition: 0.5s;

}

.footer .row a:hover {
    color: #fff;
}

.footer .row ul {
    width: 100%;
    padding: 0;
}

.footer .row ul li {
    display: inline-block;
    margin: 0px 30px;
}

.footer .row a i {
    font-size: 2em;
    margin: 0% 1%;
}

@media (max-width:720px) {
    .footer {
        text-align: left;
        padding: 5%;
    }

    .footer .row ul li {
        display: block;
        margin: 10px 0px;
        text-align: left;
    }

    .footer .row a i {
        margin: 0% 3%;
    }
} */
 

.scanner{
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.scanner.full{
    width: 80%;
}

.scanner:not(.full){
    width: 500px;
}

.scanner.full>video{
    width: 100% !important;
}

.crmEntityFormView td.cell.subgrid-cell,
.crmEntityFormView td.cell.crmquickform-cell{
    padding-left: 0;
    padding-right: 0;
}

iframe .crmEntityFormView .cell {
    padding: 0 28px 20px;
}

.entity-grid.subgrid table>tbody a.btn,
.dropdown.action .btn{
    margin: 5px 0;
    width: 100%;
}

.env-name{
    color: white;
    display: flex;
    align-items: center;
}

.progressIndicator{
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 2147483647;
    background-color: #00000030;
    color: white;
    inset: 0;
    text-align: center;
    align-content: stretch;
    font-size: 500%;
    padding-left: auto;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.progressIndicator>span{
    box-shadow: #0000000f 0px 0px 20px 20px;
    background: #0000000f;
    border-radius: 10px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ffffff33;   /* light transparent border */
    border-top-color: white;       /* the part that spins */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.lookup-dropdown{
    display: flex;
}

.footer-widget {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}

.footer-widget {
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.ms_lay1_card {
    min-height: 400px;
}

.submit-btn{
    font-size: 24px;
}

.button1:not(.launchentitylookup):not(.clearlookupfield) {
    border: none !important;
}

.btn.success,
.btn.success[disabled]{
    background-color: #008b00;
    border-color: #008b00;
}

.btn[disabled]{
    background-color: grey;
}

.btn:hover,
.button1:hover,
.button2:hover {
    box-shadow: 0 0 5px rgba(36, 36, 36, 0.5);
}

.msg.hidden {
    visibility: hidden;
    height: 0;
}

.msg:not(.hidden) {
    visibility: visible;
}


.mobile-button{
    padding: 10px 10px;
    color: white;
    text-decoration: none !important;
    margin-right: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    font-family: Arial;
    font-weight: 400;
    font-size: 20px;
}

.mobile-button:hover{
    background-color: var(--portalThemeColor4)
}

.nav-link {
    border-radius: 5px;

}

.navbar-dark .navbar-nav > li > a:focus {
    border: none !important;
    outline: none !important;
    box-shadow: inset 0 0 5px rgba(36, 36, 36, 0.5);
}

.nav-item>a:hover,
.dropdown-item:hover {
    text-decoration: none !important;
}

.navbar-nav>li>a {
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-y);
    margin-left: 5px;
    margin-right: 5px;
    line-height: var(--bs-body-line-height);
}

.navbar-nav>li>span{
    color: #ffffff;
    font-family: Arial;
    font-weight: 400;
    font-size: 20px;
}

.nav-logo {
    display: flex;
    margin-right: auto;
    flex: 1;
}


.nav-options {
    margin-left: auto;
    flex: 1;
}

.nav-options > ul {
    justify-content: flex-end;
}

.main-nav {
    justify-content: center;
}

.ms_lay1_card_img {
    padding-bottom: 15px;
}

.footer-bottom {
    padding: 0;
}

#navbar .dropdown-menu {
    padding: 0;
    overflow: hidden;
    min-width: 0;
}

.navbar-dark .navbar-nav .show.dropdown-menu > li > a {
    padding-top: 8px;
    padding-bottom: 6px;
}

.nav-link:hover {}


.ms-Modal .ms-Dialog-main {
    border-radius: 15px;
}

.modal-delete-all,
.modal-delete-one{
    background-color: #00000080;
}



.image {
    max-width: 100%;
    border-radius: 10px;
}

img {
    border-radius: 10px;
    height: 100%;
    width: auto;
}

.navbar-brand.navbar-header {
    padding: 0;
    margin: 5px;
    border-radius: 8px;
    background-color: var(--portalThemeColor3);

}

.navbar-brand.navbar-header:hover {
    transition: 0.2s;
    box-shadow: 0 0 10px rgba(36, 36, 36, 0.5);
}

.navbar-brand.navbar-header:active {
    box-shadow: inset 0 0 10px rgba(36, 36, 36, 0.5);
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
    z-index: 3;
}

.crmEntityFormView .form-control {
    background-color: #f5f5f5 !important;
    border: none !important;
}

fieldset[aria-label="hidden_section"] {
    display: none;
}

.entitylist-filter-option-text{
    width: auto;
}
.list-inline {
    margin-bottom: 0;
}

.card {
    margin-bottom: 0;
}

/* .crmEntityFormView td.cell {
    padding: 20px 28px 0px;
    overflow: hidden;
}

.crmEntityFormView label {
    height: 0px;
}

.crmEntityFormView .form-control.hidden{
    display: none;
}

.form-control-cell .control .input-group > *,
.form-control.form-select{
    margin-top: 26px;
} */

.quickform .table-info.form-subgrid-heading{
        margin-top: 0;
}

.control>.input-group {
    align-items: stretch;
}

.input-group.disabled>button {
    display: none !important;
}
.input-group.disabled>select {
        pointer-events: none !important;
}

/* .quickform .form-control-cell{
    padding-right: 0;
    padding-left: 0;
} */

.crmquickform-cell>.table-info,
.quickform .zero-cell{
    display: none;
}

.crmquickform-cell{
    border: none;
}

.quickform {
    max-width: 100%;
}


.crmEntityFormView .form-control.readonly,
.crmEntityFormView .form-control[readonly][disabled],
.form-readonly .form-control {
    background-color: #f5f5f5 !important;
    border: 1px solid lightgrey !important;
    padding: .375rem .75rem;
    
}

.crmEntityFormView,
.modal-content,
.popover-content {
    border: 0px solid #f2f2f2 !important;
    /* box-shadow: 0 0 5px rgba(36, 36, 36, 0.5); */
    border-radius: 10px;
    /* padding: 20px; */
    margin-left: auto;
    margin-right: auto;
}

.ms-StackItem {
    padding-bottom: 0px;
}



#EntityFormControl {
    padding-top: 5px;
    padding-bottom: 5px;
}

.text-muted {
    display: none;
}

.ms-DetailsHeader {
    box-shadow: 0 0 5px rgba(36, 36, 36, 0.5);
}

.entity-timeline .note {
    border: 1px lightgray;
}

.entity-timeline .note .row {
    border: 1px lightgray;
}

.ms-Modal.is-open {
    background-color: rgba(0, 0, 0, 0.3);
}

iframe {
    padding: 0 !important;
    border-radius: 10px;
}


.page-title {
    padding: 0 !important;
    margin: 0 !important;
}

.static-top.navbar .menu-bar>.navbar-nav>.divider-vertical {
    display: none;
}

.crmEntityFormView .section-title.show-bar {
    border: 0px;
}

.input_cell {
    /* padding: 0 0 20px; */
}

.navbar-dark .navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000000'  stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.btn-close {
    text-align: center;
}

.validation-summary h2 {
    margin: 0 0 1em 0;
    padding: 0;
    font-size: 1.2em;
}

.listPage {
    max-height: calc(100% - 170px);
}

.listPage .columnBlockLayout {
    margin: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.root-187 {
    max-height: calc(100vh - 220px);
}

.wrapper-body {
    min-height: calc(100% - 120px);
}

body>form {
    min-height: calc(100% - 120px);
}

.page-title {
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
    min-height: auto;
    padding: 0px;
    height: 46px;
}

.textarea,
textarea {
    resize: none !important;
    min-height: calc(8em + .75rem + 2px) !important;
}

.crmEntityFormView div.description.above {
    margin-bottom: 20px;
}

.attachment-section {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.attachment-container {
    padding: 0 28px 20px;
}

.attachment {
    display: block;
    border-radius: 10px;
    /* margin: 20px; */
    /* width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto; */
    max-width: 100%;
    max-height: 300px;
}

.captcha {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.list-group-item.active {
    border-radius: 7px !important;
    background-color: var(--portalThemeColor1);
    border: none;
}

.progress.list-group {
    border-radius: 7px;
}

.section-title {
    padding: 0 28px 20px;
    border-bottom: 0;
}

.section-title > h3 {
    font-size: 20px;
}

fieldset:not(.quickform fieldset) {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 2px, rgba(0, 0, 0, 0.14) 0px 2px 4px;
    border-radius: 10px;
}


.boolean-radio > label {
    font-weight: bold ;
}

.crmEntityFormView .cell.boolean-radio-cell input[type=radio] {
    vertical-align: inherit;
}

.crmEntityFormView .boolean-radio label {
    font-weight: bold;
}

@media (max-width: 576px) {

    .ms-Modal .ms-Dialog-main,
    .attachment {
        width: 100%;
    }

    .attachment {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

}

@media (max-width: 768px) {

    .ms-Modal .ms-Dialog-main,
    .attachment {
        width: 100%;
    }

    .attachment {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

}

@media (max-width: 992px) {

    .ms-Modal .ms-Dialog-main,
    .attachment {
        width: 100%;
    }

    .attachment {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@media (max-width: 1199.98px) {
    .nav-logo:not(.mobile),
    .siteTitle:not(.mobile){
        display: none;
    }
    .container{
        max-width: 100% !important;
    }
}


@media (min-width: 993px) {
    #EntityFormPanel.crmEntityFormView,
    /* .crmEntityFormView:not(#WebFormPanel), */
    .modal-content,
    .popover-content {
        /* max-width: 50%; */
    }


    .attachment-section {
        /* max-width: 50%; */
    }

    
}

.nav-logo.mobile{
    text-align: center;
}

@media (min-width: 1200px) {
    .nav-logo.mobile{
        display: none;
    }


    #navbar > .menu-bar {
        display: flex;
        width: 100%;
        margin: 0 !important;
        align-items: center;
    }
}

