html,
body {
	font-family: Kodchasan, Verdana, sans-serif;
}

* {
	outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: Armata, "Segoe UI", Verdana, sans-serif;
}

a {
	text-decoration: none;
}

a:hover {
	opacity: 0.5;
}

.image-gallery {
	cursor: url(img/zoomin.png), zoom-in;
}

.w3-ul.news li {
	border: 0;
	font-family: "Montserrat Alternates", Verdana, sans-serif;
}

textarea {
	resize: none;
}

.tongue {
	border-radius: 0 0 16px 16px;
	padding: 8px 16px;
	margin-top: -1px;
}

.content-panel {
	border: 10px solid #ddd;
	border-color: var(--theme-l1);
	background-color: #eee;
}

.content-panel,
.content-panel * {
	transition: background-color .1s;
}

.content-panel:nth-child(odd) {
	background-color: var(--theme-l3);
	color: var(---theme-l3);
}

.content-panel:nth-child(even) {
	background-color: var(--theme-l2);
	color: var(---theme-l2);
}

.dom::before {
	content: "\0025cf";
	font-size: 1.3em;
}

.popup {
	padding: 10px;
	text-align: center;
	width: 80%;
	top: 20px;
	left: 10%;
	border-radius: 8px;
	opacity: 0.9;
	border-width: 3px;
	border-style: solid;
}

.xamps {
	counter-reset: xamp;
}

.xamps a {
	display: block;
}

.xamps a div {
	height: 75px;
	line-height: 75px;
	margin: 1px;
	word-break: break-word;
}

.xamps span {
	line-height: 1.5;
	display: inline-block;
	vertical-align: middle;
}

.xamps span::before {
	counter-increment: xamp;
	content: counter(xamp) ".";
}

.xamps>div:nth-child(odd) div {
	background-color: var(--theme-l5);
	color: var(---theme-l5);
}

.xamps>div:nth-child(even) div {
	background-color: var(--theme-l4);
	color: var(---theme-l4);
}

#colthm {
	width: auto;
	top: 20px;
	right: 20px;
}

#colthm .w3-dropdown-content {
	position: fixed;
	padding-left: 1px;
	margin-right: 20px;
	top: 20px;
	right: 0;
	bottom: 20px;
	overflow-y: scroll;
	font-family: monospace;
}

#colthm .w3-bar-item {
	margin: 1px 0;
	border-left: 35px solid transparent;
}

#colthm .w3-bar-item.active {
	background-color: var(--theme);
	color: var(---theme);
	text-transform: uppercase;
}

@-webkit-keyframes animatezoomout {
	to {
		-webkit-transform: scale(0)
	}
}

@keyframes animatezoomout {
	to {
		transform: scale(0)
	}
}

.animate-zoom-out {
	-webkit-animation: animatezoomout 0.6s;
	animation: animatezoomout 0.6s
}

#codeviewer #descr {
	padding: 8px;
	position: absolute;
	border-left: inherit;
	border-right: inherit;
	width: 100%;
	left: 0;
}

@media (max-width:993px) {
	body>.w3-row-padding {
		padding: 0 4px;
	}

	#main-left.w3-col {
		padding: 0;
	}

	#main-left>.w3-panel {
		margin: 8px 4px;
	}

	.w3-panel.news-panel {
		color: var(---theme-l4);
		background-color: var(--theme-l4);
	}
}

@media (min-width:994px) {
	.content-panel {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}
}

@media (max-width:1016px) {
	#codeviewer {
		padding-top: 0 !important;
	}

	#codeviewer>div {
		width: 100% !important;
		margin: 0;
		border-radius: 0;
	}

	#codeviewer pre {
		max-height: 100%;
	}

	.xamps a div {
		height: 85px;
		line-height: 85px;
	}
}