
#subheader {
    background: #1a2048;
    color: #838494;
}

#subheader .headings {
    padding: 35px 0 15px 0;
}

#subheader h1 {
    margin: 0;
    color: #FFF;
    text-transform: uppercase;
}

#subheader h3 {
    margin: 0 0 10px;
    font: 15px/1 "droid_sansbold", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

#subheader .links {
    position: absolute;
    top: 15px;
    right: 0;
}

#subheader .links a {
    margin-left: 15px;
    color: #838494;
    text-transform: uppercase;
    font-family: "droid_sansbold", Arial, Helvetica, sans-serif;
    font-weight: normal;
    letter-spacing: -1px;
}

.container-apply {
    position: relative;

}




#stepnums {
    position: absolute;
    top: 0;
    left: 0;
}

#stepnums strong,
#stepnums a {
    display: inline-block;
    margin: 0 1px 0 0;
    padding: 0 12px;
    background: #e3e1e7;
    color: #878587;
    letter-spacing: 0;
    text-transform: uppercase;
    font: 14px/30px "droid_sansbold", Arial, Helvetica, sans-serif;
}

#stepnums a:hover {
    text-decoration: none;
    background: #D3D1D7;
}

#stepnums a.selected {
    background: #1a2048 !important;
    color: #FFF !important;
    position: relative;
}

#stepnums a.selected:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 8px;
    left: 0;
    bottom: -8px;
    background: url(../img/apply-selected.png) no-repeat bottom center;
}

#stepnums strong {
    background: #3c8f9e;
    color: #FFF;
}



#progress {
    float: right;
    width: 30%;
    min-width: 200px;
    max-width: 300px;
    position: relative;
}

#progress h3 {
    margin: 15px 0;
    font: 30px/1 "DINfunProPlain";
    /* color: #1b2347; */
    color: rgb(41, 55, 141);
    text-transform: uppercase;
}

#progress h4 {
    text-align: center;
    text-transform: uppercase;
    color: #777;
    font: 14px/1.2 "droid_sansregular", Arial, Helvetica, sans-serif;
    margin: 0 0 10px;
}

#progress .white {
    background: #FFF;
    padding: 50px 30px 20px;
}

#progress .review {
    text-align: center;
    background: #f4f3f2;
    padding: 25px 20px 30px;
}

#progress .review .btn {
    margin: 5px 2px 0;
}

#progress .percent {
    background: #3c8f9e;
    color: #FFF;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    width: 110px;
    height: 110px;
    position: absolute;
    top: -20px;
    right: -20px;
    border-radius: 50%;
}

#progress .percent strong {
    font: 60px/1 "DINfunProPlain";
    display: block;
    margin: 22px 0 -7px 0;
    padding: 0;
}

#progress .percent strong span {
    font-size: 25px;
    position: relative;
    top: -25px;
}

#progress .percent em {
    font-style: normal;
    text-transform: uppercase;
}

#progress ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset:li;
}

#progress ol > li {
    margin: 0;
    padding: 12px 0 12px 35px;
    position: relative;
    border-top: 1px solid #eee;
    text-transform: uppercase;
    font: 13px/1.2 "droid_sansregular", Arial, Helvetica, sans-serif;
}

#progress ol > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li;
    position: absolute;
    top: 8px;
    left: 1px;
    color: #FFF;
    background: #D4D4D4;
    display: block;
    text-align: center;
    width: 23px;
    height: 23px;
    line-height: 23px;
    font-size: 12px;
    letter-spacing: -1px;
}

#progress ol > li.selected {
    font: 13px/1.2 "droid_sansbold", Arial, Helvetica, sans-serif;
    color: #1a2048;
}

#progress ol > li.selected:before {
    background: #1a2048;
}

/*#progress ol > li.done:before {
    background: #A4A4A4;
}
*/
#progress ol > li.done:after {
    content: "";
    width: 16px;
    height: 11px;
    background: url(../img/tick.png) no-repeat;
    float: right;
}



.apply-form {
    clear: left;
    float: left;
    width: 60%;
    min-width: 480px;
    max-width: 650px;
    margin: 70px 0 0;
}

.apply-form fieldset {
    margin: 0 0 25px;
}

.apply-form legend {
    text-transform: uppercase;
    font: 15px/1.2 "droid_sansbold", Arial, Helvetica, sans-serif;
    padding-bottom: 7px;
    margin-bottom: 25px;
    color: #777;
    border-bottom: 1px solid #EEE;
}

.apply-form fieldset.wide legend {
    margin-bottom: 15px;
    padding-bottom: 0;
    border: none;
}

.apply-form #id_project_aim {
    height: 75px;
}

.apply-form #id_project_description,
.apply-form #id_reference {
    height: 300px;
}

.apply-form textarea {
    height: 150px;
}

.apply-form .formset {
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #EEE;
}

.apply-form .delete-row {
    display: block;
    margin: -10px 0 10px 150px;
}

.apply-form .add-row {
    display: block;
    border-top: 1px solid #EEE;
    margin: -26px 0 30px;
}

.apply-form .add-row .btn {
    /*color: #FFF;*/
    float: right;
    background: #EEE;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.apply-form .add-row .btn:hover,
.apply-form .add-row .btn:active,
.apply-form .add-row .btn:focus {
    background: #DDD;
}

.apply-form .form-tips {
    background: #f4f3f2;
    margin: 0 0 25px 0;
    padding: 25px 25px 15px;
    position: relative;
    color: rgb(24, 152, 139);
}

.apply-form .form-tips h3 {
    margin-top: 0;
}

.apply-form .form-intro {
    background: #f4f3f2;
    padding: 25px 25px 15px;
    margin-bottom: 30px;
}

.apply-form .btn-wrap {
    background: #f4f3f2;
    margin-top: 25px;
    padding: 25px 25px 15px;
    /*text-align: center;*/
}

.apply-form .btn-wrap p {
    color: #777;
    margin: 0;
    padding: 15px 0 0;
    font: 13px/1.5 "droid_sansregular", Arial, Helvetica, sans-serif;
}

.apply-form .btn-wrap {
    background: none;
    border-top: 1px solid #EEE;
    padding: 25px 0 15px;
}

/* save and save & continue at the top */
.apply-form .btn-top-wrap {
    background-color: #f4f3f2;
    /*background: none;*/
    margin: 0 0 25px 0;
    padding: 15px;
    /*border-bottom: 1px solid #EEE;*/
}


#application-list {
    padding: 30px 0;
    min-height: 600px;
}

#application-list table {
    width: 80%;
    min-width: 320px;
    margin-bottom: 100px;
}

#application-list tbody th {
    border-bottom: 1px solid #EEE;
    font: 14px/1.5 "droid_sansbold", Arial, Helvetica, sans-serif;
}

#application-list .percent {
    background: #3c8f9e;
    color: #FFF;
    font-size: 15px;
    line-height: 1;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
}

#application-list td {
    vertical-align: middle !important;
}


a.view-application {
    margin-top: 5px;
    background: rgb(24, 152, 139) !important;
    font: 16px/20px "droid_sansbold", Arial, Helvetica, sans-serif !important;
    color: #FFF !important;
    padding: 10px 12px !important;
    border: 0 !important;
    text-shadow: none !important;
    -webkit-border-radius: 4px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px !important;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    -webkit-border-radius: 4px;
    text-transform: uppercase;
    position: relative;
}



ol.request-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset:li;
}

ol.request-list > li {
    margin: 0;
    padding: 12px 0 12px 35px;
    position: relative;
    border-top: 1px solid #eee;
    font: 14px/1.2 "droid_sans", Arial, Helvetica, sans-serif;
    color: #878587;
}

ol.request-list > li:first-child {
    border-top: none;
}

ol.request-list > li strong {
    font: 14px/1.2 "droid_sansbold", Arial, Helvetica, sans-serif;
}

ol.request-list > li span {
    font: 14px/1.2 "droid_sansbold", Arial, Helvetica, sans-serif;
    float: right;
    color: black;
}

ol.request-list > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li;
    position: absolute;
    top: 8px;
    left: 1px;
    color: #878587;
    background: #e3e1e7;
    display: block;
    text-align: center;
    width: 23px;
    height: 23px;
    line-height: 23px;
    font-size: 12px;
    letter-spacing: -1px;
}

.styledfile {
    float: left;
    width: 100%;
    max-width: 370px;
    vertical-align: middle;
    height: 60px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.styledfile label {
    /*color: @green;*/
    cursor: pointer;
}

.styledfile label:hover {
    color: #111;
    text-decoration: underline;
}

.styledfile span {
    float: right;
}

.styledfile a {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 5px;
}

/*.styledfile input {*/
    /*margin-right: 3px;*/
/*}*/

span.age {
    /*font-weight: bold;*/
    line-height: 32px;
}


#submit-form input[type=checkbox] {
  margin-top: 1px;
  transform: scale(1.25);
  -webkit-transform: scale(1.25);
}

#submit-form label {
    margin-left: 0; padding-left: 0;
}

#submit-form .form-tips {
    background: #f4f3f2;
    margin: 0 0 25px 0;
    padding: 25px 25px 15px;
    position: relative;
    color: rgb(24, 152, 139);
}

.btn-apply {
    color: black;
    background: rgb(192, 192, 192);
    border-color:rgb(192, 192, 192);
}

textarea.too_long {
    border-color: #dc3e05 !important;
}

