
body{
    background: #e1e1e1;
}

.page-container{
   display: flex;
   flex-direction: column;
   min-height: 100vh;
    position: relative;
}

.messages .success {
    background: lightgreen;
    width: max-content;
}
.errorlist li {
    width: max-content;
    list-style-type: none;
    color: red;
    margin: 0.4rem 0 0 -1.5rem;
    background: none;

}

.hide{
    display: none !important;
}

.flex-row{
    display: flex;
}

.flex-col{
    display: flex;
    flex-direction: column;
}

.center-items{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-center{
    display: flex;
    justify-content: center;
}

.right{
    float: right;
}

.navbar {
    background: radial-gradient(#3399B9, #2E8FB2, #27808A);
    display: flex;
    justify-content: space-between;
}

.navbar a {
    color: white;
}

.navbar-brand .nav-link {
    font-weight: bold;
    font-size: 1.5rem;
}

nav a.nav-link:hover,
nav a.nav-link.active {
    color: #F8C85D;
    text-decoration: underline;
    font-weight: bold;
}

.navbar-client{
    color: white;
    font-size:1.7rem;
}


.navbar.navbar-expand-lg nav a.nav-link {
    display: inline;
    font-size: .9rem;
}

.back-btn {
    font-size: 1.5rem;
    text-align: left;
    margin: 0.5rem 0 0 3rem;
    width: fit-content;
}

.back-btn:hover{
    color: #3399B9;
}

.back-btn .fa{
    margin-right: 1rem;
}

.back-btn:hover span{
    text-decoration: underline;
}


.main_container {
    background: white;
    border-radius: 20px;
    margin: 1.5rem 3rem 3rem 3rem;
    padding: 1.5rem 1em 1.5rem 2rem;
    flex-grow:1;
}



.main_left{
    width: 70%;
    margin-right: 3rem;
}

.main_right{
    width: 25%;
}

.main_left > div {
    margin-top: 2.5rem;
}

.main_left > div:first-of-type,
.main_right > div:first-of-type{
    margin-top: 1rem;
}



.page_title{
    color: #404243;
    margin: 2rem 0 0.5rem 4.5rem;
    font-size: 2.2rem;
}

.page_instruct {
    font-size: 1rem;
    margin: 1.5rem 0px 0 4.5rem;
}

.page_instruct p{
    margin: 0;
}

.sect_title{
    color: #3399B9;
    font-weight: bold;
    border-bottom: solid 1px #929c9e;
    padding-bottom: 1rem;
    padding-left: 1rem;
}

.sect_title span {
    color: #404243;
    font-weight: normal;
}

.sect_title_box{
    margin-top: 3.5rem;
    position: relative;
}

.sect_title_box > a,
.sect_title_box > div{
    position: absolute;
    right: 1.5rem;
    bottom: 0.2rem;
}

.sect_title_box a{
    text-decoration: underline;
}

.tab_instruct{
    margin: 1.5rem 0;
    font-size: .9rem;
}

td.auto_row {
    border-top: none;
    padding: 0.4rem 0 0 0;
    line-height: 3rem;
}

.auto_row a.btn {
    color: #5C6B71;
    border: none;
    text-decoration: underline;
    font-size: 1rem;
    width: 100%;
    text-align: left;
    background: #f3f3f3;
    border-top: none;
    border-radius: 8px;
    line-height: 3rem;
    padding-left: 1.5rem;
    vertical-align: 40%;
}

.main_right .sect_title {
    padding-left: 0px;
}

.recentdoc {
    border-bottom: 1px solid #929C9E;
    padding: 1.5rem 0px;
}

.recentdoc a {
    color: #116C8D;
    text-decoration: underline;
    display: block;
    text-align: left;
    padding: 0px;
    font-size: 1.2rem;
}

.recentdoc span {
    color: #5C6B71;
    font-size: 1rem;
}

.selectlbl {
    color: #333333;
    margin-left: 0.6rem;
    font-size: .9rem;
}

.fdselectbox{
    border: 2px solid #2479B6;
    height: 3rem;
    width: 27rem;
    overflow: hidden;
    border-radius: 4px;
    background: white;
    position:relative;
    display: block;
}

.fdselect{
    border: 0px;
    height: 3rem;
    width: 27rem;
    padding: 0px 1rem;
    background: white;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    white-space: nowrap;
    overflow: hidden;
}

.fdselectbox:after {
    content:"\f0d7";
    font-family: FontAwesome;
    color: #2479B6;
    position: absolute; right: 0; top: 0;
    z-index: 1;
    text-align: center;
    width: 10%;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
    font-size: 2rem;
    position: absolute; right: 0; top: 0;
}

.fdselect::-ms-expand {
  display: none; /* Hide the default dropdown arrow in IE */
}

.fd-btn {
    background-color: #F8C85D;
    border: 3px solid #F8C85D;
    color: black;
    padding: 0.5rem 2.5rem;
    text-align: center;
    border-radius: 45px;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 2rem;
    vertical-align: middle;
    font-weight: normal;
}

.fd-btn-blue {
    background-color: #3399B9;
    border: 3px solid #3399B9;
    color: white;
}

.fd-btn2 {
    background-color: #3399B9;
    border: 3px solid #3399B9;
    color: white;
    padding: 0.5rem 2.5rem;
    text-align: center;
    border-radius: 45px;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 2rem;
    vertical-align: middle;
    font-weight: normal;
}

.fd-btn:hover{
    background-color: transparent;
}

.fd-btn2:hover,
.fd-btn-blue:hover{
    background: transparent;
    border: 3px solid #2479B6;
    color: #2479B6;
    padding: 0.5rem 2.5rem;
    text-decoration: none;
}



.fd-link{
    color: white;
    text-decoration: underline;
}

.fd-text{
    border: 2px solid #2479B6;
    border-radius: 7px;
    display: block;
}

.fd-label{
    font-size: .9rem;
    margin-left: .7rem;
}

label[for=id_emails] {
    font-size: .9rem;
    margin-left: 0.7rem;
}

.innerFieldWrap input[type='text'],
.innerFieldWrap input[type='number'],
.fd-input{
    border: 2px solid #2479B6;
    height: 3rem;
    width: 27rem;
    overflow: hidden;
    border-radius: 4px;
    background: white;
    font-size: 1rem;
    padding: 0 0.5rem;
}

.innerFieldWrap input[type=radio],
.innerFieldWrap input[type=checkbox],
input.fd-multiselect{
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    margin-right: 0.7rem;
}

.innerFieldWrap label {
    font-size: 1.1rem;
    margin: 0.5rem;
}

.headrow{
    margin-top: 2rem;
    color: #929C9E;
    font-size: 1.4rem;
    font-weight: normal;
}

.headrow div {
    vertical-align: bottom;
    border-bottom: 1px solid #929C9E;
    border-top: none;
    padding-bottom: 1rem;
}

.headrow div:first-of-type {
    padding-left: 1rem;
}

.headrow div:last-of-type {
    text-align: right;
    padding-right: 1rem;
}

.tbcol {
    flex: 1;
}

p.noresults {
    margin: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.tblbody {
    margin-top: 0.5rem;
    margin-bottom:2rem;
    font-family: Arial;
}

.bodyrow{
    margin-top: .5rem;
    color: #5C6B71;
    border: none;
    font-size: 1.1rem;
    background: #f3f3f3;
    border-radius: 8px;
    /*line-height: 3.3rem;*/
    padding: .8rem  0 .8rem 1.5rem;
}

.bodyrow div:last-of-type {
    text-align: right;
    padding-right: 1rem;
}

.bodyrow div a{
    color: #5C6B71;
    text-decoration: underline;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fieldWrapper{
    margin-bottom: 25px;
}

.innerFieldWrap {
    background: #F3F3F3;
    border-radius: 8px;
    padding: 1.5rem;
}

.fieldset{
    width: 700px;
    margin: 1rem 30px;
}

.fieldset_title {
    width: 700px;
    color: #3399B9;
    border-bottom: #929C9E 3px solid;
    margin-top: 3rem;
    font-size: 1.9rem;
    padding: 0 0.5rem 0.6rem;
}

.fieldset_block{
    margin-bottom: 4rem;
}

.fieldset_title2 {
    color: #404243;
    border-bottom: #929C9E 3px solid;
    margin-top: 3rem;
    margin-bottom: 0.7rem;
    font-size: 1.5rem;
    padding: 0 0.5rem 0.6rem 1rem;
}

input.fdother{
    display: none;
}

.labeltxt {
    margin-top: 0;
    margin-bottom: -10px;
    color: #404243;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.help {
    font-size: .9rem;
    margin-bottom: 1rem;
}

p.instance_title {
    color: #929C9E;
    font-size: 1.3rem;
    margin-left: -15px;
    font-weight: bold;
}

.docfooter {
    width: 100%;
    height: 9rem;
    background: #404243;
    position: fixed;
    bottom: 0;
}

.docfooter > div{
    height: 100%;
}

.docfooter .flex-row{
    width: 100%;
}

.docfooter .fd-btn,
.docfooter .fd-link{
    flex: 1;
}

.docfooter .fd-link {
    margin-top: 1rem;
    text-align: left;
}

.docfooter .fd-link:first-of-type {
    margin-left: 3rem;
}

.docfooter .fd-btn{
    max-width: 21rem;
    margin-right: 3rem;
}

.test-btn{
    margin: 1.5rem 0 0 4rem;
}

.title_head .tbcol{
    padding-bottom: .5rem;
    margin-top: 3rem;
}

.title_head .tbcol:last-of-type a{
    color: #333333;
    text-decoration: underline;
    font-size: 1.2rem;
}

.title_head .tbcol:first-of-type{
    color: #404243;
}

.textareabox.completed{
    border: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #D4f3DF;
    position:relative;
    display: block;
    width: fit-content;
}

textarea#id_emails {
    height: 4.7rem;
    width: 30rem;
    font-size: 1.1rem;
    padding: 0.5rem 3rem 0.5rem 1rem;
}

.textareabox.completed textarea#id_emails {
    boder: 0;
    height: 4.7rem;
    width: 30rem;
    background: #D4f3DF;
    border: none;
    color: #404243;
}

.textareabox.completed .textareabox:after {
    content:"\f058";
    font-family: FontAwesome;
    color: #1FCD5A;
    position: absolute; right: 0; top: 0;
    z-index: 1;
    text-align: center;
    width: 10%;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
    font-size: 2rem;
}

.changepass .fd-input {
    display: block;
    margin-top: 0.75rem;
}

.helptext {
    margin: 1.5rem 0 1rem 0;
    background: #F3F3F3;
    border-radius: 7px;
    display: block;
    width: fit-content;
    padding: 1.5rem 1.5rem 0.5rem 0.2rem;
}

a.fd-tab:hover{
    background: #FFEFD0;
    border-left: 3px solid white;
    border-right: 3px solid white;
}

a.fd-tab:first-of-type {
    margin-left: 0rem;
}

a.fd-tab {
    height: 3.5rem;
    display: inline-block;
    padding: 1rem 2.5rem 1rem 2.5rem;
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid #C9C6B7;
    border-radius: 7px 7px 0 0;
    margin: 0 0 0rem -0.3rem;
}

a.fd-tab.active {
    background: #FFEFD0;
    height: 3.5rem;
    display: inline-block;
    padding: 1rem 2rem 1rem 2rem;
    color: #333333;
    border-radius: 7px 7px 0 0;
    text-decoration: none;
    border-bottom: 3px solid #F8C85D;
    cursor: default;
}

.page_sub_title{
    margin: 1.5rem 0;
}

label[for=id_data],
label[for=id_templates]{
    width: 20rem;
    max-width: 20rem;
    max-height: 3.2rem;
}

label.fd-btn.doct .span {
    display: inline-block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

#id_data, #id_templates{
    display: none;
}

.fd-btn.doct{
    display: inline-block;
    margin: .5rem 2rem 2rem 0
}

.fd-btn.doct.occupied,
.fd-input.doct.occupied{
    background: none;
    text-overflow: ellipsis;
}

.fd-btn.doct.occupied span,
.fd-input.doct.occupied span{
    text-overflow: ellipsis;
    max-width: 100%;
    max-height: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
}

.asub-btn{
    margin-top: 3rem;
    float:right;
    margin-right: 3rem;

}

.row{
    width: 100%;
}
.row .fd-btn {
    position: fixed;
    right: 2rem;
    z-index: 1;
    bottom: 2rem;
}
.client.fdselectbox{
    margin-top: 1.5rem;
}

.auto_field {
    margin: 0 1rem 1.3rem 0;
}



.auto_field label {
    display: block;
    width: max-content;
    font-size: .9rem;
    margin: 0 0 .1rem .5rem;
}

.auto_field input {
    width: 20rem;
}

.fd-btn.doct input[type=file]{
    display: none;
}

#id_type.fd-multiselect label {
    width: 10rem;
}

#id_type.fd-multiselect input {
    display: inline-block;
}

#id_data_document{
    display:none;
}

.fd_file_container{
    display: inline-block;
    /*margin: .5rem 2rem 2rem 0;*/
    background: none;
    text-overflow: ellipsis;
    cursor: pointer;

}

.tbcol .fd_file_container{
    text-decoration: underline;
}

.tbcol .fd_file_container:hover{
    text-decoration: none;
}

.btn-row{
    margin: 1.5rem 2rem 0 0;
}

input#id_active {
    width: min-content;
    margin: 0.5rem 0 0 3.5rem;
}

a.hideshow i.fa {
    font-size: 1.4rem;
    color: #00577C;
}

.users.tblbody .tbcol:first-of-type {
    flex: 0 0 3rem;
}

.tbcol input {
    vertical-align: text-bottom;
    margin-top: 0.5rem;
}

.dispbox-container {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dispbox {
    height: 40%;
    width: 50%;
    background: white;
    position: absolute;
    padding: 1.5rem;
    box-shadow: 3px 3px 10px black;
    max-width: 45rem;
}

div#disp_title {
    height: 22%;
    font-size: 2.5rem;
}

div#disp_message {
    height: 60%;
    font-size: 1.1rem;
}

#disp_message .caption{
    background: #F3F3F3;
    font-size: 1rem;
    margin-top:.5rem;
    height: 3rem;
    padding: .8rem 0 0 1.5rem;
}

.disp-btns.flex-row {
    height: 22%;
    justify-content: space-between;
}

.disp-btns .fd-btn {
    padding-top: 0.7rem;
}

#close_disp{
    color: #9CB3BC;
    cursor: pointer;
}

#close_disp:hover i.fa{
    color: #00577C;
}

.successbox {
    background: #CFEEDA;
    margin: 1.5rem;
    padding: 0.7rem 1rem;
    font-size: 1.1rem;
    width: fit-content;
}

.successbox i.fa{
    color: #1FCD5A;
    font-size: 1.5rem;
}

.successbox span {
    margin-right: 1.5rem;
}

footer {
    height: 12rem;
    background: repeating-linear-gradient(#005076, 20px, #004F75);
}

.footerlinks a {
    color: white;
    text-decoration: underline;
    margin: 0px 2rem;
}
