html, body{
    height:100%;
}

body {
    font-family: Arial, "MS Trebuchet", sans-serif;
}

#top-logo {
    background-image: url(logo.png);
    background-repeat: no-repeat;
    background-position: center center;
    height: 160px;
}

#top-blue-bar {
    text-align: center;
    padding: 15px;
    background-color: #131454;
    color: #FFFFFF;
}

h1, h2 {
    text-align: center;
    font-weight: normal;
}

h1 {
    font-size: 1.4em;
}

h2 {
    color: #131454;
    font-size: 0.9em;
}

.my-page {
    margin: auto;
    width: 1000px;
}

.fdata::after, .memp::after, .mem-group::after, .sel-item::after, .ag-box::after {
    content: '';
    display: table;
    clear: both;
}

.mem-group:nth-child(EVEN){
    background-color: rgb(226, 229, 255);
}

.mem-group:nth-child(ODD){
    background-color: rgb(213, 217, 253);
}

.memp {
    float: left;
    width: 50%;
    padding: 5px 0px;
    margin: 0;
    box-sizing: border-box;
}

.fdata input[type="text"], .fdata select {
    border: 1px solid #858585;
    padding: 7px 1px;
    float: left;
    background-color: #FFFFFF;
    width: calc( 100% - 220px );
}

.fdata label {
    float: left;
    display: block;
    font-size: .9em;
    line-height: 30px;
    padding: 0px 5px;
    width: 200px;
    text-align: right;
}

.fselect {
    width: 30% !important;
}


.wordy-stuff{
    padding: 1px 20px;
    font-size: .9em;
}


input[type="checkbox"]{
    float: left;
    -webkit-appearance:none;
    width:23px;
    height:23px;
    background:white;
    border-radius:5px;
    border:2px solid #555;
}

input[type="checkbox"]:checked {
    background-image: url(green-tick-100.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.ag-span {
    float: left;
    display: block;
    font-size: .9em;
    line-height: 30px;
    max-width: calc( 100% - 30px );
}


#go-next, #go-next:visited, #go-next:active {
    display: block;
    float: left;
    padding: 7px 20px;
    border: 1px solid #0063A6;
    border-radius: 5px;
    color: #FFFFFF;
    text-decoration: none;
    background-color: #00548B;
}

#go-next:hover {
    background-color: #0B2D44;
    color: #FFFF00;
    border-color: #FFFF00;
}

.error-state {
    -webkit-box-shadow: 0px 0px 12px 2px rgba(255,56,56,0.8);
    -moz-box-shadow: 0px 0px 12px 2px rgba(255,56,56,0.8);
    box-shadow: 0px 0px 12px 2px rgba(255,56,56,0.8);
}

.jun-space {
    margin-bottom:15px;
}


#mess-comments {
    font-size: 1.1em;
    font-weight: bold;
    margin-left: 20px;
    margin-top: 1px;
}

.message-happy {
    color: #007A13;
}

.message-sad {
    color: #AD0907;
}

#payment-data label {
    width: 170px;
}

#payment-data span {
    margin-left: 20px;
    color: #0A8300;
    font-weight: bold;
    font-size: 1em;
}

.comments-pp {
    font-size: .9em;
    font-style: italic;
    color: #808080;
}

.completed-page h1 {
    margin: 40px 1px;
}

.ty-para {
    padding: 10px;
}

@media screen and (max-width: 1000px){
    .my-page { width: 100%; }
}

@media screen and (max-width: 800px){
    .fdata label { width: 100%; text-align: left;}
    .memp { width: 100%;}
    .fdata input[type="text"], .fdata select {
        width: 95%;
        margin-left: 2%;
    }

}


#waiting-outer {
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    background-image: url(cal-wait-bg.png);
    z-index: 9999;
}

#waiting-inner {
    background-image: url(giphy.gif);
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
}
