body {
	font-size:1.3em;
	margin:0;
}
.header {
	background-color:#b31b1b;
	display:flex;
}
.header div {
	padding:10px;
}
.header img {
	width:70px;
}
.header span {
	font-size:1.6em;
	color:white;
}
.header a {
	text-decoration:none;
	color:yellow;
}
.error {
	color:red;
	background-color:#e0e0e0;
}
.box {
	border:10px;
	margin: 0 auto;
	background:#eee;
	border:3px solid green;
	padding:20px;
	width:calc(50% - 46px);
	float:left;
}
.widebox {
	border:10px;
	margin: 0 auto;
	background:#eee;
	border:3px solid green;
	padding:20px;
	width:calc(100% - 46px);
	float:left;
}
.partbox {
	border:10px;
	margin: 0 auto;
	background:#eee;
	border:3px solid green;
	padding:20px;
	width:calc(100% - 446px);
	float:left;
	display:none;
}
.tab {
	width:calc(50% - 20px);
	border:1px solid black;
	display:inline-block;
}
.tabopen {
	width:calc(50% - 20px);
	border:1px solid black;
	display:inline-block;
	border-bottom:0;
}
.folderfile {
	cursor:pointer;
}
.folderfile::hover {
	border:1px dahsed gray;
}
.ffselected {
	background-color:cyan;
}
.preview {
    width:210%;
    height:800px;
    overflow: hidden;
    position: relative;
    -ms-zoom: 0.47;
    -moz-transform: scale(0.47);
    -moz-transform-origin: 0px 0;
    -o-transform: scale(0.47);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(0.47);
    -webkit-transform-origin: 0 0;
}
.btnyellow {
	background:#ffb679;
	margin:20px;
	cursor:pointer;
	padding:8px;
	border-radius:5px;
}
.btnblue {
	background:cyan;
	margin:20px;
	cursor:pointer;
	padding:8px;
	border-radius:5px;
}
.btngreen {
	background:lime;
	margin:20px;
	cursor:pointer;
	padding:8px;
	border-radius:5px;
}
.btngrey {
	background:#ccc;
	margin:20px;
	cursor:pointer;
	padding:8px;
	border-radius:5px;
}
.btnred {
	background:red;
	margin:20px;
	cursor:pointer;
	padding:8px;
	border-radius:5px;
}
.imagepreview img {
	max-width:200px;
	max-height:200px;
	margin-right:20px;
}

.menu {
	background-color:#e00000;
}
.menu a {
	color:#ccf;
}
table {
	font-size:1em;
}
table, th, td {
  border: 1px solid black;
}
table tr td img {
	max-width:60px;
	max-height:60px;
}
table tr td span {
	display:none;
}
table tr td span textarea {
	width:500px;
}

#previews img {
	max-height:100px;
}

.addform {
	margin-top:20px;
	display:none;
	margin: 0 auto;
	background:#eee;
	border:3px solid green;
	padding:20px;
}
.leftform {
	margin-top:20px;
	display:none;
	background:#eee;
	border:3px solid green;
	padding:10px;
	width:300px;
	float:left;
}

.imgpreview {
	max-height:100px;	
	max-width:120px;
}

.sections table tr td {
	min-width:20px;
	height:20px;
}
.fixedtop {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index:1;
	background-color:#ddd;
}
.fixedleft {
	position:fixed;
	top:110px;
	left:0;
	bottom:0;
	max-width:200px;
	background-color:#ddd;
	overflow:auto;
	padding-top:20px;
}
.sections {
	margin-top:150px;
	margin-left:210px;
}

.outer {
    margin-left: 1%;
    margin-bottom: 1%;
	box-shadow: 0 0 10px rgba(0,0,0,.15), 0 3px 3px rgba(0,0,0,.15);
	padding: 16px;
	overflow:hidden;
}
.placeholder {
	position:relative;	
}
.overlap {
	overflow: hidden;
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;	
}

.content h4 {
	color: #820000;
	text-transform: uppercase;
	font-weight: 600;
    font-size: 0.7em;
    line-height: 1.2;
	margin:0;
}
.content h5 {
	font-size: 0.8em;
	font-family: Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-weight: 700;
	margin:0;
	margin-top:8px;
}
.mpreview {
	 border:1px solid black;
}
.dpreview {
	 border:1px solid black;
}
.dpreview .outer {
	float:left;
}
.dpreview .sizesm {
	width: 19%;
	height:40vh;
}
.dpreview .sizemd {
	width: 27%;
	height:40vh;
}
.dpreview .sizelg {
	width: 44%;
	height:40vh;
}
.dpreview .sizelo {
	width: 44%;
	height:40vh;
}
.dpreview .sizeti {
	width: 94%;
	height:40vh;
}
.dpreview .sizetp {
	width: 94%;
	height:40vh;
}
.dpreview .sizels {
	width: 44%;
	height:40vh;
}
.dpreview .content {
	height:20vh;
	overflow:hidden;
}
.sizetp .placeholder {
	display:none;
}
.mpreview .outer {
	margin:16px;
	width:calc(88% - 32px);	
}
.mpreview .sizesm .placeholder {
	display:none;
}
.sizels .placeholder {
	display:none;
}
.sizels h4 {
	color:#0080b8;
}
.dpreview .sizels .content {
	height:auto;
}
#active {
	clear:both;
}
.dpreview .sizetp h4 {
	text-align:center;
	font-size:2em;
	text-transform:capitalize;
}
.dpreview .sizetp h5 {
	text-align:center;
	font-size:1.5em;
}
.mpreview .sizetp h4 {
	text-align:center;
	font-size:1.5em;
	text-transform:capitalize;
}
.mpreview .sizetp h5 {
	text-align:center;
	font-size:1.3em;
}
.overlap h4 {
	display:none;	
}
.overlap h5 {
	display:none;
}
.sizelo .content h4,
.sizelo .content h5 {
	display:none;
}
.sizelo .overlap h4 {
	position:absolute;
	top:-20px;
	display:block;
	text-align:center;
	font-size:1.5em;
	width:100%;
	color:white;
	text-shadow:0 0 5px black;	
}
.sizelo .overlap h5 {
	position:absolute;
	top:50px;
	display:block;
	text-align:center;
	font-size:1.2em;
	width:100%;
	color:white;
	text-shadow:0 0 5px black;
}
.sizeti h4 {
	position:absolute;
	top:0;
	margin:10px;
	display:block;
	text-align:center;
	text-transform:capitalize;
	text-shadow:0 0 5px white;
}
.dpreview .sizeti h4 {
	font-size:2em;
	width:100%;
}
.mpreview .sizeti h4 {
	font-size:1.5em;
	width:90%;
}
.sizeti h5 {
	position:absolute;
	top:50px;
	display:block;
	text-align:center;
	font-size:1.5em;
	width:100%;
	text-shadow:0 0 5px white;
}
.sizeti .content {
	display:none;
}
.rightdiv {
	margin-top:20px;
	display:none;
	background:#fff;
	border:3px solid green;
	padding:20px;
	width:calc(100% - 400px);
	float:right;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  display:inherit;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}