﻿@font-face {
    font-family: 'aramis';
    src: url('../fonts/aramis/aramisi.ttf');
}

@font-face {
    font-family: 'marck-script';
    src: url('../fonts/marck-script/MarckScript-Regular.ttf');
}

@font-face {
    font-family: 'terry-script';
    src: url('../fonts/terry-script/ter1.ttf');
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
    cursor: not-allowed;
}

.aramis {
    font-family: aramis
}

.marck-script {
    font-family: marck-script
}

.terry-script {
    font-family: terry-script
}


#action-bar-wrapper, #action-bar-bottom-wrapper, #action-bar-wrapper .icon-menu {
    background-color: #0078D7 !important;
    color: #FFFFFF !important;
}

#eSig-link {
    padding-left: 35px;
    margin-top: -7px;
}

#action-bar-wrapper #eSig-link span, #action-bar-wrapper #eSig-link span a {
    font-size: 12px;
    color: #FFFFFF !important;
}

    #action-bar-wrapper #eSig-link span a {
        text-decoration: underline;
    }

#action-bar-wrapper {
    min-height: 48px;
}

    #action-bar-wrapper .wrapper {
        position: relative;
        padding: 7px 24px;
        max-width: 1200px;
        margin: 0 auto;
    }

    #action-bar-wrapper .title1 {
        color: #FFFFFF;
        font-size: 18px;
        padding-right: 6px;
    }

    #action-bar-wrapper .title2 {
        color: #FFFFFF;
        font-size: 12px;
        padding-left: 0px;
    }

#action-title {
    margin-top: 3px;
    margin-bottom: 5px;
}

/* Welcome Header */
#welcome-wrapper {
    margin: 0;
    border: none;
    background: #fff;
}

    #welcome-wrapper .sub {
        margin-top: 8px;
        font-size: 13px;
    }


    #welcome-wrapper .wrapper {
        padding: 18px 24px 6px 24px;
        max-width: 1200px;
        margin: 0 auto;
        min-height: 100px;
    }

    #welcome-wrapper .logo {
        margin: 4px 15px 0 36px;
        float: right;
        width: auto;
        height: auto;
    }

        #welcome-wrapper .logo img {
            float: right;
            max-width: 170px;
            max-height: 60px;
            margin-bottom: 5px;
        }

.title {
    font-weight: 700;
    color: #333;
    font-size: 22px;
    margin-bottom: 10px;
    margin-top: 0;
    padding-right: 6px;
    line-height: normal;
}

/* Welcome Overlay */
#overlay-container {
    position: static;
    direction: ltr;
}

#container, #envelope {
    width: 100%;
    overflow: hidden;
}

    #envelope .overlay, #guided-forms .overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: block;
        background-color: #000;
        opacity: .57;
        filter: "alpha(opacity=57)";
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=57)";
        z-index: 10;
    }

/* Welcome Footer */
.fixed-bottom {
    min-height: 35px;
    bottom: 0;
}

.fixed-bottom, .fixed-top {
    left: 0;
    right: 0;
    z-index: 11;
}

#footer-wrapper {
    border-top: 1px solid #cecece;
    line-height: 35px;
    font-size: 10px;
    background: #e9e9e9;
}

#footer {
    padding: 0 24px;
}

#footer-wrapper .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#footer-wrapper .nav {
    position: relative;
    display: flex;
    text-align: right;
    color: #666;
}

.logo-wrapper {
    line-height: 34px;
}

.logo-wrapper, #footer-wrapper .wrapper {
    font-size: 10px;
}

#footer-wrapper .nav .footer-items {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer-wrapper .logo {
    vertical-align: middle;
    height: 19px;
    width: auto;
}

#footer-wrapper .nav .footer-items .footer-item-wrapper {
    font-family: inherit;
    display: inline-block;
    font-size: 10px;
    color: #333;
}

#footer-wrapper .nav .footer-items .footer-item-link {
    font-family: inherit;
    display: inline-block;
    font-size: 10px;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

#footer-wrapper .nav .footer-items .footer-item-wrapper .footer-item-text {
    padding: 8px 0, 0px, 0px;
}

.logo {
    color: inherit;
    height: 28px;
    vertical-align: middle;
    width: 28px;
    margin-left: 3px;
}

.clear-float {
    clear: both;
}

#consents {
    margin-left: 50px;
    max-height: 70px;
    overflow: hidden;
    overflow-y: auto
}

.consent-row {
    line-height: 1.1;
}

.consent-title {
    font-weight: 700;
    margin-left: 25px;
    font-size: 14px;
}
.consent-msg {
padding:5px;
}
.consent-status {
    font-size: 14px;
    padding-right: 6px;
}

    .consent-status.Pending {
        color: #bdbdbd;
    }

    .consent-status.Current {
        color: #ffc107;
        font-weight: 700;
    }

    .consent-status.Signed {
        color: #4CAF50;
    }

.consent-name {
    font-size: 14px;
    padding-right: 6px;
}

    .consent-name.Pending {
        color: #000;
        color: #bdbdbd;
    }

    .consent-name.Current {
        color: #000;
    }

    .consent-name.Signed {
        color: #000;
    }

.error {
    margin-top: .25rem;
    font-size: 14px;
    color: #dc3545;
}

.error-sig {
    border: 1px solid #dc3545 !important;
}

.hidden {
    display: none;
}

.flex-fill {
    flex: 1 1 auto !important;
}

div.content {
    padding: 2em;
    background-color: #fff;
    border-left: 1px solid gainsboro;
    border-right: 1px solid gainsboro;
    border-top: 1px solid gainsboro;
    border-bottom: 2px solid #ccc;
    border-radius: 8px;
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.gap-2 {
    gap: .5rem !important;
}

.d-grid {
    display: grid !important;
}
.gray-link {
color:dimgray;
}
.modal {
    overflow: auto !important;
}

/* Please wait Spinner */
.wait-title {
    font-size: 2rem;
    font-weight: bold;
    width: 50%;
    text-align: center;
    padding: 2px;
    margin: 0 auto;
    margin-bottom: 1rem;
}
.center-parent {
    margin-top: 50px;
    width: 100%;
    text-align: center;
    padding: 7px;
}

.center-child {
    width: calc(1% + 200px);
    text-align: center;
    padding: 2px;
    margin: 0 auto
}
.loader {
    --background: linear-gradient(135deg, #a1d5ff, #0078D7);
    --shadow: rgba(39, 94, 254, 0.28);
    --text: #6C7486;
    --page: rgba(255, 255, 255, 0.36);
    --page-fold: rgba(255, 255, 255, 0.52);
    --duration: 3s;
    width: 200px;
    height: 140px;
    position: relative;
}

    .loader:before, .loader:after {
        --r: -6deg;
        content: "";
        position: absolute;
        bottom: 8px;
        width: 120px;
        top: 80%;
        box-shadow: 0 16px 12px var(--shadow);
        transform: rotate(var(--r));
    }

    .loader:before {
        left: 4px;
    }

    .loader:after {
        --r: 6deg;
        right: 4px;
    }

    .loader div {
        width: 100%;
        height: 100%;
        border-radius: 13px;
        position: relative;
        z-index: 1;
        perspective: 600px;
        box-shadow: 0 4px 6px var(--shadow);
        background-image: var(--background);
    }

        .loader div ul {
            margin: 0;
            padding: 0;
            list-style: none;
            position: relative;
        }

            .loader div ul li {
                --r: 180deg;
                --o: 0;
                --c: var(--page);
                position: absolute;
                top: 10px;
                left: 10px;
                transform-origin: 100% 50%;
                color: var(--c);
                opacity: var(--o);
                transform: rotateY(var(--r));
                -webkit-animation: var(--duration) ease infinite;
                animation: var(--duration) ease infinite;
            }

                .loader div ul li:nth-child(2) {
                    --c: var(--page-fold);
                    -webkit-animation-name: page-2;
                    animation-name: page-2;
                }

                .loader div ul li:nth-child(3) {
                    --c: var(--page-fold);
                    -webkit-animation-name: page-3;
                    animation-name: page-3;
                }

                .loader div ul li:nth-child(4) {
                    --c: var(--page-fold);
                    -webkit-animation-name: page-4;
                    animation-name: page-4;
                }

                .loader div ul li:nth-child(5) {
                    --c: var(--page-fold);
                    -webkit-animation-name: page-5;
                    animation-name: page-5;
                }

                .loader div ul li svg {
                    width: 90px;
                    height: 120px;
                    display: block;
                }

                .loader div ul li:first-child {
                    --r: 0deg;
                    --o: 1;
                }

                .loader div ul li:last-child {
                    --o: 1;
                }

    .loader span {
        display: block;
        left: 0;
        right: 0;
        top: 100%;
        margin-top: 20px;
        text-align: center;
        color: var(--text);
    }

@-webkit-keyframes page-2 {
    0% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    35%, 100% {
        opacity: 0;
    }

    50%, 100% {
        transform: rotateY(0deg);
    }
}

@keyframes page-2 {
    0% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    35%, 100% {
        opacity: 0;
    }

    50%, 100% {
        transform: rotateY(0deg);
    }
}

@-webkit-keyframes page-3 {
    15% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    35% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }

    65%, 100% {
        transform: rotateY(0deg);
    }
}

@keyframes page-3 {
    15% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    35% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }

    65%, 100% {
        transform: rotateY(0deg);
    }
}

@-webkit-keyframes page-4 {
    30% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    65%, 100% {
        opacity: 0;
    }

    80%, 100% {
        transform: rotateY(0deg);
    }
}

@keyframes page-4 {
    30% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    65%, 100% {
        opacity: 0;
    }

    80%, 100% {
        transform: rotateY(0deg);
    }
}

@-webkit-keyframes page-5 {
    45% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    65% {
        opacity: 1;
    }

    80%, 100% {
        opacity: 0;
    }

    95%, 100% {
        transform: rotateY(0deg);
    }
}

@keyframes page-5 {
    45% {
        transform: rotateY(180deg);
        opacity: 0;
    }

    65% {
        opacity: 1;
    }

    80%, 100% {
        opacity: 0;
    }

    95%, 100% {
        transform: rotateY(0deg);
    }
}