/* FONTS */
@font-face {
	font-family: 'Forsaken';
	src: url('/fonts/Forsaken.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Serenity';
	src: url('/fonts/Serenity.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: "BebasNeueThin";
	src: url('/fonts/BebasNeueThin.ttf') format("truetype");
}
@font-face {
	font-family: "BebasNeueBook";
	src: url('/fonts/BebasNeueBook.ttf') format("truetype");
}
@font-face {
	font-family: "BebasNeueLight";
	src: url('/fonts/BebasNeueLight.ttf') format("truetype");	
}
@font-face {
	font-family: "BebasNeueBold";
	src: url('/fonts/BebasNeueBold.ttf') format("truetype");
}
@font-face {
	font-family: "BebasNeueRegular";
	src: url('/fonts/BebasNeueRegular.ttf') format("truetype");
}
@font-face {
	font-family: "Titillium";
	src: url("/fonts/titillium/Titillium-Regular.otf") format("opentype");
}
@font-face {
	font-family: 'LiquidCrystal';
	src: url('/fonts/LiquidCrystal/liquidcr.ttf') format('truetype'),
		 url('/fonts/LiquidCrystal/liquidcr.woff') format('woff'),
		 url('/fonts/LiquidCrystal/liquidcr.svg#LiquidCrystal') format('svg'),
		 url('/fonts/LiquidCrystal/liquidcr.eot');
}
/* End FONTS */

.hidden {
	display: none;
}
.number {
	font-size: 16pt;
	font-family: LiquidCrystal, monospace;
	/*color: #D3D;*/
	/*text-shadow: 0 2px 2px #727;*/
}
.bold {
	font-weight: bold;
}
#content a, #content a:visited {
	color: inherit;
	text-decoration: inherit;
	font-style: inherit;
}
a, a:visited {
	color: inherit;
	text-decoration: none;
}
a:hover {
	color: inherit;
}
.link, .truelink {
	transition: color 0.5s;
	text-decoration: underline;
	color: #2DD;
	cursor: pointer;
}
.link:hover,
.link:active,
.truelink:hover,
.truelink:active {
	transition: color 0.5s;
	color: #4FF;
}

body {
	background-color: #333;
	background: url('/src/img/bg.jpg') no-repeat fixed;
	background-size: cover;
	color: #eee;
	font-family: Titillium, monospace;
	text-align: center;
	margin: 0;
	padding: 0;
}
#title, #header {
	text-align: center;
	margin: 0 auto;
}
#title > p:nth-child(1),
#header p:nth-child(1) {
	font-family: Forsaken;
	font-size: 48pt;
	margin: 0.2em auto;
}
#title > p:nth-child(2),
#header p:nth-child(2) {
	font-family: Serenity;
	font-size: 16pt;
	margin: 0.5em auto;
}

#intro {
	max-width: 600px;
	margin: 0 auto;
}

.mainPrj {
	transition: opacity 0.7s;
	width: 100%;
	padding: 10px 0;
	opacity: 0.8;
}
.mainPrj:nth-child(odd) .text > div {
	margin-left: 0;
}
.mainPrj:nth-child(even) .text > div {
	margin-right: 0;
}
.mainPrj:hover {
	transition: opacity 0.7s;
	opacity: 1;
}

.container {
	max-width: 1200px;
	width: 80%;
	height: 170px;
	max-height: 170px;
	margin: 0 auto;
	position: relative;
	display: table;
}
.container > div {
	display: table-cell;
}
.mainPrj h1 {
	font-family: BebasNeueRegular;
	margin: 0;
}
.pic {
	vertical-align: middle;
	width: 250px;
}
.pic > div {
	background: rgba(255, 255, 0, 0.2);
	height: 150px;
	max-height: 150px;
	width: 250px;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 0 4px 6px #000;
	margin-left: 0;
}
.pic img {
	display: block;
	position: relative;
	right: 50px;
}
.text {
	padding: 10px 20px;
	/*max-height: 150px;*/
}
.text > div {
	/*position: absolute;*/
	/*display: inline-block;*/
	text-align: left;
	max-width: 600px;
	text-align: justify;
	/*max-height: 160px;*/
	overflow: auto;
	margin: auto;
}
#x1 {
	background-color: #614;
}
#x2 {
	background-color: #636;
}
#x3 {
	background-color: #436;
}
#x4 {
	background-color: #634;
}
#x1 .pic img {
	max-height: 100%;
	right: 0px;
}
#x4 .pic img {
	right: 0;
	max-width: 100%;
	max-height: 100%;
}

progress {
	border-radius: 4px;
}
progress[value] {
	-webkit-appearance: none;
	appearance: none;
}
progress[value]::-webkit-progress-bar {
	border-radius: 4px;
  }
progress[value]::-webkit-progress-bar {
	background-color: #eee;
	border-radius: 5px;
	box-shadow: 0 2px 5px #0004 inset;
}
progress[value]::-webkit-progress-value {
	background-image: 
		-webkit-linear-gradient(top, 
			rgba(255, 255, 255, .25), 
			rgba(0, 0, 0, .25)
		),
		-webkit-linear-gradient(left, 
			#615, #A19
		);
	border-radius: 4px;
	background-size: 35px 20px, 100% 100%, 100% 100%;
}
progress[value]::-moz-progress-bar {
	background-image:
		-moz-linear-gradient(top,
			rgba(255, 255, 255, .25),
			rgba(0, 0, 0, .25)
		),
		-moz-linear-gradient(left,
			#615, #A19
		);
}

/* ICON BAR */
#iconBar {
	position: fixed;
	top: 0;
	left: 0;
	height: 150px;
	width: 30%;
	text-align: left;
}
.icon {
	display: inline-block;
	width: calc(20% - 10px);
	height: calc(100% - 10px);
	margin: 5px;
	background-color: #62C8;
	border-radius: 100%;
	background-position: center;
	background-origin: content-box;
	background-repeat: no-repeat;
	z-index: 5;
	cursor: pointer;
}
.icon.selected {
	border-radius: 100% 100% 0 0;
}
#intermediaries {
	width: 30%;
	position: fixed;
	top: 0;
	left: 0;
	padding: 0;
	z-index: 10;
	text-align: left;
}
.intermediary {
	display: inline-block;
	opacity: 0;
	vertical-align: top;
	margin: 0 5px;
	width: calc(20% - 10px);
	height: 5px;
	/*display: none;*/
}
.intermediary.selected {
	opacity: 1;
}

#magicBox {
	position: fixed;
	padding: 10px;
	left: 0;
	width: 30%;
	/*height: 100px;*/
	border-radius: 7px 10px 10px 10px;
	text-shadow: #000C 0px 2px 2px;
}
#magicBox .h1,
#magicBox .h2 {
	text-align: center;
	text-shadow: #000C 1px 3px 1px, #000C -1px 3px 1px;
}
#magicBox .h1 {
	font-size: 27pt;
}
#magicBox .h2 {
	font-size: 20pt;
}
#magicBox > * {
	display: inline-block;
	/*z-index: ;*/
}
#magicBox, .intermediary, .icon.selected {
	background-color: #34DC;
}
/* End ICON BAR */

/* BANK & RATE */
#rate, #bank {
	font-size: 24pt;
}
#rate .number,
#bank .number,
#saveupGoal .number {
	font-size: 20pt;
}
#bankAmountCtnr {
	cursor: default;
}
#bankCtrl {
	position: absolute;
	right: 20px;
	top: 20px;
	text-align: right;
}
#bankCtrl button {
	padding: 6px 12px;
	min-height: 0;
	min-width: 0;
}
#saveupGoal > div > div {
	display: inline-block;
	margin: 0 10px;
}
#goalInput {
	text-align: right;
}
#goalProgress {
	height: 16px;
	width: 160px;
	vertical-align: initial;
}
#goalPercent:not(.number) {
	font-size: 24pt;
}
#countdown {
	margin-top: 10px;
}
.bankDetails {
	color: #eee;
}
.bankDetails > div {
	padding: 10px;
	margin: 5px auto;
	border-radius: 15px !important;
	text-shadow: #000A 1px 2px 1px, #000A -1px 2px 1px;
}
.accName {
	font-size: 12px;
	font-family: Consolas, monospace;
}
.tooltip {
	opacity: 0.95 !important;
}
.tooltip .green {
	background-color: #080;
}
.tooltip .red {
	color: #800;
}
.tooltip-inner {
	border-radius: 12px !important;
}
/* End BANK & RATE */

/* MUSIC */
#musicCtrl > div {
	display: inline-block;
}
#musicCtrl span {
	transition: 0.5s;
	padding: 10px;
	margin: 2px;
	display: inline-block;
	background-color: #618;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 32px 32px;
	/*width: calc((100% / 12) * 2 - 3px);
	height: calc((100% / 12) * 2 - 3px);*/
	width: 32px;
	height: 32px;
	vertical-align: middle;
	border-radius: 10px;
	cursor: pointer;
}
#musicCtrl span:hover {
	transition: 0.5s;
	background-color: #728;
}
#music progress.amplitude-song-played-progress {
	display: inline-block;
	margin: 0 10px;
}
#musicCtrl span.amplitude-playing {
	background-color: #A29;
	transition: background-color 0.5s;
	background-image: url("/src/img/pause.png");
}
#songTitleCtnr {
	font-size: 13pt;
	margin: 10px auto 0;
}
#playlistSelect {
	border-radius: 4px;
	padding: 4px 8px;
	background-color: #333;
	font-family: Consolas, monospace;
	font-size: 12pt;
	color: #eee;
}
#playlistSelect option {
	background-color: #333;
	color: #eee;
}
#playlistSelect:focus {
	outline: none;
	border-color: #92C;
}
#playlistSelect.default,
#playlistSelect option.default {
	font-weight: bold;
	font-style: italic;
	color: #B9F;
}
#playlistSelect.default option:not(.default) {
	font-style: normal;
}
.amplitude-current-time,
.amplitude-duration-time {
	font-size: 16pt;
	font-family: LiquidCrystal, monospace;
}
.amplitude-paused {
	background-image: url("/src/img/play.png");
}
.amplitude-next {
	background-image: url("/src/img/next.png");
}
.amplitude-prev {
	background-image: url("/src/img/next.png");
	transform: scaleX(-1);
}
#musicCtrl span.amplitude-muted {
	background-color: #A29;
	transition: background-color 0.5s;
	background-image: url("/src/img/mute.png");
}
.amplitude-not-muted {
	transition: background-color 0.5s;
	background-image: url("/src/img/volume.png")
}
.amplitude-volume-slider {
	width: calc((100% / 12) * 4 - 2px);
	margin: 2px;
}
.amplitude-shuffle {
	transition: background-color 0.5s;
	background-image: url("/src/img/random.png")	
}
#musicCtrl span.amplitude-shuffle-on {
	transition: background-color 0.5s;
	background-color: #A29;
}
/* End MUSIC */

/* QUICK ACCESS */
#quickAccess > div {
	display: inline-block;
	width: calc(50% - 20px);
	margin: 0 5px;
	vertical-align: top;
}
button {
	transition: background-color 0.5s;
	font-family: Consolas, monospace;
	border-radius: 7px;
	border: none;
	padding: 3px 8px;
	cursor: pointer;
	background: linear-gradient( to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0) ) #519;
	box-shadow: 0 2px #315;
	margin: 5px 0;
	min-height: 38px;
	min-width: 100px;
	color: #eee;
}
button:hover, 
button:focus {
	transition: background-color 0.5s;
    background-color: #62A;
    box-shadow: 0 2px #416;
    outline: 0;
}
button:active {
	transition: none;
	box-shadow: none;
	top: 2px !important;
	position: relative;
	background-color: #317;
	box-shadow: none;
}
/* End QUICK ACCESS */

/* CONFIG */
#configHead {
	width: 100%;
}
#configHead > span {
	display: inline-block;
}
#ip {
	/*width: 80%;*/
	padding-right: 25px;
}
#configHead2 > span {
	vertical-align: middle;
}
/* End CONFIG */

/* CLOCK */
#clock {
	transition: opacity 0.5s;
	position: fixed;
	top: 0;
	right: 0;
	/*background-color: #00F8;*/
	height: 150px;
	width: 30%;
	font-family: LiquidCrystal, monospace;
	font-size: 120px;
	padding: 5px;
	text-align: left;
	overflow: hidden;
	color: #eee;
	opacity: 0.5;
}
#clock:hover {
	transition: opacity 0.5s;
	opacity: 1;
}
#clock .colon,
#meridiem {
	font-family: Consolas, monospace;
	font-size: 40px;
}
#meridiem {
	margin: 0 10px;
}
#clock .colon {
	vertical-align: middle;
}
#clock > div {
	transform-origin: top right;
	position: absolute;
}
#clock > div:first-child {
	text-align: right;
}
.invisible {
	color: transparent;
}
#modeSwitch {
	right: 5px;
	width: 60px;
	height: 100px;
	border-radius: 8px;
	border-width: 1px;
	border-style: solid;
	border-color: #B4B;
	font-size: 25px;
	font-family: monospace;
	text-align: center;
	background-color: #525;
	box-shadow: 0 4px 0 0 #838;
	cursor: pointer;
}
#modeSwitch .bg {
	height: 50%;
}
#modeSwitch .bg span {
	line-height: 200%;
	vertical-align: middle;
}
#modeButton {
	transition: top 0.5s;
	position: absolute;
	top: 5px;
	left: 5px;
	height: calc(50% - 10px);
	width: calc(100% - 10px);
	/*border: 1px solid green;*/
	border-radius: 8px;
	z-index: 10;
	background-color: #B4B;
	box-shadow: 0 3px 0 0 #838;
}
#modeButton.m12 {
	transition: top 0.5s;
	top: calc(50% + 5px);
}
/* End CLOCK */

/* LANG SWITCH */
#langSwitchCtnr {
	position: fixed;
	top: 0px;
	right: 0px;
	padding: 25px 20px;
	height: 60px;
	width: 80px;
}
#langSwitch {
	height: 100%;
	width: 100%;
	color: #eee;
}
#langSwitch, #langSwitch * {
	background-color: transparent;
	border: none;
	font-family: Consolas, monospace;
	text-shadow: #000 1px 1px 1px, #000 -1px -1px 1px, #000 1px -1px 1px, #000 -1px 1px 1px;
}
#langSwitch:active, #langSwitch:focus {
	outline: 0;
}
#langSwitchCtnr * {
	background-size: 100% 100%;
}
#langSwitchCtnr .FR {
	background-image: url("/src/img/FR.png");
}
#langSwitchCtnr .EN {
	background-image: url("/src/img/EN.png");
}
#langSwitch option {
	color: #333;
}
/* End LANG SWITCH */

/* BACK */
#back {
	transition-property: background-color, box-shadow;
	transition-duration: 0.5s;
	border-radius: 10px;
	background: linear-gradient(
		to right,
		rgba(255,255,255,0.05) 0%,
		rgba(255,255,255,0.15) 20%,
		rgba(255,255,255,0.20) 50%,
		rgba(255,255,255,0.15) 80%,
		rgba(255,255,255,0.05) 100%
	) #A00;
	padding: 5px;
	font-size: 16pt;
	width: 600px;
	margin: 10px auto 30px;
	box-shadow: 0 4px #700;
}
#back:hover {
	transition-property: background-color, box-shadow;
	transition-duration: 0.5s;
	background-color: #B22;
	box-shadow: 0 4px #822;
}
#back:hover:active,
#back:active {
	transition: none;
	box-shadow: none;
	position: relative;
	top: 4px;
}
/* End BACK */

/* ABOUT */
/*#about > div:not(:last-child) {
	border-style: solid;
	border-image-source: linear-gradient(to right,
		#eee0 0%,
		#eee0 30%,
		#eeef 40%,
		#eeef 60%,
		#eee0 70%,
		#eee0 100%
	);
	border-image-slice: 1;
	border-image-width: 0 0 1px 0;
}*/
#about > div {
	max-width: 1000px;
	width: 60%;
	margin: 0 auto;
	padding: 10px;
}
#about .intro {
	font-style: italic;
}
#about .h1 {
	transition: color 0.5s;
	font-weight: bold;
	font-size: 32pt;
	color: #B6C;
	text-shadow: 0 2px 4px black;
	cursor: pointer;
}
#about .h1:hover {
	transition: color 0.5s;
	color: #D9E;
}
#about > div:not(:first-child) {
	font-size: 16pt;
}
/* End ABOUT */

/* FOOTER */
#footer {
	font-size: 9pt;
	font-family: Consolas, monospace;
	margin: 10px auto;
}
/* End FOOTER */

/* ADMIN FORM */
.adminForm {
	background-color: #111;
	opacity: 1;
	font-family: Consolas, monospace;
	padding: 10px;
	border-radius: 8px;
	box-shadow: #0008 0px 2px 2px 2px;
}
.adminForm > div {
	margin: 10px;
}
.adminForm > div:first-child {
	font-size: 16pt;
}
.adminForm input, .adminForm textarea, 
.adminForm input:focus, .adminForm textarea:focus,
.adminForm input:active, .adminForm textarea:active {
	background-color: #818;
	outline: 0;
}
.adminForm input, .adminForm textarea {
	color: #ece;
	background-color: #606;
	border: none;
	border-radius: 10px;
	font-family: Consolas, monospace;
}
.adminForm .status {
	border-radius: 10px;
}
/* End ADMIN FORM */
