/*
Navbar style sheet
For FileZigZag project
By humam_babi@yahoo.com, 2019
*/

.navbar {
	width: 100%;
	position: fixed;
	top: 0;
	font-family: ABeeZee, "Segoe UI", Tahoma, sans-serif;
	/*overflow: hidden;*/ /* Commented out to show the sign-in form */
	-webkit-box-shadow: 0px 1px 5px 0px rgba(119,119,119,0.5);
	-moz-box-shadow: 0px 1px 5px 0px rgba(119,119,119,0.5);
	box-shadow: 0px 1px 5px 0px rgba(119,119,119,0.5);
	background: rgb(255,255,255); /* Old browsers */
	background: linear-gradient(to bottom, rgb(255,255,255) 0%, rgb(243,243,243) 50%, rgb(237,237,237) 51%, rgb(255,255,255) 100%);
	display: flex;
	flex-direction: row;
	align-items: center;
	transition: all 333ms ease;
	height: 5rem;
	z-index: 1;
}
.navbar_compact {
	height: 2.5rem;
}

.nv_contents_wide {
	display: flex;
	flex-direction: row;
}

.nv_near {
	display: flex;
	flex-direction: row;
}

.nv_logo_titledesc {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	/*padding-right: 0.5rem;*/
	cursor: pointer;
}

.nv_logoimg {
	width: 51px;
	height: 67px;
	transition: all 333ms ease;
}
.nv_logoimg_compact {
	width: 24px;
	height: 32px;
}

.nv_title_desc {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 0.5rem;
}

.nv_title {
	font-size: 2.1rem;
	font-weight: bold;
	letter-spacing: 0.05rem;
	transition: all 333ms ease;
}
.nv_title_compact {
	font-size: 1.5rem;
}

.nv_title1 {
	color: #797979;
}

.nv_title2 {
	color: #E75E1A;
}

.nv_desc {
	line-height: 0.5rem;
	font-family: "Segoe UI", Tahoma, sans-serif;
	font-size: 1.0rem;
	font-style: italic;
	color: #919191;
	display: block;
	transition: all 333ms ease;
}

.nv_desc_compact {
	display: none;
}

.nv_menu_horz {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-left: 1rem;
}

.nv_hm_item {
	margin: 0 0.7rem;
	cursor: pointer;
	color: #999;
	transition: color 250ms;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-weight: bold;
}
.nv_hm_item::before {
	content: "";
	margin-top: 10px; /* Same as the ::after 's margin-top value (to return the item to center vertically) */
}
.nv_hm_item::after {
	content: "";
	height: 2px;
	width: 25%;
	margin: 0 auto;
	margin-top: 10px;
	background-color: #E75E1A;
	opacity: 0;
	transition: all 250ms ease;
}
.nv_hm_item:hover {
	color: #000;
}
.nv_hm_item:hover::after {
	width: 100%;
	opacity: 1;
}

@media all and (max-width: 750px) {
	.nv_contents_wide {
		display: none;
	}
	
	.nv_logo_titledesc {
		padding-right: 0;
	}
	
	.nv_title {
		font-size: 2.0rem;
	}
}

.nv_account_item {
	/*margin: 0 0.7rem;*/ /* Comment margins as long as there is only one item in the "far" section*/
	cursor: pointer;
	color: #999;
	transition: color 250ms;
	display: flex;
	flex-direction: row;
	font-size: 0.8rem;
	font-weight: bold;
}

.nv_account_item:hover {
	color: #000;
}

.nv_account_item svg {
	fill: #999;
	transition: fill 250ms;
}

.nv_account_item:hover svg {
	fill: #000;
}

.nv_contents_narrow {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	position: relative;
}

@media all and (min-width: 751px) {
	.nv_contents_narrow {
		display: none;
	}
}

.nv_vm_button {
	width: 30px;
	height: 30px;
	position: absolute;
	left: -5px;
	cursor: pointer;
}

.overlay_vmenu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: scroll;
	z-index: 10;
	transition: all 500ms ease;
	background-color: rgba(0, 0, 0, 0.45);
	visibility: visible;
}

.body_freezed {
	overflow: hidden;
}

.vertmenu {
	position: fixed;
	top: 0;
	left: 0;
	width: 15rem;
	height: 100%;
	transition: all 500ms ease;
	background-color: #ccc;
	z-index: 100;
}

.vm_hidden {
	left: -15rem;
}

.vertmenu > img {
	position: relative;
	left: 1rem;
	top: 1rem;
}

.vm_item {
	width: 100%;
	font-family: "Segoe UI", Tahoma, sans-serif;
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 1rem;
	font-weight: bold;
	cursor: pointer;
}

.vm_item:active {
	color: white;
	background-color: #777;
}

.vm_signin {
	width: 100%;
	font-family: "Segoe UI", Tahoma, sans-serif;
	font-size: 0.9rem;
	font-weight: bold;
	cursor: pointer;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.vm_signin:active {
	color: white;
	background-color: #777;
}

.vm_signin_form {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: "Segoe UI", Tahoma, sans-serif;
	font-size: 0.9rem;
	border: 1px solid #999;
	margin: 0 0.5rem;
	padding: 0.5rem 0;
}

.vm_signin_form input[type="email"], input[type="password"] {
	font-family: "Segoe UI", Tahoma, sans-serif;
	font-size: 0.9rem;
	margin: 0.3rem 0;
	width: 90%;
}

.vm_signin_hidden {
	display: none;
}

.vm_bottom {
	position: absolute;
	bottom: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 1rem;
	text-align: center;
}

.nv_far {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	flex-grow: 1;
	position: relative; /* To position the sign-in form */
}

.nv_far > svg {
	cursor: pointer;
	fill: #bbb;
	transition: fill 250ms ease;
}
.nv_far > svg[type="facebook"]:hover { fill: #4267B2; }
.nv_far > svg[type="twitter"]:hover { fill: #00A2E8; }
.nv_far > svg[type="youtube"]:hover { fill: #FF0101; }
.nv_far > svg[type="blog"]:hover { fill: #A349A4; }

.signin_form {
	position: absolute;
	background-color: white;
	top: 85%;
	left: calc(100% - 17rem); /* minus the width */
	width: 17rem;
	height: 11.7rem;
	border-radius: 0.3rem;
	padding: 0.9rem;
	box-shadow: 0px 1px 7px 3px rgba(0, 0, 0, 0.25), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	z-index: 16; /* Higher than the sign-in_overlay AND dragdrop_overlay */
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s ease;
	font-size: 0.9rem;
	text-align: center;
}

.signin_form::before {
	content: "";
	position: absolute;
	bottom: 100%;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #FFFFFF transparent;
	left: calc(100% - 1.8rem);
	margin-left: -5px;
}

.signin_form input {
	width: 100%;
	font-family: "Segoe UI", Tahoma, sans-serif;
	font-size: 0.9rem;
}

.overlay_signin {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	transition: all 0.5s ease;
	background-color: rgba(0, 0, 0, 0.15);
	visibility: visible;
}

.signin_section {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.signin_section svg {
	margin-right: 0.5rem;
}

.signin_section .hoverlink {
	font-size: 0.8rem;
}

.signin_btn {
	font-family: "Segoe UI", Tahoma, sans-serif;
	font-size: 0.9rem;
	font-weight: bold;
	height: 2rem;
	padding-bottom: 0.2rem;
	width: 5rem;
	border: 2px solid #d05416;
	background-color: #fbe8de;
	border-radius: 1rem;
	color: #a14110
}

.signin_btn:hover {
	background-color: #f7ceba;
	cursor: pointer;
}

.signin_btn:active {
	outline: none;
	background-color: #f4ba9e;
}

.signin_btn:focus {
	outline: none;
}

.movsec_container {
	width: 100%;
	overflow: hidden;
}

.moving_section {
	width: 200%;
	display: flex;
	flex-direction: row;
}

.moving_working {
	width: 50%; /* Of its parent (.moving_section) */
	transition: all 500ms ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-left: -50%;
}
.moving_working img {
	width: 1.7rem;
	height: 1.7rem;
	margin-bottom: 0.33rem;
}
.mov_showwork {
	margin-left: 0%;
}

.moving_signin_ctls_nv {
	width: 50%; /* Of its parent (.moving_section) */
}

.moving_signin_ctls_vm {
	width: 50%; /* Of its parent (.moving_section) */
	
	display: flex;
	flex-direction: column;
	align-items: center;
}

.user_menu {
	position: absolute;
	background-color: white;
	top: 85%;
	border-radius: 0.3rem;
	box-shadow: 0px 1px 7px 3px rgba(0, 0, 0, 0.25), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	z-index: 15;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s ease;
	font-size: 0.9rem;
	text-align: center;
}

.user_menu::before {
	content: "";
	position: absolute;
	bottom: 100%;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #FFFFFF transparent;
	left: calc(100% - 1.8rem);
	margin-left: -5px;
}

.usermenu_sep {
	width: 100%;
	height: 1px;
	background-color: #ccc;
	margin: 3px 0;
}

.usermenu_menuitem {
	padding: 0.35rem;
	margin: 3px;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.usermenu_menuitem:hover {
	cursor: pointer;
	background: linear-gradient(to bottom, #fefbfa 0%,#fbe8df 21%, #f7ceba 49%,#fbe8df 80%, #fefbfa 100%);
}

div#vm_work_text {
	text-align: center;
}

.vm_user_menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid #999;
	margin: 0 0.5rem;
	padding: 0.3rem 0;
}

.vm_usermenu_hidden {
	display: none;
}

.vum_menuitem {
	padding: 0.35rem;
	margin: 3px;
	display: flex;
	flex-direction: row;
	align-items: center;
	font-family: "Segoe UI", Tahoma, sans-serif;
	font-size: 0.9rem;
}

.vum_sep {
	width: 100%;
	height: 1px;
	background-color: #aaa;
	margin: 3px 0;
}

.vum_menuitem:active {
	color: white;
	background-color: #777;
}

.navbar-vsep {
	height: 85%;
	margin: 0 0.5rem;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}
.navbar-vsep div {
	height: 100%;
	display: flex;
	flex-direction: column;
}
.navbar-vsep div:nth-child(1) div:nth-child(1) {
	width: 0.1rem;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.2) 100%);
}
.navbar-vsep div:nth-child(1) div:nth-child(2) {
	width: 0.1rem;
	background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%);
}
.navbar-vsep div:nth-child(2) div:nth-child(1) {
	width: 0.15rem;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
}
.navbar-vsep div:nth-child(2) div:nth-child(2) {
	width: 0.15rem;
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
}

.onlineuserscount-vert-navbar {
	font-size: 0.75rem;
	color: #888;
	cursor: default;
	text-shadow: 0.05rem 0.05rem 0.05px #fff;
}
.onlineuserscount-horz-navbar {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	color: #333;
	cursor: default;
	text-shadow: 0.05rem 0.05rem 0.05px #fff;
	border-bottom: 0.1rem solid #777;
	margin-bottom: 0.5rem;
	padding-bottom: 0.3rem;
}

/* Drag-drop overlay */
.overlay_dragdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	transition: all 333ms ease;
	background-color: rgba(0, 0, 0, 0.5);
	visibility: visible;
}


/* Must be after defining all the overlays */
.ol_hidden {
	background-color: rgba(0, 0, 0, 0.0);
	visibility: hidden;
}