body {
	background: #CCC no-repeat center center fixed;
	background-image: url(img/bg_lighttrip.png);
	background-size: cover;
}
p {
	margin: 0;
	padding: 0;
}

/*HEARTH + COMMON*/
.stoneplate {
	padding: 5px 10px 10px 0;
}
#hearth {
	width: 768px;
	height: 420px;
	min-width: 200px;
	min-height: 300px;
	max-width: 100%;
	/*box-shadow: -5px 3px 7px #999999;*/
	resize: both;
	overflow: hidden;
	position: relative;
}
.resize{
	cursor: se-resize;
}
.focus {
	width: 100%;
}
.alteration{
	width: inherit;
	max-width: calc(99% - 18px);
	position: absolute;
	cursor: initial;
}
.discussion{
	padding: 2px 0 0 7px;
	margin: 2px 0 0 0;
	position: relative;
	z-index: 2;
	
	/*width: calc(100% - 10px);*/
	height: 23px;
	background: #CCC;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-left-style: solid;
	border-left-width: 1px;
	border-top-style: solid;
	border-top-width: 1px;
	border-color: #222222;
}
.essence {
	margin: 2px 0 0 0;
	padding: 0;
	box-sizing: border-box;
	
	background: #111;
	border: 1px solid #222222;
	
	position: relative;
	height: calc(100% - 44px);
	width: calc(100% - 10px);
	max-width: inherit;
	overflow: scroll;
	overflow-x: hidden;
	
	cursor: initial;
}
/*
#icon {
	position: absolute;
	width: 10px;
	height: 10px;
	left: 765px;
	bottom: 90px;
	/*background-image: url(icon_resize.gif);*/
	/*cursor: nw-resize;
}*/
.essence > div:first-of-type {
	padding-top: 26px;
}
.essence > div:last-of-type{
	padding-bottom: 24px;
}
.advice {
	max-width: 680px;
	color: #EEE;
}
.advice > h3, .advice > h4 {
	margin-left: 40px;
}
.advice > h4:first-of-type{
	margin-top: 50px;
}
.advice > p {
	padding: 5px;
	font-size: 18px;
	margin-top: 10px;
}
.advice > ul li {
	padding: 1px 0 8px;
}
.moment {
 color: #CECECE;
}
.parole {
	color: #F2F2F2;
}
.vinculum {
	text-decoration: none;
	color: #FCFCFC;
}
.vinculum:hover{
	text-decoration: underline;
	color: green;
}
.ensual {
	color: #AEA4A1;
}
.syntax {
	border: 1px solid;
	border-radius: 3px;
	border-color: #999;
	background: #CCC;
	color: #222;
	font-size: 16px;
	padding: 0 4px 2px;
	margin: 4px;
	width: 65%;
}
#ruler {
	top: -22px;
	position: relative;
}
.doortab {
	width: calc(100% - 28px);
	background: #222;
	cursor:default;
	border-top: 1px solid #888;
}
.doortab > .active {
	color: #DDD;/*#F8FF30;*/ /*#FABD14;*/
	background: #455;
}
.doortab > input:first-of-type{
	margin-left: 0;
	border-left: 1px solid #999;
}
.door {
	margin-left: -4px;
	max-width: 60px;
	
	border: 1px solid #AAA;
	border-left: none;
	border-bottom: none;	
	
	background: #343;
	color: #888;
	cursor: pointer;
	
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.rule {
	width: calc(100% - 60px);
	background: #111;
	color: #EEEEEE;
	border-left: none;
	margin-left: -4px;
	height: 18px;
}
.execute {
	display: none;
}
.nicksay {
	margin: 0;
}
.epithet {
	cursor: initial;
    background: #111;
    border: solid 2px #999;
    border-bottom: 2px solid #FFE;
    position: relative;
    top: 1px;
    border-right: none;
	padding-right: 5px;
	padding-left: 3px;
	padding-bottom: 2px;
	padding-top: 1px;
}
.flexile {
	display: none; /*flex*/
	justify-content: center;
	align-items: center;
	width: inherit;
	height: inherit;
	z-index: 3;
	background: rgba(162, 162, 162, .2);
	cursor: initial;
	position: absolute;
}
.cog {
	margin: 50px;
	height: 28px;
	width: 28px;
	animation: rotate 0.8s infinite linear;
	border: 8px solid #E2E2E2;
	opacity: 0.7;
	border-right-color: transparent;
	border-radius: 50%;
}
.cross {
	display: none;
	width: 40px;
	height: 40px;
	background: linear-gradient(to bottom, 
								transparent 35%,
								#E2E2E2 50%, 
								#E2E2E2 40%,
								transparent 65%), 
				linear-gradient(to right, 
								transparent 35%, 
								#E2E2E2 50%,
								#E2E2E2 40%, 
								transparent 65%);
	transform: rotate(45deg);
}
@keyframes rotate {
  0%    { transform: rotate(0deg); }
  100%  { transform: rotate(360deg); }
}
.daychange{
	padding-left: 5px;
	background: #BBB;
}
.error {
	color: tomato;
}
.top-spacing {
	padding-top: 15px;
}
input:focus{
    outline: none;
}

/*REGISTER*/
.form-flexile {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 100vh;
	width: 80vw;
}
.form-box{
	border: 1px solid #AAA;
	border-radius: 4px;
	padding: 20px;
	background: #222;
}
fieldset {
	border: none;
}
fieldset > legend {
	padding-bottom: 15px;
	padding-top: 10px;
	margin-left: 35%;
	color: #CCC;
}
.record {
	display: flex;
	align-items: flex-start;
	color: #CCC;
	padding: 2px;
}
.record > label {
	padding: 0 5px 10px 5px;
	flex-grow: 1;
}
.record > input {
	background: #EEE;
	color: #222;
}
/*.colorlabel {
	color: inherit;
	text-decoration: underline;
}*/
.colorinput {
	width: calc(100% - 106px);
}
.apostrophe {
	cursor: default;
	color: #FCFCFC;
}
.hextint {
    padding: 0 2px 0;
    background: #EEE;
    color: #222;
	border: double 2px #999;
    border-right: none;
	border-bottom: 1px solid #FFE;
}
.action {
	padding: 10px;
	border-radius: 3px;
	margin-top: 10px;
	margin-right: 15px;
	float: right;
	background: #222;
	color: #EEE;
	border-color: #CCC;
	border-width: 1px;
	cursor: pointer;
}
.action:hover {
	background: oldlace;
	color: #222;
}
.homewards {
	background: #222;
	border: 1px solid #CCC;
	padding: 2px;
	border-radius: 2px;
	font-size: 14px;
	border-top: none;
}

/* FIREFOX specific styles*/
@-moz-document url-prefix() {
	.colorinput {
		width: calc(100% - 120px);
	}
}