/**
Theme Name: TalentCollege®
Author: Webpuccino®
Author URI: https://webpuccino.com
Description: TalentCollege® theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: talentcollege
Template: astra
*/

html, body {
	overflow-x: hidden;
}

.site-header .sub-menu {
	border-radius: 15px;
	border: 1px solid #15184B;
	width: 300px;
}

.site-header .sub-menu .menu-link {
	padding: 12px 16px;
}

.site-header .sub-menu .menu-item:not(:last-child) {
	border-bottom: 1px solid #e4e4ea;
}

.elementor-widget-text-editor ul:not(.elementor-editor-element-settings),
.elementor-accordion-item ul:not(.elementor-editor-element-settings) {
  list-style: none;
	margin-top: 0;
	padding-left: 0;
}

.elementor-widget-text-editor p:has(+ ul),
.elementor-accordion-item p:has(+ ul) {
  margin-bottom: 0.5em;
}

.elementor-widget-text-editor ul li:not(.elementor-editor-element-setting)::before,
.elementor-accordion-item ul li:not(.elementor-editor-element-setting)::before
 {
	color: #349d64;
	content: "• ";
	display: inline-block;
	font-size: 2.2em;
	transform: translate(0, 0.2em);
	margin-right: 0.15em;
}

.elementor-button-icon,
.elementor-button-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.elementor-button-icon svg {
	width: 32px;
}

.elementor-button-icon + .elementor-button-text {
	text-align: left;
}

body, 
body * {
  cursor: url('images/tc-cursor.png'), auto !important;
}

body {
	user-select: none;
}

body.tc-cursor-default, 
body.tc-cursor-default *,
body.elementor-editor-active,
body.elementor-editor-active * {
  cursor: auto !important;
  user-select: auto;
}

body.tc-cursor-default a,
body.tc-cursor-default a *,
body.tc-cursor-default button,
body.tc-cursor-default button *,
body.tc-cursor-default .elementor-button,
body.tc-cursor-default .elementor-button *,
body.tc-cursor-default .elementor-button-text,
body.tc-cursor-default [role="button"] {
  cursor: pointer !important;
}

.tc-cursor-switch {
	align-items: center;
	bottom: 20px;
	display: flex;
	left: 20px;
	position: fixed;
	z-index: 20000;
}

.tc-cursor-switch-default,
.tc-cursor-switch-custom {
	background: url(images/cursor.svg) no-repeat center center;
	background-size: contain;
	display: inline-block;
	height: 24px;
	margin: 5px;
	width: 24px;
}

.tc-cursor-switch-custom { 
	background-image: url(images/tc-cursor.svg);	
}

.tc-cursor-switch-toggle {	
	background-color: #F1FDEF;
	border: 1px solid #C4F1BE;
	border-radius: 30px;
	padding: 3px;
	height: 25px;
	position: relative;
	width: 50px;
}
.tc-cursor-switch-toggle input[type="checkbox"] {
	display: none;
}
.tc-cursor-switch-toggle::after {
	background: #fff;
	border: 1px solid #C4F1BE;
	border-radius: 100%;
	content: '';
	display: block;
	height: 24px;
	left: 0;
	position: absolute;
	top: 0;
	transition: left ease-in .2s;
	width: 24px;
}
.tc-cursor-default .tc-cursor-switch-toggle::after {
	left: 24px;	
}

/* Hide cursor switch on tablet and mobile */
@media (max-width: 768px) {
	.tc-cursor-switch {
		display: none !important;
	}
}