/* aniGen (http://anigen.org) is a web-based SVG animation editor under GPLv3 and should be treated as such */

/* body */

@font-face {
	font-family: 'Open Sans';
	font-weight: normal;
	src: url('../_fonts/OpenSans/OpenSans-Regular.ttf');
}

@font-face {
	font-family: 'Open Sans';
	font-weight: bold;
	src: url('../_fonts/OpenSans/OpenSans-Bold.ttf');
}

@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: normal;
	src: url('../_fonts/OpenSans/OpenSans-Italic.ttf');
}

@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: bold;
	src: url('../_fonts/OpenSans/OpenSans-BoldItalic.ttf');
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('../_fonts/MaterialIcons/MaterialIcons-Regular.ttf') format('truetype');
}


*:not(input) {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


@keyframes changed {
	15%		{ background-color: gold; }
}

input.changed {
	animation-name: changed;
	animation-duration: 1s;
}

input.green {
	background-color: #0f0;
	-webkit-transition: background-color 1s;
	transition: background-color 1s;
}

input.red {
	color: #a00;
}


[title]:not(input) {
    cursor: pointer;
}

html {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
	cursor: default;
	height: 100%;
	width: 100%;
    padding: 0;
    margin: 0px;
}

a {
	text-decoration: none;
	color: #008000;
}

a:hover {
	text-decoration: underline;
	color: #00c000;
}




div.progress {
	/*display: inline-block;*/
	min-height: 1.5em;
	vertical-align: middle;
	min-width: 20em;
	
	position: relative;
	
	background-color: lightgray;
	border-radius: 0.75ex;
	
	border: 1px solid gray;
	
	margin-top: 1ex;
	margin-bottom: 1ex;
	overflow: hidden;
	
}

div.progress > div:first-child {
	position: absolute;
	background-color: #008000;
	height: 100%;
	/*
	transition: width 0.25s ease-in-out 0s;
	*/
}

div.progress > div:nth-child(2) {
	position: absolute;
	height: 100%;
	width: 100%;
	text-align: center;
	color: white;
	text-shadow: 0px 0px 3px black;
}

div.progress.indefinite > div:first-child {
	background: #006000;
	
	background: repeating-linear-gradient(
		-45deg,
		#008000,
		#008000 10px,
		#005000 10px,
		#005000 20px
	);
	background-size: 150% 100%;
	
	animation: stripesMove 1s linear infinite;
}

@keyframes stripesMove {
	from { background-position: -28.28px 0; }
	to { background-position: 0 0; }
}

span.slider > * {
	vertical-align: middle;
	display: table-cell;
}

span.slider input:last-child {
	width: 3.5em;
}

img, .floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.anigenText span {
    font-weight: bold;
    color: #008000;
    position: relative;
    font-size: 1.25em;
    top: 0.25ex;
}

img.logo {
    max-height: 128px;
    max-width: 80%;
    text-align: center;
    float: none;
    margin: 0 auto;
    display: block;
    margin: auto;
}


#renderArea {
	position: absolute;
	z-index: -3;
}

#svgArea {
	position: absolute;
	z-index: -2;
}

#rasterArea {
	position: absolute;
	z-index: -4;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
}

#anigenBackground {
	background-color: red;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

p.inline {
	display: inline;
	margin: .5ex;
	vertical-align: middle;
}

h1 {
	line-height: 100%;
}

h1 span {
    margin-left: 0.25ex;
	display: inline-block;
	padding-top: 2px;
/*	vertical-align: text-top;	*/
}

h1 img {
    float: none;
    vertical-align: baseline;
    margin: 0px;
    padding: 0;
}

input[type=file] {
    width: .1px;
    height: .1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

label[for="files"] {
    border-radius: 5px;
    border: 1px solid black;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    padding: 1ex 1em;
    cursor: pointer;
	display: inline-block;
	
	margin: 1em;
}

label[for="files"]:hover, label[for="files"].dragover {
    background-color: #444;
	color: white;
}


.hide {
    display: none;
}


.hidden {
    display: none !important;
}


.guiWindow {
	border-bottom: 1px solid gray;
	margin-bottom: 1ex;
	padding-bottom: .5ex;
}

.guiWindow h1 {
	border-top: 1px solid gray;
    border-bottom: 1px solid gray;
	
    font-size: 1em;
    margin-top: 0px;
    margin-bottom: .5ex;
    padding: .5ex;
    font-weight: normal;
	
	overflow: hidden;
	white-space: nowrap;
}

.guiWindow h1 span {
	display: block;
}


.windowList {
    padding: 0 .5ex;
	display: block;
	overflow-x: auto;
}

.windowList table {
	width: 100%;
    border-collapse: collapse;
	
	border: 1px solid gray;
	text-align: center;
	background-color: white;
}

.windowList table tr {
	width: 100%;
	vertical-align: center;
	border: 0px lightgray solid;
}

.windowList table tr:hover {
    background-color: lightgray;
    color: black;
}

.windowList table tr.selected {
    background-color: gray;
}

.windowList table tr.selected:hover {
	background-color: gray;
}

.windowList table tr th {
	border-bottom: 1px solid gray;
	padding: 3px;
	white-space: nowrap;
}

table.inputs {
	width: 100%;
    border-collapse: collapse;
	text-align: center;
	white-space: nowrap;
}

table.inputs input {
	border: 1px solid darkgray;
	width: 100%;
	background: white;
}

table.inputs select {
	width: 100%;
	background: white;
}

table.inputs input[type=checkbox] {
	width: inherit;
}


/*
.windowList table tr td:first-child, .windowList table tr td:nth-child(2) {
    max-width: 15%;
}
*/

tr.hr {
	background-color: gray;
	height: 1px;
}

tr.hr:hover {
	background-color: gray;
}

tr.hr td {
	padding: 0px;
	
}


td input {
	text-align: center;
	width: 5em;
	border: 1px solid transparent;
	background-color: transparent;
	font-size: inherit;
}

/*
td input {
	cursor: pointer;
}
*/

td input[disabled=true] {
	color: #111;
}

td input:hover {
	background-color: white;
}

input[disabled=disabled] {
	opacity: 0.75;
	-webkit-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input[disabled=disabled]:hover {
	background-color: inherit !important;
}


td select {
	width: 6em;
}

label.checkbox {
	cursor: pointer;
}


#anigenCanvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	background-color: white;
}



.timeline {
	position: absolute;
	width: 100%;
	z-index: 200;
	height: 1px;
	cursor: pointer;
	
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	background-clip: content-box;
}

.timeline:hover {
	background-color: black;
}

.timeline div {
	position: absolute;
}

.timeline .boundary {
	font-size: 75%;
	transform: translate(0, -100%);
	cursor: pointer;
	color: gray;
}

.timeline .boundary:hover {
	font-weight: bold;
	color: black;
	
}

.timeline .left {
	left: 0.5ex;
}

.timeline .right {
	right: 0.5ex;
}

.timeline .slider {
	position: relative;
	bottom: 5px;
	cursor: pointer;
	width: 9px;
	height: 9px;
	background-color: white;
	border: 1.5px solid #555;
	border-radius: 50%;
	
	transform: translate(-50%, 0);
}

.timeline .slider:hover {
	background-color: #ffd700;
	border-color: #333;
}



.menu {
	overflow: hidden !important;
}



