/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}
a {
    color: #00e;
}

/*a:visited {
    color: #551a8b;
}

a:hover {
    color: #6cc8d5;
    
}
*/
/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
	   min-height: 100%;
}
body {
	background: -webkit-linear-gradient(#2eb5d1 0%, #115767 100%);
	background: -moz-linear-gradient(#2eb5d1 0%, #115767 100%);
	background: -o-linear-gradient(#2eb5d1 0%, #115767 100%);
	background: linear-gradient(#2eb5d1 0%, #115767 100%);
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
   -webkit-font-smoothing: antialiased;
   color: #444;
   min-height: 100%;
}
body#interests, body#havewemet {
	background: -webkit-linear-gradient(#63b75d 0%, #65ba5f 0%, #63b75d 0%, #84c680 0%, #4d9f47 100%) #63b85d;
	background: -moz-linear-gradient(#63b75d 0%, #65ba5f 0%, #63b75d 0%, #84c680 0%, #4d9f47 100%) #63b85d;
	background: -o-linear-gradient(#63b75d 0%, #65ba5f 0%, #63b75d 0%, #84c680 0%, #4d9f47 100%) #63b85d;
	background: linear-gradient(#63b75d 0%, #65ba5f 0%, #63b75d 0%, #84c680 0%, #4d9f47 100%) #63b85d;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
-webkit-font-smoothing: antialiased;
color: #444;
   min-height: 100%;
}

body#vote {
	background: #104778 url('../img/icons/star.png') repeat;
	background-size: 80px;
}
#vote a {
	color: #007cc8;
}
#vote a:hover {
	color: #35b2ff;	
}
#vote #back {
	color: white;
}
#vote #back:hover {
	color: #3cb3d3;	
}
#vote h1 {
	font-size: 1.8em;
	font-family: Oswald, sans-serif;
	color: #d60000;
	text-transform: uppercase;
}
.done {
	text-decoration: line-through;
}
#vote  {
	margin: 0;
}
#burst {
	font-family: FontAwesome;
	color: white;
	text-align: center;
	height: 1em;
	padding-top: 2em;
	font-size: 1em;	
	font-style: italic;
}
#burst::before, #burst::after {
	content: '\f005';
	padding: 0 .5em;	
}
#vote article ul {
	padding: 0 2em;
}
#vote article h3 {
 	text-align: center; 
 	padding: .5 0 0;
 	margin-bottom: 1em;
}
#vote li {
	line-height: 1.5em;
	padding: 0 0 1em 2em;
}
#vote li:before {
	font-family: FontAwesome;
	content: '\f005';
	font-size: 1.2em;
	color: #007cc8;
	float: left;
	margin-left: -1.3em;
}
#vote li:hover:before, #vote ul#calendar li:hover:before, #vote ul#links li:hover:before {
	color: #35b2ff;
}
#vote ul#calendar li:before {
	font-family: FontAwesome;
	content: '\f073';
	font-size: 1.2em;
	color: #007cc8;
	float: left;
	margin-left: -1.3em;
}
#vote ul#links li:before {
	font-family: FontAwesome;
	content: '\f08e';
	font-size: 1.2em;
	color: #007cc8;
	float: left;
	margin-left: -1.3em;
}
#vote img {
	width: 40%;
	max-width: 400px;
}
.highlight {
	color: #007cc8;
	font-style: italic;
}
.highlightred {
	color: #c80000;
	font-style: italic;	
}
a {
	color: #0095be;	
	text-decoration: none;
}
a:hover {
	color: #00b9ec;	
}
.underline {
	text-decoration: underline;	
}
h1 {
	font-family: Oswald, sans-serif;
	font-weight: 700;
	font-size: 2em;
	margin: 0;
	text-decoration: none;
	text-transform: uppercase;
}
header, nav, footer, article {
	max-width: 480px;
	margin: 0 auto;
}
header, footer {
	text-align: center;
}
header {
	margin: 2em auto;
	background-color: white;
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-radius: .5em;
}
header img {
	padding-bottom: 3%;
}
header h2 {
	font-size: 1em;
	margin-top: 0.2em;
	font-weight: lighter;
}
#location {
	margin: 1em 0;
}
header .icons {
	font-size: 1.5em;	
	text-decoration: none;
	vertical-align: -10%;
	padding-left: 1%;
}
#back {
	color: white;
	text-decoration: none;
	display: block;
	margin: 1em;
	font-size: 1.5em;
	text-align: center;
}
#back:hover {
	color: #cbf6ff;
	background-color: none;
}
.icons {
	font-family: 'FontAwesome'	
}
img {
	padding: 5%;
	width: 20%;
	max-width: 200px;
}
}
nav h2 {
	margin-top: 0.6em;
}
ul {
	padding-left: 0;
	margin: 0;
}
li {
	list-style: none;
}
#home nav div {
	width: 70%;
	padding-bottom: 1em;
}
#home nav ul {
	padding: 0;
}
.scroll {
	display: block;
	font-size: 2em;
	text-align: center;
	font-smooth: auto ;
	-webkit-font-smoothing : subpixel-antialiased;
	text-decoration: none;
	padding: .5em 0;	
}
nav, article {
	border-radius: .5em;
	background-color: white;
}
nav h2 {
	margin-bottom: 0;
}
nav h3 {
	font-size: 1em;
	margin-top: 0;
}
nav p {
	margin: 0.7em 0 0.5em 0;
	padding-right: 1em;
}
nav span {
	font-weight: bold;
}
nav div, nav img {
	float: left;
}
nav li {
	overflow: auto;
	display: block;
	margin: 0;
}
a.navblock:hover {
	display: block;
}
footer {
	clear: both;
	color: white;	
	margin: 2em auto;
}
footer a {
	color: white;	
}
#footer-social {
	overflow: auto;
	margin: 0 auto;
	display: inline-block;
}
#footer-social a {
	font-family: 'FontAwesome';
	text-decoration: none;
	font-size: 3em;
	color: white;	
	display: block;
	float: left;
	margin: 0 0.1em;
}
footer {
	color: white;	
}
footer a:hover, #footer-social a:hover {
	color: #3cb3d3;	
}
#havewemet h1 {
	font-family: 'Courgette', 'cursive';
	font-size: 2em;
	margin: 1em 0 1em;
	padding-top: 1em;;
}
#sticker {
	background-color: #de0d00;
	border-radius: 1em;
	radius: 5em;
	width: 60%;
	padding: 1em 0;
	margin-bottom: 1em;
	border: 1px solid #de0d00;
}
#sticker h2 {
	color: white;
	font-size: 3em;
	font-weight: bold;
	line-height: 1em;
	margin-top: 0;
}
#sticker h3 {
	color: white;
	font-size: 1em;
	padding-top: 0;
}
#sticker #submit {
	background-color: #de0d00;
	border-radius: 1em;
	border: none;
	margin-top: 1em;
	padding: .5em 1em;
	color: white;
}
#sticker #password {
	border: 1px solid #de0d00;
	width: 80%;
}
#sticker #submit:hover {
	background-color: black;
}
#havewemet p {
	padding: 1em 1em 0 1em;
}
#havewemet form {
	background-color: white;
	padding: 1em;
}
#logout {
	color: white;
	text-align: center;
	display: block;
	margin: 1em;
}
#interests-page li {
	color: #4a95ae;
	padding-left: 1em;
}
#interests-page li:hover {
	background-color: white;
}
#interests-page div {
	max-width: 80%;
}
#interests-page .interest-icons {
	font-family: 'FontAwesome';
	font-size: 2.5em;
	float: left;
	width: 17%;
	padding: 5% 0 0 3%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen 
and (max-device-width : 568px)
and (orientation : portrait) {
	.hide {
		display: none;
	}
	header {
		margin-top: 1em;
		border-radius: 0;
	}
	nav, #up, #down {
		border-radius: 0;
	}
}

}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}
