*{
	font-family: Calibri, Verdana, Helvetica, sans-serif;
}
body{
	margin: 0;
	padding: 0;
	background: #F7F7F7;
	font-family: Calibri, Verdana, Helvetica, sans-serif;
	font-size: 16px;
}
form { margin: 0; padding: 0; }

/* This is the user section */
.panel {
	height: 30px;
	padding: 10px;
	position: absolute;
	right: 10px;
	top:4px;
	z-index: 1;
}
.panel a {
	text-decoration:none;
	color:#FFFFFF;
	display: block;
	float: left;
	font-size:14px;
	margin-right: 1px;
	padding: 2px 4px;
	margin-left:20px;
}
.panel a:hover {
	color:#DEDEDE;
}
a:link {
    text-decoration: none;
}
a:active {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}

/* This is the modal section */
.boxy {
    width: 330px;
    height: auto;
    left: 50%;
    padding: 15px;
    position: absolute;
    display: inline-block;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0, .4);
    text-align: center;
    border: 1px solid #b4b1b1;
    visibility: hidden;
    z-index: 10;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.overlay:target+.boxy {
    /*top: 42%;*/
    opacity: 1;
    visibility: visible;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 2;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 2;
}
.close {
    background-image: url(../imgs/x.png);
    height: 25px;
    width: 25px;
    position: absolute;
    right: -12px;
    ;text-align: center;
    text-decoration: none;
    top: -12px;
}
.close:hover {
    -webkit-filter: brightness(50%);
}
.fb {
    background-image: url(../imgs/fb-icon.png);
    background-repeat: no-repeat;
    background-position: 5% 42%;
    -moz-box-shadow: inset 0px 0px 0px 0px #ffffff;
    -webkit-box-shadow: inset 0px 0px 0px 0px #ffffff;
    box-shadow: inset 0px 0px 0px 0px #ffffff;
    background-color: #3b5998;
    border: 1px solid #3b5998;
    display: inline-block;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 11px 5px 30px;
    text-decoration: none;
    cursor: pointer;
}
.fb:hover {
    background-color: #5782d9;
}
.fb:active {
    position: relative;
    top: 1px;
}
.tw {
    background-image: url(../imgs/tw-icon.png);
    background-repeat: no-repeat;
    background-position: 5% 42%;
    -moz-box-shadow: inset 0px 0px 0px 0px #ffffff;
    -webkit-box-shadow: inset 0px 0px 0px 0px #ffffff;
    box-shadow: inset 0px 0px 0px 0px #ffffff;
    background-color: #00aeed;
    border: 1px solid #00aeed;
    display: inline-block;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 11px 5px 30px;
    text-decoration: none;
    cursor: pointer;
}
.tw:hover {
    background-color: #009dd1;
}
.tw:active {
    position: relative;
    top: 1px;
}
input[type=button] {
    padding: 5px 25px;
    /*border: 1px solid;*/
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
}
input[type=button].red {
    color: #fff;
    border-color: #cc3333;
    -moz-box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.6);
    -webkit-box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.6);
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    background: #e35940;
    background: -moz-linear-gradient(top, #e35940 0%, #cb4229 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e35940), color-stop(100%,#cb4229));
    background: -webkit-linear-gradient(top, #e35940 0%,#cb4229 100%);
    background: -o-linear-gradient(top, #e35940 0%,#cb4229 100%);
    background: -ms-linear-gradient(top, #e35940 0%,#cb4229 100%);
    background: linear-gradient(to bottom, #e35940 0%,#cb4229 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e35940', endColorstr='#cb4229',GradientType=0 );
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
input[type=button].red:hover {
    background: #e35940;
    background: -moz-linear-gradient(top, #e35940 0%, #c9371e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e35940), color-stop(100%,#c9371e));
    background: -webkit-linear-gradient(top, #e35940 0%,#c9371e 100%);
    background: -o-linear-gradient(top, #e35940 0%,#c9371e 100%);
    background: -ms-linear-gradient(top, #e35940 0%,#c9371e 100%);
    background: linear-gradient(to bottom, #e35940 0%,#c9371e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e35940', endColorstr='#c9371e',GradientType=0 );
}
input[type=button].red:active {
    background: #e35940;
}
input[type=button].blue {
    color: #000;
    border-color: #0099cc;
    -moz-box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.8);
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.8);
    background: #9ae0e9;
    background: -moz-linear-gradient(top, #9ae0e9 0%, #82c8d1 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9ae0e9), color-stop(100%,#82c8d1));
    background: -webkit-linear-gradient(top, #9ae0e9 0%,#82c8d1 100%);
    background: -o-linear-gradient(top, #9ae0e9 0%,#82c8d1 100%);
    background: -ms-linear-gradient(top, #9ae0e9 0%,#82c8d1 100%);
    background: linear-gradient(to bottom, #9ae0e9 0%,#82c8d1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9ae0e9', endColorstr='#82c8d1',GradientType=0 );
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
input[type=button].blue:hover {
    background: #9ae0e9;
    background: -moz-linear-gradient(top, #9ae0e9 0%, #69c4ce 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9ae0e9), color-stop(100%,#69c4ce));
    background: -webkit-linear-gradient(top, #9ae0e9 0%,#69c4ce 100%);
    background: -o-linear-gradient(top, #9ae0e9 0%,#69c4ce 100%);
    background: -ms-linear-gradient(top, #9ae0e9 0%,#69c4ce 100%);
    background: linear-gradient(to bottom, #9ae0e9 0%,#69c4ce 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9ae0e9', endColorstr='#69c4ce',GradientType=0 );
}
input[type=button].blue:active {
    background: #9ae0e9;
}
input[type=button].signup {
    margin-bottom: 10px;
    color: #000;
    border-color: #0099cc;
    -moz-box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.8);
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.8);
    background: #9ae0e9;
    background: -moz-linear-gradient(top, #9ae0e9 0%, #82c8d1 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9ae0e9), color-stop(100%,#82c8d1));
    background: -webkit-linear-gradient(top, #9ae0e9 0%,#82c8d1 100%);
    background: -o-linear-gradient(top, #9ae0e9 0%,#82c8d1 100%);
    background: -ms-linear-gradient(top, #9ae0e9 0%,#82c8d1 100%);
    background: linear-gradient(to bottom, #9ae0e9 0%,#82c8d1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9ae0e9', endColorstr='#82c8d1',GradientType=0 );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
input[type=button].signup:hover {
    background: #9ae0e9;
    background: -moz-linear-gradient(top, #9ae0e9 0%, #69c4ce 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9ae0e9), color-stop(100%,#69c4ce));
    background: -webkit-linear-gradient(top, #9ae0e9 0%,#69c4ce 100%);
    background: -o-linear-gradient(top, #9ae0e9 0%,#69c4ce 100%);
    background: -ms-linear-gradient(top, #9ae0e9 0%,#69c4ce 100%);
    background: linear-gradient(to bottom, #9ae0e9 0%,#69c4ce 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9ae0e9', endColorstr='#69c4ce',GradientType=0 );
}
input[type=button].signup:active {
    background: #9ae0e9;
}
.text-field {
	font-family: Calibri, Verdana, Helvetica, sans-serif;
	display: block;
	margin: 0 auto;
	width: 180px;
	height: 16px;
	border:0px;
	border-bottom:1px solid #484848;
	/*
	border: 1px solid #c0c2c7;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	*/
	color: #8c8f90;
	padding: 10px;
	font-size: 14px;
	margin-bottom: 10px;
	/*
	-moz-box-shadow: inset 0 1px 3px -1px #b4b1b1;
	-webkit-box-shadow: inset 0 1px 3px -1px #b4b1b1;
	box-shadow: inset 0 1px 3px -1px #b4b1b1;
	*/
}
.text-field:focus {
	outline: none;
	color: #000000;
	/*box-shadow: inset 0 2px 0 rgba(0,0,0,.2), 0 0 4px rgba(0,0,0,0.1),0 0 5px 1px #51CBEE;*/
}
.error {
    position: absolute;
    width: 362px;
    height: 50px;
    margin-left: -16px;
    margin-top: 13px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: #b20a0a;
    box-shadow: 0 0 10px rgba(0,0,0, .4);
    visibility: hidden;
}
.error .errortext {
    vertical-align: middle;
    margin-top: 17px;
}
.boxy p {
    display: inline;
    color: #7e7e7e;
    font-size: 11px;
}
.buttons, .connectwith {
    display: block;
    padding-bottom: 15px;
}