﻿.required {
    color: orangered;
    top: -3px !important;
    font-size: 8px;
    padding-left: 5px;
}

.optional {
    display: none;
}

.cardpadding {
    padding-top: 50px;
}

.cardtextfocus {
    color: rgb(208, 206, 218);
}
/*End Flip Card Animation*/


/* entire container, keeps perspective */
.flip {
    perspective: 800;
    transform-style: preserve-3d;
    color: #fff;
    height: 270px;
    position: relative;
}

.flip, .front, .back {
    /*width: 200px;*/
    height: 200px;
}

    /* flip speed goes here */
    .flip .card {
        transition: 0.5s;
        transform-style: preserve-3d;
        /*position: relative;*/
    }

        .flip .card .face {
            position: absolute;
            -webkit-backface-visibility: hidden;
            z-index: 2;
            font-family: Georgia;
            font-size: 3em;
            text-align: center;
            line-height: 200px;
        }


/* hide back of pane during swap */
.front, .back {
    backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
}

/*  UPDATED! front pane, placed above back */
.front {
    z-index: 2;
    transform: rotateY(0deg);   
    color: white;
    cursor: pointer;
}

/* back, initially hidden pane */
.back {
    transform: rotateY(-180deg);
    background: white;
    color: black;
    cursor: pointer;
}
