.private-strip {
    width: 100%;
    height: 30px;
    background: repeating-linear-gradient(
        45deg,
        #FFFBE8,
        #FFFBE8 20px,
        #FFE9E8 20px,
        #FFE9E8 40px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 11px;
    font-weight: bold;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}
#form_application_pages .application_header{
    padding:10px 10px;
    font-size: 18px;
    line-height: 20px;
    color:#777;
    font-weight: 600;
    text-align: left;
}
#form_application_pages > .contents > div>.description{
    padding:5px;
    color:#fff;
    margin-top: 20px;
    margin-bottom: 0px;
    border-left:2px solid #009966;
    background:#006699;
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.38);
    -moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.38);
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.38);
    width:auto;
    display: inline-block;
    max-width: 70%;
}

#form_application_pages > .contents > div>.description:after {
    /*content:"\A";*/
    white-space: pre; /* or pre-wrap */
}

#form_application_pages > .contents > div>.description >.header{
    font-size: 12px;
    color:#fff;
    padding:0px;
}

#form_application_pages > .contents > div>.description>div{
    font-size: 14px;
    margin-bottom: 5px;
    color:#eee;
}

#form_application_pages .question .name{
    color:#006699;
    font-weight: 300;
    margin-bottom: 5px;
    font-size:.9em;
}

#form_application_pages .question>.number{
    width:40px;
    background: #009966;
    color:#fff;
    font-size: 11px;
    text-align: center;
    position: absolute;
    left:0;
    top:5px;
    height:20px;
    line-height:20px;
}
#form_application_pages .question{
    position: relative;
    width:100%;
    padding:5px;
    padding-left: 50px;
    /*border:1px solid #d5d5d5;*/
    margin-bottom: 15px;
}
#form_application_pages .question:hover{
    -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.35);
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.35);
}
#form_application_pages > .introduction{
    padding:10px;
    color:#777;
    margin-bottom: 10px;
    border:1px dashed #999;
}

#form_application_pages > .contents{
    position: relative;
    width:100%;
}
#form_application_pages > .contents > div{
    padding:0px;
    font-size: 14px;
    opacity: 0;
    top:0;
    left:50px;
    width:100%;
    height:100%;
    transition: all .1s ease;
    pointer-events: none;
    overflow: auto;
    display: none;
}

#form_application_pages > .contents > div.active{
    opacity:1;
    top:0;
    left:0;
    pointer-events: auto;
    display: block;
}
#form_application_pages > .tabs{
    width:100%;
    border-top:solid 1px #d5d5d5;
    border-bottom:solid 1px #d5d5d5;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ededed+0,ffffff+100 */
    background: rgb(237,237,237); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(237,237,237,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(237,237,237,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(237,237,237,1) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */

}
#form_application_pages > .tabs>.pages{
    display: inline-block;
    vertical-align: top;
    width:calc(100% - 100px);
}
#form_application_pages > .tabs>.btn{
    user-select:none;
    display: inline-block;
    vertical-align: top;
    height:30px;
    line-height: 30px;
    font-size: 14px;
    padding: 0px 10px;
    margin: 10px 0px;
    border:none;
    width:50px;
    text-align: center;
}
#form_application_pages > .tabs>.pages>div{
    user-select:none;
    display: inline-block;
    vertical-align: top;
    height:30px;
    line-height: 30px;
    font-size: 14px;
    padding: 0px 10px;
    border-bottom: 3px solid #ddd;
    margin: 10px 5px;
}
#form_application_pages > .tabs>.pages>div:hover{
    background: #e5e5e5;
}
#form_application_pages > .tabs>.pages>div:active{
    border-bottom: 3px solid #006699;
}
#form_application_pages > .tabs>.pages>div.active{
    border-bottom: 3px solid #009966;
}
#form_application_pages{
    width:100%;
    height:calc(100% - 50px);
    background:#fff;
    position: relative;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
}

#form_state{
    vertical-align: top;
    padding: 5px 10px;
    font-size: 14px;
    width: 100%;
    display: inline-block;
    color:#fff;
    text-align: center;
}
#form_original{
    vertical-align: top;
    padding: 0px 0px;
    font-size: 11px;
    font-style: italic;
    width: auto;
    display: inline-block;
    margin-top: 15px;
    line-height: 12px;
    color:#999;
}



#form_dates{
    padding: 0px 0px;
    font-size: 12px;
    margin-bottom: 5px;
}

#form_dates > label{
    text-align: right;
    margin-right: 5px;
    display: inline-block;
    vertical-align: top;

    color:#777;

}
#form_dates > div{
    display: inline-block;
    vertical-align: top;
    color:#006699;
    margin-right: 20px;
}

#form_days_left{
    text-align: center;
    position: absolute;
    top:5px;
    left:5px;
    background: #009966;
    color:#fff;
    padding: 5px 0px;
    width:130px;
    display: none;
}

#form_days_left> span{
    display: block;
    font-size: 12px;
    height:15px;
    line-height:15px;
}
#form_days_left> div{
    display: block;
    font-size: 22px;
    color:#F8F7E8;
    color:#F8F7E8;
    height:25px;
    line-height:25px;
}

#form_application_delete{
    text-align: center;
    padding: 5px 0px;
    width:130px;
    padding: 5px 0px!important;
    border:none!important;
}
#form_application_delete> span{
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    height:20px;
    line-height:20px;
}
#form_application_delete> i{
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    color:#F8F7E8;
    height:20px;
    line-height:20px;
    margin-right: 5px;
}

#form_application_close{
    text-align: center;
    position: absolute;
    top:5px;
    right:5px;
    padding: 5px 10px!important;
    height:40px;
    width:40px;
    font-size: 16px;
    line-height: 30px;
}

#form_application_btn_notes{
    text-align: center;
    position: absolute;
    top:5px;
    right:50px;
    padding: 5px 10px!important;
    height:40px;
    width:40px;
    font-size: 16px;
    line-height: 30px;
}

#form_application_btn_info{
    text-align: center;
    position: absolute;
    top:5px;
    right:95px;
    padding: 5px 10px!important;
    height:40px;
    width:40px;
    font-size: 16px;
    line-height: 30px;
}

#form_application_close> span{
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    height:20px;
    line-height:20px;
}
#form_application_close> i{

}


#portal_form_details > .header{
    font-size: 22px;
    font-weight: 400;
    color:#006699;
    height: 30px;
    line-height: 30px;
    text-align: left;
    margin-left: 0px;
    padding:0px;
}

#portal_form_details{
    opacity: 0;
    pointer-events: none;
    transition: .3s all ease;
    position: relative;
    display: inline-block;
    vertical-align: top;
    width:100%;
    height:50px;
    overflow: height;
    top:50px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+50,0.1+100 */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#1a000000',GradientType=0 ); /* IE6-9 */

}
#portal_form_details.active{
    top:0px;
    opacity: 1;
    pointer-events: auto;
}

#portal_forms{
    width:100%;
    height:calc(100% - 230px);
    overflow: visible;
}
#portal_forms >.no_results{
    font-size: 11px;
    color:#aaa;
    padding: 5px;
    margin: 5px 0px;
}
#portal_forms >.item{
    user-select:none;
    width:100%;
    /*height:30px;*/
    padding: 3px;
    padding-left: 25px;
    border-top:1px solid #d5d5d5;
    border-bottom:1px solid #d5d5d5;
    margin: 1px 0px;
    font-size: 12px;
    color:#111;
    position: relative;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */

}



#portal_forms >.item >.name > i{
    width: 20px;
    font-size: 14px;
    color:#a9db80;
    margin-right: 5px;
}

#portal_forms >.item .app{
    width:100%;
    position: relative;
    /*height:25px;*/
    margin: 0px 0px;
    padding: 3px 0px;
}
#portal_forms >.item .app >.state_hover{
    z-index: 10000;
    position: absolute;
    left:200px;
    top:0px;
    height:30px;
    padding: 0px 5px;
    white-space: nowrap;
    line-height:30px;
    display:none;
    background: rgba(0,0,0,.7);
    color:#fff;
    width: auto!important;
}

#portal_forms >.item .app:hover >.state_hover{
    display:block;
}
#portal_forms >.item>.app>.notes{
    height:20px;
    line-height:20px;
    width:25px;
    top:5px;
    left:5px;
    position: absolute;
    color:#fff;
    background:maroon;
    padding:0px;
    text-align: center;
    font-size: 10px;
}
#portal_forms >.item .app> .name{
    padding-left: 35px;
    font-size: 11px;
    font-weight: 600;
}

#portal_forms >.item .app> .date{
    width:100%;
    font-size: 9.5px;
    padding-left: 35px;
    opacity: .8;
}

#portal_forms >.item .app> .state{
    width:25px;
    height:20px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    top:5px;
    right:2px;
    font-size: 12px;
}

#portal_forms >.item .app> .state >i{
    display:block;
    line-height:20px;
    color:#444;
    width:100%;
    height:100%;
    font-size: 14px;
}



#portal_forms >.item .app >.state_warning{
    position: absolute;
    left:5px;
    line-height:30px;
    font-size: 16px;
    color:maroon
}

#portal_forms >.item .app.active> .state >i{
    color:#fff!important;
}

#portal_forms >.item .app:hover{
    background: #006699;
    color:#fff;
}

#portal_forms >.item .app:active{
    background: #a67c00;
    color:#fff;
}
#portal_forms >.item .app.active{
    background: #006699;
    color:#fff;
}

#portal_forms >.item >.name{
    border-bottom:1px solid #d0d0d0;
    height:30px;
    line-height: 12px;
    margin-bottom: 5px;
    color:#006699;
    font-weight: 600;
    white-space: nowrap;
}
#portal_forms >.item >.name>.customer{
    font-size: 11px;
    color:#777;
    white-space: nowrap;
}
#portal_forms >.item >.btn{
    margin-left: 0px;
    padding: 0px 35px;
}

.header{
    /*height:30px;*/
    line-height:30px;
    font-size: 14px;
    text-align: left;
    padding: 0px 5px;
}
#portal_main{
    display: inline-block;
    vertical-align: top;
    width:220px;
    height:100%;
    background:#F8F8E8;
}

#form_notes{
    vertical-align: top;
    width:100%;
    height:calc(100% - 0px);
    background:#fff;
    margin: 0px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.55);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.55);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.55);
    position: absolute;
    top:0px;
    left:0px;
    transition:.2s ease all;
    opacity:0;
    top:100px;
    pointer-events: none!important;
    display: none;
}
#form_notes.active{
    display: block;
    top:0px;
    opacity: 1;
    pointer-events: auto!important;
}

#form_notes >.header{
    font-size: 12px;
    font-weight: 400;
    color: #006699;
    height: 30px;
    line-height: 30px;
    text-align: left;
    padding-left: 10px;
    padding-right: 0px;
    position: relative;
}

.message_notes >.items{
    width:100%;
    text-align: right;
    height:calc(100% - 40px);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

.message_notes >.items >.day{
    width:100%;
    text-align: center;
    margin: 10px 0px;
    float:right;
}

.message_notes >.items >.day>span{
    text-align: center;
    padding: 0px 5px;
    height:20px;
    line-height: 20px;
    background:#ddd;
    color:#aaa;
    border-radius: 3px;
    display: inline-block;
}

.message_notes >.items >.item{
    float:left;
    margin-top: 7px;
    margin-bottom: 3px;
    display: inline-block;
    width: auto;
    min-width:55%;
    max-width: calc(100% - 20px);
    margin-left: 15px;
    position: relative;
    width: 30%;
    padding: 1em 1.5em;
    color: #fff;
    background: #97C02F;
    padding-top: 10px;
    padding-bottom:10px;
    padding-left:5px;
    padding-right:15px;
}
.message_notes >.items >.item:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 12px 12px 0;
    border-style: solid;
    border-color: #658E15 #fff;
    display: block;
    width: 0;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
}

.message_notes >.items >.item:hover{
    background:#a9db80;
}
.message_notes >.items >.item:active{
    background:#96c56f;
}

.message_notes >.items >.item.user{

    float:right;
    margin-right: 5px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eeeeee+0,cccccc+100;Gren+3D */
    background: #eeeeee; /* Old browsers */
    background: -moz-linear-gradient(top,  #eeeeee 0%, #cccccc 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
}
.message_notes >.items >.item.global{
    /*border:px solid green;*/
}

.message_notes >.items >.item.user:hover{
    background: #eeeeee; 
}

.message_notes >.items >.item.user:hover{
    background: #cccccc; 
}

.message_notes >.items >.item.no_results{
    margin: 5px 0px;
    color:#444;
    font-style: italic;
    background: #eeeeee; /* Old browsers */
    background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
}

.message_notes >.items >.item >.unread{
    color:#fff;
    background:#c13838;
    height:15px;
    line-height:15px;
    padding: 0px 10px;
    font-size: 10px;
    position: absolute;
    top:-8px;
    right:15px;
}

.message_notes >.items >.item >.date{
    color:#444;
    font-style: italic;
    margin-top: 5px;
}
.message_notes >.items >.item >.notes{
    font-size: 12px;
    color:#111;
}
.message_notes >.items >.item >.name{
    position: absolute;
    top:1px;
    left:1px;
    font-size: 9px;
    color:rgba(0,0,0,.6);
}
.message_notes >.items >.item >.btn{
    margin-top: 5px;
}

.header_big{
    margin-top: 20px;
    font-size: 16px;
    color:#006699;
    margin-bottom: 10px;
    padding:0px 10px;
}

.form_captcha{
    width: 300px;
    margin: auto;
    text-align: right;
}

#finalised_application_stamp{
    text-align: center;
    position: absolute;
    top:5px;
    right:30px;
    border:5px solid gray;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 32px;
    font-weight: 800;
    opacity: .3;
    pointer-events: none;
}
#finalised_application_stamp >div{
    font-size: 12px;
}




.generic_form{
    line-height: 1.1em;
}

.generic_form .group{
    width:100%;
    display: inline-block;
    vertical-align: top;
    background: #fff;
}
.generic_form .group.notes{
    width:100%;
    font-size: 12px;
    font-size: 14px;
    line-height: 1.2em;
}
.generic_form .group >.header{
    width:100%;
    padding: 5px;
    font-size: 12px;
    color:#006699;
    background: #e5e5e5;
    margin-bottom: 10px;
    text-align: center;
}

.generic_form .field{
    text-align:left;
    position: relative;
    display: inline-block;
    *display: inline;
    *zoom:1;
    width:100%;
    max-width: 100%;
    margin-bottom: 5px;
}
.generic_form .field >.btn{
    font-size: 12px;
}
.generic_form .field >label{
    display: inline-block;
    *display: inline;
    *zoom:1;
    width:100%;
    /*height:30px;*/
    line-height:15px;
    text-align: left;
    padding: 5px 0px;
    vertical-align: top;
    font-size: 14px;
    color:#006699;
    margin-top: 5px;
}

.generic_form .field >label > span{
    display: block;
    width:100%;
    font-size: .9em;
    color:#999;
    line-height: 1em;
    font-style: italic;
}
.generic_form .field >.link{
    color:#009966;
    text-decoration: none;
}
.generic_form .field >input,.generic_form .field >select{
    *display: inline;
    *zoom:1;
    outline:none;
    display: inline-block;
    vertical-align: top;
    width:100%;
    height:30px;
    line-height:30px;
    text-align:left; 
}
.generic_form .field >input[type="checkbox"]{
    width:30px;
}


.generic_form .field >textarea{
    *display: inline;
    *zoom:1;
    outline:none;
    display: inline-block;
    vertical-align: top;
    width:100%;
    width:225px;
    height:90px;
    line-height:12px;
    text-align:left; 
    resize: none;
}
.generic_form .field >div.group{
    *display: inline;
    *zoom:1;
    outline:none;
    display: inline-block;
    vertical-align: top;
    width:100%;
    text-align:left; 
    background: none;
    margin: 0;
}

.generic_form .field .radio{
    *display: inline;
    *zoom:1;
    outline:none;
    display: inline-block;
    vertical-align: top;
    padding:10px 15px;
    line-height:12px;
    border:1px solid #009966;
    margin-right:5px;
    margin-bottom:5px;
    font-size: 12px;
    user-select:none;
    cursor: pointer;
}

.generic_form .field .radio:hover{
    border:1px solid #006699;
}

.generic_form .field .radio:active{
    background:#009966;
    color:#fff;
}

.generic_form .field .radio.active{
    background:#006699;
    color:#fff;
}

.generic_form .field > p{
    top:0px;
    line-height:30px;
    font-size: 16px;
    display: block;
    text-align: center;

}

.generic_form .field .disabled{
    /*pointer-events: none!important;*/
    opacity: 0.9;
    background: #ddd;
    color: #444;
}

.generic_form .field >.error{
    display: none;
    position: absolute;
    left:150px;
    width:150px;
    height:15px;
    line-height:15px;
    top:30px;
    color:#b0b0b0;
    font-size: 11px;
    font-style: italic;
    white-space: nowrap;
}

.generic_form .template{
    width:100%;
    padding:5px;
    margin: 20px 0px;
    border:1px solid #e5e5e5;
    background: #f5f5f5;
}
.generic_form.non_template .template{
    border:none!important;
    background: transparent!important;
}

.generic_form .template > label{
    width:100%;
    height:30px;
    line-height:30px;
    /*background: #e5e5e5;*/
    display: block;
    color:#444;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 0px 10px;
    border-bottom:1px dashed #d5d5d5;
}

.generic_form .field.has_errors input{
    border:1px solid maroon;
}
.generic_form .field.has_errors >.error{
    display: block;
}


.application_button{
    width:31.333%;
    margin: 20px 1%!important;
    font-size:14px;
    text-align: center;
    line-height:15px;
    padding:10px 5px;
    line-height: 15px!important;
    padding: 10px 5px!important;
    height:auto!important;
}



.gdpr-message {
    margin-top: 5px;
    margin-bottom: 20px;
    padding: 6px 12px;
    background-color: #f5f7fa;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #555;
    text-align: center;
    line-height: 1.2;
}

.gdpr-message i {
    color: #2e7d32; /* greenish for trust */
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.gdpr-message a {
    color: #0066cc;
    text-decoration: underline;
}

.gdpr-message a:hover {
    text-decoration: none;
}