html, body {
    height: 100%;
    font-family: Arial, Arial, Helvetica, sans-serif;
}

body {
    /*background: url("../images/forresSandleManor.png") no-repeat top center fixed;
    background-size: cover;*/
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-size: 15px;
    font-style: normal;
}

footer div:first-child {
    border-top:1px solid #c1bfbf;
}

.copyright {
    color: #c1bfbf;
}

.copyright a {
    color: #8096e8;
}

#mainForm {
    background-color: #ffffffe6;
    position: center;
}

img {
    max-width: 100%;
}

#topBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

#topBar h1 {
    text-align: right;
}

#logo {
    vertical-align: middle;
    border-style: none;
    width: 300px;
}
/*    height: 100px;
    width: auto;
}*/

#logoCont {
    text-align: right;
}

@media(max-width: 767px) {
    #logo {
        display: none;
    }
    #topBar h1 {
        text-align: center;
    }
}


/*#formWrap {
    box-shadow: 0px 36px 82px 34px rgba(0,0,0,0.75);
}*/

.required:after {
    content: " *";
    color: red;
}

label em {
    text-decoration: underline;
}

select.is-invalid + span.select2 span.select2-selection {
    border-color: #dc3545;
    /*background-color: #fff7f8;*/
}

select.is-invalid + span.select2.select2-container--open span.select2-selection,
select.is-invalid + span.select2.select2-container--focus span.select2-selection {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dc3545;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dc3545;
    border-color: #dc3545;
    /*background-color: #fff7f8;*/
}

/*.select2-container--bootstrap4 .select2-selection {
    border-radius: unset;
}
*/
.select2-container--bootstrap4 .select2-selection--single {
    padding-top:0.5rem
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    height: calc(2.5rem + 4px);
}

.select2-container--bootstrap4 .select2-selection--multiple li.select2-selection__choice {
    color: #fff;
    background-color: #1D3C34;
    padding: 0.25em 0.6em;
    /*border-radius: 10rem;*/
    display: inline-block;
    /*font-size: 75%;*/
    /*font-weight: 700;*/
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border: none;
}

.select2-container--bootstrap4 .select2-selection--multiple li.select2-selection__choice span.select2-selection__choice__remove {
    color: #ffff;
}

.select2-container--bootstrap4 .select2-selection--multiple li.select2-selection__choice span.select2-selection__choice__remove:hover {
    color: #ffffff;
}

section {
    margin-top: 10px;
    /*padding-bottom: 10px;*/
    padding-top: 10px;
    border-top: 2px solid #1D3C34;
}

section.subSection {
    border-top: none;
}

#senior h1, #senior h2, #senior h3, #senior h4, #senior .themeColour, #senior legend,
h1, h2, h3, h4, .themeColour, legend {
    color: #00634F;
    font-family: "Playfair Display", serif;
}

#senior h1, h1 {
    font-size: 80px;
    text-align: right;
}

#senior h3, h3 {
    color: #00634F;
}
#juniors h1, #juniors h2, #juniors h3, #juniors h4, #juniors .themeColour, #juniors legend {
    color: #1D3C34;
}

#senior section, section {
    border-top: 2px solid #00634F;
}

/*#juniors section {
    border-top: 2px solid rgb(173, 17, 21);
}

*/

/*h1, h2 {
    margin-top: 15px;
    margin-bottom: 10px;
}

h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

h1 {
    font-size: 44px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 26px;
}*/

/*.form-control {
    border-radius: unset;
    border: 1px solid #dedfe0
}

.form-control:focus {
    box-shadow: unset;
}*/

sup {
    vertical-align: super;
    top: unset;
    font-size: 50%;
}

/*.btn {
    border-radius: unset;
}
*/

#senior .btn-alleyns, #senior .btn-alleyns:disabled, #senior .btn-alleyns-focus, #senior .btn-alleyns:active,
.btn-alleyns, .btn-alleyns:disabled, .btn-alleyns-focus, .btn-alleyns:active {
    color: #fff;
    background-color: #1D3C34;
    border-color: #1D3C34;
    opacity: 0.9;
}

.btn-alleyns:hover {
    opacity: 1;
    color: #fff;
}

#juniors .btn-alleyns, #juniors .btn-alleyns:disabled, #juniors .btn-alleyns-focus, #juniors .btn-alleyns:active {
    color: #fff;
    background-color: rgb(173, 17, 21);
    border-color: rgb(173, 17, 21);
}

/*
.btn-intergreen, .btn-intergreen:disabled, .btn-intergreen:hover, .btn-intergreen:focus, .btn-intergreen:active {
    color: #fff;
    background-color: #5acca0;
    border-color: #5acca0;
}

.btn-interpurp, .btn-interpurp:disabled, .btn-interpurp:hover, .btn-interpurp:focus, .btn-interpurp:active {
    color: #fff;
    background-color: #593c97;
    border-color:#593c97
}*/

.form-check-inline {
    height: calc(1.5em + .75rem + 2px);
}

additional-question .form-check-inline, .clearHeight .form-check-inline {
    height: unset;
}

.form-group select.form-control {
    width: 100%;
}

.form-group .input-group select.form-control {
    width: 1%;
}

.modal-header h3 {
 /*   font-size: 1rem;*/
}

.datepicker table tr td.disabled.day {
    color: #eee;
}

#overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 2;
    cursor: progress;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.spinner {
    position: absolute;
    left: 50vw;
    top: 50vh;
    height: 60px;
    width: 60px;
    margin: 0 auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    
    border-radius: 100%;
}

.spinner, #senior .spinner {
    border-left: 6px solid rgba(29, 60, 52, .15);
    border-right: 6px solid rgba(29, 60, 52, .15);
    border-bottom: 6px solid rgba(29, 60, 52, .15);
    border-top: 6px solid rgba(29, 60, 52, .8);
}

#juniors .spinner {
    border-left: 6px solid rgba(173, 17, 21,.15);
    border-right: 6px solid rgba(173, 17, 21,.15);
    border-bottom: 6px solid rgba(173, 17, 21,.15);
    border-top: 6px solid rgba(173, 17, 21,.8);
}

p#payLink {
    word-wrap: break-word;
}