/**
 * @author developer@hastaport.com
 * @since 03 Kas 2016 16:04
 * @copyright  Copyright (C) 2016 hastaport.com

    The Css code in this page is free software: you can
    redistribute it and/or modify it under the terms of the GNU
    General Public License (GNU GPL) as published by the Free Software
    Foundation, either version 3 of the License, or (at your option)
    any later version.  The code is distributed WITHOUT ANY WARRANTY;
    without even the implied warranty of MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.

    As additional permission under GNU GPL version 3 section 7, you
    may distribute non-source (e.g., minimized or compacted) forms of
    that code without the copy of the GNU GPL normally required by
    section 4, provided you include this license notice and a URL
    through which recipients can access the Corresponding Source.
    (http://www.gnu.org/philosophy/javascript-trap.html)
 */
#header-container {
	color: #436978;
	display: flex;
	flex-direction: column;
	width: -webkit-fill-available
}

#header-container>div {
	margin: 0px;
	padding-right: 20px;
	font-size: 23px;
	font-weight: 500;
	display: flex;
	justify-content: flex-end;
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.38);
}

#header-container>div:first-child {
	border-bottom: 2px solid #d6a38d;
	letter-spacing: 1px;
	font-size: 31px;
}

#header-container>div:last-child {
	font-size: 17px;
	color: hsla(197, 28%, 37%, 0.85);
}

@media only screen and (max-width: 400) {
	#header-container>div:first-child {
		font-size: 21px;
	}
	#header-container>div:last-child {
		font-size: 13px;
	}
}/**
 * The Css code in this page is free software: you can
 *     redistribute it and/or modify it under the terms of the GNU
 *     General Public License (GNU GPL) as published by the Free Software
 *     Foundation, either version 3 of the License, or (at your option)
 *     any later version.  The code is distributed WITHOUT ANY WARRANTY;
 *     without even the implied warranty of MERCHANTABILITY or FITNESS
 *     FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.
 * 
 *     As additional permission under GNU GPL version 3 section 7, you
 *     may distribute non-source (e.g., minimized or compacted) forms of
 *     that code without the copy of the GNU GPL normally required by
 *     section 4, provided you include this license notice and a URL
 *     through which recipients can access the Corresponding Source.
 *     (http://www.gnu.org/philosophy/javascript-trap.html)
 *
 * @format
 * @author developer@cuneytayanoglu.com %25 %ÖS %2024 %14:%8
 * @copyright Copyright (C) %2024 cuneytayanoglu.com
 */

div.item-tools {
	display: flex;
	justify-content: space-between;
	position: relative;
}

div.item-tools > i {
	margin-left: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
}
#list-items div.node > h2 > .item-tools > i#expand {
	transform: rotateX(0deg);
	transition: transform 0.5s ease;
}
#list-items div.node.pop > h2 > .item-tools > i#expand {
	transform: rotateX(180deg);
}

#list-items .message div.pre {
	display: none;
	position: relative;
  
}

#list-items .message div.pre div.item-tools {
	justify-content: flex-end;
	position: absolute;
	right: 8px;
	top: 4px;
}

#list-items .message h3 div.item-tools > i#expand-text {
	transform: rotateX(0deg);
	transition: transform 0.5s ease;
}
#list-items .message.pop h3 div.item-tools > i#expand-text {
	transform: rotateX(180deg);
}

#list-items .message div.pre pre {
	white-space: pre-line;
}

#list-items .message.pop div.pre {
	display: block;
}

body > main[data-template-section="body"] {
	flex-direction: column;
	/* margin-bottom: 50px; 
  patch 
  */
}

/* dialog#dk5izo8jgl {
   min-width:500px;
 } */

div.table.columns {
	display: flex !important;
	flex-direction: column;
}

div.table.columns > div {
	display: flex !important;
	flex-direction: column;
	margin-bottom: 12px !important;
}

div.table.columns > div > div {
	display: flex !important;
	flex-direction: row;
	align-items: center;
}

div.table.columns > div > div:first-child {
	margin-bottom: 4px !important;
}

@media (max-width: 640px) {
	main[data-template-section="body"] {
		/* padding: 16px 4px 72px 8px !important;
    patch
    */
	}
}

/*#region poll */

div#poll {
}

/*#endregion poll */

/*#region diagnoser */

.long-fields {
	width: auto !important;
	margin: 16px;
}

.long-fields :is(input, textarea, select) {
	width: 100% !important;
}

/*#endregion diagnoser */


/*#region beta */

nav.beta-top {
    border-bottom: 1px solid var(--border-color-darker);
    padding: 2px 4px 8px;
	margin-bottom:16px;
    display: flex;
    justify-content: flex-end;
	align-items: center;

}
nav.beta-top > div {
	    display: flex; 
		
	align-items: center;
}


nav.beta-top > div.text {
	     
	    font-weight: 600;
    color: hsl(11 77% 70% / 1);
    justify-content: left;
    flex: 0 1;
    font-size: 1.3rem;
}

nav.beta-top > div.nav { 
    justify-content: flex-end;
    flex: 1 0;
}
nav.beta-top > div > a {

	    font-weight: 600;
    color: hsl(240 80% 70% / 1);
    padding: 2px 16px;
	
}

/*#endregion beta */
/**
 * The Css code in this page is free software: you can
 *     redistribute it and/or modify it under the terms of the GNU
 *     General Public License (GNU GPL) as published by the Free Software
 *     Foundation, either version 3 of the License, or (at your option)
 *     any later version.  The code is distributed WITHOUT ANY WARRANTY;
 *     without even the implied warranty of MERCHANTABILITY or FITNESS
 *     FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.
 * 
 *     As additional permission under GNU GPL version 3 section 7, you
 *     may distribute non-source (e.g., minimized or compacted) forms of
 *     that code without the copy of the GNU GPL normally required by
 *     section 4, provided you include this license notice and a URL
 *     through which recipients can access the Corresponding Source.
 *     (http://www.gnu.org/philosophy/javascript-trap.html)
 *
 * @format
 * @author developer@hastaport.com
 * @since 03 Kas 2016 16:04
 * @copyright Copyright (C) 2016 hastaport.com
 */

#top-button {
	z-index: 1000;
	position: fixed;
	bottom: 8px;
	right: 8px;
	background-color: hsl(0deg 0% 0% / 8%);
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50% 50%;
	cursor: pointer;
}

div#top-button:active {
	background-color: hsl(0deg 0% 0% / 16%);
}

#admin-tool-box-container {
	display: none !important;
}

body > footer {
	> section {
		/* display: flex; */
		/* flex-direction: row; */
		/* height: -webkit-fill-available; */
		/* background-color: inherit; */
		/* width: -webkit-fill-available; */

		& #mobile-footer-content {
			display: flex;
			flex-direction: column;
			justify-content: space-around;
			align-items: center;
			position: fixed;
			top: calc(var(--header-height) + 16px);
			right: 16px;

			& div.high-light[class*="fa-"]:before {
				color: red !important;
			}

			& a {
				color: slateblue;
				> div {
					display: flex;
					align-items: center;
					justify-content: center;
					font-size: inherit;
					margin-bottom: 12px;
					min-width: 24px;
					min-height: 24px;
					background-size: contain;
				}
			}
		}
		& #print-footer {
			display: none;
		}
		& #footer-container {
			padding: 0px;
			color: hsla(120, 27%, 100%, 1);

			display: flex;
			flex-direction: row;
			height: -webkit-fill-available;
			background-color: inherit;
			width: -webkit-fill-available;
		}

		& #footer-menu {
			padding: 0px;
			color: #e0ede0;
			color: hsla(120, 27%, 100%, 1);
			display: flex;
			flex-direction: row;
			height: -webkit-fill-available;
			width: -webkit-fill-available;
			background-color: inherit;

			> div {
				flex-grow: 1;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 1rem;
				/* font-weight: 200; */
				letter-spacing: 2px;
				padding: 0px 8px;
				cursor: pointer;
				border: 0px !important;
				/* text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.81); */

				&.active {
					background-color: hsla(0, 0%, 0%, 0.1);
				}
				+ div {
					border-left: 1px solid hsl(196, 28%, 60%) !important;
				}
				&:hover {
					background-color: hsla(0, 0%, 0%, 0.1);
				}
				> i.invisible {
					visibility: hidden;
				}
				> a {
					color: unset;
				}
			}
		}
	}
}

/* body > footer  */

/* #footer-menu  */

/* #footer-menu > div  */

/* #footer-menu > div  */

/* #footer-menu > div */

#footer-menu > div + div {
	border-left: 1px solid hsl(196, 28%, 60%) !important;
}

/* #mobile-footer-content */

/* #mobile-footer-content a  */

#mobile-footer-content div[class*="fab-"]:before,
#mobile-footer-content div[class*="fa-"]:before {
	font-size: 20px;
	color: hsla(196, 32%, 48%, 1) !important;
	margin: 0px;
	margin-left: auto;
}

@media (min-width: 640px) {
	body > footer {
		> section {
			& #mobile-footer-content {
				overflow-y: auto;
				bottom: 40px;
			}

			& #mobile-footer-content::-webkit-scrollbar {
				width: 0px !important;
				height: 0px !important;
			}
		}
	}
}

@media (max-width: 640px) {
	body > footer {
		> section {
			& #mobile-footer-content {
				position: fixed;
				width: auto;
				background-color: hsla(124, 32%, 97%, 1);
				flex-direction: row !important;
				bottom: 0px;
				top: auto;
				right: 0px;
				left: 0px;
				overflow-x: auto;
				justify-content: flex-start;
				> section {
					display: flex;
					> * > div {
						margin: 12px 8px !important;
						&:before {
							justify-content: center;
							display: flex;
							align-items: center;
						}
					}
				}

				& a#cache-button-ref > div > div {
					display: none;
				}
			}
		}
	}
	#top-button {
		bottom: 75px;
		right: 2px;
	}

	#mobile-footer-content div[class*="fab-"]:before,
	#mobile-footer-content div[class*="fa-"]:before {
		font-size: 32px !important;
	}

	/* #mobile-footer-content > section */

	/* #mobile-footer-content > section > * > div */

	/* #mobile-footer-content  */
}

@media only screen and (max-width: 840px) {
	body > .corner-menu-button {
		left: 1px;
		top: 1px;
	}

	#header-container > div {
		padding-top: 2px !important;
		padding-bottom: 2px !important;
	}

	#header-container * {
		font-size: 1.1rem !important;
	}

	[data-template-section="footer"] {
		height: fit-content !important;
	}

	#footer-container {
		height: fit-content !important;
	}

	#footer-menu {
		flex-direction: column;
		height: fit-content;
		width: fit-content;
		position: fixed;
		top: 35px;
		left: 0px;
		bottom: auto;
		right: auto;
		height: auto;
		transform-origin: 0px 0px;
		transform: scale(1, 0);
		transition: transform 0.5s ease-out, opacity 0.3s ease-out;
		opacity: 0;
	}

	div.template-canvas[class~="pop"] #footer-menu {
		transform: scale(1, 1);
		opacity: 1;
	}

	#footer-menu > div {
		padding: 12px;
		justify-content: left;
	}
}
