/* Variables */
:root {
    --vec-red: #a30134;
    --vec-blue: #0e3a6c;
    --vec-pink: #ffe3ea;
    --vec-charcoal: #39444f;
    --vec-navy-tint: #b6c3d2;
    --vec-navy-tint-dark: #8494b3;
    --vec-grey-nav: #f2f2f2;
    --vec-grey-text: #5F739B;
    --vec-error-background: #ffffd0;
}

body,
html,
p,
a {
    font-family: 'Poppins', sans-serif !important;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--vec-blue);
}


/* Navbar */
.nav-header{
    background: var(--vec-pink) !important;
}
.nav-logo {
    width: 130px;
    float:left;
}
.user-greeting {
    color: var(--vec-blue) !important;
    text-align:right;
}
.header-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--vec-blue) !important;
    margin-bottom: 4px;
}
.custom-nav-item {
    margin-bottom: -8px;
    border-bottom: 4px solid var(--vec-grey-nav);
}
.custom-nav-item a {
    margin-left: 0 !important;
}

@media (max-width: 368px) {
    .header-text-col {
        padding: 0 !important; 
    }
}

@media (min-width: 1200px) {
    .custom-nav-item {
        margin-bottom: 0px;
    }
}

@media (max-width: 768px) {
    .custom-nav-item a {
        padding: 10px 6px !important;
    }
}

@media (max-width: 1199px) {
    #progressSideNav {
        border: 2px solid var(--vec-blue);
        padding: 13px;
    }
}

@media (max-width: 992px) {
    .header-text {
        font-size: 20px;
    }
    .user-greeting {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .nav-logo {
        width: 100px;
    }
    .header-text {
        font-size: 18px;
        margin-top: 1.2rem;
    }
    .user-greeting {
        font-size: 13px;
    }
}

#navbar {
    padding: 4px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.nav-link {
    background: var(--vec-grey-nav) !important; 
    color: var(--vec-blue) !important;
    font-weight: 600;
    font-size: 17px;
}
.nav-link.active {
    font-weight: 800;
}
.nav-item.active {
    border-bottom: 4px solid var(--vec-blue);
}
.nav-link:hover, .nav-link:active, .nav-link:focus {
    background: var(--vec-grey-nav) !important;
    text-decoration: none !important;
    color: var(--vec-blue) !important;
}
/* li.nav-item::after {
    content: "/";
    display: inline;
    top: 12px;
    position: absolute;
    right: 0;
    font-weight: 600;
    font-size: 20px;
} */
/* li.nav-item:last-child::after {
    content: "";
} */

.navbar {
    background: var(--vec-grey-nav) !important;
}
.navbar-inverse .navbar-nav > li > a {
    color: #ffffff !important;
}
#navbar > nav > ul > li.divider-vertical {
    background-color: #ffffff !important;
}

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    background-color: #a42e4a !important;
    color: #ffffff !important;
}
.navbar-inverse .navbar-nav .open .dropdown-menu {
    background-color: #9f1737 !important;
}
.navbar-inverse .navbar-nav > .open > a{
    background-color: #a42e4a !important;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
    background-color: #a42e4a !important;
    color: #ffffff !important;
}
.navbar-inverse .navbar-toggle, .navbar-inverse .navbar-toggle:hover {
    background-color: #9f1737 !important;
    border: none !important;
}
.navbar-inverse .navbar-toggle:focus {
    background-color: #a42e4a !important;
    border: none !important;
}


/* Form */
#EntityFormPanel,
#WebFormPanel {
    border: none !important;
}
.crmEntityFormView .tab-title {
    border-bottom: none !important;
    margin-bottom: 2rem;
}

/* Section */
.section-title {
    margin-left: 28px;
}
.section-title h3 {
    font-weight: 600;
}
@media (max-width: 768px) { 
    .section-title {
        margin-left: 0px;
    }
}
.form-info-text > *{
    font-size: 16px;
    color: var(--vec-charcoal);
}
.form-info-text a {
    color: var(--vec-blue);
    font-size: 16px;
    text-decoration: underline;
}
@media (min-width: 768px) {
    .form-info-text > * {
        padding: 0 30px;
    }
}

/*
* Field Labels
*/
.field-label:has(.info-button) {
    width: 100%;
}
.info-button {
    float: right;
    border: none;
    background: var(--vec-blue);
    color: #ffffff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    margin-top: -3px;
    padding: 0;
}

.validators {
    display: none;
}
/* 
* Input fields 
*/
.field-label{
    color: var(--vec-blue) !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}
input.form-control{
    border: 2px solid var(--vec-navy-tint);
    border-radius: 2px;
    color: var(--vec-blue) !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 20px 12px !important;
    height: 60px !important;
    text-decoration: none !important;
}
input.form-control:focus{
    border: 2px solid var(--vec-blue);
}
input.form-control::placeholder,
input.form-control::-webkit-input-placeholder {
    color: var(--vec-grey-text) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}
input:focus::placeholder, 
input:focus::-webkit-input-placeholder {
    color: transparent !important;
}
input[type="text"]:read-only, 
input[type="text"]:disabled,
input[type="email"]:disabled {
    color: var(--vec-charcoal) !important;
    background-color: var(--vec-grey-nav) !important;
    cursor: not-allowed !important;
    border: 2px solid var(--vec-navy-tint) !important;
}

textarea.form-control{
    border: 2px solid var(--vec-navy-tint);
    border-radius: 2px;
    color: var(--vec-blue) !important;
    font-weight: bold;
    font-size: 15px !important;
    padding: 20px 12px !important;
    text-decoration: none !important;
    resize: none !important;
}
textarea.form-control:focus{
    border: 2px solid var(--vec-blue);
}
textarea:disabled {
    color: var(--vec-charcoal) !important;
    background-color: var(--vec-grey-nav) !important;
    cursor: not-allowed !important;
    border: 2px solid var(--vec-navy-tint) !important;
}
input[type="textarea"]:read-only {
    background-color: var(--vec-grey-nav) !important;
    cursor: not-allowed !important;
}

select.form-control {
    border: 2px solid var(--vec-navy-tint);
    border-radius: 2px;
    color: var(--vec-blue) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    height: 60px !important;
}
select.form-control:focus {
    border: 2px solid var(--vec-blue) !important;
}
select option {
    color: var(--vec-blue) !important;
    font-style: normal !important;
}
select:disabled {
    color: var(--vec-charcoal) !important;
    background-color: var(--vec-grey-nav) !important;
    cursor: not-allowed !important;
}

/* Field description */
.description.above {
    color: var(--vec-grey-text);
    font-size: 13px;
}

/* Form action */
input[type="button"].submit-btn,
.custom-btn {
    width: 180px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 2.12857 !important;
    padding: 10px 10px !important;    
    background-color: var(--vec-red) !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    position: relative !important;
}
@media (min-width: 768px) {
    input[type="button"].submit-btn,
    .custom-btn {
        /* margin-left: 30px; */
    }
}
input[type="button"].submit-btn:hover,
.custom-btn:hover {
    background-color: var(--vec-blue) !important;
    color: #ffffff !important;
    outline: none !important;
}
input[type="button"].submit-btn:focus,
.custom-btn:focus {
    outline: none !important;
}
input[type="button"].submit-btn[disabled],
.custom-btn[disabled] {
    background-color: var(--vec-navy-tint-dark) !important;
}
input[type="button"].submit-btn[disabled]:hover,
.custom-btn[disabled]:hover {
    background-color: var(--vec-navy-tint-dark) !important;
}
.custom-btn-secondary {
    background-color: var(--vec-blue);
}
.custom-btn-outlined {
    background-color: #ffffff !important;
    color: var(--vec-blue) !important;
    border: 2px solid var(--vec-blue) !important;
}
.custom-btn-outlined[disabled],
.custom-btn-outlined[disabled]:hover {
    background-color: #ffffff !important;
    color: var(--vec-navy-tint-dark) !important;
    border-color: var(--vec-navy-tint-dark) !important;
}
.entity-action-button {
    column-gap: 16px;
    max-width: 100%;
}
@media (min-width: 768px) {
    .entity-action-button {
        margin-left: 30px;
    }
}
.actions .col-md-6.clearfix {
    display: flex;
    column-gap: 8px;
}

/* Radio buttons */
input[type="radio"] {
    accent-color: var(--vec-blue);
    height: 28px;
    width: 28px;
}
.picklist.horizontal > label {
    margin-right: 18px;
    font-size: 22px;
    font-weight: 500 !important;
    color: var(--vec-charcoal) !important;
}
input[type="radio"]:checked + label {
    color: var(--vec-blue) !important;
    font-weight: 600 !important;
}   
@media(max-width:375px) {
    .picklist.horizontal > label {
        margin-right: 0;
    }
}

/* Input error message */
.error-input, .error-input:focus {
    border-color: var(--vec-red) !important;
    outline: 4px solid var(--vec-pink) !important; 
}
.error-input + .input-group-addon {
    border-color: var(--vec-red) !important;
    border-left-color: var(--vec-navy-tint) !important;
}
.error-input.picklist {
    outline: none !important;
}
.error-label {
    color: var(--vec-red) !important;
}
.input-error{
    background-color: #fff;
    color: var(--vec-red);
    border: none;
    font-size: 14px !important;
    display: flex;
    padding: 6px;
}
.checkbox-error {
    margin-left: 40px;
    padding-top: 10px;
}
.error-text {
    display: inline !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--vec-red) !important;
    margin-bottom: 0 !important;
}
.error-textarea {
    display: inline !important;
    font-size: 15px;
    color: var(--vec-red) !important;
    margin-bottom: 0 !important;
}
.input-error .material-icons-outlined, .input-error .material-icons {
    font-size: 15px !important;
    color: var(--vec-red) !important;
    margin-right: 4px;
    margin-top: 3px;
}
.datetimepicker.error-input input {
    border-color: var(--vec-red);
}
.datetimepicker.error-input .input-group-addon {
    border-color: var(--vec-red);
    border-left-color: var(--vec-navy-tint);
}
span.icon-calendar.iconBorder {
    padding: 14.8px 12px;
}

/* Global Error */
#ValidationSummaryEntityFormView {
    background-color: var(--vec-pink);
    color: var(--vec-blue);
    border-color: var(--vec-red);
}
#ValidationSummaryEntityFormView > a {
    color: var(--vec-blue);
}
.error-div {
    display: flex;
    column-gap: 8px;
    border: 1px solid var(--vec-red) !important;
    background-color: var(--vec-pink) !important;
    color: var(--vec-red) !important;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.error-div p {
    font-size: 16px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .error-div {
        margin: 30px;
    }
}

/* Actions */
.actions {
    border-top: none !important;
}

/* Footer */
.footer-bottom {
    background-color: var(--vec-grey-nav) !important;
    margin-top: 6rem !important;
}
.footer-bottom .col-md-9 {
    width: 100%;
}
@media (max-width: 768px) {
    .footer-p.footer-text {
        width: 100%;
        margin-top: 18px;
        text-align: center;
    }
}
a.footer-link {
    color: var(--vec-blue) !important;
}
a.footer-link:hover {
    color: var(--vec-red) !important;
    text-decoration: underline !important;
}
.footer-p.footer-text {
    color: var(--vec-charcoal) !important;
    font-size: 16px !important;
}

/* Styles for checkbox on Entity forms */
/* @media only screen and (min-width:768px){
    .checkbox-cell{
        padding-left:3rem !important;
        padding-bottom:2rem !important;
    }
} */

#mainContent {
    min-height: 70vh;
}

.bootbox .btn-close {
    font-size: 16px;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

.info-div {
    display: flex;
    align-items: start;
    justify-content: start;
    column-gap: 8px;
    background: #fff;
    border: 1px solid var(--vec-blue);
    border-radius: 4px;
    padding: 12px 20px;
    margin: 30px 0;
    font-size: 15px;
}
@media (min-width: 768px) {
    .info-div {
        margin:0 30px 30px 30px;
    }
}

/* Custom Checkbox */
.entity-form .custom-checkbox input[type="checkbox"]{
    position: absolute;
    opacity: 0;
}
.entity-form .custom-checkbox .control .checkbox {
    width: 100%;
    display: flex;
    align-items: start;
}
.entity-form .custom-checkbox .checkmark {
    width: 35px;
    height: 30px;
    flex: 0 0 30px;
    background: #ffffff;
    border: 2px solid var(--vec-blue);
    border-radius: 2px;
    position: relative;
    margin-right: 12px;
}
.entity-form .custom-checkbox .checkmark.disabled-checkbox {
    background-color: var(--vec-grey-nav);
    border-color: var(--vec-navy-tint);
    cursor: not-allowed;
    /* pointer-events: none;
    touch-action: none; */
}
.entity-form .custom-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: var(--vec-pink);
}
.entity-form .custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
    content: "";
    position: absolute;
    left: 9px;
    top: 1px;
    background: var(--vec-pink);
    width: 10px;
    height: 20px;
    border: solid var(--vec-blue);
    border-width: 0 4px 4px 0;
    border-radius: 2px;
    transform: rotate(45deg);
}
.entity-form .custom-checkbox label {
    position: relative;
    cursor: pointer;
    padding: 0;
    color: var(--vec-charcoal);
    font-size: 16px;
    font-weight: 500;
}
.entity-form .custom-checkbox label.disabled-checkbox {
    color: var(--vec-navy-tint);
    /* pointer-events: none;
    touch-action: none; */
}
.entity-form .custom-checkbox input[type="checkbox"]:checked ~ label {
    color: var(--vec-blue);
    font-weight: 600;
}
.entity-form .custom-checkbox input[type="checkbox"]:checked + .checkmark:before {
    background: var(--vec-pink);
}

/* Privacy text */
.privacy-text p,
.privacy-text ul,
.privacy-text ol {
    font-size: 15px;
}
.privacy-text p a {
    color: var(--vec-blue);
    text-decoration: underline;
}