/* RESET.CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html{
    min-height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background: #cec8de; /* Old browsers */
    background: -moz-linear-gradient(top, #cec8de 0%, #a095b8 100%, #a095b8 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #cec8de 0%,#a095b8 100%,#a095b8 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #cec8de 0%,#a095b8 100%,#a095b8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cec8de', endColorstr='#a095b8',GradientType=0 ); /* IE6-9 */
    background-size: 100% 130%;
}
body{ 
    color: lightgray;
    font-family: 'Open Sans', sans-serif;
}
a{
    text-decoration: none;
    color: gray;
}
.purple{
    color: #482884
}
.yellow{
    color: #bfbe01
}
.card-container{
    width: 420px;
    margin: 0 auto;
    position: relative;
}
.card{
    padding: 30px 15px;
    height: auto;
    border-radius: 10px;
    background-color: #FFF;
    display: flex;
    flex-wrap: wrap;
    margin-top: 75px;
}
.card>.share-area{
    display: none;
    width: 100%;
    text-align: center;
}
.card>.share-area img{
    height: 32px;
    width: auto;
}
.share-area>.facebook, .share-area>.twitter{
    display: inline-block;
}
.card.friend-searched>.share-area{
    display: block;
}
.card.self-searched>.search-area{
    margin-top: 50px;
}
.card-container.friend-searched{
    width: 768px
}
.card>.friend-search{
    display: none;
}
.friend-searched>.self-search, .friend-searched>.friend-search{
    width: 50%;
    display: block;
}

.card.search-card .text-area{
    text-align: center;
    font-weight: 700;
    margin-bottom: 50px;
}
.card.search-card .text-area p{
    font-size: 24px;
    line-height: 30px;
}

.search-area{
    width: 100%;
    display: block;
}
input[type="text"]{
    width: calc(100%);
    height: 35px;
    border: none;
    color: lightgray;
    border-bottom: 2px solid lightgray;
    margin-bottom:15px;
    padding: 0;
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}
input:active, input:focus{
    outline: none;
}
select{
    width: 100%;
    margin: 0 10px;
}
#firstNameInputautocomplete-list{
    position: absolute;
    background-color: white;
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    width: 100%;
    max-height: 150px;
    overflow: auto;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-bottom: 15px;
    margin-bottom: 25px;
    overflow: hidden;
}
.ac-name{
    padding-bottom: 10px;
    cursor: pointer;
    text-transform: capitalize;
}
.btn{
    width: 100%;
    border-radius: 5px;
    height: 35px;
    line-height: 35px;
    display: block;
    text-align: center;
    cursor: pointer;
    color: white;
}
.btn-purple{
    background-color: #482884;
}
.btn-purple:hover{
    background-color: #281549;
}
span.submit-errors{
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 10px;
    color: red;
    font-size: 20px;
    font-weight: 300;
}
.card .result-area{
    padding-bottom: 25px;
    text-align: center;
}

.card .result-area h2{
    font-size: 46px;
    margin-bottom: 10px;
    font-weight: 700;
}

.card .result-area p.send{
    font-weight: 700;
    font-size: 24px;
}
.card .result-area p.result{
    font-weight: 300;
    font-size: 90px;
}
.card .result-area p.term{
    font-weight: 300;
    font-size: 24px;
}
.card .text-area h2.friend-criteria{
    font-size: 26px;
    margin: 8px 0;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.go-again{
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 15px;
    color: gray;
    font-size: 22px;
    max-height: 35px
}
.go-again> img{
    height: 19px;
    width: auto;
    margin-right: 5px;
}

.footer{
    width: 100%;
    text-align: center;
    margin: 30px 0;
    font-size: 14px;
    max-height: 35px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer img{
    height: 25px;
    width: auto;
    margin-left: 10px;
}

.nice-select, .nice-select>ul.list{
    width: 100%;
}

.nice-select>span.current{
    text-align: center;
    width: 100%;
    display: block;
    font-size: 26px;
    font-weight: 700;
}

.nice-select{
    border: none;
}

@media screen and (max-width: 768px){
    .card-container{
        width: 99% !important;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .card>.self-search, .card>.friend-search{
        width: 100%;
    }
    .card>.friend-search{
        margin-top: 25px;
        padding-top: 25px;
        border-top: 1px solid gray;
    }
}