﻿body {
    margin:0;
    background: #FAFAFA;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    color: #D24800;
    margin: 0;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 25px;
}

h3 {
    font-size: 20px; 
}

a, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
}

body a{
    color: #3344dd;
    padding: 2px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body a:visited {
    color: #884488;
}

body a:active {
    color: #b50010;
}

a:focus {
    padding:0;
    border: 2px solid #525248;
    outline:none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#page{
    height: 100%;   
    width: 100%; 
    min-height: 100vh;
    position:relative;
}

body a.bypass:focus {
    width: 100%;
    padding: 5px;
    background: #e1e1e1;
    border-width: 0 0 1px 0;
    border-color: #525248;
    border-style: solid;    
    font-size: 14px;
    font-weight: bold;
    color: #000;
    text-align: center;    
    display: block;       
    position: relative;
    top:0;
}

.bypass {
    position: absolute;
    top: -100vh;
    transition: top 0.1s;
}

#header {
    background-color: #fff;
    border-bottom: 1px solid #E1E1E1;
    padding: 20px;
    line-height: 150%;
}

.logo-container {
    display:inline-block;
}

#header a img {
    width: auto;
    height: 50px;    
    border: none;
}

#header a:focus {
    border:none;
    padding: 2px;
}

#header a:focus img {
    outline: 2px solid #525248;
}

#subheader {
    max-width: 1024px;
    padding: 30px 20px;
    margin: 0 auto;
    position:relative;
    line-height: 150%;
}

#subheader h1 {
    color: #000;
    font-size: 20px;
    font-weight: bold;
}

/* Progress bar*/
.progressbar {
    width: 100%;
    margin-top: 25px;
    position: relative;
}

.progressbar .barcontainer{
    width: calc(100% - 70px);
    height: 5px;
    position: relative;
    top:50%;
    transform: translateY(-50%);
    border-radius: 5px; 
    display:inline-block;
    background-color: #EBEBEB;
}

.progressbar .bar{
    height: 5px;
    border-radius: 5px; 
    background-color: #D24800;
}

.progressbar .percentage{
    width: 70px;
    color: #D24800;
    font-size: 19px;
    font-weight: bold;  
    text-align: right; 
    display:inline-block;
    position: absolute;
    right:0;
}

/* banner */
#bannercontainer{
    display:none;
}

/* toolbar */
.toolbar-container {
    display: inline-block;
    position: absolute;
    right: 20px;
}

#authbar:empty{
    display:none;
}

#authbar:empty + #toolbar{
    margin-top: 15px;
}

#authbar {
    text-align: right;
}

#authbar {
   font-size: 15px;
   color: #525248;
}

#authbar a {
    font-weight:bold;    
    color: #525248;
    text-decoration: none;
    border-bottom: 2px solid #fff;
}

#authbar a:hover,
#authbar a:focus {
    border-bottom: 2px solid #525248;
}

#toolbar {
    margin-top:10px;
    line-height: 150%;
}

#toolbar ul {
   padding: 0;
   margin: 0;
}

#toolbar ul li {
    display: inline-block;
    margin-right: 15px;
    position: relative;
}

#toolbar ul li:last-child {
    margin-right: 0;
}

#toolbar ul li a {
    font-size: 14px;
    font-weight: bold;
    color: #525248;
    text-decoration: none;
    margin-left: 25px;
}

#toolbar ul li a:hover,
#toolbar ul li a:focus {
    border-width: 0px 0px 2px 0;
    border-color: #525248;
    border-style: solid;
    padding: 2px;
    outline: none;
}

#toolbarOpen::before {
    content: "\e2c8";
    font-family: 'Material Icons';
    font-size: 20px;
    position: absolute;
    left: 0;
}

#toolbarSave::before {
    content: "\e161";
    font-family: 'Material Icons';
    font-size: 20px;
    position: absolute;
    left: 0;
}

.toolbarPrint::before {
    content: "\e8ad";
    font-family: 'Material Icons';
    font-size: 20px;
    position: absolute;
    left: 0;
}

/* default */
div#toolbar .environmentpicker,
div#toolbar .languagepicker {
    display:inline-block;
    position: relative;
    margin-bottom: 10px;
}

/* lanuage */
.languagepicker,
div#toolbar .languagepicker select,
div#toolbar .environmentpicker select  {
    width: auto;
    padding: 0 0 2px 0;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #525248;
    border-width: 0 0 2px 0;
    border-color: transparent;
    border-style: solid;
}

#language-picker-description {
    display: none;
}

.languagepicker,
div#toolbar .languagepicker select {
    margin-left: 25px;
}

select.languagepicker:hover,
select.languagepicker:focus ,
div#toolbar .languagepicker select:hover,
div#toolbar .languagepicker select:focus,
div#toolbar .environmentpicker select:hover,
div#toolbar .environmentpicker select:focus {
    outline:none;
    border-width: 0 0 2px 0;
    border-color: #525248;
    border-style: solid;
}

.language-icon {
    width: auto;
    display: inline-block;
}

div#toolbar .languagepicker .environment-icon::before, 
div#toolbar .languagepicker .language-icon::before  {
    font-weight: normal;
}

.language-icon::before {
    content: '\e894';
    font-family: 'Material icons';
    font-size: 20px;
    color:#525248;
    position: absolute;
    top: 0;
    left: 0;
}

.environment-icon::after {
    content: '\e53b';
    font-family: 'Material icons';
    font-size: 20px;
    color:#525248;
    position: relative;
    top: 6px;
    left:8px;
}

.environmentpicker-label {
    font-size: 14px;
    margin-right: 5px;
    font-weight: bold;
}

.toolbar-button {
    font-size: 14px;
    font-weight: bold;
    color: #525248;
    text-decoration: none;
    padding: 5px;
    padding-left: 25px;
    border-radius: 5px;
    border: 1px solid #525248;
    background: transparent;
}

.toolbar-button:hover {
    cursor: pointer;
    border: 2px solid #525248;
    padding: 4px;
    padding-left: 24px;
}

.toolbar-button::before {
    padding-left: 5px;
    padding-right: 5px;
}

/* footer */

#footer {
    width: 100%;
    padding: 15px 0;
    position: absolute;
    bottom:0;
    background: #EBEBEB;
    z-index: -1;
}

.footer-content {
    width: 100%;
    max-width: 1024px;
    margin-right: auto;
    margin-left: auto;
}

#footer a{
    font-size: 14px;
    color: #000;
}

/* TF parts */
td {
    word-break: break-word;
}

label, legend {
   font-weight: bold;
}

div.tf-label-wrapper{
   font-weight: bold;
   padding: 5px 0 0 0;
}

.text {
    word-break: break-word;
}

.text.tf-question-control {
    padding: 5px 0 0 5px;
    display: block;
}


#canUploadTfaWarning {
    padding-bottom: 20px;
}

#wrapper {
    line-height: 150%;
}

.positioning-right .tf-label-wrapper,
.tf-question-wrapper.positioning-encapsulated-right fieldset legend {
    padding-left: 20px;
}

div.tf-question-wrapper {
    margin-bottom: 4px;
}

/* summary */
.tfsummarycontainer caption {
    border-color: #000;
}


#main {
    padding-bottom: 85px;
}

#onecol-main #main {
    padding: 30px 0 85px 0;
    border-width: 1px 0 1px 0;
    border-color: #e1e1e1;
    border-style: solid;
    background: #fff;
}

#onecol-main #main > * {
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

/* tf toolbox */
.tf-dialog-box {
    height: auto;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

#openTFABoxWrapper{
    width:100%;
    max-width: 1024px;
    height: auto;
}

.tf-dialog-content {
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: auto;
    padding: 50px 20px 30px 20px;
    background-color: #fff;
}

.tf-dialog-content > div{
    position:relative;
}

#openTFABoxWrapper > div h1 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.tf-dialog-cancel-overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.3;
}

.close-TFAbox {
    height: 28px;
    font-size:0;
    text-decoration: none;
    color: #D70000;
    position: absolute;
    top:-30px;
    right:0;
}

.cancel-TFAbox {
    display: block;
    text-align: center;
    margin-top: 15px;
    margin-right: auto;
    margin-left: auto;
}

.close-TFAbox:after {
    content:"\e5cd";
    font-family: 'Material Icons';
    font-size: 24px;
}

.tf-dialog-content #openTFABoxWrapper > div {
    margin-bottom: 20px;
}

.tf-dialog-content #openTFABoxWrapper input[type="submit"] {
    width: 100%;
    margin-top: 30px
}

.tf-accordion-content .tf-error{
    max-width: 1024px;
    margin: 0 auto;
}


