:root {
    --text-color        : #202020;;
    --grey              : #818181;
    --lightish-grey     : #efeff4;
    --light-grey        : #f6f6f6;
    --mid-grey          : #c7c7c7;
    --white             : #ffffff;
    --esign-purple      : #9953bc;
    --esign-orange      : #e7b306;
    --esign-green       : #48bc0c;
    --esign-blue        : #02a2bb;
}

.text-grey {
    color: var(--grey);
}
.mb-1{
    margin-bottom: 1em !important;
}
.mb-2{
    margin-bottom: 2em !important;
}
.mt-1{
    margin-top: 1em !important;
}
.mt-2{
    margin-top: 2em !important;
}
.p-1{
    padding: 1em !important;
}
.p-2{
    padding: 2em !important;
}
.bg-white{
    background: var(--white) !important;
}
.text-left{
    text-align: left !important;
}
.list-block ul.documents-content-list {
    background: var(--white) !important;
    margin-bottom: 5em;
}
.document-next-button, .center-button{
    text-align: center;
}
.android .toolbar-fixed .page-content.document-form-content {
    padding-top : 64px !important;
    padding-bottom: 64px !important;
    margin-top: 0 !important;
}

.document-form-content, .document-pdf-content, .document-video-content{
    padding-top: 10px !important;
}
.document-form-content, .document-pdf-content {
    padding-bottom : 168px;
}
.android .toolbar-fixed .page-content.document-form-content {
    padding-bottom : 120px !important;
}

.document-page-title{
    line-height: 50px;
}
.full-width{
    width:100%;
}
.item-progress{
    margin-top: 1em;
}
progress{
    width : 100%;
    height : 30px;
}
.item-subtitle{
    margin-top:1em;
}
.accept-sign{
    /* height: 180px;
    border: 3px solid var(--mid-grey);
    border-radius: 40px; */
    display : block;
    width : 100%;
    margin : 2rem auto 1rem;
}
.clear-btn-holder {
    text-align : right;
    margin : .3rem 0 1rem auto;
    display : block;
    width : 100%;
}
.clear-btn {
    text-align: center;
    padding: 10px 30px;
    background: #aaa;
    font-weight: 200;
    font-size: .84rem;
    border-radius: 20px;
    color: var(--white);
    border: none;
}
.signable {
    display : block;
    width : 100%;
    height : 180px;
    border : var(--mid-grey) 2px dotted;
    border-radius : 30px;
    position : relative;
}
.signable-msg {
    color : var(--mid-grey);
    font-weight: 200;
    padding-top : .3rem;
    width : 100%;
    text-align: left;
}
.signable canvas {
    /* width: 100% !important; */
    /* display: block; */
    /* background-color : #efefef; */
    background : transparent;
}

img.signature-preview {
    width: 100%;
    top : 0;
    left : 0;
    position : absolute;
    object-fit: contain;
}
.mt-4{
    margin-top: 4em;
}

/* .doc-btn{
    width:100% !important;
    border-radius: 30px !important;
    background: rgb(31 80 84);
} */

.doc-btn {
    width:100% !important;
    border-radius: 30px !important;
    background: var(--esign-blue);
}


.document-previous{
    /* background: rgb(107 107 107) !important; */
}

.rocket-style-documents-popup {
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

/*
.rocket-style-documents-popup {
	background-image: url(../../img/hero_background_documents.png);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
} */

.page-header-documents{
    font-size: 3em;
    text-align: center;
    font-weight: lighter;
    line-height: 1.25em;
    padding: 1.5em 0 .5em;
}
.page-body-documents{
    font-size: 1.3em;
    text-align: center;
}
.document-step{
    height: 88vmax;
    position: relative;
}
.document-step-form{
    width: 100%;
    width: -webkit-fill-available;
    padding-top: 2em;
}
/* .document-step-form{
    position: absolute;
    bottom: 0;
    width : 100%;
    width: -webkit-fill-available;
} */
.page-inner{
    /* background: none !important; */
}
.form-group__input__documents{
    border-radius: 30px !important;
    padding: 1.1em !important;
    font-family: sans-serif;
    background: var(--lightish-grey);
    display:block !important;
    width:100%;
    margin:10px 0px;
    box-sizing:border-box;
    -webkit-appearance: none !important;
    border:1px solid --var(--mid-grey);
	font-size:16px;
	color: var(--text-color);
}
progress[value]::-webkit-progress-bar {
    background-color: var(--lightish-grey);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(20, 20, 20, 0.25) inset;
}

.toolbar-document {
    height: 80px;
    border-top: 1px solid var(--lightish-grey);
    background : var(--white);
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 9999;
}
.toolbar-document .app-button {
    padding : 15px 10px;
}
.toolbar-document .row.paginate-holder {
    padding : 10px;
}

.doc-signed {
    background : var(--light-grey);
    font-weight: 200;
    font-size: .9em;
    padding : 1rem;
    border : 1px solid var(--mid-grey);
    color : var(--text-color);
    position : relative;
    width : 100%;
    display : block;
    margin-bottom : 1rem;
    border-radius : 20px;
}
.doc-signed img.signature {
    max-height : 90px;
}
img.signature {
    max-height: 120px;
    object-fit: contain;
}

label.document-form-label {
    display : block;
    font-weight: 700;
    width : 100%;
    margin : 1rem 0 .5rem;
}

ul.no-list-style {
    list-style: none;
    padding : 0;
}
.doc-checkbox, .doc-radio {
    padding : .5rem 0;
}
.doc-checkbox-title, .doc-radio-title {
    padding: 6px 0 0 0;
    vertical-align: bottom;
    display: inline-block;
    position: relative;
}

.doc-radio-title {
    padding-left: 0;
}

input[type="radio"].--radio {
    margin: 18px 0 0;
}

.is-required {
    color : #c02923;
    font-weight: 200;
}

.toolbar.toolbar-hidden {
    display: none;
}

video#video-player {
    object-fit: cover;
    width: 100%;
}

.android .toolbar-fixed .page-content.document-pdf-content {
    padding-top: 20px !important;
}

div#PDFViewerContainer {
    position: absolute;
    width: 100%;
    height: calc(100vh - 150px);
    top: 55px;
    left: 0;
    background : var(--mid-grey);
    padding : 6px;
}
div#PDFViewerContainer.android {
    height: calc(100vh - 178px);
    top: 72px;
}
div#PDFViewerContainer.is-complete {
    top: 225px;
}
div#PDFViewerContainer.android.is-complete {
    height: calc(100vh - 178px);
    top: 236px;
}
div#PDFCanvasContainer {
    position: relative;
    height: 100%;
    width : 100%;
}
canvas#PDFViewer {
    width: calc(100% - 12px);
    position : absolute;
    top : 0;
    left : 0;
    /* height: calc(100% - 12px); */
}

.esign-popup div#PDFViewerContainer {
    position: relative;
    height: calc(100vh - 260px);
    top: 0;
}
.esign-popup .document-pdf-content.content-block {
    padding: 0 !important;
}
.cover-pdf {
    width : calc(100% + 30px);
    margin : -1px -15px 0;
    position: relative;
    background : var(--white);
    display: block;
    z-index : 999999;
    border-bottom: 1px solid var(--lightish-grey);
}
div#pdf-progress {
    margin: 0 15px;
    width: calc(100% - 30px);
}
div#pdf-complete {
    margin: 0 15px;
    width: calc(100% - 30px);
}



/* SW */
.documents-content{
    background: var(--white);
}
.text-center{
    text-align: center;
}
.no-documents {
    background: var(--light-grey);
    width : 100%;
    border-radius: 10px;
    border: 1px solid var(--lightish-grey);
}
.no-documents p {
   padding: 5px 15px;
}
.document-wrapper{
    display: flex;
    flex-direction: column;
    min-height: 85px;
}
.document-row{
    display: flex;
    flex: 1;
    color: #000;
}
.document-columns{
    display: flex;
    flex:1;
    background: var(--white);
    width : 100%;
    border-radius: 10px;
    border: 1px solid var(--lightish-grey);
}
.document-col{
    height: inherit;
    vertical-align: middle;
    text-align: center;
    width:30px;
}
.document-type{
    width: 85px;
    order: 2;
    text-align: center;
    /* background: #ededed; */
}
.document-icon{
    padding: 0.7em;
    background: var(--white);
    margin: 0.7em;
    border-radius: 10px;
    margin-top: 0.85em;
}
.document-label{
    display: block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    color: var(--white);
    padding: 4px;
    width: 20px;
    order: 1;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    border-bottom-right-radius : 7px;
    border-top-right-radius : 7px;
}
.overall-progress {
    background: var(--white);
    margin: 10px 0 10px 5px;
    overflow: hidden;
}
.document-progress,
.document-page-progress {
    flex: 1;
    order: 3;
    /* background: #eee; */
    margin-top: 15px;
    margin-left: 10px;
    overflow: hidden;
}
.document-progress .item-title{
    font-size: 0.9em;
}
.document-progress .item-subtitle{
    margin-top: 0 !important;
    font-size: 13px !important;
}
.document-page-progress  {
    background : transparent;
}
.overall-progress .progress,
.document-page-progress .progress,
.document-progress .progress{
    /* background: white; */
    /* width: 100%;
    display: block;
    height: 22px;
    border-radius: 10px; */
    background :var(--lightish-grey);
    height: 12px; 
    border-radius: 6px;
}
.document-page-progress .progress .bar,
.document-progress .progress .bar,
.overall-progress .progress .bar {
    display: block;
    height: inherit;
    /* border-radius: 10px; */
    border-radius: 6px;
}
.overall-progress .progress {
    background :var(--lightish-grey);
    height: 12px; 
    border-radius: 6px;
}
.overall-progress .progress .bar {
    border-radius: 6px;
}
.item-status{
    background:var(--text-color);
}
.status--New{
    background: var(--esign-purple);
}
.status--Progress{
    background: var(--esign-orange);
}
.status--Complete{
    background: var(--esign-green);
}
.full-width{
    width:100%;
}
.text-white{
    color: var(--lightish-grey) !important;
}

.document-page-progress .progress {
    background: var(--lightish-grey);
}
.list-block.media-block::after {
    background-color : transparent !important;
    display : none !important;
}

/* fix for navbar moving on android */
.page-content.documents-content.content-block {
    overflow: scroll;
    display: block;
}
.irs-page {
    position : fixed;
}

.esign-page {
    padding-top: 40px;
}
.esign-page.esign-form {
    padding-bottom: 80px;
}

.content-block._school-esign-iframe-page-content {
    padding : 0 !important;
}

.esign-header {
    background: var(--white);
    border-radius: 10px;
    margin: 5px 0 15px;
    text-align: center;
}

.esign-tabs {
    height: 48px;
    line-height: 48px;
    background: var(--light-grey);
}
.tabs.esign-tabs .tab {
    display: block;
    background: var(--light-grey);
}
.esign-tabs .tab {
    font-weight: bolder;
    color: var(--grey);
}
.esign-tabs .tab:first-child {
    border-bottom-left-radius: 10px;
}
.esign-tabs .tab:last-child {
    border-bottom-right-radius: 10px;
}

.esign-tabs .tab.active {
    color: var(--white);
    background: var(--agency-color);
}

.esign-page .-num {
    background: var(--esign-blue);
    color: var(--white);
    text-align: center;
    font-size: 11px;
    width: 24px !important;
    height: 24px !important;
    line-height: 24px;
    border-radius: 12px;
    display: inline-block;
}

#reference-form .form-control {
    border-radius: 30px;
}

#reference-form textarea.form-control {
    border-radius: 15px;
}

#reference-form .checkbox-label {
    line-height: initial;
}

#reference-form button.reference-button {
    background: var(--agency-color);
    color: var(--white);
    border-radius : 30px;
    padding: 15px 20px;
}