/*
	* Gridless version 2.0

	* Credit is left inline and big thanks to Nicolas Gallagher and Jonathan Neal

	* Across this document we use safe CSS hacks: http://mathiasbynens.be/notes/safe-css-hacks
	* Selectors beggining with an underscore (_selector: property) target only IE6
	* Selectors beggining with an asterisk (*selector: property) target only IE6 and IE7
*/

/* HTML5 display definitions
---------------------------------------- */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, dialog {
	display: block;
}

/* Corrects inline-block not defined in IE6/7/8 and FF3 */
audio, canvas, video {
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

audio:not([controls]) {
	display: none;
}

/* Ensures content is hidden from all presentations, including screenreaders */
[hidden] {
	display: none;
	visibility: hidden;
}

/* Base structure
---------------------------------------- */

/*
	* The body will work like a 'div#wrapper' (for this to work, the 'body' needs to have a set width)

	* To add a background to the PAGE, set it in the 'html' element
	* To add a background to the WRAPPER, set it in the 'body' element
*/
html {
	height: 100%;
	font-size: 100%;
	overflow-y: scroll; /* Force a scrollbar in non-IE */
	-webkit-text-size-adjust: 100%; /* Prevent iOS text size adjust on orientation change without disabling user zoom */
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0 auto;
	min-height: 100%;
}

/* Fonts settings based on the 100E2R standard: http://www.informationarchitects.jp/en/100e2r/ */
body, button, input, select, textarea {
	font: 1em/1.625 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #222; /* Full black on white is too much contrast, #222 is a better default */
}

/* Add and/or remove tags as your baseline grid needs */
p, blockquote, q, pre, address, hr, code, samp, dl, ol, ul, form, table, fieldset, menu, h4, h5, h6, img, figure, figcaption, button, hr {
	margin: 0 0 1.625em;
}

/* Headings/small
---------------------------------------- */

/*
	* Font sizes are based on the golden ratio of 16
	* See this for the modular scale: ow.ly/5jGl6
	* Line-heights and margins are adjusted to keep a 26px (1.625em) vertical rhythm across elements 
*/

h1, h2, h3, h4, h5, h6 {
	font-family:  'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1em;
	font-weight: bold;
}

h1 {
	font-size: 4.25em; /* 68px */
	line-height: 1.1471em;
	margin: 0 0 0.3824em;
}

h2 {
	font-size: 2.625em; /* 42px */
	line-height: 1.2381em;
	margin: 0 0 0.619em;
}

h3 {
	font-size: 1.625em; /* 26px */
	line-height: 1em;
	margin: 0 0 1em;
}

small {
	font-size: 0.625em; /* 10px */
	margin: 0 0 2.6em;
}

/* Preformatted text and code
---------------------------------------- */

/* Allows line wrapping of 'pre' */
pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

pre, code, kbd, samp {
	font: 1em/1.625em 'Courier New', Courier, monospace;
}

/* Tables
---------------------------------------- */

table {
	border-collapse: collapse;
	border-spacing: 0;
}

th {
	text-align: left;
}

tr, th, td {
	padding-right: 1.625em;
}

/* Forms
---------------------------------------- */

form {
	margin: 0;
}

fieldset {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

legend {
	border: 0;
	*margin-left: -7px;
}

button, input, select, textarea {
	vertical-align: baseline;
	*vertical-align: middle;
}

button, input {
	line-height: normal;
	*overflow: visible;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

input[type="checkbox"], input[type="radio"] {
	box-sizing: border-box;
}

input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/* Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7 */
table button, table input {
	*overflow: auto;
}

/* Quotes
---------------------------------------- */

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

blockquote, q, cite {
	font-style: italic;
}

blockquote > p {
	margin: 0;
	padding: 0;
}

/* Lists
---------------------------------------- */

ul, ol {
	list-style-position: inside;
	padding: 0;
}

li ul, li ol {
	margin: 0 1.625em;
}

dl dd {
	margin-left: 1.625em;
}

/* Links
---------------------------------------- */

a, a:visited {
	text-decoration: underline;
	color: #0174A7;
}

a:focus {
	outline: none;
}

/* Better CSS outline suppression: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {
	border: none;
	outline: none;
	text-decoration: none;
}

/* Figures
---------------------------------------- */

figure {
	margin: 0;
}

/* Embedded content
---------------------------------------- */

img, object, video {
	max-width: 100%; /* Automatically scales images larger than the container. Consider this first: http://unstoppablerobotninja.com/entry/fluid-images/ */
	/* _width: 100%; /* IE6 doesn't support max-width, so we just use width. If the image is larger than the container, just uncomment this. If it is smaller than the container, uncomment and change the 100% value to an absolute one */
}

img {
	border: 0;
	-ms-interpolation-mode: bicubic; /* Improve IE's resizing of images: css-tricks.com/ie-fix-bicubic-scaling-for-images */
}

/* Corrects overflow displayed oddly in IE9 */
svg:not(:root) {
	overflow: hidden;
}

/* Abbreviations
---------------------------------------- */

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

/* Marked/inserted/deleted text
---------------------------------------- */

mark {
	background: #ff0;
}

ins {
	text-decoration: none;
	background: #ff9;
}

del {
	text-decoration: line-through;
}

/* Others
---------------------------------------- */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-bottom: 1px solid #ddd;
}

strong, b, dt {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

var, address {
	font-style: normal;
}

/* Position 'sub' and 'sup' without affecting line-height: gist.github.com/413930 */
sub, sup {
	font-size: 0.625em;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

/* Helper classes
---------------------------------------- */

/*
	* Micro clearfix hack, more semantically titled with 'group'
	* Source: nicolasgallagher.com/micro-clearfix-hack/
*/
.group:before, .group:after {
	content: "";
	display: table;
}

.group:after {
	clear: both;
}

.group {
	*zoom: 1;
}

/* Primary styles
---------------------------------------- */

body {
	background: #000 url("/html/img/opera_register/new/bg1.jpg") no-repeat center top;
	background-size: 100% auto;
	color:#fff;
}

section {
	margin: 3em auto;
	max-width: 1200px;
	text-align: center;
	width: 80%;
}

article p {
	color: #989898;
}

article p strong {
	color: #c0c0c0;
}

h1 {
	color: #fff;
    font-size: 5em;
    font-weight: 100;
    letter-spacing: -0.02em;
    line-height: 120%;
    opacity: 0.8;
    text-shadow: 1px 1px 0 #000000;
}

h1, h2, .key_facts li span {
    font-family: 'Roboto Condensed',sans-serif;
    font-weight: 300;
}

blockquote {
	border-bottom: solid 1px rgba(255,255,255,.3);
	border-top: solid 1px rgba(255,255,255,.3);
	/*color: #dca897;*/
	color: #989898;
	font: italic 1.3em/1.5em Georgia;
	margin: 2em auto;
	max-width: 800px;
	padding: 2em 0;
}

.error {
	color: #d03400;
	font-size: .8em;
}

p.error {
    display:none;
}
/* Page header */

.page-header {
	background: rgba(0, 0, 0, .3);
	position: relative;
}

.page-header .brand {
	color: #fff;
	line-height: 4.5em;
	padding: 0 1.5em;
	text-decoration: none;
	}
	
.page-header .brand .lsf {
	color: #CA1520;
	display: inline-block;
	font-size: 4em;
	font-weight: normal !important;
	height: 50px;
	letter-spacing: 0;
	margin-right: .1em;
	vertical-align: middle;
} 

.page-header .brand .lsf img {
	height: 100%;
	margin: 0;
	width: auto;
}

.page-header .brand span {
	display: inline-block;
	font-weight: lighter;
	font-size: 22px;
	letter-spacing: 1px;
	line-height: 90%;
	vertical-align: middle;
}
.page-header .brand strong {
	display: block;
	font-size: 15px;
	letter-spacing: 0;
}


/* Page footer */

.page-footer {
	clear:both;
	font-size: .86em;
	padding: 2em 0;
	text-align: center;
}

.page-footer p {
	color: #4D4D4D;
}


/* Login block & form */

.login-block {
	position: absolute;
	right: 1em;
	top: 1em;
}

.login-block button {
	background: transparent;
	border: solid 2px #fff;
	-moz-border-radius: .5em;
	-webkit-border-radius: .5em;
	border-radius: .5em;
	color: #fff;
	font-family: 'Roboto Condensed',sans-serif;
	margin: 0;
	opacity: .5;
	padding: .5em 1em;
	text-transform: uppercase;
}	

.login-block button:hover {
	opacity: 1;
}

.login-block form#loginForm{
    display:none;
}

#loginForm {
	background: rgba(255,255,255,.9);
	box-shadow: 0 0 20px rgba(0, 0, 0, 1);
	padding: 1em;
	position: absolute;
	right: 0;
	top: 3em;
	text-align: center;
	z-index: 100;
}

#loginForm:after {
	bottom: 100%;
	right: 2em;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: rgba(255, 255, 255, .9);
	border-width: 10px;
	margin-left: -10px;
}
	
#loginForm fieldset {
	margin: 0;
}
	
#loginForm legend {

}
	
#loginForm label {
	color: #222;
}
	
#loginForm input[type="text"], 
#loginForm input[type="password"] {
	background: rgba(0, 0, 0, .8);
	border: 0;
	color: #fff;
	margin-bottom: .5em;
	padding: .5em 1em;
}
	
#loginForm input[type="submit"],
#loginForm input[type="button"],
#loginForm button {
	background: #CA1520;
	border: none;
	-moz-border-radius: .2em;
	-webkit-border-radius: .2em;
	border-radius: .2em;
	color: #fff;
	display: block;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-family: 'Roboto Condensed',sans-serif;
	padding: .5em 0;
	text-transform: uppercase;
	width: 100%;
}

#loginForm a {
	display: block;
	font-size: .9em;
	padding-top: 1em;
}


/* Accept form */

#acceptForm {
	text-align: center;
}

#acceptForm input[type="text"] {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background:#fff;
    border: none;
    border-radius: 2em;
    color: #000;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1em;
    max-width: 450px;
    opacity: .5;
    padding: 1em;
    width: 100%;
}

#acceptForm input[type="checkbox"] {
	vertical-align: text-top;
	margin-right: .5em;
}

#acceptForm input[type="text"]:focus {
	opacity: .9;
}

#acceptForm label {
	display: block;
	opacity: .8;
}	

#acceptForm button {
    background: #84c63c;
	background: -moz-linear-gradient(top,  #84c63c 0%, #489615 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#84c63c), color-stop(100%,#489615));
	background: -webkit-linear-gradient(top,  #84c63c 0%,#489615 100%);
	background: -o-linear-gradient(top,  #84c63c 0%,#489615 100%);
	background: -ms-linear-gradient(top,  #84c63c 0%,#489615 100%);
	background: linear-gradient(to bottom,  #84c63c 0%,#489615 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#84c63c', endColorstr='#489615',GradientType=0 );

    border: none;
    -moz-border-radius: .2em;
    -webkit-border-radius: .2em;
    border-radius: .2em;
    color: #fff;
    font-family: 'Roboto Condensed',sans-serif;
    font-size: 1.7em;
    font-weight: bold;
    margin: 1.5em 0 0;
    padding: .5em 1em;
    text-shadow: 0 -1px 0 #000000;
    text-transform: uppercase;
}

#acceptForm button:hover,
#acceptForm button:active {
	box-shadow: inset 0 0 1em rgba(0,0,0,.5);
}
#acceptForm button:active {
	box-shadow: inset 0px 0px 1px rgba(0,0,0,.8),inset 0 0 .5em rgba(0,0,0,1);
}

#acceptForm #signUpButton:disabled {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;

    cursor:default;
    opacity:.5
}

#acceptForm a {
	border-bottom: 1px dotted;
    color: #E9E9E9;
    text-decoration: none;
    white-space: nowrap;
}

#acceptForm a:hover {
	border: none;
}


/* Key facts block */

.key_facts {
	overflow: hidden;
}

.key_facts li {
	display: block;
	float: left;
	font-size: 16px;
	margin: 1em 0;
	text-align: center;
	width: 25%;
}

.key_facts li img {
	display: inline-block;
	width: 150px;
	height: 150px;
	background: #000;
	border-radius: 50%;
}
.key_facts li span {
	display: block;
	font-size: 21px;
	line-height: 125%;
	margin-bottom: 1em;
}
.key_facts li span strong {
	font-size: 23px;
	font-weight: 600;
}

.key_facts li span small {
	display: block;
	font-size: 60%;
	line-height: 115%;
	margin-top: 15px;
}

/* Subscribe section */

.subscribeSection {
	background: #E9E7EC url("/html/img/opera_register/new/envelope_border.png") repeat-x center top;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #000;
    max-width: 500px;
    padding: 2em;
}

.subscribeSection h2 {
	margin-bottom: .5em;
}

.subscribeSection input {
	border: none;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: .3em;
	padding: .5em;
}

.subscribeSection input[type="submit"] {
	background: #FA9141;
	background: #0174A7;
	-moz-border-radius: .2em;
	-webkit-border-radius: .2em;
	border-radius: .2em;
	color: #fff;
	font-family: 'Roboto Condensed',sans-serif;
	font-size: 1.2em;
	margin-top: 1em;
	padding: .5em 1em;
	text-transform: uppercase;
	white-space: normal;
}

.subscribeSection p {
	font-size: .9em;
	opacity: .5;
}


/* Terms&conditions */

#overlay {
    background: #000;
    height: 100%;
    left: 0;
    opacity: .5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 101;
}

#modal {
	background: rgba(0, 0, 0, 0.32);
    border: 0 none;
    -moz-box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
    -webkit-box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
    box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
    padding: 0;
    position: absolute;
    z-index: 102;
}

#modal_content {
    background: #fff;
    padding: 1.5em;
}

.message .agreement {
	color: #333;
    height: 500px;
    overflow: auto;
    padding: 1.5em;
    width: auto;
}

.message .agreement h1 {
	color: #BB0909;
    font-size: 2em;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 120%;
    text-align: left;
    text-shadow: none;
}

.message .agreement h2 {
	font-size: 1.3em;
	font-weight: bold;
	margin-top: 2em;
}

.message .agreement blockquote {
    background: #F5F7FA;
    color: #333;
    font-style: normal;
	font-family:  'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: -2em -1.5em 2em;
    padding: 1.5em;
}

.message .agreement blockquote h1 {
	color: #000;
	font-size: 1.6em;
}

.message .agreement blockquote p {
	font-size: .8em;
}

a#close {
    background: #000;
    border: solid 3px #fff;
    -moz-border-radius: 100%;
	-webkit-border-radius: 100%;
    border-radius: 100%;
    color: #fff;
    display: block;
    height: 30px;
    position: absolute;
    right: -10px;
    top: -10px;
    text-align: center;
    text-decoration: none;
    width: 30px;
}

a#close:hover {
	background: #BB0909;
}


/* Confirm page */

#confirm {
	margin-top: 0;
}

#confirm .visual {
	display: inline-block;
	font-size: 16em;
	line-height: 1em;
	text-shadow: 0 -2px 0 #000;
	letter-spacing: 0;
	opacity: .6;
}

#confirm h1 {
	font-size: 3em;
	margin: 0;
	opacity: .6;
}

#confirm h2 {

	font-size: 1.5em;
	margin: 3em 0;
} 

#confirm h2 strong {
	color: #CA1520;
}


/* Media queries
---------------------------------------- */

/* The media queries included in here are only placeholder. Modify them as your content requires */

@media only screen and (max-width: 1024px) { 

	.key_facts li { 
		width: 50%;
	}
}

@media only screen and (max-width: 768px) { 
	
	h1 {
		font-size: 4em;
	}
	
	#confirm h1 {
		font-size: 2em;
	}
	
	.key_facts li { 
		width: 100%;
	}
	
	.key_facts li img {
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 480px) {
	
	section {
    	margin: 1em auto;
    }
	
	h1 {
		font-size: 3em;
	}
	
	h2 {
		font-size: 2em;
	}
	
	blockquote {
		font-size: 1.1em;
	}
	
	#acceptForm input[type="text"] {
		font-size: 1em;
	}
	
	#acceptForm button {
		font-size: 1.5em;
	}
}


@media only screen and (max-width: 360px) {
	
	h1 {
		font-size: 2.5em;
	}
	
	h2 {
		font-size: 1.5em;
	}
	
	.subscribeSection input {
		width: 100%;
	}
	
}


/* Print styles
---------------------------------------- */

/* Print styles inlined to avoid extra HTTP connection */

@media print {
	* {
		background: transparent !important;
		color: black !important; /* Black prints faster: sanbeiji.com/archives/953 */
		text-shadow: none !important;
		filter: none !important;
		-ms-filter: none !important;
	}

	a, a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/* Do not show javascript and internal links */
	a[href^="javascript:"]:after, a[href^="#"]:after {
		content: ""; 
	}

	/* Printing Tables: css-discuss.incutio.com/wiki/Printing_Tables */
	thead {
		display: table-header-group;
	}

	tr, img {
		page-break-inside: avoid;
	}

	@page {
		margin: 0.5cm;
	}

	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}

	h2, h3 {
		page-break-after: avoid;
	}
}