/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}

body {
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #555;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    height: 60px;
    min-height: 60px;
    padding: 0 20px;
    margin-bottom: 10px;
    flex-grow: 0;
}

header h1 a {
    text-decoration: none;
    color: #2C76E4 !important;
    float: left;
    line-height: 60px;
    margin: 0;
    padding: 0;
    font-weight: 300;
    font-size: 30px;
}

header ul {
    margin: 0;
    padding: 0;
    float: right;
    line-height: 60px;
}

header li {
    display: inline;
    padding-left: 10px;
}

h2 {
    text-align: center;
    font-weight: 400;
    font-size: 40px;
}

h3 {
    padding-top: 20px;
    text-align: center;
    font-weight: 400;
    font-size: 20px;
}

#maincontainer {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

main {
    margin: auto;
    width: 80%;
}

.widget {
    margin: 80px auto;
    width: 600px;
    height: 400px;
    box-shadow: #ccc 0 0 20px;
    border-radius: 10px;
    background-color:#ddebf7;
}

footer {
    width: 100%;
    height: 60px;            /* Footer height */
    min-height: 60px;            /* Footer height */
    text-align: center;
    color: #888;
    font-size: 14px;
    flex-grow: 0;
    line-height: 60px;
}

.login-btn {
    text-decoration: none;
    color: #444;
}

.login-btn:hover {
    text-decoration: none;
    transition: 0.3s;
    color: #000;
}

.signup-btn {
    text-decoration: none;
    background:rgb(21, 72, 105);
    border-radius: 4px;
    color: white;
    padding: 8px 12px;
}

.signup-btn:hover {
    transition: 0.3s;
    background:rgb(16, 52, 77);
}


.signup {
    margin: 80px auto;
    width: 300px;
    box-shadow: #ccc 0 0 20px;
    border-radius: 10px;
    padding: 20px;
}

.signup h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.signup form input {
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    font-size: 14px;
    border-radius: 4px;
    border:1px solid #ccc; 
}

.signup form input[type="submit"] {
    text-decoration: none;
    font-size: 14px;
    background:rgb(21, 72, 105);
    border-radius: 4px;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.signup form input[type="submit"]:hover {
    transition: 0.3s;
    background:rgb(16, 52, 77);
}

.social-btn {
    box-sizing: border-box;
    width: 100%;
    padding: 8px 12px;
    margin: 15px 0;
    text-decoration: none;
    font-size: 14px;
    background:rgb(21, 72, 105);
    border-radius: 4px;
    color: white;
    border: none;
    cursor: pointer;
    display:block;
    text-align: center;
}

.social-btn:hover {
    transition: 0.3s;
    background:rgb(16, 52, 77);
}

.social-btn img {
    display: inline;
    padding: 0;
    margin: 0;
}

.social-btn-google {
    background: white;
    border: solid 1px #aaa;
    line-height: 20px;
    color: #222;
    background-image: url('google-logo.svg');
    background-repeat: no-repeat;
    background-position: 0px;
}

.social-btn-google:hover {
    background: #eee;
    border: 1px #111;
    border: solid 1px #aaa;
    background-image: url('google-logo.svg');
    background-repeat: no-repeat;
    background-position: 0px;
}

.signup-or {
    text-align: center;
}

.signup p {
    line-height: 1.3em;
    padding-bottom: 8px;
}

.verifycode {
    display: flex;
}

.verifycode input[type="text"] {
    flex-grow: 1;
    margin-right: 4px;
}


.verifycode input[type="submit"] {
    flex-grow: 0;
    width: 100px;
    margin-left: 4px;
}

main {
    text-align: center;
}