﻿.mb-0 {
    margin-bottom: 0;
}

.d-flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
}

.justify-content-center {
    justify-content: center;
	text-align: center;
}
.clearboth{
   clear: both;
}
.floatNone{
   float: none;
}
.mandatory:after {
    color: red;
    content: "*";
    position: absolute;
    /*margin-left: 3%;*/
    font-family: 'FontAwesome';
    font-size: 18px;
}

.edge .form-control.edge-no-padding-bottom {
    padding-bottom: 0px;
}

.col-form-label {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.col-form-label-lg {
    padding-top: calc(.5rem + 1px);
    padding-bottom: calc(.5rem + 1px);
    font-size: 1.25rem;
    line-height: 1.5;
}

.col-form-label-normal {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
    font-weight: normal;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}

    .close:hover, .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

.modal-close {
    float: right;
    border: 0;
    background-color: transparent;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}

    .modal-close:hover, .modal-close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

/* Validation Start: Use the same colour as .parsley-errors-list */
.dfes .warning-text {
    /* Using the same colour as .parsley-errors-list */
    color: #d00000;
}
.form-group .form-control {
    /* Using the same style as [data-sf-role=form-container] .form-fields-container .form-group .form-control */
    transition: color .15s cubic-bezier(.4,0,.2,1),background-color .15s cubic-bezier(.4,0,.2,1),border-color .15s cubic-bezier(.4,0,.2,1),box-shadow .15s cubic-bezier(.4,0,.2,1);
    min-height: 3.2em;
    border: 1px solid #959595;
}

    .form-group .form-control:focus {
        /* Using the same style as [data-sf-role=form-container] .form-fields-container .form-group .form-control:focus */
        box-shadow: 0 0 0 0.2rem rgba(0,56,101,.8);
    }

    .form-group .form-control.ng-invalid {
        /* Using the same colour as .parsley-errors-list */
        border-color: #d00000;
    }

    .form-group .form-control::-webkit-input-placeholder {
        color: #575757;
    }

    .form-group .form-control::-moz-placeholder {
        color: #575757;
    }

    .form-group .form-control::-moz-placeholder {
        color: #575757;
    }

    .form-group .form-control:-ms-input-placeholder {
        color: #575757;
    }

/* Validation End */

.dfes a.link-bold {
    font-weight: 600;
    text-decoration: underline;
}

.dfes button.link-bold {
    padding: 1px 0px;
    font-weight: 600;
    text-decoration: underline;
}

.dfes .dfes-u-align--centre {
    text-align: center;
}

.dfes .dfes-c-content-inner-header {
    background-color: #e7eaed;
    color: #003565;
    padding: 40px 25px;
}
@media screen and (min-width: 1680px) {
    .dfes .dfes-c-content-inner-header {
        padding-left: 60px;
    }
}
.dfes .dfes-c-content-inner-body {
    padding: 15px 0px;
}

/* .dfes-c-content-inner - start */
.dfes .dfes-c-content-inner .dfes-c-callout-box {
    height: auto;
    display: block;
    border: 1px solid #e0dbc6;
    background-color: #f4eed1;
    padding: 0.7em 15px;
    position: relative;
    margin: 0 10px 15px;
}

@media (min-width: 768px) {
    .dfes .dfes-c-content-inner .dfes-c-callout-box {
        height: 78px;
        display: table;
    }
}

@media (min-width: 1200px) {
    /*.dfes .dfes-c-content-inner .dfes-c-callout-box {
        width: 100%;
        margin: 0 0 15px;
    }*/
}

@media (min-width: 768px) {
    .dfes .dfes-c-content-inner .dfes-c-callout-box--warning {
        width: calc(100% - 20px);
    }
    .dfes .dfes-c-content-inner .dfes-c-callout-box {
        margin: 30px 0;
        align-items: center;
        padding: 20px;
    }
    /*.callout-box {
        margin: 30px 0;
        align-items: center;
        padding: 20px;
    }*/
}
/* .dfes-c-content-inner - end */

/* .dfes-loading  - start */
.dfes .dfes-loading {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.dfes img.loading-image {
    width: 100%;
    height: 100%;
}

.dfes .dfes-loading--centre {
    width: 80px;
    height: 80px;
    display: block;
    left: 50%;
    position: absolute;
}

.dfes .dfes-loading--centre-text {
    width: 285px;
    display: block;
    left: calc(50% - 120px);
    position: absolute;
    vertical-align: bottom;
    top: 70px;
    font-size: 0.9em;
}

@media (min-width: 768px) {
    .dfes .dfes-loading--centre-text {
        font-size: 1em;
    }
}

.dfes .sk-cube-grid {
    width: 40px;
    height: 40px;
    margin: 100px auto;
}

    .dfes .sk-cube-grid .sk-cube {
        width: 33%;
        height: 33%;
        background-color: #333;
        float: left;
        -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
        animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    }

    .dfes .sk-cube-grid .sk-cube1 {
        -webkit-animation-delay: 0.2s;
        animation-delay: 0.2s;
    }

    .dfes .sk-cube-grid .sk-cube2 {
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
    }

    .dfes .sk-cube-grid .sk-cube3 {
        -webkit-animation-delay: 0.4s;
        animation-delay: 0.4s;
    }

    .dfes .sk-cube-grid .sk-cube4 {
        -webkit-animation-delay: 0.1s;
        animation-delay: 0.1s;
    }

    .dfes .sk-cube-grid .sk-cube5 {
        -webkit-animation-delay: 0.2s;
        animation-delay: 0.2s;
    }

    .dfes .sk-cube-grid .sk-cube6 {
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
    }

    .dfes .sk-cube-grid .sk-cube7 {
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
    }

    .dfes .sk-cube-grid .sk-cube8 {
        -webkit-animation-delay: 0.1s;
        animation-delay: 0.1s;
    }

    .dfes .sk-cube-grid .sk-cube9 {
        -webkit-animation-delay: 0.2s;
        animation-delay: 0.2s;
    }

@-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

@keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

/* .dfes-loading - end */

/* .spinner - start */
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.dfes .spinner,
.dfes .spinner:before {
    width: 20px;
    height: 20px;
    box-sizing: border-box;
}

    .dfes .spinner:before {
        content: '';
        display: block;
        border-radius: 50%;
        border: 2px solid #ccc;
        border-top-color: #333;
        animation: spinner .6s linear infinite;
    }

.dfes .spinner-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}

.dfes .spinner-add,
.dfes .spinner-remove {
    animation-fill-mode: both;
    animation-duration: .4s;
}

.dfes .spinner-add {
    animation-name: spinner-add;
}

@keyframes spinner-add {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.dfes .spinner-remove {
    animation-name: spinner-remove;
}

@keyframes spinner-remove {
    to {
        transform: scale(0);
    }
}

.dfes .spinner::before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    border-color: #333333 #cccccc #cccccc;
    border-image: initial;
    animation: 0.6s linear 0s infinite normal none running spinner;
    /*new*/
    margin: 0 10px 0 0;
    position: absolute;
    top: 14px;
    left: 10px;
}

.dfes .spinner, .dfes .spinner::before {
    height: 20px;
    box-sizing: border-box;
}

/*.dfes ::before, .dfes ::after {
    box-sizing: border-box;
}*/

.dfes .spinner-add {
    animation-name: spinner-add;
    overflow: hidden;
    white-space: nowrap;
}

.dfes .spinner-add, .dfes .spinner-remove {
    animation-fill-mode: both;
    animation-duration: 0.4s;
}

.dfes .spinner-absolute {
    position: absolute;
    /*top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;*/
    margin: 0 10px 0 0;
    position: absolute;
    top: 14px;
    left: 10px;
}
/* .spinner - end */

/* .dfes-u-button - start */
.dfes .dfes-u-button.dfes-u-button {
    margin: 10px 0px;
}

    .dfes .dfes-u-button.dfes-u-button:focus {
        box-shadow: 0 0 0 2px #003865;
    }

.dfes .dfes-u-button.margin-lg {
    margin: 20px 0px;
}

.dfes .dfes-u-button.dfes-u-button--grey,
.dfes form .form-check-label {
    color: rgb(94,94,94);
}

.dfes .dfes-u-button.dfes-u-button--darkblue:disabled {
    background-color: #F0F0F0;
    color: #5C5C5C;
}

.dfes .dfes-u-button.dfes-u-button--darkblue.spinner:disabled {
    position: relative;
    height: 50px;
    text-align: left;
    text-indent: 27px;
    width: 100%;
}

.dfes .dfes-u-button.dfes-u-button--red {
    color: #fff;
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    background-color: #d9534f;
    border-color: #d43f3a;
    text-decoration: none;
    padding: 15px 23px 15px 14px;
}

    .dfes .dfes-u-button.dfes-u-button--red:hover {
        background-color: #c9302c;
        color: #fff;
        border-color: #ac2925;
    }

    .dfes .dfes-u-button.dfes-u-button--red:disabled {
        background-color: #fa867e;
        border-color: #fa867e;
    }

    .dfes .dfes-u-button.dfes-u-button--red.spinner:disabled {
        position: relative;
        height: 50px;
        text-align: left;
        text-indent: 27px;
        width: 100%;
    }
/* .dfes-u-button - end */

/* .dfes-c-form-fields-container - start */
.dfes .dfes-c-form .dfes-c-form-fields-container .dfes-c-form-field select {
    height: 3.2em;
    border: 1px solid #959595;
}

    .dfes .dfes-c-form .dfes-c-form-fields-container .dfes-c-form-field select option {
        font-size: 1em;
    }

.dfes .dfes-c-form .dfes-c-form-fields-container .dfes-c-form-field.dfes-c-form-field--paragraph textarea {
    height: 12em;
    border: 1px solid #959595;
    font-size: 0.9em;
}

.dfes .dfes-c-form .dfes-c-form-fields-container .dfes-u-button {
    border-width: 0;
    max-width: 230px;
    box-shadow: 1px 1px 1px 1px #797979;
    font-weight: 700;
    display: block;
}

    .dfes .dfes-c-form .dfes-c-form-fields-container .dfes-u-button.dfes-u-button--darkblue {
        margin: 0 auto;
    }

@media (min-width: 768px) {
    .dfes .dfes-c-form .dfes-c-form-fields-container .dfes-u-button {
        float: right;
        margin: 0;
    }
}

.dfes .dfes-c-form .dfes-c-form-fields-container label {
    font-size: 1.1em;
    color: #5c5c5c;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .dfes .dfes-c-form .dfes-c-form-fields-container label {
        text-align: left;
    }
}
/* .dfes-c-form-fields-container - end */

/* .dfes-bs-accordion-header - start */
. /*dfes .dfes-bs-accordion-header {
    display: flex;
    height: 50px;
    color: #003565;
    background-color: #e8ebee;
    width: 100%;
    text-align: left;
    flex-direction: column;
    justify-content: center;
    border-left: 6px solid #ffce01;
    padding-left: 25px;
    margin-bottom: 0;
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 1px;
}

    .dfes .dfes-bs-accordion-header:before {
        content: 'Collapse';
        display: flex;
        position: absolute;
        right: 0;
        width: 130px;
        height: 50px;
        top: 0;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        background-color: #003865;
        text-indent: -10px;
        margin-top: 1px;
    }*/
/*.dfes .dfes-bs-accordion-header:after {
        content: "\f107";
        font-family: 'FontAwesome';
        margin-left: 10px;
        font-size: .8em;
        display: inline-block;
        position: absolute;
        right: 20px;
        color: #fff;
        transform: rotate(180deg);
        font-weight: 400;
    }*/
.dfes .dfes-bs-accordion-header:hover:before {
    background-color: #ffcd05;
    color: #003865;
}

.dfes .dfes-bs-accordion-header.collapsed:before {
    content: 'Expand';
}

.dfes .dfes-bs-accordion-header.collapsed:after {
    transform: rotate(0deg);
}

.dfes-bs-accordion-header:focus,
.dfes-bs-accordion-header:hover {
    cursor: pointer;
}

.no-gutter > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

.no-gutter-left > [class*='col-'] {
    padding-left: 0;
    padding-right: 15px;
}

.no-gutter-right > [class*='col-'] {
    padding-right: 0;
    padding-left: 15px;
}

.clear-both {
    clear: both;
}

.gutter-left {
    padding-left: 15px !important;
}

.dfes .dfes-u-button.no-margin-top-bottom {
    margin: 20px 0 0 0;
}

h3.border-bottom {
    border-bottom: 1px inset #446ea2;
    margin: 0 0 20px;
    padding: 20px 0 10px;
    width: calc(100% - 30px);
}
/*.dfes .dfes-bs-accordion-header:hover:after {
        background-color: #ffcd05;
        color: #003865;
    }*/
/* .dfes-bs-accordion-header - end */
/*Start: Fixes VPI-508. Strange bug here, this fixes VPI-508, please do not remove unless required for some other fix.*/
.dfes .dfes-bs-accordion {
    position: static; /* was relative from EQ stylesheet -- if relative causes bug that covers the content */
}
/*End: Fixes VPI-508. */
/*Start: Update-volunteer-details*/
.remove-left-margin {
    margin-left: -15px;
}

@media (min-width: 992px) {
    .dfes .dfes-u-button.dfes-u-button.single-line {
        display: inline-block;
        float: left;
        clear: none;
        position: static;
        width: 20%;
        margin: 0 20px 0 0;
    }

    .remove-left-margin {
        margin-left: 0;
    }
}
/*End: Update-volunteer-details*/

.dfes .dfes-c-callout-box.callout-box {
    position: relative;
    margin: 30px 0;
    align-items: center;
    padding: 20px;
}

.dfes .callout-box {
    position: relative;
}

    .dfes .callout-box h3 {
        margin-top: 0;
    }

.dfes .warning-text.heading {
    color: #ec5100;
}

.dfes .callout-box__content p {
    padding: 5px 0;
}

.dfes .clearfix {
    clear: both;
}

.dfes .callout-box__content h4 {
    margin-top: 0.5em;
}

.dfes .dfes-u-button.dfes-u-button {
    margin: 10px 0px;
}

.dfes .pull-left.marg {
    margin: 0 5px 0 0;
}

/*Start: Fixes VPI-464*/
/*
    Copy .back-to-top css and customise :focus box-shadow

    .dfes .back-to-top:focus {
        box-shadow: 0 0 0 2px #003865;
    }
*/
.dfes .back-to-top {
    border-radius: 5px;
    background: #003865;
    text-align: center;
    border: none;
    width: 70px;
    height: 70px;
    padding: 7px 0;
    cursor: pointer;
    transition: background-color .1s ease;
    display: block;
    right: 10px;
    position: fixed;
    top: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    z-index: 1080
}

    .dfes .back-to-top:focus {
        box-shadow: 0 0 0 2px #003865;
    }

@media screen and (min-width:1200px) {
    .dfes .back-to-top {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        height: auto;
        width: 140px;
        padding: 5px 0;
        position: absolute
    }

        .dfes .back-to-top br {
            display: none
        }
}

@media screen and (min-width:1680px) {
    .dfes .back-to-top {
        right: 40px
    }
}

.dfes .back-to-top--fixed {
    border: 3px solid #fff;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
    transition: background-color .1s ease, bottom .3s ease;
    position: fixed;
    top: auto;
    bottom: 44px;
    -webkit-transform: translateY(0);
    transform: translateY(0)
}

@media screen and (min-width:1200px) {
    .dfes .back-to-top--fixed {
        box-shadow: none;
        bottom: 0;
        border: none
    }
}

@media screen and (min-width:1680px) {
    .dfes .back-to-top--fixed {
        right: 155px
    }
}

.dfes .back-to-top--fixed.back-to-top--hidden {
    bottom: -150px
}

.dfes .back-to-top i {
    color: #ffcd05;
    width: 100%;
    line-height: 1em;
    font-size: 1.059rem;
    transition: color .1s ease
}

.dfes .back-to-top div {
    color: #fff;
    display: block;
    font-size: 12px;
    font-size: .75rem;
    line-height: 1.2em;
    transition: color .1s ease
}

    .dfes .back-to-top div span {
        display: block
    }

@media screen and (min-width:1200px) {
    .dfes .back-to-top div span {
        display: inline
    }
}

@media screen and (min-width:1200px) {
    .dfes .back-to-top div {
        font-size: 14px;
        font-size: .875rem;
        line-height: 1.2em
    }
}

.dfes .back-to-top:active,
.dfes .back-to-top:focus,
.dfes .back-to-top:hover {
    background: #ffcd05;
    text-decoration: none
}

    .dfes .back-to-top:active div,
    .dfes .back-to-top:active i,
    .dfes .back-to-top:focus div,
    .dfes .back-to-top:focus i,
    .dfes .back-to-top:hover div,
    .dfes .back-to-top:hover i {
        color: #003865
    }
/*End: Fixes VPI-464*/
