﻿/*Registration Page Styling*/

#formRegister {
    max-width: 800px;
    background: #deebff;
    border-radius: 8px;
    font-family: 'Segoe UI';
    margin: 0 auto;
    padding: 10px 20px;
}

    #formRegister h1 {
        color: #BF5673;
        text-align: center;
        font-weight: normal;
        margin-bottom: 30px;
    }

legend {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: 700;
}

.number {
    background-color: #708FD1;
    color: #fff;
    height: 30px;
    width: 30px;
    display: inline-block;
    font-size: 0.8em;
    line-height: 28px;
    text-align: center;
    border-radius: 100%;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-right: 4px;
    font-weight: normal;
}

.subtext {
    font-size: 1em;
    font-weight: normal;
}

#formRegister label {
    display: block;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
textarea,
select {
    background: white;
    border: 1px solid rgba(0,0,0,0.3);
    font-size: 16px;
    height: auto;
    margin: 0;
    outline: 0;
    padding: 8px;
    width: 100%;
    border-radius: 5px;
    color: #222;
}

textarea {
    min-height: 100px;
}

.divDayContainer {
    margin-bottom: 15px;
}

    .divDayContainer h3 {
        color: #222;
    }

.divEventContainer {
    margin-top: 10px;
}

.spanEventName {
    font-size: 1.25em;
    font-weight: 700;
}

.spanEventDateHost {
    font-size: .8em;
    font-weight: 400;
}


.btnRegister {
    width: 80%;
    max-width: 300px;
    display: block;
    margin: 10px auto;
    font-size: 1.25em;
}



/*Custom Checkbox design, modified from this:*/
/* https://css-tricks.com/the-checkbox-hack/ */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: 0;
    opacity: 0.01;
}

    [type="checkbox"]:not(:checked) + label,
    [type="checkbox"]:checked + label {
        position: relative;
        padding-left: 2.3em;
        font-size: 1.25em;
        font-weight: 500;
        line-height: 1.5;
        cursor: pointer;
        padding-top: 4px;
    }

        [type="checkbox"]:not(:checked) + label:before,
        [type="checkbox"]:checked + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 5px;
            width: 1.4em;
            height: 1.4em;
            border: 1px solid #aaa;
            background: #FFF;
            border-radius: .2em;
            box-shadow: inset 0 1px 3px rgba(0,0,0, .1), 0 0 0 rgba(203, 34, 237, .2);
            transition: all .275s;
        }

        [type="checkbox"]:not(:checked) + label:after,
        [type="checkbox"]:checked + label:after {
            content: '✕';
            position: absolute;
            top: .525em;
            left: .18em;
            font-size: 1.2em;
            color: #B9284D;
            line-height: 10px;
            transition: all .2s;
        }

        [type="checkbox"]:not(:checked) + label:after {
            opacity: 0;
            transform: scale(0) rotate(45deg);
        }

        [type="checkbox"]:checked + label:after {
            opacity: 1;
            transform: scale(1) rotate(0);
        }


#divWarningMessage {
    margin: 0 auto;
    text-align: center;
    font-size: .9em;
    padding: 10px;
    width: 100%;
}

    #divWarningMessage h1 {
        color: #B9284D;
        font-size: 1.25em;
    }

    #divWarningMessage h2 {
        font-size: 1em;
        color: #BF5673;
    }

    #divWarningMessage p {
        font-size: .75em;
    }



#formContact {
    max-width: 600px;
    background: #deebff;
    border-radius: 8px;
    font-family: 'Segoe UI';
    margin: 0 auto;
    padding: 10px 20px;
    text-align: left;
}

    #formContact label {
        display: block;
        margin-bottom: 8px;
    }

#divContactInfo {
    display: grid;
    padding: 15px;
}

#divContactInfoWrapper {
    align-self: center;
}

    #divContactInfoWrapper h2 {
        font-weight: normal;
        font-size: 1.5em;
    }

@media only screen and (max-width: 991px) {
    #divContactInfoWrapper h2 {
        font-size: 1em;
    }
}
