﻿@font-face {
  font-family: 'nta';
  src: url('NTA-Light-20130221.eot?#iefix') format('embedded-opentype'),
       url('NTA-Light-20130221.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'nta';
  src: url('NTA-Bold-20130221.eot?#iefix') format('embedded-opentype'),
       url('NTA-Bold-20130221.woff') format('woff');
  font-weight: bold;
}

@font-face {
  font-family: 'ntatabularnumbers';
  src: url('NTATabularNumbers-Light.eot?#iefix') format('embedded-opentype'),
       url('NTATabularNumbers-Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ntatabularnumbers';
  src: url('NTATabularNumbers-Bold.eot?#iefix') format('embedded-opentype'),
       url('NTATabularNumbers-Bold.woff') format('woff');
  font-weight: bold;
}


@font-face {
  font-family: GDS-Logo;
  src: local("HelveticaNeue"), local("Helvetica Neue"), local("Arial"), local("Helvetica");
}

@media screen {
    html {
        font-size: 62.5%;
        overflow-y: scroll;
        -webkit-tap-highlight-color: #ffffff;
        background-color: #dee0e2;
    }

    #global-header .header-wrapper:after, #global-header .header-wrapper .header-global:after, 
    #global-header .header-wrapper .header-global .header-logo:after, #global-header .header-proposition #proposition-links:after, 
    #global-header-bar:after, #global-cookie-message .outer-block:after, #footer .footer-wrapper:after, #footer .footer-meta:after {
        content: "";
        display: block;
        clear: both;
    }
}

.tltoolbar input[type="submit"]:hover {
    color: #2e8aca;
}

.tlform {
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
    padding: 1.6842em 1.6842em 1.6842em 1.6842em;
    -webkit-font-smoothing: antialiased;
}

.tlform legend {
    font-size: 1em;
    padding-bottom: 1em;
}

.tlmaincontent_nosecbuttons, .headerarea2_nosecbuttons {
    margin: 0;
}

.tlform .formtitle h1 {
    /* 36/19 = 1.895 */
    font-size: 1.895em;
}

.tlform .fieldmergedcolumn h2, .tlform h2.secheadertitle {
    font-size: 1.895em;
    color: #000000;
    font-weight: bold;
}

.tlform h3 {
    margin-left: 0;
    margin-bottom: 20px;
    line-height: 1.25;
}

.tlform legend h3 {
    padding-bottom: 20px;
    line-height: 1.25;
}

.tlheadercontent {
    padding: 0;
}

.nonIE fieldset.emptylegend {
    margin: 0;
    padding: 0;
}

.fieldrow.captionover, .fieldrow.captionsuppressed {
    margin-bottom: 1.579em;
    padding-top: 0;
}

.fieldrow.captionsuppressed {
    margin-top: -1em;
}

.fieldiconscolumn {
    display: none;
}

.fieldmergedcolumn {
    overflow: visible;
    width: 100%;
}

.fieldrow_err .fieldmergedcolumn {
    width: 80%;
}

.fielderrortext>strong , .aerror {
    font-size: 0.842em;
    font-weight: 100;
}

.captionover .fieldmergedcolumn>label, .captionover .fieldcaptiondate>label, .captionover .fieldcaptionlistbox  {
    margin-bottom: 10px;
    display: block;

}

@media (max-width: 640px) {
    body {
        font-size: 1.6em;
        line-height: 1.25;
    }

    .tlform .fieldmergedcolumn h2, h2.tlform .secheadertitle {
        font-size: 1.5em;
        color: #000000;
        font-weight: bold;
    }

    .fieldrow.captionover, .fieldrow.captionsuppressed {
        margin-bottom: 0.9375em;
    }

    .tlform {
        padding: 0 14px;
    }

    .tlform h3 {
        margin-left: 0;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .tlform legend h3 {
        padding-bottom: 10px;
        line-height: 1.2;
    }
}



@media (min-width: 641px) {
    .formtextarea, .formtextfield, .tlform select, .listboxfield, .select2-container {
        width: 50%;
    }

    .formtextarea_err, .formtextfield_err {
        width: 62.5%;
    } 

 }

@media (max-width: 640px) {
    .form-control {
        font-size: 0.842em;
        line-height: 1.25;
    }

    .listboxfield, .select2-container {
        width: 93%;
        max-width: 100%;
    }
}

.formtextarea, .formtextarea_err, .formtextfield, .formtextfield_err, .formpasswordfield, .narrowformtextfield,
.hourfield, .minutefield, .dayfield, .monthfield, .yearfield, .tlform select {
    line-height: 1.3157894737;
    text-transform: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 4px 4px 4px 6px;
    background-color: #fff;
    border: 1px solid #bfc1c3;
    /*-webkit-appearance: none;*/
    border-radius: 0;
    color: #000;
}

.captionwithlinkedbutton {
    display: block;
}

.fieldwithlinkedbutton {
    width: 83%;
}

.linkedbuttoncontainer {
    width: auto;
}

/*Attachments*/

input.attachfieldbuttonattach {
    float: left;
    position: absolute;
    margin-left: -18px;
}

input.attachfieldbuttonattach {
    background-color: #dee0e2;
    padding: 0.6em 0.8em 0.5em 0.8em;
    box-shadow: 0 2px 0 #b5babe;
    line-height: 1.25;
    text-decoration: none;
    color: #333333;
    font-size: 1.8rem;
}

input.attachfieldbuttonretrieve {
    display: none;
}

input[type="checkbox"][id^="FA_"] + label {
    background: transparent;
    margin: 0 15px 0 0;
    padding: 0 0 0 0;
    border: none;
    height: 23px;
}

input[type="checkbox"][id^="FA_"] + label::before {
    content: "You've attached: ";
}

input[type="checkbox"][disabled="disabled"] {
    display: none;
}

@media only screen {
    input:focus, textarea:focus, select:focus, button:focus, #global-header input:focus {
        outline: 3px solid #ffbf47;
    }

    .select2-container {
    }

    .select2-container .select2-choice {
        border-radius: 0;
        background-image: none;
        padding: 2px 2px 2px 5px;
    }

    .select2-search input:focus {
         outline: 3px solid #ffbf47;
    }

   .select2-container-active .select2-choice {
        border: 3px solid #ffbf47;
        padding: 0 0 0 3px;
    }

    .select2-dropdown-open .select2-choice {
        border: 1px solid #aaa;
        padding: 2px 2px 2px 5px;
    }

    .select2-drop.select2-drop-above.select2-drop-active {
        border-top: 1px solid #aaa;
    }

    .select2-drop-active {
        border: 1px solid #aaa;
        border-top: none;
    }

}


.dategroup, .dategroup>input {
    display: inline-block;
}

.dategroup {
    margin-right: 20px;
    width: 2.632em
}

.dategroup>label {
    display: block;
    margin-bottom: 5px;
}

.tliconcalendarcontrol {
    display: none;
}

.fieldmergedcolumn.nocaption {
    display: none;
}

.radiogroup label.selected, .radiogroup_err label.selected, .checkboxfield label.selected, .checkboxfield_err label.selected {
    background: #fff;
    border-color: #0b0c0c;
}

.radiogroup label, .radiogroup_err label, .checkboxfield label, .checkboxfield_err label {
    background-color: #dee0e2;
    border: 1px solid #dee0e2;
    display: block;
    padding: 18px 30px 15px 45px;
    margin: 5px 15px 5px 0px;
    cursor: pointer;border
    top: 0;
    float: left;
    position: relative;
}

.radiogroup label:hover, .radiogroup_err label:hover, .checkboxfield label:hover, .checkboxfield_err label:hover {
    border: 1px solid #000;
    
}

.radiogroup br, .radiogroup_err br, .checkboxfield br, .checkboxfield_err br {
    clear: both;
}


input[type="radio"], input[type="checkbox"] {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 21px;
    left: 15px;
    outline: none;
}

.radiogroup label.focused, .radiogroup_err label.focused, .checkboxfield label.focused, .checkboxfield_err label.focused {
    outline: 3px solid #ffbf47;
}

.radiogroup label.focused input[type="radio"], 
.radiogroup_err label.focused input[type="radio"], 
.checkboxfield label.focused input[type="checkbox"], 
.checkboxfield_err label.focused input[type="checkbox"] {
    outline: none;
}

/*HEADER*/

#global-header {
    background-color: #0B0C0C;
    width: 100%;
}

#global-header-bar, #global-header .header-wrapper, #global-cookie-message p, .phase-banner {
    max-width: 960px;
    margin: 0 auto;
}

#global-header .header-wrapper {
    padding: 8px 30px;
}


#global-header .header-proposition {
    padding-top: 10px;
}

@media (min-width: 769px) {
    #global-header.with-proposition .header-wrapper .header-global {
        float: left;
        width: 215px;
    }
    #global-header.with-proposition .header-wrapper .header-proposition {
        float: left;
    }
    #global-header .header-proposition {
        padding-top: 0;
    }

    #global-header.with-proposition .header-wrapper .header-global .header-logo, #global-header.with-proposition .header-wrapper .header-global .site-search {
        width: 100%;
    }
}


@media (min-width: 641px) {
    #global-header .header-wrapper {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

#global-header .header-proposition #proposition-name {
    font-family: "nta", Arial, sans-serif;
    font-size: 24px;
    line-height: 1.25;
    font-weight: bold;
    text-transform: none;
    color: #FFF;
    text-decoration: none;
}

#global-header .header-proposition #proposition-menu {
    margin-top: 5px;
}

#global-header.with-proposition .header-wrapper .header-proposition .content {
    display: inline-block;
}

#global-header .header-wrapper .header-global .header-logo {
    margin: 5px 0 2px;
    float: left;
}

#global-header #logo {
    float: left;
    position: relative;
    top: 1px;
    height: 30px;
    overflow: visible;
    vertical-align: baseline;
    color: #FFF;
    font-weight: bold;
    font-size: 30px;
    line-height: 1em;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    margin-bottom: -1px;
    padding-bottom: 1px;
}

#global-header #logo img {
    position: relative;
    top: -2px;
    width: 35px;
    height: 31px;
    padding-right: 6px;
    float: left;
    display: inline;
    line-height: inherit;
    border: none;
}

#global-header-bar .header-bar {
    height: 10px;
    background-color: #005ea5;
}


#global-cookie-message {
    background-color: #d5e8f3;
    padding: 10px 30px;
}

#global-cookie-message p, .phase-banner p {
    font-size: 16px;
    line-height: 1.25;
}

.phase-banner p {
    margin: 0;
}

.phase-banner {
    padding: 10px 0;
    border-bottom: 1px solid #bfc1c3;
}

.phase-banner .phase-tag {
    display: inline-block;
    vertical-align: top;
    margin: 0 8px 0 0;
    padding: 2px 5px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: #fff;
    /*BETA*/
    background-color: #f47738; 
    /*ALPHA*/
    /*background-color: #d53880;*/
}

@media (max-width: 1015px) and (min-width: 641px) {
    .phase-banner {
        padding: 10px 30px;
    }
}

@media screen and (max-width: 640px) {
    #global-header .header-proposition #proposition-name {
        font-size: 20px;
        line-height: 1.2;
    }
    
    #global-header .header-wrapper {
        padding: 8px 14px;
    }

    #global-cookie-message {
        padding: 10px 14px;
    }

    .phase-banner {
        padding: 10px 14px;
    }

}


/*FOOTER*/
@media screen {
    #footer {
        background-color: #dee0e2;
        border-top: 1px solid #a1acb2;
    }

    #footer a {
        color: #454a4c;
    }

    #footer a:hover {
        color: #171819;
    }

    .group {
        zoom: 1;
    }

    #footer .footer-wrapper {
        margin: 0 auto;
        width: auto;
        max-width: 1020px;
        padding-top: 20px;
        background-color: #dee0e2;
        margin: 0 auto;
    }

    #footer .footer-meta {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 60px;
        clear: both;
        font-size: 0;
        color: #454a4c;
    }

    #footer .footer-meta .footer-meta-inner {
        display: inline-block;
        vertical-align: bottom;
        width: 100%;
    }

    #footer .footer-meta .copyright {
        font-size: 16px;
        line-height: 1.25;
        font-weight: 300;
        text-transform: none;
        margin: 30px 0 0 0;
        width: 100%;
        display: block;
    }

    #footer .footer-meta .footer-meta-inner ul {
        font-size: 16px;
        line-height: 1.5;
        font-weight: 300;
        text-transform: none;
        display: inline-block;
        list-style: none;
        margin: 0 0 1.5em 0;
        padding: 0;
    }

    #footer .footer-meta .footer-meta-inner ul li {
        display: inline-block;
        margin: 0 15px 0 0;
    }

    #footer .footer-meta-inner li {
        font-size: 16px;
        line-height: 1.25;
        font-weight: 300;
        text-transform: none;
        padding-left: 0;
    }

    #footer .footer-meta .copyright a {
        display: block;
        background-image: url('govuk-crest.png');
        background-repeat: no-repeat;
        background-position: 50% 0;
        text-align: center;
        text-decoration: none;
        padding: 115px 0 0 0;
    }

    #footer .footer-meta .footer-meta-inner .open-government-licence {
        clear: left;
        position: relative;
    }

    #footer h2 {
        font-size: 24px;
        line-height: 1.25;
        font-weight: 400;
        text-transform: none;
        font-weight: bold;
        color: #171819;
        margin: 0;
    }

    #footer .footer-meta .footer-meta-inner .open-government-licence h2 {
        margin-bottom: 1em;
    }


    #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
        display: block;
        width: 41px;
        height: 17px;
        overflow: hidden;
        text-indent: -999em;
        background: url('open-government-licence.png') 0 0 no-repeat;
    }

    #footer .footer-meta .footer-meta-inner .open-government-licence p {
        font-size: 16px;
        line-height: 1.25;
        font-weight: 300;
        text-transform: none;
        margin: 0;
        padding-top: 0.1em;
    }
}

@media screen and (min-width: 641px) {
    #footer .footer-wrapper {
        padding-top: 60px;
    }

    #footer .footer-meta {
        padding-left: 30px;
        padding-right: 30px;
    }

    #footer .footer-meta .footer-meta-inner {
        width: 75%;
    }

    #footer .footer-meta .copyright {
        display: inline-block;
        text-align: inherit;
        width: 25%;
        padding-top: 15px;
        margin-top: 0;
    }

    #footer .footer-meta .footer-meta-inner ul {
        margin: 0 0 1em 0;
    }

    #footer .footer-meta .copyright a {
        background-position: 100% 0;
        text-align: right;
    }

    #footer .footer-meta .footer-meta-inner .open-government-licence {
        padding-left: 53px;
    }

    #footer .footer-meta .footer-meta-inner .open-government-licence h2 {
        position: absolute;
        left: 0;
        top: 0;
        width: 41px;
        height: 100%;
    }

}


@media screen and (max-width: 640px) {
    #footer .footer-meta-inner li {
    font-size: 14px;
    line-height: 1.14286;
    }
}

/*BUTTONS*/

.button, .buttondisabled {
    text-decoration: underline;
}

.tltoolbar_bottom {
    float: left;
}

.tltoolbar_bottom #li-li-BB_Back {
    display: block;
}

.tltoolbar_bottom #li-BA_Goto_notification {
    display: block;
}

.dlgbuttons input[name='BB_OK'], .tltoolbar #BTB_BB_Next, #BTB_BB_OK, #BB_OK {
    background-color: #00823b;
    position: relative;
    display: -moz-inline-stack;
    display: inline-block;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-box-shadow: 0 2px 0 #003518;
    -moz-box-shadow: 0 2px 0 #003518;
    box-shadow: 0 2px 0 #003518;
    font-size: 1em;
    line-height: 1.25;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    color: #fff;
    margin: 0 15px 15px 0;
    padding: 0.52632em 0.78947em 0.26316em 0.78947em;
    vertical-align: top;
    display: block;
}

.dlgbuttons input[name='BB_OK'] {
    display: inline-block;
}

.tltoolbar #BTB_BB_Exit {
    padding: 0.52632em 0.78947em 0.26316em 0.78947em;
}

#BTB_BA_Goto_notification {
    padding: 0.52632em 0.78947em 0.26316em 0;
}

.tltoolbar #BTB_BB_Next:hover, .tltoolbar #BTB_BB_Next:focus {
    background: #00692f;
}

@media screen and (min-width: 641px) {
    .micro {
    }
}

.optional, .micro {
    font-size: 90%;
}

.micro {
    display: block;
    color: #6f777b;
}

@media only screen and (max-width: 480px) {
    .tl_responsive .fieldmergedcolumn, .tl_responsive .columns .fieldmergedcolumn {
        width: 100%;
    }

    .radiogroup label, .radiogroup_err label, .checkboxfield label, .checkboxfield_err label {
        width: 73%;
        margin: 5px 3px 5px 0px;
    }

    .radiogroup_err label, .checkboxfield_err label {
        width: 65%;
    }

    .tltoolbar_bottom {
        width: 100%;
    }


    .tltoolbar #BTB_BB_Next {
        width: 96%;
    }

    .tltoolbar #BTB_BB_Exit {
        padding-left: 0;
    }

}

/*HELP TEXT*/
details {
    font-weight: 400;
}

details summary {
    display: inline-block;
    color: #005ea5;
    cursor: pointer;
    position: relative;
    margin-bottom: 0.26316em;
    padding: 1px 3px 1px 3px;
}

details summary:focus {
    outline: 3px solid #ffbf47;
    border-color: transparent;
}

details summary:hover {
    color: #2e8aca;
}

details .summary {
    text-decoration: underline;
}

details .panel-indent {
    margin-top: 0;
}

.panel-indent {
    clear: both;
    border-left: 4px solid #bfc1c3;
    padding: 10px 0 10px 15px;
    margin: 30px 15px 45px 0;
}

.tlform .radiogroup_err, .checkboxfield_err {
    border: none;
}



.fielderrortext,
div.fielderrortext+div.fieldwidthmodifier, 
div.fielderrortext+div.fieldwidthmodifierlist, 
div.fielderrortext+div.fieldwidthmodifierdate, 
div.fielderrortext+div.fieldwidthmodifierradio {
    border-left: 3px solid #df3034;
    padding: 0.75em 0em 1em 1em;
    height: auto;
    width: 98%;
}

.fieldwidthmodifier_err {
    width: 93%;
}

fieldwidthmodifier_errlist {
    width: 98%;
}

.fielderrortext {
    padding-bottom: 0em;
}

.error-list {
    border: 3px solid #df3034;
    padding: 15px 20px 0px 20px;
    margin-bottom: 30px;
}

.error-list h2.info, .error-list h2.info2 {
    font-weight: 700;
    margin-bottom: 5px;
}

.error-list a {
     text-decoration: none;
     font-size: 16px;
     color: #df3034;
}

.error-list a:hover {
    text-decoration: underline;
}

#morebutton {
    font-size: 16px;
    font-weight: bold;
}

.hiddenerrors {
    display: none;
}

.error-list ol {
    margin-top: 0px;
    margin-bottom: 5px;
}

.error-list li {
    color: #df3034;
    font-size: 16px;
}


@media (max-width: 1024px) {
    .aj_formmessage {
        width: 93%;
        margin-left: 7px;
    }

}


.tlmaincontent_secbuttons {
    position: relative;
    
}

.secbuttoncontainer {
    width: 193px;
    top: -22px;
    left: -205px;
    position: absolute;
}

div.currentsectionindicator, div.enabledsectionindicator {
    position: relative;
    background-image: url(transparent);
    top: 9px;
    left: 0px;
}

div.currentsectionindicator:after, div.enabledsectionindicator:after {
    content: '>';
    font-size: 15px;
    font-weight: 100;
}

div.currentsectionindicator:after {
    color: white;
}

.sectionbuttoncontainerhover input[type="submit"], .sectionbuttoncontainer input[type="submit"] {
    height: 44px;
    text-align: left;
    padding-left: 16px;
    width: 190px;
    font-size: 14px;
    font-weight: 400 !important;
    background-image: none;
}

input[type="submit"].currentsectionbutton {
    font-weight: bold;
    background: #005EA5;
    color: white;
}

.currentsectionindicator, .enabledsectionindicator, .disabledsectionindicator {
    height: 0px;
}

.sectionbuttoncontainer input[type="submit"].disabledsectionbutton {
    background-color: #F8F8F8 !important;
    color: #6F777B !important;
    opacity: 1;
    background-image: none;
}

.sectionbuttoncontainer input[type="submit"].enabledsectionbutton {
  background-color: #BFC1C3;
}

.sectionbuttoncontainerhover input[type="submit"].enabledsectionbutton {
  background-color: #cbcdce;
}

.sectionbuttoncontainerhover input[type="submit"].currentsectionbutton {
  background-color: #0370C3;
}

.tlmaincontent_secbuttons, .headerarea2_secbuttons {
    margin-right: 5px;
    margin-left: 205px;
}

a[title^="Accessibility Help"] {
    display: none;
}

.dlgbuttons, .CustomDialog .toolbarbuttons {
    float: left;
}

#BTB_BB_OK, #BB_OK {
    display: inline-block;
}

select#F_list1 {
    width: 100%;
}

.content_corners_top {
    display: none;
}

.dialog .dlgheadercontrols {
    display: none;
}

table.tltable {
    border-bottom: 1px solid #bfc1c3;
    border-top: none;
}

.formsectionbody table.tltable th {
    background-color: #FFF;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #bfc1c3;
}

table.tltable td {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #bfc1c3;
}

.tablerowodd {
      background-color: #FFF;
}