body,
input,
button,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-size: 0.875em;
    position: relative;
    min-height: 100%;
}

html{
    height: 100%;
}

a {
    color: #FFFFFF;
    text-decoration: none;
}

a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

:invalid {
    outline-color: rgba(221, 0, 0, 0.5);
    box-shadow: none;
}

:focus {
    outline-color: #30529E;
}

a,
button {
    transition-property: color, background-color, border-color;
    transition-duration: 0.3s;
    text-decoration: none;
}

/* Custom Helper Classes */

.tColor1 {
    color: #30529E;
}

.tColor2 {
    color: #E3752A;
}

.pageTitle1 {
    color: #30529E;
    padding: 0;
    margin: 0 0 0.25em 0;
    clear:both;
    font-size: 1.5em;
    font-weight: bold;
}

.sectionTitle1,
.sectionTitle2,
.sectionTitle3 {
    color: #30529E;
    padding: 0;
    margin: 1em 0 0.25em 0;
    clear:both;
    font-size: 1.25em;
    font-weight: bold;
    border-bottom: 1px solid #BBBBBB;
}

.sectionTitle2 {
    margin: 0 0 0.25em 0;
    clear: none;
}

.sectionTitle3 {
    margin: 1em 0;
}

.localTitle1 {
    color: #30529E;
    padding: 0;
    margin: 0 0 0.25em 0;
    clear:both;
    font-size: 1.25em;
    font-weight: bold;
}

.tableList {
    width: 100%;
}

.tableList th {
    padding: 0.5em 0.25em;
    background-color: #D9D9D9;
}

.tableList .tableListSortableCell {
    padding: 0.5em 1em 0.5em 0.25em;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: right center;
}

.tableList .tableListSortableCell:hover,
.tableList .tableListSortableCell:active {
    color: #000000;
    background-color: #E5E5E5;
}

.tableList .tableListSortableActive {
    color: #000000;
    background-color: #EDEDED;
}

.tableListSortableASC {
    background-image: url('../images/sortAsc.gif');
}

.tableListSortableDESC {
    background-image: url('../images/sortDesc.gif');
}

.tableList td {
    padding: 0.25em;
}

.tableList tr:nth-child(2n) td {
    background-color: #F2F2F2;
}

.tableList tr:hover td {
    background-color: #E5E5E5;
}

.commonFlowListTopPagination {
    padding: 0.5em;
}

.commonFlowListBottomPagination {
    padding: 0.25em 0.5em;
    background-color: #D9D9D9;
    border-radius: 0 0 0.25em 0.25em;
}

.commonFlowListItemTitle {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 1.25em;
    font-weight: normal;
    padding: 0.75em 0.5em;
    margin: 0;
    text-decoration: none;
    border-radius: 0.25em 0.25em 0 0;
    color: #000000;
    background-color: #D9D9D9;
    float: left;
}

.commonFlowListItemTitle[href] {
    cursor: pointer;
    color: #404040;
    background-color: #FCFCFC;
}

.commonFlowListItemTitle[href]:hover,
.commonFlowListItemTitle[href]:active {
    color: #000000;
    background-color: #CCCCCC;
}

.commonFlowListFirstContentItem {
    border-top: 0.5em solid #D9D9D9;
    clear: both;
    padding-top: 1em;
}

/* General Forms */

.generalForm textarea {
    min-height: 5em;
}

.generalForm input,
.generalForm textarea,
.generalForm select {
    width: 100%;
    max-width: 100%;
    padding: 10px 20px;
    border: 0;
    color: #FFF;
    background: #0091DA;
    height: 40px;
}

.generalForm select {
    padding-right: 0;
}

.generalForm input[type="file"]::-ms-value {
    border-width: 0;
    background-color: transparent;
}

.generalForm input[type="file"]::-ms-browse {
    border-width: 0;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.generalForm select option {
    background: #0091DA;
}

.generalForm .hasErrors input,
.generalForm .hasErrors textarea,
.generalForm .hasErrors select {
    border-color: #CC6060;
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.15), 0 0 5px rgba(221, 0, 0, 0.2);
}

.generalForm input:focus,
.generalForm textarea:focus,
.generalForm select:focus,
.generalForm .hasErrors input:focus,
.generalForm .hasErrors textarea:focus,
.generalForm .hasErrors select:focus {
    background-color: #24AAED;
}

.generalForm select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('../images/arrow-down.png') no-repeat #0091DA;
    background-position: calc(100% - 0.5em) center;
    background-size: 19px 12px;
    padding-right: calc(26px + 1em);
    color: #FFF;
}

@media screen and (min-width:0\0) and (min-resolution:.001dpcm) { 
    .generalForm select {
    background: #0091DA;} }

.generalForm select::-ms-expand {
    display: none;
}

.wizardStep2 .Section.Section1{
	width: 100%;
}
.wizardStep2 .description{
	font-size: 35px;
}

/* Errors from template */

.errorText {
    color: #DD0000;
    clear: both;
}

/* Errors from wizard */

.errorMessage,
.warningMessage,
.duplicateWarningMessage {
    color: #DD0000;
    clear: both;
}

/* Buttons */

button,
.buttonLike,
.buttonLike:visited  {
    display:inline-block;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    width:160px;
    border:0 none;
    background: #F68D2E;
    border-radius: 5px;
    color:#FFF;
    text-align:center;
    font-weight:bold;
    font-size:12px;
    height:40px;
    line-height:34px;
    margin-right: 20px;

}

button:hover,
button:active,
.buttonLike:hover,
.buttonLike:active {
    background-position:left bottom;
    color:#FFF;
    text-decoration:none;
    background: #F68D2E;
}

button.cancelButton {
    display:inline-block;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    width:160px;
    border:0 none;
    background: #F68D2E;
    border-radius: 5px;
    color:#FFF;
    text-align:center;
    font-weight:bold;
    font-size:12px;
    height:40px;
    line-height:34px;
}

button.cancelButton:hover,
button.cancelButton:active {
    text-decoration:none;
    color:#FFF;
    background: #F68D2E;
}

.linkLike,
.linkLike:hover,
.linkLike:active,
.linkLike:visited {
    color: #FFFFFF;
}

.body_IE6 button,
.body_IE7 button {
    padding-top: 3px;
    padding-bottom: 3px;
}

.uploadedFile {
    display: block;
    padding-top: 2px;
}

.removeFile {
    cursor: pointer;
    color: #404040;
    padding: 3px 4px;
    text-decoration: none;
    background-color: #F0F0F0;
    background-image: none;
    border-width: 0;
    border-radius: 2px;
}

.removeFile:hover,
.removeFile:active {
    background-color: #E0E0E0;
    color: #000000;
}

.removeFile input {
    display: inline !important;
}

.smallButtonLike {
    padding: 2px 4px;
}

/* STRUCTURE */
/* Custom Layout */

body {
    background-color: #00378d;
    color: #FFFFFF;
}
#wrapper {
    margin-left: 180px;
}

.aside{
    width: 180px;
    background: #0091DA;
    position: absolute;
    height: 100%;
}
.mainContent,
.header,
.footer {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}
.header {
    margin: 120px auto 2em auto;
}
.header .logo {
    display: inline-block;
    vertical-align: middle;
    padding-right: 40px;
}
.header .titleBar {
    display: inline-block;
    vertical-align: middle;
}
h1.portalTitle {
    font-family:'KPMG Web Extra Light', Arial, sans-serif;
    font-size: 90px;
    color: #FFFFFF;
    letter-spacing: 0;
    font-weight: 200;
}

.labelText{
    font-size: 14px;
    color: #FFF;
    margin-bottom: 10px;
}

.footer {
    margin-top: 2em;
}

.footer a {
    text-transform: uppercase;
}

.footer p {
    font-size: 11px;
    margin-bottom: 20px;
}

hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eeeeee;
}

/* Registration Wizard */
.Section.Section1 {
    width: 44%;
    float: left;
    margin-right: 5%;
}
.Section.Section2 {
    width: 44%;
    float: left;
}
.Section.Section3 {
    width: 100%;
    clear: both;
    margin-bottom: 40px;
}

.fieldSpec.FileField .FileField {
    margin-right: 50px;
    max-width: 440px;
    float: left;
    padding:0;
}

.body_Firefox .FileField input[type="file"] { 
    padding: 0px 7px 10px 7px;
} 

.FileField input[type="file"]::-ms-value { 
    border-width: 0; 
    background-color: transparent; 
} 

.FileField input[type="file"]::-ms-browse { 
    border-width: 0; 
    background-color: rgba(0, 0, 0, 0.15); 
    border-radius: 2px; 
} 

.dropbox-dropin-btn,
.dropbox-dropin-btn:link,
.dropbox-dropin-btn:hover,
.FileField .drivePickerButton {
    display: block;
    float: left;
    height: 40px;
    width: 40px;
    font-size: 0 !important;
    text-indent: -999px !important;
    text-decoration: none;
    padding: 0;
    border:none;
    margin: 0 20px 0 0;
}
.dropbox-dropin-btn,
.dropbox-dropin-btn:link,
.dropbox-dropin-btn:hover {
    background-image: url(../images/dropbox.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.FileField .drivePickerButton {
    background-image: url(../images/drive.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.dropbox-dropin-btn .dropin-btn-status {
    display: none;
}

/* IE Fix */
.body_IE8 .dropbox-dropin-btn,
.body_IE8 .dropbox-dropin-btn:link,
.body_IE8 .dropbox-dropin-btn:hover,
.body_IE9 .dropbox-dropin-btn,
.body_IE9 .dropbox-dropin-btn:link,
.body_IE9 .dropbox-dropin-btn:hover {
    background: url(../images/dropbox.png) no-repeat center center #FFFFFF;
    filter: none;
}


/* Mobile Redefinitions */
@media all and (max-width: 990px){
    #wrapper {
    margin-left:10%;}

    .aside{
        width: 10%;}
}

@media all and (max-width: 600px) {
        #wrapper {
    margin-left:8%;}

    .aside{
        width: 8%;}
    .tableList th,
    .tableList td:empty {
        display: none;
    }

    .tableList,
    .tableList thead,
    .tableList tbody,
    .tableList tr,
    .tableList td {
        display: block;
    }

    .tableList thead,
    .tableList tbody,
    .tableList tr,
    .tableList td {
        width: auto;
    }

    .tableList td:last-child {
        border-bottom: 2px solid #CCCCCC;
    }

    .Section.Section1,
    .Section.Section2 {
    width: 100%;
    float: none;
    margin-right: 0;
    }
    .dropbox-dropin-btn,
    .dropbox-dropin-btn:link,
    .dropbox-dropin-btn:hover,
    .FileField .drivePickerButton{
        margin: 16px 20px 0 0;
        float: none;
        display: inline-block;
        vertical-align: middle;
    }

    .fieldSpec.FileField .FileField{
        max-width: 100%;
        float: none;
    }
    button, .buttonLike, .buttonLike:visited{
        margin-bottom: 20px;
    }
}

