#toolbar {
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 30px;
	font-weight: 700;

	.thim-demo-university-4 & {
		font-weight: 400;
		padding-top: 0;
		padding-bottom: 0;

		.menu {
			li {
				padding-top: 10px;
				padding-bottom: 10px;
				line-height: 25px;
			}
		}

		.widget {
			display: inline-block;
			float: right;
			padding: 0;
		}

		.widget_login-popup .thim-link-login {
			line-height: 45px;
			border-left: 1px solid #444;
			border-right: 1px solid #444;
			padding: 0 15px;

			a {
				padding: 5px 0px;
				line-height: 35px;

				&.profile {
					display: none;
				}

				&.logout,
				&.login {
					&:before {
						content: '\f007';
						display: inline-block;
						font-family: 'Font Awesome 5 Free';
						font-size: 15px;
						margin-right: 8px;
						font-weight: 900
					}
				}

				&.login {
					line-height: 35px;
					height: 45px;
					width: 15px;
					display: block;
					overflow: hidden;
					white-space: nowrap;

					&:before {
						width: 15px;
						text-align: center;
						margin-right: 0;
					}
				}
			}
		}

		.widget_search {
			.search-form {
				line-height: 45px;
				padding: 0;

				&:after {
					height: 45px;
					line-height: 45px;
					width: 45px;
					text-align: center;
					z-index: 0;
					right: 0;
					left: auto;
				}

				label {
					.search-field {
						width: 45px;
						position: relative;
						top: 0;
						height: 45px;
						line-height: 45px;
						padding: 0 0 0 45px;
						cursor: pointer;

						&:focus {
							cursor: text;
							padding-left: 15px;
							padding-right: 40px;
							background: transparent;
						}

						&::-webkit-input-placeholder {
							color: transparent;
						}

						&::-moz-placeholder {
							color: transparent;
						}

						&:-ms-input-placeholder {
							color: transparent;
						}

						&:-moz-placeholder {
							color: transparent;
						}
					}
				}
			}
		}
	}

	.header_v3 & {
		font-weight: 400;
		padding-bottom: 5px;
		padding-top: 5px;
	}

	.widget_polylang {
		.screen-reader-text {
			display: none;
		}
	}

	.widget_login-popup,
	.widget_login-menu {
		float: right;

		.thim-link-login {
			line-height: 30px;

			a {
				padding: 0 12px;
				line-height: 20px;
				display: inline-block;

				&:last-child {
					padding-right: 0;
				}

				&:first-child {
					padding-left: 0;
				}

				&:first-child:not(:last-child) {
					border-right: 1px solid #212121;
				}
			}
		}
	}

	.thim-language {
		float: right;
		margin-right: 10px;
	}

	.widget_search {
		float: right;
		padding: 5px 0;
		padding-left: 18px;

		.search-form {
			padding-left: 42px;
			padding-right: 62px;
			line-height: 20px;
			border-left: 1px solid #444;

			&:after {
				left: 18px;
				top: 0;
				line-height: 16px;
				height: 16px;
				font-size: 14px;
				width: 20px;
			}

			label .search-field {
				background: transparent;
				border: none;
				line-height: 30px;
				height: 30px;
				padding: 0;
				font-size: 13px;
				width: 62px;
				position: absolute;
				top: -5px;
				right: 0;
				z-index: 999;

				&:focus {
					width: 200px;
					padding: 0 10px;
					background: #444;
				}
			}

			.search-submit {
				text-indent: -9999px;
				display: none;
				background: #334444;
			}
		}
	}

	.menu {
		display: inline-block;
		margin: 0;

		li {
			display: inline-block;
			list-style: none;
			padding-right: 40px;
			position: relative;

			.sub-menu {
				margin: 0;
				padding: 5px 15px 10px;
				position: absolute;
				top: auto;
				left: -15px;
				min-width: 200px;
				display: none;
				overflow: hidden;

				li {
					display: block;
					padding: 0;
					margin: 0;
				}

				&[class*=tc-columns-] {
					padding: 15px 30px 20px;
				}
			}

			&:hover {
				.sub-menu {
					z-index: 9999;
				}
			}
		}
	}

	.icon-before-text.widget_login-popup {
		.thim-link-login {
			a {
				text-transform: uppercase;
				line-height: 30px;
				padding: 0 20px;
				color: #828282;
				font-weight: 600;
			}
			a:first-child:not(:last-child){
				border-right: 1px solid #e8e8e8;
			}
			.login,.logout {
				border-radius: 50px;
				padding: 8px 0px 8px 20px;

			}
		}
	}
}

.thim-language {
	line-height: 30px;
	position: relative;

	p {
		margin-bottom: 0;
	}

	ul {
		margin: 0;
		min-width: 130px;
		position: absolute;
		padding: 5px 20px;
		left: -20px;
		z-index: 99;
		background: #2B2B2B;
		display: none;

		li {
			list-style: none;
		}
	}

	.lang-item {
		line-height: 20px;
		display: inline-block;

		&.active {
			padding-right: 12px;
			border-right: 1px solid #212121;

			&:after {
				content: "\f078";
				display: inline-block;
				padding-left: 5px;
				line-height: 18px;
				font-family: 'Font Awesome 5 Free';
				vertical-align: bottom;
				font-weight: 900;
			}
		}

		img {
			max-height: 10px;
			width: auto;
			margin-right: 7px;
		}
	}

	.list-lang {
		.lang-item {
			display: block;
			line-height: 24px;
		}
	}
}
body{
	&.eduma-elegant{
		#toolbar{
			padding: 0;
			margin-left: 30px;
			margin-right: 30px;
			@media(max-width:767px){
				margin-left: 15px;
				margin-right: 15px;
			}
			@media(max-width:991px){
				font-size: 14px;
			}
			@media (min-width: 1600px){
				margin-left: 100px;
				margin-right: 100px;
			}
			.toolbar-container{
				display: flex;
				justify-content: space-between;
				align-items: center;
			}
			.header_full {
				padding-left: 0;
				padding-right: 0;
				@media (min-width: 1600px){
					padding-left: 0;
					padding-right: 0;
				}
			}
			
		}
		
		
	}
}
.thim-have-any-question {
	float: left;
	line-height: 30px;

	p {
		display: inline-block;
	}

	.mobile,
	.email {
		display: inline-block;
		margin-left: 11px;
		line-height: 30px;

		.fa {
			margin-right: 7px;
		}
	}

	&.any-question-v1 {
		display: inline-flex;
    	align-items: center;
		
		@media(max-width:767px){
			display: none;
		}
		.question {
			display: inline-block;
			padding-top: 14px;
			padding-bottom: 14px;
			padding-right: 25px;
			position: relative;
			text-transform: uppercase;
			font-weight: 400;
		}
		.mobile{
			padding: 0 20px 0 0;
			border-right: 1px solid #ddd;
		}
		.email{
			padding: 0 0 0 20px;
		}
		.mobile, .email {
			font-weight: normal;
			margin: 0;
			display: inline-flex;
    		align-items: center;
			line-height: 25px;
			i {
				margin-right: 10px;
				font-size: 22px;
				display: inline-block;
				vertical-align: middle;
				color: var(--thim-body-primary-color);
			}
		}
	}
}

.header_v3 {
 	.thim-widget-link {
		overflow: hidden;
		border-right: 1px solid #f5f5f5;
		padding: 0px 30px 19px 15px;

		&:hover {
			background: #f5f5f5;
		}

		.title {
			font-weight: 500;
			font-size: 15px;
			margin-top: 19px;
			margin-bottom: 2px;
		}

		.desc {
			font-size: 11px;
			color: #999;
			line-height: 1.2;
		}
	}

	.thim-widget-button {
		margin-top: 25px;
		margin-right: 0;
		margin-left: 30px;
	}

	#toolbar {
		a {
			&:hover {
				text-decoration: none;
				color: #ccc;
			}
		}
	}
}

.header_v3_container {
	padding-bottom: 0;
}

.toolbar_border_bottom {
	border-bottom: 1px dashed;
	border-bottom-color: #dedede;
}

.header_v5 {
	#toolbar {
		padding-bottom: 0;
		padding-top: 0;
		font-weight: 300;
		line-height: 40px;

		.header_full {
			padding-right: 0;
		}

		.thim-have-any-question {
			line-height: 40px;

			.mobile {
				margin-left: 0;
				margin-right: 15px;

				a {
					&:hover {
						color: #fff;
					}
				}
			}

			a {
				text-decoration: none;
			}
		}

		.widget_nav_menu {
			float: right;
		}

		.menu {
			li {
				padding-right: 30px;

				a {
					text-decoration: none;
					text-transform: uppercase;
				}
			}
		}

		.widget_courses-searching {
			float: right;
			width: 48px;
			border-left: 1px solid rgba(183, 183, 183, 0.1);
		}

		.widget_login-menu, .widget_login-popup {
			.thim-link-login {
				a {
					line-height: 40px;
					width: 48px;
					border-left: 1px solid rgba(183, 183, 183, 0.1);
					padding: 0;
					text-align: center;

					&:first-child:not(:last-child) {
						border-right: none;
					}
				}
			}
		}
	}
}

@media (min-width: 1024px) {
	#toolbar .menu > li.menu-item-has-children > a {
		position: relative;
	}
	#toolbar .menu > li.menu-item-has-children > a:after {
		content: "\f078";
		display: inline-block;
		font-family: 'Font Awesome 5 Free';
		padding: 0;
		position: absolute;
		top: 50%;
		right: -15px;
		margin: 0;
		line-height: 24px;
		font-size: 11px;
		font-weight: 900;
		transform: translate(0, -50%);
	}
}
