/* FONTS */

/* Safello icon font */
@charset "UTF-8";

@font-face {
	font-family: "safello-icons";
	src:url("../fonts/safello-icons/fonts/safello-icons.eot?v=5");
	src:url("../fonts/safello-icons/fonts/safello-icons.eot?v=5#iefix") format("embedded-opentype"),
	    url("../fonts/safello-icons/fonts/safello-icons.ttf?v=5") format("truetype"),
	    url("../fonts/safello-icons/fonts/safello-icons.svg?v=5#safello-icons") format("svg"),
	    url("../fonts/safello-icons/fonts/safello-icons.woff?v=5") format("woff");
	font-weight: normal;
	font-style: normal;
}
[data-icon]:before {
	font-family: "safello-icons" !important;
	content: attr(data-icon);
	font-style: normal !important;
	font-weight: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	speak: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: "safello-icons" !important;
	font-style: normal !important;
	font-weight: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	speak: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.icon-buy:before {
	content: "a";
}
.icon-wallet:before {
	content: "b";
}
.icon-upload:before {
	content: "c";
}
.icon-twitter:before {
	content: "d";
}
.icon-star:before {
	content: "f";
}
.icon-terms:before {
	content: "g";
}
.icon-secure:before {
	content: "e";
}
.icon-select:before {
	content: "h";
}
.icon-card:before {
	content: "i";
}
.icon-check:before {
	content: "j";
}
.icon-sell:before {
	content: "k";
}
.icon-send:before {
	content: "l";
}
.icon-done:before {
	content: "m";
}
.icon-facebook:before {
	content: "n";
}
.icon-graph:before {
	content: "p";
}
.icon-home:before {
	content: "q";
}
.icon-key:before {
	content: "r";
}
.icon-mail:before {
	content: "s";
}
.icon-pdf:before {
	content: "t";
}
.icon-phone:before {
	content: "u";
}
.icon-receive:before {
	content: "v";
}
.icon-loading:before {
	content: "w";
}
.icon-google-plus:before {
	content: "x";
}
.icon-linkedin:before {
	content: "o";
}
.icon-stop:before {
	content: "y";
}
.icon-android:before {
	content: "z";
}
.icon-bitcoin:before {
	content: "A";
}
.icon-avenir-btc:before {
	content: "B";
}
.icon-secure2:before {
	content: "C";
}
.icon-back:before {
	content: "D";
}

/* Avenir */
@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-light.otf") format("opentype");
	font-weight: 300;
}
@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-book.otf") format("opentype");
	font-weight: 400;
}
@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-roman.otf") format("opentype");
	font-weight: 500;
}
@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-medium.otf") format("opentype");
	font-weight: 600;
}
@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-heavy.otf") format("opentype");
	font-weight: 700;
}
@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-black.otf") format("opentype");
	font-weight: 800;
}


/* Avenir italic */
@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-light-oblique.otf") format("opentype");
	font-weight: 300;
	font-style: italic;
}

@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-book-oblique.otf") format("opentype");
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-medium-italic.otf") format("opentype");
	font-weight: 600;
	font-style: italic;
}

@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-heavy-italic.otf") format("opentype");
	font-weight: 700;
	font-style: italic;
}

@font-face {
	font-family: Avenir;
	src:url("../fonts/Avenir-black-italic.otf") format("opentype");
	font-weight: 800;
	font-style: italic;
}

/* Rockwell */
@font-face {
	font-family: Rockwell;
	src:url("../fonts/Rockwell.otf") format("opentype");
	font-weight: 500;
}

/* GENERAL */
* {
	margin: 0;
	padding: 0;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
}
html, body {
	min-height: 100%;
	height: 100%;
	margin: 0pt;
}
body {
	position: relative;
	font-family: Avenir, "Helvetica Neue", "Arial", sans-serif;
}

/* Sticky footer */
.page-wrap {
	min-height: 100%;
	/* equal to footer height */
	margin-bottom: -338px;
}
.page-wrap:after {
	content: "";
	display: block;
}
footer, .page-wrap:after {
	/* .push must be the same height as footer */
	height: 308px;
}

body.noscroll {
	overflow: hidden;
}

html.touch .no-select {
	-webkit-user-select: none !important;
	-webkit-touch-callout: none !important;
	-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

.clearfix { /* Instead of using div with clear */
	clear: both;
}

.loading {
	background-image: url("../images/loading.gif");
	width: 32px;
	height: 32px;
	display: inline-block;
}
button.loading, .button.loading, input[type=submit].loading {
	background-image: none;
	height: auto;
	width: auto;
}

/* Selection color */
::selection {
	background: #daeaf5; /* Safari */
}
::-moz-selection {
	background: #daeaf5; /* Firefox */
}

input {
	padding: 10px;
	font-size: 15px;
	border-radius: 3px;
	color: #4f5358;
	box-shadow: none;
}

input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px white inset; /* Removed ugly Chrome yellow highlighting */
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password],
textarea {
	-webkit-appearance: none; /* Removes weird mobile safari theme */
	border: 2px solid #dfe4e9;
}
input[type=submit] {
	-webkit-appearance: none;
}

input.blockchain-password {
	background-image: url("../images/icons/blockchain-logo.svg");
	background-size: 24px 30px;
	background-position: 5px center;
	background-repeat: no-repeat;
	padding-left: 40px;
}
input:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus
input[type=password]:focus,
textarea:focus {
	outline: none;
	-webkit-transition: border-color 0.2s;
	transition: border-color 0.2s;
	border-color: #7fa9d9;
}
input.has-icon {
	background-size: 22px;
	background-position: 13px center;
	background-repeat: no-repeat;
	padding-left: 50px;
}
input.password {
	background-image: url("../images/icons/key.svg");
	background-size: 22px;
	background-position: 13px center;
	background-repeat: no-repeat;
	padding-left: 50px;
}

/* Input placeholder color */
::-webkit-input-placeholder {
	color: #b9c2cf;
}
:-moz-placeholder { /* Firefox 18- */
	color: #b9c2cf;
}
::-moz-placeholder {  /* Firefox 19+ */
	color: #b9c2cf;
}
:-ms-input-placeholder {
	color: #b9c2cf;
}

/* Dropdown selects */
select {
	border: 0 !important;  /* Removes border */
	-webkit-appearance: none;  /* Removes default chrome and safari style */
	-moz-appearance: none;  /* Removes default style Firefox */
	appearance: none;
	text-indent: 0.01px;  /* Removes default arrow from firefox */
	text-overflow: "";  /* Removes default arrow from firefox */
	background-color: #e5eaee;
	background-image: url("../images/dropdown.png");
	background-image: -webkit-image-set(url("../images/dropdown.png") 1x,
	                                    url("../images/dropdown@2x.png") 2x);
	background-repeat: no-repeat;
	background-position : right center;
	background-position : -webkit-calc(100% - 10px) center;
	background-position : -moz-calc(100% - 10px) center;
	background-position : calc(100% - 10px) center;
	padding: 10px 50px 10px 13px;
	color: #89909a;
	font-size: 15px;
	margin: 10px 5px;
	font-weight: 600;
	font-family: Avenir, "Helvetica Neue", "Arial", sans-serif;
}
select:hover {
	background-color: #dbe0e5;
}
select:focus {
	background-color: #cfd3d7;
	outline: none;
}

/* Checkboxes */
.checkbox,
.radio { /* Checkbox container with input + label */
	position: relative;
}
.checkbox input[type=checkbox],
.radio input[type=radio] {
	display: none;
	text-align: left;
}
.checkbox label, .radio label {
	color: #8d9aa3;
	position: relative;
	cursor: pointer;
}
.checkbox label:before,
.radio label:before {
	content: "";
	display: inline-block;
	text-align: left;
	width: 16px;
	height: 16px;
	margin-right: 10px;
	position: absolute;
	left: -30px;
	top: -1px;
	background-color: white;
	border: 2px solid #d9dadb;
	border-radius: 1px;
}
.radio label:before {
	border-radius: 50%;
}
input[type=checkbox]:checked + label::before,
input[type=radio]:checked + label::before {
	content: "j";
	font-family: "safello-icons";
	font-size: 16px;
	color: #f3f3f3;
	text-align: center;
	line-height: 17px;
	border-color: #7fa9d9;
	background-color: #d3e2f2;
	color: #4781c4;
}
input[type=radio]:checked + label::before {
	content: "";
	line-height: 5px;
	font-size: 42px;
}
input[type=radio]:checked + label::after {
	content: "";
	width: 10px;
	height: 10px;
	position: absolute;
	left: 0;
	margin-left: -25px;
	background: #3678C4;
	border-radius: 50%;
	top: 4px;
}


/* Buttons */
a {
	cursor: pointer;
}
p a {
	color: #188fc3;
	text-decoration: none;
}
p a:hover {
	text-decoration: underline;
}
.button, button, input[type=submit] {
	background-color: #3389c4;
	text-align: center;
	padding: 9px 24px;
	border: none;
	font-size: 18px;
	border-radius: 4px;
	color: white ;
	cursor: pointer;
	text-decoration: none !important;
}
.button:hover, button:hover, input[type=submit]:hover {
	background-color: #3184bc;
}
.button:active, button:active,
input[type=submit]:active {
	background-color: #2f7db0;
}
button.grey, .button.grey {
	background-color: #8d9aa3;
}
.button.green, button.green {
	background-color: #4cc54f;
}
button.green:hover .button.green:hover {
	background-color: #4ac14b;;
}
button.green:active .button.green:active {
	background-color: #42b744;
}
button.red, .button.red {
	background-color: #DA5F5F;
}
button.red:hover, .button.red:hover {
	background-color: #C55656;
}
button.red:active, .button.red:active {
	background-color: #9C4444;
}
.button.trans, button.trans {
	background-color: transparent;
	border: 2px solid #3389c4;
	color: #3389c4;
	font-weight: 600;
	padding: 7px 22px;
}
.button.trans:hover, button.trans:hover {
	background-color: rgba(146,177,198,0.1);
}
button:focus, input[type=send]:focus {
	outline: none;
}
.button.facebook {
	display: block;
	line-height: 33px;
	color: white;
	background-color: #617AB9;
	position: relative;
}
.button.facebook::before {
	position: absolute;
	left: 13px;
	font-size: 29px;
	top: 11px;
}
.popup.alert {
	padding-bottom: 80px;
	min-height: 0;
}
.popup.alert h {
	color: rgb(87, 87, 87);
	font-size: 24px;
	font-weight: 600;
	text-align: center;
	display: block;
	margin-top: 12px;
}
.popup.alert p {
	margin-top: 20px;
}
.popup.alert button.cancel,
.popup.alert button.confirm {
	position: absolute;
	bottom: 20px;
	box-sizing: border-box;
	width: -webkit-calc(50% - 24px);
	width: -moz-calc(50% - 24px);
	width: calc(50% - 24px);
}
.popup.alert button.cancel {
	left: 20px;
}
.popup.alert button.confirm {
	right: 20px;
}
.popup.alert {
	padding-bottom: 80px;
	min-height: 0;
}
.popup.alert h {
	color: rgb(87, 87, 87);
	font-size: 24px;
	font-weight: 600;
	text-align: center;
	display: block;
	margin-top: 12px;
}
.popup.alert p {
	margin-top: 20px;
}
.popup.alert button.cancel,
.popup.alert button.confirm {
	position: absolute;
	bottom: 20px;
	box-sizing: border-box;
	width: -webkit-calc(50% - 24px);
	width: -moz-calc(50% - 24px);
	width: calc(50% - 24px);
}
.popup.alert button.cancel {
	left: 20px;
}
.popup.alert button.confirm {
	right: 20px;
}
.button.alt { /* Transparent button */
	color: #28A4E3;
	background: none;
	border: 2px solid #28A4E3;
	border-radius: 3px;
	padding: 7px 34px;
	font-weight: 500;
	display: inline-block;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
}
.button.alt:hover {
	background-color: rgba(40, 164, 227, 0.08);
}

.button.transparent { /* Transparent button */
	color: white;
	background: none;
	border: 2px solid white;
	border-radius: 3px;
	padding: 7px 34px;
	font-weight: 500;
	display: inline-block;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
}
.button.transparent:hover {
	background-color: rgba(255, 255, 255, 0.08);
}
ul li, ol li {
	list-style-position: inside;
}

/* For copy/paste */
.copy-button {
	font-size: 23px;
	color: rgb(189, 189, 189);
	cursor: pointer;
	position: relative;
}
.copy-button.zeroclipboard-is-hover {
	color: rgb(168, 168, 168);
	text-decoration: none !important;
}
.copy-button .label {
	background: rgba(58, 67, 80, 0.8);
	color: white;
	font-size: 13px;
	position: absolute;
	padding: 5px 13px;
	text-align: center;
	white-space: nowrap;
	left: 50%;
	margin-left: -69px;
	border-radius: 20px;
	top: 35px;
	line-height: normal;
	display: none;
}
.copy-button.zeroclipboard-is-hover .label {
	display: block;
}
.copy-button .label::before {
	content: "";
	width: 0;
	height: 0;
	top: -6px;
	left: 50%;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid rgba(58, 67, 80, 0.8);
	position: absolute;
	margin-left: -4px;
}
.copy-button .label::after {
	content: attr(data-text-default);
}
.copy-button .label.copied {
	margin-left: -39px;
}
.copy-button .label.copied::after {
	content: attr(data-text-copied);
}

/* Label on left side of copybutton */
.copy-button .label.left {
	top: 0;
	right: 43px;
	left: auto;
	margin-left: -69px;
	border-radius: 8px;
}
.copy-button .label.left::before {
	top: -6px;
	left: auto;
	border-top: 5px solid transparent;
	border-left: 7px solid rgba(58, 67, 80, 0.8);
	border-bottom: 5px solid transparent;
	position: absolute;
	margin-left: 0;
	right: -13px;
	top: 8px;
}


/* Table */
table {
	border-collapse: collapse;
	border: 1px solid #d6d6d6;
}
table tr th {
	background-color: #fdfdfd;
	color: #b5b5b5;
	border-bottom: 1px solid #f0f0f0;
	padding: 15px;
	font-weight: 400;
	text-transform: uppercase;
}
table tr {
	background-color: white;
}
table tr:nth-child(even) {
	background-color: #fafafa;
}
table tr td {
	padding: 15px;
	text-align: center;
	color: #838383;
	position: relative;
}
table tr td.status > div {
	font-size: 26px;
	/*position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -10px;
	margin-top: -14px;*/
	top: 0px;
	position: relative;
	left: 0px;
}
table tr td.status > div.green {
	color: #4cc54f;
}

form li,
.form li {
	position: relative;
}
form .status,
.form .status { /* Error messages */
	position: absolute;
	background-color: #f7b9b7;
	padding: 6px;
	border-radius: 4px;
	color: #be5b59;
	font-size: 14px;
	opacity: 0.85;
	z-index: 10;
	display: none;
	max-width: 270px;
	text-align: center;
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
}
form .status::after,
.form .status::after {
	content:"";
	width: 0;
	height: 0;
	top: 8px;
	border-top: 8px solid transparent;
	border-right: 10px solid #f7b9b7;
	border-bottom: 8px solid transparent;
	position: absolute;
	left: -8px;
}


/* Popup style */
#page-overlay {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(208,217,223,0.7);
	z-index: 100;
	display: none;
}
.turn-on-javascript {
	position: fixed;
	z-index: 101;
	text-align: center;
	width: 600;
	left: 50%;
	margin-left: -300px;
	top: 50%;
	margin-top: -300px;
}
.turn-on-javascript #nerdcoin {
	width: 400px;
	height: 400px;
	margin: 70px auto 30px auto;
	background-size: 400px;
	background-image: url("../images/nerdcoin.png");
	background-image: -webkit-image-set(url("../images/nerdcoin.png") 1x,
	                                    url("../images/nerdcoin@2x.png") 2x);
}o
.turn-on-javascript h {
	color:white;
	text-shadow: 0px 1px 1px rgb(128, 144, 159);
	background-color: rgba(125, 145, 171, 0.8);
	padding: 10px 20px;
	font-size: 24px;
	font-weight: 600;
	border-radius: 40px;
}
.turn-on-javascript p {
	color:white;
	text-shadow: 0px 1px 1px rgb(128, 144, 159);
	background-color: rgba(125, 145, 171, 0.8);
	padding: 0px 14px;
	border-radius: 40px;
	margin-top: 20px;
	font-weight: 600;
}
.popup {
	position: fixed;
	width: 400px;
	min-height: 300px;
	border-radius: 8px;
	background-color: white;
	border: 2px solid #a5b5c0;
	z-index: 10001;
	left: 50%;
	top: 23%;
	margin-left: -217px;
	box-shadow: 0px 1px 10px rgba(0,0,0,0.1);
	padding: 15px;
	display: none;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
}
.popup .close {
	position: absolute;
	right: 20px;
	top: 15px;
	color: #b9b9b9;
	font-size: 16px;
	cursor: pointer;
}
.popup .close:hover {
	color: gray;
}
.popup.fadeInUpBig {
	-webkit-animation-duration: 0.4s;
	animation-duration: 0.4s;
}

p.note {
	background-color: #b8edb9;
	padding: 15px 25px;
	border: 1px solid #9ad29b;
	color: #4a9f4c !important;
	border-radius: 3px;
}
p.note.critical {
	background-color: #f7b9b7;
	border: 1px solid #be5b59;
	color: #be5b59 !important;
}
p.note.warning {
	margin-bottom: 20px;
	background-color: #fffff2;
	border: 1px solid #F0E6AA;
	color: #B9AF78 !important;
	text-align: center;
	font-weight: 500;
}

.loader {
	margin: 6em auto;
	font-size: 10px;
	position: relative;
	text-indent: -9999em;
	border-top: 1.1em solid rgba(255, 255, 255, 0.2);
	border-right: 1.1em solid rgba(255, 255, 255, 0.2);
	border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
	border-left: 1.1em solid #ffffff;
	-webkit-animation: load8 1.1s infinite linear;
	animation: load8 1.1s infinite linear;
}
.loader,
.loader:after {
	border-radius: 50%;
	width: 10em;
	height: 10em;
}
@-webkit-keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}


/* HEADER */
body > header {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	height: 70px;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.4)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	background: white\0; /* IE 8 fallback */
	border-bottom: 2px solid #a5b5c0\0; /* IE 8 fallback */
	filter: \0;
	-moz-transition: background 0.15s, margin-top 0.3s;
	-webkit-transition: background 0.15s, margin-top 0.3s;
	transition: background 0.15s, margin-top 0.3s;
	z-index: 100;
}
body > header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.19);
	background: linear-gradient(white, rgba(255, 255, 255, 0.84));
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
html.touch body > header::after, /* No transparent header for touch devices (because of scroll delay) */
			body > header.solid::after,
			body.solid-header > header::after {
	opacity: 1;
}
body > header > * {
	position: relative;
	z-index: 2;
}
.page-container {
	width: 1000px;
	margin: 0px auto;
	height: 100%;
	position: relative;
}

/* Header logo */
header #logotype {
	width: 107px;
	height: 30px;
	position: absolute;
	left: 0;
	top: 20px;
	margin-left: 14px;
	background-image:url("../images/logo-white.png");
	background-image: -webkit-image-set(url("../images/logo-white.png") 1x,
	                                    url("../images/logo-white@2x.png") 2x);
	background:url("../images/logo-blue.png")\0; /* IE 8 fallback */
}
header #logotype:focus {
	outline: none;
}
html.touch header #logotype,
			header.solid #logotype,
			body.solid-header header #logotype {
	background-image:url("../images/logo-blue.png");
	background-image: -webkit-image-set(url("../images/logo-blue.png") 1x,
	                                    url("../images/logo-blue@2x.png") 2x);
}
header #logotype.super,
header.solid #logotype.super,
body.solid-header header #logotype.super { /* Konami code logo :-) */
	background-image: url("../images/logo-super.jpg");
	background-size: contain;
	width: 200px;
	height: 60px;
	top: 5px;
	border-radius: 4px;
}

/* Header links */
header ul.nav {
	list-style-type: none;
	float: right;
	display: inline-block;
	margin-top: 10px;
}
header ul.nav a {
	text-decoration: none;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
	color: white;
	text-transform: uppercase;
}
header[data-is-logged-in=true] ul.nav a {
	margin-right: 10px;
	padding: 7px 15px;
	border-radius: 3px;
	font-weight: 500;
	-webkit-transition: opacity 0.2s, background-color 0.1s;
	-moz-transition: opacity 0.2s, background-color 0.1s;
	transition: opacity 0.2s, background-color 0.1s;
}
header[data-is-logged-in=true] ul.nav a:not(.account):hover {
	background-color: rgba(147, 219, 255, 0.25);
}
header[data-is-logged-in=true] ul.nav a:not(.account).selected {
	background-color: #28a4e3;
	color: white;
}
header ul.nav a.off {
	opacity: 0.6;
}
header ul.nav li {
	display: inline-block;
	color: white;
	color: #4781c4\0; /* IE 8 fallback */
	margin: 12px;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 36px;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
html.touch header ul.nav a,
			header.solid ul.nav a,
			body.solid-header header ul.nav a {
	color: #3389c4;
}
html.touch header ul.nav li,
			header.solid ul.nav li,
			body.solid-header header ul.nav li {
	color: #8f999f;
}
html.touch header ul.nav a li,
			header.solid ul.nav a li,
			body.solid-header header ul.nav a li {
	color: #4781c4;
}

html.touch	header ul.nav li.logout:hover,
			header ul.nav li.logout:hover {
	color: #d95454 !important;
}
header ul.nav li.current-price {
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
header ul.nav li.current-price { /* TODO! For logged in only */
	margin-right: 40px;
}
header ul.nav li.current-price .sell,
header ul.nav.show-sell-price li.current-price .buy {
	display: none;
}
@-webkit-keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
header ul.nav li.current-price .buy,
header ul.nav.show-sell-price li.current-price .sell {
	display: inline-block;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
}
header ul.nav li.current-price .btc-symbol {
	position: relative;
	width: 10px;
	display: inline-block;
	height: 10px;
}
header ul.nav li.current-price .arrow {
	position: relative;
	width: 16px;
	height: 10px;
	display: inline-block;
}
header ul.nav li.current-price .arrow::before {
	position: absolute;
	top: -4px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
header ul.nav.show-sell-price li.current-price .arrow::before {
	transform:rotate(180deg);
	-ms-transform:rotate(180deg); /* IE 9 */
	-webkit-transform:rotate(180deg); /* Opera, Chrome, and Safari */
}
header ul.nav li.current-price .btc-symbol::before {
	position: absolute;
	top: -4px;
	left: -2px;
}
header ul.nav li.signup {
	background-color: #4cc54f;
	padding: 7px 12px 5px 12px;
	border-radius: 1px;
	color: white !important;
	line-height: normal;
}
header ul.nav li.signup:hover {
	background-color: #4ac14b;
}
header ul.nav li.signup:active {
	background-color: #42b744;
}
header ul.nav li.header-icon {
	position: relative;
	margin-left: 50px;
}
header ul.nav li.header-icon::after {
	content: "";
	position: absolute;
	width: 40px;
	height: 40px;
	left: -45px;
	background-repeat: no-repeat;
	background-position: center center;
	top: -14px;
}
header ul.nav li.header-icon.wallets::after {
	background-image:url("../images/icons/header-wallet-white.png");
	background-image: -webkit-image-set(url("../images/icons/header-wallet-white.png") 1x,
	                                    url("../images/icons/header-wallet-white@2x.png") 2x);
}
html.touch header ul.nav li.header-icon.wallets::after,
			header.solid ul.nav li.header-icon.wallets::after,
			body.solid-header header ul.nav li.header-icon.wallets::after {
	background-image:url("../images/icons/header-wallet.png");
	background-image: -webkit-image-set(url("../images/icons/header-wallet.png") 1x,
	                                    url("../images/icons/header-wallet@2x.png") 2x);
}
header ul.nav li.header-icon.trade::after {
	background-image:url("../images/icons/header-trade-white.png");
	background-image: -webkit-image-set(url("../images/icons/header-trade-white.png") 1x,
	                                    url("../images/icons/header-trade-white@2x.png") 2x);
}
html.touch header ul.nav li.header-icon.trade::after,
		header.solid ul.nav li.header-icon.trade::after,
		body.solid-header header ul.nav li.header-icon.trade::after {
	background-image:url("../images/icons/header-trade.png");
	background-image: -webkit-image-set(url("../images/icons/header-trade.png") 1x,
	                                    url("../images/icons/header-trade@2x.png") 2x);
}

header ul.nav li.header-icon.notifications::after {
	background-image:url("../images/icons/header-notifications-white.png");
	background-image: -webkit-image-set(url("../images/icons/header-notifications-white.png") 1x,
	                                    url("../images/icons/header-notifications-white@2x.png") 2x);
}
html.touch header ul.nav li.header-icon.notifications::after,
			header.solid ul.nav li.header-icon.notifications::after,
			body.solid-header header ul.nav li.header-icon.notifications::after {
	background-image:url("../images/icons/header-notifications.png");
	background-image: -webkit-image-set(url("../images/icons/header-notifications.png") 1x,
	                                    url("../images/icons/header-notifications@2x.png") 2x);
}
header ul.nav li.header-icon.notifications .num {
	background: rgb(124, 199, 241);
	width: 20px;
	height: 20px;
	display: block;
	border-radius: 50%;
	line-height: 20px;
	position: absolute;
	color: white;
	font-weight: 600;
	border: 2px solid transparent;
	top: -17px;
	right: 0px;
	text-align: center;
	z-index: 2;
	font-size: 13px;
}
html.touch header ul.nav li.header-icon.notifications .num,
		header.solid ul.nav li.header-icon.notifications .num,
		body.solid-header header ul.nav li.header-icon.notifications .num {
	border-color: white;
}
header ul.nav li.header-icon.settings {
	margin-right: 30px;
}
header ul.nav li.header-icon.settings::after {
	background-image:url("../images/icons/header-settings-white.png");
	background-image: -webkit-image-set(url("../images/icons/header-settings-white.png") 1x,
	                                    url("../images/icons/header-settings-white@2x.png") 2x);
}
html.touch header ul.nav li.header-icon.settings::after,
			header.solid ul.nav li.header-icon.settings::after,
			body.solid-header header ul.nav li.header-icon.settings::after {
	background-image:url("../images/icons/header-settings.png");
	background-image: -webkit-image-set(url("../images/icons/header-settings.png") 1x,
	                                    url("../images/icons/header-settings@2x.png") 2x);
}
header ul.nav .settings {
	display: inline-block;
	float: none;
	position: absolute;
	right: 47px;
	top: 17px;
	padding: 20px 5px;
}
header ul.nav .settings .icon {
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 7px solid white;
}
html.touch header ul.nav .settings .icon,
		header.solid ul.nav .settings .icon,
		body.solid-header header ul.nav .settings .icon {
	border-top: 7px solid #3389c4;
}
header ul.nav ul.dropdown {
	width: 120px;
	background-color: white;
	position: absolute;
	top: 40px;
	left: -45px;
	border-radius: 3px;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.07), 0px 0px 1px rgba(71, 88, 117, 0.8);
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.3s, visibility 0s linear 0.5s, top 0.3s;
	transition: opacity 0.3s, visibility 0s linear 0.5s, top 0.3s;
}
header ul.nav .settings:hover ul.dropdown {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
	top: 48px;
}
header ul.nav ul.dropdown::before { /* Carret */
	content: "";
	position: absolute;
	left: 50%;
	top: -12px;
	width: 0;
	margin-left: -15px;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid rgba(71, 88, 117, 0.18);
}
header ul.nav ul.dropdown::after { /* Carret */
	content: "";
	position: absolute;
	left: 50%;
	top: -10px;
	width: 0;
	margin-left: -13px;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid white;
}
header ul.nav ul.dropdown li {
	font-size: 14px;
	text-transform: none;
	border-bottom: 1px solid rgb(235, 235, 235);
	display: block;
	text-align: center;
	padding: 0px;
	margin: 0;
	color: rgb(118, 144, 156);
	font-weight: 500;
}
header ul.nav ul.dropdown a {
	padding: 0;
}
header ul.nav ul.dropdown a li {
	color: rgb(133, 154, 168);
	text-align: left;
	padding: 3px 14px;
}
header ul.nav ul.dropdown a:first-child li {
	border-radius: 3px 3px 0px 0px;
}
header ul.nav ul.dropdown a:last-child li {
	border-bottom: none;
	border-radius: 0px 0px 3px 3px;
}
header ul.nav ul.dropdown li:hover {
	background-color: rgb(250, 250, 250);
}
header ul.nav .avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-image: url("../images/avatar_thumb");
	background-size: cover;
	background-position: center center;
	display: inline-block;
	vertical-align: middle;
	margin-top: -5px;
	margin-right: 6px;
	margin-left: -10px;
	position: relative;
	cursor: pointer;
}
header ul.nav .avatar[data-pic-set-by-user=true] {
	background-image: url("../images/avatar");
}
header ul.nav .avatar .underlay {
	position: absolute;
	left: -2px;
	right: -2px;
	top: -2px;
	bottom: -2px;
	background-color: white;
	border-radius: 50%;
	z-index: -1;
}
header ul.nav a:focus {
	outline: none;
}
header ul.nav a li[data-icon] {
	font-size: 24px;
}
header ul.nav .account {
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
	cursor: pointer;
	margin-right: 80px !important;
}
header ul.nav .account h { /* Name */
	font-weight: 600;
	position: relative;
}
header ul.nav .small-menu.hide {
	display: none;
	position: absolute;
	left: 19px;
	top: 37px;
	margin: -5px 0px 0px -5px;
	font-size: 28px;
	color: gray;
}
header .small-menu {
	position: absolute;
	color: white;
	top: 22px;
	left: 14px;
	font-size: 28px;
	display: none;
	cursor: pointer;
}

html.touch header .small-menu, /* For touch screens */
		header.solid .small-menu, /* When scrolled down */
		body.solid-header > header .small-menu { /* If page doesn't have top photo */
	color: #8f999f;
}


/* Announcement on top of header */
header.show-announcement {
	margin-top: 16px;
}
header .announcement {
	position: absolute;
	top: -16px;
	height: 20px;
	background: rgb(156, 167, 173);
	left: 0;
	right: 0;
	padding: 5px 20px;
	color: white;
	font-size: 15px;
	text-align: center;
	display: none;
}
header .announcement .close {
	width: 23px;
	height: 23px;
	background-color: rgba(0,0,0,0.26);
	position: absolute;
	right: 14px;
	top: 3px;
	border-radius: 50%;
	color: white;
	cursor: pointer;
}
header .announcement .close:hover {
	background-color: rgba(0,0,0,0.35);
}
header .announcement .close::after {
	content: "✕";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	line-height: 24px;
	font-size: 13px;
}
header.show-announcement .announcement {
	display: block;
}

.important-info {
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
	width: 600px;
	margin-left: -318px;
	top: 50%;
	margin-top: -272px;
}
.important-info.kyc {
	min-height: 0;
	margin-top: -210px;
}
.important-info h {
	color: gray;
	font-size: 23px;
	text-align: center;
	display: block;
	margin: 10px auto;
}
.important-info.kyc h {
	font-size: 31px;
}
.important-info.kyc ul {
	margin-top: 14px;
}
.important-info.kyc ul li {
	font-size: 16px;
	font-weight: 600;
	color: rgb(77, 77, 77);
}
.important-info p {
	color: rgb(66, 66, 66);
	font-size: 15px;
	margin-top: 20px;
}
.important-info.terms .content {
	padding: 10px;
	background-color: rgb(239, 242, 247);
	border-radius: 3px;
	border: 1px solid rgb(229, 231, 235);
	margin: 20px auto;
	height: 300px;
	margin-bottom: 70px;
	overflow: scroll;
}
.important-info.terms .content h1 {
	color: rgb(135, 145, 163);
	text-align: center;
	margin-top: 20px;
	margin-bottom: 30px;
}
.important-info.terms .content h1::before {
	display: none;
}
.important-info.terms .content h2 {
	color: rgb(139, 145, 158);
	font-weight: 600;
	font-size: 23px;
	margin-top: 50px;
}
.important-info.terms .content p,
.important-info.kyc p,
.important-info.terms .content ul li,
.important-info.kyc ul li {
	color: rgb(92, 99, 112);
	font-size: 15px;
}
.important-info .button {
	position: absolute;
	bottom: 0;
	margin: 20px auto;
	left: 100px;
	right: 100px;
	height: 30px;
	line-height: 30px;
	border-radius: 3px;
}
.important-info.kyc .button {
	position: relative;
	display: block;
	margin-left: 50px;
	width: auto;
	left: auto;
	right: auto;
	margin-right: 50px;
}

.ui-notification {
	position: fixed;
	background: rgba(255, 255, 255, 0.9);
	bottom: -100px;
	right: 28px;
	z-index: 90;
	padding: 20px;
	box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.25), 1px 1px 3px rgba(0, 0, 0, 0.15);
	border-radius: 3px;
	color: rgb(65, 65, 65);
	font-weight: 500;
	width: 280px;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: bottom 0.3s, opacity 0.6s, visibility 0.6s;
	transition: bottom 0.3s, opacity 0.6s, visibility 0.6s;
	text-decoration: none !important;
}
.ui-notification.show {
	opacity: 1;
	bottom: 28px;
	visibility: visible;
}
.ui-notification .avatar {
	background-color: gray;
	background-image: url("../images/ipad_144.png");
	background-size: cover;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	float: left;
	margin-right: 10px;
}
.popup#settings-panel {
	top: 50%;
	/*margin-top: -208px;*/
	margin-top: -254px;
	height: 440px;
	-webkit-transition: height 0.3s, margin-top 0.3s;
	-moz-transition: height 0.3s, margin-top 0.3s;
	transition: height 0.3s, margin-top 0.3s;
	overflow: hidden;
}
.popup#settings-panel.short {
	min-height: 220px;
	height: 220px;
	margin-top: -110px;
}
.popup#settings-panel.long {
	height: 488px;
}
.popup#settings-panel > h {
	text-align: center;
	color: #949A9D;
	display: block;
	font-size: 24px;
	border-bottom: 1px solid #D6DFE4;
	padding-bottom: 10px;
	font-weight: 500;
	position: absolute;
	left: 0;
	right: 0;
	top: 17px;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.popup#settings-panel > h.hide {
	opacity: 0;
}
.popup#settings-panel > .back {
	color: rgb(160, 181, 201);
	position: absolute;
	left: 8px;
	top: 16px;
	font-size: 28px;
	cursor: pointer;
	z-index: 1;
}
.popup#settings-panel > .back:hover {
	color: rgb(150, 171, 191);
}
.popup#settings-panel .container {
	padding: 0px 20px;
	position: absolute;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	left: 20px;
	right: 20px;
	top: 54px;
}
.popup#settings-panel .container form {
	position: relative;
}
.popup#settings-panel .container .status {
	right: 0;
	left: 0;
	max-width: none;
	top: -37px;
}
.popup#settings-panel .container .status::after {
	top: auto;
	border-right: 8px solid transparent;
	border-top: 10px solid #f7b9b7;
	border-left: 8px solid transparent;
	left: 50%;
	bottom: -18px;
	margin-left: -8px;
}
.popup#settings-panel .container .current {
	left: 0;
	right: 20px;
}
.popup#settings-panel .container.previous {
	left: -100%;
	right: 100%;
}
.popup#settings-panel .container.next {
	left: 100%;
	right: -100%;
}
.popup#settings-panel h3 {
	color: #777B7E;
	font-size: 15px;
	margin-top: 40px;
	margin-bottom: 13px;
}
.popup#settings-panel h3:first-child {
	margin-top: 20px;
}
.popup#settings-panel .button.gray {
	display: block;
	background-color: #DBE0E6;
	color: #83888B;
	font-size: 16px;
	font-weight: 600;
	border-radius: 3px;
	padding: 12px;
	margin: 15px auto;
	position: relative;
	background-image: url("../images/icons/next.svg");
	background-size: 11px 17px;
	background-position: -webkit-calc(100% - 10px) center;
	background-position: -moz-calc(100% - 10px) center;
	background-position: calc(100% - 10px) center;
	background-repeat: no-repeat;
}
.popup#settings-panel .button.gray:hover {
	background-color: #D5D9DF;
}
.popup#settings-panel .button.change-password::before {
	position: absolute;
	left: 11px;
	font-size: 26px;
	top: 10px;
	color: #979FAC;
}
.popup#settings-panel .button.two-factor-auth::before {
	content: "";
	width: 28px;
	height: 28px;
	position: absolute;
	left: 10px;
	top: 9px;
	background-image: url("../images/icons/google-auth.png");
	background-image: -webkit-image-set(url("../images/icons/google-auth.png") 1x,
	                                    url("../images/icons/google-auth@2x.png") 2x);
}
.popup#settings-panel .button.two-factor-auth::after {
	content: attr(data-text-off);
}
.popup#settings-panel .button.two-factor-auth.added {
	background-color: #B5E0AF;
	color: #70926C;
	background-image: none;
}
.popup#settings-panel .button.two-factor-auth.added::after {
	content: attr(data-text-on);
}
.popup#settings-panel .button.two-factor-auth.added:hover {
	background-color: rgb(241, 183, 183);
	color: rgb(192, 95, 95);
}
.popup#settings-panel .button.two-factor-auth.added:hover::after {
	content: attr(data-text-remove);
}
.popup#settings-panel p {
	color: #A3ACB7;
	display: inline-block;
	margin-top: 9px;
}
.popup#settings-panel p.done {
	color: rgb(136, 168, 136);
	background-color: rgb(221, 236, 221);
	padding: 15px;
	border-radius: 4px;
}
.popup#settings-panel p.done::after {
	content: attr(data-done-text);
}
.popup#settings-panel select {
	float: right;
	margin-top: 0;
}
.popup#settings-panel select::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 4px;
	width: 6px;
	height: 6px;
	border: 2px solid gray;
	border-radius: 50%;
}

.popup#settings-panel .button.big {
	display: block;
	padding: 12px;
	margin-top: 12px;
	margin-bottom: 10px;
}
.popup#settings-panel .container[data-page=two-factor-auth] p {
	color: #686C6E;
	font-size: 16px;
	margin-top: 30px;
	margin-bottom: 10px;
}
.popup#settings-panel input[type=password],
.popup#settings-panel input.password {
	width: -webkit-calc(100% - 63px);
	width: -moz-calc(100% - 63px);
	width: calc(100% - 63px);
	background-image: url("../images/icons/key.svg");
	background-size: 22px;
	background-position: 13px center;
	background-repeat: no-repeat;
	padding-left: 50px;
}
.popup#settings-panel input[name=otp-code] {
	background-size: initial;
	background-position: 11px center;
	background-image: url("../images/icons/google-auth.png");
	background-image: -webkit-image-set(url("../images/icons/google-auth.png") 1x,
	                                    url("../images/icons/google-auth@2x.png") 2x);
}
.popup#settings-panel p.secret {
	margin-top: -9px !important;
	text-align: center;
	display: block;
	position: relative;
	z-index: 1;
}
.popup#settings-panel .container[data-page=two-factor-auth] .setup {
	display: none;
}
.popup#settings-panel .container[data-page=two-factor-auth] .setup .qr {
	width: 200px;
	height: 200px;
	background-image: url(/images/generate-qr.gif);
	background-size: 154px;
	background-repeat: no-repeat;
	background-position: center center;
	margin: 0px auto;
}
.popup#settings-panel .container[data-page=two-factor-auth] .setup img {
	width: 200px;
	margin: 0px auto;
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.popup#settings-panel .container[data-page=change-password] p {
	margin: 30px auto;
	display: block;
	text-align: center;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.popup#settings-panel .container[data-page=change-password] p::after {
	content: attr(data-default-text);
	-webkit-transition: background-color 0.3s, color 0.3s, padding 0.3s;
	transition: background-color 0.3s, color 0.3s, padding 0.3s;
}
.popup#settings-panel .container[data-page=change-password] p.done::after {
	content: attr(data-done-text);
}
.popup#settings-panel .container[data-page=change-password] input {
	margin: 3px auto;
}

/* Contact popup */
.popup#contact-safello {
	margin-top: -201px;
	top: 50%;
	max-height: 400px;
}
.popup#contact-safello h {
	display: block;
	margin: 30px auto;
	font-size: 28px;
	color: gray;
	text-align: center;
}
.popup#contact-safello ul {
	list-style-type: none;
}
.popup#contact-safello li {
	position: relative;
}
.popup#contact-safello li.url {
	display: none;
}
.popup#contact-safello li .status {
	position: absolute;
	left: 101%;
	top: 5px;
	background-color: #f7b9b7;
	width: 190px;
	padding: 6px;
	border-radius: 4px;
	color: #be5b59;
	font-size: 14px;
	opacity: 0.85;
	z-index: 10;
	display: none;
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
}
.popup#contact-safello li .status::after {
	content:"";
	width: 0;
	height: 0;
	top: 8px;
	border-top: 8px solid transparent;
	border-right: 10px solid #f7b9b7;
	border-bottom: 8px solid transparent;
	position: absolute;
	left: -8px;
}
.popup#contact-safello select {
	width: 100%;
	display: block;
	margin: 10px auto;
}
.popup#contact-safello textarea {
	width: 100%;
	padding: 10px;
	font-size: 15px;
	height: 100px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	resize: vertical;
}
.popup#contact-safello input {
	display: block;
	margin: 6px 0px;
	width: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.popup#contact-safello .button {
	margin-top: 26px;
	display: block;
	padding: 10px;
	font-size: 20px;
	min-height: 26px;
}
.popup#contact-safello .button::after {
	content: attr(data-text-before);
}
.popup#contact-safello .button.loading {
	opacity: 0.6;
	background-image: none;
	width: auto;
	height: auto;
}
.popup#contact-safello .button.loading::after {
	content: attr(data-text-after);
}

.popup#contact-safello .done {
	display: none;
}
.popup#contact-safello .done .paper-plane {
	margin: 20px auto;
	margin-top: 62px;
	background-image:url("../images/about/paper-plane.png");
	background-image: -webkit-image-set(url("../images/about/paper-plane.png") 1x,
	                                    url("../images/about/paper-plane@2x.png") 2x);
	width: 106px;
	height: 42px;
}
.popup#contact-safello .done h {
	font-size: 24px;
	color: #629ECE;
}


/* Toggle switches */
.onoffswitch {
	position: relative;
	width: 60px;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select: none;
	-webkit-transition: opacity 0.3s;
	webkit-transition-delay: 0.5s;
}
.onoffswitch.granted {
	opacity: 0.5;
}
.onoffswitch-checkbox {
	display: none;
}
.onoffswitch-label {
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid #CCCCCC;
	border-radius: 30px;
	height: 24px;
}
.onoffswitch-label::before {
	display: none;
}
.onoffswitch-inner {
	width: 200%;
	margin-left: -100%;
	-moz-transition: margin 0.2s;
	-webkit-transition: margin 0.2s;
	-o-transition: margin 0.2s;
	transition: margin 0.2s;
}
.onoffswitch-inner:before,
.onoffswitch-inner:after {
	float: left;
	width: 50%;
	height: 30px;
	padding: 0;
	line-height: 30px;
	font-size: 16px;
	color: white;
	font-family: Trebuchet, Arial, sans-serif;
	font-weight: bold;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 30px;
}
.onoffswitch-inner:before {
	background-color: #4cc54f;
	border-radius: 0;
	margin-top: -2px;
	text-indent: -20px;
}
.onoffswitch-inner:after {
	content: "" /*"✕"*/;
	padding-right: 15px;
	background-color: #CCCCCC;
	text-align: right;
	border-radius: 0;
	color: white;
	margin-top: -2px;
	margin-right: -100px;
}
.onoffswitch-switch {
	width: 30px;
	margin: 0px;
	background-color: #FFFFFF;
	border: 2px solid #CCCCCC;
	border-radius: 30px;
	position: absolute;
	top: -3px;
	bottom: -3px;
	right: 29px;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
	border-color: #4cc54f;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
	margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
	right: 0px;
	border-color: #4cc54f;
}
.corner-message {
	/* Rectangle 1: */
	background: rgba(255,255,255,0.9);
	border: 1px solid rgba(40,84,114,0.17);
	box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.05);
	border-radius: 3px;
	width: 295px;
	position: fixed;
	left: 20px;
	bottom: 20px;
	padding: 14px;
	z-index: 3;
	display: none;
}
.corner-message a:hover {
	text-decoration: underline;
}
.corner-message.christmas {
	background-position: bottom right;
	background-repeat: no-repeat;
	background-image:url("../images/snowflake-corner.png");
	background-image: -webkit-image-set(url("../images/snowflake-corner.png") 1x,
	                                    url("../images/snowflake-corner@2x.png") 2x);
}
.popup#christmas-hours {
	background-color: #57bbe3;
	border-color: #4DA1C3;
}
.popup#christmas-hours .snowman {
	position: absolute;
	right: 11px;
	bottom: 10px;
	width: 95px;
	height: 95px;
	background-image: url("../images/snowman2.png");
	background-image: -webkit-image-set(url("../images/snowman2.png") 1x,
	                                    url("../images/snowman2@2x.png") 2x);
}
.popup#christmas-hours h2 {
	font-size: 30px;
	font-weight: 600;
	margin-bottom: 20px;
	text-align: center;
	margin-top: 10px;
}
.popup#christmas-hours p.salute {
	text-align: center;
	font-size: 20px;
	margin-top: 35px;
}
.popup#christmas-hours * {
	color: white;
	font-size: 17px;
	font-weight: 500;
}
.popup#christmas-hours p {
	margin: 10px 0;
}
.corner-message p {
	color: #89959C;
	font-size: 16px;
	font-weight: 500;
}
.corner-message a {
	display: block;
	font-weight: 500;
	margin-top: 10px;
	color: #58A3CF;
}


/* FOOTER */
footer {
	background-color: #6d7986;
	min-height: 100px;
	box-shadow: inset 0px 2px 8px rgba(0,0,0,0.3);
	text-align: center;
}
footer ul a {
	text-decoration: none;
}

footer ul.links,
footer ul.social,
footer ul.nav-vertical{
	list-style-type: none;
	text-align: left;
}
footer ul.links,
footer ul.nav-vertical{
	float: left;
}
footer ul.social {
	text-align: right;
	float: right;
}

footer ul.links ul.nav-vertical li.nav-vertical-head
{
    text-transform: uppercase;
	color: white;
	display: block;
	font-size: 20px;
	margin: -3px 20px 20px 20px;
	position: relative;
	padding: 3px 7px;
	border-radius: 3px;
	font-weight: 600;
	cursor: default  ;
}

footer ul.links ul.nav-vertical li.nav-vertical-head:hover {
    background-color: transparent ;
}

footer ul.links ul.nav-vertical li
{
    color: white;
    display: block;
    font-size: 18px;
    margin: 20px 20px 15px 20px;
    position: relative;
    padding: 3px 7px;
    border-radius: 3px;
    cursor: pointer;
}

footer ul.links li,
footer ul.social li {
	vertical-align: top;
	color: white;
	display: inline-block;
	font-size: 20px;
	margin: 20px 0px 60px 0px;
	position: relative;
	padding: 3px 7px;
	border-radius: 3px;
	cursor: pointer;
}
footer ul.nav-vertical li:hover {
	background-color: rgba(255,255,255,0.1);
}

/* Select language */
footer ul.links li[data-lang] {
	padding-left: 50px;
	position: relative;
}
footer ul.links li[data-lang]::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 2px;
	width: 31px;
	height: 23px;
	border-radius: 1px;
}
footer ul.links li[data-lang=sv]::before {
	background-image:url(../images/flags/se.svg)
}
footer ul.links li[data-lang=en]::before {
	background-image:url(../images/flags/gb.svg)
}
footer ul.links li[data-lang=fr]::before {
	background-image:url(../images/flags/fr.svg)
}
footer ul.links li[data-lang=nl]::before {
	background-image:url(../images/flags/nl.svg)
}
footer ul.links li[data-lang=es]::before {
	background-image:url(../images/flags/es.svg)
}
footer ul.links li[data-lang=pl]::before {
	background-image:url(../images/flags/pl.svg)
}
footer ul.links li[data-lang=de]::before {
	background-image:url(../images/flags/de.svg)
}
footer ul.links li[data-lang=hu]::before {
	background-image:url(../images/flags/hu.svg)
}
footer ul.links li[data-lang=it]::before {
	background-image:url(../images/flags/it.svg)
}
footer ul.links > a > li[data-lang]::before {
	box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.1), 0px 1px 1px rgba(0,0,0,0.2);
	top: 3px;
	left: 3px;
	background-size: cover;
    background-position: center center;
}
footer ul a.select-language {
	position: relative;
	font-weight: 600;
	text-transform: uppercase;
	margin-left: 10px;
	margin-right: 10px;
}
footer ul a.select-language ul.languages {
	width: 170px;
	background-color: rgba(255,255,255,0.96);
	position: absolute;
	z-index: 50;
	bottom: 40px;
	left: 5px;
	border-radius: 4px;
	box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.1), 0px 1px 3px rgba(0,0,0,0.2);
	display: none;
	-webkit-animation-duration: 0.3s;
	-moz-animation-duration: 0.3s;
	-ms-animation-duration: 0.3s;
	-o-animation-duration: 0.3s;
	animation-duration: 0.3s;
}
footer ul a.select-language ul.languages::after {
	content: "";
	position: absolute;
	bottom: -8px;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid white;
	left: 50%;
	margin-left: -8px;
}
footer ul a.select-language ul.languages li {
	color: #484848;
	display: block !important;
	margin: 10px 0px;
	border-radius: 0px;
	padding: 8px 6px;
	font-size: 16px;
	padding-left: 50px;
}
footer ul a.select-language ul.languages li::before {
	top: 7px;
	left: 7px;
	box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.14);
	background-size: cover;
    background-position: center center;
}
footer ul a.select-language ul.languages li:hover {
	background-color: rgba(0,0,0,0.04);
}

/* Social */
footer ul.social li {
	font-size: 27px;
}
footer ul.social .icon-facebook,
footer ul.social .icon-twitter {
	display: none;
}
footer ul.social .fb-like {
	background-color: rgb(237, 241, 247);
	border-radius: 3px;
	color: white !important;
	border: 1px solid rgb(94, 117, 143);
	display: inline-block;
	margin-top: 18px;
	padding: 6px;
	margin-left: 16px;
	margin-right: 6px;
}
footer ul.social .twitter-follow-button {
	vertical-align: top;
	margin-top: 22px;
}
footer p {
	text-align: center;
	color: white;
}
footer p.newsletter {
	color: #babfc4;
	font-size: 13px;
	margin: 0px 20px;
}
footer input { /* Newsletter email input */
	border: none !important;
	display: inline-block;
	margin: 10px auto;
	padding: 9px;
	font-size: 15px;
	width: 300px;
	padding-left: 50px;
	/* For icon inside */
	background-size: 28px;
	background-position: 10px center;
	background-repeat: no-repeat;
	background-image: url("../images/icons/mail.svg");
}
footer p.copyright {
	margin-top: 40px;
	font-size: 13px;
}
footer p.legal {
	color: #babfc4;
	font-size: 11px;
	margin: 20px 10px;
}
.hide {
	display: none;
}

/* SMALLER SIZES */
@media all and (max-width: 1200px) {
	footer ul.social .fb-like,
	footer ul.social .twitter-follow-button {
		display: none;
	}
	footer ul.social .icon-facebook,
	footer ul.social .icon-twitter {
		display: block;
		float: right;
	}
}

/* Smaller desktop screens */
@media all and (max-width: 1040px) {
	.page-container {
		width: auto;
		position: relative;
		left: 0;
		right: 0;
	}

	header ul.nav ul.dropdown {
		right: -16px;
		left: auto;
	}
	header ul.nav ul.dropdown::before {
		left: auto;
		right: 21px;
	}
	header ul.nav ul.dropdown::after {
		left: auto;
		right: 23px;
	}
}

@media all and (max-width: 900px) {
	header ul.nav li.current-price {
		opacity: 0;
	}
}


/* Tablets */
@media all and (max-width: 800px) {
	header #logotype {
		left: 50%;
		margin-left: -54px;
	}
	header #logotype.super {
		margin-left: -100px;
	}
	header ul.nav {
		position: fixed;
		left: -80%;
		width: 80%;
		bottom: 0;
		top: -10px;
		background-color: rgba(255,255,255,0.95);
		box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
		-webkit-transition: left 0.2s;
		transition: left 0.2s;
		overflow: scroll;
		margin: 0px !important; /* Fixes stupid Wordpress bug */
	}
	header ul.nav.show {
		left: 0;
	}
	header ul.nav .small-menu.hide {
		display: block;
	}
	header ul.nav li {
		display: block;
		color: #8f999f;
		margin: 40px 20px;
		text-align: center;
	}
	header ul.nav li.current-price {
		opacity: 1;
		margin-top: 34px;
	}
	header ul.nav a li {
		color: #4781c4;
	}
	header ul.nav ul.dropdown li:hover {
		background: none;
	}
	header ul.nav a li.signup {
		padding: 12px 0px;
	}
	header .small-menu {
		display: block;
	}
	header ul.nav .dropdown {
		background: none;
		width: 100%;
		margin: 0;
	}
	header ul.nav ul.dropdown {
		width: 100%;
		margin: 0;
		top: 0;
		left: 0;
		opacity: 1;
		box-shadow: none;
		position: static;
	}
	header ul.nav ul.dropdown::before {
		display: none
	}
	header ul.nav ul.dropdown li {
		text-transform: uppercase;
		font-size: 15px;
		font-weight: 400;
		border-bottom: 0;
		margin-bottom: 40px;
		color: #4781c4;
		font-size: 16px;
	}
	header ul.nav .settings {
		position: static;
		display: block;
	}
	header[data-is-logged-in=true] ul.nav a:not(.small-menu) {
		display: block;
		margin: 14px;
		padding: 11px 18px;
	}
	header ul.nav a.small-menu {
		padding: 0;
	}
	header ul.nav .settings .icon {
		display: none;
	}
	header ul.nav .account h {
		margin-left: 10px;
		position: absolute;
	}
	header ul.nav li.current-price .arrow {
		margin-left: -8px;
		margin-right: 10px;
	}
}

@media all and (max-width: 700px) {
	footer ul.links li {
		display: block;
		float: left;
		clear: left;
		margin-bottom: 30px;
		margin-left: 47px;
	}
	footer ul.links li[data-lang] {
		margin-left: 4px;
	}
	footer ul a.select-language ul.languages {
		bottom: -4px;
		left: -140px;
	}
	footer ul a.select-language ul.languages li {
		width: 100%;
		box-sizing: border-box;
	}
	/* Fix sticky footer */
	.page-wrap {
		margin-bottom: -435px;
	}
	footer {
		height: auto;
		margin-top: 30px;
	}
	.page-wrap:after {
		/* .push must be the same height as footer */
		height: 475px;
	}
}


/* Mobile */
@media all and (max-width: 500px) {
	footer input {
		width: auto;
	}
	footer ul.social {
		position: absolute;
		right: 0;
	}
	footer ul.social li {
		margin: 20px 10px 60px 3px;
	}
	/* Fix sticky footer */
	.page-wrap {
		margin-bottom: -435px;
	}
	footer {
		height: auto;
	}
	.page-wrap:after {
		/* .push must be the same height as footer */
		height: 495px;
	}
	.popup#settings-panel {
		left: 0;
		right: 0;
		margin-left: 0;
		width: auto;
		top: 0;
		bottom: 0;
		margin-top: 0;
		height: -webkit-calc(100% - 34px);
	}
	.popup#settings-panel .button.gray {
		padding-left: 40px;
	}
}

@media all and (min-width: 1200px) {
	.page-container {
		width: 1200px;
	}
}
