/*
* ELEMENTS
*/

a,
a:hover,
a:focus {
    color: blue;
    text-decoration: underline;
}

    a.footer-left {
        text-align: center;
        font-size: 2.5rem;
        margin-top: -2px;
    }

    a.footer-right {
        text-align: center;
    }


body {
    font-family: Calibri, Arial, Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-weight: 300;
    font-style: normal;
    font-size: 1.125rem;
    margin: 0px;
    min-width: 320px;
    position: relative;
    color: #414141;
    line-height: 1.25;
}


fieldset,
.crmEntityFormView fieldset {
    margin: 0px;
}
    fieldset[aria-label=Hidden] {
        display: none;
    }



figure {
    float: right;
    clear: both;
    text-align: center
}


figcaption {
    font-style: italic;
    font-weight: bold;
}


footer {
    z-index: -1;
}


html {
    font-size: 16px;
}


input[type=file] {
    font-size: 0.9rem;
}

input.text.form-control.lookup.form-control:not([readonly="readonly"]) {
    background-color: white;
}


label {
    color: #414141;
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 3px;
}


legend {
    font-size: 1.7rem;
}



th {
    font-weight: 300;
}



/*
* UNIQUE STYLES
*/
#btnSave {
    margin-right: 4px;
}


div[id*='WebFormControl'][id*='ProgressIndicator'] > ol.progress.list-group > li {
    cursor: pointer;
}


div[id*='WebFormControl'][id*='ProgressIndicator'] > ol.progress.list-group .glyphicon {
    display: none;
}


div[id*='WebFormControl'][id*='ProgressIndicator'] {
    padding-top: 15px;
    padding-bottom: 5px;
}


/*
* CLASSES
*/

.breadcrumb {
    background-color: #f4f4f4;
    box-shadow: 0.4rem 0.4rem 1rem 0.1rem rgba(58,59,69,.15);
    border-radius: 0.5rem;
    border-width: 1px;
    border-style: solid;
    border-color: #efeff0;
}

.breadcrumb {
    margin-bottom: 5px;
}



.btn-group {
    margin-right: 12px;
}

.btn {
    padding: 10px 20px;
    border: 0px;
    font-weight: 300;
}
.btn-xs {
    padding: 0px 5px 0px 5px;
}
.btn-hg {
    padding: 7px 12px;
}
.btn-default {
    color: #FFFFFF;
    background: #40657E;
    border-color: #2e495c;
}
    .btn-default:hover {
        color: #2e495c;
        border-color: #2e495c;
    }
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active:focus {
    padding: 10px 20px;
    color: #FFFFFF;
    background: #40657E;
    border: 0px;
}
    .btn-primary:disabled,
    .btn-primary.disabled:hover,
    .btn-primary.disabled:focus,
    .btn-primary.disabled.focus,
    .btn-primary[disabled]:hover,
    .btn-primary[disabled]:focus,
    .btn-primary[disabled].focus,
    fieldset[disabled] .btn-primary:hover,
    fieldset[disabled] .btn-primary:focus,
    fieldset[disabled] .btn-primary.focus {
        background-color: #a9b3ba;
        border-color: #a9b3ba;
        color: #000000;
    }
.btn-info, .btn-info:hover {
    background-color: #2e495c;
    border-color: #2e495c;
}


.cell,
.crmEntityFormView .cell,
html[dir=ltr] .crmEntityFormView .cell.checkbox-cell:first-child {
    padding: 0px 28px 12px 0px;
}
.zero-cell,
.crmEntityFormView .zero-cell {
    padding: 0px;
}


.col-md-4.col-sm-12.col-xs-12.text-left {
    width: 600px;
}


.clearlookupfield,
.launchentitylookup {
    padding: 6px 12px;
}


.control .text-muted {
    display: none;
}


.crmEntityFormView .cell .boolean-radio-cell input[type=radio]:focus {
    outline: 1px dotted #212121;
    outline: 5px auto -webkit-focus-ring-color;
}


.crmEntityFormView .cell.boolean-radio-cell input[type=radio] {
    vertical-align: middle;
    margin: 0px 4px 0px 8px;
}

.crmEntityFormView .boolean-radio label {
    font-weight: 300;
}

.crmEntityFormView .form-control.readonly,
.textarea.form-control.readonly,
.text.form-control.readonly,
.aspNetDisabled.text.form-control.lookup.form-control,
.crmEntityFormView .form-control[readonly][disabled],
.form-readonly .form-control {
    border-style: solid;
    border-width: 1px;
    border-color: #bbb;
    padding-left: 12px;
    padding-right: 12px
}


.customCard > h5 {
    margin-top: 0px;
}

.customCard, .entity-form, .entity-grid.entitylist, table[data-name="tab_3_section_1"] .subgrid-cell, table[data-name="tab_3_section_2"] .subgrid-cell {
    background-color: #f4f4f4;
    box-shadow: 0.4rem 0.4rem 1rem 0.1rem rgba(58,59,69,.15);
    border-radius: 0.5rem;
    border-width: 1px;
    border-style: solid;
    border-color: #efeff0;
    padding-top: 10px;
    padding-left: 28px;
    padding-right: 10px;
    margin-bottom: 20px;
    border-bottom-width: 20px;
}

    .customCard a {
        text-decoration: underline;
    }


.customButtonCopy {
    overflow: auto;
    padding-bottom: 10px;
}

    .customButtonCopy .btn:first-child {
        margin-right: 5px;
    }


.customFooterCopyright {
    font-size: 1rem;
    margin-top: 4px;
}


.entity-grid .message {
    margin: 0px;
}


div.entity-notes .attachment {
    border-style: none;
    padding: 0px;
}

.entity-notes a.addnote {
    float: left;
}

.entity-notes .note {
    margin-bottom: 0px;
    border-top: none;
    padding-top: 0px;
}


span.fa-check::before {
    position: relative;
    top: -3px;
}


.footer {
    margin-top: 24px;
}
div.footer-bottom {
    padding: 20px 0px 10px 0px;
}


.form-control {
    box-sizing: border-box;
    border: solid 1px #A9A9A9;
    border-radius: 0px;
    width: 100%;
    padding: 6px 8px 6px 8px;
    color: #666666;
    font-size: 1rem;
    font-weight: 300;
    line-height: 21px;
    background: #FFFFFF;
    outline: none;
    appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

    .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: #c8c8c8;
        opacity: 1; /* Firefox */
    }

    .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: #c8c8c8;
    }

    .form-control::-ms-input-placeholder { /* Microsoft Edge */
        color: #c8c8c8;
    }


.hiddenfield {
    display: none;
}




.list-group-item-success {
    color: #000;
    background-color: #d2e956;
    background: 0 0;
    background-color: rgba(0, 0, 0, 0);
    background-position-x: 0px;
    background-position-y: 0px;
    background-repeat: repeat;
    background-attachment: scroll;
    background-image: none;
    background-size: auto;
    background-origin: padding-box;
    background-clip: border-box;
    border: none;
}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    z-index: 2;
    color: #fff;
    background-color: #2e495c;
    border-color: #2e495c;
}


.menubar-left, .menubar-right {
    display: inline-block;
    width: 49%;
}

.menubar-right {
    text-align: right;
}

.menubar-centre {
    float: left;
    width: 50%;
    align-content: center;
    text-align: center;
}
/* Contain header images at smaller resolutions to menubar-x containers */
.menubar-image {
    width: 100%;
    height: 100%;
}
/* Enforce max size to svg native width / same height at larger resolutions */
.menubar-left .menubar-image {
    height: 50px; /*source svg is only 42px, will force it larger for now, replace svg with larger native one later*/
    max-width: 300px;
    max-height: 50px;
}

.menubar-right .menubar-image {
    max-width: 215px;
    max-height: 50px;
}


/*** Multiple choice optionset ***/
.msos-container {
    font: unset !important;
}
.msos-selection {
    max-height: unset !important;
}
.msos-label .msos-label-text {
    font-weight: unset !important;
}
.msos-glyph {
    font-weight: bold;
}


.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    background-color: #2e495c;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    background-color: #2e495c;
    color: #fff;
}

.navbar-inverse .navbar-nav > li > a:focus {
    color: #fff;
}

.navbar-toggle {
    background-color: #2e495c;
    display: none; /* hide hamburger menu for mobile */
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #2e495c;
}

.navbar-header, .navbar-brand {
    width: 100%;
}

.navbar-brand {
    height: 50px;
}

.navbar.navbar-inverse.navbar-static-top {
    background-position: 100% 33%;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
}

.navbar-nav > li > a {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    padding-left: 10px;
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
    margin-top: 5px;
}


.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #40657e;
    background-color: #f4f4f4;
    border-color: #dee2e6 #dee2e6 #f4f4f4 #dee2e6;
    font-weight: 400;
}

#navbar .navbar-right .username {
    font-size: 0.85em;
}


.note-actions {
    padding-top: 10px;
}

label[for=notescontrol] {
    font-size: 1.7rem;
}

.note .row .metadata {
    display: none;
}



.page-copy {
    margin-top: 10px;
}


.page-footer {
    margin-top: 0px;
    bottom: 0;
    width: 100%;
    color: white;
    background-color: #2e495c;
    padding-top: 10px;
    text-align: center;
}

    .page-footer a, .page-footer a:hover, .page-footer a:focus {
        color: inherit;
    }


.panel {
    background-color: transparent;
    border-width: 2px;
    border-color: #ddd;
}

.panel-default > .panel-heading {
    border-width: 2px;
    border-color: #ddd;
}

.panel-title {
    color: #40657E;
    margin-bottom: 8px;
}
/* Branding page for sub-panels*/
.panel-group .panel + .panel {
    margin-top: 0px;
}
/*Override primary panel heading to match theme*/
.panel-primary > .panel-heading {
    color: #fff;
    background-color: #2e495c;
    border-color: #2e495c;
    border-radius: 10px;
}


.progress {
    font-size: 1.2rem;
    background-color: #f4f4f4;
    box-shadow: 0.5rem 0.5rem 1rem 0.1rem rgba(58,59,69,.15);
    border-radius: 0.5rem;
    border-width: 1px;
    border-style: solid;
    border-color: #efeff0;
}

    .progress.list-group.top {
        margin-bottom: 10px;
    }


.row {
    display: block;
}


.tab,
.crmEntityFormView .tab {
    margin-bottom: 0px;
}


table.section {
    width: 100%;
    margin-bottom: 12px;
}

.table thead {
    background-color: #E1E1E1;
}

.section-title {
    margin-bottom: 12px;
    padding-bottom: 5px;
    color: #40657E;
}
@media (min-width:768px) {
    .section-title {
        font-size: 2em;
    }
}


.subgrid-cell label {
    margin-top: 20px;
}


.sysAnnouncementDiv {
    padding-left: 10px;
    padding-top: 5px;
    width: 1170px;
    margin-right: auto;
    margin-left: auto;
}

.systemAnnouncement {
    color: red;
    font-size: 1.2rem;
    padding-top: 10px;
}


.tab-title {
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 25px;
    color: #40657E;
    font-size: 2em;
}

div.validators {
    display: inline;
}

.view-search.entitylist-search .query.form-control {
    background-color: white;
}


.webresource-main {
    margin: 0;
    font-family: Calibri, Arial, Tahoma, sans-serif;
    font-size: 1rem;
    font-weight: 300;
    width: 100%;
}

.wrapper-body {
    min-height: calc(100vh - 253px); /* set footer at the bottom */
}


/*
* JQuery UI overrides
*/
.ui-menu {
    background-color: #fff;
    padding-left: 14px;
}

.ui-menu-item {
    list-style: none;
}

.ui-menu-item-wrapper {
    color: #666666;
    font-family: Calibri, Arial, Tahoma, sans-serif;
    font-size: 1rem;
    font-weight: 300;
}
