/* MENU */
div.menuicon {
	display:none;
}
ul.menumain {
	margin: 0 auto;
    padding: 0 5px;
    ddisplay: flex;
    mmax-width: 1650px;
    list-style: none;
    mmax-height: 33px;
    height: 33px;
    white-space: nowrap;
    overflow-y: hidden;
	overflow-x: auto;
    font-family: 'Montserrat Alternates', sans-serif;
}

ul.menumain li a { 
	display: block;
    color: var(--main-menu);
    margin: 0;
    padding: 7px 24px;
    text-align: center;
    font-size: 1em;
    font-weight: 800;
	text-decoration: none;
}
a.active , a.over { background: var(--main-menu-bg-over) !important; color: #fff !important; }
ul.child li:hover a { background: var(--child-menu-bg-over) !important; color: #fff !important; }

ul.menumain li.parent {
	display: table-cell;
    margin: 0;
    white-space: nowrap;
    width: fit-content;
    float: left;
}

ul.menumain li.right {
	float: right !important;
}

/* Submenu */
ul.child {
	display: none;
    margin: 0;
    padding: 0;
    min-width: 250px;
    position: absolute;
    background: #fff;
    border: 1px solid #999;
    box-shadow: 3px 3px 10px #777;
    z-index: 100;
	list-style: none;
}

ul.child.withimages li {
	padding: 0 0 0 35px;
	wwidth: 312px; 
	hheight: 20px;
	background-repeat: no-repeat;
	background-size: 25px 25px;
    background-position: 5px center;
    border-bottom: 1px dashed #eee;
}

ul.child li a {
	display: block;
    color: var(--child-menu);
    margin: 0;
    padding: 5px 10px;
    text-align: left;
    font-size: 1em;
    font-weight: 500 !important;
}
ul.child li.delimiter {
	ddisplay: block;
	border-bottom: 1px solid #777;
}



/* FORMS */
div.Forms {
	margin: 0px auto;
	padding: 0;
	background: #fff;
	width: fit-content;
	width: -moz-fit-content;
	hheight: calc(100vh - 124px);
}
table {
	border-spacing: 0;
    border-collapse: collapse;
}
table th { margin:0 0 5px 0; padding:4px 10px; width: auto; color: #fff; background: var(--headers-bg); font-size: 20px; }
table td { margin:0; padding:5px; }
table .center { text-align: center; }
span.error {
	display: block;
	color: #900;
	font-weight: bold;
	margin-left: 15px;
}

.inputbox {
	display: block;
    margin: 5px 15px 0 15px;
    padding: 4px 5px;
    background-color: #fff;
    border: none;
    border-bottom: 1px solid var(--input-bg);
    font-size: 15px;
}
.inputbox:active { border-bottom: 2px solid var(--input-bg); }

div.auth_reg {
	margin:0 auto;width: fit-content; width: -moz-fit-content;
}

div.auth_reg a { color: var(--dark); }

/* CHAT */
#message {
	height: 26px;
    overflow: hidden;
	resize: none;
	outline:none;
	border: none;
}
#message:focus { background: none; }

#about_user { display: none; }
	
.question, .answer { 
	border: 1px solid #eee; 
	width: fit-content;
	max-width: 70vw;
	white-space: pre-line;
	border-radius: 10px;
	margin-bottom: 5px;
	position: relative;
	display: flex;
	padding: 4px;
	padding-right: 32px;
	min-height: 33px;
}
.question { background: #fafafa; } 
.answer   { background: var(--lighter); color: #fff; margin-left: 50px; }

span.time { 
	font-size: 10px; 
	display: flex; 
	position: absolute; 
	right: 4px; 
	bottom: 3px; 
}
span.date { 
	font-size: 12px;
	color: #aaa;
	display: block; 
	max-width: 70vw;
	text-align: center;
	font-weight: bold;
}
span.edit {
	display: block;
	width: 13px;
	height: 13px;
	background-image: url('/images/templates/edit_icon.gif');
}
span.del {
	display: none; 
	position: absolute; 
	right: 2px; 
	top: 2px; 
	width: 13px;
	height: 13px;
	background-image: url('/images/templates/delete_icon.gif');
}
.question:hover span.del { display: flex; }

#chat { position: relative; bottom: 0; left: 0; border: none; border-top: 1px solid #999; }

.Chat #container { 
	height: calc(100vh - 124px - 31px - 10px); 
	height: calc((var(--vh, 1vh) * 100) - 124px - 31px - 10px);
	overflow-y: scroll; 
	scrollbar-width: thin; 
	box-shadow: 0 0 10px #eee;
	padding: 5px;
}
.Chat #container::-webkit-scrollbar {
    width: 2px;
}

.chat-item a { text-decoration: none;  width: 100%; display: block;}
.chat-item:hover a { background: #303952; color: #fff; cursor: pointer; }


/* ADVERTASES */
div.Forms { width: 100%; position: relative; }
div.Forms span.title { 
	margin: 0 0 5px 0;
    padding: 4px 10px;
    width: auto;
    color: #fff;
    background: #596275;
    font-size: 20px;
	text-align: center;
} 
.line {	display: flex; flex-direction: row; align-items: center; margin: 10px 0;}
.col { display: flex; flex-direction: column; }
label { width: 20%; min-width: 120px; }
.line label { margin: 0 10px; }


#product_name {
	hheight: 26px;
    overflow: hidden;
	resize: none;
	outline:none;
	min-width: 60vw;
}
#description { min-width: 60vw; }
#posted {
	display: none;
    background: #060;
    color: #fff;
    font-weight: bold;
    width: fit-content;
    padding: 5px;
    font-size: 18px;
}
#takedoff {
	display: none;
    background: #600;
    color: #fff;
    font-weight: bold;
    width: fit-content;
    padding: 5px;
    font-size: 18px;
}

select { color: #000; }
option:hover{
  background: #596275;
  color: #fff;
}
span#ProductID_show { display: inline-block; }

.div-list { overflow-x: auto; }
table.list { ddisplay: block; min-width: 400px; }
table.list th { font-weight: bold; text-align: center; background: var(--headers-bg); color: #fff; padding: 5px 10px;}
table.list td { padding: 5px 10px; text-align: center;}
table.list td.left 		{ text-align: left; }
table.list td.center 	{ text-align: center; }
table.list td.right		{ text-align: right; }
table.list tr:hover td  { background: var(--lists-over); cursor: pointer; }
table.list span img { width: 25px; height: 25px; }

.upload-container {
	position: relative;
	padding: 10px;
	border: 1px solid var(--upload-box);
	outline: 2px dashed var(--upload-box);
	outline-offset: -10px;
	wwidth: 210px;
    height: 70px;
}
.upload-container span {
	display: block;
	margin-top: 20px;
	position: absolute;
	top: 0;
	left: 0;
	color: var(--upload);
	text-align: center;
	width: 100%;
	height:100%;
	font-weight: bold;
}	
	
.upload-container input {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
    width: 100%;
	height:100%;
	opacity: 0;
}

#loaded-images{ 
	display: flex; 
	flex-direction: row;
	flex-wrap: wrap; 
}
#loaded-images span {
	display: flex;
	flex-basis: content;
    mmax-width: 100px;
    mmax-height: 100px;
	border: 1px solid #ccc;
	margin: 0 5px 0 0;
	background: #000;
}
#loaded-images span:hover { box-shadow: 0 0 20px #777; cursor: pointer; }

#loaded-images span img {
	margin: 0 auto;
	max-width:100%;
	max-height:100%;
}
#loaded-images span:hover input {
	display: flex;
	align-self: flex-start;
}

/* GALLERY */
div.fullscreen {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    min-width: 100vw;
	min-height: 100vh;
    background: #000;
	overflow: hidden;
}

@media only screen and (min-width: 1000px){
	.scrollleft, .scrollright { display: block !important; } 
}

.container {
	display: flex; 
	flex-direction: row;
	flex-wrap: nowrap; 
	position: absolute;
}
.fullscreen span {
	display: flex;
	fflex-basis: content;
	width: 100vw;
	height: 100vh;
}

div.fullscreen img {
    max-height: 100%;
    max-width: 100%;
	min-width: 200px;
	margin: auto;
}
div.fullscreen span.full { max-width: 100vw; }
div.fullscreen span.full img {
	mmax-height: none;
    mmax-width: none;
}

/* Navigate buttons */
.close { 
    position: fixed;
    top: 2px;
    right: 2px;
    width: 40px;
    height: 40px;
    background: url(/images/templates/menu-close.svg) center #fff no-repeat;
    color: #fff;
	font-family: system-ui;
    font-size: 28px;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    border: 1px dotted #444;
	z-index: 6;
	opacity: 1;
}
.close:hover { cursor: pointer; }
.scrollleft, .scrollright {
	display: none;
    position: fixed;
    top: 0;
    width: 10%;
	min-width: 100px;
    height: 100%;
    margin: 0;
    padding: 0;
	z-index: 5;
	opacity: 0;
}
.scrollleft { left: 0; }
.scrollright { right: 0; }
.arrows {	
    position: absolute;
    top: 50%;
    left: 0;
	width: 100%;
    height: 40px;
    color: #fff;
	font-family: monospace;
    font-size: 45px;
    text-align: center;
    font-weight: bold;
	opacity: 1;
}
.bg { 
	width: 100%;
    position: absolute;
    top: 0;
    left: 0;
	height: 100%;
	background: #fff; 
	opacity: 0.1;
}
.scrollright:hover, .scrollleft:hover{ 
	opacity: 1;
	cursor: pointer;
}
div.image-box {
	border: 1px dotted var(--dark);
}
span.Selected {
	border: 5px solid red !important;
}